[SI-LIST] Re: THD simulation result in TINA and orcad has huge deviation

  • From: Istvan Novak <istvan.novak@xxxxxxxxxxx>
  • To: lihuizju@xxxxxxxxx
  • Date: Mon, 24 Mar 2014 20:25:43 -0400

Regards,

Istvan Novak
Oracle



On 3/24/2014 10:02 AM, 李晖 wrote:
> Hi All,
>     Sorry about the wrong character coding makes confued.
>     Below is my  original email of my question.
>     I changed the setting "Maximum step size" in OrCAD to small step, and
> got a better result. Now the result from OrCAD is about 2.7E-6 PERCENT,
> which is 1/10 of OUTPUT from TINA. I'm newbee to these two simulation
> tools, and trying to use them right. Thanks for all your help.
>
>      A simple CLC circuit has been simulated with TINA and OrCAD. Hope to
> get the THD simulaiton result from these two pspice based tools. Base
> frequence is set to 1kHz, and Number of harmonics is 20. Both tools have
> the same settings. The TINA shows the THD is about 2.27E-005% , but the
> result from OrCAD is about 1.02E00 PERCENT. There is a huge gap between
> these two results. Which one is more credible?
>      The circuit and the test result have been attached, please give your
> comment kindly.
>
>      Best Regards.
>
> //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
>
> **** 03/24/14 20:27:40 ***** PSpice 16.6.0 (October 2012) ***** ID# 0
> ********
>
> ** Profile: "SCHEMATIC1-thd" [
> D:\WORKSPACE\CADENCE\PSPICE\filter\filter-PSpiceFiles\SCHEMATIC1\thd.sim ]
>
>
> **** CIRCUIT DESCRIPTION
>
>
> ******************************************************************************
>
>
>
>
>
> ** Creating circuit file "thd.cir"
> ** WARNING: THIS AUTOMATICALLY GENERATED FILE MAY BE OVERWRITTEN BY
> SUBSEQUENT SIMULATIONS
>
> *Libraries:
> * Profile Libraries :
> * Local Libraries :
> * From [PSPICE NETLIST] section of
> D:\Workspace\Cadence\cdssetup\OrCAD_PSpice/16.6.0/PSpice.ini file:
> .lib "nom.lib"
>
> *Analysis directives:
> .TRAN 0 3m 0
> .FOUR 1000 20 V([VOUTR])
> .OPTIONS ADVCONV
> .PROBE64 V(alias(*)) I(alias(*)) W(alias(*)) D(alias(*)) NOISE(alias(*))
> .INC "..\SCHEMATIC1.net"
>
>
>
> **** INCLUDING SCHEMATIC1.net ****
> * source FILTER
> R_R1 0 VOUTR 32 TC=0,0
> V_V1 N00122 0
> +SIN 0 0.4 1k 0 0 0
> L_L1 N00122 VOUTR 2.9nF
> C_C1 0 N00122 125p TC=0,0
> C_C2 0 VOUTR 125p TC=0,0
>
> **** RESUMING thd.cir ****
> .END
>
> **** 03/24/14 20:27:40 ***** PSpice 16.6.0 (October 2012) ***** ID# 0
> ********
>
> ** Profile: "SCHEMATIC1-thd" [
> D:\WORKSPACE\CADENCE\PSPICE\filter\filter-PSpiceFiles\SCHEMATIC1\thd.sim ]
>
>
> **** INITIAL TRANSIENT SOLUTION TEMPERATURE = 27.000 DEG C
>
>
> ******************************************************************************
>
>
>
>
> NODE VOLTAGE NODE VOLTAGE NODE VOLTAGE NODE VOLTAGE
>
>
> (VOUTR) 0.0000 (N00122) 0.0000
>
>
>
>
> VOLTAGE SOURCE CURRENTS
> NAME CURRENT
>
> V_V1 0.000E+00
>
> TOTAL POWER DISSIPATION 0.00E+00 WATTS
>
>
> **** 03/24/14 20:27:40 ***** PSpice 16.6.0 (October 2012) ***** ID# 0
> ********
>
> ** Profile: "SCHEMATIC1-thd" [
> D:\WORKSPACE\CADENCE\PSPICE\filter\filter-PSpiceFiles\SCHEMATIC1\thd.sim ]
>
>
> **** FOURIER ANALYSIS TEMPERATURE = 27.000 DEG C
>
>
> ******************************************************************************
>
>
>
>
> FOURIER COMPONENTS OF TRANSIENT RESPONSE V(VOUTR)
>
>
>
> DC COMPONENT = 6.4049E-04
>
> HARMONIC FREQUENCY FOURIER NORMALIZED PHASE NORMALIZED
> NO (HZ) COMPONENT COMPONENT (DEG) PHASE (DEG)
>
> 1 1.0000E+03 3.9542E-01 1.0000E+00 1.7302E-01 0.0000E+00
> 2 2.0000E+03 1.1555E-03 2.9223E-03 7.8958E+01 7.8612E+01
> 3 3.0000E+03 1.1804E-03 2.9851E-03 7.2686E+01 7.2167E+01
> 4 4.0000E+03 1.1419E-03 2.8878E-03 6.6331E+01 6.5639E+01
> 5 5.0000E+03 1.0987E-03 2.7786E-03 6.0938E+01 6.0073E+01
> 6 6.0000E+03 1.0556E-03 2.6697E-03 5.5451E+01 5.4413E+01
> 7 7.0000E+03 1.0021E-03 2.5344E-03 4.9988E+01 4.8776E+01
> 8 8.0000E+03 9.4348E-04 2.3860E-03 4.4856E+01 4.3472E+01
> 9 9.0000E+03 8.8158E-04 2.2295E-03 3.9884E+01 3.8327E+01
> 10 1.0000E+04 8.1685E-04 2.0658E-03 3.5206E+01 3.3475E+01
> 11 1.1000E+04 7.5478E-04 1.9088E-03 3.0638E+01 2.8735E+01
> 12 1.2000E+04 6.9190E-04 1.7498E-03 2.5757E+01 2.3681E+01
> 13 1.3000E+04 6.3634E-04 1.6093E-03 2.0991E+01 1.8742E+01
> 14 1.4000E+04 6.3327E-04 1.6015E-03 1.3209E+01 1.0787E+01
> 15 1.5000E+04 8.4772E-04 2.1439E-03 -1.1082E+01 -1.3678E+01
> 16 1.6000E+04 1.4262E-03 3.6067E-03 1.2536E+02 1.2259E+02
> 17 1.7000E+04 8.2329E-04 2.0821E-03 1.0896E+02 1.0602E+02
> 18 1.8000E+04 1.0441E-03 2.6405E-03 -2.0470E+01 -2.3584E+01
> 19 1.9000E+04 3.2247E-04 8.1551E-04 1.6041E+01 1.2754E+01
> 20 2.0000E+04 3.1407E-04 7.9428E-04 3.4505E+01 3.1045E+01
>
>
> TOTAL HARMONIC DISTORTION = 1.0201E+00 PERCENT
>
>
> JOB CONCLUDED
>
> **** 03/24/14 20:27:40 ***** PSpice 16.6.0 (October 2012) ***** ID# 0
> ********
>
> ** Profile: "SCHEMATIC1-thd" [
> D:\WORKSPACE\CADENCE\PSPICE\filter\filter-PSpiceFiles\SCHEMATIC1\thd.sim ]
>
>
> **** JOB STATISTICS SUMMARY
>
>
> ******************************************************************************
>
>
>
>
> Total job time (using Solver 1) = .02
>
>
> 2014-03-24 21:42 GMT+08:00 Havermann, Gert <Gert.Havermann@xxxxxxxxxxx>:
>
>> I don't know what your question is, as I only get Letter-Soup, but taking
>> the header information I think your problem is simply the lack of deep
>> insight knowledge into the tools you use.
>> If simulation results don't match up then this can mean three things:
>> 1) both are wrong
>> 2) the first is right
>> 3) the 2nd is right
>> (taking into account that "right" is a definition already)
>> Now you have to find out which of the tree cases is right, and then check
>> the other tool (or both) for wrong simulation settings. And with wrong I
>> don't only refer to typing errors. These tools all work with definitions
>> and restrictions, and as long as you don't know them, you will have a hard
>> time to get results right.
>>
>> The best thing is always to verify the tools results. take something
>> that's available and maybe already tested properly and try to match the
>> results in simulation.
>>
>> BR
>> Gert
>>
>>

------------------------------------------------------------------
To unsubscribe from si-list:
si-list-request@xxxxxxxxxxxxx with 'unsubscribe' in the Subject field

or to administer your membership from a web page, go to:
//www.freelists.org/webpage/si-list

For help:
si-list-request@xxxxxxxxxxxxx with 'help' in the Subject field


List forum  is accessible at:
               http://tech.groups.yahoo.com/group/si-list

List archives are viewable at:     
                //www.freelists.org/archives/si-list
 
Old (prior to June 6, 2001) list archives are viewable at:
                http://www.qsl.net/wb6tpu
  

Other related posts: