Quantcast
Channel: Cadence RF Design Forum
Viewing all 956 articles
Browse latest View live

single path idial current not floowing threw transistor

$
0
0

Hello i Have ,defined 50uA idial current source which is suppose to flow straight to diode connected mosfet bellow.The other side of the current source connected to VDD.

As you cant see bellow , all the transistors expect one are saturated,so the transistor is not in cuttoff.The whole 50uA supposed too run threw both series connected transistors .

Why only 14u flowing threw it?

Thanks 


Can i use variables in custom eye mask coordinates?

$
0
0

Hi,

We are generating custom eye mask for different voltages and data rates. we want to make the eye diagram co ordinates generic. so we used variables in the coordinates. I am using the 6.1.7 version. 

Orginal expression: 

eyeMask(eyeDiagram(v("/E_B2" ?result "tran") 0.0 1.27e-06 2e-08 ?triggerPeriod (1 / VAR("DR")) ?autoCenter t) "s" '(6e-09 2.75) '(8e-09 3.85) '(1.2e-08 3.85) '(1.4e-08 2.75) '(1.2e-08 1.65) '(8e-09 1.65))

 

Modified expression (changes the coordinates to variables):

 

eyeMask(eyeDiagram(v("/E_B2" ?result "tran") 0.0 1.27e-06 2e-08 ?triggerPeriod (1 / VAR("DR")) ?autoCenter t) "s" '(VAR(“tmiddleX1”) VAR(“ VMIDDLE”)) '(8e-09 3.85) '(1.2e-08 3.85) '(VAR(“tmiddleX2”) VAR(“VMIDDLE”)) '(1.2e-08 1.65) '(8e-09 1.65))

 

where:

VAR(“tmiddleX1”) is 6n

VAR(“VMIDDLE”) is 2.75V

VAR(“tmiddleX2”) is 14n

 

These points are middle ones in hexagon shape eye mask. After using the variables we are seeing rectangular waveforms.  Can you please help me out how to use the variables in eye mask's co ordinates.

transconductance frequency response problem

$
0
0

Hello , I am trying to make a Vout/Iin frequency response for the current mirror shown bellow.In the DC region the current mirror workes great.

In order to make AC reponce for Iin/Vout i have added 1 to the AC source,on the output i have not changed the DC source and it stayed 0.5 V DC just to  set the bias point for the output transistor.

After that i have defined an expression using calculator IF(In_node)/Vf(out_node) as shown bellow.

However i get a zero plot threwout frequency range.

Where did i got wrong defining the sources or expression in order to get the frequency response of Vout/Iin?

Thanks



PLL simulation error

$
0
0

Hello, 
I'm doing a transistor level PLL simulation for the first time and i'm getting this error:

and this is the PLL circuit: 

from similar posts and answers here I got that one reason might be is saving a lot of signals, but I didn't save more than 5-6. and I didn't also save currents.

the simulation is 4[us] long.

While wondering what might be the reason for that error, could mixing RF transistors (egnfet_rf) and non-RF transistors (nfet) in different blocks in the system might cause a problem?

one thing left is checking with my University adviser if we're not talking about Disk Storage issues. but I don't think this is the case because I emptied a lot of space. 

since the last post I've seen about the subject was 2 years ago, does the solution for this problem is more clear now? 
I'd be glad for suggestions how to solve the problem.

Thanks,

Firas

matching op capacitanances with impedance plot

$
0
0

Hello , I am trying to validate my output impedance plot with the OP parameters of the mosfets connected to the output.

the Cds and Cgd capacitances were shown in the zoomed plot bellow.

i have made an Idc source with AC=1V only. and plotted the imaginary part of the output node shown bellow wher Z_ac=V_ac/I_ac

imag(vfreq('ac "/net18"))  shown bellow.

However if we look at the imaginary part of the impedance and we see capacitance profile from the output Z_c=1/jwc then the plot should descend,instead it stays constant and starts to rise as if it was and inductor after 10M.

I tried to extract the capacitance from two points i notated on the plot bellow and both of them doesnt match the 10fF capacitance we should have.

Where did i go wrong matching the capacitance from the plot with the capacitane from the OP?

Thanks.

point 1:

42.1=1/(2*pi*10000*x)

3.7804×10^-7

point 2:

38.21*10^3=1/(2*pi*10000000*x)

4.16527×10^-13

validating plot phase margin with STB simulation

$
0
0

Hello, I have built a closed loop amplifier  and  tested the gain and phase from the output to the minus input AC=1v source.I got about 70 degrees phase at 0dB amplitude,as shown in the plot bellow.

Afterward i placed an idial current source in the feedback loop, and set STB simulation as shown bellow ,pointing the current source as probe instance.

When i ran the simulation it gives me an error shown bellow  that phase marging could not been calculated.

Where did i go wrong setting STB simulation?
Thanks.

STB analysis of differential feedback amplifier

$
0
0

Hello, I  ran succsefully STB analysis of a single ended amplifier by connecting Iprobe on the feedback loop shown bellow.

Afterwards i have built a differential amplifier which has common mode feedback(differential feedback), a current probe was connected like before on one of the feedback connections as shown bellow marked with red arrow.

However it gave me an error shown in the end.

Where did i go wrong connecting the probe on differential feedback,for the STB analysis?

Thanks



Single ended feedback:

Differentail beedback:


gm/id with modern cadence virtuoso

$
0
0

Hello, I am trying to create an expression which is a combination of regular currect with OP gm.  f(gm/id,vgs)

All the manuals which i found are envolving a file system manipulation for creating such expression,probably because they worked with old version.

I made Id vs gs DC sweep and I have tried to create such expression using calculators OP button and dividing it which the Id current expression shown bellow.

It gives me eval error although its a straight forward dividing.

Where did i go wrong?

Thanks.



Loop gain block for keeping DC

$
0
0

Hello , I was told that there is a block in Cadence Virtuoso wich keep the same DC value which is used for braking the loop and calculate loop gain.

In the past inductance and capacitors where used for the purpose of keeping the same Vdc .

What is the name of this Cadence Virtuoso block?

Thanks.

open loop closed loop link via STB loop gain

$
0
0

Hello, I have built and amplifier which acts exactly like in the open loop behavior where the gain reduces as the bandwidth increases by the LOOP GAIN factor.(As shown bellow)

However when i calculated the LOOP GAIN i should have OPENLOOP=CLOSED_LOOP+Loop_gain.

Then i remmembered what Andrew said that by removing the loop we change the conditions .

Is there a way in STB to plot OPEN LOOP GAIN and Closed Loop Gain?

So in the same situation i will get OPENLOOP=CLOSED_LOOP+Loop_gain.

Thanks.

Incorrect flicker noise model in some devices

Whether BSIM-IMG model suitable for passive mixer's IIP3 measurement in Spectre

$
0
0

Dear All,

Just want to know whether BSIM-IMG model suitable for passive mixer's IIP3 measurement in Spectre ?

Kind Regards,

Powering a circuit with a rectifier

$
0
0

Hello,

(schematic ADE L)

I am currently trying to power an LNA with a rectifier (AC-DC). the rectifier takes 10us to charge and settle. The problem is when running transient, after 10us the LNA does show gain (20db), but in S21 it has little to no gain (1db).

This is because the sp and dc analysis are running at 0  seconds before any charge is in the rectifier. I am not sure how to make S21 run after 10u. I am also thinking since there is no Vdd (DC supply voltage) the DC analysis is not running properly.

The reason for running SP is to plot my NF and S21. 

Am I missing something or not using the correct simulation?

My current Cadence virtuoso  is IC6.1.6-64b.500.14

Regards,

Finding Gate Resistance of MOSFET in spectre-ADE.

$
0
0

Dear All,

We are able to find the Cgg,Cgs, Cgd and other junction capacitance of the MOS in ADE.

Is there any way we can find the Gate Resistance of MOSFET in spectre-ADE ?

Kind Regards,

ruler measurment which sums all sections passed at once

$
0
0

Hello, i am trying to calculate the total perimeter of the inductor.by pressing K i managed only to see the length of separate sections .

Is there a way to see the total perimeter of the whole shape ?
Thanks.


comlex plot for gm_id method

$
0
0

Hello i am trying to create  a plot of gm/Id(Id/W)  of the nmos shown bellow.

i know how to plot gm or Id separatly  (as shown in the setting bellow)

but how do i define the Y axes to be gm/Id and X axes to be Id/W ?

Thanks.

How the "region" operating Point is determined by Spectre ADE

$
0
0

Dear All,

For typical long channel, the condition for the saturation (active) region of NMOS is VDS > ( VGS-VTh).

For short channel we can use vdssat for determining the active region of NMOS i.e. NMOS is in active region if VDS > vdssat.

Can anybody please tell how Spectre determines the region (particularly Active i.e. region-2) for NMOS ?

Kind Regrads, 

problem displaying OS param in calculator

$
0
0

Hello, i need to use OS param for building a formula, however it gives me an error shown bellow.

When i try t plot gm or id the regular ADEL way or using OP, then it works fine but for some reasin the OS is not working.

Where did i go wrong?

Thanks.

Harmonic Index of PSS data is not found?

$
0
0

Hi,

I am simulating a 32.768 kHz Pierce oscillator for phase noise. I have attached the details of my PSS+PNOISE setups in screenshots. Post completion of the analysis, I am unable to get the Direct PLot Main Form to plit the phase noise and get the message in the subject.

One more query query that I would like to be addressed is which of the two analysis, PSS or HB is suited to my design. Now I know that HB gives good results for linear and weakly non-linear oscillators (LC, Colpitts, pierce, etc) and PSS (shooting) for strongly non-linear like ring. The thing is although my osc is a Pierce Oscillator which generates sinusoidal or nearly sinusoidal outputs , I am driving a comparator with these sinusoidal outputs to get a square wave output. Does this imply that I need to use PSS (shooting) if want to see the phase noise/jitter at comparator output and HB if looking for phase noise at osc outputs (with sinusoidal waveforms). 

By the way, what is the penalty to be paid if PSS shooting is used for linear and weakly non-linear oscillators?

Thanks,

Sharjeel

common mode feedbak STB analysis question

$
0
0

Hello, i want to verify a certain point.

I have a common mode feedback amplifier,which is not a regular feedback(from input to output)

So STB could not work in this case because the feedback loop is not between input and output of the amplifier,Correct?

Viewing all 956 articles
Browse latest View live