DC/DC test function and dead time config added
- The DC/DC test function slowly ramps up the duty cycle to 50% to allow defined measurements of gate driver, switch node etc. with an oscilloscope (without disturbance by the MPPT algorithm) - The dead-time between HS and LS gate on/off is now configurable for each PCB and not fixed to 300 ns for all PCBs anymore.
This commit is contained in:
+1
-1
@@ -116,7 +116,7 @@ int main()
|
||||
pwm_switch_init(&pwm_switch);
|
||||
#else // MPPT
|
||||
dcdc_init(&dcdc);
|
||||
half_bridge_init(PWM_FREQUENCY, 300, 12 / dcdc.hs_voltage_max, 0.97); // lower duty limit might have to be adjusted dynamically depending on LS voltage
|
||||
half_bridge_init(PWM_FREQUENCY, PWM_DEADTIME, 12 / dcdc.hs_voltage_max, 0.97); // lower duty limit might have to be adjusted dynamically depending on LS voltage
|
||||
#endif
|
||||
|
||||
// Configuration from EEPROM
|
||||
|
||||
Reference in New Issue
Block a user