Doubt in circuit of battery
3 views (last 30 days)
Show older comments
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?
0 Comments
Accepted Answer
Nuno
on 16 Jun 2011
3 Comments
Arnaud Miege
on 17 Jun 2011
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
More Answers (7)
Arnaud Miege
on 8 Jun 2011
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
Nuno
on 8 Jun 2011
1 Comment
Arnaud Miege
on 8 Jun 2011
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
on 9 Jun 2011
1 Comment
Arnaud Miege
on 9 Jun 2011
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
on 9 Jun 2011
1 Comment
Arnaud Miege
on 9 Jun 2011
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
on 13 Jun 2011
3 Comments
Arnaud Miege
on 14 Jun 2011
The input signal goes into the signal port (S), the + and - ports are electrical ports.
Nuno
on 14 Jun 2011
5 Comments
Arnaud Miege
on 15 Jun 2011
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
on 27 Jan 2014
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
0 Comments
Communities
More Answers in the Power Electronics Control
See Also
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!