Qucs-S S-parameter Viewer & RF Synthesis Tools
Loading...
Searching...
No Matches
Wilkinson2Way.h
Go to the documentation of this file.
1
8
9#ifndef WILKINSON2WAY_H
10#define WILKINSON2WAY_H
11
12#include "Misc/general.h"
13#include "Schematic/Network.h"
14#include "Schematic/component.h"
16#include <QPen>
17
20class Wilkinson2Way : public Network {
21 public:
24
27 Wilkinson2Way(PowerCombinerParams PS) { Specification = PS; }
28
30 virtual ~Wilkinson2Way() {}
31
33 void synthesize();
34
35 private:
37 PowerCombinerParams Specification;
38
39 double Z2, Z3, R, R2, R3;
40
42 void calculateParams();
43
45 void setComponentsLocation();
46
48 void buildWilkinson_LumpedLC();
49
51 void buildWilkinson_IdealTL();
52
54 void buildWilkinson_Microstrip();
55
57 int x_spacing;
58 int y_spacing;
59
61 QPoint Port_in;
62 QPoint Port_out1, Port_out2;
63
65 QPoint Riso_pos;
66 QPoint GND_Riso_pos;
67
69 QPoint TL1_pos, TL2_pos, TL3_pos, TL4_pos, TL5_pos;
70
72 QPoint N1_pos, N2_pos, N3_pos, N4_pos, N5_pos;
73};
74
75#endif // WILKINSON2WAY_H
Synthesize microstrip lines (definition)
Abstract base class for network implementations.
Abstract base class for network implementations.
Definition Network.h:27
Wilkinson power combiner/divider network.
Definition Wilkinson2Way.h:20
void synthesize()
Synthesize the Wilkinson network.
Definition Wilkinson2Way.cpp:20
Wilkinson2Way()
Class constructor.
Definition Wilkinson2Way.h:23
virtual ~Wilkinson2Way()
Class destructor.
Definition Wilkinson2Way.h:30
Wilkinson2Way(PowerCombinerParams PS)
Constructor with power combiner parameters.
Definition Wilkinson2Way.h:27
Graphical component representation in schematic (definition)
Utility functions needed across the whole project.
Power combiner parameters.
Definition structures.h:261