/* * buck_specs.h * * Created on: 13. maj 2025 * Author: Christian L. V. Madsen (OZ1CM) */ #ifndef BUCK_SPECS_H_ #define BUCK_SPECS_H_ // Voltages #define VIN 30.0 // Volt #define VOUT_TARGET 4.2 // Volt // Component Values: #define L_INDUCTOR 68e-6 // Henry #define C_CAPACITOR 10e-6 // Farad // Sample time #define SAMPLE_TIME 25e-6 // Load #define R_LOAD 10 // Ohm // Simulation parameters #define SIMULATION_TIME 0.6 // Seconds // Plot specific // OutputFile: #define BUCK_OUTPUT_FILE "buck_regulation_emul.csv" #define RUN_CMD "cmd.exe /c python ../plotscript/python_csv_plotter.py %s" #endif /* BUCK_SPECS_H_ */