diff --git a/pcb_calculator/CMakeLists.txt b/pcb_calculator/CMakeLists.txt
index 0381242cb3..d6c35b4c81 100644
--- a/pcb_calculator/CMakeLists.txt
+++ b/pcb_calculator/CMakeLists.txt
@@ -188,8 +188,8 @@ endfunction()
md_doc2h( ${CMAKE_CURRENT_SOURCE_DIR}/attenuators/bridget_tee_formula )
md_doc2h( ${CMAKE_CURRENT_SOURCE_DIR}/attenuators/splitter_formula )
- html_doc2h( ${CMAKE_CURRENT_SOURCE_DIR}/attenuators/pi_formula )
- html_doc2h( ${CMAKE_CURRENT_SOURCE_DIR}/attenuators/tee_formula )
+ md_doc2h( ${CMAKE_CURRENT_SOURCE_DIR}/attenuators/pi_formula )
+ md_doc2h( ${CMAKE_CURRENT_SOURCE_DIR}/attenuators/tee_formula )
set( DOCS_LIST
${CMAKE_CURRENT_SOURCE_DIR}/attenuators/pi_formula.h
diff --git a/pcb_calculator/attenuators/bridget_tee_formula.md b/pcb_calculator/attenuators/bridget_tee_formula.md
index a7f3fd2d47..1bfda337e0 100644
--- a/pcb_calculator/attenuators/bridget_tee_formula.md
+++ b/pcb_calculator/attenuators/bridget_tee_formula.md
@@ -1,8 +1,9 @@
-__Zin__ desired input impedance in Ω
-__Zout__ desired output impedance __Zin = Zout__
-
### Bridged tee attenuator:
+__Zin__ desired input impedance in Ω
+__Zout__ desired output impedance
+__Z0 = Zin = Zout__
+
* __a__ attenuation in dB
-* __L = 10a/20__ (the loss)
-* ___R1 = Zin * (L - 1)___
-* ___R2 = Zin / (L - 1)___
+* __L = 10a/20__ (the loss)
+* ___R1 = Z0 * (L - 1)___
+* ___R2 = Z0 / (L - 1)___
\ No newline at end of file
diff --git a/pcb_calculator/attenuators/pi_formula.html b/pcb_calculator/attenuators/pi_formula.html
deleted file mode 100644
index d54e80f5d5..0000000000
--- a/pcb_calculator/attenuators/pi_formula.html
+++ /dev/null
@@ -1,44 +0,0 @@
-
-
-
-Zin - desired input impedance in Ω
--Zout - desired output impedance in Ω
--a - attenuation in dB
--L -= 10a/10 (the loss)
--A -= (L + 1)/(L − 1)
-
-
-
-
Pi -attenuator
-R2 -= (L − 1)/2 * √ ((Zin * Zout)/L)
-R1 -= 1/( A/Zin − 1/R2)
-R3 -= 1/ (A/Zout − 1/R2)
- - \ No newline at end of file diff --git a/pcb_calculator/attenuators/pi_formula.md b/pcb_calculator/attenuators/pi_formula.md new file mode 100644 index 0000000000..63726834a4 --- /dev/null +++ b/pcb_calculator/attenuators/pi_formula.md @@ -0,0 +1,11 @@ +## Pi attenuator +__Zin__ desired input impedance in Ω-Zin -desired input impedance in Ω
--Zout -desired output impedance in Ω
--a -attenuation in dB
--L -= 10 a/10 (the loss)
--A -= (L + 1)/(L − 1)
-
-
-
-
Tee -attenuator
--R2 -= 2*√ (L * Zin * Zout )/(L − 1)
--R1 -= Zin * A − R2
--R3 -= Zout * A − R2
- - \ No newline at end of file diff --git a/pcb_calculator/attenuators/tee_formula.md b/pcb_calculator/attenuators/tee_formula.md new file mode 100644 index 0000000000..40e92f8185 --- /dev/null +++ b/pcb_calculator/attenuators/tee_formula.md @@ -0,0 +1,11 @@ +## Tee attenuator +__Zin__ desired input impedance in Ω