Sensing
Current Sensing
Current Loop Inductor (Cuk/SEPIC/ZETA Converter):
L1 (GiL1D )
L2 (GiL2D )
Controller Coefficients
Copy #defines
Analog Equivalent (from Digital Coefficients)
Note: When digital coefficients are provided, they are automatically converted to analog (continuous-time) using inverse Tustin transformation. The above shows the equivalent poles, zeros, and DC gain of the analog compensator.
Current Loop Open-Loop Bode Plot (T_i_d)
Open-loop transfer function of the current control loop. Shows magnitude and phase response with phase margin and gain crossover frequency.
Voltage Loop Open-Loop Bode Plot (T_v_d)
Open-loop transfer function of the voltage control loop. Shows magnitude and phase response with phase margin and gain crossover frequency.
Closed-Loop Step Response: Output Voltage (Vo) to Reference (Vref)
This plot shows the output voltage response to a step change in the reference voltage. The response should settle to the target output voltage (Vo).
System Margins
Phase Margin: - °
Gain Crossover Frequency: - rad/s
📊 After you generate code
The next screen usually includes:
Plots — Frequency (Bode) views of your loops, with stability info.
Voltage mode — A voltage-loop plot.
Current mode (when selected) — Current-loop and voltage-loop plots.
Step response — How the output moves when the reference changes.
Project files — The ZIP or extracted folder is your board project (same name as in the repo, e.g. NUCLEO_G474RE_DP).
While you’re on this page, use Apply under Configure in the sidebar, then switch between coefficients, plots, and margins.
Save , Load , and Generate code stay at the bottom of the window so you can always reach them.