How Can Fault Detection Be Modeled in a Water Tank System?

  • #1
DumpmeAdrenaline
78
2
I am assigned to work on a project where I am required to perform multiple types of data analyses on process data using Python or Matlab. The analyses chosen must relate to at least one process objective (e.g., fault detection). I am required to choose one basic linear technique and one more advanced technique.

I was thinking to consider model a simple system like a water storage tank with two pumps and two valves aimed at maintaining a certain set point. I am uncertain about where to begin. Should I start by modeling water tank system using differential equations that describe the rate of change of water level in the tank to generate data representing normal operating conditions. Then I would introduce faults in the form of sensors biases to generate faulty data. I am not aware on how one can model bias to accurately represent the behavior of a sensor. Also, how can I apply regression techniques to predict the water level if I lack actual measurements?
 
Physics news on Phys.org
  • #2
Were I to do this I would probably generate the data using excel. There is not that much data required. First generate "normal data" and then apply various systematic biases and random biases to create miscreant data. This choice of model will give you no particular requirements for speed of response which is often important in the real world.
 
  • Like
Likes DumpmeAdrenaline
  • #3
I perhaps misunderstand the assignment. Is this an exercise in sensor design or feedback control?
 
  • #4
The project is not focused on sensor design or feedback control.Instead, the goal is to perform data analysis on process data using Python or Matlab. The chosen data analysis techniques should be related to at least one process objective, such as fault detection.Since I couldn't find a suitable process dataset on Kaggle, I decided to model a simple, non-reactive system such as a water tank with a pump, inlet valve, outlet valve, and two sensors high level sensor and low level sensor.

My approach (I am not sure if its correct)
1) Solve the ODE modelling the tank without introducing any sensor bias to generate normal data.

2) Introduce sensor bias and solve the ODE again to generate faulty data. I am not sure how to model that

3) Apply classification algorithm to classify data as normal or fault.
 
  • #5
So is the purpose of this excercise to develop an algorithm that can automatically classify, afer the fact, whether the accumulated data represents normal operation of the system or a system fault? I am curious as to why this is a useful exercise. Would you not want a real time system to do this? Is this designed to lighten the load on insurance adjusters? Just askin'........

So yes you need to create a simulacrum of the normal system using MATLAB or Excel and create normal data. Then you need to randomly reasonably screw up the system to create schizophrenic data and use these to "black box test" your fault detection. Preferably the person who screws up the system should be different from (and not familiar with) the designer of the fault detection.
 
  • #6
I totally agree with you in how is this useful. I am purposely inducing random faults and trying to model that. But I am curious to know from you how would one go about to simulate the normal state/fault state of a real tank system? Do we manipulate variables that we think might affect the system (valve opening, pump power, flow rates) and subject them to the level constraints?
 
  • #7
DumpmeAdrenaline said:
I totally agree with you in how is this useful. I am purposely inducing random faults and trying to model that. But I am curious to know from you how would one go about to simulate the normal state/fault state of a real tank system? Do we manipulate variables that we think might affect the system (valve opening, pump power, flow rates) and subject them to the level constraints?
Yes.

How about a tank where the water level must be maintained between high and low limits?
1) the limits could be sensed with float switches, pressure measurement at the bottom of the tank, pressure measurement measurement at the top of the tank (if the tank is air-tight)
2) pumps that come on to either add or remove water to maintain the water level

3) you will have to find a way to recognize the "normal" water level changes as it relates to the pump and valve operations
4) introduce random faults of sensors and/or pump flow (sensor reading not changing when it should, changing too fast, pump flow lower than "normal", etc.)

5) compare current sensor readings with "normal" readings to detect that servicing is needed

Now that I've done the first 5% of your project... HAVE FUN!
(you'll have to be creative. :H)

Cheers,
Tom
 
  • Like
Likes DumpmeAdrenaline and hutchphd
  • #8
This reminds me a little bit of the simulations NASA runs to investigate and optimize crew response. I don't know how they selected the failures used for test analysis. As witnessed by both Apollo12 (lightning strikes) and Apollo 13 (abusive previous ground handling overvoltages) the actual failure modes were far weirder than any of their sims. So the difficult part of this testing paradigm is creating a relatively complete and comprehensive set of multiple failure modes ( which is sort of impossible on its face). Probably one should look at comprehensive failure rate data for the various system components and weight the random injected failures appropriately. I'll bet you will discover faults that will boggle the mind. Non-linear dynamic system!
This part of the assignment is, IMHO, a very good learning exercise and far more important than the actual design of the detection system (although they are sort of "mirror image" processes). If you are having trouble gettimg started, just divise the simplest tank system you can think of and play with it for a while. Try to keep it flexible and make it more complicated as needed. Sounds like good geeky STEM fun.
 
  • Like
Likes DumpmeAdrenaline and Tom.G

1. What is "Water tank fault Detection"?

"Water tank fault Detection" is a process of using sensors and technology to monitor and detect any potential issues or faults in a water tank system. This can include leaks, low water levels, or other malfunctions.

2. Why is "Water tank fault Detection" important?

"Water tank fault Detection" is important because it helps to prevent potential damage to the water tank system, as well as ensuring a continuous supply of clean water. It can also save time and money by detecting issues early on and preventing them from becoming larger problems.

3. How does "Water tank fault Detection" work?

The specific process of "Water tank fault Detection" may vary depending on the system and technology used, but generally it involves installing sensors and monitoring equipment in and around the water tank. These sensors can detect changes in water levels, pressure, and other factors that may indicate a fault or issue. The data collected by the sensors is then analyzed and alerts are sent to the appropriate parties if a fault is detected.

4. What are the benefits of using "Water tank fault Detection"?

Some of the benefits of using "Water tank fault Detection" include early detection of potential issues, which can save time and money in repairs and maintenance. It also helps to ensure a continuous supply of clean water and can improve the overall efficiency of the water tank system.

5. Are there any limitations to "Water tank fault Detection"?

While "Water tank fault Detection" can be a valuable tool, it is not foolproof and may have limitations. For example, sensors may not detect very small leaks or may not be able to detect issues in certain areas of the tank. It is important to regularly check and maintain the water tank system in addition to using "Water tank fault Detection" technology.

Similar threads

  • Engineering and Comp Sci Homework Help
2
Replies
56
Views
3K
Replies
50
Views
4K
  • Engineering and Comp Sci Homework Help
Replies
6
Views
2K
  • Engineering and Comp Sci Homework Help
Replies
1
Views
2K
Replies
6
Views
4K
Replies
17
Views
2K
  • Engineering and Comp Sci Homework Help
Replies
7
Views
965
  • Engineering and Comp Sci Homework Help
Replies
1
Views
1K
  • Engineering and Comp Sci Homework Help
Replies
1
Views
917
  • DIY Projects
Replies
8
Views
3K
Back
Top