Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
and: https://www.ditutor.com/integrals/integral_sin_squared.html
You can do that already?
Combine his code and "possibly better hardware", your's even, with PID.
Line voltage compensation would be harder, and not worked out yet.
I have extensive vacuum experience too and yea, we typically let the pump do it's thing and the choice of pump(s) is used to determine the range. the rough pump can do 50 millitorr minimum depending on model.
The roots blower was a funky one. https://www.cutes.com.tw/root's-blower.htm I never really got into hat one. We only has one of them.
But in general, you usually let the pump do it'd thing and you introduce gas via a leak valve or mass flow controller and throttle the inlet. So, the pressure controller is controlling the throttle valve which controls pressure. I used it with turbo pumps and cryp pumps. I think we had a system that used it with a big roughing pump and one with the roots blower.
Ron,
When I first built this Flow Test Bench some 30yrs ago I built hand controlled variable valves to set either the Vacuum pressure or Positive pressure which the machine is capable of.
The problem with this method is that the Universal Vacuum motors are all running at maximum speed at all times & they tend to get hot even though they are of bypass type & some cooling is always available to them.
When I changed to controlling the motor speed manually via two triac circuits the motors lasted four times as long which is good, because of the nature of the testing where variable test pieces are to be tested the pressure needs to altered many times during a single test session.
Due to various reasons an automated control would certainly help me out & varying the motor speed is really the only answer.
Cheers
The other reason is that I don't take to much notice of the internet, it's full of rubbish & not knowing if things are correct or not
Yes.the OP said:Do we add PID control to this to automate it which is what I prefer?
}
/*
* Auto generated table of % power to timer count.
*
* Uses http://www.ditutor.com/integrals/integral_sin_squared.html
* curve to divide the power into even bins.
*/
static int power_lut_50Hz[100] = {
0, 1161, 1472, 1694, 1872, 2022, 2155, 2277, 2388, 2494,
2594, 2683, 2772, 2855, 2933, 3011, 3088, 3161, 3233, 3299,
3366, 3433, 3494, 3555, 3616, 3677, 3738, 3794, 3855, 3911,
3966, 4022, 4077, 4133, 4183, 4238, 4288, 4344, 4394, 4444,
4500, 4550, 4600, 4650, 4700, 4750, 4800, 4850, 4900, 4949,
5000, 5055, 5105, 5155, 5205, 5255, 5305, 5355, 5405, 5455,
5505, 5561, 5611, 5661, 5716, 5766, 5822, 5872, 5927, 5983,
6038, 6094, 6150, 6211, 6266, 6327, 6388, 6450, 6511, 6572,
6638, 6705, 6772, 6844, 6916, 6994, 7072, 7149, 7233, 7322,
7411, 7511, 7616, 7727, 7850, 7983, 8133, 8311, 8533, 8844,
};
int percent_to_count(int percent)
{
if (percent == 100)
return 0;
if (percent == 0)
return 10000;
return power_lut_50Hz[100 - percent];
}
3. Measure the mains. (ideas fermenting).