EE6312: Project

The goal of the project is to design an opamp for the input stage of a pipelined A/D converter.

Specifications:

Submission:

  • You should hand in a brief Journal of Solid State Circuits style report. The length of the report should not exceed six pages. It should contain all circuit schematics, simulation plots that you want the professor/grader to see. ( LaTeX style files, Microsoft Word author's template.)
  • You should tar/gzip your design library so that in case we need to check, we can rerun the required simulations. Have a file called "README" inside the tar/gzip of your database which essentially describes what is what and gives pointers to how to do important simulations.
  • Simulations should include (but not restricted to) opamp frequency response indicating dc gain, bandwidth, phase margin, transient step response, opamp common mode frequency response, transient simulations in the overall circuit.
  • Submit by May 12.

    References:

    For further reading on pipelined A/D Converters, or to get a clear understanding, please refer to the following papers:

    Background:

    A basic block diagram of a stage in a pipelined A/D converter is as below:

    The entire circuit (and hence the opamp) has to be fully differential. It will be driving a switched capacitor circuit. Typically the contents of the dashed area in the diagram above might contain something as follows: (Note: This is just an example. The literature you will refer to might not contain a stage identical to this. There could be many different implementations of this block - each having its own advantages w.r.t sampling, charge injection, parasitics, offset etc. You do not have to use this circuit.)

    This circuit will be driving the next stage in the pipeline and so on. B and Bbar in the circuit are outputs of the A/D converter which is outside the dashed region. One might choose to use a 1 bit A/D (also known as a comparator) and a 1 bit D/A in one stage of the pipeline converter. There are more advanced architectures with 1.5 bit or even 2 bit stages, but we will not delve into these.

    For your own understanding, you have to first analyze the block diagram (first picture) and see for yourself how a pipelined A/D works. You will realize that the accuracy of the complete A/D converter with all of its stages is completely defined by the accuracy of the dashed area of the first stage of the pipelined converter. Now, for you own understanding analyze the circuit (second picture) shown and see that indeed it does fit into the dashed area of the block diagram.

    The goal of this project will be to design this dashed region of the block diagram. Given the accuracy required and the power budget for your circuit, design for the fastest sampling rate that you can achieve.

    Design Procedure:

    1. System Level Design: (Time to allot: max 10 days, finish by April 19)
      1. Choose size of the LSB. Determine capacitor size. Also, determine Vref.
      2. Choose the switch size.
      3. Determine the opamp specifications using the ideal opamp model given below (gain, bandwidth, stability, noise, distortion, settling, etc.)
      4. Use the opamp model and ideal switches and see if your design will work.
      At this point get your specs verified by the TA/Prof.
    2. Opamp Design: (Time to allot: max 15 days, finish by May 3)
      1. Design an opamp that satisfies these requirements; choose the topology; size transistors; verify specs.
      2. Design the switch.
      3. Make sure that the input referred noise is of the same order of magnitude as the noise of the switch.
      4. The opamp should have common mode feedback. Make sure that when you put the amplifier in a closed loop it does not start oscillating as a result of the common mode feedback. If it does, you need to compensate for common mode feedback.
      At this point, if you are unable to reach the specs as decided by phase I of your project, tweak the parameters in phase I till you can achieve the specs. If you do tweak the specs, get another sanity check done by the TA/Prof. If you need any kind of help with the opamp design, do not hesitate to approach the TA/Prof.
    3. Overall Simulations: (Time to allot: max 8 days, finish by May 12)
      1. Plug in the opamp in the A/D stage and run through clock phases; prove the 2x amplification happens with the right accuracy; show that you have enough settling time, etc.
      2. Write the report.

    Models:

    To figure out what specs you need for the opamp, a quick model has been implemented in cadence, which you can use. The model implements a two pole fully differential opamp, you can choose the common mode as well as differential mode gains, the output common mode, gain bandwidth, output resistance etc.

    Notes on the opamp model:

    Here is the schematic used for this:

    You will need to add the following to your library path:
    /home/user2/spring04/aj2112/ee6312models (call this ee6312models)
    and the model is available in the cell called "opamp_model".
    Please let me know if you want more features added to the opamp model.

    FAQ:

    1. Do we have to use the switched cap circuit that you have shown?
      No, you don't have to. In fact, the circuit there has serious limitations w.r.t offset cancellation during sampling. Look up the papers and references and try to come up with your implementation of that block. You can use it if you really can't come up with anything else.
    2. How does the 3 mV offset on the comparator affect me? Does this mean my LSB has to be 6 mV?
      The 3 mV offset doesn't affect you much. For the pipelined stage, the DAC, S/H, adder, gain 2 block have to be n-1 bits accurate. The 1 bit comparator doesn't need to be as accurate. The accuracy of the comparator will hit you as INL/DNL - but for now, you need not worry about it. As long as the rest of your circuitry (DAC, S/H etc) are accurate, you pass on a correct analog output to the following pipeline stage.
    3. Can I assume linear capacitors?
      Yes.
    4. Do I have to generate the clocks?
      No. Assume that these have been given.
    5. Do I have to generate Vref?
      No. Assume that this voltage has been given.