I am having problems understanding the varactor sc...
# sky130
a
I am having problems understanding the varactor sch symbol, how should it be wired? Consider the test I am making, should this work? I was expecting several pF for a 5x5 varactor from the sky130 docs (https://antmicro-skywater-pdk-docs.readthedocs.io/en/latest/rules/device-details.html) , but this is oscilating at frequencies much higher than expected.
s
This is the way i simulated the capacitance and compared with a same size nmos transistor. A 5x5 varactor has max 0.2pF caacitance when biased above 0.7V.
a
Hey Stefan, thank you for your answer. The magic cell for the varactor is different from a nfet, it is a ndiff inside a nwell inside a pwell, maybe more like a pfet. I think the n+ (ndiff I assume) areas act like contacts to the nwell, I dont understand what the 'b' terminal is in this case. If the 'b' is connected to the guard ring in the pwell area, I understand it must be gnd, but if this is related to the nwell area, it would be vdd. (See my pin connection understanding in the images) I need to use this in a differential setup for a VCO in which I dont think i can control one pin voltage that must be dc tied to vdd (see my sch in the images). In this setup, my vtune isnt vtuning =(
s
yes the varactor is more similar to a pfet. However capacitance can never deviate much from a 5x5 LV oxide capacitance which is ~0.2pF. I believe these devices are used in accumulation, so source/drain/pwell tap are connected to GND.
This is the comparison with a pfet. In accumulation (positive voltages) they are very similar. However the varactor is not a true transistor and does not get inversion layer at negative voltages. Capacitance remains low. This is what makes these varactors good tunable capacitors, by biasing the bottom nodes.
1
Considering the direction of the diode in the symbol i believe the 'b' terminal is the pwell tap, so should never be higher than the C1 terminal and always GND. C1 is the polysilicon gate, C0 is the n+/nwell contact.
I have also verified that raising the C1 terminal will shift the C-V curve to the right.
a
This is nice, the shift to the right is equal to the voltage applied to the c1 terminal, so its effect seems to be exactly opposite to the gate (c0) terminal.
I think my problems may be related to the load current having to pass through the vtune source, in which i placed a big series resistance, maybe a decoupling capacitor will be needed, or something smarter