Hi... I have construct a circuit that uses the energy of a PV cell to utilize in charges and/or to charge a battery. My model is the next, but i have a problem in connect my charge to a circuit... What is my error?

 채택된 답변

Nuno
Nuno 2011년 6월 16일

0 개 추천

I want to charge the battery from the Sine Wave and the under part spends the energy sent from Sine Wave... Is in this form?

댓글 수: 3

Arnaud Miege
Arnaud Miege 2011년 6월 16일
I'm no expert, but I think the polarity of your current controlled source should be reversed.
Nuno
Nuno 2011년 6월 16일
Yes, i had seen it...
One more thing... A battery set in simulink, when we defined to Nominal Voltage=12V, the voltage reaches values of almost 25V. It´s true? Because the Fully Charged Voltage=13,0658V...
Why this appened?
Arnaud Miege
Arnaud Miege 2011년 6월 17일
Can you accept an answer and create a new question rather than keep appending to this one? Also, please provide more details: which battery? In SimPowerSystems? under which conditions? etc...
Arnaud

댓글을 달려면 로그인하십시오.

추가 답변 (7개)

Arnaud Miege
Arnaud Miege 2011년 6월 8일

1 개 추천

You can't connect Simscape and SimPowerSystems components together, Have a look at this thread and that thread on the newsgroup for more details.
Arnaud

댓글 수: 1

Nuno
Nuno 2011년 6월 8일
Ok Arnaud! But the logic of the circuit is the correct?

댓글을 달려면 로그인하십시오.

Nuno
Nuno 2011년 6월 8일

0 개 추천

Arnaud Miege, this form is a correct?

댓글 수: 1

Arnaud Miege
Arnaud Miege 2011년 6월 8일
You're measuring the current on the Simscape side and applying on the SimPowerSystems side with a controlled current source. That's correct, but to get the interface correct and complete, you also need to measure the voltage on the SimPowerSystems side and apply it on the Simscape side with a controller voltage source. Note that this will likely introduce an algebraic loop in your model, that you may need to break with, say, a low-pass filter (transfer function) with an appropriately chosen cut-off frequency.

댓글을 달려면 로그인하십시오.

Nuno
Nuno 2011년 6월 9일

0 개 추천

댓글 수: 1

Arnaud Miege
Arnaud Miege 2011년 6월 9일
Not quite. You need to measure the voltage on the SimPowerSystems side, not the Simscape side, and inject it on the Simscape side with a controlled voltage source. Basically, if you measure current on one side, you need to measure voltage on the other, and vice-versa.

댓글을 달려면 로그인하십시오.

Nuno
Nuno 2011년 6월 9일

0 개 추천

Ah, ok... I already understand... But i tried this, but i don´t connected S-PS to Voltage sensor like the image.. What's wrong?

댓글 수: 1

Arnaud Miege
Arnaud Miege 2011년 6월 9일
You need to measure the voltage on the SimPowerSystems side using a voltage measurement block from SimPowerSystems, not Simscape:
http://www.mathworks.com/help/releases/R2011a/toolbox/physmod/powersys/ref/voltagemeasurement.html
You can then apply that voltage on the Simscape side using a controlled voltage source from Simscape:
http://www.mathworks.com/help/releases/R2011a/toolbox/physmod/simscape/ref/controlledvoltagesource.html

댓글을 달려면 로그인하십시오.

Nuno
Nuno 2011년 6월 13일

0 개 추천

Arnaud, but in this form i can't do. what is wrong?

댓글 수: 3

Arnaud Miege
Arnaud Miege 2011년 6월 13일
You're doing it all wrong. It's not particularly difficult. Create a subsystem that will interface Simscape to SimPowerSystems, so that on one side you have a Simscape port and on the other a SimPowerSystems port. The subsystem should look something like this:
https://picasaweb.google.com/lh/photo/sP8MrAcIWH7CgAXAdYy6Qw?feat=directlink
Note, as I mentioned before, that this will introduce an algebraic loop in your model that you may need to get rid of. Once you have your interface block, connect it to a SimPowerSystems component on one side and to a Simscape component on the other.
Nuno
Nuno 2011년 6월 13일
Sorry for questions, but who i connected "Connection Port"?
I want to have a input signal, but then I can´t connect to the Controlled Current Source... Why?
http://img37.imageshack.us/img37/354/signall.png
Arnaud Miege
Arnaud Miege 2011년 6월 14일
The input signal goes into the signal port (S), the + and - ports are electrical ports.

댓글을 달려면 로그인하십시오.

Nuno
Nuno 2011년 6월 14일

0 개 추천

Ok! I already implement... Are correct? http://img846.imageshack.us/img846/7546/exempleg.png
But, appear the next error: "Nonlinear solver: Linear Algebra error. Failed to solve using iteration matrix. Transient initialization, solving for consistent states and modes, failed to converge."

댓글 수: 5

Arnaud Miege
Arnaud Miege 2011년 6월 14일
No, it's not quite right still. Your voltage measurement block on the SimPowerSystems side is not measuring the right voltage. I'm not sure the connectivity on the Simscape side is quite right either. Do as I suggested and create an interface subsystem as in the screenshot I provided a link to in my previous comment, it'll be a lot easier. Once you have the interface subsystem, it should be just a matter of connecting to SimPowerSystems on one side and Simscape on the other.
Nuno
Nuno 2011년 6월 15일
I already create... The circuit is this: http://img96.imageshack.us/img96/7350/circ1.png
The subsystem is this: http://img690.imageshack.us/img690/513/circ2.png
Where i connect the Sine Wave?
Arnaud Miege
Arnaud Miege 2011년 6월 15일
Connect the sine wave to a current controlled source as you normally would if the interface block wasn't there. A good way to approach this is to create the SimPowerSystems and Simscape parts of the model separately, and only once this is done, add the interface block to link the two.
Nuno
Nuno 2011년 6월 15일
Ok...
that's okay right? http://img6.imageshack.us/img6/6498/batnd.png
Arnaud Miege
Arnaud Miege 2011년 6월 15일
Yes!! Although you appear to have grounded the + terminal of the battery. Is that what you intended to do? In other words, is your current source in the right orientation?

댓글을 달려면 로그인하십시오.

shermon sheran
shermon sheran 2014년 1월 27일

0 개 추천

dear Nuno, can you send me this circuit as i stuck in the first part of doing the signal builder, and also the value. My email address is shermonsheran@gmail.com kindly please help me, i'm doing battery charger project. thank you

커뮤니티

더 많은 답변 보기:  Power Electronics Community

질문:

2011년 6월 8일

답변:

2014년 1월 27일

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by