+ Post New Thread
Results 1 to 10 of 10

3rd February 2020, 11:36 #1
 Join Date
 Jun 2017
 Location
 Bhubaneswar, India
 Posts
 56
 Helped
 4 / 4
 Points
 824
 Level
 6
PID implementation for IGBT half bridge configuration
Hello everyone,
I want to design a PID controller for a closedloop control system. Here I have IGBTs in Halfbridge configuration, I am sensing current output from a hall effect sensor, and taking it as feedback. By the current feedback, I am controlling the PWM to drive the IGBT. I have a set point and I have current feedback, which I can subtract and get the error. then I need to design a Prpotional control and integral control. So I do not know how to give proportional gain and integral gain. As in the control system, I have a transfer function which I do not know how to calculate for a nonlinear system like in the switching circuit. So what are the other ways to calculate Proportional gain and integral gain?
I am going to use SG3525 for the PWM controller and Opamps for the PI implementation. Further, it will be replaced with a PID algorithm using a microcontroller.Md Shahrukh

3rd February 2020, 15:21 #2
 Join Date
 Feb 2014
 Posts
 978
 Helped
 335 / 335
 Points
 6,825
 Level
 19
Re: PID implementation for IGBT half bridge configuration
In the power supply world the controllers are commonly called TypeI (dominant pole), Type II (like PI), Type III (like PID).
Search Type II controller and you'll easily find circuits and app notes to implement it with an opamp.
Don't worry about switching nonlinearities, at least at first. Assume Vout is Vin*duty
As for your transfer function  what's your load? Load will determine the transfer function.

Advertisement

4th February 2020, 08:23 #3
 Join Date
 Jun 2017
 Location
 Bhubaneswar, India
 Posts
 56
 Helped
 4 / 4
 Points
 824
 Level
 6
Re: PID implementation for IGBT half bridge configuration
Thank you for suggesting this approach. I will study the application notes.
As for your transfer function  what's your load? Load will determine the transfer function.Md Shahrukh

4th February 2020, 12:08 #4
 Join Date
 Jan 2008
 Location
 Bochum, Germany
 Posts
 46,168
 Helped
 14041 / 14041
 Points
 264,204
 Level
 100
Re: PID implementation for IGBT half bridge configuration
Taking it as a resistive load with low resistance?

Advertisement

5th February 2020, 06:22 #5
 Join Date
 Jun 2017
 Location
 Bhubaneswar, India
 Posts
 56
 Helped
 4 / 4
 Points
 824
 Level
 6
Re: PID implementation for IGBT half bridge configuration
I presume the converter has significant output inductance?Md Shahrukh

5th February 2020, 10:10 #6
 Join Date
 Jan 2008
 Location
 Bochum, Germany
 Posts
 46,168
 Helped
 14041 / 14041
 Points
 264,204
 Level
 100
Re: PID implementation for IGBT half bridge configuration
You didn't even tell if it's an AC or DC welder. Why not provide a principle schematic of your welder circuit?
Welding arc has negative dynamic impedance, there must be a series impedance, e.g. an inductor to achieve stable current control.

5th February 2020, 12:03 #7
 Join Date
 Jun 2017
 Location
 Bhubaneswar, India
 Posts
 56
 Helped
 4 / 4
 Points
 824
 Level
 6
Re: PID implementation for IGBT half bridge configuration
Hello FvM, thank you for the reply.
It is a DC welder.
I will use this circuit to drive a transformer. The transformer rating will be 14:5. The voltage to the IGBTs will be 310V DC.
And this is the transformer where the IGBT out is connected.
I don't know about negative dynamic impedance, I will study it. And I guess you are right, I am using an inductor in the circuit to achieve better stability.
Now, with the help of the circuit above can you help me how to make a model out of it. I will replace the switching circuit with equivalent resistance of the channel and transconductance of the IGBTs.
Or can you share me some sample example which can make me understand the theory behind solving this type of problems.
Thank you.Md Shahrukh

7th February 2020, 17:07 #8
 Join Date
 Jun 2017
 Location
 Bhubaneswar, India
 Posts
 56
 Helped
 4 / 4
 Points
 824
 Level
 6
Re: PID implementation for IGBT half bridge configuration
Is there any other way to design a controller for this problem, as I know there is a way with having a transfer function and do the analysis using the Matlab tool to observe various types of linear as well as nonlinear control.
How to design a type2 or type3 control for a system like this?
Can you suggest me some technique to address this type to control design?
Thank you.Md Shahrukh

8th February 2020, 00:09 #9
 Join Date
 Jan 2008
 Location
 Bochum, Germany
 Posts
 46,168
 Helped
 14041 / 14041
 Points
 264,204
 Level
 100
Re: PID implementation for IGBT half bridge configuration
I think you are overcomplicating things. If you have difficulties to derive the plant transfer function from circuit analysis, you can record the system step response and calculate appropriate controller parameters. Or apply empirical tuning methods like ZieglerNicols.

Advertisement

14th February 2020, 14:11 #10
 Join Date
 Jun 2017
 Location
 Bhubaneswar, India
 Posts
 56
 Helped
 4 / 4
 Points
 824
 Level
 6
Re: PID implementation for IGBT half bridge configuration
Thank you FvM, I found the solution using MATLAB itself, it has the feature to linearise the model and give the transfer function. I got the openloop transfer function and taking further analysis using the control system block using MATLAB. I have also found the Kp Ki and Kd value using the PID tuner in the MATLAB.
I have some more doubts. I will ask it in the Microcontroller section.
Thank you, everyone.Md Shahrukh
+ Post New Thread
Please login