ScEpTIC.emulator.energy.voltage_regulator package
Submodules
ScEpTIC.emulator.energy.voltage_regulator.MAX20361 module
- class ScEpTIC.emulator.energy.voltage_regulator.MAX20361.MAX20361
Bases:
StepUpVoltageRegulatorModel
Model of the MAX20361 step up regulator from Analog Devices. Datasheet: https://www.analog.com/media/en/technical-documentation/data-sheets/max20361.pdf
ScEpTIC.emulator.energy.voltage_regulator.TPS61322 module
- class ScEpTIC.emulator.energy.voltage_regulator.TPS61322.TPS61322
Bases:
StepUpVoltageRegulatorModel
Model of the TPS61322 step up regulator from Texas Instruments. Datasheet: https://www.ti.com/lit/ds/symlink/tps61322.pdf
ScEpTIC.emulator.energy.voltage_regulator.TPS62740x module
- class ScEpTIC.emulator.energy.voltage_regulator.TPS62740x.TPS62740x
Bases:
StepDownVoltageRegulatorModel
Model of the TPS62740x step down regulator from Texas Instruments. Datasheet: https://www.ti.com/lit/ds/slvsb02b/slvsb02b.pdf
ScEpTIC.emulator.energy.voltage_regulator.ideal_regulator module
- class ScEpTIC.emulator.energy.voltage_regulator.ideal_regulator.IdealStepDownRegulator
Bases:
StepDownVoltageRegulatorModel
Model of an ideal step-up voltage regulator
- class ScEpTIC.emulator.energy.voltage_regulator.ideal_regulator.IdealStepUpRegulator
Bases:
StepUpVoltageRegulatorModel
Model of an ideal step-up voltage regulator
Module contents
- class ScEpTIC.emulator.energy.voltage_regulator.NoRegulator
Bases:
VoltageRegulatorModel
Dummy regulator to use when no regulator is present
- get_voltage()
- Returns:
output voltage of the voltage regulator
- class ScEpTIC.emulator.energy.voltage_regulator.StepDownVoltageRegulatorModel
Bases:
VoltageRegulatorModel
Model of a step down voltage regulator
- get_voltage()
- Returns:
output voltage of the voltage regulator
- class ScEpTIC.emulator.energy.voltage_regulator.StepUpVoltageRegulatorModel
Bases:
VoltageRegulatorModel
Model of a step up voltage regulator
- get_voltage()
- Returns:
output voltage of the voltage regulator
- class ScEpTIC.emulator.energy.voltage_regulator.VoltageRegulatorModel
Bases:
VoltageSource
,VoltageDrawner
Model of a voltage regulator.
- get_drained_energy(energy_output, t)
Calculates the energy consumption of the system, accounting for the efficiency of the voltage regulator :param energy_output: energy drained from this voltage regulator :param t: elapsed time (or, 1 / mcu clock frequency) :return: the drained energy
- get_supplied_energy(energy_input, t)
Calculates the energy supplied by the voltage regulator :param t: elapsed time (or, 1 / mcu clock frequency) :return: the supplied energy
- set_output_voltage(v_out)
Sets the voltage regulator output