StevenIC: Tips 'n Lifehacks of Design of Analog IC, Mixed-Signal IC (AMS) & RFIC (©Steven)
[Welcome to citing and linking to the pages of this blog] Summary of learning and practice of analog circuit, mixed-signal circuit and RF circuit designs, focused on their integrated circuit (IC) implementations. General knowledge learned from books, papers and practices are summarized. This blog also holds Job Hunting Guide, including interview questions, written by Fuding Ge.
About Me
- Steven
- Contact email: rflover(at)gmail(dot)com {Announcement: This blog welcome the readers to submit your own tips, lifehacks, and knowledge in the Design of Analog IC, Mixed-Signal IC & RFIC (AMS/RFIC). The submitter shall be the author and copyright-holder of the article. The submitter will still keep the copyright after the submission. I will clearly indicate the copyright owner by using "©Author" after the article's title, for example, ©Mike Green. I will also provide a link at the first line of the article pointing to the submitter's website/blog. I can also provide the author's biography at the end of the article. The submitter can send me the article in .doc format to my email above. Your submitted articles will be subject to review before posting.}
Welcome to Subscribing by popular RSS readers or Email
Monday, January 2, 2012
Analog IC design learning websites (to be amended)
Useful sections:
* Frequently Used Javascript Calculators
* Cheat sheets for Analog IC Design
Tuesday, May 11, 2010
Nwell of pmos is connected to vdd or its source?
Pros:
1. no body effect, so vth is smaller, then the device can be turned on more, and the resulting gain can be large;
2. there is no mismatch due to vth variance from body effect (vth variance due to other reasons still exist);
Cons:
1. layout size is large, since different pmos cannot share the save nwell;
2. possible transient forward biasing of pn junction formed by nwell and p+ source, when the signal is sharp and the resistance between source and nwell is not small;
Nwell of pmos is connected to vdd or its source?
Thursday, May 6, 2010
Low dropout (LDO) regulator design
1) In light load (Iload is small), the pass pmos is working in saturation region;
2) When heavy load, the pass pmos may work in triode region, because Vgs has to be large to provide more current, and such large Vgs may exceed Vds+Vth (both are fixed).
1) The dominant pole (p1) is usually inside the error amplifier op-amp, Miller frequency compensation formed by C or RC can be used, moving p1 to lower frequency, and/or providing a zero to cancel a pole's effect; p2 is usually at the LDO output; there is a high frequency pole due to the parasitic cap of pass pmos;
2) Alternatively, if the op-amp is one stage and/or does not have p1, frequency compensation can be done by putting C or RC across G and D of pass pmos, which can create p1. The parasitic caps inside op-amp thus create high frequency poles which are usually higher than p2, which is at the output of LDO.
Cload at the LDO output has a trade-off.
1) lager Cload can reduce the Vout ripple due to Iload switching;
2) smaller Cload moves p2 to higher frequency, making the LDO loop more stable.
PSRR over frequency usually has following shape:
1) at low frequency, PSRR is large negatively, e.g., -60 dB; the PSRR in this region is determined by the loop gain of LDO;
2) it rises to higher value in intermediate frequency, e.g., -20 dB; the corresponding cut-off frequency is determined by the loop bandwidth of LDO;
3) higher than certain frequency, PSRR falls off to large negative value again; the corresponding cut-off frequency is determined by the Cload and equivalent Rload.
Suppose pmos works in saturation region:
1) When Iload is high, the equivalent Rload is small, total LDO loop gain is small, because Rload serves as load of the pass transistor; thus reduces PSRR in low frequency region;
2) When Iload is relatively small, the equivalent Rload is high, p2 moves to lower frequency; at the same time, loop gain is high; thus makes LDO loop less stable.
How to test LDO?
1) shall not put ideal current source as load of LDO; the infinite Rout of the ideal current source is too unrealistic;
2) can put an equivalent Rload;
3) can put a current mirror as the load, with its Iout port connected to LDO output; Iref port can be connected to an ideal current source; the ideal current source can also be a pulse, to test the dynamics of LDO.
Reference:
Gabriel Rincon-Mora, Analog IC Design with Low-Dropout Regulators (LDOs), McGraw-Hill Professional; 1 edition (January 23, 2009)
Low dropout (LDO) regulator design
Sunday, May 2, 2010
Bode Plot Basic Concepts and Practical Applications
------------------------------------
The slope of amplitude Bode plot for voltage or current is Nx20dB/dec;
The phase Bode plot approaches Nx90 degrees after every pole/zero.
------------------------------------
Left-hand-plane (LHP) zero improves phase margin, by bending up both magnitude and phase; example of LHPZ is Rgd-and-Cgd-in-series induced zero, as 1/((gm^(-1)-Rgd)*Cgd), where Rgd is larger than gm^(-1);
Right-hand-plane (RHP) zero worsens phase margin, by bending up magnitude but bending down phase; example of RHPZ is Cgd induced zero, as 1/(gm^(-1)*Cgd).
---------------------------------------
How to determine the frequency of a pole or a zero from a transfer function in simulation?
1. Look at the amplitude transfer function and locate the bending points; this is very difficult, when poles and zeros are close to each other;
2. Look at the phase transfer function: if the phase curves bends down from 0 to -90 degrees, there is a pole at -45 degrees; similar to zeros;
------------------------------------
The above assumes that the poles and zeros are real value;
for the case that poles/zeros pair are complex, amplitude Bode plot bends extra -/+40dB/dec, and there are peaking around such complex poles/zeros; the phase Bode plot bends to extra -/+180 degrees.
Q: Do you ever see the case of complex zeros in circuit design?
------------------------------------
References:
http://www.swarthmore.edu/NatSci/echeeve1/Ref/LPSA/Bode/Bode.html
http://wikis.controltheorypro.com/index.php?title=Bode_Plot
http://en.wikibooks.org/wiki/Control_Systems/Bode_Plots
Bode Plot Basic Concepts and Practical Applications
Blog Archive
Categories
- Analog IC design (22)
- Analog IC simulation (16)
- Basic Concepts (2)
- Courses (1)
- Crystal Oscillator (1)
- Device models (7)
- Digital IC design (3)
- EM simulation (1)
- Fuding Ge (7)
- IC fabrication (1)
- Industry News (1)
- Interview Questions (10)
- Math (1)
- Mixed-Signal IC (3)
- Op-Amp (5)
- RFIC design (1)
- Small Softwares (1)
- website (1)
Disclaimer
Though the author tries his best to ensure the correctness of the information in this blog, the information provided is "AS IS". Readers are recommended to consult other resources, including books and papers, to double check the correctness of the information.
The author may update the posts from time to time to correct or to improve. The update may not be resynced to the corresponding RSS item which is already downloaded; reader can try to resync it.
The author welcomes the readers' comments to help improve this blog, including the corrections to the posts.
This blog only represents the author's personal opinions or the opinions derived from the understanding of the books and papers the author read.
The contents of this blog are copyrighted by the author, except those explicitly explained. The blog contents shall not be reproduced by anyone without the author's permission.
It is welcomed that this blog or pages of this blog can be cited or linked from other websites or webpages.