Qucs-S S-parameter Viewer & RF Synthesis Tools
Loading...
Searching...
No Matches
TeeMatching.h
Go to the documentation of this file.
1
7
8#ifndef TEEMATCHING_H
9#define TEEMATCHING_H
10
11#include "Schematic/Network.h"
12#include "Schematic/component.h"
13
27enum class TeeNetworkMask : int {
28 LP_LP = 1,
29 LP_HP = 2,
30 HP_LP = 3,
31 HP_HP = 4
32};
33
52class TeeMatching : public Network {
53public:
56
63 TeeNetworkMask mask)
64 : Specs(AS), f_match(freq), Q(Q), Mask(mask) {}
65
67 virtual ~TeeMatching() {}
68
70 void synthesize();
71
72private:
78 void computeReactances(double &X1, double &B1, double &X2) const;
79
81 double f_match;
82 double Q;
83 TeeNetworkMask Mask;
84};
85
86#endif // TEEMATCHING_H
Abstract base class for network implementations.
TeeNetworkMask
Tee network topology mask: selects which combination of LP/HP sub-sections is used for the two halves...
Definition TeeMatching.h:27
@ LP_HP
1st half low-pass, 2nd half high-pass
@ HP_HP
Both halves high-pass.
@ HP_LP
1st half high-pass, 2nd half low-pass
@ LP_LP
Both halves low-pass.
Abstract base class for network implementations.
Definition Network.h:27
Tee-section matching network synthesis.
Definition TeeMatching.h:52
TeeMatching(MatchingNetworkDesignParameters AS, double freq, double Q, TeeNetworkMask mask)
Constructor with parameters.
Definition TeeMatching.h:62
virtual ~TeeMatching()
Destructor.
Definition TeeMatching.h:67
void synthesize()
Calculate component values and build the schematic.
Definition TeeMatching.cpp:117
TeeMatching()
Default constructor.
Definition TeeMatching.h:55
Graphical component representation in schematic (definition)
Matching network design parameters.
Definition structures.h:220