Converting Voltage to Pressure: A Simple Guide for Engineering Students

  • Thread starter Thread starter !Live_4Ever!
  • Start date Start date
AI Thread Summary
To convert voltage readings (1 to 5 volts) to pressure measurements (0 to 200 bars), a linear transformation using the formula P = mV + b is required. By substituting two known points—1 volt corresponding to 0 bars and 5 volts corresponding to 200 bars—two equations can be established to solve for the slope (m) and intercept (b). Specifically, the first equation yields b = -m, and substituting this into the second equation allows for the calculation of m. An alternative method involves directly calculating the slope as the change in pressure over the change in voltage, simplifying the process. This approach provides a clear framework for accurately transforming voltage data into pressure readings.
!Live_4Ever!
Messages
45
Reaction score
0
Hey guys, I am a sophomore college student studying Aerospace Engineering and I am doing an experiment, and i ran into a little math problem that i can't seem to visualize properly.

I have a y-axis where which is a measure of pressure (from 0~200 bars), but expressed in voltages (1 to 5 volts).

In order to properly analyze the results, i have to linearly transform the 1~5 volt scale to a 0~200 bar scale.

I know it involves simple pre-calculus (with the y=mx+b) stuff but I just can't remember whatever I did in high school.

Can anyone help me out here?

Thanks in advance
 
Physics news on Phys.org
The formula y = mx + b you gave is for a straight line, i.e. a linear dependence. For this application, let me rename y to P (for pressure) and x to V (for voltage): P = m V + b.
What you can do now, is simply plug in two points that you want to correspond. For example, if 1 volt corresponds to 0 bar, set V = 1, P = 0 to get
0 = m 1 + b = m + b
Take another point, for example to let 5 volts correspond to 500 bar, set V = 5, P = 500:
500 = 5m + b.

This gives you two equations from which you can solve m and b (for example, the first one gives you b = -m, plugging that into the second one produces 500 = 5m - m = 4m and then you can find m).

(Note that there are faster ways, such as calculating m = delta P / delta V = (200 - 0) / (5 - 1) = 200 / 4 = 50 and then plugging in one point, but this one is more general).
 
I picked up this problem from the Schaum's series book titled "College Mathematics" by Ayres/Schmidt. It is a solved problem in the book. But what surprised me was that the solution to this problem was given in one line without any explanation. I could, therefore, not understand how the given one-line solution was reached. The one-line solution in the book says: The equation is ##x \cos{\omega} +y \sin{\omega} - 5 = 0##, ##\omega## being the parameter. From my side, the only thing I could...
Essentially I just have this problem that I'm stuck on, on a sheet about complex numbers: Show that, for ##|r|<1,## $$1+r\cos(x)+r^2\cos(2x)+r^3\cos(3x)...=\frac{1-r\cos(x)}{1-2r\cos(x)+r^2}$$ My first thought was to express it as a geometric series, where the real part of the sum of the series would be the series you see above: $$1+re^{ix}+r^2e^{2ix}+r^3e^{3ix}...$$ The sum of this series is just: $$\frac{(re^{ix})^n-1}{re^{ix} - 1}$$ I'm having some trouble trying to figure out what to...
Back
Top