modelRt6150
Information
Averaged model (no switching) of the RT6150B buck-boost converter carried by the boards that use it (Raspberry Pi Pico from VSYS, 1.8 to 5.5 V; BBC micro:bit v2 from the USB rail): while it runs, the output is held at VOut behind ROut, and the input draws the power delivered divided by the efficiency eta, plus the quiescent current IQ — a battery thus sees the load of the board, raised by the conversion losses, whatever its voltage.
It runs while en (3V3_EN) is above VEn and the input is above the undervoltage lockout (VInOn to start, VInOff to stop). Stopped, the output is in high impedance (leakage GOff): it can be supplied from outside, as on the board with 3V3_EN grounded.
Not modelled: switching ripple, current limit, soft start, power-save mode (GPIO23).
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Units.SI.Voltage | VOut | 3.3 | Regulated output voltage |
| Modelica.Units.SI.Resistance | ROut | 0.05 | Output resistance while regulating (load regulation) |
| Modelica.Units.SI.Voltage | VInOn | 1.8 | Input voltage above which the regulator starts (undervoltage lockout) |
| Modelica.Units.SI.Voltage | VInOff | 1.7 | Input voltage below which a running regulator stops (hysteresis) |
| Modelica.Units.SI.Voltage | VEn | 1.0 | Threshold of the enable input (3V3_EN) |
| Real | eta | 0.9 | Efficiency: input power = output power / eta |
| Modelica.Units.SI.Current | IQ | 50e-6 | Quiescent input current while running |
| Modelica.Units.SI.Conductance | GOff | 1e-9 | Leakage of the output and of the input while stopped |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Electrical.Analog.Interfaces.PositivePin | vin | Input (VSYS on the Raspberry Pi Pico, USB rail on the BBC micro:bit v2) | |
| Modelica.Electrical.Analog.Interfaces.PositivePin | vout | Regulated output (3V3(OUT) on the Raspberry Pi Pico, 3V rail on the BBC micro:bit v2) | |
| Modelica.Electrical.Analog.Interfaces.PositivePin | en | Enable (3V3_EN): the regulator runs while this input is above VEn | |
| Modelica.Electrical.Analog.Interfaces.NegativePin | gnd | Ground |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| Boolean | running | The regulator is enabled and its input is above the undervoltage lockout | |
| Modelica.Units.SI.Voltage | vIn | Input voltage | |
| Modelica.Units.SI.Voltage | vOut | Output voltage | |
| Modelica.Units.SI.Current | iOut | Current delivered by the output | |
| Modelica.Units.SI.Current | iIn | Current drawn from the input | |
| Modelica.Units.SI.Power | pOut | Power delivered by the output |