4, 'B' => 4, 'C' => 4 ); $voltage_span = array( 'B' => 20, 'C' => 20 ); $range_trans = array ( 'A' => 13.5, 'C' => 13.5 ); $voltage_supply = array ( 'A' => 5, 'B' => 5 ); $section = 'A'; $max_voltage_span = $range_app['A']*($voltage_supply['A'] - 2)/$range_trans['A']; $min_voltage_span = $range_app['A']*1.2/$range_trans['A']; $max_sens = $max_voltage_span/$range_app['A']; $min_sens = $min_voltage_span/$range_app['A']; $max_range = $range_app['B']*($voltage_supply['B'] - 2)/$voltage_span['B']; $min_voltage_supply = ($range_trans['C']*$voltage_span['C']/$range_app['C']) + 2; } else { $keys = array_keys($calculate); $section = $keys[0]; // we got the section index (A, B, or C) } $errors = array(); function checkField(&$field, $defaultValue, $fieldName, $addValues = array()) { global $errors; $fieldLength = strlen($field); $fieldString = ""; for ($i = 0; $i< $fieldLength; $i++) { $char = substr($field, $i, 1); if (is_numeric($char) || $char == ".") { $fieldString.= $char; } else { $errors[] = 'DATA ENTRY ERROR: "'.$fieldName.'" must have numeric value.'; break; } } $numVal = floatval($fieldString); //var_dump($field); if ($numVal <= 0) { $errors[] = 'DATA ENTRY ERROR: "'.$fieldName.'" must be greater then 0.'; //$field = $defaultValue; } foreach ($addValues as $v) { if ($field == $v) { $errors[] = 'DATA ENTRY ERROR: "'.$fieldName.'" can not equals to '.$v; //$field = $defaultValue; break; } } } switch ($section) { case 'A': // perform input validation for each section checkField($range_app[$section], 4, 'range of application'); //checkField($voltage_span[$section], 20, 'Maximum voltage span for range of application'); checkField($range_trans[$section], 13.5, 'range of transducer'); checkField($voltage_supply[$section], 5, 'voltage supply', array(2)); if (count($errors) == 0) { $max_voltage_span = $range_app[$section]*($voltage_supply[$section] - 2)/$range_trans[$section]; $min_voltage_span = $range_app[$section]*1.2/$range_trans[$section]; $max_sens = $max_voltage_span/$range_app[$section]; $min_sens = $min_voltage_span/$range_app[$section]; } break; case 'B': checkField($range_app[$section], 4, 'range of application'); checkField($voltage_span[$section], 20, 'maximum voltage span for range of application'); checkField($voltage_supply[$section], 5, 'voltage supply'); if (count($errors) == 0) { $max_voltage_span = $voltage_span[$section]; $min_voltage_span = $voltage_span[$section]*1.2/($voltage_supply[$section] - 2); $max_range = $range_app[$section]*($voltage_supply[$section] - 2)/$voltage_span[$section]; } break; case 'C': checkField($range_app[$section], 4, 'range of application'); checkField($voltage_span[$section], 20, 'maximum voltage span for range of application'); checkField($range_trans[$section], 13.5, 'range of transducer'); if (count($errors) == 0) { $max_voltage_span = $voltage_span[$section]; $min_voltage_span = $range_app[$section]*1.2/$range_trans[$section]; // $min_voltage_supply = ($range_trans[$section]*$voltage_span[$section]/$range_app[$section]) + 2; $min_voltage_supply_temp = ($range_trans['C']*$voltage_span['C']/$range_app['C']) + 2; $min_voltage_supply = max($min_voltage_supply_temp, 7.0); } break; } ?>
This calculator gives you information on the zero and span adjustability of transducers with the voltage conditioner electrical output feature. To use this calculator:
| OUTPUTS | > A | > B | > C | Unit of Measure |
| zero control | 0 to 100 | % of span | ||
| max voltage span for transducer's displacement (actual) | VDC | |||
| min voltage span for transducer's displacement (actual) | VDC | |||
| max sensitivity | V/unit displacement | |||
| min sensitivity | V/unit displacement | |||
| max transducer's range (design) | unit displacement | |||
| min power supply voltage required | VDC | |||
| DEMONSTRATION OF OUTPUT FLEXIBILITY | |||||
| For the variables shown in column =$section?> above, below are examples of the voltage conditioner's output flexibility. | |||||
| The voltage span can be varied from minimum to maximum or anywhere in between and is user-settable. | |||||
| single-ended, maximum span | 0 to VDC | ||||
| single-ended, minimum span | 0 to VDC | ||||
| differential, maximum span | to VDC | ||||
| differential, minimum span | to VDC | ||||
| single-ended, zero control at 100% of range | to 0 VDC | ||||

voltage conditioner block diagram
Other calculators:
No Warranties: This calculator and information are provided "as is" without any warranty, condition, or representation of any kind, either express or implied, including but not limited to, any warranty respecting non-infringement, and the implied warranties of conditions of merchantability and fitness for a particular purpose. In no event shall SpaceAge Control, Inc. be liable for any direct, indirect, special, incidental, consequential or other damages howsoever caused whether arising in contract, tort, or otherwise, arising out of or in connection with the use or performance of the information contained on this Web page.