Qucs-S S-parameter Viewer & RF Synthesis Tools
Loading...
Searching...
No Matches
Branchline.h
Go to the documentation of this file.
1
7
8#ifndef BRANCHLINE_H
9#define BRANCHLINE_H
10
11#include "Misc/general.h"
12#include "Schematic/Network.h"
13#include "Schematic/component.h"
15
18class Branchline : public Network {
19 public:
22
25 Branchline(PowerCombinerParams PS) { Specification = PS; }
26
28 virtual ~Branchline() {}
29
31 void synthesize();
32
33 private:
35 struct PowerCombinerParams Specification;
36
37 double lambda4;
38 double ZA;
39 double ZB;
40
42 void calculateParams();
43
45 void setComponentsLocation();
46
48 void buildBranchline_IdealTL();
49
51 void buildBranchline_Microstrip();
52
54 int x_spacing;
55 int y_spacing;
56
58 QPoint Port_in;
59 QPoint Port_out1;
60 QPoint Port_out2;
61
63 QPoint Riso_pos;
64 QPoint GND_Riso;
65
67 QPoint TL1_pos;
68 QPoint TL2_pos;
69 QPoint TL3_pos;
70 QPoint TL4_pos;
71
73 QPoint N1_pos;
74 QPoint N2_pos;
75 QPoint N3_pos;
76 QPoint N4_pos;
77
78};
79
80#endif // BRANCHLINE_H
Synthesize microstrip lines (definition)
Abstract base class for network implementations.
Branch-line power combiner/divider network.
Definition Branchline.h:18
Branchline()
Class constructor.
Definition Branchline.h:21
virtual ~Branchline()
Class destructor.
Definition Branchline.h:28
void synthesize()
Synthesize the Branchline network.
Definition Branchline.cpp:17
Branchline(PowerCombinerParams PS)
Constructor with power combiner parameters.
Definition Branchline.h:25
Abstract base class for network implementations.
Definition Network.h:27
Graphical component representation in schematic (definition)
Utility functions needed across the whole project.
Power combiner parameters.
Definition structures.h:261