31 lines
968 B
Python
31 lines
968 B
Python
import matplotlib.pyplot as plt
|
|
import numpy as np
|
|
import matplotlib
|
|
#matplotlib.use('Qt5Agg')
|
|
from src import coil_class as BC
|
|
|
|
|
|
HH_Coil = BC.BCoil(HH = 1, distance = 54, radius = 48, layers = 8, windings = 8, wire_height = 0.5,
|
|
wire_width = 0.5, insulation_thickness = (0.546-0.5)/2, is_round = True,
|
|
winding_scheme= 2)
|
|
HH_Coil.set_R_inner(45.6)
|
|
HH_Coil.set_d_min(2*24.075)
|
|
HH_Coil.print_info()
|
|
|
|
AHH_Coil = BC.BCoil(HH = -1, distance = 54, radius = 48, layers = HH_Coil.get_layers, windings=2 * HH_Coil.get_windings,
|
|
wire_height = 0.5, wire_width=0.5, insulation_thickness=(0.546-0.5)/2,
|
|
is_round = True, winding_scheme= 2)
|
|
|
|
AHH_Coil.set_R_inner(45.6)
|
|
AHH_Coil.set_d_min(HH_Coil.get_zmax()*2 * 1e3 + 4)
|
|
|
|
AHH_Coil.print_info()
|
|
|
|
R = HH_Coil.resistance(22)
|
|
L = HH_Coil.induct_perry()
|
|
|
|
f = R/(2*np.pi*L)
|
|
|
|
print(f"resistance = {R} Ohm")
|
|
print(f"L = {L}")
|
|
print(f"cutoff frequency: f = {f} Hz") |