## Tutorials

Tutorials for some of the topics where my research interests are. Some of the topics are more like a learning notes, which captures my learning progress of some of my hobbies.

Enjoy 😎 !

### Learn Switching Regulators - 101

Introduction of switching regulators and the control methods. This series of tutorial help you understand the basic theory and design methods for DC/DC converters.

#### Introduction of Switching Regulators

--- views

#### Popular converters and the conversion ratio

--- views

#### Power stage transfer function derivations

--- views

#### Simulation of open-loop switching regulators in Xschem

--- views

#### Simulation of open-loop Buck converter in Simulink

--- views

#### Average Switch Model of Buck Power Stage

--- views

#### Open loop Boost converter modeling in Simulink

--- views

#### Calculate Vout ripple for Buck converter

--- views

#### Inductor current and Vout ripple plot in Simplis

--- views

#### Conversion ratio derivation for DCM - Buck converter

--- views

### Xschem - 101

Introduction of Xschem, Skywater PDK and Ngspice. Learn through some basic simulation examples.

#### Installation of Xschem

--- views

#### Basic RLC simulation in Xschem

--- views

#### Basic voltage and current source in Xschem

--- views

#### Basic inverter simulation in Xschem

--- views

#### Create symbol and hierarchical schematic in Xschem

--- views

#### View waveforms in Xschem

--- views

#### Backannotation of operating point in Xschem

--- views

#### Parametric standard cell in Xschem

--- views

#### Simulation of capacitance in Xschem

--- views

#### Monte Carlo simulation in Xschem

--- views

#### AC simulation in Xschem

--- views

### Simplis - 101

Introduction of Simplis, which is a widely used tool for switching regulator simulation in both academic and industry. Learn through some basic simulation examples.

#### Introduction of Simplis

--- views

#### Simplis cheatsheet

--- views

#### Open loop Buck converter in Simplis

--- views

#### POP and AC simulation in Simplis

--- views

### Modeling of Switching Regulators

Step-by-step mathematical derivation of transfer function for Buck, Boost and IBB regulator. Simplis and Matlab are used during the process of mathematical derivation and verification.

#### Gvd and Gid derivation of Buck converter

--- views

#### Gvg and Gig derivation of Buck converter

--- views

#### Gvd and Gid derivation of Boost converter

--- views

#### Gvg and Gig derivation of Boost converter

--- views

#### Gvd and Gid derivation of inverted Buck-Boost (IBB) converter

--- views

#### Gvg and Gig derivation of inverted Buck-Boost (IBB) converter

--- views

#### Power stage transfer function cheatsheet

--- views

#### Power stage transfer function Bodeplot tool

--- views

#### Type-III compensator design tutorial

--- views

### Modeling of Switching Regulators - Current Mode

Step-by-step mathematical derivation of transfer function for current mode controlled switching regulators. Simplis and Matlab are used during the process of mathematical derivation and verification.

#### He(s) derivation for peak current mode control

--- views

#### Modeling of peak current mode controlled Boost converter

--- views

#### Gvc simulation for PCM controlled Boost converter in Simplis

--- views

#### OTA based Type-II compensator transfer function derivation

--- views

### Switching regulator design examples

Step-by-step tutorial of voltage-mode, current-mode, constant-on time, hysteretic controlled Buck converter, Boost converter and IBB converter model in Simplis.

#### Voltage-mode Buck converter design example

--- views

#### Peak current mode Boost converter design example

--- views

#### Peak current mode Buck converter design example

--- views

#### Peak current mode IBB converter design example

--- views

### HTML Canvas Animation with Javascript

Fun project. Playing with Javascript to draw some animation on HTML canvas. No framework is being used.

#### HTML Canvas boiler template

--- views

#### HTML Canvas particle animation

--- views

#### HTML Canvas line animation

--- views

#### HTML Canvas matrix rain

--- views

#### HTML Canvas image pixel

--- views