Example_GSGSG_Pads_with_Bondwires
This is an example of how to set your CST simulation to create GSGSG Pads with bondwires
1import numpy as np
2import matplotlib.pyplot as plt
3import pandas as pandas
4import sys
5import os
6# Add the directory containing the project to sys.path
7current_path = os.path.dirname(os.path.abspath('__file__'))
8sys.path.append(current_path)
9from CST_Constructor import CST_Commands, Curves
10
11
12# =============================================================================
13# Open new MWS CST
14# =============================================================================
15
16
17obj = CST_Commands()
18obj.New_Project("MWS")
19
20
21# =============================================================================
22# Create the GSGSG PADS with Bondwires
23# =============================================================================
24
25# Set Units
26Parameters = {}
27Parameters["Unit Length"] = "um"
28Parameters["Unit Frequency"] = "GHz"
29Parameters["Unit Time"] = "ns"
30Parameters["Unit Temperature"] = "K"
31obj.set_Units(Parameters)
32
33
34# Set Boundary and background
35Params = {}
36Params["Type Background"] = "Normal"
37Params["Xmin Background"] = 0
38Params["Xmax Background"] = 0
39Params["Ymin Background"] = 0
40Params["Ymax Background"] = 0
41Params["Zmin Background"] = 0
42Params["Zmax Background"] = 0
43
44obj.setBackground(Params)
45
46
47BoundaryParams = {}
48BoundaryParams["Xmin Boundary"] = 'open'
49BoundaryParams["Xmax Boundary"] = 'open'
50BoundaryParams["Ymin Boundary"] = 'open'
51BoundaryParams["Ymax Boundary"] = 'open'
52BoundaryParams["Zmin Boundary"] = 'open'
53BoundaryParams["Zmax Boundary"] = 'open'
54BoundaryParams["Xsymmetry Boundary"] = 'none'
55BoundaryParams["Ysymmetry Boundary"] = 'none'
56BoundaryParams["Zsymmetry Boundary"] = 'none'
57
58obj.setBoundary(BoundaryParams)
59
60
61# Set Frequency Range for the simulation
62Parameters = {}
63Parameters["Min Frequency"] = 0
64Parameters["Max Frequency"] = 200
65obj.setSimFreqeuncy(Parameters)
66
67
68# Set Time Solver with TLM Mesh
69Parameters= {}
70Parameters["Accuracy"] = 40
71Parameters["Caclculate Modes Only"] = False
72Parameters["Auto Impedance"] = True
73Parameters["Impedance"] = 50
74Parameters["Source Port"] = 1
75Parameters["Solver Mesh Type"] = "TLM"
76obj.setTimeSolver(Parameters)
77
78
79# Set parameters for the construction
80Parameters = {}
81Parameters["PAD Width GND"] = 100
82Parameters["PAD Width Signal"] = 40
83Parameters["PAD Length"] = 100
84Parameters["PAD Thickness"] = 2.8
85
86
87Parameters["PADs Distance"] = 219
88Parameters["Bonwire Height"] = 20
89Parameters["Bonwire Radius"] = 25/2
90Parameters["Glue Thickness"] = 50
91Parameters["Floating Shield Thickness"]= 35
92
93Parameters["Port Y Span"] = 70
94Parameters["Port Z Span"] = 200
95Parameters["Accuracy"] = 40
96
97
98# Make the the chips with the bondwires
99obj.GSGSG_Bondwire_ChipToChip_connection(Parameters)