Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

user defined source option in xfdtd

Status
Not open for further replies.

bharadwaj.cv

Junior Member level 3
Joined
Sep 12, 2009
Messages
26
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Location
india
Activity points
1,462
xfdtd has an option for user defined source. when you click it, it opens a dialog box which browses for .src files. how do you make an src file. Should we code?? How???. Also can this be used for defining arbitrary waveforms(like square or traingular)???

the online help says "setsourcesignal("name", t, amplitude, phase);" is the format. But how to write or how to use this info..

thanks and regards,
 

You might have the wrong documentation... Mine shows that the *.src file has a first line with the number of time steps in the file. After that, each line contains the source voltage and derivative of the waveform at a particular time step. The value of the derivative does not seem to matter. I just use the difference between two successive entries (see below).

It can be used to create an arbitrary waveform. You do have to round the transitions for a square or triangular waveform. Sudden transitions in FDTD introduce high-frequency signals not supported by the grid.

A quick example:
5
0 0
0.25 0.25
0.33 0.08
0.5 0.17
0.4 -0.1
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top