Giter Club home page Giter Club logo

mif3's Introduction

MIF3

Matlab Interface For Fast Field Solvers. This is a series of functions and scripts to work with MIT's Fast Field Solvers to automate and help with the use. It has been desisgned with Wireless Power Transfer functionalities in mind.

To use this repository first install Fast Field Solvers Bundle from https://www.fastfieldsolvers.com/download.htm This repository has been tested using MATLAB R2018b.

The added functions for the interface include:

Functions

Geometries:

Functions that model the geometries of the inductors.

  • Solenoid Spiral: X = solenoid_spiral(N,r0,h,phir,phi0,RES,x0,y0,z0,phix,phiy,phiz,view)
    • Spring with flat turns
  • Round Spiral: X = round_spiral(N,r0,d,phi0,RES,x0,y0,z0,phix,phiy,phiz,view)
    • Single layer rounded spiral
  • Rectangular Spiral: X = square_spiral(N,A,L,d,x0,y0,z0,phix,phiy,phiz,view)
    • Single layer rectangular spiral
  • Rectangular Planar Inductor: X = rectangular_planar_inductor(N,A,L,A0,L0,d,h,x0,y0,z0,phix,phiy,phiz,view)
    • Multilayer rectangular spiral
  • Helix Spiral: X = helix_spiral(N,r0,h,phi0,RES,x0,y0,z0,phix,phiy,phiz,view)
    • Helicoidal spring
  • Circular Planar Inductor: X = circular_planar_inductor(N,r0,ri,d,phi0,RES,h,x0,y0,z0,phix,phiy,phiz,view)
    • Multilayer circular spiral

FastHenryv2 Interface:

Functions that create the data structures and interfaces to work with Fast Field Solvers

  • Generate Coil: s=generate_coil(coil_name,X,sigma,w,h,nhinc,nwinc,rh,rw)
    • Generates a struct with the coil geometry and general propierties
  • Discretization Tools: [nhinc,nwinc]=optimize_discr(w,h,rh,rw,delta)
    • Calculates a mesh discretization that allows a delta width filament in the edges of the geometry
  • FastHenry Creator: file_name=fasthenry_creator(file_name,coils,freq)
    • Creates a .inp file containing all the geometry and conductor data.
  • FastHenry Runner: [L,R,Frequency]=fasthenry_runner(file_name,directives,show)
    • Runs the fasthenrymodel and retrives the results
  • FastCap Creator: file_name=fastcap2_creator(in_file_name,out_file_name,permitivity, command)
    • Creates a .list and .que files containing the fastcap surfaces
  • FastCap Runner: fastcap2_runner(file_name,directives,show)
    • Runs the fastcap model and retrieves the maxwell capacitance matrix

Utilities:

Other Functions and utilities

  • Import Bode100: data=import_bode100(filename)
    • Imports data from a csv file generated with bode100 suite
  • Generate Model Bode100: model=model_bode100(data,freq_L)
    • Takes data imported from bode100 and generates a model taht matches the data
  • Real Coil: [Rs, Ls, fres]=real_coil(L,R,C,f)
    • Takes parameters from a model and calculates the series impedance equivalents
  • Import raw LTSpice: raw_data = LTspice2Matlab( filename, varargin )
    • Takes a .raw file from a Spice simulation and imports it as a struct
  • Run LTSpice: raw_data=LTautomation(file_name)
    • Runs a .asc LTSpice simulation file
  • Modify LTSpice: component_find = LTmodify( file_name, component, value )
    • Looks for a omponent in a .asc file and modifies its value

TaskList

A Lot still @TODO

  • Tipical Planar Geometries
  • Tipical Helicoidal Geometries
  • Interface with FastHenryV2
  • Interface with LTSpice
  • Interface with FastCapV2
  • Implement Tools for numerical maxwell calculations
  • Do a guide
  • Only use model and data structs to interface

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.