$switch_value = array(30,16,8,4,2,1,0.5,0.25,0.122,0.062,0.033,0.015,0.01,0.0075,0.005);
$switch_label = array ("A","B","C","D","E","F","G","H","I","J","K","L","M","N","O");
?>
Back to Main Page |
|
Coil Machine Switch Configuration Calculator
This calculator should ONLY be used for machines designed and built by coilmachines.com |
|
if (($_POST[inductance] == "") || ($_POST[frequency] == "")) {
exit;
}
$capacitance = 1E09/(pow(2*M_PI*$_POST[frequency],2) * $_POST[inductance]);
if ($_POST[frequency] <= 150) {$capacitance =0;}
else if ($capacitance >= 10) {$capacitance = round($capacitance,1);}
else {$capacitance = round($capacitance,2);}
?>
The required capacitance value for echo $_POST[frequency]; ?> Hz is:
echo round($capacitance,2); ?> uF
Please, set the switches marked by an "X" in the following table
to the "ON" position on your coil machine.
|
|
Bypass |
for ($i = 0; $i <= "14"; $i++) {
echo "$switch_label[$i] | ";
}
?>
if ($_POST[frequency] <= 150) {echo "X";}
else {echo "-";}
?>
|
for ($i = 0; $i <= "14"; $i++) {
echo "";
if ($capacitance >= $switch_value[$i]) {echo "X";
$capacitance=$capacitance-$switch_value[$i];}
else {echo "-";}
echo " | ";}
?>
|
|
|