convert last formula to markdown. Make them translatable.
This commit is contained in:
parent
ef66704e58
commit
1cbe1171ef
|
@ -188,8 +188,8 @@ endfunction()
|
||||||
|
|
||||||
md_doc2h( ${CMAKE_CURRENT_SOURCE_DIR}/attenuators/bridget_tee_formula )
|
md_doc2h( ${CMAKE_CURRENT_SOURCE_DIR}/attenuators/bridget_tee_formula )
|
||||||
md_doc2h( ${CMAKE_CURRENT_SOURCE_DIR}/attenuators/splitter_formula )
|
md_doc2h( ${CMAKE_CURRENT_SOURCE_DIR}/attenuators/splitter_formula )
|
||||||
html_doc2h( ${CMAKE_CURRENT_SOURCE_DIR}/attenuators/pi_formula )
|
md_doc2h( ${CMAKE_CURRENT_SOURCE_DIR}/attenuators/pi_formula )
|
||||||
html_doc2h( ${CMAKE_CURRENT_SOURCE_DIR}/attenuators/tee_formula )
|
md_doc2h( ${CMAKE_CURRENT_SOURCE_DIR}/attenuators/tee_formula )
|
||||||
|
|
||||||
set( DOCS_LIST
|
set( DOCS_LIST
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}/attenuators/pi_formula.h
|
${CMAKE_CURRENT_SOURCE_DIR}/attenuators/pi_formula.h
|
||||||
|
|
|
@ -1,8 +1,9 @@
|
||||||
__Zin__ desired input impedance in Ω<br>
|
|
||||||
__Zout__ desired output impedance __Zin = Zout__
|
|
||||||
|
|
||||||
### Bridged tee attenuator:
|
### Bridged tee attenuator:
|
||||||
|
__Zin__ desired input impedance in Ω<br>
|
||||||
|
__Zout__ desired output impedance<br>
|
||||||
|
__Z<sub>0</sub> = Zin = Zout__<br><br>
|
||||||
|
|
||||||
* __a__ attenuation in dB
|
* __a__ attenuation in dB
|
||||||
* __L = 10<sup>a/20</sup>__ (the loss)
|
* __L = 10<sup>a/20</sup>__ (the loss)<br><br>
|
||||||
* ___R1 = Zin * (L - 1)___
|
* ___R1 = Z<sub>0</sub> * (L - 1)___
|
||||||
* ___R2 = Zin / (L - 1)___
|
* ___R2 = Z<sub>0</sub> / (L - 1)___
|
|
@ -1,44 +0,0 @@
|
||||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
|
|
||||||
<html>
|
|
||||||
<head>
|
|
||||||
<meta http-equiv="content-type" content="text/html; charset=windows-1252"/>
|
|
||||||
<title></title>
|
|
||||||
<meta name="generator" content="LibreOffice 5.0.3.2 (Windows)"/>
|
|
||||||
<meta name="created" content="00:00:00"/>
|
|
||||||
<meta name="changed" content="2016-01-16T13:32:32.474000000"/>
|
|
||||||
<style type="text/css">
|
|
||||||
@page { margin: 2cm }
|
|
||||||
p { margin-bottom: 0.25cm; line-height: 120% }
|
|
||||||
a:link { so-language: zxx }
|
|
||||||
</style>
|
|
||||||
</head>
|
|
||||||
<body lang="fr-FR" dir="ltr">
|
|
||||||
<p style="margin-bottom: 0cm; font-style: normal; font-weight: normal; line-height: 100%">
|
|
||||||
<font face="Times New Roman, serif"><font size="6" style="font-size: 22pt"><b>Z</b><sub><b>in</b></sub>
|
|
||||||
desired input impedance in Ω</font></font></p>
|
|
||||||
<p style="margin-bottom: 0cm; font-style: normal; font-weight: normal; line-height: 100%">
|
|
||||||
<font face="Times New Roman, serif"><font size="6" style="font-size: 22pt"><b>Z</b><sub><b>out</b></sub><sub>
|
|
||||||
</sub> desired output impedance in Ω</font></font></p>
|
|
||||||
<p style="margin-bottom: 0cm; font-style: normal; font-weight: normal; line-height: 100%">
|
|
||||||
<font face="Times New Roman, serif"><font size="6" style="font-size: 22pt">a
|
|
||||||
attenuation in dB</font></font></p>
|
|
||||||
<p style="margin-bottom: 0cm; font-style: normal; font-weight: normal; line-height: 100%">
|
|
||||||
<font face="Times New Roman, serif"><font size="6" style="font-size: 22pt">L
|
|
||||||
= 10<sup>a/10</sup> (the loss)</font></font></p>
|
|
||||||
<p style="margin-bottom: 0cm; font-style: normal; font-weight: normal; line-height: 100%">
|
|
||||||
<font face="Times New Roman, serif"><font size="6" style="font-size: 22pt">A
|
|
||||||
= (L + 1)/(L − 1)</font></font></p>
|
|
||||||
<p style="margin-bottom: 0cm; font-style: normal; font-weight: normal; line-height: 100%">
|
|
||||||
<br/>
|
|
||||||
|
|
||||||
</p>
|
|
||||||
<p style="margin-bottom: 0cm; font-style: normal; line-height: 100%"><font face="Times New Roman, serif"><font size="6" style="font-size: 28pt"><b>Pi
|
|
||||||
attenuator</b></font></font></p>
|
|
||||||
<p style="margin-bottom: 0cm; line-height: 100%"><font face="Times New Roman, serif"><font size="6" style="font-size: 28pt"><i><b>R2
|
|
||||||
= (L − 1)/2 * √ ((Z<sub>in</sub> * Z<sub>out</sub>)/L)</b></i></font></font></p>
|
|
||||||
<p style="margin-bottom: 0cm; line-height: 100%"><font face="Times New Roman, serif"><font size="6" style="font-size: 28pt"><i><b>R1
|
|
||||||
= 1/( A/Z<sub>in</sub> − 1/R2)</b></i></font></font></p>
|
|
||||||
<p style="margin-bottom: 0cm; line-height: 100%"><font face="Times New Roman, serif"><font size="6" style="font-size: 28pt"><i><b>R3
|
|
||||||
= 1/ (A/Z<sub>out</sub> − 1/R2)</b></i></font></font></p>
|
|
||||||
</body>
|
|
||||||
</html>
|
|
|
@ -0,0 +1,11 @@
|
||||||
|
## Pi attenuator
|
||||||
|
__Zin__ desired input impedance in Ω<br>
|
||||||
|
__Zout__ desired output impedance<br>
|
||||||
|
__Zin = Zout__<br><br>
|
||||||
|
|
||||||
|
* __a__ attenuation in dB
|
||||||
|
* __L = 10<sup>a/20</sup>__ (the loss)
|
||||||
|
* __A = (L + 1)/(L - 1)__<br><br>
|
||||||
|
* ___R2 = (L- 1)/2 . √ ( (Zin . Zout) / L)___
|
||||||
|
* ___R1 = 1/( A/Zin - 1/R2 )___
|
||||||
|
* ___R3 = 1/ (A/Zout - 1/R2 )___
|
|
@ -1,47 +0,0 @@
|
||||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
|
|
||||||
<html>
|
|
||||||
<head>
|
|
||||||
<meta http-equiv="content-type" content="text/html; charset=windows-1252"/>
|
|
||||||
<title></title>
|
|
||||||
<meta name="generator" content="LibreOffice 5.0.3.2 (Windows)"/>
|
|
||||||
<meta name="created" content="00:00:00"/>
|
|
||||||
<meta name="changed" content="2016-01-16T13:25:20.291000000"/>
|
|
||||||
<style type="text/css">
|
|
||||||
@page { margin: 2cm }
|
|
||||||
p { margin-bottom: 0.25cm; line-height: 120% }
|
|
||||||
a:link { so-language: zxx }
|
|
||||||
</style>
|
|
||||||
</head>
|
|
||||||
<body lang="fr-FR" dir="ltr">
|
|
||||||
<p style="margin-bottom: 0cm; font-style: normal; font-weight: normal; line-height: 100%">
|
|
||||||
<font face="Times New Roman, serif"><font size="6" style="font-size: 22pt">Z<sub>in</sub>
|
|
||||||
desired input impedance in Ω</font></font></p>
|
|
||||||
<p style="margin-bottom: 0cm; font-style: normal; font-weight: normal; line-height: 100%">
|
|
||||||
<font face="Times New Roman, serif"><font size="6" style="font-size: 22pt">Z<sub>out</sub>
|
|
||||||
desired output impedance in Ω</font></font></p>
|
|
||||||
<p style="margin-bottom: 0cm; font-style: normal; font-weight: normal; line-height: 100%">
|
|
||||||
<font face="Times New Roman, serif"><font size="6" style="font-size: 22pt">a
|
|
||||||
attenuation in dB</font></font></p>
|
|
||||||
<p style="margin-bottom: 0cm; font-weight: normal; line-height: 100%">
|
|
||||||
<font face="Times New Roman, serif"><font size="6" style="font-size: 22pt"><i>L
|
|
||||||
= 10 <sup>a/10</sup> (the loss)</i></font></font></p>
|
|
||||||
<p style="margin-bottom: 0cm; font-weight: normal; line-height: 100%">
|
|
||||||
<font face="Times New Roman, serif"><font size="6" style="font-size: 22pt"><i>A
|
|
||||||
= (L + 1)/(L − 1)</i></font></font></p>
|
|
||||||
<p style="margin-bottom: 0cm; font-weight: normal; line-height: 100%">
|
|
||||||
<br/>
|
|
||||||
|
|
||||||
</p>
|
|
||||||
<p style="margin-bottom: 0cm; font-style: normal; line-height: 100%"><font face="Times New Roman, serif"><font size="6" style="font-size: 28pt"><b>Tee
|
|
||||||
attenuator</b></font></font></p>
|
|
||||||
<p style="margin-left: 2cm; margin-bottom: 0cm; font-weight: normal; line-height: 100%">
|
|
||||||
<font face="Times New Roman, serif"><font size="6" style="font-size: 28pt"><i>R2
|
|
||||||
= 2*√ (L * Z<sub>in</sub> * Z<sub>out</sub> )/(L − 1)</i></font></font></p>
|
|
||||||
<p style="margin-left: 2cm; margin-bottom: 0cm; font-weight: normal; line-height: 100%">
|
|
||||||
<font face="Times New Roman, serif"><font size="6" style="font-size: 28pt"><i>R1
|
|
||||||
= Z<sub>in</sub> * A − R2</i></font></font></p>
|
|
||||||
<p style="margin-left: 2cm; margin-bottom: 0cm; font-weight: normal; line-height: 100%">
|
|
||||||
<font face="Times New Roman, serif"><font size="6" style="font-size: 28pt"><i>R3
|
|
||||||
= Z<sub>out</sub> * A − R2</i></font></font></p>
|
|
||||||
</body>
|
|
||||||
</html>
|
|
|
@ -0,0 +1,11 @@
|
||||||
|
## Tee attenuator
|
||||||
|
__Zin__ desired input impedance in Ω<br>
|
||||||
|
__Zout__ desired output impedance<br>
|
||||||
|
__Zin = Zout__<br><br>
|
||||||
|
|
||||||
|
* __a__ attenuation in dB
|
||||||
|
* __L = 10<sup>a/20</sup>__ (the loss)
|
||||||
|
* ___A = (L + 1)/(L - 1)___<br><br>
|
||||||
|
* ___R2 = 2√ (L . Z<sub>in</sub> . Z<sub>out</sub> )/(L - 1)___
|
||||||
|
* ___R1 = Z<sub>in</sub> * A - R2___
|
||||||
|
* ___R3 = Z<sub>out</sub> * A - R2___
|
Loading…
Reference in New Issue