Qucs-S S-parameter Viewer & RF Synthesis Tools
Loading...
Searching...
No Matches
Tools
PowerCombining
Recombinant3WayWilkinson.h
1
/*
2
* Copyright (C) 2025 Andrés Martínez Mera - andresmmera@protonmail.com
3
*
4
* This program is free software: you can redistribute it and/or modify
5
* it under the terms of the GNU General Public License as published by
6
* the Free Software Foundation, either version 3 of the License, or
7
* (at your option) any later version.
8
*
9
* This program is distributed in the hope that it will be useful,
10
* but WITHOUT ANY WARRANTY; without even the implied warranty of
11
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12
* GNU General Public License for more details.
13
*
14
* You should have received a copy of the GNU General Public License
15
* along with this program. If not, see <https://www.gnu.org/licenses/>.
16
*/
17
18
#ifndef RECOMBINANT3WAYWILKINSON_H
19
#define RECOMBINANT3WAYWILKINSON_H
20
21
#include "../../Misc/general.h"
22
#include "../../Schematic/Network.h"
23
#include "../../Schematic/component.h"
24
#include "../TransmissionLineSynthesis/Microstrip.h"
25
#include <QPen>
26
27
/*
28
* References:
29
* [1] "Power combiners, impedance transformers and directional couplers: part
30
* II". Andrei Grebennikov. High Frequency Electronics. 2008
31
* [2] "A recombinant in-phase power divider", IEEE Trans. Microwave Theory
32
* Tech., vol. MTT-39, Aug. 1991, pp. 1438-1440
33
*/
34
35
class
Recombinant3WayWilkinson
:
public
Network
{
36
public
:
37
Recombinant3WayWilkinson
();
38
virtual
~Recombinant3WayWilkinson
();
39
Recombinant3WayWilkinson
(
PowerCombinerParams
);
40
void
synthesize();
41
42
private
:
43
PowerCombinerParams
Specification;
44
45
double
lambda4;
46
double
Z1, Z2, Z3, Z4, Z5, Z6, R1, R2;
47
48
void
calculateParams();
49
void
buildRecombinant3Way_IdealTL();
50
void
buildRecombinant3Way_Microstrip();
51
52
private
:
53
// This function sets the component's location before the schematic is built
54
void
setComponentsLocation();
55
56
// General components spacing
57
int
x_spacing, y_spacing;
58
59
// Ports
60
QVector<QPoint> Ports_pos;
61
62
// Isolation resistors
63
QVector<QPoint> Riso_pos;
64
65
// Transmission lines
66
QVector<QPoint> TL_pos;
67
68
// Nodes
69
QVector<QPoint> N_pos;
70
};
71
72
#endif
// RECOMBINANT3WAYWILKINSON_H
Network
Definition
Network.h:36
Recombinant3WayWilkinson
Definition
Recombinant3WayWilkinson.h:35
PowerCombinerParams
Definition
structures.h:189
Generated by
1.9.8