Series parallel Charge pump
`include "constants.vams"
`include "disciplines.vams"
module singlecpdis (in, out);
inout in,out;
electrical in, out;
parameter real n=2;
parameter real CL = 100e-12 from (0:inf); // Capacitance C
parameter real C = 100e-12 from (0:inf);
parameter real T = 1e-7; // Sampling period
analog begin
V(out)<+zi_nd(V(in),{1,n},{1+(n*CL/C),-(n*CL/C)},T);
end
endmodule
This is the code and schematic i am working on, this is a 2 stage switched capacitor charge pump. Now , i have to find the time constant of each step. And it is found in the previous research paper that equalization time constant is 1/6 th of the semiperiod. But i doesnt go well with what i did. kindly guide me.