WO2012104779A1 - Image processing, frequency estimation, mechanical control and illumination for an automatic iv monitoring and controlling system - Google Patents

Image processing, frequency estimation, mechanical control and illumination for an automatic iv monitoring and controlling system Download PDF

Info

Publication number
WO2012104779A1
WO2012104779A1 PCT/IB2012/050434 IB2012050434W WO2012104779A1 WO 2012104779 A1 WO2012104779 A1 WO 2012104779A1 IB 2012050434 W IB2012050434 W IB 2012050434W WO 2012104779 A1 WO2012104779 A1 WO 2012104779A1
Authority
WO
WIPO (PCT)
Prior art keywords
light
drip
image
methods
light source
Prior art date
Application number
PCT/IB2012/050434
Other languages
French (fr)
Inventor
Kai KAI TAO
Original Assignee
Kai Tao Kai
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Priority claimed from US13/019,698 external-priority patent/US20120197185A1/en
Priority claimed from US13/356,632 external-priority patent/US20140327759A1/en
Application filed by Kai Tao Kai filed Critical Kai Tao Kai
Priority to CN201280016765.3A priority Critical patent/CN104010676A/en
Publication of WO2012104779A1 publication Critical patent/WO2012104779A1/en

Links

Classifications

    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61MDEVICES FOR INTRODUCING MEDIA INTO, OR ONTO, THE BODY; DEVICES FOR TRANSDUCING BODY MEDIA OR FOR TAKING MEDIA FROM THE BODY; DEVICES FOR PRODUCING OR ENDING SLEEP OR STUPOR
    • A61M5/00Devices for bringing media into the body in a subcutaneous, intra-vascular or intramuscular way; Accessories therefor, e.g. filling or cleaning devices, arm-rests
    • A61M5/14Infusion devices, e.g. infusing by gravity; Blood infusion; Accessories therefor
    • A61M5/1411Drip chambers
    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61MDEVICES FOR INTRODUCING MEDIA INTO, OR ONTO, THE BODY; DEVICES FOR TRANSDUCING BODY MEDIA OR FOR TAKING MEDIA FROM THE BODY; DEVICES FOR PRODUCING OR ENDING SLEEP OR STUPOR
    • A61M5/00Devices for bringing media into the body in a subcutaneous, intra-vascular or intramuscular way; Accessories therefor, e.g. filling or cleaning devices, arm-rests
    • A61M5/14Infusion devices, e.g. infusing by gravity; Blood infusion; Accessories therefor
    • A61M5/168Means for controlling media flow to the body or for metering media to the body, e.g. drip meters, counters ; Monitoring media flow to the body
    • A61M5/16886Means for controlling media flow to the body or for metering media to the body, e.g. drip meters, counters ; Monitoring media flow to the body for measuring fluid flow rate, i.e. flowmeters
    • A61M5/1689Drip counters
    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61MDEVICES FOR INTRODUCING MEDIA INTO, OR ONTO, THE BODY; DEVICES FOR TRANSDUCING BODY MEDIA OR FOR TAKING MEDIA FROM THE BODY; DEVICES FOR PRODUCING OR ENDING SLEEP OR STUPOR
    • A61M2205/00General characteristics of the apparatus
    • A61M2205/33Controlling, regulating or measuring
    • A61M2205/3306Optical measuring means
    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61MDEVICES FOR INTRODUCING MEDIA INTO, OR ONTO, THE BODY; DEVICES FOR TRANSDUCING BODY MEDIA OR FOR TAKING MEDIA FROM THE BODY; DEVICES FOR PRODUCING OR ENDING SLEEP OR STUPOR
    • A61M2205/00General characteristics of the apparatus
    • A61M2205/33Controlling, regulating or measuring
    • A61M2205/3331Pressure; Flow
    • A61M2205/3334Measuring or controlling the flow rate

Definitions

  • TITLE Image Processing, Frequency Estimation, Mechanical Control and Illumination for an Automatic IV Monitoring and Controlling system
  • This invention relates to an IV monitoring and control system whose monitoring is done by video and image processing, whose dripping speed is measured using frequency estimation techniques, whose dripping rate is controlled using mechanical component and whose illumination is done with optical components.
  • infusion pumps are widely used as an automatic IV controlling device. Most infusion pumps does not monitor IV speed but controls the speed using mechanical devices, most commonly peristaltic pump.
  • Image processing techniques to process the video/image for extracting periodic measurement of the IV dripping process include:
  • Image enhancement techniques which further includes gray-level transformation, frequency-domain processing and wavelet techniques.
  • Thresholding techniques which further includes iterative method, arbitrary/constant or manually assigned/determined threshold level, and mean/median or other simple thresholding method.
  • Frequency estimation would estimate dripping frequency from periodic signal extracted from image sequence, disclosed methods include:
  • Non-parametric methods which further includes naive time-domain methods, time- domain statistical methods, Fourier and Fourier-related methods, and wavelet transform.
  • Parametric methods which further includes auto-regressive or auto-regressive mean- average spectrum estimation methods and eigenvector/subspace methods.
  • Apparatus controls the dripping speed by pressing the tube.
  • Apparatus include tube presser and supporter, use of leadscrew and differential leadscrew, use of lever, use of linear motion guide, rotational presser and cam embodiment.
  • Illumination system ensures the quality of captured video/image(s).
  • Principles, methods and apparatus include principles of reflection/brightness contrast reduction, multiple light sources, multiple sources from secondary light source, light source from mirror reflection, magnified light source from lens, use reflective surface of any level of smoothness, avoid shooting the reflection/brightness contrast and the use of light director/blocker.
  • Fig. 1.1-1 A show the image of drip chamber and Fig. 1.1 -IB shows within Fig. 1.1-lA an area used where image analysis is performed on.
  • Fig. 1.1 -2A shows a vertical Sobel gradient
  • Fig. 1.1 -2B shows a vertical Prewitt gradient
  • Fig. 1.1 -2B shows a Laplacian operator
  • Fig. 1.1-3 shows an image and its Sobel, Prewitt and Laplacian result.
  • Fig.1.1 -4A to Fig.1.1 -4D shows analysis steps performed on a sequence of captured images. Each figure contains on its top left the original image, top right the result of Sobel gradient operator, bottom left thresholding result of the Sobel gradient, bottom right erosion result of the bottom left.
  • Fig. 1.1-5 shows an erosion kernel used Fig. 1.1 -4A to D.
  • Fig. 1.1 -6A shows drip height from speed II ⁇ 13 periods dripping video.. ⁇
  • Fig. 1.1 -6B shows DFT of Fig. 1.1 -6A.
  • Fig. 1.1 -7A shows drip size from speed II ⁇ 13 periods dripping video.
  • Fig. 1.1 -7B shows DFT of Fig. 1.1 -7A.
  • Fig. 1.1 -8A shows region's average gray level from speed II ⁇ 13 periods dripping video.
  • Fig. 1.1 -8B shows DFT of Fig. 1.1 -8A.
  • Fig. 1.2.1-1 shows the comparison between image gradients, power-law and exponentiation transformation result.
  • Fig. 1.2.1-2 shows power-law result followed by Otsu thresholding and erosion.
  • Fig. 1.2.3-3 is the signal obtained by piece-wise transformation, followed by Otsu thresholding, erosion and maximum component. Drip size and height in upper and respective DFT in the lower.
  • Fig. 1.2.4-1 shows histogram equalization's effect thresholding algorithms
  • Fig. 1.2.4-2 shows histogram matching result for image enhancement.
  • Fig. 1.2.4-3 shows signal obtained by histogram matching, followed by Otsu thresholding, erosion and maximum component. Drip size and height in upper and respective DFT in the lower.
  • Fig. 1.3-1 shows how to perform frequency filtering that is equivalent to a spatial domain filter.
  • Fig. 1.3-2 shows how to convert Vertical Sobel mask to a convolution kernel
  • Fig. 1.3-3 shows frequency-domain high-pass filter effect.
  • Fig. 1.3-4 shows another example of frequency-domain filtering.
  • Fig. 1.4- 1 shows the result of wavelet filtering.
  • Fig. 1.4-2 shows the signals obtained by wavelet filtering followed by Otsu thresholding, erosion and maximum connected components and their DFT.
  • Fig. 1.5.1-1 compares Iterative method and Otsu's method
  • Fig. 1.5.1-2 shows the signals obtained by iterative method thresholding, preceded by Sobel gradient and followed by erosion and maximum connected components, together with their DFT.
  • Fig. 1.5.2-1 compares constant level threshold with Otsu and Iterative method.
  • Fig. 1.5.2-2 shows the signals obtained by constant level thresholding, preceded by Sobel gradient and followed by erosion and maximum connected components, together with their
  • Fig. 1.5.3-1 compares Otsu, mean and median thresholding.
  • Fig. 1.5.3-2 shows the signals obtained by mean thresholding, preceded by Sobel gradient and followed by erosion and maximum connected components, together with their DFT.
  • Fig. 1.5.3-3 shows the signals obtained by median thresholding, preceded by Sobel gradient and followed by erosion and maximum connected components, together with their DFT.
  • Fig . 2.2.1.1- -1 shows
  • Fig. 2.2.3.3-1 shows auto-correlation of drip height speed II signal, and correlogram, and DFT.
  • Fig. 2.2.3.4-1 shows DTFT of auto-covariance for drip height signal.
  • Fig. 2.2.3.4-2 shows DTFT of auto-covariance for drip size signal.
  • Fig . 2.2.3.5- -3 shows Fig. 2.2.3.5-4 shows incorrect and correct ways DST-II extension.
  • Fig. 2.2.3.5-5 shows magnitude of DST-II coefficients for drip height signal.
  • Fig. 2.2.3.5-6 shows magnitude of DST-II coefficients for drip size signal.
  • Fig. 2.2.4-1 shows wavelet period counting for speed I drip height signal.
  • Fig. 2.2.4-2 shows wavelet period counting for speed II drip height signal.
  • Fig. 2.2.4-3 shows wavelet period counting for speed III drip height signal.
  • Fig. 2.3.1.1-1 shows Yule- Walker method for speed I drip height
  • Fig. 2.3.1.1-2 shows Yule- Walker method for speed II drip height
  • Fig. 2.3.1.1-3 shows Yule- Walker method for speed III drip height
  • Fig. 2.3.2.1-1 shows MUSIC method pseudospectrum for speed I drip height signal
  • Fig. 2.3.2.1-2 shows MUSIC method pseudospectrum for speed II drip height signal
  • Fig. 2.3.2.1-3 shows MUSIC method pseudospectrum for speed III drip height signal
  • Fig. 2.3.2.1-4 shows MUSIC method pseudospectrum for speed I drip size signal
  • Fig. 2.3.2.1-5 shows MUSIC method pseudospectrum for speed II drip size signal
  • Fig. 2.3.2.1-6 shows MUSIC method pseudospectrum for speed III drip size signal
  • Fig. 3.1-1 shows IV speed adjuster used for manual adjustment
  • Fig.3.1-2 shows side or front view for possible shapes of IV tube presser/supporter
  • Fig.3.1-3 shows axial/top/bottom view for possible shapes of IV tube presser/supporter
  • Fig.3.1-4 shows shape, edge, angle and ways of contact between IV tube, presser and supporter.
  • Fig. 3.1-5 shows a concrete example of a presser with sharp edge in its top, left, side and right view.
  • Fig. 3.2-1 shows side and axial view of a leadscrew
  • Fig. 3.2.1-1 shows a differential leadscrew combination is shown where the precision enhanced 10 times. Dimensions are purely illustrational.
  • 3.3-1 shows off-axis movement illustration
  • Fig. 3.3-2 shows key/keyway combination to control off-axis movement
  • Fig. 3.3-3 shows spline/groove combination to control off-axis movement
  • Fig. 3.3-4 shows bearing(s) to control off-axis movement
  • Fig. 3.4-1 shows use of lever in translating motion
  • Fig. 3.5.1-1 shows the pivoted "nutcracker"
  • Fig. 3.5.1-2 shows the principle of off-axis movement can be absorbed by the pivoted "nutcracker.
  • Fig. 3.5.1-3 shows the leverage of the pivoted "nutcracker.
  • Fig. 3.5.1-4 shows the linearly moving part might contact the rotational part at any location, in any geometric configuration.
  • Fig. 3.5.2-1 shows a rotational pivoted "Nutcracker"
  • Fig. 3.6-1 shows the use of cam
  • Fig. 4.1-1 shows example of good illumination
  • Fig. 4.1-2 shows example of bad illumination
  • Fig. 4.1-3 shows the cause of reflection/brightness contrast
  • Fig. 4.2-1 shows by increasing the distance between light source and drip chamber reflection/brightness contrast might be reduced.
  • Fig. 4.2-2 shows by mutual cancellation of brightness unevenness of multiple light sources reflection/brightness contrast might be reduced.
  • Fig. 4.3-1 how multiple light sources can be used.
  • Fig. 4.4-1 shows how a single light source might be directed by light guide/light tube/light pipe/integrator bar/optical fiber to illuminate drip chamber from multiple locations.
  • Fig. 4.4-2 shows the principle of light guide/light tube/light pipe/integrator bar/optical fiber in creating multiplicity of images for a single point source.
  • Fig. 4.5-1 shows mirror of mirror combination might be used to direct light
  • Fig. 4.6-1 shows how light source might be magnified to cancel unevenness of individual point sources.
  • Fig. 4.7-1 shows how reflective surfaces might be used to reduce reflection/brightness contrast.
  • Fig. 4.7-2 shows the reflective surface can take different ways of formation and shapes.
  • Fig. 4.8-1 shows how a rough surface might be used to cause light to scatter randomly.
  • Fig. 4.10-1 shows light director/blocker extending from light source to object
  • Fig. 4.10-2 shows light director/blocker and image capturing can be arranged in any relative position as long as reflection/brightness contrast in the view of the image capturing device can be reduced.
  • Fig. 4.10-3 shows light director/blocker can be put in different places.
  • FIG. 0.1- 1 A schematic for the whole system is shown in Fig 0.1- 1 which comprises subsystem of illumination, subsystem of image capturing, processing and frequency estimation and subsystem of mechanical control.
  • ⁇ method A, method B ⁇ x ⁇ data I, data II ⁇ would mean applying each of the two methods on each of the two datasets, which can also be denoted by ⁇ (method A, data I), (method A, data II), (method B, data I), (method B, data II) ⁇ .
  • Fig. 1.1-1 A shows an image of an IV drip chamber
  • Fig. 1.1 -IB we use a rectangle close to the dripping mouth to specify the area where the image processing will be taken on.
  • the purpose of choosing an area close to the drip mouth is primarily to enable processing with low resolution, low frame -rate image capturing device and low speed processor. Real implementation could monitor any area if periodicity signal can be extracted.
  • Fig. 1.1 -2A shows a vertical Sobel gradient operator
  • Fig. 1.1 -2B shows a vertical Prewitt gradient operator
  • Fig. 1.1 -2C shows a Laplacian operator.
  • Fig. 1.1 -4A to D show image processing steps for four images in a sequence.
  • the upper left is the original image with the index in the sequence shown in the title
  • the upper right we show the example of applying Sobel gradient (vertical + horizontal).
  • the lower left applies Otsu's thresholding method on Sobel gradient result and converted a gray level image to a binary image.
  • the first number shows the number of connected components
  • the second number shows the size of the maximum connected component measured in the number of pixels
  • the third number shows the average height of the y coordinate of the maximum connected component with y increases from top to bottom in the image.
  • DFT both recognized the correct number of periods by the index of the non-DC component with the maximum DFT magnitude.
  • Fig. 1.1 -8A we show for the same image sequence a signal extracted by very crude, most simplistic and very improbable a means for extracting a meaningful signal: simply taking the average of all pixels' gray level value. Not a single image processing technique has been applied, yet the signal Fig. 1.1 -8A still shows regular periodic pattern and its DFT in Fig. 1.1- 8B also recognizes the correct period count.
  • PPlleeaassee rreeffeerr ttoo [[CChh..33,, GGoonnzzaalleezz,, RR..CC..,, WWooooddss,, RR..EE..,, DDiiggiittaall IImmaaggee PPrroocceesssiinngg,, 22eedd,, PPrreennttiiccee HHaallll,, 22000022]] ffoorr ddiissccuussssiioonn..
  • is an offset added to x .
  • x would usually be normalized to [ ⁇ , l] , and ideally c ( + ⁇ ) ⁇ would also map [ ⁇ , l] to [ ⁇ , l] , but in practice this does not need to be strictly observed.
  • Fig. 1.2.1-1 The left-up corner shows an unprocessed image (21 means it is the 21 st image in a sequence). Sobel, Prewitt and Laplacian gradient results are shown in the
  • Fig. 1.2.1-2 shows the ensemble result of power- law transformation with thresholding, erosion discussed in application US 12804163.
  • the lower-left image show thresholding result, and the lower-right image is the result after erosion so that smaller parts are removed. From the lower-right image, the vertical location and height of the drip is extracted by finding the maximum connected components in the image, and would be stored into a vector. We could clearly see in the processing steps how the extracted information matches well with our visual interpretation.
  • Fig. 1.2.1-3 shows how dripping speed is measured from the drip height.
  • Fig. 1.2.1-4 shows how dripping speed is measured from the drip size.
  • exponentiation transformation which is also called inverse-log transformation since log and exponentiation are the inverse.
  • a is positive and usually greater than one.
  • c is also usually a positive number.
  • x would usually normalized to [ ⁇ , l] , and ideally c ⁇ - would also map [ ⁇ , l]to [ ⁇ , l] ,
  • Fig. 1.2.2-3 upper part is the drip size data over 180 samples, and the lower its DFT result. Same period count as drip height signal is given by DFT.
  • gray-level y 5 ⁇ (3 X — 2) give correct periodic drip height signal when works in conjunction with Otsu threshold, erosion and maximum connected components for all speeds I, II and III. From the resultant drip height signal DFT gives the correct period count.
  • Piecewise-linear function transformation as described in [ ⁇ 3.2.4, Gonzalez, R.C., Woods, R.E., - Digital Image Processing (2ed)], is a method complementary to other gray-level transformation techniques with the advantage that it can approximate arbitrarily complex function. All previous can be mimicked by using it. In hardware implementation, it is equivalent to what is normally called "look-up table".
  • histogram information can be used for gray-level transformation. This class of techniques are commonly used and a detailed description can be found in [ ⁇ 3.3, Gonzalez, R.C., Woods, R.E., - Digital Image Processing, 2ed, Prentice Hall, 2002].
  • discrete intensity values of a gray-level image may span an interval [0, L— 1] and the probability for each discrete intensity value is n N, where N is the total number of pixels and 7ij the number of pixels having intensity i.
  • the span [0, L— 1] might be normalized to [0, 1] and we denote the random variable corresponding to the normalized interval as r.
  • the probability density function is continuous and strictly monotonically increasing so that its inverse always exists.
  • the probability density function is denoted as
  • histogram matching The process of matching/specification the histogram of an image to an arbitrarily assigned histogram is called histogram matching or histogram specification.
  • histogram equalization When the target histogram is simply of a uniform distribution, it is called histogram equalization.
  • histogram equalization can be subsumed as a special case under histogram matching, and we do not rule out the possibility of using it.
  • Fig. 1.2.4-2 shows histogram matching for several images in which the target is the Sobel gradient (horizontal + vertical) result of image 21 in speed II « 13 sequence. Decent results have been achieved and we could also see how close the histograms of the result match the target.
  • histogram matching/specification including equalization
  • Gray-level transformation as a general class of techniques, can be used in the processing steps of a video/image processing based IV monitoring system. No other techniques fall in this class could have any substantial difference with our disclosed methods.
  • Frequency-Domain Processing Frequency Domain techniques are frequently used in image processing. They work by first transforming the image into its frequency domain representation, apply processing techniques and inverse-transform the result into spatial domain.
  • an digital image as 3 ⁇ 4) , 0 ⁇ a ⁇ - 1, 0 ⁇ b ⁇ N - I , and make periodic extension to coordinates outside [O, M - 1] x [O, N - 1] so that
  • Periodic extension enables us to define periodic convolution
  • the above theorem means that the effect of each spatial domain filter using the periodic extension definition can be achieved via frequency domain multiplication.
  • Fig.1.3-1 The process of doing Sobel vertical filtering in frequency is shown in Fig.1.3-1: 1. Take DFT of the original image. Shown in Fig. 1.3-1 lower left is the shifted version which moved coordinate [ ⁇ , 0] to center, which is a convention in the field.
  • Spatial domain filters are typically arranged in (2 + l) x (2 + l) matrix and the weight corresponding to each image pixel itself is at the center (k + 1, k + 1) .
  • spatial domain filtering it will be directly "masked" on the original image, multiply with underlying pixel and take the sum;
  • convolution since only convolution has a direct frequency-domain counterpart but not masking, we need to change it to equivalent convolution first:
  • the 2 nd image in the 1 st row shows logarithmic scale 2D DFT of the original image.
  • the filtered and shifted spectrum is shown in the 3 rd image, which clearly has a dark/empty center due t the filter effect.
  • the reconstructed image is shown in the 4 th image but rather dark and the scaled display is in 5 th image of the 1 st row, showing how contrast has been enhanced.
  • Spatial domain filtering can be achieved in frequency domain.
  • Filters designed purely in the frequency domain can also be used to enhance the image.
  • c horizontal is essentially a vertical gradient taking at two upper and two lower pixels together
  • c vertical is essentially a horizontal gradient taking two left and two right pixels together
  • a tick / means the wavelet gradient result followed by Otsu thresholding, erosion and maximum component is accurate in that DFT gives the correct period count.
  • Thresholding is one of the most basic image processing techniques. In application US 12804163 we show that Otsu's method can be used to automatically detect threshold level. In this disclosure we are going to show other methods also work.
  • Iterative method finds a thresholding level L in an iterative process. Its implementation is simple, requiring no specific knowledge of the image and is robust against noise.
  • Otsu's method is representative of the class of thresholding algorithms that uses histogram information; with iterative method, we have shown that automatic thresholding can also be done without explicitly using histogram information.
  • Fig. 1.5.3-1 mean and median of image pixels as thresholding value are compared with Otsu threshold in each quadrant, also followed by erosion and maximum connected component. Although visually they do no convey very good information on the size and location of the drip, the final signal extracted after erosion and maximum connected component, have been found:
  • frequency estimation has many synonyms. “Spectral/spectrum” can be used in place of “frequency”, and “analysis/detection” are also used in many occasions instead of “estimation”. Terms like “period/periodicity” as well as “count” are also commonly used. It is believed that the choice of terms, if appears to be different from I am using in this disclosure, would not render the claims of this application inapplicable since it is the underlying methods that precisely defining the scope of protection, rather than the particular choice made on the naming of the methods.
  • DFT Discrete Fourier Transform
  • MUSIC Multiple Emitter Location and Signal Parameter Estimation
  • QualityO assigns a numerical value with higher one represents a higher signal quality.
  • any periodic measurement can be used. It is self-evident that drip height is a better periodic signal comparing with region's average gray level, but the fact that region's average gray level might not pass the test of some of the algorithms listed below is primarily due to the way we were extracting the signal.
  • video/image processing is done in a very small video window near the drip chamber's mouth where drips are forming and starting to fall.
  • the window size is smaller than 20(width)x50(height), fewer than 1000 pixels.
  • ⁇ ( ⁇ ) can be a constant smaller number independent of N, such as 0.5 or 1 ; Or it can be a monotonically increasing function of N. Intuitively, if you have only a signal of length 10, an error of 1 period is of course intolerable; but if you have a signal of length 1000, the same error would certainly be within the margin.
  • Suitability (S m y example signal' E)— 0 SuitabiUty( y 0ur improved signal ⁇ E)— 0 And what really determines is the quality of S as well as the ⁇ ( ⁇ ) one chooses.
  • the threshold of 13 was not automatically computed, but manually picked.
  • end return Index _ record is the average distance between successive indices of "crossing" points, and if two successive indices is closer than ⁇ ⁇ mean it means one of them might correspond to a small spike or a splitting peak, ⁇ as 0.5 has been tested as an appropriate value for the drip height signal of speed I, II and III.
  • R xx (S, m) is symmetric about 0
  • period T and k is an integer.
  • a monitoring and controlling device that is capable of only recognizing integer periods cannot determine whether the speed has reached 6.2 drips or not after monitoring for a 6- second period but can only know, after repeated adjusting and monitoring, that the speed is now in the range of [6, 7] . To approximate the speed as close as possible, it has to extend the observing period to much longer, in this case at least 30 seconds, since 62 has only two divisors smaller than itself: 2 and 31. Even if at 30 seconds it observed a drip count of 31 drips, the actual speed would still be between
  • Converge is a mathematical term and its use here is to mean that after repeated adjust- monitor feedback loop, the actual speed of drip finally falls into the tolerance range of the prescribed value.
  • Fig. 2.2.2.1-3 and Fig. 2.2.2.1-4 show auto-correlation also works for drip size signal for speed I, II and III.
  • the biased auto-covariance of a real sequence S is defined as
  • V xx (S, m) V furnish(S -m) it is therefore suffice only to compute for positive m 's.
  • the determination of periods is done by counting the distance between V XX (S, 0) and the next local maxima. Like ior R xx (S,m) , V ⁇ S ⁇ T ⁇ would attain local maxima, in which T E denote the estimate of period T and k is an integer.
  • auto-covariance is also one of the recommended methods in actual implementation.
  • AMDF Average Magnitude Differential Function
  • the Biased Average Magnitude Differential Function (AMDF) of a real sequence S is defined as in which we use an overline on top of D for differentiation with the unbiased version.
  • AMDF Biased Average Magnitude Differential Function
  • AMDF Unbiased Average Magnitude Differential Function
  • k can be chosen to be any positive value, but integers like 1 , 2 are commonly used. And a property is that
  • Fourier transform has a vast number of variations and derivatives and it's impossible to exhaust.
  • a clear distinction between Fourier- family methods and previous methods is that it whereas previous methods uses time domain signal directly, Fourier methods would estimates its constituent components at different frequencies, e 1' can take either discrete or continuous 6 .
  • DTFT discrete -time Fourier transform
  • DTFT discrete -time Fourier transform
  • Periodogram and DTFT are related by
  • periodogram is simply the square of DTFT' s magnitude divided by N . Both of them can be used to estimate signal frequency for our application. And advantage of periodogram and DTFT over DFT is that they estimate fractional frequency. This is also achievable by auto-correlation, auto-covariance and AMDF as well as many other algorithms described afterwards, but with different principle. In clinical application this would result in quick convergence speed which is an important improvement over DFT speed counting. Please refer to [ ⁇ 2.2.2.1 auto-correlation] for discussion.
  • D((o) and ⁇ ) at these ⁇ 1 ' s could be larger than D co) and ⁇ ) at higher co s which corresponding to the AC components of the signal, and would therefore cause problem if we compare D(co) or P(co) magnitude to estimate the signal frequency.
  • the simplest solution is to remove the signal's mean.
  • the frequency estimation would be done by simply scanning the DTFT/periodogram sequence.
  • the DTFT/periodogram peak for drip height signal of speed II « 13 periods is at
  • the Bartlett's periodogram average is one of the variations of periodogram and is defined as
  • m which is used to finely divide Aco increments in Fig. 2.2.3.2-1 is also chosen to be 100, and real implementation can use any value.
  • periodogram and DTFT for efficient computation and more accurate estimation one could first use DFT to locate the interval and then compute Bartlett's periodogram on the vicinity of the interval.
  • the correlogram of a real sequence S is defined as in which R xx (S, k) is the auto-correlation sequence as defined in [ ⁇ 2.2.2.1 Auto-correlation] .
  • correlogram result is found to be very close to them. This accuracy of correlogram is therefore confirmed.
  • the auto-covariance V xx sequence can be either biased or unbiased.
  • DCT and DST are variations of the DFT representing real sequence S with real coefficients. Depending on the different choices of defining periodic and symmetric extension, there are at least 16 different variations of DCT and DST. Please refer to [Wang, Z. 1984., Fast
  • the first N DCT-II coefficients already contain the full information of the extended sequence, and S DCT _ n can be reconstructed by first multiplying DCT - II sequence with respective e 2 and then take the inverse DFT.
  • the first N result of the inverse DFT would be the original sequence S .
  • Fig. 2.2.3.5-l show the DCT-II extension for drip height, speed II ⁇ 5.3 periods signal compared with the original. Note how the symmetric extension added ambiguities to the signal in terms of periodicity.
  • Fig. 2.2.3.5-2 still show correct integer level precision period count for drip height signal of speed I, II and III.
  • DST-II differs with DCT-II only in that it not only "flip” the original sequence, but also invert (take negative) them so that odd symmetry new sequence cancels cosine coefficients while preserving sine sequence.
  • the correct way of extension is to first subtracting mean from the original sequence then do the normal DST-II extension.
  • wavelet transform The basic ideas behind wavelet transform are multi-resolution and filter banks. There is a low pass filter and a high pass filter. After a signal is passed through the low-pass filter and down- sampled (denoted byj), the result represents the low-frequency local component of the signal; on the other hand, the down-sampled high-pass filter result represents the high-frequency local component of the signal.
  • the low- frequency local component is simply the local average of adjacent components
  • the high-frequency local component is the difference between two adjacent components.
  • the IV dripping process can largely be assumed to be a stationary type of signal expect during moments when the patient is moving his arm or due to other activities.
  • wavelet transform can still be used to detect periods for this type of signal, and the principle is to some extent similar with time-domain methods.
  • Results are shown in Fig. 2.2.4-1 to Fig. 2.2.4-3.
  • the algorithm with parameters above recognizes correctly peaks at all speeds I, II and III.
  • the peak locations are marked with upward-pointing triangles.
  • the 3 rd and 4 th level of approximate reconstruction are also shown below the 2 nd approximate reconstruction from which we can see that excess levels of approximation might flatten the signal too much to cause peak detection fail.
  • the Daubechies family of wavelet can have different lengths, and there are many other types of wavelets such as ⁇ biorthogonal, cubic spline, Haar, Mexican hat, Morlet, Meyer, symlets ⁇ and customarily constructed types. But none of them would constitute substantial difference from our algorithm.
  • Daubechies D2 wavelet is equivalent to Haar wavelet, and wavelet transform with it is also called Haar transform. Depending on the quality of the signal, it is reasonable to expect that others types of wavelets and parameters can be used for peak (peak) counting in this application.
  • the parametric methods assume that the signal satisfies a generating model with known functional form and then proceed by estimating the parameters in the assumed model. The signal's spectral characteristics of interest are then derived from the estimated model.
  • Yule- Walker is a method for estimating frequency for AR models. For a real sequence S its steps are:
  • ⁇ ⁇ k — ⁇ x[n] x[n + k]
  • biased auto-correlation is used to ensure the matrix is positive definite.
  • Unbiased auto-correlation can also be used and please refer to [Hayes, M. - Statistical Digital Signal Processing and Modeling (Wiley, 1996)] for detail.
  • S in general is a periodic signal, and obviously depends on its previous values. AR model fits this physical basis best; poor estimation might occur from MA model since its assumption is not consistent with the reality.
  • MUSIC Multiple Emitter Location and Signal Parameter Estimation
  • pseudospectrum or eigenspectrum
  • Fig. 2.3.2.1-1 to Fig. 2.3.2.1-6 show these methods work for ⁇ drip height, drip size ⁇ x ⁇ speed I, II and III ⁇ .
  • drip size signal larger P such as over 80 might be needed, depending on the quality of the signal.
  • Fig. 2.3.2.1-1 to Fig. 2.3.2.1-6 are shown in logarithmic scale. There are two reasons: (1) if it shown in linear scale, many of the smaller values would be hardly visible. (2) what is displayed is actually pseudospectrum, so we don't have to make them as in linear scale as shown for previous experiments.
  • frequency can also be estimated not by via any means to estimate the original power spectrum (periodogram or any other), but via its pseudospectrum through eigenvalue decomposition.
  • pseudospectrum methods can also be used for our IV speed monitoring application.
  • Fig.3-1 is a general schematic of the mechanical sub-system of our IV monitoring and control system. A leadscrew is shown more prominently than other parts because we believe it is essential to the system. However, we stress that no limitation is made here that the real implementation must use leadscrew and its function can be substituted by other parts.
  • Fig. 3.1- 1 Devices such as Fig. 3.1- 1 are used in conventional gravity based dripping for adjusting drip speed. It works by pressing the tube to adjust its thickness. The presser rolls in a groove and changes the thickness of the tube by pressing it.
  • Fig.3.1-2 shows the side (or front) view of some possible shapes of back supporter for tubes.
  • Fig.3.1-3 Viewing from the perspective of tube's axial direction (top/bottom), there can also be a numerous matching and complementary shapes to form the presser/supporter combination. Five examples are shown in Fig.3.1-3.
  • Fig.3.1-4 On the left of Fig.3.1-4, from top to bottom, we give example that the shape of the contacting point between presser and tube can of an angle, or flat, or rounded.
  • angle can be obtuse, right or acute; it can either taper or expand; it can either have a sharp edge or a flat surface at the contacting point.
  • presser and supporter can cause the flow in the tube to stop, then they the two could be used a presser/supporter pair.
  • the presser is drawn to have inner thread so it could be used as a nut to be mounted with a leadscrew so that leadscrew's rotation would be translated into presser's axial movement. It is also possible that the presser is connected with a linearly moving part directly without requiring leadscrew-nut combination. In both cases there could be off-axis movement and it could be reduced with techniques in [ ⁇ 3.3 Linear Motion Guide].
  • presser/supporter pairs shown above are used for a linear actuator is pushing the presser directly toward the direction of the tube. Besides linear actuator, there are still
  • Fig.3-1 Please refer to Fig.3-1 for the general schematics of the mechanical subsystem.
  • a mechanism for IV control has the following characteristics: 1. High resolution so that the control can be accurate.
  • leadscrew is an ideal solution which satisfies 1-3.
  • Leadscrew is a basic mechanical structure and is known to everyone work in mechanical engineering. Please refer to [ ⁇ 8.2, Shigley's Mechanical Engineering Design] for discussion and properties.
  • d mean diameter of the ring on which screw and nut touch
  • Property I High resolution so that the control can be accurate.
  • Lead / is usually very small.
  • the linear stepper motor, / could be made as small as 0.5mm, and each step's rotation could be made to as small as 7.5 ° so that the stroke of each step is only
  • PPrrooppeerrttyyy IIII SSeellff-- lloocckkiinngg ssoo tthhaatt nnoo eenneerrggyy iiss rreeqquuiirreedd ffoorr mmaaiinnttaaiinniinngg ccoonnttrrooll ppoossiittiioonn..
  • Property III Strong output force so that sufficient pressure can be applied on IV tube.
  • leadscrew is an ideal mechanical structure for controlling IV dripping speed.
  • a linear motor, or any motor is an assembly and combination of different
  • Leadscrews can be used in many other places besides within linear motor. In fact, as Fig.3- 1 would show, it might appear for one or more times at different places for translating rotary motion into linear. For example, a linear rail/slide could have leadscrew, but it might not use the electrical part of motor at all so that naming it as a "motor” is obviously inappropriate. It is therefore better to use the name "leadscrew” alone to direct our attention to its distinct properties.
  • the pitch on the presser and its corresponding shaft part to be 1.0mm and on the tube fixture and its corresponding shaft part to be 0.9mm.
  • there of course needs to be bearings, key/keyway or spline/groove combination to prevent them from rotating, which are omitted in the image for visual clarity.
  • the presser needs to be driven 30mm to the right whereas the supporter with the tube are driven 27mm to the right, and their relative movement results in the full 3mm pressing of the tube.
  • key/keyway or spline/groove is on the inside or outside.
  • leadscrew as the linear actuator in the two figures, we by no means require that spline/groove or key/keyway must be used on leadscrew driven parts. They can be used to guide linear motion resulted from any component(s).
  • bearings can be either on the outside or fit within groove/channel/track cut within the moving parts.
  • Fig. 3.4-1 shows one of the numerous possible ways of creating a linear motion in that a leadscrew first causes the rotation of one side of a lever, the rotation of the other end of the lever then causes the linear movement of a slider/presser.
  • the nut of the leadscrew has a small cylindrical connector that is fitted into the groove in the lever and the slider/presser also has a same connector fitted into the groove in the lever. Bearings have been used for both the leadscrew nut and the slider but of course spline/groove and key/keyway can also be used.
  • lever length ratio shown here are only for illustrational purposes. Levers can be classified into three classes according to the relative position of the fulcrum, the load and the force and the type that the load is between the force and the fulcrum can also be used.
  • This mechanism is simple, low cost, and has been tested to be very effective in operation.
  • the principle used by key/keyway, spline/groove and bearing is to prevent off-axis displacement by hold, grip or push firmly against it.
  • the pivoted nutcracker works by decomposing it.
  • Fig. 3.5.1-l shows the drawing.
  • the tube's supporter and presser are assembled together at a pivot on which the presser or both the presser and the supporter could turn about.
  • the fit at the connection should not be too tight to prevent the turning.
  • a linear motion either guided by ⁇ key/keyway, s line/groove, bearing, etc. ⁇ or not, now causes the presser arm to rotate about the pivot.
  • the tube back supporter would be fixed and not allowed to move, or it might also be allowed to rotate and be connected to a driving part.
  • the closing of the angle between the presser and tube supporter compresses the tube, and the opening does the reverse.
  • a groove of uniform width is cut in the presser.
  • the width of the groove is slightly larger than the diameter of a sphere or cylinder mounted at the head of the linear motion part so that when the linear parts moves forward or backward along its axis, the sphere or cylinder could have a relative sliding movement within the groove.
  • the length of the presser arm is usually much larger than then 3mm-around diameter of the tube, and the sphere/cy Under mounted at the linear motion part touches the groove sides also at a distance from the pivot usually much larger than 3mm tube diameter.
  • the opening angle between presser arm and the tube supporter, denoted by ⁇ would be an angle at most times smaller than 15 ° .
  • the pivoted arm In addition to solving the problem of off-axis displacement, the pivoted arm also enhances the precision by ratio of the horizontal distance D between sphere/cylinder's touching point to the pivot and the horizontal distance d between presser arm and tube's touching point to the pivot. By the principle of lever this also magnifies the force by D/d. Please see Fig. 3.5.1-3 in which this relationship is shown using similar triangle property. Recall that in [ ⁇ 3.3 Linear Motion Guide], we mentioned 0.0254mm (O.OOlinch) is a common stroke distance for linear stepper motors and it is roughly 1/1 18 of a 3mm inner diameter of an IV tube. With the use of this pivoted "nutcracker" presser, this 1 18 parts division could be further divided by a ratio of D/d which results in even finer precision over the dripping rate control.
  • the linear actuator pushes/drags the presser; it can push/drag either the presser arm or the tube supporter (when it allowed to move) to create relative movement; there can also be more than one such linear actuators to drive both of them.
  • the presser and tube supporter are connected at one end which allows the relative rotational movement between the two parts.
  • One or more linear actuator(s) that push(es) or drag(s) the presser and/or tube
  • the connector between the linear motion part and the arm groove would usually have a sphere or cylindrical shape.
  • a bearing is also allowed.
  • the essential characteristics is that is must have in at least one of the numerous cross-sectional surfaces a circular circumference which would allow it to move smoothly with in the groove. Other variations are possible at the cost of probably additional difficulty.
  • linearly moving part can contact the presser at any location in any geometric configuration, not necessarily on approximately the half-line/ray which start from the pivot and pass through the contacting point of the tube with the presser or supporter.
  • An example is shown in Fig. 3.5.1-4.
  • FIG. 3.5.2-1 shows a variation which is by connecting the shaft of a rotational motor to either of the presser or supporter so that the rotation of the motor could result in the change of angle between the presser arm and supporter. In this configuration sphere/cylindrical shape and groove is not needed.
  • presser and supporter are both driven by rotational components, or even in a mixed combination that one part's rotation is driven by a linearly moving part, and another part's rotation is imparted by a rotational component.
  • the essential result would always be the relative rotation of the two parts.
  • the presser and tube supporter are connected at one end which allows the relative rotational movement between the two parts.
  • Rotational actuator(s) connected to presser and/or tube supporter, directly or via other intermediate mechanism, whose rotation(s) result(s) in opening or closing the angle between them.
  • Cams can also be used to convert a rotary motion into linear. There are numerous types of cams and we have shown in this illustrational embodiment a spiral. There are five positions shown in Fig. 3.6- 1 to show how rotation of the cam would drive the linear motion of the presser.
  • the central circle in the front view is the motor shaft.
  • a board is connected to the shaft and a groove is cut on the board.
  • the geometric shape of the groove is the envelope a circle or any shape assuming circular circumference in at least one of its numerous cross-sections, running with its center moved along a spiral curve. If the groove rotates in the clockwise direction, the presser will be pressed to the right through the cylindrical connector that is fitted into the groove, and will be pulled to the left if the groove rotates in the anti-clockwise direction.
  • Cams are not self-locking so that a steady current might be needed to maintain its position. To lock the cam without continuous current, one might, in the following steps:
  • the plate has slots or holes evenly or unevenly spanned in different directions.
  • a cam in conjunction with bearing to guide the linear motion of the presser
  • a cam structure can also be used alone so that is edge directly touches the IV tube.
  • the change of ⁇ results in the change of radial length hence can be used to directly press the tube. It is also a possible implementation although issues such as slipping of the tube needs to be properly addressed.
  • cam can also be used in other parts of the system without directly driving the presser. It can be used to either translate rotary motion into linear or linear motion into rotary in any parts of the system, which is what it by its nature does. 4. Illumination
  • Fig. 4.1-l shows examples good illumination. LED lights in this example are projected from the top of the chamber through a light director/b locker shown in Fig. 4.10-1. The overhead lighting creates no spurious brighter spots from drip chamber surface's reflection in the image.
  • Fig. 4.1-2 show three examples of poor illumination where reflections of LED light on the drip chamber surface make video/image processing difficult.
  • the LED are placed on the side so that the dripping mouth and drip, although surrounded in brighter reflections of the chamber, are still visible. If light is projected from front or back of the chamber, the drip mouth and drip could be completely masked out by the brighter area(s) either due to light itself (from back) or its reflection (light in front).
  • the light power at dx is inversely proportional to the square of its distance from the point source:
  • the reflection interferes with drip detection for two reasons:
  • the area(s) caused by these reflections are usually brighter than reflections from the drip, or overlapped with the drip.
  • Primary light source A light source where a physical quantity of other form is converted into light. This includes LED light, incandescent light, infrared lights, ultraviolet lights, laser and any other type of light sources.
  • Secondary light source A light source whose lights are directed from one or more primary light sources by optical devices. Illumination using optical fiber, light-tube/light- pipe/integrator bar, assembly of mirrors' reflection, reflective surface all belong to this type.
  • the type of light source here can be either primary or secondary type.
  • the symbol of light source in Fig. 4.3- 1 looks like suggesting primary type, which is only for better illustration when comparing with Fig. 4.4- 1.
  • each of the multiple light sources there is also no requirement on how far should each of the multiple light sources be separated.
  • even a second light source as close to the drip chamber as the original light source could effectively cancel a large portion of unevenness in brightness. Therefore, it is perfectly possible to use an array of light sources close to, concentrated or near the original single light source location to cancel the unevenness of each.
  • Such array of light sources can also be manufactured integrated in a package, either LED or other type, which contains an array of light-emitting elements. This should also be considered as an instance of the multiple light sources.
  • Fig. 4.4-2 illustrates the principle of light tubes.
  • Each light source (whatever type) is in fact composed of numerous point sources.
  • the effect looks like numerous rays are coming from the point source's numerous virtual images so that it no longer behaves like a point source, but in effect similar to a scattered/diffusive light source. Please refer to [p.105, Smith, Warren J., Practical Optical System Layout and Use of Stock Lenses].
  • the principle of light tube is unique in itself. Although similar to the 2 nd "cancellation" principle of reflection/brightness contrast reduction, it is more appropriate to leave it as a single class alone rather than classified into the cancellation principle.
  • Bundles of the above Fig. 4.4-1 show that how a single light source (of any type) can be used to create multiple secondary light sources via light-tube. For thinner types of light-tube such as optical fiber, bundles of them can be used together.
  • Fig. 4.5-1 shows that assemblies of mirror can also be used to direct light so that multiple light sources can be created from a single one. It can of course be used just to direct a single light without creating a multiplicity of them.
  • Any shape of mirrors can be used since it is only used to direct light, not the image.
  • the shape might be arbitrarily curved or assuming particular geometric shapes. It also does not matter whether such mirror of shape, when used in ordinary occasions, might create some "bizarre" effect or not. Any type of mirror could be used as long as it could direct light.
  • each surface can be either convex, concave, or flat; for thick lens the ability of converging light also depends on its thickness; for combinations of lens the possibilities are impossible to enumerate.
  • EFL effective focal length
  • Parabola or paraboloid light rays emitting from the focus would be reflected so that all are become parallel with the axis (the symmetric axis of the shape itself).
  • Hyperboloid or hyperbola light ray emitting from one focus would have their
  • backward extension lines converge at the other focus so that it looks like the light is coming from the virtual image at the other source.
  • a light blocker (which can either be made/integrated as part of the light source to prevent it from scattering light to all directions, or separate from the light source) that blocks the direct path between the light source and the drip chamber.
  • a reflective surface whose reflection the light source uses to illuminate the object indirectly.
  • a rough surface is shown in Fig. 4.8-1 and it also requires a light blocker to prevent light from illuminating the drip chamber directly.
  • a light blocker (which can either be made/integrated as part of the light source to prevent it from scattering light to all directions, or separate from the light source) that blocks the direct path between the light source and the drip chamber.

Abstract

A device, a mechanical apparatus and an illumination system for intravenous (IV) monitoring system are provided. The device extracts a periodical signal from IV dripping process by using any video or image processing techniques and measures the speed of the dripping by using any frequency estimation techniques. The mechanical apparatus controls the speed of the dripping by changing the thickness or diameter of the IV tube according to the IV dripping speed measured by the video or image processing. The illumination system illuminates the drip chamber so that clear image can be captured for the video or image processing.

Description

TITLE: Image Processing, Frequency Estimation, Mechanical Control and Illumination for an Automatic IV Monitoring and Controlling system
CROSS-REFERENCE TO RELATED APPLICATIONS:
US Application 12825368: IV Monitoring by Digital Image Processing, by the same inventor US Application 12804163: IV Monitoring by Video and Image Processing, by the same inventor
US Application 13019698: Electromechanical system for IV control, by the same inventor US Application 13356632: Image Processing, Frequency Estimation, Mechanical Control and Illumination for an Automatic IV Monitoring and Controlling system, by the same inventor
FEDERALLY SPONSORED RESEARCH:
Not Applicable
THE NAMES OF THE PARTIES TO A JOINT RESEARCH AGREEMENT:
Not Applicable
SEQUENCE LISTING OR PROGRAM:
Not Applicable
BACKGROUND - FIELD OF INTENTION
This invention relates to an IV monitoring and control system whose monitoring is done by video and image processing, whose dripping speed is measured using frequency estimation techniques, whose dripping rate is controlled using mechanical component and whose illumination is done with optical components.
BACKGROUND - PRIOR ART First, infusion pumps are widely used as an automatic IV controlling device. Most infusion pumps does not monitor IV speed but controls the speed using mechanical devices, most commonly peristaltic pump.
Second, there are also many attempts to monitor IV speed via optical (most commonly infrared or other sensors), image processing or other ways.
Figure imgf000003_0001
SUMMARY
We describe the further methods and apparatus in this disclosure:
Image processing techniques to process the video/image for extracting periodic measurement of the IV dripping process, disclosed methods include:
1. Image enhancement techniques, which further includes gray-level transformation, frequency-domain processing and wavelet techniques.
2. Thresholding techniques, which further includes iterative method, arbitrary/constant or manually assigned/determined threshold level, and mean/median or other simple thresholding method.
Frequency estimation would estimate dripping frequency from periodic signal extracted from image sequence, disclosed methods include:
1. Non-parametric methods, which further includes naive time-domain methods, time- domain statistical methods, Fourier and Fourier-related methods, and wavelet transform.
2. Parametric methods, which further includes auto-regressive or auto-regressive mean- average spectrum estimation methods and eigenvector/subspace methods.
Mechanical system controls the dripping speed by pressing the tube. Apparatus include tube presser and supporter, use of leadscrew and differential leadscrew, use of lever, use of linear motion guide, rotational presser and cam embodiment.
Illumination system ensures the quality of captured video/image(s). Principles, methods and apparatus include principles of reflection/brightness contrast reduction, multiple light sources, multiple sources from secondary light source, light source from mirror reflection, magnified light source from lens, use reflective surface of any level of smoothness, avoid shooting the reflection/brightness contrast and the use of light director/blocker.
Please refer to each method/apparatus' respective section for discussion.
DRAWINGS - Figures Fig. 1.1-1 A show the image of drip chamber and Fig. 1.1 -IB shows within Fig. 1.1-lA an area used where image analysis is performed on.
Fig. 1.1 -2A shows a vertical Sobel gradient
Fig. 1.1 -2B shows a vertical Prewitt gradient
Fig. 1.1 -2B shows a Laplacian operator
Fig. 1.1-3 shows an image and its Sobel, Prewitt and Laplacian result.
Fig.1.1 -4A to Fig.1.1 -4D shows analysis steps performed on a sequence of captured images. Each figure contains on its top left the original image, top right the result of Sobel gradient operator, bottom left thresholding result of the Sobel gradient, bottom right erosion result of the bottom left.
Fig. 1.1-5 shows an erosion kernel used Fig. 1.1 -4A to D.
Fig. 1.1 -6A shows drip height from speed II ~ 13 periods dripping video.. \
Fig. 1.1 -6B shows DFT of Fig. 1.1 -6A.
Fig. 1.1 -7A shows drip size from speed II ~ 13 periods dripping video.
Fig. 1.1 -7B shows DFT of Fig. 1.1 -7A.
Fig. 1.1 -8A shows region's average gray level from speed II ~ 13 periods dripping video. Fig. 1.1 -8B shows DFT of Fig. 1.1 -8A.
Fig. 1.2.1-1 shows the comparison between image gradients, power-law and exponentiation transformation result.
Fig. 1.2.1-2 shows power-law result followed by Otsu thresholding and erosion.
Fig. 1.2.2-3 shows drip size data obtained after gray-level transformation y = 5 · 3X — 2), followed by Otsu threshold, erosion and maximum connected components. The lower is the DFT.
Fig. 1.2.3-1 is the piece-wise interpolation of power- law transformation y = 5x4 in five segments. Fig. 1.2.3-2 shows image piece-wise transformation compared with the original function y = 5x4 .
Fig. 1.2.3-3 is the signal obtained by piece-wise transformation, followed by Otsu thresholding, erosion and maximum component. Drip size and height in upper and respective DFT in the lower.
Fig. 1.2.4-1 shows histogram equalization's effect thresholding algorithms
Fig. 1.2.4-2 shows histogram matching result for image enhancement.
Fig. 1.2.4-3 shows signal obtained by histogram matching, followed by Otsu thresholding, erosion and maximum component. Drip size and height in upper and respective DFT in the lower.
Fig. 1.3-1 shows how to perform frequency filtering that is equivalent to a spatial domain filter.
Fig. 1.3-2 shows how to convert Vertical Sobel mask to a convolution kernel
Fig. 1.3-3 shows frequency-domain high-pass filter effect.
Fig. 1.3-4 shows another example of frequency-domain filtering.
Fig. 1.4- 1 shows the result of wavelet filtering.
Fig. 1.4-2 shows the signals obtained by wavelet filtering followed by Otsu thresholding, erosion and maximum connected components and their DFT.
Fig. 1.5.1-1 compares Iterative method and Otsu's method
Fig. 1.5.1-2 shows the signals obtained by iterative method thresholding, preceded by Sobel gradient and followed by erosion and maximum connected components, together with their DFT.
Fig. 1.5.2-1 compares constant level threshold with Otsu and Iterative method.
Fig. 1.5.2-2 shows the signals obtained by constant level thresholding, preceded by Sobel gradient and followed by erosion and maximum connected components, together with their
DFT.
Fig. 1.5.3-1 compares Otsu, mean and median thresholding.
Fig. 1.5.3-2 shows the signals obtained by mean thresholding, preceded by Sobel gradient and followed by erosion and maximum connected components, together with their DFT.
Fig. 1.5.3-3 shows the signals obtained by median thresholding, preceded by Sobel gradient and followed by erosion and maximum connected components, together with their DFT. Fig . 2.2.1.1- -1 shows
Fig . 2.2.1.2- -1 shows
Fig . 2.2.2.1- -1 shows
Fig . 2.2.2.1- -2 shows
Fig . 2.2.2.1- -3 shows
Fig . 2.2.2.1- -4 shows
Fig . 2.2.2.2- -1 shows
Fig . 2.2.2.2- -2 shows
Fig . 2.2.2.2- -3 shows
Fig . 2.2.2.2- -4 shows
Fig . 2.2.2.3- -1 shows
Fig . 2.2.2.3- -2 shows
Fig . 2.2.2.3- -3 shows
Fig . 2.2.2.3- -4 shows
Fig . 2.2.2.3- -5 shows
Fig . 2.2.2.3- -6 shows
Fig . 2.2.2.3- -7 shows
II and III
Fig . 2.2.3.1- -1 shows
Fig . 2.2.3.1- -2 shows
Fig. 2.2.3.2-1 shows Bartlett's periodogram for L=90, 60, 30, 15, for speed II drip height signal.
Fig. 2.2.3.3-1 shows auto-correlation of drip height speed II signal, and correlogram, and DFT.
Fig. 2.2.3.4-1 shows DTFT of auto-covariance for drip height signal.
Fig. 2.2.3.4-2 shows DTFT of auto-covariance for drip size signal.
Fig . 2.2.3.5- -1 shows
Fig . 2.2.3.5- -2 shows
Fig . 2.2.3.5- -3 shows Fig. 2.2.3.5-4 shows incorrect and correct ways DST-II extension.
Fig. 2.2.3.5-5 shows magnitude of DST-II coefficients for drip height signal.
Fig. 2.2.3.5-6 shows magnitude of DST-II coefficients for drip size signal.
Fig. 2.2.4-1 shows wavelet period counting for speed I drip height signal.
Fig. 2.2.4-2 shows wavelet period counting for speed II drip height signal.
Fig. 2.2.4-3 shows wavelet period counting for speed III drip height signal.
Fig. 2.3.1.1-1 shows Yule- Walker method for speed I drip height
Fig. 2.3.1.1-2 shows Yule- Walker method for speed II drip height
Fig. 2.3.1.1-3 shows Yule- Walker method for speed III drip height
Fig. 2.3.1.1-4, Yule- Walker method for speed I drip size
Fig. 2.3.1.1-5, Yule- Walker method for speed II drip size
Fig. 2.3.1.1-6, Yule- Walker method for speed III drip size
Fig. 2.3.2.1-1 shows MUSIC method pseudospectrum for speed I drip height signal
Fig. 2.3.2.1-2 shows MUSIC method pseudospectrum for speed II drip height signal Fig. 2.3.2.1-3 shows MUSIC method pseudospectrum for speed III drip height signal Fig. 2.3.2.1-4 shows MUSIC method pseudospectrum for speed I drip size signal
Fig. 2.3.2.1-5 shows MUSIC method pseudospectrum for speed II drip size signal
Fig. 2.3.2.1-6 shows MUSIC method pseudospectrum for speed III drip size signal
;.3-l shows a general schematic of the mechanical control system
Fig. 3.1-1 shows IV speed adjuster used for manual adjustment
Fig.3.1-2 shows side or front view for possible shapes of IV tube presser/supporter
Fig.3.1-3 shows axial/top/bottom view for possible shapes of IV tube presser/supporter
Fig.3.1-4 shows shape, edge, angle and ways of contact between IV tube, presser and supporter.
Fig. 3.1-5shows a concrete example of a presser with sharp edge in its top, left, side and right view.
Fig. 3.2-1 shows side and axial view of a leadscrew
Fig. 3.2.1-1 shows a differential leadscrew combination is shown where the precision enhanced 10 times. Dimensions are purely illustrational.
. 3.3-1 shows off-axis movement illustration Fig. 3.3-2 shows key/keyway combination to control off-axis movement Fig. 3.3-3 shows spline/groove combination to control off-axis movement
Fig. 3.3-4 shows bearing(s) to control off-axis movement
Fig. 3.4-1 shows use of lever in translating motion
Fig. 3.5.1-1 shows the pivoted "nutcracker"
Fig. 3.5.1-2 shows the principle of off-axis movement can be absorbed by the pivoted "nutcracker.
Fig. 3.5.1-3 shows the leverage of the pivoted "nutcracker.
Fig. 3.5.1-4 shows the linearly moving part might contact the rotational part at any location, in any geometric configuration.
Fig. 3.5.2-1 shows a rotational pivoted "Nutcracker"
Fig. 3.6-1 shows the use of cam
Fig. 4.1-1 shows example of good illumination
Fig. 4.1-2 shows example of bad illumination
Fig. 4.1-3 shows the cause of reflection/brightness contrast
Fig. 4.2-1 shows by increasing the distance between light source and drip chamber reflection/brightness contrast might be reduced.
Fig. 4.2-2 shows by mutual cancellation of brightness unevenness of multiple light sources reflection/brightness contrast might be reduced.
Fig. 4.3-1 how multiple light sources can be used.
Fig. 4.4-1 shows how a single light source might be directed by light guide/light tube/light pipe/integrator bar/optical fiber to illuminate drip chamber from multiple locations.
Fig. 4.4-2 shows the principle of light guide/light tube/light pipe/integrator bar/optical fiber in creating multiplicity of images for a single point source.
Fig. 4.5-1 shows mirror of mirror combination might be used to direct light
Fig. 4.6-1 shows how light source might be magnified to cancel unevenness of individual point sources. Fig. 4.7-1 shows how reflective surfaces might be used to reduce reflection/brightness contrast.
Fig. 4.7-2 shows the reflective surface can take different ways of formation and shapes.
Fig. 4.8-1 shows how a rough surface might be used to cause light to scatter randomly.
Fig. 4.10-1 shows light director/blocker extending from light source to object
Fig. 4.10-2 shows light director/blocker and image capturing can be arranged in any relative position as long as reflection/brightness contrast in the view of the image capturing device can be reduced.
Fig. 4.10-3 shows light director/blocker can be put in different places.
DRAWINGS - Reference Numerals
Not used
Detailed Description
0. Introduction
The methods and apparatus for all aspects of a complete automatic IV monitoring and controlling system are given in this disclosure which expands on the scope of my previous applications and completes them:
1. Application US 12825368: IV Monitoring by Digital Image Processing
2. Application US 12804163: IV Monitoring by Video and Image Processing
3. Application US 13019698: Electromechanical system for IV control
A schematic for the whole system is shown in Fig 0.1- 1 which comprises subsystem of illumination, subsystem of image capturing, processing and frequency estimation and subsystem of mechanical control.
In § 1 Image Processing we are going to disclose a large number of image processing techniques for our application.
In §2 Frequency Estimation we are going to disclose a large number of frequency estimation techniques for counting period from periodic measurements. It covers all classes of known techniques by giving at least one example in each class.
In §3 Mechanical Control we disclose a wide variety of mechanisms and principles for effectively controlling the dripping rate.
In §4 Illumination we disclose techniques for properly illuminating the drip chamber so that reflections and other defects would not interfere with object we are observing.
A brief flowchart of the monitoring and control process is giving in Fig 0.1-2.
0.1 Datasets This part expands on application US 12804163, and experiments in this disclosure would be extracted from the same video monitoring data of the IV dripping processes as used in application US 12804163 (there might exist some slight differences due to unobserved changes in experiment environment). The length, frame rate, dripping speed and signal type is shown in the following table.
Figure imgf000012_0001
Table 0.1- 1, Dataset Description
There are therefore a total of 3x3=9 different datasets, and they are all listed in Table 0.1-1 and plotted in Fig. 0.1-1 to Fig. 0.1-9.
0.2 Notations
Due to the multiplicity of algorithms described in this disclosure and the multiplicity of datasets, enumerating individually each of their combinations would be laborious and would result in lengthy description. We therefore prefer to use the standard set notation such as:
{} : Inclusion
x : Cartesian product
0 : Empty set
among others.
For example, {method A, method B} x {data I, data II} would mean applying each of the two methods on each of the two datasets, which can also be denoted by {(method A, data I), (method A, data II), (method B, data I), (method B, data II)} . These are knowledge of high school math so anyone skilled in the field of art is assumed to be familiar with them.
1. Image Processing
The techniques disclosed here are extensions to techniques disclosed in application US 12804163. We are going to show that for video/image captured for monitoring an IV process, there are still many other techniques can be used to process the images.
1.1 Review of Image Processing Techniques in application US 12804163
We first review the techniques for image processing disclosed in application US 12804163. Fig. 1.1-1 A shows an image of an IV drip chamber, and in Fig. 1.1 -IB we use a rectangle close to the dripping mouth to specify the area where the image processing will be taken on. The purpose of choosing an area close to the drip mouth is primarily to enable processing with low resolution, low frame -rate image capturing device and low speed processor. Real implementation could monitor any area if periodicity signal can be extracted.
Fig. 1.1 -2A shows a vertical Sobel gradient operator, Fig. 1.1 -2B shows a vertical Prewitt gradient operator and Fig. 1.1 -2C shows a Laplacian operator.
An image of the dripping process is shown in Fig. 1.1-3 along with its Sobel, Prewitt and Laplacian gradient. Note that for Sobel and Prewitt gradient, we were taking sum of the absolute values of both the vertical and horizontal result:
|Gradient| = |Gx | + |Gy |
which is a standard practice in the field.
The purpose of applying these image enhancement techniques was to highlight important features for subsequent processing, and in this particular example gradient operation highlighted the drip from its background. Fig. 1.1 -4A to D show image processing steps for four images in a sequence. In each of the subfigure, for example Fig. 1.1 -4A, the upper left is the original image with the index in the sequence shown in the title, and in upper right we show the example of applying Sobel gradient (vertical + horizontal). The lower left applies Otsu's thresholding method on Sobel gradient result and converted a gray level image to a binary image. In the lower right, we first erode the thresholded result and compute its connected components.
Important information are extracted from the connected components. In the titles of each of Fig. 1.1 -4A to D's lower right image, the first number shows the number of connected components, the second number shows the size of the maximum connected component measured in the number of pixels, and the third number shows the average height of the y coordinate of the maximum connected component with y increases from top to bottom in the image.
If we examine 1.1 -4A to D, we could immediately verify that each step of processing improves the quality of the image and the results are always consistent with our visual inspection. After processing a total number of 180 images from a low-resolution camera with frame rate 15/sec for 12 seconds, the graph for maximum connected component's y coordinate is shown in Fig. 1.1 -6A along with its DFT in Fig. 1.1 -6B. The graph for size of the maximum connected component is shown in Fig. 1.1 -7A along with its DFT in Fig. 1.1- 7B.
We see that for both maximum connected component's height and drip signal, DFT both recognized the correct number of periods by the index of the non-DC component with the maximum DFT magnitude.
And if we compare Fig. 1.1 -6A and Fig. 1.1 -7A, we see that although the signal of maximum connected component's size is much less obvious in showing a periodic pattern than the signal of its height, DFT result still recognizes exactly the same number of periods from the both.
In Fig. 1.1 -8A we show for the same image sequence a signal extracted by very crude, most simplistic and very improbable a means for extracting a meaningful signal: simply taking the average of all pixels' gray level value. Not a single image processing technique has been applied, yet the signal Fig. 1.1 -8A still shows regular periodic pattern and its DFT in Fig. 1.1- 8B also recognizes the correct period count. PPlleeaassee aallssoo rreeffeerr ttoo aapppplliiccaattiioonn UUSS 1122880044116633 ffoorr eexxppeerriimmeennttss wwiitthh iimmaaggee sseeqquueennccee ffrroomm ddrriippppiinngg pprroocceessss ooff ootthheerr ssppeeeeddss..
WWhhaatt hhaass bbeeeenn rreevveeaalleedd bbyy tthhee ssuucccceessss ooff ppeerriioodd ccoouunnttiinngg ffoorr::
11.. DDrriipp hheeiigghhtt ssiiggnnaall,, aarrgguuaabbllee tthhee bbeesstt aanndd mmoosstt cchhaarraacctteerriissttiicc ssiiggnnaall ooff ddrriippppiinngg
ppeerriiooddiicciittyy
22.. DDrriipp ssiizzee ssiiggnnaall,, aa ssiiggnnaall mmooddeerraatteellyy cchhaarraacctteerriissttiicc ((oorr ssoommee mmiigghhtt tthhiinnkk iitt iiss tthhee wwoorrsstt,, aass FFiigg.. 11..11 --77AA mmiigghhtt ssuuggggeesstt))
33.. AArreeaa''ss aavveerraaggee ggrraayy lleevveell ssiiggnnaall ((oorr ssoommee mmiigghhtt rraannkk iitt aass aa mmooddeerraatteellyy cchhaarraacctteerriissttiicc ssiiggnnaall,, aass FFiigg.. 11..11 --88AA mmiigghhtt ssuuggggeesstt)),, aalltthhoouugghh iinn oouurr eexxaammppllee sshhoowwiinngg ggoooodd ppeerriiooddiicciittyy,, aarrgguuaabbllyy ffrroomm tthhee ffaacctt tthhaatt iitt llaacckkss aallll pprroocceessssiinngg sstteeppss ppeerrhhaappss wwoouulldd bbee tthhee lleeaasstt cchhaarraacctteerriissttiicc//wwoorrsstt ssiiggnnaall uunnddeerr ootthheerr sshhoooottiinngg eennvviirroonnmmeennttss..
BByy [[bbeesstt,, mmooddeerraattee,, wwoorrsstt]],, wwee ccoovveerr bbyy ggiivviinngg eexxaammpplleess iinn tthhee eexxttrreemmeess aanndd mmiiddddllee ooff tthhee wwhhoollee ssppeeccttrruumm ooff nnuummeerroouuss wwaayyss ooff eexxttrraaccttiinngg aa ppeerriiooddiicc ssiiggnnaall ffrroomm tthhee IIVV ddrriippppiinngg pprroocceessss,, aanndd pprroovveedd wwiitthh aaccccuurraattee rreessuullttss ffrroomm tthhee eexxaammpplleess tthhaatt aannyy ppeerriiooddiicc ssiiggnnaall ccoouulldd bbee uusseedd ttoo ddeetteecctt tthhee nnuummbbeerr ooff ppeerriiooddss ffoorr tthhee IIVV ddrriippppiinngg ppeerriiooddss..
WWhheerreeaass tthhee tteecchhnniiqquueess iinnttrroodduucceedd iinn aapppplliiccaattiioonn UUSS 1122880044116633 aarree ppoowweerrffuull aanndd ssuufffificciieenntt,, tthheerree aarree ssttiillll aalltteerrnnaattiivveess wwee wwiillll sshhooww iinn tthhiiss ddiisscclloossuurree..
11..22 GGrraayy LLeevveell TTrraannssffoorrmmaattiioonn
GGrraayy lleevveell ttrraannssffoorrmmaattiioonnss aarree aammoonngg tthhee ssiimmpplleesstt ooff aallll iimmaaggee eennhhaanncceemmeenntt tteecchhnniiqquueess.. PPlleeaassee rreeffeerr ttoo [[CChh..33,, GGoonnzzaalleezz,, RR..CC..,, WWooooddss,, RR..EE..,, DDiiggiittaall IImmaaggee PPrroocceessssiinngg,, 22eedd,, PPrreennttiiccee HHaallll,, 22000022]] ffoorr ddiissccuussssiioonn..
DDeefifinniittiioonn::
DDeennoottee tthhee vvaalluuee ooff ppiixxeell bbeeffoorree ttrraannssffoorrmmaattiioonn aass xx ,, ttrraannssffoorrmmaattiioonn ffuunnccttiioonn aass TT (( )) ,, vvaalluuee aafftteerr ttrraannssffoorrmmaattiioonn aass yy ,, ggrraayy lleevveell ttrraannssffoorrmmaattiioonn ttrraannssffeerr xx ttoo yy bbyy tthhee rreellaattiioonn yy ==
Figure imgf000015_0001
1.2.1 Power-Law Transformation
The basic form of power-law transformation is
y = T ^x = cxp In which c and p are usually taken to be positive values, but the possibilities of negative values are not ruled out.
It is also sometimes written as
y = ^ ( ) = c (x + <?y
where ε is an offset added to x . x would usually be normalized to [θ, l] , and ideally c ( + ε)Ρ would also map [θ, l] to [θ, l] , but in practice this does not need to be strictly observed.
To get an idea of how power law transformation applies to images captured during an IV process, refer to Fig. 1.2.1-1. The left-up corner shows an unprocessed image (21 means it is the 21st image in a sequence). Sobel, Prewitt and Laplacian gradient results are shown in the
2nd, 3rd and 4th columns. We applied power law transformation y = 5x4 and the result is in the 1st row, 5th column. The brighter part, which in the image is the drip due to light reflection, has been enhanced, and the background has been suppressed. This made it easier for following processing steps.
Note that before applying power-law transformation, we need to
1. Normalize pixels to [O, l] .
2. Apply transformation.
And convert to the original range (in our example we just truncate) in the last step.
Fig. 1.2.1-2 shows the ensemble result of power- law transformation with thresholding, erosion discussed in application US 12804163. The lower-left image show thresholding result, and the lower-right image is the result after erosion so that smaller parts are removed. From the lower-right image, the vertical location and height of the drip is extracted by finding the maximum connected components in the image, and would be stored into a vector. We could clearly see in the processing steps how the extracted information matches well with our visual interpretation.
Fig. 1.2.1-3 shows how dripping speed is measured from the drip height. The upper part shows the change of drip height extracted with y = 5x4 transformation for image
enhancement, from which we count 13 periods; the lower part shows its DFT transform, and the maximum non-DC component is at X=13, so that 13 periods can be determined. Fig. 1.2.1-4 shows how dripping speed is measured from the drip size. The upper part shows the change of drip size extracted with y = 5x4 transformation for image enhancement, from which we count 13 periods; the lower part shows its DFT transform, and the maximum non- DC component is at X=13, so that 13 periods can be determined.
We have also verified that using y = 5x4 in conjunction with Otsu thresholding, erosion and maximum connected component produces correct periodic drip height and size signal for all speeds I, II and III. From the resultant drip height and size signal DFT recognizes the correct period count.
1.2.2 Exponentiation Transformation
Common synonym: Inverse-log transformation
Yet another type of simple gray-level transformation is exponentiation transformation, which is also called inverse-log transformation since log and exponentiation are the inverse.
The basic form of exponentiation transformation is
Figure imgf000017_0001
Where a is positive and usually greater than one. c is also usually a positive number. x would usually normalized to [θ, l] , and ideally c - would also map [θ, l]to [θ, l] ,
Figure imgf000017_0002
but in practice this does not need to be strictly observed.
Refer to Fig. 1.2.1-1, in the 6th image of the 1st row we used exponentiation transformation y = 5 - ^ >x - 2^| , which show result different from power-law transformation and Sobel,
Prewitt and Laplacian gradient results. The contrast the image is stronger than other types of enhancements, and the brightest part location matches the location of the drip.
In Fig. 1.2.2-1, the upper-right image in each group-of-4 subfigure shows y = 5 · [3X — 2] result, and the lower-left its thresholding result, the lower-right the erosion result on which drip height and size is extracted using from maximum connected component. It is clearly that the results are accurate. Fig. 1.2.2-2 upper part is the drip height data over 180 samples, and the lower its DFT result. Its largest non-DC component is at X=13, indicating 13 periods; Fig. 1.2.2-3 upper part is the drip size data over 180 samples, and the lower its DFT result. Same period count as drip height signal is given by DFT.
It has been tested that gray-level y = 5 · (3X— 2) give correct periodic drip height signal when works in conjunction with Otsu threshold, erosion and maximum connected components for all speeds I, II and III. From the resultant drip height signal DFT gives the correct period count.
1.2.3 Piecewise-Linear Transformation Common synonym:
Piecewise-linear function transformation, as described in [§3.2.4, Gonzalez, R.C., Woods, R.E., - Digital Image Processing (2ed)], is a method complementary to other gray-level transformation techniques with the advantage that it can approximate arbitrarily complex function. All previous can be mimicked by using it. In hardware implementation, it is equivalent to what is normally called "look-up table".
We have already shown in power-law transformation that y = 5x4 worked. We use five linear segments to interpolate this function:
Figure imgf000018_0001
Table 1.2.3-1, end and intermediate points for linearly interpolating y Pixels values will first be normalized to [0,lj and then interpolated within the segment it is in.
The function graph is shown in Fig. 1.2.3-1 and results of sharpened images are shown in Fig. 1.2.3-2 for five images. Values outside [0, 1] are simply truncated before converting back to the original pixel range. In each image we also put the original y = 5x4 result with the interpolated result and we could see how closely they two matched.
Comparing with power-law, exponentiation and log transformation, piece-wise
transformation has the advantage that they can be implemented with look-up table which are quicker than calculation on-the-fly. It is therefore recommended as the actual implementation for these methods on products.
We have also verified that using the 5-segment piece-wise linear transformation y = 5x4 in conjunction with Otsu thresholding, erosion and maximum connected component produces correct periodic drip height and size signal for all speeds I, II and III. From the resultant drip height and size signal DFT gives the correct period count.
1.2.4 Histogram-based gray-level transformation
We also show that histogram information can be used for gray-level transformation. This class of techniques are commonly used and a detailed description can be found in [§3.3, Gonzalez, R.C., Woods, R.E., - Digital Image Processing, 2ed, Prentice Hall, 2002].
Because the detailed discrete implementation of histogram techniques can be found in numerous literatures (including the Gonzalez book cited above) and software packages, we only illustrate the principles using continuous function formulations.
First, discrete intensity values of a gray-level image may span an interval [0, L— 1] and the probability for each discrete intensity value is n N, where N is the total number of pixels and 7ij the number of pixels having intensity i.
The span [0, L— 1] might be normalized to [0, 1] and we denote the random variable corresponding to the normalized interval as r. For simplicity of discussion we assume the probability density function is continuous and strictly monotonically increasing so that its inverse always exists.
The probability density function is denoted as
Pr(r), 0 < r < 1
n function which is
Figure imgf000020_0001
There might exist another histogram having cumulative distribution function Zr(r) whose shape we wish the transformed image also have, and the way to achieve this is via the transformation
r→ T r) = Zr 1 (Cr(r))
and it could be proved that the transformed image would have a new histogram which exactly matches that of Zr r).
The process of matching/specification the histogram of an image to an arbitrarily assigned histogram is called histogram matching or histogram specification. When the target histogram is simply of a uniform distribution, it is called histogram equalization.
Equalization is unsuited when it is followed by thresholding algorithms using histogram information and an example is shown in Fig. 1.2.4-1. Thresholding algorithm making use of histogram generally tries to find "valleys" in the histogram whereas histogram equalization flattens the histogram and fills existing valleys. We see in Fig. 1.2.4-1 the thresholded result by Otsu's method is pretty bad.
However, it might also be possible that that it can be used in conjunction with some other algorithms or when the video/images have characteristics different from our examples. Nevertheless, histogram equalization can be subsumed as a special case under histogram matching, and we do not rule out the possibility of using it.
Fig. 1.2.4-2 shows histogram matching for several images in which the target is the Sobel gradient (horizontal + vertical) result of image 21 in speed II « 13 sequence. Decent results have been achieved and we could also see how close the histograms of the result match the target. We tested {drip height, drip size} χ {speed I, II, III} signal when they are extracted by histogram matching followed by Otsu thresholding, erosion and maximum connected component. The result was accurate for all of them in that DFT gives the correct period count.
We have therefore illustrated the application of histogram matching/specification (including equalization) in this disclosure. There might be other variants of histogram-based techniques or techniques using histogram as well as other information for image enhancement, but none could differ substantially from our disclosed methods here.
Summary on Gray-level Transformation
By combining this disclosure and application US 12804163, we have therefore convincingly demonstrated that image enhancement techniques can
1. Use the value of each pixel itself alone.
2. Use histogram matching/equalization techniques.
3. Use other types of spatial domain techniques, particularly various gradients, to
compute the new pixel value as a function of itself and its neighbor's values.
There are variations which has no substantial difference from what we have disclosed:
1. For power- law transformation y = = c(x + Y , p < l is also possible which gives a different value mapping than p > 1 . If the image captured by different image capturing devices and shooting environment has characteristics for which p < 1 is better suited, then clearly p < 1 can be used.
2. The inverse of exponentiation is the log transformation which is usually defined as y = c log (x + 1) , can also be used, for the same reason as (1) above.
We therefore conclude that Gray-level transformation as a general class of techniques, can be used in the processing steps of a video/image processing based IV monitoring system. No other techniques fall in this class could have any substantial difference with our disclosed methods.
1.3 Frequency-Domain Processing Frequency Domain techniques are frequently used in image processing. They work by first transforming the image into its frequency domain representation, apply processing techniques and inverse-transform the result into spatial domain.
Please refer to [Ch.4, Gonzalez, R.C., Woods, R.E., Digital Image Processing, 2ed, Prentice Hall, 2002] for discussion.
Definition:
Define an digital image as ¾) , 0 < a < - 1, 0 < b < N - I , and make periodic extension to coordinates outside [O, M - 1] x [O, N - 1] so that
P (a+kxM ,b+k2N) = P (a,b)
in which both k1 and k2 are integers.
Periodic extension enables us to define periodic convolution
( P * ' G(a,b)-(' )
Figure imgf000022_0001
This is important because only with periodic extension could we theoretically prove the important theorem:
Theorem I:
The 2D-DFT of the convolution of image P and G equals the product of their respective 2D- DFT. This is proved below:
Figure imgf000023_0001
(Μ-Ι,Ν-l) _/2*I 1-aα++.2* J-b
∑ e [μ Ν J(P*G) (a,b)
Figure imgf000023_0002
F(G)-F(P)
P*G = F 1(F(P*G)) = F 1(F(G)-F(P))
In practice the size of commonly used spatial domain filters are usually small. For example, the standard Sobel, Prewitt and Laplacian gradients used in application US 12804163 are only of dimension 3x3. Therefore, whether we use periodic extension of digital images and consequently in convolution definition would only affect pixels at the very margin, of which we seldom have big interests in.
The above theorem means that the effect of each spatial domain filter using the periodic extension definition can be achieved via frequency domain multiplication.
The process of doing Sobel vertical filtering in frequency is shown in Fig.1.3-1: 1. Take DFT of the original image. Shown in Fig. 1.3-1 lower left is the shifted version which moved coordinate [θ, 0] to center, which is a convention in the field.
2. Spatial domain filters are typically arranged in (2 + l) x (2 + l) matrix and the weight corresponding to each image pixel itself is at the center (k + 1, k + 1) . In spatial domain filtering it will be directly "masked" on the original image, multiply with underlying pixel and take the sum; However, since only convolution has a direct frequency-domain counterpart but not masking, we need to change it to equivalent convolution first:
I. Swap pixels of the original spatial domain filter first upside-down, and then left side-right, or equivalently, symmetric about center k + 1, k + 1) . This is shown in Fig. 1.3-2. Note that in Fig. 1.3-2 left side-right swap has no effect since vertical Sobel gradient is already horizontally symmetric. II. Create a new image of the same dimension as the original image, assign all pixels value zero, then shift (I) result so that center k + 1, k + 1) is moved to the origin. For pixels that fall out of the boundary after shifting, mark their location and value and use periodic extension in III below.
III. Use periodic extension as defined above to set pixels within the valid image region.
IV. Take (III)'s DFT.
3. Multiply (2.IV) result with Γ s result.
4. Convert (3) result to spatial domain by taking its inverse Fourier transform.
Note that if we compare Fig. 1.3- 1 's 3rd and 4th image on the 1st row, we would clearly see the effect of periodic extension on the upper and lower boundaries of the original image. Since this effect happens only at the boundaries, in most cases they can simply be dropped by setting boundary pixel values either to an arbitrary value such as 0, or a value derived from value of its neighboring pixels.
Please also note that due to the large range of DFT transformation, the 2nd row of Fig. 1.3-1 are shown by first add a constant (10) to DFT's absolute value and then take the logarithmic scale. This is also standard practice in the field. Since each logarithmic image have a different range, the gray levels in different images should not be compared with other. We have now established that each spatial domain filter can be achieved via frequency domain filter. In practice, we don't need to compute the DFT image of the filter each time when it is used, but can simply do that once and store the result for future uses.
We might also use filters directly designed in the frequency domain and this is also basic knowledge in the field. We show an example of using a high pass filter to enhance the image.
Figure imgf000025_0001
A total number of 3 x 3—9 frequency domain coefficients will be removed. An example of its effect is shown in Fig. 1.3-3. Note that in image titles we might use shorthand (x, y) to denote the yth subfigure in the xth row.
The 2nd image in the 1st row shows logarithmic scale 2D DFT of the original image. The filtered and shifted spectrum is shown in the 3rd image, which clearly has a dark/empty center due t the filter effect. The reconstructed image is shown in the 4th image but rather dark and the scaled display is in 5th image of the 1st row, showing how contrast has been enhanced.
Various thresholding methods such as Otsu and iterative method still threshold the image nicely, so is constant value thresholding with a proper constant value (35 here, see Fig. 1.3-3).
The result on another image (31th in the sequence) is shown in Fig. 1.3-4 and we clearly see that in this image following methods {Otsu, iterative method and constant thresholding with threshold value 35} also recognize the correct size and location of the drip.
We test and found that using frequency-domain equivalent of Sobel gradient filtering works for dripping speed of speed I ~ 5.3 periods, speed II ~ 13 periods, speed III ~ 23 periods video monitoring data, and can be used along with other methods to extract both drip height and drip size signal.
We have also verified that using the 3x3 high-pass frequency domain filter in conjunction with Otsu thresholding, erosion and maximum connected component produces correct periodic drip height and size signal for all speeds I, II and III. From the resultant drip height and size signal DFT recognizes the correct period count. Please refer to Fig. 1.3-5 for the speed II drip height and size signal obtained by frequency- domain high-pass filtering followed by Otsu' thresholding, erosion and maximum connected component.
We have therefore shown that
1. Spatial domain filtering can be achieved in frequency domain.
2. Filters designed purely in the frequency domain can also be used to enhance the image.
The demonstration on the applicability of frequency domain techniques is therefore complete. Depending on the video and other factors, of course filters different than what we have using can be applied, but none of these constitute any substantial difference.
1.4 Wavelet methods
We demonstrate the image enhancement can also be achieved using wavelet transform. The basic idea of wavelet transformation is multi-resolution. In 1 -D case, at each level it computes a set of approximation coefficients and a set of differentiation coefficients; in 2-D case, the same idea of approximation and differentiation are still used.
We illustrate the usage with the simplest wavelet: the Haar wavelet. For an image of dimension 2M x 2N , after each level of transformation and down-sampling, the new size would become ¼ of the original, namely M x N . The information of each 2 x 2 block in the original image would be now contained in four coefficients, shown below:
a + b + c + d
2 c average
a + b - c - d
2 r
horizontal
a + c - b - d
-2 cM
a + d - b - c
2 ^diagonal
Observe the chorizontal is essentially a vertical gradient taking at two upper and two lower pixels together, and cvertical is essentially a horizontal gradient taking two left and two right pixels together, this similarity then suggest that they can be used in place of ordinary spatial domain gradients.
In example of Fig. 1.4-1, in each figure the 2nd image on the upper row is the addition the absolute value off chorizontal andcvertical , namely
\ Ic horizontal \ | ~ ~ \ |c vertical |
They looks weak due if we compare them to Sobel gradient results, this is due to the 1/2 coefficient which is much smaller than Sobel gradient coefficients. The 3rd in the 1st row of each group show the same result displayed scaled to its range (min→0, max→255). However, following processing such as thresholding are still based on the original wavelet gradient results.
We see that the brightness at drip region has obvious been enhanced, despite some apparent noises. The 1st and 2nd image in the 2nd row in each figure show Otsu thresholding and erosion results and the 3rd image is the threshold given by iterative method (see § 1.5.1), and drip size/height will from here be extracted using maximum connected components.
Though the change of drip height and size shown in the 2nd image of the 2nd row of each subfigure is not as obvious as extracted with methods in previous sections and application US 12804163, for the illustrational speed II « 13 periods video, the periodicity in result can still be seen from Fig. 1.4-2. DFT determines the correct 13 periods' count for both drip height and size signal.
Figure imgf000027_0001
Table 1.4- 1 , a tick / means the wavelet gradient result followed by Otsu thresholding, erosion and maximum component is accurate in that DFT gives the correct period count.
We have therefore demonstrated the use of wavelet transformation in the image processing step of our application. There are numerous different types of wavelets with different length and values, but none differs substantially from our example here. 1.5 Thresholding
Thresholding is one of the most basic image processing techniques. In application US 12804163 we show that Otsu's method can be used to automatically detect threshold level. In this disclosure we are going to show other methods also work.
1.5.1 Iterative method
Common synonym:
Iterative method finds a thresholding level L in an iterative process. Its implementation is simple, requiring no specific knowledge of the image and is robust against noise.
Procedure:
1. Choose an initial value forL , for example, the average value of the image. Other reasonable values can also be chosen or even generated randomly.
2. Divide the pixels into two sets:
\ P, : P,; > l- \
3. Compute means of two sets
ml = mean(5'1)
m2 = mean (S2 )
4. Generate new thresholding level guess
m, + mn
L new =— 2
5. If Lnew equals L , then set L = Lnew , exit;
Otherwise, still setZ, = Lnew , then jump to step 2.
Please not that if integer precision is used for , then the equality might need to be adjusted to testing if the difference is smaller than a certain value, say, 1.
Experiment results on three images in the sequence of speed II « 13 periods video in Fig. 1.5.1-1 show that the method gives almost the same result as Otsu's methods on all images. Image are processed with Sobel vertical + horizontal thresholding first. Frame Number. Otsu's Iterative method
30 98 99
33 89 89
37 88 85
40 30 32
44 86 91
Table 1.5.1-1, Compare Iterative method and Otsu's method
We have verified that the results produced by Iterative method after Sobel gradient, then followed by erosion and maximum connected component, gives drip height and size signal from which period count be correctly obtained by DFT for speed I, II and III video. The results for speed II « 13 periods are shown in Fig. 1.5.1-2.
Otsu's method is representative of the class of thresholding algorithms that uses histogram information; with iterative method, we have shown that automatic thresholding can also be done without explicitly using histogram information.
1.5.2 Arbitrary /constant threshold level, Manually-assigned threshold level
Common synonym:
We may also use a fixed thresholding level rather than using any automatic algorithms. In experiments shown in Fig. 1.5.2-1, a constant, manually assigned level of 91 is used. It is close in most images of the sequence to Otsu and Iterative method result expect for in image 40.
The following table shows that except for a few images, the constant threshold value matches Otsu and iterative method result very well. Differences in a few images do not change the overall periods count. We have verified that the results produced by constant 91 threshold after Sobel gradient, then followed by erosion and maximum connected component, gives drip height and size signal from which period count be corrected obtained by DFT for speed I, II and III video. The results for speed II « 13 periods are shown in Fig. 1.5.2-2. 1 Image No. Otsu Iterative method Constant
30 98 99 91
33 89 89 91
37 88 85 91
40 30 32
44 86 91 91
Table 1.5.2-1 Compare constant level threshold with Otsu and Iterative method
In real implementation, we have control over illumination, reflection, camera exposure time as well as other techniques. Since on a built device these parameters are all fixed, it would reasonable to expect that we could always find a constant thresholding level that work for the application well.
1.5.3 Mean/Median or other simple thresholding method
Common synonym:
In Fig. 1.5.3-1 mean and median of image pixels as thresholding value are compared with Otsu threshold in each quadrant, also followed by erosion and maximum connected component. Although visually they do no convey very good information on the size and location of the drip, the final signal extracted after erosion and maximum connected component, have been found:
1. For mean threshold, drip height of speed I, II and III all give correct period count via DFT. The result for speed II is shown in Fig. 1.5.3-2.
2. For median threshold, only drip size of speed I « 13 periods, not others, give correct period count via DFT. The result for speed I is shown in Fig. 1.5.3-3.
The shortcoming of mean and median thresholding is that they are sensitive to noise.
However, as we have shown in application US 12804163, even the average value of the raw image without any preprocessing exhibit periodicity that enables correct period count, as long as signal generated through mean or median thresholding step preserves the same periodicity of the original signal, it could then be used to as a possible choice. Moreover, whether or not a method works depends on the characteristics of the dataset. With better shooting devices, environment, parameters setting and other improvement, the noise in image could be drastically reduced, and it is would be reasonable to expect mean or median thresholding would work for the dataset.
Summary on thresholding
As one of the most basic operations in image processing, there are many different ways to do thresholding.
If we classify them into two broad classes:
(1) In the class of non-automatic thresholding methods, we have shown that constant or manually determined threshold value could work.
(2) In the class of automatic thresholding methods,
a. For histogram based methods, we have demonstrated that Otsu's method could work. It would be reasonable to expect that other methods also work. b. For non-histogram based methods, we have shown that iterative method could work, and
i. Even methods as simple as mean and median of the image could work depending on the quality of signal.
Although we haven't exhaust all methods, all other methods could be classified in to {(1), (2). a, (2).b, (2).b.i} classes, and in each class we have shown example(s). All other methods would not have significant differences from ours.
2. Frequency Estimation
In my previous application US 12804163, 1 have shown the degree of liberty in the choice of measurements for obtaining a periodic signal. This disclosure will show the degree of liberty in the choice of algorithms for frequency estimation.
Depending on the technical field, the term "frequency estimation" has many synonyms. "Spectral/spectrum" can be used in place of "frequency", and "analysis/detection" are also used in many occasions instead of "estimation". Terms like "period/periodicity" as well as "count" are also commonly used. It is believed that the choice of terms, if appears to be different from I am using in this disclosure, would not render the claims of this application inapplicable since it is the underlying methods that precisely defining the scope of protection, rather than the particular choice made on the naming of the methods.
In application US 12804163 I used Discrete Fourier Transform (DFT) to count the number of periods for the forming/falling process of IV drips. Experiments results were given for a wide range of dripping speeds and three different types of periodic signal measurements (drip height, drip size, and average gray level of a certain region in the image), and DFT gave accurate period counts for all of them. We have demonstrated, by an experiment with drip size as the periodic signal, that even when direct eye inspection on the signal had difficulty in ascertaining the exact period count, the DFT would still give the correct counting number same as what have been observed from the dripping process itself. The accuracy as proved by the experiments shown in that disclosure, together with its theoretical soundness and simplicity of implementation, made it an ideal choice as the frequency estimation method for video/image based IV monitoring.
There are, however, still reasons to give alternative methods to DFT in this problem. One is because that DFT itself still admits improvement. Since DFT computes only on discrete values at a>fe = k if the actual periods of dripping is a fractional number during a certain time interval T, the fractional part would got lost and the result would be one of the two integers closest to the fractional value. This is essentially a problem of "resolution" in frequency estimation terminology. This could be addressed by variety of methods shown later, and would contribute to faster convergence with the IV dripping speed controlling mechanism.
Another reason would be to ensure complete and full-scope protection for this invention. Spectral estimation as an established discipline has already a history of over one hundred years ([Preface, page XV, Stoica, Petre & Moses, Randolph L. - Spectral Analysis of Signals] and [Marple, L. Digital Spectral Analysis with Applications] ). The idea of Fourier transform, discrete and continuous, can be regarded as the ancestor of a great number of descendants. These later-invented methods have their origins in specifics applications which cannot be addressed satisfactorily by previous methods. For example, the Multiple Emitter Location and Signal Parameter Estimation (MUSIC) method was originally used to determine parameters of multiple wavefronts arriving at an antenna array from measurements made on the signals received at the array elements [Schmidt 1986]. Each method has its specific theoretical assumptions on the characteristics of signal and noise and one might not work for the scenario of another; it is only because that the quality of signal supplied by our video/image processing algorithms are exceedingly or sufficiently well that many of them can find applicability with the signal, not that they are really offering improvement or shedding new lights on the problem. Nonetheless, since legal definitions tend to be construed literally, the inventor would try his best to include as broader and exhaustive as possible alternatives that can be used to achieve the same goal. It is for this purpose a comprehensive list of frequency estimation methods is provided.
2.1 Suitability criterion
We are using the same set of data for consistency so that differences between algorithms can be easily compared. However, our three types of data decreases in quality:
Quality(drip height) > Quality(drip size) > Quality(region's average gray level) if QualityO assigns a numerical value with higher one represents a higher signal quality. For drip height signal which is the best among the three types, all the methods below give correct estimation from it; for regions' average gray level, some methods might not apply; the case of drip size is between the two extremes.
However, as we have repeatedly stressed in application US 12804163, any periodic measurement can be used. It is self-evident that drip height is a better periodic signal comparing with region's average gray level, but the fact that region's average gray level might not pass the test of some of the algorithms listed below is primarily due to the way we were extracting the signal. As we have described in application US 12804163, video/image processing is done in a very small video window near the drip chamber's mouth where drips are forming and starting to fall. In fact, as can be found out from Fig. 2E to Fig. 3D in application US 12804163, the window size is smaller than 20(width)x50(height), fewer than 1000 pixels. The purpose of choosing such a small window is to enable accurate and low-cost solution. On the other hand, the mathematical algorithms themselves poses no restriction on the size of the window, and real implementations can in fact use higher resolution cameras and higher frame rates (>15), which would be the 1st support for region's average gray level as a valid signal. The choice of signal as the average gray level of a particular region is actually reminiscent of the systems using infrared ray for dripping detection in which a pulse is generated each time the falling drip obstructs the ray path between the sender and receiver, this gives the 2nd for its validity; the 3rd support of its validity comes from Fig. 41 and Fig. 4J of application US 12804163, in which for (II: 12 to 13 drips) data DFT gave the correct estimation from region's average gray level signal.
Based on these three points, we could confidently declare that region's average gray level is also a valid signal for frequency detection; but to use it in a frequency detection algorithm, image resolution, frame rate as well as other parameters might need to be accordingly adjusted. Therefore, if one ever reads in following examples the region's average gray level didn't pass a particular algorithm's test, or I have not listed them with a particular algorithm, it is only true for my particular dataset listed within this disclosure. If I adjust camera shooting environments, parameters and video/image processing algorithms to provide good average gray level data that suits different algorithms, the consistency of data among this disclosure and between this and application US 12804163 would be lost. For each particular algorithm, adjusted environment, shooting parameters and video/image processing algorithms could still provide average gray level data good enough for it.
The same reasoning also extends to my drip size signal listed in this disclosure, which doesn't have as high the guarantee of drip height signal to pass all frequency estimation algorithms' test. It is however can be used with each particular algorithm provided that environments, shooting parameters and video/image processing algorithms are adjusted accordingly.
The reader should also note that different frequency estimation methods can be used in combination to complement each other. One enlightening example would be using DFT along with AMDF (Average Magnitude Differential Function), which would be discussed in
[§2.2.2.4 Hybrid Algorithm (I)]. As a method with sound mathematical basis and confirmed by experiments in application US 12804163, DFT gives accurate period count at the resolution of integer level. Several other algorithms, for AMDF, have the ability to actually count period length which would enable determining fractional period counts. With some types of data whose quality is not good enough (defined shortly after below by
Suitability (S, E)), it is possible that AMDF recognizes incorrect period length because it finds local minima at incorrect location. As a remedy to this, DFT could be applied first to find the number of integer periods P, and by a division NI P get the period length estimation from the DFT result, which would be close to the actual period length. We would use NI P as a ballpark estimate, and employ AMDF to locate finer the actual period length around NI P . This would be demonstrated in the section of AMDF, and would be mentioned repeatedly if other algorithms can be combined with DFT, or other groups of algorithms not including DFT can be combined to achieve better result than using a single algorithm alone. There are no less than ten algorithms for frequency estimation that we would discuss in this disclosure. The combination of two algorithms would have Ne algorithm algorithm > 102 = 100 types, and it is also possible to combine more together. It is therefore unnecessary and impossible to list all combinations.
It would be helpful at this point to give a formal definition of Suitability, which is a relation between a particular algorithm and a particular dataset:
Suitability: For a particular dataset S of length N, a frequency estimator E(), and the true number of periods P as being observed by a visually -unimpaired human,
Figure imgf000035_0001
ε(Ν) can be a constant smaller number independent of N, such as 0.5 or 1 ; Or it can be a monotonically increasing function of N. Intuitively, if you have only a signal of length 10, an error of 1 period is of course intolerable; but if you have a signal of length 1000, the same error would certainly be within the margin.
Expressing our discussion above with this new function concisely:
Suitability (Smy example signal' E)— 0 SuitabiUty( y0ur improved signal < E)— 0 And what really determines is the quality of S as well as the ε(Ν) one chooses.
2.2 Nonparametric methods
Definition:
By non-parametric methods, we mean that no knowledge of the actual physical model that is generating the signal (and the noise) is assumed, and no attempt will be made to estimate the parameters of the model. The frequency will be estimated directly from the signal itself. 2.2.1 Naive Methods
Those methods basically work directly in the time domain without doing any transformation (in a very general sense, not restricted to time- frequency domain transformation), looking in the signal curve for visual cues of periodicity and mimics the eye inspection by an automated procedure.
2.2.1.1 Crossing
Common synonym: zero crossing, zero value detection, thresholding
If a signal is assumed to be quasi-periodic, it would generally swing between high and low points during a period. Its action of crossing a certain intermediate level value can therefore be used to detect is periodicity.
There can be some variations on the concrete implementation:
(1) Detect rising edges
a) Must > crossing level
b) Must > crossing level
(2) Detect falling edges
a) Must < crossing level
b) Must < crossing level
We see in Fig. 2.2.1.1-1 that for drip height data of speed II « 13 periods, this method gives exact counting. The threshold is chosen to be 13 pixels of height, which should not be confused with period counts although the two values coincide. For speed II «5.3 periods, a small spike at nbase i=146 results in an incorrect period count; for speed III «23 periods a "splitting peak" near nbase i=80 also added an incorrect count. In addition, for speed III «23 periods, at nbaSe i=50, 51 whether the period which should be counted is correct depends on the chose between a), b) in (1), only if b) is chosen would the count be exact.
The threshold of 13 was not automatically computed, but manually picked. One can of course contrive some ad-hoc algorithms to find it manually, but such algorithms can easily be invalidated by intentionally constructed counterexamples. With other choices of threshold, incorrect counts are still present. A simple method might be used to alleviate the problem. For example, the indexes of all crossing points might be stored in an array, and use another scan through the array to find indexes that are obviously "too close" to its predecessor or successor. This might be formally described as: ε = 0.5;
Index _ record = 0;
for i = 2 to N
if (5* [i - 1] < threshold & & S [i] > threshold ) then
Index _ record. add (i);
end
end sum = 0;
for i = 2 to Index _ record .length
sum = sum + Index _ record [i] - Index _ record [i - l] ,' end
mean = sum I [index _ record length - 1) ; for i = 2 to Index _ record length
if index _ record [i ] - Index _ record [i - 1]) < ε mean then
Index _ record .remove(i);
end
end return Index _ record .length mean is the average distance between successive indices of "crossing" points, and if two successive indices is closer than ε · mean it means one of them might correspond to a small spike or a splitting peak, ε as 0.5 has been tested as an appropriate value for the drip height signal of speed I, II and III.
2.2.1.2 Maxima/Minima
Common synonym: (signal) derivative, (local) maximum/minimum Another method is to find local maxima/minima. This works well for ideal signals like pure sinusoids. For the data drip height data we collected, it is found that restrictions must be made so that not all maxima/minima can be selected, and adjacent maxima/minima that are "too close" have to be abandoned.
The following pseudo code has been tested to correctly recognize maxima for speed II « 13 periods drip height data.
& = 0.3;
Threshold = 12;
Index _ record = 0;
for i = 2 to N
if (S [i - 1]≤ S [i] & & S [i] > S [i + 1] & & S [i] > Threshold) then
Index _ record. add (i);
end
end sum = 0;
for i = 2 to Index _ record .length
sum = sum + Index _ record [i] - Index _ record [i - 1] ;
end
mean = sum I index _ record .length - 1) ; for i = 2 to Index _ record length
if index _ record [i - Index _ record [i - 1]) < £ mean then Index _ record .remove(i);
end
end return Index _ record .length
The reason that we need to compare S [ ] with Threshold is for removing maxima at low heights and the use of ε · mean is for removing close indices corresponding to small spikes or splitting peaks. The result of recognizing maxima with speed II « 13 periods, drip height data is shown in Fig. 2.2.1.2-1. Small circles mark the recognized maxima. The cross in the figure indicate that the maxima at nbase i=88 have been drop since it's to close the local peak at nbase i=86, therefore have been abandoned due to the ε mean criterion.
Expect for signals for exceptionally well quality, difficulties might always exist to find ε and Threshold that work for all speeds and all types of periodic signals (drip height, drip size, region's average gray level, etc.).
2.2.2 Time Domain Statistical Methods
We will show three methods for period estimation using statistical methods directly in the time domain. These methods have strong abilities in detecting the periodicity of signals that are corrupted, or even buried in noises.
2.2.2.1 Auto-correlation Common synonym:
The unbiased auto-correlation of a real sequence S is defined as
Figure imgf000039_0001
It also has a biased version
Figure imgf000039_0002
in which we put an overline on top of R for differentiation. In the following we discuss only unbiased version, while in practice the biased version can also be used.
This derived sequence Rxx S, m) from S will exhibit the same (since S is not a pure periodic sequence, "same" should not be interpreted as in the ideal case) periodicity as S.
When |m| becomes closer to N , N— would become small, and the average would
N— the corresponding N— values would not be an accurate estimation. This could be seen in Fig. 2.2.2.1-1 and Fig. 2.2.2.1-3. Therefore, in practice we usually examine only smaller 's.
In addition, for real S , Rxx (S, m) is symmetric about 0,
Rxx(S, m) = Rxx(S, -m)
it is therefore suffice only to compute for positive m 's.
In our application, we could choose m to ensure at least three periods can be covered in m video frames, this is of course depends on the frame rate of the image capturing device and the dripping speed.
The determination of periods is done by counting the distance between RXX(S, 0) and the next local maxima. It can be mathematically proved, but is also intuitive clear that + kTE ] S [ft] would attain local maxima, in which TE denote the estimate of
Figure imgf000040_0001
period T and k is an integer.
For drip height data of speed I «5.3 periods, we could find that the next peak after R^ (S, 0) would be when m = 34 . Fig. 2.2.2.1- 1 is symmetrically plotted around N , so we have Rxx (S, 0) locating at n = 180 , and Rxx (5, 34) locating at n = 214 .
We immediately recognize an advantage of this method over DFT which was used in application US 12804163. Since DFT takes only discrete values, this limitation on resolution made it unable to find the actual fractional period count between 5 and 6. Auto-correlation, however, gives us the more exact actual period length estimate. To determine the number of periods,
periods = 180 / 34 = 5.29412
This is not only more accurate than DFT, but even more accurate than can be achieved by a very attentive human observer, since it is also difficult for us to estimate the fractional periods via eye inspection.
The ability of giving fractional period count, when integrated into the IV monitoring and control system (see application US 13019698), has an important advantage:
Example:
If the resolution is limited to integer periods, then if a doctor prescribes a dripping speed of 62 drips/min, it would correspond to 6.2 drips in 6 seconds. A monitoring and controlling device that is capable of only recognizing integer periods cannot determine whether the speed has reached 6.2 drips or not after monitoring for a 6- second period but can only know, after repeated adjusting and monitoring, that the speed is now in the range of [6, 7] . To approximate the speed as close as possible, it has to extend the observing period to much longer, in this case at least 30 seconds, since 62 has only two divisors smaller than itself: 2 and 31. Even if at 30 seconds it observed a drip count of 31 drips, the actual speed would still be between
(30, 32)3Q sec = (60, 64)60 sec . To get a precise speed control, it has to extend the observing interval from short to long until 1 minute or even longer. A device capable of fractional count doesn't suffer from this at all, and each observing period can be made as short as possible.
In clinical practice nurses rarely wait one minute or more in adjusting and observing infusion speed. If the device converges too slowly, it would inconvenient to both nurse and patient. It would also take longer to converge again if conditions have changed such as the patient raised his/her hand.
I emphasize that this is one of the most important improvement over DFT period counting in application US 12804163. The inventor has confirmed by experimented with an embodiment that using algorithms giving fractional period count result in much quicker convergence speed. Note:
"Converge" is a mathematical term and its use here is to mean that after repeated adjust- monitor feedback loop, the actual speed of drip finally falls into the tolerance range of the prescribed value.
It is therefore recommended here as one of the recommended methods in real implementation.
Fig. 2.2.2.1-3 and Fig. 2.2.2.1-4 show auto-correlation also works for drip size signal for speed I, II and III.
Figure imgf000042_0002
Table 2.2.2.1-1, Compare drip height and drip size results for Auto-correlation period estimation
If we compare auto-variance result for different data sizes {drip height, drip size}, we would find that drip height is clearly a better signal for period estimation. Drip size signal might result in a period length error of 1. However, if signal quality can be improved as well as other adjustments can be made, such as increasing the frame rate, there is a very high change that the difference can be eliminated.
2.2.2.2 A to-covariance
Common synonym:
The biased auto-covariance of a real sequence S is defined as
Figure imgf000042_0001
and use an overline on top of V for differentiation with the unbiased version. In the following we discuss only unbiased version, but in practice biased version can also be used.
The unbiased auto-covariance of a real sequence S is defined as
Figure imgf000043_0001
1 N
in which we note that—∑^ S [z ] are actually the mean of S [«] . Vxx (m) is in fact the auto-
N i=l
correlation of the mean-removed sequence,
1 N
νχχ(^^) = χχ(Ξ - μ5, ηι), s =—∑S[i]
i=l
Vxx(S, m) is also symmetric about 0: V„(S,m) = V„(S -m) it is therefore suffice only to compute for positive m 's.
Just as ior Rxx(S, m) , we could choose mto ensure at least three periods can be covered in m video frames, this, however, depends on the frame rate of the image capturing device and the dripping speed.
The determination of periods is done by counting the distance between VXX(S, 0) and the next local maxima. Like ior Rxx(S,m) , V^S^T^ would attain local maxima, in which TE denote the estimate of period T and k is an integer.
The ability of being able to detect actual period length, hence being able to calculate fractional period count is also possessed by auto-covariance.
Our experiment has shown that auto-covariance has the ability to detect periods for both drip height and drip size signal. These results are shown in Fig. 2.2.2.2-1 to Fig. 2.2.2.2-4. Auto-covariance drip height drip size
speed I «5.3 periods 35 35 speed II « 13 periods 14 15 speed III «23 periods 8 8
Table 2.2.2.2-1, Compare drip height and drip size result for Auto-covariance period estimation
Like auto-correlation, auto-covariance is also one of the recommended methods in actual implementation.
2.2.2.3 Average Magnitude Differential Function (AMDF)
Common synonym: Comb-filter, Optimum Comb Method
The Biased Average Magnitude Differential Function (AMDF) of a real sequence S is defined as
Figure imgf000044_0001
in which we use an overline on top of D for differentiation with the unbiased version. In the following we discuss only unbiased version, but in practice biased version can also be used.
The Unbiased Average Magnitude Differential Function (AMDF) of a real sequence S is defined as
Dxx {S, m) , m > 0
Figure imgf000044_0002
It is only defined for m > 0 because of symmetry about 0. k can be chosen to be any positive value, but integers like 1 , 2 are commonly used. And a property is that
Figure imgf000045_0001
Please refer to [M. J. Ross, H. L. Shaffer, A. Cohen, R. Freudberg and H. J. Manley, "Average Magnitude Difference Function Pitch Extractor," IEEE Trans, on Acoustics, Speech and Signal Processing, vol. 22, no. 5, pp. 353-362, 1974] for its mathematical discussion.
If we compare the equation of AMDF and with the equation Rxx (iS, m of autocorrelation, it is immediately recognized atDxx (iS, m) is actually a complement oiRxx (S, m^ . Rxx (iS*, m) takes summation over multiplications of shifted pairs, whereas Dxx (iS, m takes summation over differences of shifted pairs plus a power k . For Rxx (iS, m local maxima are attained when m = kTE , in which TE denote the estimate of period T and k is an integer; for
(iS, it would conversely be that local minima are attained when m = kTE .
Our experiments (without * in the column heads) have shown that AMDF works drip height and region's average gray level of all speeds I, II and III.
Figure imgf000045_0002
Table 2.2.2.3-1 Compare drip height and drip size result for AMDF period estimation
Please refer to Fig. 2.2.2.3- 1 - Fig. 2.2.2.3-7. The axes bases in starts at 1 for the 1st data in the array, so that the actual period length is X- 1. Experiments for biased version of AMDF are not shown for the simple reason that each value can be obtained by multiplying the corresponding unbiased AMDF term with ( N— m) l N At gives correct result for drip's height and region's average gray level data. For drip size data its result subject to the same problem as the biased version such for speed I ~ 5.3 periods signal, and can be corrected in the same way as shown in the next section.
In the next section we are going to show that AMDF could also work for drip size signal.
* means used with DFT or other algorithms
2.2.2 A Hybrid Algorithm (I)*
We note that for AMDF, its recognition ability seems worse than auto-correlation and auto- covariance in that it seems having failed to detect drip size signal periods correctly. But the nice shape of drip height signal's AMDF curve seems actually recommending itself for signals of even worse quality, as it already worked for region's average gray level signal. So where has it failed for drip size signal?
A close examination would show that (see Fig. 2.2.2.3- 1 to Fig. 2.2.2.3-7):
1. For drip size signal of speed II « 13 periods and speed III « 23, the detection was correct.
2. For drip size signal of speed II « 5.3 periods, it was due to the existence of a small local minimum at m = 20 (X=21) that caused the wrong period length detection. It is obviously not a deep value as at m = 35 (X=36), but still deceived the program to treat it at a minimum cause by m = kTE .
It can easily be solved by a number of remedies:
1. Restrict the search of local minima to small AMDF value D(S, m) . To implement this formally, one might set a threshold TH such that only D(S, m) < TH would be checked for local minima. TH could also be solved a function of signal sequence S , or preferably sequence D(S, m), m e 1, N - 1 . For example, find the average of local minima, and require D(S, m) < s -Dmaxima (S, m) , in which the overline denote average operation and ε would be a constant value, say, 1.5. However, it is not easy to found ε or other functions to determine TH with a sound theoretical basis.
2. But there is an easy solution: DFT + AMDF. The idea is very simple:
a) DFT has only integer resolution, but very accurate;
b) AMDF give exact period count, but might detect wrong local minima.
We therefore combine the two algorithms. Since DFT recognizes 5 periods and has only integer resolution, the actual period length
7 e [30, 45]
Figure imgf000047_0001
If we search in this interval for speed II ~ 5.3 periods' AMDF result, we clearly avoidedm = 20 (X=21), and would only get m=35 (X=36) since 35 c [30, 5]. In this way, we get the best of both.
The idea of using a coarse resolution followed by a finer resolution can be found in a whole array of applications, for example in the numerical solution to differential or polynomial equations, where it is called "successive approximation". The essential ideas are the same.
The purpose of this section, titled "Hybrid Algorithm (I)*", if for demonstrating that judicious combination of algorithms, based on the understanding of their strengths and weaknesses, can achieve better result than individually applied alone. As we have discussed in the beginning of §2. Frequency Estimation, no less than 10 algorithms for frequency will be described in this disclosure, and their combinations of 2, 3, and more, are numerous. We declare that the principle of hybrid algorithms/algorithm combination is also disclosed here for the video/image-based IV monitoring application, and the required protection would be made clear in the claims.
2.2.3 Fourier and Fourier-related methods
Fourier transform has a vast number of variations and derivatives and it's impossible to exhaust. A clear distinction between Fourier- family methods and previous methods is that it whereas previous methods uses time domain signal directly, Fourier methods would estimates its constituent components at different frequencies, e1' can take either discrete or continuous 6 . We have already presented methods using the discrete Fourier transform in application US 12804163, and in this disclosure we are going to describe its continuous counterparts.
2.2.3.1 Periodogram and Discrete-time Fourier Transform
Common synonym: DTFT: discrete -time Fourier transform The periodogram of a real sequence S is defined as
Figure imgf000048_0001
Please refer to [Stoica, P., and R.L. Moses, Introduction to Spectral Analysis, Prentice-Hall, 1997, pp. 24-26] for this definition.
The discrete -time Fourier transform (DTFT) of a real sequence S is defined as
D(c ) =∑S [n] e jom
which has the inverse transform Γ D{o )e}m - do
Periodogram and DTFT are related by
Figure imgf000048_0002
Which means periodogram is simply the square of DTFT' s magnitude divided by N . Both of them can be used to estimate signal frequency for our application. And advantage of periodogram and DTFT over DFT is that they estimate fractional frequency. This is also achievable by auto-correlation, auto-covariance and AMDF as well as many other algorithms described afterwards, but with different principle. In clinical application this would result in quick convergence speed which is an important improvement over DFT speed counting. Please refer to [§2.2.2.1 auto-correlation] for discussion.
Note that in calculating periodogram and DTFT, it is recommended that the mean-removed version of the signal is used. This is because
concentrate at discrete coefficients
Figure imgf000049_0001
S [n] continuous distribution
2π -
In other textbooks and literatures,— might appear in the analysis equation of DFT and
N absent in the synthesis equation. There are also other conventions such as using both
Figure imgf000049_0002
analysis and synthesis equation. Please refer to [Ch.8, Oppenheim & Schafer, Discrete-Time Signal Processing (2ed)] for derivations.
In the discrete case, S
Figure imgf000049_0003
is decomposed to exactly n complex exponentials with
2TT 2TT 2TT
ω = 0, 1, 2, ... (N - 1) , whereas DTFT (and periodogram) is evaluated over the
N N N
entire continuum of [— π,
Figure imgf000049_0004
. For many signals a large portion of its energy is at the DC
N
component, so that c0 = ->[«] in DFT could be larger than many other coefficients, yet we
«=1
can simply exclude c0 from coefficient magnitude comparison. For DTFT (and periodogram) the DC energy of the signal will be distributed over a band of low frequency centered at 0, so excluding 0 along would still leave many ω values with small Aco increments, and
D((o) and Ρ{ω) at these ώ1 ' s could be larger than D co) and Ρ{ω) at higher co s which corresponding to the AC components of the signal, and would therefore cause problem if we compare D(co) or P(co) magnitude to estimate the signal frequency. The simplest solution is to remove the signal's mean.
Continuum can only be approximated, so we finely divide each into m pieces of ,
N m - N m can be arbitrarily picked. In Fig. 2.2.3.1 - 1 m = 100 , so the resolution is very fine. DFT is also put in for comparison. We see that DTFT and DFT are proportional; periodogram would have large values enlarged small values diminished due to the square over DTFT, relatively, which basically suggests that the contrast between values have been enhanced.
The frequency estimation would be done by simply scanning the DTFT/periodogram sequence. The DTFT/periodogram peak for drip height signal of speed II « 13 periods is at
X = 1288 (ω = 1287) , the number of periods over S \ n \ can then be calculated as m - N
1287 - N
x *" ' _ 1287 _ 1287
2π m 100 which is obviously of a higher resolution than DFT's 13 periods count.
If we compare {Auto- correlation, Auto-covariance, AMDF, DTFT/periodogram} 's result for drip height signal of speed II « 13 periods:
Figure imgf000050_0001
i count
The coincidences are extremely close. The accuracies of these four methods are therefore simultaneously confirmed.
Note on computation:
To improve efficiency, we could use method similar to "successive approximation" described in [§2.2.2.4 Hybrid Algorithm (I)] where DFT is followed by AMDF. We could first locate the ballpark estimate using DFT, and then compute co s of fine increments only at the vicinity of the discrete 60 determined by DFT. In this above case the two integers surrounding 12.857, namely [12, 13] , which translates into
[1201, 1301] for DTFT/periodo gram indices. There then only m = 100 lvalues to compute. This works for any m .
It has also been verified that DTFT/periodogram works for all other signals in {drip height, drip size} x {speed I, II, III. The results for drip size signal of speed II is are shown in Fig. 2.2.3.1-2.
2.2.3.2 Bartlett's Periodogram Averaging
Common synonym: Bartlett's method, averaged periodogram
The Bartlett's periodogram average is one of the variations of periodogram and is defined as
Figure imgf000051_0001
The averaging happens over each segment of length L , and the squared magnitude will be summed over K such segments, and finally divided by N . With local averaging over segments of length L , the spectral resolution will be reduced by K, whereas the variance can be expected to reduce.
For a thorough discussion, please refer to [§8.2.4 of Hayes, M. - Statistical Digital Signal Processing and Modeling (Wiley, 1996)].
We have conducted experiments with {drip height, drip size} χ {speed I, II, III} χ {L=90, 60, 30, 15}, a total of 24 different combinations. The results drip height signal of speed II are shown in Fig. 2.2.3.2-1 along with periodogram results for comparison. We would clearly see in each figure that as L becomes smaller, the variance becomes smaller while the resolution also decreases. With L values that are too small, such as 15, values at the vicinity of zero could become larger thus cause problems in estimation. In fact, consider the extreme case that
L = 1 : L = l, K = N I \ = N
1 JV-1
B( » = -∑ ∑S [i + n
Figure imgf000052_0001
1 ,9
i.e., Β(ώ) would become a constant irrespective of ύ). It is therefore cautioned that L values that are too small should be avoided.
The value of m which is used to finely divide Aco increments in Fig. 2.2.3.2-1 is also chosen to be 100, and real implementation can use any value. Just as for periodogram and DTFT, for efficient computation and more accurate estimation one could first use DFT to locate the interval and then compute Bartlett's periodogram on the vicinity of the interval.
2.2.3.3 Correlogram /Periodogram of auto-covariance Common synonym:
The correlogram of a real sequence S is defined as
Figure imgf000052_0002
in which Rxx (S, k) is the auto-correlation sequence as defined in [§2.2.2.1 Auto-correlation] .
Please refer to [§2.2, Stoica, Petre & Moses, Randolph L. - Spectral Analysis of Signals] and [Blackman and Tukey 1959] for its mathematical discussion.
Hybrid Algorithm (II)*
Compare it with the definition of DTFT in [§2.2.3.1 Periodogram and DTFT], it can in fact be defined as the DTFT of Auto-correlation. Since it is the DTFT of a derived sequence from S , namely, Rxx , it can also be classified as a hybrid algorithm as was first introduced in [§2.2.2.4 Hybrid Algorithm (I)].
There are primarily two reasons why we could used correlogram to estimate the frequency:
1. Intuitively, as we have seen in [§2.2.2.1 Auto-correlation], autocorrelation exhibit the same periodicity as signal S itself, therefore it is reasonable that its DFTF will give us the same periodicity estimate as DTFT directly from S .
2. A rigorous proof would require restrictions such that the auto-correlation sequence decays sufficiently rapidly, and the convolution property of DTFT will be used. Please refer to [Ch. l & Ch.2, Stoica, Petre & Moses, Randolph L. - Spectral Analysis of Signals] for its detail.
Please also note that as for periodogram/DTFT, in Fig. 2.2.3.3-1 the mean value of autocorrelation was removed before computing correlogram.
Note that due to symmetry, for correlogram we computed only the first half of the length.
Please also note that due to the fact that has been explained in [§2.2.3.1 Periodogram and DTFT], in computing continuous DTFT we removed the mean of the Rxx sequence.
Otherwise there will be high values at lower frequencies which would cause difficulties for period estimation.
In Fig. 2.2.3.3- 1 DTFT's m = 100 and correlogram the peak is found to be at X=2571, the length of φε (&>) sequence is 2N - 1 = 359 . The number of periods in the original sequence S could then be calculated as
(Χ - ΐ) · 2π
N
(2N -\) - m X -\ N 2570 180
12.886
2π m 2N -1 100 359
Figure imgf000053_0001
length
Period count 180/14=12.85 180/14=12.85 180/14= 12.87 12.891
7 7 12.857
Table 2.2.3.3-1 Compare correlogram with other methods
When compared with results from other methods described above, correlogram result is found to be very close to them. This accuracy of correlogram is therefore confirmed.
Experiments have also been made on the remaining of {speed I, II, III} x {drip height, drip size} signal, all resulted in accurate measurement.
Since we were comparing DTFT magnitude which differs from periodogram only by a constant scale and a squaring operation, it is evident that periodogram of auto-correlation could also work.
2.2.3.4 DTFl /Periodogram of Auto-Covariance
Common synonym:
Just as we may define DTFT on autocorrelation sequence, we might also define DTFT on autocovariance sequence. This is yet another example that hybrid algorithms can be devised from methods in our algorithm repertoire without limitation.
It is simply defined as
Figure imgf000054_0001
The auto-covariance Vxx sequence can be either biased or unbiased.
Due to symmetry in i^we can take compute only either first or second half iVxx . The result for {drip height, drip size} x {speed I, II, III} data are shown in Fig. 2.2.3.4- 1 and Fig. 2.2.3.4- 2 where we computed only for half of the unbiased sequence and take DTFT 100 precision of DFT. We confirmed that the result was accurate.
Since in the experiments we were comparing the magnitude of coefficients of DTFT which differs only by a constant and a squaring operation with periodogram, it evident that periodogram of auto-covariance could also work.
2.2.3.5 Discrete Cosine Transform (DCT) and Discrete Sine Transform (DST) Common synonym:
DCT and DST are variations of the DFT representing real sequence S with real coefficients. Depending on the different choices of defining periodic and symmetric extension, there are at least 16 different variations of DCT and DST. Please refer to [Wang, Z. 1984., Fast
Algorithms for the Discrete W Transform for the Discrete Fourier Transform, IEEE Trans, on ASSP, Vol. 32(4), pp. 803-816,] and [Martucci, S. A. 1994., Symmetric Convolution and the Discrete Sine and Cosine Transforms, IEEE Trans on Signal Processing, Vol. 42(5), pp. 1038-1051] for them. However, none of the variations differ substantially so we are going to illustrate the usage with two most common versions: DCT-II and DST-II.
Please also refer to [§7.5, Proakis, John G. - Digital Signal Processing (4ed)] for DCT. DST can be found on numerous other literatures.
To represent real sequence with real coefficients extension of the original sequence must be made. For DCT-II, the original sequence is first "flipped" right-side left and then appended to the original sequence. To put it formally,
Figure imgf000055_0001
We take as ordinarily the DFT of S DCT-II · 2JV-1 2π ,
nk
2N
n=0
N-l . 2π ,
1 nk
2N 2N
S DCT-II ( W ) +s DCT (2N -\ - n) - e
=0
iV-1
S DCT-II { n ) + e
n=0
N-l . π I V . π I ,
- /— η— \k -— η k
∑SDCT_n (n) - e e n [ l} + e n [ 2
n=0
Figure imgf000056_0001
Due to symmetry, the first N DCT-II coefficients already contain the full information of the extended sequence, and SDCT_n can be reconstructed by first multiplying DCT - II sequence with respective e 2 and then take the inverse DFT. The first N result of the inverse DFT would be the original sequence S .
What we are interested in, however, is to count the number of periods of the original sequence S . Strictly speaking DCT is not well-suited for this purpose due to the "flipping" operation in constructing the extended sequence. But if the periodicity in the original signal S is truly strong it could still work in a similar as measuring periods from DFT.
Fig. 2.2.3.5-lshow the DCT-II extension for drip height, speed II ~ 5.3 periods signal compared with the original. Note how the symmetric extension added ambiguities to the signal in terms of periodicity.
Despite the inherent problem with period interpretation, Fig. 2.2.3.5-2 still show correct integer level precision period count for drip height signal of speed I, II and III. For example, in the 2nd figure since the maximum magnitude non-DC component has index 26 (base 1), the period should be (26-1)72=12.5, consistent with other methods. Fig.2.2.3.5-3 show DCT-II result for drip size data of all speeds. The result for speed I and II are correct. For speed III « 23 periods, the value at X=48 is 613, almost equal 615 at X=2. This suggests that to use DCT-II safely we might need to restrict the maximum magnitude coefficient searching range, or requiring better quality signal.
DST-II differs with DCT-II only in that it not only "flip" the original sequence, but also invert (take negative) them so that odd symmetry new sequence cancels cosine coefficients while preserving sine sequence.
Figure imgf000057_0001
We take as ordinarily the DFT of ST DST-II-
2N-1 2π
DFT, (k)= YS
n=0
SDsT-n (n) eJ " - SDST_n (2N-\-n)-
Figure imgf000057_0002
=0
iV-1 ■nk -j— (2N-
S DST-II {n) -e N
=0
N-l .π IV .π \
-J— «+- \k -j—
∑SDST_n(n)-e E XV 2j _E JN{. 2
=0
Figure imgf000057_0003
However, caveat must be taken that unless the original sequence is already roughly symmetric about the X axis, the average of the sequence needs to be subtracted for the original before doing the extension. Fig. 2.2.3.5-4 shows for drip height speed I « 5.3 periods data, directly flip + invert extension leaves the first half positive and the second half negative. If there is any likely periodicity in the sequence, the closest number would be one. This can be seen from the 3rd subfigure of Fig. 2.2.3.5-4 that the maximum magnitude coefficient is at X=2 (base 1), 2-1=1, and this means that there is only one period in the extended sequence.
The correct way of extension is to first subtracting mean from the original sequence then do the normal DST-II extension.
The results for {drip height, drip size} x {speed I, II, III} are shown in 2.2.3.5-5 and 2.2.3.5-6. After subtracting minus one from the X index of maximum magnitude coefficients (due to base 1 used) and divide by 2, we confirmed that all the period counts are accurate.
Other numerous padding and extension schemes of DCT and DST are clearly usable but none would constitute substantial difference the two here.
2.2 A Wavelet Transform
Common synonym: Haar transform, wavelet method
The basic ideas behind wavelet transform are multi-resolution and filter banks. There is a low pass filter and a high pass filter. After a signal is passed through the low-pass filter and down- sampled (denoted byj), the result represents the low-frequency local component of the signal; on the other hand, the down-sampled high-pass filter result represents the high-frequency local component of the signal. In the simplest form of wavelet transform, namely the Haar transform, the low- frequency local component is simply the local average of adjacent components, and the high-frequency local component is the difference between two adjacent components.
Please refer to [Strang & Nguyen - Wavelets and Filter Banks] and [Daubechies, Ingrid - Ten Lectures on Wavelets] for detailed discussion on wavelet methods.
Shubha Kadambe and G. Faye Boudreaux-Bartels described a method for detecting pitch in speech signal in [Application of the Wavelet Transform for Pitch Detection of Speech Signals, IEEE Transaction on Information Theory, Vol. 38, No. 2, Mar 1992]. They perform a type of wavelet transform known as dyadic wavelet transform on the speech signal at different scales, and locate local maxima exceeds 80% of the global maxima. If any location of local maximum agrees across two scales, then this location would be recognized as a maximum corresponds to transients caused by glottal closure. They would then measure the time between adjacent local maxima to determine the period length.
The advantage of this method was due to the non-stationary nature of speech signals. Speech signal changes over times, and include many different types of sounds such as consonants and vowels. The method Kadambe made no assumption that the signal would be stationary, and would actually detect local maxima:
Figure imgf000059_0001
for which t(MM ) - t(Mi ) differ widely.
The IV dripping process, on the other hand, can largely be assumed to be a stationary type of signal expect during moments when the patient is moving his arm or due to other activities. Although not particular attractive, wavelet transform can still be used to detect periods for this type of signal, and the principle is to some extent similar with time-domain methods.
Using the same idea as Kadambe's, one of the possible implementation using wavelet for this application can be described as:
1) Choose a type of wavelet
2) Compute the approximation coefficients ca and differentiation coefficients cd
iteratively. After each iteration, abandon cd (or set it to all zeros) and reconstruct an approximate signal purely fromca , then sendca (or the reconstructed approximate signal) into the next iteration. Stop the process after a certain number of iterations.
3) At the last (the designer usually needs to specify the number of levels himself) level, find local maxima (either > or > both neighbors, or other combination) whose value exceeds a certain percentage ε of the global maxima. For each of the local maxima X , scan upwards up to the original S : if at all levels the neighbor of [X— K, X + K] contain local maxima, then recognize this location as a peak of the signal.
4) Count the number of peaks as the number of periods. Note that the reason we are searching in [X— K, X + K] is because the approximate reconstruction is not guaranteed to show peaks at the same location as the original signal, therefore an interval of search is needed. Please also refer to [Strang & Nguyen - Wavelets and Filter Banks] and [Daubechies, Ingrid - Ten Lectures on Wavelets] for detailed discussion.
Please also note that if the length of the chosen wavelet (in our example Daubechies D8) is larger than 2, then padding (extension) for points at the beginning and end of S padding is needed to ensure proper operation. Wavelet transform itself doesn't impose any restriction on how the padding is done and popular choices include using periodic extension (like rolling to the other end), derivative extension (calculate the derivative at end points and interpolate extension points with the derivative), zero extension and constant extension. In our example we have chosen constant extension since it would not cause problem to our period count algorithm. For Daubechies D8 wavelet, it is done by padding the original S to
S [l] ,S [2]...S [n - l] , S[n]
I
Figure imgf000060_0001
If other padding scheme is used in real implementation, caution must be taken on not to create any "spurious period" to the algorithm.
For drip height signal of all speeds I, II and III, experiments have been done with the following parameters:
Value
Wavelet Daubechies D8
0.32580343
1.01094572
0.8922014
-0.03957503
-0.26450717
0.0436163
0.0465036
-0.01498699
Level Two levels of approximation ε 0.6
K 3
Table 2.2.4- 1, Parameters used in wavelet period count
Results are shown in Fig. 2.2.4-1 to Fig. 2.2.4-3. The algorithm with parameters above recognizes correctly peaks at all speeds I, II and III. The peak locations are marked with upward-pointing triangles. The 3rd and 4th level of approximate reconstruction are also shown below the 2nd approximate reconstruction from which we can see that excess levels of approximation might flatten the signal too much to cause peak detection fail.
Of course, real implementation can make adjustments to the parameters above, and the detailed algorithm and parameters above should only be regarded as an illustration rather than limitation.
The Daubechies family of wavelet can have different lengths, and there are many other types of wavelets such as {biorthogonal, cubic spline, Haar, Mexican hat, Morlet, Meyer, symlets} and customarily constructed types. But none of them would constitute substantial difference from our algorithm.
Daubechies D2 wavelet is equivalent to Haar wavelet, and wavelet transform with it is also called Haar transform. Depending on the quality of the signal, it is reasonable to expect that others types of wavelets and parameters can be used for peak (peak) counting in this application.
2.3 Parametric methods
Definition:
The parametric methods assume that the signal satisfies a generating model with known functional form and then proceed by estimating the parameters in the assumed model. The signal's spectral characteristics of interest are then derived from the estimated model.
[§3.1, page 90, Stoica, Petre & Moses, Randolph L. - Spectral Analysis of Signals]
There are many different types of parametric methods including those based on
1. Autoregressive model (AR)
2. Moving average model (MA)
3. Autoregressive model-Moving average model (ARMA)
4. Subspace/eigenvector methods
As we have mentioned in [§2 Frequency Estimation], spectral estimation as an established discipline has already a history of over one hundred years [Preface, page XV, Stoica, Petre & Moses, Randolph L. - Spectral Analysis of Signals] [Marple, L. Digital Spectral Analysis with Applications], and different are invented for different application where signals all have their unique characteristics. Many of the parametric methods (just as many non-parametric methods above) could work for our signal only because the quality of these signals are fairly well (stationary, no noise contamination/corruption, simple process; etc.), not that our signals do require these parametric methods to be estimated correctly. In fact, as we have seen with the examples of {auto-correlation, auto-covariance, AMDF, periodogram/DTFT, correlogram} , the accuracy of these algorithms are already sufficient well, and in fact admits little if not no room of improvement. In practice, the implementation of many parametric methods is usually more difficult. Many of them would require solving groups of linear equations or solving polynomial equations (for example, finding all eigenvalues of a matrix) of high orders. Consequently, numerical issues will also be involved.
In the AR/MA/ARMA class of algorithms, we are going to describe Yule-Walker method. In the subspace/eigenvector methods, we are going to describe Multiple Emitter Location and Signal Parameter Estimation (MUSIC) and Pisarenko harmonic decomposition. These two methods are well-known, widely used, and representative of their respective class of methods.
2.3.1 Auto-regressive Spectrum Estimation
2.3.1.1 Yule-Walker Method
Common synonym: Autocorrelation Method (not to be confused with the previous Autocorrelation method)
Parametric methods make an assumption that output S can be modeled as a difference equation involving itself and input sequence w :
Figure imgf000063_0001
so that
Figure imgf000063_0002
Refer to equation (2.3-1),
1. If q = 0 , S [n] depends on previous values of itself, thus called an Auto-regressive (AR) model;
2. If p = 0, S[n] is an weighted moving average of w[«] so it is called an Moving- average (MA) model;
3. If p≠ 0 and q≠0 ,
Figure imgf000063_0003
depends on both its previous values and the moving average of win] , so it is called an Auto-regressive moving-average model (ARMA). Yule- Walker is a method for estimating frequency for AR models. For a real sequence S its steps are:
1) From its auto-correlation sequence generate a Toeplitz matrix:
r (0) r (l) r (n)
(1) r (0) J N-k
{k) =—∑x[n] x[n + k]
· · · r (l) «=1
r (n r(0)
Here the biased auto-correlation is used to ensure the matrix is positive definite. Unbiased auto-correlation can also be used and please refer to [Hayes, M. - Statistical Digital Signal Processing and Modeling (Wiley, 1996)] for detail.
2) Using either Levinson-Durbin or other method to solve
r(0) · · · r (n - \) r (n - l) · · · r(0)
Figure imgf000064_0002
Figure imgf000064_0003
3) Set |¾ |2 = r (0) +∑akr (k)
k=l
4) Estimate the power spectrum as ·
Figure imgf000064_0001
Experiments in Fig. 2.3.1.1-1 to Fig. 2.3.1.1-6 show that Yule- Walker method work for {drip height, drip size} χ {speed I, II, III} data. These figures are drawn in logarithmic scale to make local peaks clearly visible, otherwise they will be scaled to become too small for viewing. Order of the AR model increase from 5 to 50 for each dataset.
If we compare (Fig. 2.3.1.1-1 and Fig. 2.3.1.1-3) and (Fig. 2.3.1.1-4 and Fig. 2.3.1.1-6), we would note that lower speed signal (speed I «5.3 periods) requires higher order of AR model to achieve accurate frequency estimation than higher speed signal (speed III«23 periods). This is consistent with the AR model: the lower the speed, the longer the period, therefore each S[n] would depend on a longer sequence of its previous values so that higher order AR model would better model the sequence and would therefore give more accurate frequency estimation. Please also note that in Fig. 2.3.1.1-1 to Fig. 2.3.1.1-6, the axis label are already normalized to
[0, π] . To get the number of periods for N sample points we simply multiply the peak's normalized X-axis value by N and then divide it by 2π. The calculations below use un- normalized indices for better accuracy.
For drip height, speed II « 13 periods signal, [θ,
Figure imgf000065_0001
is divided into 18000 parts and the number of periods should be counted from the index of maximum power spectrum value as
(index - I ) π
18000 (Index - 1) 180 (Index -
~ 2 18000 ~ 200
Figure imgf000065_0002
Table 2.3.1.1- 1, speed II drip height signal period estimation using Yule- Walker method
Compare it with method comparison in Table 2.2.3.3-1, we find that a higher order would usually be necessary to give accurate estimates, which is also consistent with our discussion on period length/dripping speed and model order above .
As we have discussed before, there are {AR, MA, ARMA} three types of parametric models. The reasons we choose AR over the other two types of modeling is because:
1. S in general is a periodic signal, and obviously depends on its previous values. AR model fits this physical basis best; poor estimation might occur from MA model since its assumption is not consistent with the reality.
2. Most of the practical problem of frequency estimation would have power spectrum centered at certain frequencies which can be modeled with poles. For the same configuration of poles it would require much higher order MA model than AR model to approximate them.
3. Since from discussion 1 AR fits and from discussion 2 MA unfits, any ARMA model which satisfactorily models the signal would have AR as its dominant part. Therefore, it has no substantial difference from the AR model.
Although we have concluded that AR model is the best fit for our signal among parametric models, if the data quality is extremely well and/or some other processing are involved, the possibility of modeling the periodic IV monitoring signal using MA or ARMA model cannot be ruled out. Therefore, the previous discussion should only be regarded as a recommendation to real implementation rather than any limitation.
And of course just like the case with other methods, we could combine AR modeling with other methods, such as DFT, to achieve higher efficiency or improved accuracy.
2.3.2 Eigenvector /Subspace method
2.3.2.1 Multiple Emitter Location and Signal Parameter Estimation (MUSIC) & Pisarenko Harmonic Decomposition
Common synonym:
Related: Pisarenko Harmonic Decomposition (equivalent when M = P + 1)
Multiple Emitter Location and Signal Parameter Estimation (MUSIC) is an improvement over Pisarenko Harmonic Decomposition. These methods are different in that the "spectrum" we get are no longer an estimate of the real physical power spectrum, but is only used to estimate the frequencies of complex exponentials.
In Pisarenko harmonic decomposition, S is assumed to be a sum of P complex exponentials in white noise. P + 1 values of the autocorrelation sequence is either known or estimated. In the (P + 1) X (P + 1) autocorrelation matrix, the dimension of the remaining noise subspace would be (P + Y)— P = l and is spanned by eigenvector corresponds to the minimum eigenvalue vmin . vmin would be orthogonal to the whole signal space hence all signal eigenvectors, therefore p
e. v mm■ 0, i = \, 2, ... , P
k=0
It follows that the DTFT of vmin would be zero at each t so its inverse (and the inverse of its squared magnitude) would exhibit sharp peaks at ωι frequencies, and from that one knows the frequencies of the constituent complex exponentials.
That inverse, which we denote as
Figure imgf000067_0001
is called pseudospectrum (or eigenspectrum) to differentiate it from the real/physical power spectrum which appeared in other methods.
Please refer to [§8.6, Hayes, M. - Statistical Digital Signal Processing and Modeling (Wiley, 1996)] for derivation and discussion.
In Pisarenko harmonic decomposition the number of signal eigenvectors is assumed to be the length of autocorrelation sequence minus one; if instead, this requirement is removed and for an autocorrelation matrix of M M , P can take other values such that M > P + 1 , then it would become the assumption of Multiple Emitter Location and Signal Parameter Estimation (MUSIC) method.
It is therefore clear that when M = P + 1 , the two methods are equivalent, so that Pisarenko Harmonic Decomposition can be classified as a special case of MUSIC.
In MUSIC method, the Pseudospectrum I( o) will then be calculated
1 1 1
MUSIC (ω)
Figure imgf000067_0002
in which vt ' s are the eigenvectors of the noise subspace. The effect of averaging would be reducing spurious peaks. Please also refer to [§8.6.3, Hayes, M. - Statistical Digital Signal Processing and Modeling (Wiley, 1996)] for detailed discussion.
The procedure of using Multiple Emitter Location and Signal Parameter Estimation (MUSIC, we have also classified Pisarenko harmonic decomposition as its special case) for estimating the signal frequency is:
1. If using the general MUSIC method, select P , and a M > P + 1 ; if using Pisarenko harmonic decomposition, decide P and M = P + 1.
2. Compute the auto-correlation matrix of dimension M x M .
3. Calculate eigenvalues and eigenvectors of the auto-correlation matrix.
4. Compute Pseudospectrum IMUSIC (co) . Find its frequency corresponding to the largest magnitude and use this as frequency estimation.
Of course, we can also use DFT to locate the interval and then use the MUSIC or Pisarenko harmonic decomposition for finer estimation.
Experiments have been done by setting M as signal S length, and vary P at different values between 2 and 50. The estimated period count for drip height signal at speed II« 13 periods is shown in the table. The underlined numbers are the indices of maximum pseudospectrum value and [θ,
Figure imgf000068_0001
is divided into 10000 small increments. The period count is calculated as · ^^ · 180
__ loooo— = 0 018
Figure imgf000068_0002
20 (7Π-1)χ0.018=12.78
30 f719-l)xQ.018=12.924
50 (720-l)x0.018=12.942
Table 2.3.2.1-1, period estimation for speed II drip height signal with different P
By comparing with Table 2.2.3.3-1 we could see that with properly chosen P MUSIC algorithm could result in an accurate estimation comparable with other methods.
Fig. 2.3.2.1-1 to Fig. 2.3.2.1-6 show these methods work for {drip height, drip size} x {speed I, II and III} . For drip size signal larger P such as over 80 might be needed, depending on the quality of the signal.
Please also note that Fig. 2.3.2.1-1 to Fig. 2.3.2.1-6 are shown in logarithmic scale. There are two reasons: (1) if it shown in linear scale, many of the smaller values would be hardly visible. (2) what is displayed is actually pseudospectrum, so we don't have to make them as in linear scale as shown for previous experiments.
We have therefore shown that frequency can also be estimated not by via any means to estimate the original power spectrum (periodogram or any other), but via its pseudospectrum through eigenvalue decomposition. We conclude that pseudospectrum methods can also be used for our IV speed monitoring application.
3. Mechanical Control
In application US 12804163 we disclosed many essential techniques for video/image processing based IV monitoring. In previous sections of this disclosure we have expanded their scope.
In application US 13019698 we disclosed mechanisms for controlling IV dripping speed, so with the monitoring and controlling combination an automatic IV monitoring and control system could be built. In this section we are going to disclose other possible mechanisms for IV dripping speed control.
Fig.3-1 is a general schematic of the mechanical sub-system of our IV monitoring and control system. A leadscrew is shown more prominently than other parts because we believe it is essential to the system. However, we stress that no limitation is made here that the real implementation must use leadscrew and its function can be substituted by other parts.
Following sections would frequently refer to Fig.3-1.
3.1 Tube presser and supporter
Devices such as Fig. 3.1- 1 are used in conventional gravity based dripping for adjusting drip speed. It works by pressing the tube to adjust its thickness. The presser rolls in a groove and changes the thickness of the tube by pressing it.
For an automatic controlled IV system we need something of the same functionality.
First we need something to press the tube so that the cross-sectional area where the liquid passes can be changed. This is not a particularly difficult problem. For example, we can control the tube thickness with our finger. Any mechanism that could effectively change the cross-sectional area of the tube could do the work.
There is no particular requirement on the shape of the presser and back supporter of the tube. Loosely speaking, as long as they can match well so that the tube surface can be effectively pressed, they could work. Fig.3.1-2 shows the side (or front) view of some possible shapes of back supporter for tubes.
Viewing from the perspective of tube's axial direction (top/bottom), there can also be a numerous matching and complementary shapes to form the presser/supporter combination. Five examples are shown in Fig.3.1-3.
On the left of Fig.3.1-4, from top to bottom, we give example that the shape of the contacting point between presser and tube can of an angle, or flat, or rounded. On the right of Fig.3.1-4, we see that angle can be obtuse, right or acute; it can either taper or expand; it can either have a sharp edge or a flat surface at the contacting point.
The formal requirement is very simple:
If adjusting the relative positioning of presser and supporter can cause the flow in the tube to stop, then they the two could be used a presser/supporter pair.
A more concrete example of what a presser might look like is shown in Fig. 3.1-5 which was first shown as Fig B.4 of US application 13019698. In the side view we see that the angle of shaft edge is only 15° and we have added the annotation that it needs to be made sharp. Why? In principle, the sharper the edge is and the smaller the angle, the smaller contact area there will be, hence the larger pressure. Experimentally, we have also experimented with different shapes of the presser and indeed have found that sharper the edge is and the smaller the angle, the less force from the motor it requires to drive the presser.
In Fig. 3.1-5, the presser is drawn to have inner thread so it could be used as a nut to be mounted with a leadscrew so that leadscrew's rotation would be translated into presser's axial movement. It is also possible that the presser is connected with a linearly moving part directly without requiring leadscrew-nut combination. In both cases there could be off-axis movement and it could be reduced with techniques in [§3.3 Linear Motion Guide].
Please also note that although in the figures referred above we have seen a large number of pressers differ in shape, there are still other types of pressers that do not fall into this class. The presser/supporter pairs shown above are used for a linear actuator is pushing the presser directly toward the direction of the tube. Besides linear actuator, there are still
1. "Pivoted" "nutcracker" type, discussed in §3.5.1.
2. Rotational type, discussed in §3.5.2.
3. Cam embodiment, discussed in §3.6.
Please refer to Fig.3-1 for the general schematics of the mechanical subsystem.
In the next section we are going to discuss linear actuator.
Target
It would be desirable that a mechanism for IV control has the following characteristics: 1. High resolution so that the control can be accurate.
2. Self- locking so that no energy is required for maintaining control position.
3. Strong output force so that sufficient pressure can be applied on IV tube.
After comparing between different types of mechanisms, we found leadscrew is an ideal solution which satisfies 1-3.
3.2 Leadscrew
Common synonym: Power screw
Leadscrew is a basic mechanical structure and is known to everyone work in mechanical engineering. Please refer to [§8.2, Shigley's Mechanical Engineering Design] for discussion and properties.
The formula of leadscrew from engineering textbook and manuals is a very close
approximation of the exact result from calculus, and it is accurate enough for our use.
We have
T lower
Figure imgf000072_0001
Where
^mise = raising torque
^ower = lowering torque
F = load on the screw
d = mean diameter of the ring on which screw and nut touch
a = thread angle
/ = lead (thread pitch)
λ = lead angle
μ = coefficient of friction between external and inner thread material
eff = effective friction angle, defined as ^eff = tan 1 ( sec a) . For square threads which has a = 0 , <f>eff = tan 1 ( //) as the usually definition of friction angle. Drawing of a leadscrew annotated with the above symbols is shown in Fig. 3.2-1.
Let's now examine why leadscrew has the three idea properties: Property I: High resolution so that the control can be accurate.
Lead / is usually very small. Consider one of the most common embodiment containing leadscrew, the linear stepper motor, / could be made as small as 0.5mm, and each step's rotation could be made to as small as 7.5° so that the stroke of each step is only
0.5mm Λ Λ, Λ„„
0.01042mm
360 / 7.5
wwhheerreeaass tthhee tthhiicckknneessss ooff aann IIVV ttuubbee iiss uussuuaallllyy bbeettwweeeenn 33mmmm aanndd 44mmmm ssoo tthheeoorreettiiccaallllyy ssuucchh aa ddiissttaannccee ccoouulldd bbee ddiivviiddeedd iinnttoo 330000--440000 ppaarrttss iiff wwee aassssuummee tthhaatt tthhee ttuubbee tthhiicckknneessss ccaann bbee ccoommpprreesssseedd ttoo ""zzeerroo"".. OOff ccoouurrssee ttuubbee tthhiicckknneessss ccaannnnoott bbee ccoommpprreesssseedd ttoo zzeerroo aanndd uussuuaallllyy rreemmaaiinnss 11mmmm oorr mmoorree eevveenn wwhheenn ffuullllyy pprreesssseedd,, tthhee fifigguurree aabboovvee ssttiillll ggiivveess aa ccoorrrreecctt eessttiimmaattee ooff tthhee pprreecciissiioonn..
PPrrooppeerrttyy IIII:: SSeellff-- lloocckkiinngg ssoo tthhaatt nnoo eenneerrggyy iiss rreeqquuiirreedd ffoorr mmaaiinnttaaiinniinngg ccoonnttrrooll ppoossiittiioonn..
T lower tan(¾ff - 2) (2)
Figure imgf000073_0001
Please refer to [§8.2, Shigley's Mechanical Engineering Design, ISBN 0390764876] for this property. Intuitively, if the friction coefficient between leadscrew and nut surface is extremely large, it would become difficult if we try to make the leadscrew rotate by pushing against its axis; or, if the lead / is zero which means there is no vertical ascending/descending movement, force on axis create no torque so it is also impossible to rotate the leadscrew reversely.
Mathematically, if
T lower -λ) > 0
Figure imgf000073_0002
then
12 I
πμ sec adm - 1 > 0 => μ > cos a = tan/l cos a
m which actually suggest that no axial force F alone, without external torque, could cause the leadscrew to rotate reversely.
The important consequence of self-locking property is that power-efficient portable IV controller can be built. Torque in motor is created by electromechanical force, and if torque is still needed to maintain a position, then there would be a constant drain of current from the battery, and this current in fact could be very significant so that battery would soon be used out.
One could also use rubber or spring based brakes to maintain position which could also save power, but this would require additional mechanisms which are bulky and costly. In addition, for rubber brakes wastage might cause it to gradually lose its ability.
Requiring only one inequality μ > tan λ COS a to be satisfied, leadscrew provides us the simplest and most reliable solution to the problem.
Property III: Strong output force so that sufficient pressure can be applied on IV tube.
Due to
Figure imgf000074_0001
tan(¾ff + 2) (1)
2 ndm - sec a/ J 2
The force creating the torque
raise F tan( eff + λ)
Figure imgf000074_0002
raise tan(^eff + )
F
Usually λ is small so tan λ « 0 ,
Figure imgf000075_0001
sec «
F 1 - tan eff tan A
For materials is usually between 0.1 and 0.3, and usually ≤ 30° so that
sec a < sec(30° ) = 21 = 1.1547
/ sec a < 0.3 x 1.1547 = 0.334641
So at most 1/3 of is sufficient to raise (push) against it. And clearly here we are already
F■
calculating the upper bound of the ratio raise so that for most metallic material combinations
F
and thread angles the ratio is even smaller.
We have therefore concluded that leadscrew is an ideal mechanical structure for controlling IV dripping speed.
Comment on linear motor:
Almost all types of linear motor use leadscrew as their linear actuator. However, not all linear motor, and not even all linear steppers have properties I, II and III. Some are designed to have low friction coefficient μ and high lead angle λ so that II is not satisfied. In fact, it is not a rule that manufacturer would simultaneously consider these three requirements for generic types of linear motors.
Some people might ask why we choose the term "leadscrew" rather than "linear motor" since most linear motors are based on leadscrews. There are chiefly two reasons for this:
1. A linear motor, or any motor, is an assembly and combination of different
components. In analyzing its mechanical property each components has to be analyzed separately first, and indeed we find that if a linear motor does have property I, II and III, in most cases (except when, say for property II, braking is used, or with other components) it is because its leadscrew has such properties. Being called "linear motor" doesn't guarantee I, II and III. Therefore we find it is more appropriate to refer to the essential element rather than an ensemble with other parts.
2. Leadscrews can be used in many other places besides within linear motor. In fact, as Fig.3- 1 would show, it might appear for one or more times at different places for translating rotary motion into linear. For example, a linear rail/slide could have leadscrew, but it might not use the electrical part of motor at all so that naming it as a "motor" is obviously inappropriate. It is therefore better to use the name "leadscrew" alone to direct our attention to its distinct properties.
3.2.1 Differential Leadscrew
There can be variations based on the leadscrew presser of Fig. 3.2-1. As will be mentioned in §3.3 that the speed-thickness relationship is strongly non-linear and perceivable change could only happen when the thickness is between zero and values much smaller than the tube's inner diameter. To provide even finer control over this small range as well as over the full range, differential combination of two or more leadscrews can be used. The shaft is divided into two (or more) parts and has thread of different leads (pitches) grinded on each different part. In the illustrational example of Fig. 3.2.1-1, the ratio between the two pitches is 10:9. To achieve this, we can make the pitch on the presser and its corresponding shaft part to be 1.0mm and on the tube fixture and its corresponding shaft part to be 0.9mm. When these two threads are of the same handedness, the effective pitch for this configuration hence is 1.0-0.9 = 0.1mm. To make them leadscrews, there of course needs to be bearings, key/keyway or spline/groove combination to prevent them from rotating, which are omitted in the image for visual clarity. In this figure's example, to fully press the tube to its diameter of 3mm, the presser needs to be driven 30mm to the right whereas the supporter with the tube are driven 27mm to the right, and their relative movement results in the full 3mm pressing of the tube.
Combinations like this are common in micro-mechanisms. In addition to the embodiment in the figure, one can also fix the position of the presser and let motor and tube-fixture to have relative movement, or use other similar implementations. None of the variations would differ substantially in principle from our illustrational example.
3.3 Linear Motion Guide
In [§3.1 Tube presser and supporter] we already got many choices of presser/supporter pairs and in [§3.2 Leadscrew] we have investigated property I, II and III of leadscrew. It looks they two alone could already result in a good tube thickness control, so why do we still need linear motion guide? This is because of the existence of off-axis displacement. In Fig. 3.3-1, the ideal travelling direction of the presser would be in the direction of the two dashed lines drawn parallel. However, due to tolerances in manufacturing, spaces between the screw-nut fit as well as other deviations/displacements such as propagated from the rotary motion of the motor rotor, the off-axis displacement would more or less always exists.
The angles δ1 and δ2 in Fig. 3.3-lare exaggerated. However, the consequence that it cause the tube incapable of being fully closed, or the liquid cannot be controlled to drip slowly enough, is realistic. In our experiment with a moderate quality linear stepper mounted with very finely manufactured presser of several different shapes, the problem in Fig. 3.3-1 existed and persisted. At the beginning the presser could effectively cut the speed down to a certain level, but after that the presser could no longer go forward, and a closer examination finds that one side of the presser is already touching the tube support while another side is off from it, and in the space between the drips could still flow, albeit slowly.
We want to emphasize that our experiment found that the relationship between tube thickness and drip speed is STRONGLY nonlinear. For example, a common inner thickness of the tube is 3mm, and typical stepper motor could have strokes as small as 0.0254mm, so in theory dividing this 3mm into 3/0.0254 = 1 18.1 1 parts. However, experiments show that in no way is the tube thickness-drip rate relationship linear, and for most of the initial steps, say, might over 80 out of the total 1 18, the drip rate remain almost unchanged, and the change only happens in the last few dozens of steps, so that each steps alone might results in a perceivable change in dripping speed.
If the off-axis displacement is large like in Fig. 3.3-1, in effect it impedes the position of a number of final steps so speed corresponding to this range is not reachable. This is unacceptable in real applications because:
1. After dripping has finished, the tube has to be cut off to prevent blood from flowing back into the tube. This is a basic requirement for an automatic IV monitoring and control system.
2. Some applications do require low speed control. For example, for newborns the speed requirement could be as low as to 1 drip/every 3 seconds.
So the problem of off-axis displacement must be resolved. There a number of approaches to solve this. In Fig. 3.3-2, key/keyway combination is used; in Fig. 3.3-3, s line/groove is used. Note that there is no rigid restriction on:
1. Whether key/keyway or spline/groove is on the inside or outside.
2. Whether the spline/groove span the full circle.
And although we have drawn leadscrew as the linear actuator in the two figures, we by no means require that spline/groove or key/keyway must be used on leadscrew driven parts. They can be used to guide linear motion resulted from any component(s).
Yet another way for to guide linear motion is by using bearings. Fig. 3.3-4 shows bearing(s) can be either on the outside or fit within groove/channel/track cut within the moving parts.
All the three methods used here have proven effectiveness. They can be used individually or even in combination to achieve the best result.
So far we have been dealing with actuators (although not assuming the final presser would also be driven by linear actuators). At the final stage where presser presses the tube, we could also use several types of rotational components.
3.4 Leadscrew is only one type of linearly moving parts
We want to emphasize that there is no restriction that the linear motions guides discussed above apply only to leadscrews. They are generic and apply to all types of linear moving parts regardless of how the linear moving parts are driven. Fig. 3.4-1 shows one of the numerous possible ways of creating a linear motion in that a leadscrew first causes the rotation of one side of a lever, the rotation of the other end of the lever then causes the linear movement of a slider/presser. The nut of the leadscrew has a small cylindrical connector that is fitted into the groove in the lever and the slider/presser also has a same connector fitted into the groove in the lever. Bearings have been used for both the leadscrew nut and the slider but of course spline/groove and key/keyway can also be used.
Recall that in mechanical system schematic Fig.3- 1, the linear motions guides only follows the block of "linear motion", not the block of "linear motion after leadscrew". The example of Fig. 3.4-1 illustrated the difference. We also note that in the example of Fig. 3.4-1, the use of lever further enhanced the precision of presser movement as well as magnified the force. Of course it can be used a multiple of times in different places so that it contributes to enhanced precision and magnified force for a multiple number of times.
The lever length ratio shown here are only for illustrational purposes. Levers can be classified into three classes according to the relative position of the fulcrum, the load and the force and the type that the load is between the force and the fulcrum can also be used.
And we also emphasize that also we used a groove to connect between lever and linearly moving parts (the nut and the slider/presser here), other ways of connection could also be used. However, none would differ substantially from the leverage principles we illustrated here.
3.5 Rotational presser
3.5.1 Pivoted "nutcracker"
This mechanism is simple, low cost, and has been tested to be very effective in operation.
Recall that the motivation for introducing "linear motion guide" is because of the off-axis displacement. This displacement is very small and in many applications might not matter at all, but causes problem to us due to the small diameter of the tube and the nonlinearity of tube thickness-drip speed relationship.
The principle used by key/keyway, spline/groove and bearing is to prevent off-axis displacement by hold, grip or push firmly against it. The pivoted nutcracker works by decomposing it.
Fig. 3.5.1-lshows the drawing. The tube's supporter and presser are assembled together at a pivot on which the presser or both the presser and the supporter could turn about. The fit at the connection should not be too tight to prevent the turning. A linear motion, either guided by {key/keyway, s line/groove, bearing, etc.} or not, now causes the presser arm to rotate about the pivot. The tube back supporter would be fixed and not allowed to move, or it might also be allowed to rotate and be connected to a driving part. The closing of the angle between the presser and tube supporter compresses the tube, and the opening does the reverse.
Since the essential of this machinery is the relative rotational movement of the presser and the supporter, either or both of them can be driven to rotate. For brevity in the following discussion we only describes the construction and the connection of the presser with the driving parts, which are equally applicable to the supporter if the supporter is also allowed to move.
To translate the linear motion into rotary, a groove of uniform width is cut in the presser. The width of the groove is slightly larger than the diameter of a sphere or cylinder mounted at the head of the linear motion part so that when the linear parts moves forward or backward along its axis, the sphere or cylinder could have a relative sliding movement within the groove.
A question is why do we have to use sphere or cylinder shape to fit into the groove? Because when the linear part moves and the presser arm rotates, if we study the relative motion of the presser arm using linear part's head (the contacting part with presser' s groove) as the coordinate origin, we found that the presser arm is in fact rotating about the contacting part, along with a radial movement. It is impossible for a part that does not assume a round shape or circular circumference in at least one of its cross-sections to allow something connecting with it to rotate smoothly without repeated colliding. Such a desirable feature is only possessed by shapes having round shape or circular circumference in at least one of its cross- sections, and this is therefore necessary.
The length of the presser arm is usually much larger than then 3mm-around diameter of the tube, and the sphere/cy Under mounted at the linear motion part touches the groove sides also at a distance from the pivot usually much larger than 3mm tube diameter. The opening angle between presser arm and the tube supporter, denoted by θ , would be an angle at most times smaller than 15° .
It is visually and intuitively clear that when the sphere/cy Under moves, most of its motion will be translated into the rotation of the presser arm. To quantitatively characterize it, see Fig. 3.5.1-2, assume the sphere is pushing the presser forward at present (since its forward and backward contact points with groove are different) and the distance between the touching point and the pivot is R , and the movement of the sphere can be decomposed into two orthogonal components:
1. dy = forward movement
2. dx = off-axis displacement dx anddy could in turn be decomposed into yet another two orthogonal directions:
(1) The rotational direction
(2) Radial direction
The components on the radial direction would not cause any effect. Let's consider only the rotational direction. From Fig. 3.5.1-2:
Nation = dy cos Θ, ^ ^ = COS 0
dy
dx
^rotation = -dx sin e, -*f - = -s 0
dx
The fact that— rotatlon = - sin # tells us that only a very small portion of the off-axis
dx
movement would enter into rotational movement. Recall the nonlinearity relationship which means the real critical speed control happens at the last several decades of steps so that Θ value corresponding to these critical steps can be even smaller. If Θ = 10° , then
|- sin #| = |sin l0° | = 0.1736 , as much as 82% of the off-axis movement is "absorbed" by the radial direction.
The smaller Θ is, the better would this "absorption" be. When the presser and the tube supporter gets close and the tube is almost fully cut, the remaining Θ→ 0, |sin Θ |→ 0, so almost all off-axis displacement are absorbed, and we never get the situation like that the shown in Fig. 3.3- 1 at all.
In addition to solving the problem of off-axis displacement, the pivoted arm also enhances the precision by ratio of the horizontal distance D between sphere/cylinder's touching point to the pivot and the horizontal distance d between presser arm and tube's touching point to the pivot. By the principle of lever this also magnifies the force by D/d. Please see Fig. 3.5.1-3 in which this relationship is shown using similar triangle property. Recall that in [§3.3 Linear Motion Guide], we mentioned 0.0254mm (O.OOlinch) is a common stroke distance for linear stepper motors and it is roughly 1/1 18 of a 3mm inner diameter of an IV tube. With the use of this pivoted "nutcracker" presser, this 1 18 parts division could be further divided by a ratio of D/d which results in even finer precision over the dripping rate control.
We summarize the three key advantages of using the pivoted structure:
1. Absorbing off-axis displacement of linear actuator.
2. Magnify pressing force.
3. Enhance precision.
And we mention possible variation: it is not necessary that the linear actuator pushes/drags the presser; it can push/drag either the presser arm or the tube supporter (when it allowed to move) to create relative movement; there can also be more than one such linear actuators to drive both of them.
And we give the formal characteristics of the pivoted "nutcracker" structure:
1. The presser and tube supporter are connected at one end which allows the relative rotational movement between the two parts.
2. One or more linear actuator(s) that push(es) or drag(s) the presser and/or tube
supporter to open or close the angle between them.
The connector between the linear motion part and the arm groove would usually have a sphere or cylindrical shape. By cylindrical shape, a bearing is also allowed. The essential characteristics is that is must have in at least one of the numerous cross-sectional surfaces a circular circumference which would allow it to move smoothly with in the groove. Other variations are possible at the cost of probably additional difficulty.
Please also note that the linearly moving part can contact the presser at any location in any geometric configuration, not necessarily on approximately the half-line/ray which start from the pivot and pass through the contacting point of the tube with the presser or supporter. An example is shown in Fig. 3.5.1-4.
3.5.2 Rotational Pivoted "Nutcracker The pivoted "nutcracker" does not necessarily require linear actuator. Fig. 3.5.2-1 shows a variation which is by connecting the shaft of a rotational motor to either of the presser or supporter so that the rotation of the motor could result in the change of angle between the presser arm and supporter. In this configuration sphere/cylindrical shape and groove is not needed.
Of course, it is also possible that presser and supporter are both driven by rotational components, or even in a mixed combination that one part's rotation is driven by a linearly moving part, and another part's rotation is imparted by a rotational component. The essential result (and hence definition) would always be the relative rotation of the two parts.
Nor does the rotation need to be driven directly by a motor. It is perfectly possible that there are other mechanism between the motor and the presser/supporter through which the linear motion is conveyed. For example, one might use be gear(s), which also enhance the precision as well as magnifying the force.
There is also no requirement on whether the part imparting rotation to the presser or supporter has a fixed axis of rotation, which means itself is also allowed to move to some extent. The defining characteristic is only the imparting of rotational motion from one part to another (presser/support).
And we give the formal characteristics of the pivoted "nutcracker" structure:
1. The presser and tube supporter are connected at one end which allows the relative rotational movement between the two parts.
2. Rotational actuator(s) connected to presser and/or tube supporter, directly or via other intermediate mechanism, whose rotation(s) result(s) in opening or closing the angle between them.
Would the tube slip?
A question is that whether the tube position would slip when the presser presses or release it. As long as the surfaces of the presser and supporter are not extremely slippery, this would not happen. In real implementation there should be fixtures of the tube at a location close the presser/supporter so that tube's position is held. 3.6 Cam Embodiment
Cams can also be used to convert a rotary motion into linear. There are numerous types of cams and we have shown in this illustrational embodiment a spiral. There are five positions shown in Fig. 3.6- 1 to show how rotation of the cam would drive the linear motion of the presser.
In each of the sub figures in Fig. 3.6-1, the central circle in the front view is the motor shaft. A board is connected to the shaft and a groove is cut on the board. The geometric shape of the groove is the envelope a circle or any shape assuming circular circumference in at least one of its numerous cross-sections, running with its center moved along a spiral curve. If the groove rotates in the clockwise direction, the presser will be pressed to the right through the cylindrical connector that is fitted into the groove, and will be pulled to the left if the groove rotates in the anti-clockwise direction.
A same question as having already been asked in [§3.5.1 Pivoted "nutcracker"] is that why do we have to use the envelope of a circle or shape having at least in one cross-section a circular circumference? If we study the relative motion of the presser or the rod (the part connecting presser with the cam. Not necessarily a rod but called here for convenience) using the rotational center of the cam as the coordinate origin, we found that the rod is in fact rotating about the cam's center while simultaneously having radial movement. It is impossible for a part that does not assume a round shape or circular circumference in at least one of its cross- sections to allow something connecting with it to rotate smoothly without repeated collision. Such a connecting part must be round or having at least one cross-section with circular circumference, and therefore its envelope is the shape the groove needs to take.
For simplicity of discussion in the following we discussion we use Archimedean spiral as illustration, in practice one can use cam of any shape as long as the desired control can be achieved.
If we assume the geometry of Archimedean spiral is used, since spiral's polar equation is: r = c + a0
c is always a constant. If we want one full rotation to cause the presser to move a distance of 3mm, which is the a common inner diameter of an IV tube, then 3mm = Ar = ΑΘ = α · 2π
:. a = 3mm / 2π
We can in this way calculate parameters of the spiral. For ease of manufacturing such that the groove's two ends would not touch each other, we might also prefer to choose rotation smaller than a full circle.
The relationship between rotary and linear motion translation from a spiral cam is linear. To better accommodate the non-linear relationship between tube-thickness and dripping speed, we could of course design cams of other shapes based on experiments and calculation.
Cams are not self-locking so that a steady current might be needed to maintain its position. To lock the cam without continuous current, one might, in the following steps:
1. Use gear combination to magnify the rotation such that a small rotation would result in a much larger rotation of a plate. The plate has slots or holes evenly or unevenly spanned in different directions.
2. Use an electromagnet to lift a small object connected to a spring or other
component(s) of elastic nature. When the electromagnet is off, the spring will push the small object into a hole or slot of on the plate, therefore locking its position; when the electromagnet is on, it will lift the small object up and the plate, consequently the motor shaft and cam, would be allowed to move again.
Using the same electromagnet with rubber-spring combination is also possible. Rather than holes on the plate, friction of the rubber could also prevent the cam and shaft from rotating.
Please also note that, although for better control in Fig. 3.6-1 example we used a cam in conjunction with bearing to guide the linear motion of the presser, a cam structure can also be used alone so that is edge directly touches the IV tube. For the example of Archimedean spiral, the change of Θ results in the change of radial length hence can be used to directly press the tube. It is also a possible implementation although issues such as slipping of the tube needs to be properly addressed.
Also, since the nature of cam is for translating rotary motion into linear or vice versa, cam can also be used in other parts of the system without directly driving the presser. It can be used to either translate rotary motion into linear or linear motion into rotary in any parts of the system, which is what it by its nature does. 4. Illumination
4.1 Good and bad illumination
In this section we describe how illumination should be done for the IV monitoring system. Since the dripping speed is monitored by extracting a periodic signal such as the height or size of the drip, it is then critical that the image of the observed area must be clear.
Fig. 4.1-lshows examples good illumination. LED lights in this example are projected from the top of the chamber through a light director/b locker shown in Fig. 4.10-1. The overhead lighting creates no spurious brighter spots from drip chamber surface's reflection in the image.
Fig. 4.1-2 show three examples of poor illumination where reflections of LED light on the drip chamber surface make video/image processing difficult. In these images the LED are placed on the side so that the dripping mouth and drip, although surrounded in brighter reflections of the chamber, are still visible. If light is projected from front or back of the chamber, the drip mouth and drip could be completely masked out by the brighter area(s) either due to light itself (from back) or its reflection (light in front).
Fig. 4.1-3 explains the reason for the bright reflection points/areas. Denote the distance between an idealized point light source and the drip chamber as D, and a length on the drip chamber surface dx , x = D tan Θ => dx = D sec2 θ άθ
άθ cos2 Θ
dx D
And because the power of a light source at a distance is evenly distributed over a spherical surface with that distance as radius, the light power at dx is inversely proportional to the square of its distance from the point source:
Figure imgf000087_0001
(D sec #) D |2
It follows that the light average light power over dx is proportional to
Figure imgf000087_0002
This how brighter reflection points/areas result.
The reflection interferes with drip detection for two reasons:
1. A large portion of light is reflected back before they could touch and be reflected by the drip.
2. The area(s) caused by these reflections are usually brighter than reflections from the drip, or overlapped with the drip.
4.2 Principles of Reflection/Brightness Contrast Reduction
The analysis on the reason of brighter drip chamber surface reflection spots leads immediately to principles of its elimination/reduction:
1. Increasing the distance between the light source and the drip chamber. This is shown in Fig. 4.2- 1. For a given x ,
larger D— smaller Θ— larger cos Θ— larger cos4 θ , therefore the contrast in brightness between different locations would become smaller.
2. Cancelling the effect in the ensemble effect of multiple light/point sources. Refer to Fig. 4.2-2, if a single point source Sl projects different area's average light power to points Py and P2 , then if another point source S2 is placed symmetric to Sl about the parallel line going through the midpoint of J 2 , then the area's average light power at Py and P2 would be equal due to the contribution of both Sl and iS2 because the difference resulted from each of them cancelled. The more of point sources there are and the more scattered they are about the drip chamber, the better cancellation would we have.
Yet another way makes no attempt to reduce reflection/brightness contrast; it simply shifts them to another location so that it is would not enter into the view of the image capturing device.
3. Projecting light from a direction so that less reflection/brightness contrast would be seen from the viewpoint of the viewing system.
Most of the methods to reduce reflection below can be classified into the above three classes and we will refer to the two principles when a method makes use of it.
We first define two types of light sources:
Primary light source: A light source where a physical quantity of other form is converted into light. This includes LED light, incandescent light, infrared lights, ultraviolet lights, laser and any other type of light sources.
Secondary light source: A light source whose lights are directed from one or more primary light sources by optical devices. Illumination using optical fiber, light-tube/light- pipe/integrator bar, assembly of mirrors' reflection, reflective surface all belong to this type.
It is clear that although secondary light source offers more flexibility, both types are equally suited for our application. And when we use the word "light source" in following discussion, it refers to both types unless explicit qualification is made.
4.3 Multiple light sources
As shown in Fig. 4.3-1, by putting multiple lights at different locations around (not necessarily fully around) the drip chamber, the reflection effect can be mitigated or eliminated. In the extreme and idealized case where there are numerous small point sources surrounding the chamber, the "point source effect" would not exist.
Apparently, this method the 2nd principle of "cancellation" for reflection/brightness contrast reduction. The type of light source here can be either primary or secondary type. The symbol of light source in Fig. 4.3- 1 looks like suggesting primary type, which is only for better illustration when comparing with Fig. 4.4- 1.
There is also no requirement on how far should each of the multiple light sources be separated. In fact, as we have reasoned in the 2nd principle of "cancellation" and in Fig. 4.2-2, even a second light source as close to the drip chamber as the original light source could effectively cancel a large portion of unevenness in brightness. Therefore, it is perfectly possible to use an array of light sources close to, concentrated or near the original single light source location to cancel the unevenness of each. Such array of light sources can also be manufactured integrated in a package, either LED or other type, which contains an array of light-emitting elements. This should also be considered as an instance of the multiple light sources.
4.4 Multiple sources from secondary light source
Fig. 4.4-2 illustrates the principle of light tubes. Each light source (whatever type) is in fact composed of numerous point sources. The image of each point source from the lens (or itself directly; the lens makes the illustration clearer, but necessarily required in products) would emit rays that travels through different numbers of reflections before exiting. Upon exiting the light tube, the effect looks like numerous rays are coming from the point source's numerous virtual images so that it no longer behaves like a point source, but in effect similar to a scattered/diffusive light source. Please refer to [p.105, Smith, Warren J., Practical Optical System Layout and Use of Stock Lenses].
The principle of light tube is unique in itself. Although similar to the 2nd "cancellation" principle of reflection/brightness contrast reduction, it is more appropriate to leave it as a single class alone rather than classified into the cancellation principle.
Note that we use "light-tube" as an umbrella term for
1. Light-tube, light-pipe, integrator bar
2. Optical fiber
3. Bundles of the above Fig. 4.4-1 show that how a single light source (of any type) can be used to create multiple secondary light sources via light-tube. For thinner types of light-tube such as optical fiber, bundles of them can be used together.
When light tubes are used in this way, they apparently use the 2nd "cancellation" principle of reflection/brightness contrast reduction.
4.5 Light source from mirror reflection
Fig. 4.5-1 shows that assemblies of mirror can also be used to direct light so that multiple light sources can be created from a single one. It can of course be used just to direct a single light without creating a multiplicity of them.
If by mirrors a multiplicity of images are created from a single light source at different locations around the drip chamber, then it uses the 2nd "cancellation" principle of
reflection/brightness contrast reduction.
If by mirrors the image of light source is formed at farther from the drip chamber than the original light source itself before it is used to illuminate the drip chamber, then it uses the 1st "increase distance" principle of §4.2 of reflection/brightness contrast reduction.
Any shape of mirrors can be used since it is only used to direct light, not the image. The shape might be arbitrarily curved or assuming particular geometric shapes. It also does not matter whether such mirror of shape, when used in ordinary occasions, might create some "bizarre" effect or not. Any type of mirror could be used as long as it could direct light.
4.6 Magnified light source from lens
Another idea is "magnify" the original light source to reduce or eliminate
reflection/brightness contrast. In Fig. 4.1-3 and Fig. 4.2-2, if the light source is of a dimension comparable to that of the illuminated object (drip chamber), then the effect would be like that there are many different small light sources illuminating the drip chamber from different locations, so that much of the uneven illumination of each would be cancelled out in the aggregate effect.
This is illustrated in Fig. 4.6-1. Assuming we are using a thin lens and since
1 1
- + - object image
When / < Sobject < 2f , an inverted and magnified real image will be formed on the other side of the lens.
This apparently uses the 2nd "cancellation" principle of reflection/brightness contrast reduction.
When Sob-ect < f , an upright and magnified virtual image will be formed on the same side (with the light source) of the lens.
This uses the 2nd "cancellation", as well as the 1st "increase distance" principle of reflection/brightness contrast reduction, because the image of the light source is now farther from the drip chamber than the original image source.
In both these cases we get a magnified lighting source by which chamber surface reflection can be reduced.
The case when Sob-ect = f which leads to parallel outgoing lights is not listed because real light source has certain dimensions. When Sob-ect is close to , points on it can be any of three cases. The ensemble effect, however, would always be that the chamber surface reflection are reduced.
There are numerous ways of creating lens. For a simple lens, each surface can be either convex, concave, or flat; for thick lens the ability of converging light also depends on its thickness; for combinations of lens the possibilities are impossible to enumerate.
But we do have a common characteristic to indicate the suitability of lens for our application: the focal length, or in lens combinations or thick lens, effective focal length (EFL). It can be proved that only optical systems (generalizing the concept of single lens) with a positive focal length or EFL could create a magnified image or causes the image to appear farther from an observer at the other side than the original. We therefore conclude that: any optical system with a positive EFL could be used to create magnified image of the light source, either farther from the drip chamber than the original light source or nearer, for our application.
4.7 Using Reflective Surface
We might also use a reflective surface to eliminate the chamber surface reflection effect. This method might be regarded as a generalization of the mirror reflection [§4.5 Light source from mirror reflection] in that the surface can be curved rather than being flat.
Certain shapes possess useful geometric properties which we could utilize, see Fig. 4.7-1 :
1. Ellipse or ellipsoid: light rays emitting from one focus would all be reflected to the other focus.
• Usefulness: ellipsoid has a large amount of coma that smears out the image of the light source and the many number of small area mirrors sees the light source from different viewpoints so that the final image of the light source is blurred [p.105, Warren J. Smith, Practical Optical System Layout and Use of Stock Lenses].
• Principle: though bearing some similarities to the 2nd "cancellation" principle of reflection/brightness contrast reduction, it is better to be classified as a class of its own.
2. Parabola or paraboloid: light rays emitting from the focus would be reflected so that all are become parallel with the axis (the symmetric axis of the shape itself).
• Usefulness: the reasoning of Fig. 4.1-3 is immediately invalidated because lights are now like parallel lines coming from infinitely far.
• Principle: better to be classified as a class of its own.
3. Hyperboloid or hyperbola: light ray emitting from one focus would have their
backward extension lines converge at the other focus so that it looks like the light is coming from the virtual image at the other source.
• Usefulness: The virtual image of the light source would become farther from the drip chamber than the light source itself, this means that D in Fig. 4.1-3 becomes large, hence Θ would become smaller for a certain location x on the chamber surface. Recall that in formula (4.1-1) the average project light power for a certain dx is proportional to cos4 Θ . The increase of D lowers Θ hence increase cos Θ and cos4 Θ so that the brightness contrast would be reduced. If the distance D between the virtual image of the light source and the drip chamber is large enough so that for all points on the drip chamber cos # 's are large enough (say, like 0.9), then the 4th power of cos Θ would not be a significant small figure so that the contrast in brightness would not be strong.
• Principle: the 1st "increase distance" principle of reflection/brightness
contrast reduction.
Note that by using "ellipsoid", "paraboloid" and "hyperboloid" I am referring to the three- dimensional shape, rather than the two-dimension curve. For 3D shapes, it would be symmetric about the axis of rotation; for 2D curve, it would be necessary move the curve along a space curve to create a surface it sweeps. Please see Fig. 4.7-2.
Also note that in both Fig. 4.7-1 and Fig. 4.7-2, light blockers are used to block the direct path between the light source and the drip chamber. This is an essential element or the reflection/brightness contrast would still exist.
The defining characteristics of this class of reflection/brightness contrast reduction are:
1. A light blocker (which can either be made/integrated as part of the light source to prevent it from scattering light to all directions, or separate from the light source) that blocks the direct path between the light source and the drip chamber.
2. A reflective surface whose reflection the light source uses to illuminate the object indirectly.
As long as the above two characteristics are satisfied, there is no substantial difference on whether the surface is very smooth, smooth or rough because inherently we have no strict requirements on the reflective surface itself and is not interested in obtaining its image, either blurred or sharp, but only uses it to redirect the light so that reflection/brightness contrast could be reduced.
In [§4.9 Merging reflective and rough surface definition], we merge the definition so that reflective surface is defined for all levels of smoothness. 4.8 Using rough surface
We might also reduce or eliminate reflection or brightness contrast using a rough surface. By "rough" I intended to mean having lots of unevenness in the surface such that a ray or a thin bundle of light would be scattered to all directions at the vicinity of a single point. However, it is as difficult to define as to quantitatively define what is "smooth" or "reflective" due to the subjective nature of these adjectives. I define here:
Definition:
1. "smooth" is equivalent to "reflective" in our terminology
2. There shall be only two types of smoothness: reflective or rough. We classify any surface, or part of a surface, to one and only one class of the two.
A rough surface is shown in Fig. 4.8-1 and it also requires a light blocker to prevent light from illuminating the drip chamber directly.
The defining characteristics of this class of reflection/brightness contrast reduction are:
1. A light blocker (which can either be made/integrated as part of the light source to prevent it from scattering light to all directions, or separate from the light source) that blocks the direct path between the light source and the drip chamber.
2. A rough surface whose scattering the light source uses to illuminate the object
indirectly.
The effectiveness of rough surface for reducing reflection/brightness contrast can be confirmed by looking at Fig. 1.1 - 1 A, which was shot in a room environment with walls of rough surface and a fluorescent lamp blocked from illuminating the IV sets directly. There are only weak reflections on the two sides of the drip chamber which does not interfere with the upper central image of the drip(s).
4.9 Merging reflective and rough surface definition The difficulty in dichotomizing reflective and rough surface can actually be resolved through the following definition merging process:
1. Since for rough surface the shape doesn't matter, it can therefore take any shape including shapes use by reflective surface, for example, conic section surfaces.
2. By combining the two subjective words "reflective" and "rough", we can simply define "surface of any level of smoothness/roughness".
3. We therefore concluded that "surface of any level of smoothness/roughness",
assuming proper or arbitrary geometric shape so that its reflection of the original light source, when the original light source is blocked from illuminating the drip chamber directly, illuminates the drip chamber so that there is no or only weak
reflection/brightness contrast, can be used for our application.
4.10 Avoid Shooting the Reflection/Brightness Contrast
The final method we disclose does not require any of the optical constructs previous described. This uses the 3rd principle "Projecting light from a direction so that less reflection/brightness contrast would be seen from the viewpoint of the viewing system" of §4.2.
Fig. 4.10-1 shows that we could use light director/blocker extending from covering part of the drip chamber to covering part of the light source, on either the top or bottom of the drip chamber. Light will be guided so that so that it comes into the chamber from the top/bottom when the camera (or any lens of the optical system, refer to Fig 0.1-1) is situated on a horizontal side of the drip chamber.
Under this configuration, light rays incident on the top surface of the drip chamber will partly be reflected and the remaining would enter the chamber. Part of the coming rays might also touch the surface of the drip chamber that is no covered by the light blocker, but would not create brighter spots both due to the limited amount of these rays as well as the small incident angles they could make with the drip chamber surface. The drip(s), on the other hand, generally assume spherical or elongated spherical shape so it could effectively reflect incident rays to other directions for which reason it would become the brighter spot(s) in the view of the camera.
The effect of using director/blocker to guide light source from the top and taking video from the side has already been shown in Fig. 4.1-1 (These images were taken with LED light projected via light director/blocker on the top. Refer to the 2n paragraph of §4 Illumination). The nice quality of the images is a prerequisite for accurate monitoring.
Fig. 4.10-2 shows variations in which the light director/blocker direct light coming from an oblique or horizontal direction, and the camera would consequently be placed at a location and have an orientation so that it views the drip chamber from a perspective so that less amount of drip chamber reflection is seen, and/or the images of the drip(s) be clearer. There is also no restriction on whether the camera and the light director/blocker should be on the same side of the drip chamber or not. The defining characteristic is always "Projecting light from a direction so that less reflection/brightness contrast would be seen from the viewpoint of the viewing system."
In Fig. 4.10-3, we show that the light director/blocker also does not have to extend all the way from part of (or near) the drip chamber to part of (or near) the light source. It can be placed close to either side of them, or more than one light directors/blockers be placed both near/around the light source and near/around the drip chamber without being connected together. The light director(s)/blocker(s) can also be integrated:
1. As part of the fixture, chamber, or holder for the drip chamber.
2. With the light, so that it effectively works like a torch in which outgoing rays are already guided.
And just as we have shown in Fig. 4.10- land Fig. 4.10-3, for unconnected light
director/blocker that does not cover the whole path from the light source to drip chamber, and for light director/blocker integrated with {fixture, chamber, holder} of drip chamber or the light source, there is also no strict requirement on whether the light projects from the top or not. As long as the camera can avoid seeing the reflection while seeing clearly the image of the monitoring area, the configuration would always be valid.
Summary
Figure imgf000097_0001
Methods that how reflection/brightness contrast can be reduced or avoided in the image capturing device have been summarized in the above table for reference.

Claims

CLAIMS Note: This PCT application claims the priority date of two of my US applications: US application 13019698: Electromechanical system for IV control US application 13356632: Image Processing, Frequency Estimation, Mechanical Control and Illumination for an Automatic IV Monitoring and Controlling system The majority of the content of this application comes from US application 13356632 whereas in §3 Mechanical control some part comes from US application 13019698. Histogram matching for image enhancement is newly introduced with this PCT application. In claims below if a claim or part of the claim does not specify explicitly which priority date it claims, then it claims priority date of US application 13356632; for any claim or part of a claim which claims priority date of US application 13019698, it will be specified explicitly in a bracket; for any claim or part of the claim whose corresponding description is newly introduced with this PCT application, it will also be explicitly marked. I claim
1. A device using any video/image processing technique(s) to extract a periodical signal from IV dripping process and any frequency estimation techniques to measure the speed the dripping.
2. A device of claim 1 which uses any image enhancement techniques to enhance the image, which includes but not limited to any of the following methods in any combination for any number of times in any order:
(1) Gray-level transformation, which includes but not limited to:
a. Power-law transformation
b. Exponentiation transformation
c. Piece-wise linear transformation and look-up table
d. Techniques using histogram information, including histogram matching/specification or equalization
[newly introduced with this PCT application]
and other methods of gray-level transformation.
(2) Frequency-domain techniques, which includes but not limited to: a. Frequency domain equivalents of spatial-domain filters. b. Filters devised directly in the frequency.
(3) Wavelet methods for image enhancement.
A device of claim Iwhich uses thresholding methods to convert gray-level images into binary images, which includes but not limited to any of the following methods in any combination for any number of times in any order:
(1) Iterative methods
(2) An arbitrarily picked value for thresholding
(3) A manually determined value for thresholding
(4) The average of pixel values of an area for thresholding
(5) The median of pixel values of an area for thresholding.
(6) Other methods for thresholding.
A device of claim 1 which uses a frequency estimation technique to determine dripping speed from a signal obtained via image processing, which includes but not limited to any of the following methods in any combination for any number of times in any order:
A device of claim 4 which uses non-parametric methods for frequency estimation, which includes but not limited to any of the following methods in any combination for any number of times in any order:
(1) Naive time-domain methods, which includes but not limited to:
a. Finding and counting value crossing, value thresholding, zero crossing or zero value detection
b. Finding and counting local maxima/minima.
(2) Time-domain statistical methods, which includes but not limited to:
a. Biased or unbiased auto-correlation for frequency estimation. b. Biased or unbiased auto-covariance for frequency estimation. c. Biased or unbiased Average Magnitude Differential Function (AMDF).
(3) Fourier or Fourier-related methods, which includes but not limited to:
a. Periodogram
b. Bartlett's periodogram averaging
c. Discrete -time Fourier Transform (DTFT)
d. Correlogram or periodogram of auto-correlation
e. DTFT or periodogram of auto-covariance f. Discrete Cosine Transform (DCT)
g. Discrete Sine Transform (DST)
(4) Wavelet methods
6. A device of claim 4 which uses parametric methods for frequency estimation, which includes but not limited to any of the following methods in any combination for any number of times in any order:
(1) Auto-regressive or Auto-regressive Mean-average Spectrum Estimation, which includes but not limited to:
a. Yule- Walker method
(2) Eigenvector/Subspace method or any method which estimates the frequency from the pseudospectrum of the signal, which includes but not limited to: a. Pisarenko Harmonic Decomposition method
b. Multiple Emitter Location and Signal Parameter Estimation
(MUSIC)
7. A mechanical apparatus which controls the speed of IV dripping by changing the thickness or diameter of the IV tube according to the IV dripping speed measured by a video/image processing based monitoring device.
8. An apparatus of claim 7 which uses a tube presser and supporter combination of any shape and material to compress or release the tube so that its speed can be controlled.
9. An apparatus of claim 7 which uses leadscrew or any type of differential leadscrew combination in any part, for any number of times, in any combination with other components or by itself for converting rotary movement into linear.
[This claim claims priority date of US application 13019698]
10. An apparatus of claim 7 which uses component(s) of a single type or combination of component(s) of different types to guide the motion of one or more linearly moving parts. Its purpose might include to prevent, reduce or control off-axis motion of the linearly moving parts. And it might include but not limited to the following parts:
(1) Key/keyway combination.
(2) Spline/groove combination.
(3) Bearing on inner or outside or other places of the linearly part.
1 1. An apparatus of claim 7 which uses leverage in any part, for any number of times, in any combination with other components or by itself for purposes might include but not limited to:
(1) Enhance the precision of movement
(2) Magnify force
(3) translate the motion of one part(s) into motion of another part(s)
[This claim claims priority date of US application 13019698]
12. An apparatus of claim 7 which uses a part or parts having absolute or relative
rotational movement considered regarding any reference points, either simultaneously with other movement or not. to compress or release the IV tube.
13. An apparatus of claim 12 which has
(1) A pivoted end about one or more parts can rotate.
(2) An opening area that the part of the IV tube could pass through, and the change of the area due to the sweeping motion caused by the relative movement of one or more moving part(s) in sub-claim a and static part(s) or between moving parts results in the compressing or releasing of the IV tube.
14. An apparatus of claim 13 which has a groove, cut or opening, which may or may not have a uniform width, on one or more of its movable parts, and such groove(s), cut(s) or opening(s) may or may not be connected with a linearly moving part or parts at any location in geometric configuration so that the linearly moving part or parts' rotation might be converted to rotational part or parts' (as defined in claim 13) rotation, and that the apparatus might have at the connecting area of the rotational and linearly parts one or more of:
(1) A sphere or any component of spherical shape connected with the linearly moving parts and fitted into the groove, cut or opening.
(2) A cylinder or any component of cylindrical shape connected with the linearly moving parts and fitted into the groove, cut or opening.
(3) One or more bearings
(4) Any component which has at least one of its numerous cross-sections
assuming a rounded shape or having circular circumference.
15. An apparatus of claim 13 in which the rotation of one or more parts is imparted by another component which also rotates, which may or may not have a fixed axis and may or may not simultaneously having another movement, and the apparatus might either or both
(1) Use gear(s) to impart rotation to the pivoted part(s).
(2) Use a rotational motor to impart rotation to the pivoted part(s)
16. An apparatus of claim 7 in which a cam or cams are used in one or more parts of the system to either translate linear motion into rotary or vice versa for other components, or to press the IV tube directly with edge of the cam, and that
(1) The moving-bearing (which connects with a linearly moving part) part of the cam might assume, in some or more parts, the shape of spiral, including but not limited to, Archimedean spiral.
(2) The cam might have a groove, or cut or opening to which the linearly moving part connects with a component, and such a connecting component might assume a shape which has at least in one of its numerous cross-sections a rounded shape or circular circumference and in this case the groove might, but not necessary, to assume the shape of the envelope of such connecting component moving along a certain curve.
[This claim claims priority date of US application 13019698]
17. An illumination system which illuminates the drip chamber so that clear image can be taken for an video/image processing based IV monitoring system. It might uses either or both of two principles
(1) Using one or combinations of optical device to create an effect such that if light were coming from a distance to the drip chamber farther than the original light source.
(2) Using one or combinations of optical device to create an effect such
reflection(s) and uneven brightness on the drip chamber are cancelled because light emitting from idealized point sources on the original light source appear to have coming from point sources that are more separate than their actual origins were.
to reduce or eliminate reflection(s)/brightness contrast in the image.
18. An illumination system of claim 17 which uses methods include but not limited to, in single, multiple or combination:
(1) Multiple light sources, either relatively separated, close, or separated, either surrounding or partially surrounding the drip chamber or not, either consist of individual light sources or a packaged light source containing multiple light- emitting elements.
(2) Multiple light sources directed via a single light source, or one or more single integrated or packaged illumination device containing multiple light- emitting elements, via either light tube(s), light pipe(s), integrator bar(s) or optical fiber(s), or bundle(s) of them.
(3) Mirror, or a combination of mirrors, either flat, arbitrarily curved or assuming particular geometric shape, through it or them light of the original light source(s) is directed.
(4) Lens or lens', whose surfaces can be of any shape, either thin or thick, or a combination of lens constitute an optical system(s), which has a positive focal length (for thin lens) or positive effective focal length (for thick lens or optical system), to create a magnified image or images of the original light source, either farther or nearer from the drip chamber than the original light source.
(5) A light blocker which either can be made/integrated as part of the light source to prevent it from scattering light to all directions, or separate from the light source, and a surface of any level of smoothness which illuminates the drip chamber so that there is no or only weak reflection/brightness contrast. The shape of the surface might include, but not limited to:
a. Ellipse or ellipsoid
b. Parabola or paraboloid
c. Hyperboloid or hyperbola
d. Or a shape formed by a sweeping motion of any of the sub-claims (a), (b) and (c) above.
19. An illumination system of claim 17 arranged with an image capturing device in a configuration such that less reflection/brightness contrast would be seen from the viewpoint of the image capturing device. It might include, in single or multiple, but not limited to, the following:
(1) Light director/b locker extending between the light source and the drip
chamber, either covering a part of the light source or drip chamber or not, so that light would illuminate the drip chamber from a direction which would result in less reflection/brightness contrast in an image capturing device.
(2) Light director/blocker does not extend between the light source and the drip chamber, but only extend beyond and/or cover either or both of part(s) of light source or drip chamber, so that light would illuminate the drip chamber from a direction which would result in less reflection/brightness contrast in an image capturing device.
(3) Light director/blocker of sub-claims (1) and (2) that is integrated
a. As part of the fixture, chamber, or holder for the drip chamber. b. With the light, so that it effectively works like a torch in which outgoing rays are already guided.
PCT/IB2012/050434 2011-02-02 2012-01-31 Image processing, frequency estimation, mechanical control and illumination for an automatic iv monitoring and controlling system WO2012104779A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201280016765.3A CN104010676A (en) 2011-02-02 2012-01-31 Image processing, frequency estimation, mechanical control and illumination for an automatic IV monitoring and controlling system

Applications Claiming Priority (4)

Application Number Priority Date Filing Date Title
US13/019,698 US20120197185A1 (en) 2011-02-02 2011-02-02 Electromechanical system for IV control
US13/019,698 2011-02-02
US13/356,632 2012-01-23
US13/356,632 US20140327759A1 (en) 2012-01-23 2012-01-23 Image Processing, Frequency Estimation, Mechanical Control and Illumination for an Automatic IV Monitoring and Controlling system

Publications (1)

Publication Number Publication Date
WO2012104779A1 true WO2012104779A1 (en) 2012-08-09

Family

ID=46602126

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/IB2012/050434 WO2012104779A1 (en) 2011-02-02 2012-01-31 Image processing, frequency estimation, mechanical control and illumination for an automatic iv monitoring and controlling system

Country Status (2)

Country Link
CN (1) CN104010676A (en)
WO (1) WO2012104779A1 (en)

Cited By (24)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2014160249A1 (en) * 2013-03-14 2014-10-02 Baxter International Inc. Drip chamber with hydrophobic interior surface
WO2014187432A1 (en) * 2013-05-20 2014-11-27 Tao Kai Video iv monitor
US9199036B2 (en) 2013-02-25 2015-12-01 Shift Labs, Inc. Device, method, and system for monitoring the delivery of fluids through a drip chamber
US9372486B2 (en) 2011-12-21 2016-06-21 Deka Products Limited Partnership System, method, and apparatus for monitoring, regulating, or controlling fluid flow
US9435455B2 (en) 2011-12-21 2016-09-06 Deka Products Limited Partnership System, method, and apparatus for monitoring, regulating, or controlling fluid flow
US9724467B2 (en) 2011-12-21 2017-08-08 Deka Products Limited Partnership Flow meter
US9746094B2 (en) 2011-12-21 2017-08-29 Deka Products Limited Partnership Flow meter having a background pattern with first and second portions
US9746093B2 (en) 2011-12-21 2017-08-29 Deka Products Limited Partnership Flow meter and related system and apparatus
US9759343B2 (en) 2012-12-21 2017-09-12 Deka Products Limited Partnership Flow meter using a dynamic background image
USD799025S1 (en) 2013-11-06 2017-10-03 Deka Products Limited Partnership Apparatus to control fluid flow through a tube
USD802118S1 (en) 2013-11-06 2017-11-07 Deka Products Limited Partnership Apparatus to control fluid flow through a tube
USD813376S1 (en) 2013-11-06 2018-03-20 Deka Products Limited Partnership Apparatus to control fluid flow through a tube
USD815730S1 (en) 2013-11-06 2018-04-17 Deka Products Limited Partnership Apparatus to control fluid flow through a tube
USD816829S1 (en) 2013-11-06 2018-05-01 Deka Products Limited Partnership Apparatus to control fluid flow through a tube
US10088346B2 (en) 2011-12-21 2018-10-02 Deka Products Limited Partnership System, method, and apparatus for monitoring, regulating, or controlling fluid flow
US10228683B2 (en) 2011-12-21 2019-03-12 Deka Products Limited Partnership System, method, and apparatus for monitoring, regulating, or controlling fluid flow
USD854145S1 (en) 2016-05-25 2019-07-16 Deka Products Limited Partnership Apparatus to control fluid flow through a tube
US10488848B2 (en) 2011-12-21 2019-11-26 Deka Products Limited Partnership System, method, and apparatus for monitoring, regulating, or controlling fluid flow
USD905848S1 (en) 2016-01-28 2020-12-22 Deka Products Limited Partnership Apparatus to control fluid flow through a tube
USD964563S1 (en) 2019-07-26 2022-09-20 Deka Products Limited Partnership Medical flow clamp
US11464905B2 (en) 2013-02-25 2022-10-11 Shift Labs, Inc. Monitoring device including an emitter emitting electromagnetic radiation and a detector positioned to receive the radiation to determine one or more rolling average flow rates
US11583630B2 (en) 2010-10-19 2023-02-21 Baxter International Inc. Optical imaging system with multiple imaging channel optical sensing
US11744935B2 (en) 2016-01-28 2023-09-05 Deka Products Limited Partnership Apparatus for monitoring, regulating, or controlling fluid flow
US11839741B2 (en) 2019-07-26 2023-12-12 Deka Products Limited Partneship Apparatus for monitoring, regulating, or controlling fluid flow

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2016114264A1 (en) * 2015-01-13 2016-07-21 株式会社村田製作所 Drip amount measurement device, drip amount controller, intravenous drip device, and droplet volume measurement device
JP7154279B2 (en) 2017-08-11 2022-10-17 エフ・ホフマン-ラ・ロシュ・アクチェンゲゼルシャフト Lenticular labels for medical devices
CN109568724B (en) * 2018-11-14 2021-04-02 南京大学 Infusion dripping speed monitoring system based on RFID passive sensing and working method thereof
CN112540992A (en) * 2020-12-16 2021-03-23 辛集市气象局 Summer corn water shortage index data comprehensive display system

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6159186A (en) * 1998-03-13 2000-12-12 Wft Projects (Proprietary) Limited Infusion delivery system
KR20050039780A (en) * 2005-03-12 2005-04-29 강주완 A system for measuring the flow rate of ringer solution using a mehtod of image signal processing
CN2808160Y (en) * 2005-07-06 2006-08-23 重庆邮电学院 Transfusion-monitoring device
CN101201605A (en) * 2007-12-07 2008-06-18 华中科技大学 System for monitoring and controlling medical transfusion speed based on machine vision
CN201110955Y (en) * 2007-12-07 2008-09-03 华中科技大学 Medical infusion velocity monitoring and controlling device based on machine vision
CN201379841Y (en) * 2008-06-26 2010-01-13 吴秀华 Networked video and audio monitoring system for transfusion
CN201551688U (en) * 2009-12-17 2010-08-18 费凡 Infusion monitoring system

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN201666540U (en) * 2010-04-08 2010-12-08 上海理工大学 Multiple mirror-surface shadowless lamp reflector

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6159186A (en) * 1998-03-13 2000-12-12 Wft Projects (Proprietary) Limited Infusion delivery system
KR20050039780A (en) * 2005-03-12 2005-04-29 강주완 A system for measuring the flow rate of ringer solution using a mehtod of image signal processing
CN2808160Y (en) * 2005-07-06 2006-08-23 重庆邮电学院 Transfusion-monitoring device
CN101201605A (en) * 2007-12-07 2008-06-18 华中科技大学 System for monitoring and controlling medical transfusion speed based on machine vision
CN201110955Y (en) * 2007-12-07 2008-09-03 华中科技大学 Medical infusion velocity monitoring and controlling device based on machine vision
CN201379841Y (en) * 2008-06-26 2010-01-13 吴秀华 Networked video and audio monitoring system for transfusion
CN201551688U (en) * 2009-12-17 2010-08-18 费凡 Infusion monitoring system

Cited By (50)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11583630B2 (en) 2010-10-19 2023-02-21 Baxter International Inc. Optical imaging system with multiple imaging channel optical sensing
US9772044B2 (en) 2011-12-21 2017-09-26 Deka Products Limited Partnership Flow metering using a difference image for liquid parameter estimation
US9435455B2 (en) 2011-12-21 2016-09-06 Deka Products Limited Partnership System, method, and apparatus for monitoring, regulating, or controlling fluid flow
US11449037B2 (en) 2011-12-21 2022-09-20 Deka Products Limited Partnership System, method, and apparatus for monitoring, regulating, or controlling fluid flow
US9372486B2 (en) 2011-12-21 2016-06-21 Deka Products Limited Partnership System, method, and apparatus for monitoring, regulating, or controlling fluid flow
US11339887B2 (en) 2011-12-21 2022-05-24 Deka Products Limited Partnership Flow meter and related method
US9724467B2 (en) 2011-12-21 2017-08-08 Deka Products Limited Partnership Flow meter
US9724466B2 (en) 2011-12-21 2017-08-08 Deka Products Limited Partnership Flow meter
US10894638B2 (en) 2011-12-21 2021-01-19 Deka Products Limited Partnership System, method, and apparatus for monitoring, regulating, or controlling fluid flow
US9746094B2 (en) 2011-12-21 2017-08-29 Deka Products Limited Partnership Flow meter having a background pattern with first and second portions
US9746093B2 (en) 2011-12-21 2017-08-29 Deka Products Limited Partnership Flow meter and related system and apparatus
US11574407B2 (en) 2011-12-21 2023-02-07 Deka Products Limited Partnership System, method, and apparatus for monitoring, regulating, or controlling fluid flow
US10436342B2 (en) 2011-12-21 2019-10-08 Deka Products Limited Partnership Flow meter and related method
US11793928B2 (en) 2011-12-21 2023-10-24 Deka Products Limited Partnership Flow meter and related method
US11738143B2 (en) 2011-12-21 2023-08-29 Deka Products Limited Partnership Flow meier having a valve
US9724465B2 (en) 2011-12-21 2017-08-08 Deka Products Limited Partnership Flow meter
US10876868B2 (en) 2011-12-21 2020-12-29 Deka Products Limited Partnership System, method, and apparatus for monitoring, regulating, or controlling fluid flow
US9856990B2 (en) 2011-12-21 2018-01-02 Deka Products Limited Partnership Flow metering using a difference image for liquid parameter estimation
US10844970B2 (en) 2011-12-21 2020-11-24 Deka Products Limited Partnership Flow meter
US10739759B2 (en) 2011-12-21 2020-08-11 Deka Products Limited Partnership System, method, and apparatus for monitoring, regulating, or controlling fluid flow
US10718445B2 (en) 2011-12-21 2020-07-21 Deka Products Limited Partnership Flow meter having a valve
US9976665B2 (en) 2011-12-21 2018-05-22 Deka Products Limited Partnership Flow meter
US10088346B2 (en) 2011-12-21 2018-10-02 Deka Products Limited Partnership System, method, and apparatus for monitoring, regulating, or controlling fluid flow
US10113660B2 (en) 2011-12-21 2018-10-30 Deka Products Limited Partnership Flow meter
US10228683B2 (en) 2011-12-21 2019-03-12 Deka Products Limited Partnership System, method, and apparatus for monitoring, regulating, or controlling fluid flow
US10488848B2 (en) 2011-12-21 2019-11-26 Deka Products Limited Partnership System, method, and apparatus for monitoring, regulating, or controlling fluid flow
US9759343B2 (en) 2012-12-21 2017-09-12 Deka Products Limited Partnership Flow meter using a dynamic background image
US9199036B2 (en) 2013-02-25 2015-12-01 Shift Labs, Inc. Device, method, and system for monitoring the delivery of fluids through a drip chamber
US11464905B2 (en) 2013-02-25 2022-10-11 Shift Labs, Inc. Monitoring device including an emitter emitting electromagnetic radiation and a detector positioned to receive the radiation to determine one or more rolling average flow rates
US11013860B2 (en) 2013-03-14 2021-05-25 Baxter International Inc. Drip chamber with hydrophobic interior surface
US10314972B2 (en) 2013-03-14 2019-06-11 Baxter International Inc. Drip chamber with hydrophobic interior surface
US9801996B2 (en) 2013-03-14 2017-10-31 Baxter International Inc. Drip chamber with hydrophobic interior surface
US9352081B2 (en) 2013-03-14 2016-05-31 Baxter International Inc. Drip chamber with hydrophobic interior surface
EP3228342A1 (en) * 2013-03-14 2017-10-11 Baxter International Inc Drip chamber with hydrophobic interior surface
WO2014160249A1 (en) * 2013-03-14 2014-10-02 Baxter International Inc. Drip chamber with hydrophobic interior surface
WO2014187432A1 (en) * 2013-05-20 2014-11-27 Tao Kai Video iv monitor
USD816829S1 (en) 2013-11-06 2018-05-01 Deka Products Limited Partnership Apparatus to control fluid flow through a tube
USD815730S1 (en) 2013-11-06 2018-04-17 Deka Products Limited Partnership Apparatus to control fluid flow through a tube
USD813376S1 (en) 2013-11-06 2018-03-20 Deka Products Limited Partnership Apparatus to control fluid flow through a tube
USD802118S1 (en) 2013-11-06 2017-11-07 Deka Products Limited Partnership Apparatus to control fluid flow through a tube
USD799025S1 (en) 2013-11-06 2017-10-03 Deka Products Limited Partnership Apparatus to control fluid flow through a tube
USD943736S1 (en) 2016-01-28 2022-02-15 Deka Products Limited Partnership Apparatus to control fluid flow through a tube
USD905848S1 (en) 2016-01-28 2020-12-22 Deka Products Limited Partnership Apparatus to control fluid flow through a tube
US11744935B2 (en) 2016-01-28 2023-09-05 Deka Products Limited Partnership Apparatus for monitoring, regulating, or controlling fluid flow
USD972125S1 (en) 2016-05-25 2022-12-06 Deka Products Limited Partnership Apparatus to control fluid flow through a tube
USD972718S1 (en) 2016-05-25 2022-12-13 Deka Products Limited Partnership Apparatus to control fluid flow through a tube
USD860437S1 (en) 2016-05-25 2019-09-17 Deka Products Limited Partnership Apparatus to control fluid flow through a tube
USD854145S1 (en) 2016-05-25 2019-07-16 Deka Products Limited Partnership Apparatus to control fluid flow through a tube
USD964563S1 (en) 2019-07-26 2022-09-20 Deka Products Limited Partnership Medical flow clamp
US11839741B2 (en) 2019-07-26 2023-12-12 Deka Products Limited Partneship Apparatus for monitoring, regulating, or controlling fluid flow

Also Published As

Publication number Publication date
CN104010676A (en) 2014-08-27

Similar Documents

Publication Publication Date Title
WO2012104779A1 (en) Image processing, frequency estimation, mechanical control and illumination for an automatic iv monitoring and controlling system
US20140327759A1 (en) Image Processing, Frequency Estimation, Mechanical Control and Illumination for an Automatic IV Monitoring and Controlling system
Liu et al. 3D imaging in volumetric scattering media using phase-space measurements
Boukerroui et al. On the choice of band-pass quadrature filters
Matsuda et al. Finger-vein authentication based on deformation-tolerant feature-point matching
Xu et al. Reconstructions in limited‐view thermoacoustic tomography
US20100079385A1 (en) Method for calibrating an interactive input system and interactive input system executing the calibration method
Chen et al. 2D finite rate of innovation reconstruction method for step edge and polygon signals in the presence of noise
Lee et al. Skewed rotation symmetry group detection
Budianto et al. Marker encoded fringe projection profilometry for efficient 3D model acquisition
Chen et al. Residual analysis for feature detection
Zhao et al. The Fourier-Argand representation: An optimal basis of steerable patterns
Hafs et al. Empirical mode decomposition for online handwritten signature verification
Marfil et al. Combining segmentation and attention: a new foveal attention model
Raj et al. A novel application of Lucy–Richardson deconvolution: bearing fault diagnosis
US20180365810A1 (en) Object image recovery from digital holograms
Fournier Filtering normal maps and creating multiple surfaces
Miura et al. Pose estimation of 2D ultrasound probe from ultrasound image sequences using CNN and RNN
Aydi et al. A robust iris feature extraction approach based on monogenic and 2D log-Gabor filters
ELouedi et al. The polynomial discrete Radon transform
Rangayyan et al. Polygonal approximation of contours based on the turning angle function
Malar et al. Curvelet image denoising of mammogram images
Singh et al. Localized radon polar harmonic transform (LRPHT) based rotation invariant analysis of textured images
Mahmoud Motion analysis of multiple moving objects using Hartley transform
Moniruzzaman et al. Face recognition using 4-PSK joint transform correlation

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 12741497

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 12741497

Country of ref document: EP

Kind code of ref document: A1