WICHTIG: Der Betrieb von goMatlab.de wird privat finanziert fortgesetzt. - Mehr Infos...

Mein MATLAB Forum - goMatlab.de

Mein MATLAB Forum

 
Gast > Registrieren       Autologin?   

Partner:




Forum
      Option
[Erweitert]
  • Diese Seite per Mail weiterempfehlen
     


Gehe zu:  
Neues Thema eröffnen Neue Antwort erstellen

Ein nicht-lineares Modell linearisieren

 

matNoooooob

Gast


Beiträge: ---
Anmeldedatum: ---
Wohnort: ---
Version: ---
     Beitrag Verfasst am: 22.01.2017, 23:22     Titel: Ein nicht-lineares Modell linearisieren
  Antworten mit Zitat      
Hi,

Code:


    % Initialization of parameters in quadruple tank system
   
    % System Parameters
    % Cross sectional area of tank
    A1=28; % [cm^2]
    A2=32; % [cm^2]
    A3=28; % [cm^2]
    A4=32; % [cm^2]
   
    % Cross sectional area of outlet
    a1=0.071; % [cm^2]
    a2=0.057; % [cm^2]
    a3=0.071; % [cm^2]
    a4=0.057; % [cm^2]
   
    % Graviation force
    g=981; % [cm/s^2]
   
    % Model Parameters for minimum phase system
    % Initial height of water level in the tank
    % h10=12.4; % [cm]
    % h20=12.7; % [cm]
    % h30=1.8; % [cm]
    % h40=1.4; % [cm]
    %
    % Initial voltage of pump
    % v10=3; % [V]
    % v20=3; % [V]
    %
    % Conversion gain of pump voltage to flow
    % k1=3.33; % [cm^3/Vs]
    % k2=3.35; % [cm^3/Vs]
    %
    % Ratio of flow to observed tank and flow of pump
    % g1=0.70; % [-]
    % g2=0.60; % [-]
   
    a11=-a1/A1*sqrt(g/2/h10);
    a13=a3/A1*sqrt(g/2/h30);
    a22=-a2/A2*sqrt(g/2/h20);
    a24=a4/A2*sqrt(g/2/h40);
    a33=-a3/A3*sqrt(g/2/h30);
    a44=-a4/A4*sqrt(g/2/h40);
   
    A=[a11 0 a13 0;0 a22 0 a24;0 0 a33 0;0 0 0 a44];
   
    b11=g1*k1/A1;
    b22=g2*k2/A2;
    b32=(1-g2)*k2/A3;
    b41=(1-g1)*k1/A4;
   
    B=[b11 0;0 b22;0 b32;b41 0];
   
    C=eye(4);
   
    D=zeros(4,2);
   
    % Initialization of state variables
    X=[h10; h20; h30; h40];
   
    U=[v10 v20];
   
    [An, Bn, Cn, Dn] = linmod('nonlinear4TankModel', X, U);


 

Das ist mein physikalisches Modell und was ich versuche ist das Modell anhand
linmod zu linearisieren.
Jedoch haben das nicht lineares Modell (A,B,C,D) und das lineares Modell (An,Bn,Cn,Dn) exakt die gleichen Werten.

Das kann doch nicht sein oder?


Neues Thema eröffnen Neue Antwort erstellen



Einstellungen und Berechtigungen
Beiträge der letzten Zeit anzeigen:

Du kannst Beiträge in dieses Forum schreiben.
Du kannst auf Beiträge in diesem Forum antworten.
Du kannst deine Beiträge in diesem Forum nicht bearbeiten.
Du kannst deine Beiträge in diesem Forum nicht löschen.
Du kannst an Umfragen in diesem Forum nicht mitmachen.
Du kannst Dateien in diesem Forum posten
Du kannst Dateien in diesem Forum herunterladen
.





 Impressum  | Nutzungsbedingungen  | Datenschutz | FAQ | goMatlab RSS Button RSS

Hosted by:


Copyright © 2007 - 2024 goMatlab.de | Dies ist keine offizielle Website der Firma The Mathworks

MATLAB, Simulink, Stateflow, Handle Graphics, Real-Time Workshop, SimBiology, SimHydraulics, SimEvents, and xPC TargetBox are registered trademarks and The MathWorks, the L-shaped membrane logo, and Embedded MATLAB are trademarks of The MathWorks, Inc.