This voltage regulator uses a triangle oscillator and a comperator to generate a pwm signal. This signal is fed into the transistor circuit which makes the pwm signal into a linear voltage.
Start simulation with potmeter in 0%.
Simulation must be run in slow speeds to make sure it runs properly. Output voltage will use some time to follow due to slow simulation speed.
Shake device to start the triangle oscillator
The transistor circuit is copied and modified from the MAX31790 data sheet.
Its voltage range is measured ca 1-13V.
Not tested outside simulation.