Dear all:
I intend to do a DC sweep using DC source values specified by an DAC component pointing to a measured data file (first column of the datafile labeled as Vvf). Although I tried the "discrete" and "generic MDIF" format with the second line of the datafile content set to either "% Vvf(1) Iif(1)" or "%Vvf(real) Iif(real)" or simply "%Vvf Iif". The simulator always refused to work with the error " SRC1.Vdc mismatched argument type" popped up. Would you please give a hint what's gone wrong?
Thanks in advance for your help!
Best regards,
Notes(partial of the datafile):
BEGIN DSCRDATA
%Vvf(real) Iif(real)
1.80667 4.26E-04
1.83333 8.52E-04
1.8637 1.58E-03
.....
END DSCRDATA
Connections:
|
|
--- Vdc=file{DAC1,"Vvf"}V
---
|
|
I intend to do a DC sweep using DC source values specified by an DAC component pointing to a measured data file (first column of the datafile labeled as Vvf). Although I tried the "discrete" and "generic MDIF" format with the second line of the datafile content set to either "% Vvf(1) Iif(1)" or "%Vvf(real) Iif(real)" or simply "%Vvf Iif". The simulator always refused to work with the error " SRC1.Vdc mismatched argument type" popped up. Would you please give a hint what's gone wrong?
Thanks in advance for your help!
Best regards,
Notes(partial of the datafile):
BEGIN DSCRDATA
%Vvf(real) Iif(real)
1.80667 4.26E-04
1.83333 8.52E-04
1.8637 1.58E-03
.....
END DSCRDATA
Connections:
|
|
--- Vdc=file{DAC1,"Vvf"}V
---
|
|
Thank you very much for your comments.
I'm afraid this is not the root cause of the error "SRC1.Vdc mismatched argument type..." due to the following two reasons:
1. The circuit is very simple:a DC voltage source connected in series with a resistor with the voltage values assigned by the DCA. Even the simulator returns the value from column "Iif", it should be able to run with wrong results reported(logical error rather than refuse to run). Am I right?
2. I also tried the data file with index using the following format:
BEGIN DSCRDATA Â Â
%INDEX Â Vvf(real) Â Â Iif(real)
0 Â Â Â 1.80667 Â Â 4.26E-04
1 Â Â Â 1.83333 Â Â 8.52E-04
2 Â Â Â 1.8637 Â Â 1.58E-03
.....
END DSCRDATA
and assign the iVal1=1. The same error pops up.
If my understanding is wrong, kindly correct and give me your advices.
Thanks!
Is your problem still unresolved?
I made it working with a Discrete Datafile.
You should modify the value Vvf in File just Vvf without the (real).
The valuetype is only required with the Generic MDIF File.
I've a question of DC sweep w/ DAC as well. Actually, I just need to plot the measured data in ADS so I've all Vd, Id and Vg info. I got it to work with Discrete datafile but I'm having retracing problem. I used index (1 through 100) and read the values of Vd and Id for different Vgs values and plotted Id vs. Vd with different Vgs. But since Vd goes from 0 to 5 several times in the datafile, ADS plot sketches a line from the end of Id vs. Vd for a specific Vgs to the start of Id vs. Vd trace for another Vgs. How can I read in the file differently to resolve this problem? I need to read in larger and more complex data and these unwanted retracing lines make the plot too difficult to decipher.
% c Vd Id Vg
1 +0.0000e+00 2.24E-11 -9.00E-01
2 +1.0000e-01 6.66E-11 -9.00E-01
.
.
.
My DAC components looks something like:
Pdata
File=<filename>
iVar1=INDEXI
iVal1=IDe
Then I take an independent current source of 1 Amps and pass it through a resistor of value R={Pdata, "Vd"}, etc. to convert the value from the file to a voltage so I can plot it in ADS.