|
| 1 | +--- |
| 2 | +layout: page |
| 3 | +title: Calculadora para Transformadores |
| 4 | +--- |
| 5 | + |
| 6 | +<script language="JavaScript"> |
| 7 | +<!-- |
| 8 | + |
| 9 | +function calcula() { |
| 10 | + |
| 11 | + Vp=parseFloat(calcForm.Vpx.value); |
| 12 | + Vs=parseFloat(calcForm.Vsx.value); |
| 13 | + Is=parseFloat(calcForm.Isx.value); |
| 14 | + F=parseFloat(calcForm.Fx.value); |
| 15 | + |
| 16 | + if (Vp<0.001) { |
| 17 | + alert("Valor incorreto. Favor revisar a tensão de primário!!"); |
| 18 | + } |
| 19 | + if (Vs<0.001) { |
| 20 | + alert("Valor incorreto. Favor revisar a tensão de secundário!"); |
| 21 | + } |
| 22 | + if (F<1) { |
| 23 | + alert("Valor incorreto. Favor revisar a frequencia de operação!"); |
| 24 | + } |
| 25 | + if (F>121) { |
| 26 | + alert("Valor incorreto. Favor revisar a frequencia de operação!"); |
| 27 | + } |
| 28 | + if (Is<0.001) { |
| 29 | + alert("Valor incorreto. Favor revisar corrente de secundário!"); |
| 30 | + } |
| 31 | + |
| 32 | + Np=0; |
| 33 | + Ns=0; |
| 34 | + Fiop=0; |
| 35 | + Fios=0 |
| 36 | + Ip=0; |
| 37 | + S=0; |
| 38 | + |
| 39 | + Ps=Vs*Is; |
| 40 | + Pp=1.15*Ps |
| 41 | + S=Math.sqrt(Pp/0.73); |
| 42 | + Np=2815.315*Vp/(F*S); |
| 43 | + k=Np/Vp; |
| 44 | + Ns=1.1*k*Vs; |
| 45 | + Ip=Pp/Vp; |
| 46 | + Fiop=Ip/2.0; |
| 47 | + Fios=Is/2.0; |
| 48 | + |
| 49 | + Awgp=17.15576-4.312466032*Math.log(Fiop) |
| 50 | + Awgs=17.15576-4.312466032*Math.log(Fios) |
| 51 | + |
| 52 | + document.calcForm.Npx.value=Math.round(Np+0.1); |
| 53 | + document.calcForm.Fiopx.value=Math.round(Fiop*100.0)/100.0; |
| 54 | + document.calcForm.Nsx.value=Math.round(Ns+0.1); |
| 55 | + document.calcForm.Fiosx.value=Math.round(Fios*100.0)/100.0; |
| 56 | + document.calcForm.Axx.value=Math.round(S*1000.0)/1000.0; |
| 57 | + document.calcForm.Ipx.value=Math.round(Ip*10000.0)/10000.0; |
| 58 | + |
| 59 | + document.calcForm.Fiopxx.value=Math.round(Fiop*100.0)/100.0; |
| 60 | + document.calcForm.Fiosxx.value=Math.round(Fios*100.0)/100.0; |
| 61 | + document.calcForm.Awgpx.value=Math.round(Awgp); |
| 62 | + document.calcForm.Awgsx.value=Math.round(Awgs); |
| 63 | + |
| 64 | +} |
| 65 | + |
| 66 | + |
| 67 | +// --> |
| 68 | +</script> |
| 69 | +<style> |
| 70 | +input { |
| 71 | + color: initial; |
| 72 | + letter-spacing: normal; |
| 73 | + word-spacing: normal; |
| 74 | + display: inline-block; |
| 75 | + background-color: white; |
| 76 | + cursor: text; |
| 77 | + border-width: 2px; |
| 78 | + border-style: inset; |
| 79 | + border-color: initial; |
| 80 | + border-image: initial; |
| 81 | + box-sizing: inherit; |
| 82 | + font: 400 13.3333px Arial; |
| 83 | + font-family: sans-serif; |
| 84 | + /* font-size: 100%; */ |
| 85 | + /* line-height: inherit; */ |
| 86 | + /* line-height: 1.15; */ |
| 87 | + margin: 0em; |
| 88 | + margin: 0; |
| 89 | + overflow: visible; |
| 90 | + padding: 1px; |
| 91 | + padding: 1px 0px; |
| 92 | + text-rendering: auto; |
| 93 | + text-transform: none; |
| 94 | + text-indent: 0px; |
| 95 | + text-shadow: none; |
| 96 | + text-align: start; |
| 97 | + touch-action: manipulation; |
| 98 | + -webkit-writing-mode: horizontal-tb !important; |
| 99 | + -webkit-appearance: textfield; |
| 100 | + -webkit-rtl-ordering: logical; |
| 101 | + -webkit-box-sizing: inherit; |
| 102 | + -ms-touch-action: manipulation; |
| 103 | + } |
| 104 | +</style> |
| 105 | +<center> |
| 106 | + |
| 107 | +<form name="calcForm"> |
| 108 | + |
| 109 | +<table border="0" width="700"> |
| 110 | + |
| 111 | +<tbody><tr align="left" valign="top"> |
| 112 | + |
| 113 | +<td align="left" valign="top" width="230"> |
| 114 | +<img src="/assets/images/transformadores/transf01.gif" alt="Transformador" height="304" width="206" border="0" vspace="0" hspace="0" align="left"> |
| 115 | +</td> |
| 116 | + |
| 117 | +<td align="right" valign="top" width="425"> |
| 118 | +<font color="#0000AA">Parâmetros do projeto:</font><br/> |
| 119 | + Tensão de primário = |
| 120 | +<input type="text" name="Vpx" size="6" value="110" maxlength="6"><br> |
| 121 | +Tensão de secundário = <input type="text" name="Vsx" size="6" value="12" maxlength="6"><br> |
| 122 | +Corrente de secundário = <input type="text" name="Isx" size="6" value="1" maxlength="6"><br> |
| 123 | +Freqüência de operação = <input type="text" name="Fx" size="4" value="60" maxlength="4"><br> |
| 124 | + |
| 125 | +<font size="-2"> <br></font> |
| 126 | + |
| 127 | +<font color="#0000AA">Valores calculados:</font> |
| 128 | +(<font size="-1">valores aproximados para referencia</font>)<br> |
| 129 | +<font size="-2"> <br></font> |
| 130 | +Nº espiras primário=<input type="text" name="Npx" size="5" maxlength="5"><br /> |
| 131 | +Seção do fio primário=<input type="text" name="Fiopx" size="4" maxlength="4"> |
| 132 | +<font size="-1">mm²</font><br> |
| 133 | +Nº espiras secundário=<input type="text" name="Nsx" size="5" maxlength="5"> |
| 134 | +Seção do fio secundário=<input type="text" name="Fiosx" size="4" maxlength="4"> |
| 135 | +<font size="-1">mm²</font><br> |
| 136 | +Área do núcleo=<input type="text" name="Axx" size="8" maxlength="8"> |
| 137 | +<font size="-1">cm²</font><br> |
| 138 | +Corrente de primário=<input type="text" name="Ipx" size="9" maxlength="9"> |
| 139 | +<font size="-1">A</font><br> |
| 140 | + |
| 141 | +<font color="#0000AA">Equivalências p/ cabos elétricos:</font><br /> |
| 142 | +<input type="text" name="Fiopxx" size="4" maxlength="4"><font size="-1">mm² </font> |
| 143 | += <input type="text" name="Awgpx" size="3" maxlength="3"> <font size="-1">AWG</font><br> |
| 144 | +<input type="text" name="Fiosxx" size="4" maxlength="4"><font size="-1">mm² </font> |
| 145 | += <input type="text" name="Awgsx" size="3" maxlength="3"> <font size="-1">AWG</font><br> |
| 146 | + |
| 147 | +<font color="#0000AA" size="-1">(*) Nota:</font><font size="-1"> Perda de potência |
| 148 | +assumida arbitrariamente como 15%.</font><br> |
| 149 | +<font size="-2"> <br></font> |
| 150 | + |
| 151 | +</td> |
| 152 | + |
| 153 | +<td align="right" valign="top" width="45"> |
| 154 | +(<font size="+1">V</font>ca)<br>(<font size="+1">V</font>ca)<br> |
| 155 | +(<font size="+1">A</font>)<br>(<font size="+1">H</font>z)<br> |
| 156 | +</td> |
| 157 | + |
| 158 | +</tr></tbody></table> |
| 159 | + |
| 160 | +<table border="0" width="600"><tbody><tr align="center"> |
| 161 | +<td align="center" valign="top" width="600"><center><br> |
| 162 | +<input type="button" value="Calcular" onclick="calcula()"> |
| 163 | + <input type="reset" value="Limpar"> |
| 164 | +</center></td></tr></tbody></table> |
| 165 | + |
| 166 | +</form> |
| 167 | + |
| 168 | +</center> |
0 commit comments