主要内容

搜索


SATYAJIT Kumar
SATYAJIT Kumar
上次活动时间: 2019-10-21

i want to model LI+ battery , i referred to matlab model https://www.mathworks.com/matlabcentral/mlc-downloads/downloads/submissions/36019/versions/29/download/zip but not able to understand how to make simscape battery parametrs(like R C ), anybody can help ??

Lithium-ion batteries play an important role in the success of electric vehicles, energy storage, and a host of other devices and equipment in our daily lives. Read the announcement here.

Learn more about how MathWorks enables the use of Lithium-ion battery technology

Battery Modeling

Battery Management

Determining State of Charge

Hi, How to represent a transfer function (TF) of a compensated system in MATLAB to plot the bode plot of it, without expanding the denominator? The TF is: T(s) = (1 + s/Wz) / ( (1 + s/Wp) * ( 1 + s/Wo + s^2/W0^2 ) )

I am simulating the attached paper on modulated model predictive control. I have done everything as in the paper. Can some please tell me about my mistake? I am so frustrating since two weeks. Thanks&Regards, G.Sivakumar.

Rik
Rik
上次活动时间: 2022-11-4

There are multiple ways to create a graphical user interface (GUI) in Matlab. Which method is the best depends on multiple factors: the complexity of the project, to what extent it should be a long-term solution, on what releases your GUI should work, your available time, your skill level, and probably other factors I'm forgetting.
To keep the thread clear I'll attempt to provide a short outline a few ways in this question, and leave the details for the answers. (@anyone with editing privileges: feel free to update the section below if I missed something important and am slow in editing this question)
---------------------------------------------------------------------------------------------------
GUIDE
GUIDE is probably the first tool new users will encounter. It is very useful for quickly putting something together, but it is otherwise fairly limited. It requires maintaining (and distributing) both a .m and a .fig file. Note that the GUIDE environment will be removed in a future release. After GUIDE is removed, existing GUIDE apps will continue to run in Matlab but they will not be editable in GUIDE. If you're starting a new GUI, don't use GUIDE. If you're updating an existing GUIDE GUI, migrate it to AppDesigner. In R2021a the first step for this removal was taken: all templates except the blank template have been removed.
GUILT
Although I haven't had a detailed look myself, it seems a list like this is not complete without at least mentioning the GUI Layout Toolbox, which is available on the file exchange and offers a lot of customization options.
Programmatic GUIs
You can bypass GUIDE and use the normal figures and functions like uicontrol to build GUIs from code. This makes the design less visual, but more flexible for future additions.
App Designer
The official successor to GUIDE, AppDesigner is not based on functions, but works similar to a class. It uses uifigure and mostly uses graphical elements that are incompatible with 'normal' GUIs that are created with a figure (or .fig).

If you are working on developing algorithms for Battery Management System, checkout this file exchange submission on BMS Reference Design. It includes example algorithms for SOC Estimation, Cell Balancing, Contactor Management and Current/Power Limit Calculations.

https://www.mathworks.com/matlabcentral/fileexchange/72865-design-and-test-battery-management-algorithms

Visit MathWorks at booth 218 during the IEEE Energy Conversion Congress and Exposition (ECCE) in Baltimore, Sept. 29 - Oct. 3. We will be partnering with Speedgoat to show real-time simulation solutions for power electronics control design. Also, join us for a panel session, The Role of Simulation Software for Power Electronics Control Design in Education, that will be held Thursday, Oct. 3.

Sabin
Sabin
上次活动时间: 2019-9-17

As usual, we start the autumn with a new release. R2019b is live! Check out what's new in Simscape™ Electrical™ . Load Flow Analysis, delta-wound PMSM and BLDC models, power dissipation for all machines, Japanese language localization support and many more new features. Please share your experience with the latest version of Simscape Electrical.

dear sir me creat that project me creat documentation can you gave me a code

https://youtu.be/z6ex3wiU-WA

Optimum SHE for Cascaded H Bridge Multilevel Inverters using (GA) Genetic Algorithm Multilevel Inverters for level 3, 5, 7, 9, 11 and 13

contact: algorithms7x@gmail.com

https://youtu.be/z6ex3wiU-WA

please, I want to use the finite difference method to discretize the telegraphic equations, and then write a matlab code to observe the propagation of a pulse on a transmission line. Help me please

Hello everyone,

      Recently i started using MATLAB Real Time Code Generation Tool to generate code for 3 phase Induction motor speed control using V/F. I used the piccolo launchpad F28027 to implement this V/F technique. I used a pot to get the frequency input and computed the corresponding Voltage using V/F ratio. When i tried implement it on the board, output PWM frequency was not exactly the same which i simulated. It was 2 - 3 times higher than the actual. So i tried reducing the inputs by the same 2-3 times. It worked. 
       Question is, what the problem with the code and processor?  why difference in PWM frequency between simulation and Realtime?

I sent a lot of tech support requests...read excellent advice and caveats...but that does not cook rice, as they say in Korean! It is hard for me to believe that the videos posted and examples cited are carried out with simulations taking hrs and hrs...mine took 3 hrs to do the outer voltage loop estimates from 10 Hz to 5kHz. Sampling time was.2 usec for a converter switching at 50 kHz. Anything less gives awful results. It is certainly the calculations from 10 Hz on to several hundred Hz at 200ns rate that take all this time. Why not post in the examples/ videos run times ...caveat that with the machine on which it was run? It is totally impractical to maintain that the tools cannot be predicted to be run fast, no matter the complexity of the problem at hand. I wish there was a "tool" that could grind through a model & give out in a scheduled simulation times with computing machine parameters! Those that are referenced in tech support documents really do not come close to such clarity. In short, the question of great importance to us: what to do to reduce simulation times to <few minutes from 180 min so that the entire system can be modeled, optimized, retuned & then taken to embedded coder stage for coding. This will bring up totally other realtime run issues...and we need to hurry! Can someone give examples of simulating Active_PFC or any other model through PID Estimates/tuning from 10Hz to 10kHz or 15 kHz in less than a few minutes?..Whatever the machine, toolbox selected to achieve that is what we are looking to test with It is a fact that we always have to be carried on the shoulders of giants so we can see far out there with possibilities... Hoping to hear from someone. robin

 Please, I would like to generate triangle signal for pwm. It must start from 0 to 60 degree and then from 120 to 180 degree and then repeat itself. Could you help me if you can by coding or simulink ?
I will attach picture for clarification

MathWorks offers training for Simscape Electrical , but if you are looking for an online course, take a look at this offer.

MATLAB for Power Electronics: Simulation & Analysis

What are your thoughts about online courses? Share your opinions.

When it comes to interlock time (or dead-time) between gate signals of two complementary semiconductor devices, we tend to assume that this is a must to avoid shoot-through. Is this assumption true? What are your thoughts about this? You can check the conclusions of the Workshop “Interlock Times—Necessary, Useful, or Not Needed at All?” organized by IEEE Power Electronics Society. Simscape Electrical can be used to simulate the shoot-through currents and power losses in semiconductor devices.

It is outright frustrating that I have spent an enormous amount of time trying to figure out why many expected operations just do not happen as the instructions are written/carried in a video. Following up on this new Active_PFC model & PID tuning. Local FAE pointed out that one should not start FRA from low frequencies but higher than hundreds if possible...well this trick surely worked but was it discoverable from documents? Could I have saved 100 hrs trying to figure it out? The example does not even mention this. Then the Instruction goes on to do the Estimator, obtain estsys1 data...all of which went fine with LF at 400 Hz . So far, the struggle for 1 week paid off- my data is the same as the example. I also could figure out how the drag-drop of the LTI data was working. Then you are told to go to PI-Current control block, to tune the PID.

Now I faced a brick wall. I simply do not get the Bode data displayed in the tuner tool as shown. Instead, I get an error msg at the bottom "could not find a system " or something like that. I thought maybe 2019b was the issue. So I installed R2019a. Same result: I can inspect the estsys1 data...but no plots at all. Why is it so incomprehensively convoluted to work with these tools with documentation spread all over? More precisely, how can I search for a reason for this problem & then a solution? If there are bugs in installations, should they not send fixes? Very annoying and frustrating. One more thing: they are pushing me to get "training" & consultant....why not put an effort in consolidating documentation &/or verifying models & analysis steps work as expected! Any help here will be highly appreciated.

I am trying to run matlab /simulink models for PID analysis/design/coding for a project involving nonlinear plant. The baseline model example given by MathWorks people takes 75 min in lap HP SPECTRE laptop( it has more goodies than MathWorks says one needs) just for 1 run...to get a useful product design one will need dozens of trials. Clearly, this is not a practical path. The real system we will extend this work to is 3 times more complex! What computing machine do we look for to speed up this simulation by a factor of 10 if not more? We may have to rent one such machine at the beginning... -robin