The present invention generally relates to measuring velocity, and more particularly to utilizing substance characteristics to detect a time rate of change of position of a body in a given direction.
There are many applications where it is useful to measure velocity of a substance utilizing preexisting system instrumentation without installing velocity metering devices within a system. One such circumstance may include hazardous fluid transport processes, where installing new velocity measuring instrumentation may be impractical or detrimental to safety. For example, in a highly corrosive environment a velocity measurement device may have to be changed routinely due to degradation, in turn exposing maintenance personnel to possible hazards. In other examples, installation of new velocity measurement devices may not be readily possible due to location of the system, such as submerged marine piping or urban sewage systems.
Embodiments of the present invention disclose a method, computer program product, and system for measuring velocity of a substance using data pattern characteristics. A computer receives a first set of data, where the first set of data comprises one or more characteristics of a portion of a substance at a first location. The computer receives a second set of data, where the second set of data comprises one or more characteristics of at least a part of the portion of the substance at a second location. The computer determines that the second set of data is substantially similar to the first set of data and determines the velocity of the substance based on the first set of data and the second set of data.
The present invention may be a system, a method, and/or a computer program product. The computer program product may include a computer readable storage medium (or media) having computer readable program instructions thereon for causing a processor to carry out aspects of the present invention.
The computer readable storage medium can be a tangible device that can retain and store instructions for use by an instruction execution device. The computer readable storage medium may be, for example, but is not limited to, an electronic storage device, a magnetic storage device, an optical storage device, an electromagnetic storage device, a semiconductor storage device, or any suitable combination of the foregoing. A non-exhaustive list of more specific examples of the computer readable storage medium includes the following: a portable computer diskette, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or Flash memory), a static random access memory (SRAM), a portable compact disc read-only memory (CD-ROM), a digital versatile disk (DVD), a memory stick, a floppy disk, a mechanically encoded device such as punch-cards or raised structures in a groove having instructions recorded thereon, and any suitable combination of the foregoing. A computer readable storage medium, as used herein, is not to be construed as being transitory signals per se, such as radio waves or other freely propagating electromagnetic waves, electromagnetic waves propagating through a waveguide or other transmission media (e.g., light pulses passing through a fiber-optic cable), or electrical signals transmitted through a wire.
Computer readable program instructions described herein can be downloaded to respective computing/processing devices from a computer readable storage medium or to an external computer or external storage device via a network, for example, the Internet, a local area network, a wide area network and/or a wireless network. The network may comprise copper transmission cables, optical transmission fibers, wireless transmission, routers, firewalls, switches, gateway computers and/or edge servers. A network adapter card or network interface in each computing/processing device receives computer readable program instructions from the network and forwards the computer readable program instructions for storage in a computer readable storage medium within the respective computing/processing device.
Computer readable program instructions for carrying out operations of the present invention may be assembler instructions, instruction-set-architecture (ISA) instructions, machine instructions, machine dependent instructions, microcode, firmware instructions, state-setting data, or either source code or object code written in any combination of one or more programming languages, including an object oriented programming language such as Smalltalk, C++ or the like, and conventional procedural programming languages, such as the “C” programming language or similar programming languages. The computer readable program instructions may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the latter scenario, the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet Service Provider). In some embodiments, electronic circuitry including, for example, programmable logic circuitry, field-programmable gate arrays (FPGA), or programmable logic arrays (PLA) may execute the computer readable program instructions by utilizing state information of the computer readable program instructions to personalize the electronic circuitry, in order to perform aspects of the present invention.
Aspects of the present invention are described herein with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each block of the flowchart illustrations and/or block diagrams, and combinations of blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer readable program instructions.
These computer readable program instructions may be provided to a processor of a general purpose computer, special purpose computer, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions/acts specified in the flowchart and/or block diagram block or blocks. These computer readable program instructions may also be stored in a computer readable storage medium that can direct a computer, a programmable data processing apparatus, and/or other devices to function in a particular manner, such that the computer readable storage medium having instructions stored therein comprises an article of manufacture including instructions which implement aspects of the function/act specified in the flowchart and/or block diagram block or blocks.
The computer readable program instructions may also be loaded onto a computer, other programmable data processing apparatus, or other device to cause a series of operational steps to be performed on the computer, other programmable apparatus or other device to produce a computer implemented process, such that the instructions which execute on the computer, other programmable apparatus, or other device implement the functions/acts specified in flowchart and/or the block diagram block or blocks.
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods, and computer program products according to various embodiments of the present invention. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of instructions, which comprises one or more executable instructions for implementing the specified logical function(s). In some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems that perform the specified functions or acts or carry out combinations of special purpose hardware and computer instructions.
The present invention provides a method for measuring velocity of a substance by utilizing characteristics of the substance within a conduit. A conduit may be described as any pipe, channel, or tube. Most industrial systems utilize a method for monitoring internal parameters of the conduit to promote efficiency, or safety. An example of such monitoring efforts may include utilization of: temperature, pressure, turbidity, or viscosity sensors within a conduit system. In hazardous applications, the installation of new sensing equipment may be disadvantageous due to safety concerns, economic impact of shutting the system down, inaccessibility, or cost of new equipment. Measuring velocity in most conduits often requires penetration of the pipe wall and insertion of measuring transducers or flow meters. Flow meters are popular because they give a direct measure of fluid velocity, the characteristic most commonly associated with flow rate within a system. These flow meters, however, are some of the most sensitive monitoring devices to process conditions. Since flow meters operate under the assumption of a constant velocity profile, they are inaccurate for flows in the laminar regime. Laminar flow occurs when a fluid flows in parallel layers, with no disruption between the layers. At low velocities the fluid tends to flow without lateral mixing, and adjacent layers slide past one another. This inaccuracy occurs because there is a large difference between the fluid velocity at the wall and at the center of the pipe. This property makes velocity meters especially sensitive to piping geometry and process conditions. In highly corrosive environments, such as saltwater piping, flow meters may have to be constantly maintained or replaced causing a lack of accurate readings. This installation oftentimes has associated labor costs that are greater than the cost of the meter itself. Other problems with such in-flow meters include the tendency for the meters to become clogged and calibration to deteriorate over time. It may be advantageous in such applications to utilize existing sensing equipment to measure velocity.
Some methods utilizing existing system sensors may use algorithmic time alignment of signals, as a processing step in velocity calculation. Dynamic time warping (DTW) is one method to measure velocity in limited applications, such as, open pipe sewage systems. DTW non-linearly expands and compresses signals in time by comparing the temporal distance of the first signal point sequence to that of the second point sequence. The result is a warping path that contains information on how to translate, compress and expand patterns so that similar features are matched. Dynamic time warping (DTW) may be too flexible for velocity estimates in conduits, resulting in an overcompensation of the observed shifts; thereby, suggesting unsuitability of this method for general industrial application. Shifting of the signal patterns in their entirety may provide inaccurate results and require additional data preparation. Even with pre-processed data and introduction of a tracer, velocity estimates calculated using DTW may furnish a significant error under industrial applications.
In contrast, correlation optimized warping (COW) is better suited for calculating velocity estimates. Correlation optimized warping (COW), unlike other methods, considerably simplifies the interpretation of the factor model results and yields more accurate results. To correct for misalignments or shifts in discrete data signals, COW uses small segments to improve results. It is a piecewise or segmented data preprocessing method (operating on one sample record at a time) aimed at aligning a sample data vector towards a reference vector by allowing limited changes in segment lengths on the sample vector. The COW process will be explained in further detail below with reference to
This method allows for greater accuracy without pre-processing data and/or introduction of foreign tracers. Tracer tests, where the introduction of a foreign tracer into the fluid as a measureable characteristic of the substance may be used to determine fluid velocity. A foreign tracer should be uniformly mixed to travel with the mean velocity of the fluid, it also may not introduce any artificial elements which can change the fluid's characteristics, such as velocity, density, solubility, or viscosity. Such tracers must also be easily measured by specific sensors within a system. The current approach employs background variations in a substance characteristic(s) as an ideal tracer and uses COW to determine velocity from these background variations.
Therefore, utilization of COW to calculate velocity by use of existing system sensing means, can answer the long felt need within industrial applications.
An embodiment of the invention may include two sensing locations within a velocity measuring system, where velocity may be measured by preexisting equipment by way of recording fluid (or substance) parameters within a conduit, then analyzing the data to correlate the readings, where the parameters may include any physical property that exhibits a deviating behavior.
The sensing section 20 of velocity measuring system 199 is made up of a upstream sensing element 150 and downstream sensing element 160 separated by a known distance (D) 170 calculated from first measuring point 35 to second measuring point 36.
Sensing elements 150 and 160 may measure signal patterns of flow, fluid, or a substance having time varying properties that are manifested at least in part as changing characteristics within pipe 30. Such properties may be measured at two separate locations to determine time offset between them, in accordance with the embodiment of the present invention. These measured varying properties may have temporal and coherent length scales that differ from other characteristics within the fluid. Signal patterns of the fluid may be measured by preexisting sensing elements 150 and 160 and provide time based readings to upstream transmitter 155 and downstream transmitter 165 within velocity logic section 10. The measured substance may comprise one or more of liquids, gasses, slurry or other substances in a continuously connected phase between sensing elements 150 and 160, in accordance with an embodiment of the invention. Some or all of the functions within velocity logic section 10 may be implemented in software utilizing a computing device, or may be implemented using analog or digital hardware having sufficient parameters to perform the functions in accordance with an embodiment of the invention.
Upstream transmitter 155, and downstream transmitter 165, connected to control module 110 within velocity logic section 10, may receive a set of substance characteristics data from sensing elements 150 and 160. Both transmitters 155 and 165 may amplify and condition the signal patterns prior to sending it to control module 110. It is important to note that transmitters 155 and 165 are an exemplary embodiment and are not required to implement the invention.
Correlation optimized warping module 120 may receive signal patterns from control module 110, and analyze them to identify similar patterns within two distinct signals. Once two distinct but similar signals are determined, correlation optimized warping module 120 may then correlate the distinctive times of each pattern. Using distinct time for each pattern, correlation optimized warping module 120 may calculate the time it took the substance to travel from upstream sensing element 150 to downstream sensing element 160. For example, time delay may be described as the time it takes a specific substance characteristic to travel a known distance between the upstream sensing element 150 and an upstream sensing element 160 along known distance (D) 170 starting at measuring point 35 and ending at measuring point 36.
A graphical representation of time delay is illustrated in
A distance D between the measurement points 35 and 36 is divided by the time delay (ΔT) it takes a signal pattern to travel from upstream sensing element 150 to downstream sensing element 160 within pipe 30 to determine fluid velocity. Assuming, as an example, that the conduit measured is a pipe of equal diameter carrying incompressible fluid at a constant temperature, the velocity of the fluid can be described as:
Velocity (V)=Distance (D)/ΔT Eq. 1
In certain applications, the fluid velocity can be converted to volumetric flow rates, where:
Volumetric Flow Rate (Q)=V(Cross-Sectional Vector Area (A)) Eq. 2
Although the embodiments of the invention described herein are directed to flow of water through an equal diameter pipe, it will be appreciated by those of skill in the art that these embodiments are not limited to only this application, but instead can be practiced with all forms of transport processes, including but not limited to, gasses, curved piping, open channels and turbulent flows.
Referring to
In contrast,
The distances w and m define the section lengths for the target profile and the unaligned signal. The deviation between section lengths Δ 220 (
Δ=(LT/N)−m Eq. 3
Range of possible warping (u) is determined by the input integer (t) that expresses maximum warping 215, thereby warping may be expressed as;
u
max=[Δ(−t);Δ(+t)] Eq. 4
As an example, if warping belongs to a range (−2;2), five possible positions of ending point and each section (N) 205 is tested.
Referring to
The boundary values 230 and 235 are represented as;
J
start=max[(i−1)(m+Δ−t);LT−(N−i+1)(m+Δ+t)]+1 Eq. 6
J
end=min[(i−1)(m+Δ+t);LT−(N−i+1)(m+Δ−t)]+1 Eq. 7
Correlation coefficient is calculated for each possible position of ending point f(i,j), varying all possible warping (u) in the range (−Δ (t); Δ (t)) and added to the value of the benefit function for previous ending point. Only the highest value of the cumulative correlation coefficient is kept in Matrix F. The path through Matrix F that maximizes the benefit function, as shown by the grey in
Referring to
In an exemplary embodiment, the invention may utilize a dynamic programming method for calculating and locating linear stretches combined with the matrix layout shown in
Referring back to
Corresponding unaligned profile (t2) 305 may refer to signal data components which exhibit the same signal at a different retention time than a target profile (t1) 300, in accordance with embodiments of the invention. As an example,
Correlation optimized warping module 120 may then shift the secondary unaligned profile's (t2) 305 retention time by adjusting the column length to coincide with target profile (t1) 300. As evidenced by
Referring back to
Control module 110 can include one or more processors 402, one or more computer-readable RAMs 404, one or more computer-readable ROMs 406, one or more tangible storage devices 408, device drivers 412, read/write drive or interface 414, and network adapter or interface 416, all interconnected over a communications fabric 418. Communications fabric 418 can be implemented with any architecture designed for passing data and/or control information between processors (such as microprocessors, communications and network processors, etc.), system memory, peripheral devices, and any other hardware components within a system.
One or more operating systems 410, correlation optimized warping module 120, and velocity processing unit 130 are stored on one or more of the computer-readable tangible storage devices 408 for execution by one or more of the processors 402 via one or more of the respective RAMs 404 (which typically include cache memory). In the illustrated embodiment, each of the computer-readable tangible storage devices 408 can be a magnetic disk storage device of an internal hard drive, CD-ROM, DVD, memory stick, magnetic tape, magnetic disk, optical disk, a semiconductor storage device such as RAM, ROM, EPROM, flash memory or any other computer-readable tangible storage device that can store a computer program and digital information.
Control module 110 can also include a R/W drive or interface 414 to read from and write to one or more portable computer-readable tangible storage devices 426. Correlation optimized warping module 120 and velocity processing unit 130 on control module 110 can be stored on one or more of the portable computer-readable tangible storage devices 426, read via the respective R/W drive or interface 414 and loaded into the respective computer-readable tangible storage device 408.
Control module 110 can also include a network adapter or interface 416, such as a TCP/IP adapter card or wireless communication adapter (such as a 4G wireless communication adapter using OFDMA technology). Correlation Optimized Warping Module 120 and velocity processing unit 130 on control module 110 can be downloaded to the computing device from an external computer or external storage device via a network (for example, the Internet, a local area network or other, wide area network or wireless network) and network adapter or interface 416. From the network adapter or interface 416, the programs are loaded into the computer-readable tangible storage device 408. The network may comprise copper wires, optical fibers, wireless transmission, routers, firewalls, switches, gateway computers and/or edge servers.
Control module 110 can also include a display screen 420, a keyboard or keypad 422, upstream transmitter 155, downstream transmitter 165 and a computer mouse or touchpad 424. Device drivers 412 interface to display screen 420 for imaging, to keyboard or keypad 422, to computer mouse or touchpad 424, and/or to display screen 420 for pressure sensing of alphanumeric character entry and user selections. The device drivers 412, R/W drive or interface 414 and network adapter or interface 416 can comprise hardware and software (stored in computer-readable tangible storage device 408 and/or ROM 406).
The programs described herein are identified based upon the application for which they are implemented in a specific embodiment of the invention. However, it should be appreciated that any particular program nomenclature herein is used merely for convenience, and thus the invention should not be limited to use solely in any specific application identified and/or implied by such nomenclature.
Although preferred embodiments have been depicted and described in detail herein, it will be apparent to those skilled in the relevant art that various modifications, additions, substitutions and the like can be made without departing from the spirit of the invention, and these are, therefore, considered to be within the scope of the invention, as defined in the following claims.