abicash
Member level 3
- Joined
- Jun 26, 2007
- Messages
- 60
- Helped
- 1
- Reputation
- 2
- Reaction score
- 1
- Trophy points
- 1,288
- Activity points
- 1,772
Hello
I am trying to control a 48vdc input to 12vdc output with a QG8 PWM of 6KHz.
The current control is at 50A and it just folds back.
For this i used a buck topology and it seems to work fine under no load condition.
But there is a lot of instability at the output once a load is introduced.
My correction code is called in MTIM ISR at every 8ms thus
I understand that a PI(D) control would be required.
Can anyone help me understand how this can be implemented with a QG8?
All help appreciated
I am trying to control a 48vdc input to 12vdc output with a QG8 PWM of 6KHz.
The current control is at 50A and it just folds back.
For this i used a buck topology and it seems to work fine under no load condition.
But there is a lot of instability at the output once a load is introduced.
My correction code is called in MTIM ISR at every 8ms thus
Code C - [expand] 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 if(battery_voltage<=Volt_limit) //12v =2v { duty_cycle_variation++; if(duty_cycle_variation>=DUTY_CYCLE_MAX)duty_cycle_variation=DUTY_CYCLE_MAX; if(current_adjust>=Current_max) //350=50A { duty_cycle_variation=duty_cycle_variation-2; if(duty_cycle_variation<=1)duty_cycle_variation=1; } } else //if(battery_voltage>=Volt_limit) { duty_cycle_variation--; if(duty_cycle_variation<=DUTY_CYCLE_MIN)duty_cycle_variation=DUTY_CYCLE_MIN; }
I understand that a PI(D) control would be required.
Can anyone help me understand how this can be implemented with a QG8?
All help appreciated