From: SACHIN DEVASSY on 24 Feb 2010 23:35 Hi Can someiine give help regarding generation of sine stream for frequency response estimation of dc-dc converter which has switching frequency 50khz. What should be the solver step size and sample time set in power gui. Thanks
From: Kamil on 5 Mar 2010 10:05 Hello Sachin, I suppose you have Simulink Control Design then you can put input output points for linearisation. Then you have to go Tool -> Control Design -> and Linear analysis. Then you have to press buttom Generate Matlab code and then you can put something like below: function sys = mylinearizemodel % MYLINEARIZE Linearize the Simulink model - Project. % % SYS = MYLINEARIZE linearizes the Simulink model Project using % the operating point defined by the model initial conditions. % M-File generated by MATLAB(R) 7.9 and Simulink Control Design (TM) 3.0. % % Generated on: 03-Mar-2010 21:58:40 %% Specify the model name model = 'Project'; %% Create the linearization I/O as specified in Project ios(2) = linio('Project/Flowmeter',2,'out'); ios(1) = linio('Project/Sine Wave',1,'in'); in = frest.Sinestream('Frequency',[2*pi*0.1:2*pi*0.1:2*pi*2],'Amplitude',1,'SamplesPerPeriod',40,'NumPeriods',10,'SettlingPeriods',2) [sys,simout] = frestimate(model,ios,in); bode(sys) grid on frest.simView(simout,in,sys); And after just press run. Be careful with the name of your model in my case was 'Project'. I hope it will help you. Ps: I have many problems with linearisation more complicated system. It does not works correctly with linearize either frestimate function. I am trying to find explanations why I cannot get stable response. I did the same manually and I get completely different solutions. Well, if you will know something more just post here solutions. Kamil "SACHIN DEVASSY" <sachindevassy(a)gmail.com> wrote in message <hm4um7$sqh$1(a)fred.mathworks.com>... > Hi > > Can someiine give help regarding generation of sine stream for frequency response estimation of dc-dc converter which has switching frequency 50khz. What should be the solver step size and sample time set in power gui. > > Thanks
|
Pages: 1 Prev: Line detection in chessboard image Next: analyse data from ethernet cable using matlab7.0 |