Simulation issues with current control with a 3 phase inverter
Im working on the following simulation.
Where im using the programmable voltage source as a representation of the grid and than im using a inductance and resistance with 3mH and 50 mOhm and than im using a Average value voltage source converter representing a bidirectional inverter and than a dc link with a batterie with 800V.
The following is my current control algorithm,
The control signal is than put into a PWM Timing and Waveform Generator to control the inverter.
The issue im currently facing is that i cant control the current for some reason the current id is not following the id* current, i tried tuning the PI controller but that doesnt help. I still get the following currents even tho they should go to 0 since id* and iq* are both 0.
I then tried to run the vd voltage as the vd inv voltage and the vq as the vq inv Voltage but there is still some residual current in the system even tho it should be 0 at that point.
I really tried a lot of different approaches like measuring the current between inductance and inverter, and also played with the sample time but i never get the current id and iq to follow id* and iq* i always get this current form and i dont really understand why.
Is my simulation wrong physically or am i not seeing something?
I also put a copy of my simulation below in case someone wants to test with it.
Any kind of help or new leads as why this current controller doesnt work would be much appreciated.Im working on the following simulation.
Where im using the programmable voltage source as a representation of the grid and than im using a inductance and resistance with 3mH and 50 mOhm and than im using a Average value voltage source converter representing a bidirectional inverter and than a dc link with a batterie with 800V.
The following is my current control algorithm,
The control signal is than put into a PWM Timing and Waveform Generator to control the inverter.
The issue im currently facing is that i cant control the current for some reason the current id is not following the id* current, i tried tuning the PI controller but that doesnt help. I still get the following currents even tho they should go to 0 since id* and iq* are both 0.
I then tried to run the vd voltage as the vd inv voltage and the vq as the vq inv Voltage but there is still some residual current in the system even tho it should be 0 at that point.
I really tried a lot of different approaches like measuring the current between inductance and inverter, and also played with the sample time but i never get the current id and iq to follow id* and iq* i always get this current form and i dont really understand why.
Is my simulation wrong physically or am i not seeing something?
I also put a copy of my simulation below in case someone wants to test with it.
Any kind of help or new leads as why this current controller doesnt work would be much appreciated. Im working on the following simulation.
Where im using the programmable voltage source as a representation of the grid and than im using a inductance and resistance with 3mH and 50 mOhm and than im using a Average value voltage source converter representing a bidirectional inverter and than a dc link with a batterie with 800V.
The following is my current control algorithm,
The control signal is than put into a PWM Timing and Waveform Generator to control the inverter.
The issue im currently facing is that i cant control the current for some reason the current id is not following the id* current, i tried tuning the PI controller but that doesnt help. I still get the following currents even tho they should go to 0 since id* and iq* are both 0.
I then tried to run the vd voltage as the vd inv voltage and the vq as the vq inv Voltage but there is still some residual current in the system even tho it should be 0 at that point.
I really tried a lot of different approaches like measuring the current between inductance and inverter, and also played with the sample time but i never get the current id and iq to follow id* and iq* i always get this current form and i dont really understand why.
Is my simulation wrong physically or am i not seeing something?
I also put a copy of my simulation below in case someone wants to test with it.
Any kind of help or new leads as why this current controller doesnt work would be much appreciated. current control, error, inverter control, bidirectional grid simulation, simulation MATLAB Answers — New Questions









