This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Hi all,
I need to compute energy(t) of a signal. I've already defined a custom function to compute power(t), doing I(t)*V(t). See the following image showing the current, voltage and power waveform.
Now, I would to integrate over the time t, the power(t); in formula: E(t)=ʃ P(t) dt .
Using other spice simulators I wrote idt(x) to integrate x signal over the time t.
How could I do this in TINA-TI? Are there any syntax guides?
Thank you
Hello,
This E2E post (from Herman T. on 8/22/13) claims that TINA-TI can do integration, but I have not tried it myself:
http://e2e.ti.com/support/development_tools/webench_design_center/f/234/p/285251/995695#995695
A round-about way of doing the integration in TINA-TI might be to use the "Averages" (or RMS) computation (click on Process after you've clicked on the waveform you are trying to find its average), as shown in this E2E post from 8/19/2014:
http://e2e.ti.com/support/amplifiers/high_speed_amplifiers/f/10/p/362875/1277646#1277646
The average of the waveform is computed over the Transient interval selected and it works for repetitive or non-repetitive waveforms. So, to find the integral over a span of time, you would then multiply the average, computed by TINA-TI, by the x-axis span (in seconds) that the Transient simulation was performed on.
Regards,
Hooman
Hello,
I was curious to make sure that Tina-TI can perform a time integral / integration on a waveform using the technique / command that I posted last night. I've now verified that this works correctly, as shown below where the straight line is integrated to create the parabola that you see:
Here is the TINA-TI file corresponding to the image above:
Integration_Integral in TINA-TI Example E2E Hooman 3_13_15.TSC
Regards,
Hooman