Pseudo Code: Input: capacitor Pattern Set Cs, pulse Pattern Ps. Output: Step output voltage Begin Identify the Switch being selected. Compute possible capacitors gets charged cs = for each capacitor Ci from CS compute possible step up voltage value Sv = Voltage(Ci) + Vin for each pattern Pi of PS if then Pi(Ci) = Sv. end end End. End. |