matching
denorm(x, f, pos=Pos.series, name='')
¶
Return a component (capacity or inductance) of an element reactance.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
x
|
float
|
reactance |
required |
f
|
float
|
frequency |
required |
pos
|
Pos
|
element placement, can be "series" or "parallel" |
series
|
name
|
str
|
name of the component, default value: pos |
''
|
Returns:
Type | Description |
---|---|
Component
|
capacity or inductance |
Source code in hades\models\matching.py
55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 |
|
lumped_l(z_load, z_source)
¶
Return the two solutions to match a complex load to a line. The value of needed capacitor and inductor can be computed using denorm function.
Source : Microwave engineering, Fourth Edition, David Pozar, Chapter 5.1 + original work to include complex z_source.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
z_load
|
complex
|
impedance of the load. |
required |
z_source
|
complex
|
impedance of the source. |
required |
Returns:
Type | Description |
---|---|
tuple[tuple[float, float], tuple[float, float]]
|
two tuples (B, X), respectively the shunt and series element of the matching. |
Source code in hades\models\matching.py
8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 |
|
single_series_stub(z_load, z_0)
¶
Return the solution to match a load z_load to a line of impedance z_0 using a series stub. Two solutions are given either using an open or a shorted stub. This is mainly used with coplanar waveguide. Source : Microwave engineering, Fourth Edition, David Pozar, Chapter 5.2
Parameters:
Name | Type | Description | Default |
---|---|---|---|
z_load
|
complex
|
impedance to be matched? |
required |
z_0
|
float
|
impedance of the line. |
required |
Returns:
Type | Description |
---|---|
tuple[list[float, float], list[float, float], list[float, float]]
|
a tuple containing : - d: the 2 electrical distances from the stub to the load - lo: the 2 electrical length of the open stub - ls: the 2 electrical length of the shorted stub |
Source code in hades\models\matching.py
125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 |
|
single_shunt_stub(z_load, z_0)
¶
Return the solution to match a load z_load to a line of impedance z_0 using a parallel (shunt) stub. This is mainly used with micro-strip lines. Two solutions are given either using an open or a shorted stub. Source : Microwave engineering, Fourth Edition, David Pozar, Chapter 5.2
Parameters:
Name | Type | Description | Default |
---|---|---|---|
z_load
|
complex
|
impedance to be matched? |
required |
z_0
|
complex
|
impedance of the line. |
required |
Returns:
Type | Description |
---|---|
tuple[list[float, float], list[float, float], list[float, float]]
|
a tuple containing : - d: the 2 electrical distances from the stub to the load - lo: the 2 electrical length of the open stub - ls: the 2 electrical length of the shorted stub |
Source code in hades\models\matching.py
82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 |
|
transformer(z_load, z_source, k=0.8)
¶
Return the two solutions to match two complex load with a transformer.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
z_load
|
complex
|
impedance of the load. |
required |
z_source
|
complex
|
impedance of the source. |
required |
k
|
float
|
coupling factor. |
0.8
|
Returns:
Type | Description |
---|---|
ndarray
|
|
Source code in hades\models\matching.py
150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 |
|