Abstract: | In this paper we describe how three simple observations can be used in order to obtain an efficient algorithm for the computer analysis of ideal switched-capacitor circuits. the resulting algorithm is linear in the number of phases. the first observation uses the structure of the r-domain MNA-matrix to come up with a new LU-decomposition scheme which is gradual per timeslot. the second observation allows a great reduction in size of the z-domain MNA-matrix by a matrix compaction algorithm which also operates gradually per timeslot and which can be interleaved with the first gradual LU-decomposition process. This leads to a small matrix which can then be used for a time- and direct frequency-domain analysis. Third, the computations of transfer functions, aliasing functions and sensitivities can be optimized by applying appropriate excitations and making appropriate combinations of the terms in the expressions. These algorithms have been implemented in the SC-analysis program DIANA.SC. the usefulness and efficiency of the program is then illustrated with some examples. |