Problem of transfer function

Hello
 
I created this function to transfer in Labview. But I realized that a small entry value (in my case, I used 0.0014) will produce a different result to compare with that of Matlab. I couldn't understand what the problem is. Could you help me in this?

Attached are the LabVIEW and Matlab files I created.

FYI, I used 2009 LabVIEW and Matlab R2007b.

Thank you

The input parameters used by the control and the Simulation Module does not solve the problem you have. This value, which "walk" down and swinging is wrong because you only have a first-order model, and as you know, you should expect a first order response, similar to a capacitor taken from a step response. If you change the maximum size step at 0.01, you should get the answer expected that converge to 0.0014.

This shows how simulation can be misleading if you do not have an idea of what to expect from him and, above all, no simulation cannot substitute for knowledge or intuition of the expert developer. You should always validate your simulation results and convince yourself that you are getting good results, any package or seller you have.

Tags: NI Software

Similar Questions

  • problem setting up transfer function

    Hello, everyone. I am a new user.

    I have no problem with the configuration of the equation of the transfer function.

    He could not be the change

    Please help me solve this problem. It is therefore urgent. So, thank you very much for the repply.

    NB: I attach the printscreen of window problem

    Hi all.

    Sorry I just answered this now.

    Thanks for the answer.

    But I have solved this problem. The problem is the software that I installed broke. So, I download the installer again.

  • How to estimate the actual measurements (partially known) data transfer function

    Hello

    I would like to find the transfer function of my system in real time. I put in the attachment as test.txt (time, stimulus, response). I have problems to find the transfer function of my system. Basically, I send a signal to the pump piston and I drive the piston engine, then I read the flow of the flow meter. The flow, we can write as a derivative of the motion multiply surface of the plunger Q = dh/dt * A. It should be noted that begins more than 90 degrees (estimation1.vi watch in phase). As in my system is a derivative of my transfer function must be something like (for example, the second order) b2s ^ b1s 2 ++ 0 / a2s ^ 2 + a1s + a0 and etc. I did a vi but Labview can not find something reasonable. Maybe someone has an idea to improve my vi?

    Thanks for any help.

    Best regards

    Kamil


  • Specifying the numerator and the denominator of the transfer function equation

    Hello

    I'll simulate the second weirdest problem. But I have the problem when I try to set the transfer function 2nd odder

    using the remote. I have attached the VI in this mail.

    any information in this respect very much appreciated

    thanking you

    Amri

    Good morning ludo,.

    I think that what you want is to use the CD build special TF model VI as shown below

  • PID regulator takes advantage of the transfer function of the model sys

    Hello

    I need to find a controller for my system...

    I have my system as transfer function model and I want to find the pid of the gains of this system by using its transfer function!

    All block in labview 8.5 to do this step?

    Concerning

    Hello

    Maybe this link will come close to the feature you're looking for:

    Analytical design of PID VI

    http://zone.NI.com/reference/en-XX/help/371894E-01/lvctrldsgn/cd_pid_design_pal/

    This function was introduced in LabVIEW 8.5 in the Control Design and Simulation Module. There is a limitation, because this process analysis based on one or more transfer SISO (single Input Single Output) functions. The help article above comes from aid in 2010. Below, I've included the 8.5 reference:

  • How to define the initial Conditions of transfer function

    Hello

    I need set the initial of my transfer function value so that it starts to 0.7778 instead of from 0.

    [My transfer function is 1 / (3.3 s + 1)]

    I found this link, but still he somehow does not give the right output I desired because it has not started to 0.7778.

    http://digital.NI.com/public.nsf/allkb/0D8F3397666F295F8625773B0055F1B9

    Could someone help me with this issue?

    Farid Ali

    Ridwan,

    Since you have a SISO system, you can try using the screw "Design Control" to convert the transfer function after normalization of State-Space model, you can use a function 'hidden' in the design of control that are used to calculate the original terms of your system. This function will calculate the necessary value to States in order to obtain the desired result, based on the model. If your initial release is zero, the Conversion.vi cd_IC will give you an empty model and to avoid an error, then change its value to zero.

    As an attachment, you have an example and a screw that you allow to use it in 2009 LV.

  • Using Multisim 11.0, unable to find a transfer function analysis

    In my college manual, that I'm supposed to run an analysis of transfer function in Multisim, which is supposed to be located in the analysis of the menu drop down, but I can't find this option analysis.

    Not all versions of Multisim include analysis of transfer functions, in particular the student version does not have this analysis.

    You can see a list of the differences between the versions of education here.

  • Units of transfer functions

    Hello

    I want to implement a model of first order using the LabVIEW simulation module. I use a Solver ODE fixed step with the size of level of 0.1 s and I put the simulation step size (100ms) equals loop period. Transfer functions have a unit preset to the value of the time constant: s, ms?

    Thank you

    There are numeruous ways of deriving a transfer function. You implement a continuous or discrete transfer function? I assume you are using a discrete transfer function. Inside of a loop of simulation, this block contains two time parameters, sampling period and sample oblique, all of which are two clearly defined as seconds. Does that answer your question? If this isn't the case, I need more information about what you do.

  • Windows XP - a problem to transfer big file from laptop on an external hard drive

    I have a problem to transfer large files (mail.pst - zipped file - 5Gbyte) of the laptop (Dell Latitude D630) on an external hard drive (WD 320 G - FAT 32) where each time, I got the message "there is not enough free space on the disk" although I did successfully drive clean on both sides and there is enough space on both sides (not less than 25 GB).

    Also, I did a checkdisk command and he succeeded, and I use Windows XP

    I did several tests to resolve and in the end, I found that I convert the format of external hard drive FAT 32 to NTFS, and then I could successfully transfer the file.

    I used the following commands:

    (1) command line then chkdsk to repair bad sectors

    (2) convert the command line to change the format to FAt 32 to NTFS

    Note: For Windows xp, "convert" command will not delete the files from the hard drive

  • Kalonline-works until I get the anti-piracy icon so stop saying: there is a problem with the function of anti-hacking

    I play kalonline (RPG game), when to start the game it works up until I get the anti-piracy icon so stop saying: there is a problem with the function of anti-hacking. the program stops. I am the admin of it say kal computer run it in administrator mode and I did and I delete and reinstall the game. Solve the problem in win 7 by a right click and run as administrator, they wanted to work in win xp it all fits on how to solve this problem. These are the things, I was told to do to fix it.
    Hello

    It comes to KalOnline.

    Your error message can be corrected by following these steps:

    1. run KalOnline in Administrator Mode.

    2 uninstall KalOnline d_lete the entire Inixsoft folder, then reinstall the game.
    I did it and and it has not worked. then I was told that this was causing the problem

    Please check your computer system.

    This problem has occurred by a kind of problem of piracy.

    And if you have used a kind of memory-editing program, it could be happen too.

    So if your receipt similar to, then please remove it.
    I have none of these things on my computer. All I know is that people who have not updated windows xp can play the game and people who win 7 can play the game if they right click icon and run as administrator, that I still say side here but no way to prove it.

    Hello

    I suggest you to get in touch with the manufacturer of games and see if there are any other fix for this problem.

  • Having the problem with the function on SG300 Dhcp / 500?

    Having the problem with the function on SG300 Dhcp / 500? now I can use the dhcp server on the two model, but have a problem.

    My problem is when I create

    VLAN 1: 192.168.0.1/24 dhcp pool 192.168.0.10 - 250

    VLAN 10: 192.168.10.10 - 250 192.168.10.1/24 dhcp pool

    case 1

    I plug the pc to vlan 1 can I get ip 192.168.0.11. But when I change this pc to a new port in vlan 2 I always get the same ip address. why I can not get IP of vlan2.

    case 1

    I plug the pc to vlan 2 I can get ip 192.168.10.11. But when I change this pc to a new port in the vlan 1 I always get the same ip address. why I can not get IP of vlan1.

    but when I have access to the switch and remove the link after that that i will get correct IP.

    I think this is the bug of this firmware. Could you help this case.

    This is a known bug that is the setting of Cisco

    Sent by Cisco Support technique iPad App

  • Problem with transfer element allowing the transfer of bridge?

    Hello

    After changing the configuration of the gateway on the pre-production environment, there are a few problem to transfer the call to the number of external phone by CVP:

    We have 2 gateway (one is connected to T2, VXML one another), there's an application call Studio for the transfer of the

    calls to external phone number, in this application we used transfer element with these configurations:



    {0}
    Phone
    60 s
    2 1
    true





    The GW VXML thrown error.connection.baddestination CVP application event, and there is this error on the VXML Bridge: ContactingDest_SetupDone: Setup done State = CS_INVALID_Number

    Could you please let me know how to fix this problem?

    ARO
    Maryam

    Yes, otherwise how gateway VXML knows only where the RTC route called?

    the transfer element using speech on bridge to launch VXML browser of outgoing calls, your VXML gateway should be aware of the delivery.

    You can put cath all dial-position (Destination model. (T) the bridge VXML that carry the PSTN calls for the door of the infiltration and penetration gateway allows taken send to the PSTN.

  • ? What photoshop elements compatible with photoshop 11 14. Are there problems of transfer of catalogues PS 11 to 14. If I buy a new computer in the next 12 months can PS I transfer or install PS 14 on the new computer. CPH

    ? What photoshop elements compatible with photoshop 11 14. Are there problems of transfer of catalogues PS 11 to 14. If I buy a new computer in the next 12 months can PS I transfer or install PS 14 on the new computer. CPH

    chrisquanhallett wrote:

    ? What photoshop elements compatible with photoshop 11 14. Are there problems of transfer of catalogues PS 11 to 14. If I buy a new computer in the next 12 months can PS I transfer or install PS 14 on the new computer. CPH

    Yes, don't worry if you migrate to the same operating system (Mac or Win).

    Catalogue conversion works well.

    If you plan to migrate to another computer, you need to transfer your image files as your catalogs, which means that you can use the backup and restore method:

    Organizing moving items catalogue | Elements 6 or later version

    When you use this method, the restore process recognizes if the database version is the same. If it is newer, it invites you to convert the catalog after the restoration.

    To transfer the software elements itself, you will need to:

    -Use the Help menu > disconnect deactivate your license from the old computer

    -Reinstall the software

    -use the same menu to sign with your product license key.

  • Problem with counting function, passing VARs between functions.

    Hi guys, I have a problem with this section of code...

    Could anyone suggest how to fix the function at the bottom so that when the button forward_btn with label "go to next Point training" when you click on recalculate the fields created in the function fileLoaded

    var xmlData:XML = new XML ();
    var theURL_ur:URLRequest = new URLRequest ("xml.xml");
    var loader_ul:URLLoader = new URLLoader (theURL_ur);
    var more: RegExp = / \ + / g;
    var t:Number = 0;
    var tmax:Number = 0;

    loader_ul.addEventListener ("complete", fileLoaded);

    function fileLoaded(e:Event):void {}
    xmlData = XML (loader_ul.data);
    Tmax = xmlData.Record.length ();
    trace (tmax);

    trace (unescape (xmlData));
    trace (xmlData.Record.length ());


    var title_tp:String = unescape(xmlData.Record.TP.Title[t]).replace (, "");
    Title_TP_txt. Text = title_tp;

    var intro_tp:String = unescape(xmlData.Record.TP.Introduction[t]).replace (, "");
    Intro_TP_txt. Text = intro_tp;

    static_tp_intro.y = Title_TP_txt.y + Title_TP_txt.textHeight + 10;
    Intro_TP_txt.y = sta_tp_intro.y + sta_tp_intro.textHeight + 5;

    Title_TP_txt. AutoSize = TextFieldAutoSize.LEFT;
    Intro_TP_txt. AutoSize = TextFieldAutoSize.LEFT;
    }

    forward_btn.label = "go to the next Point training";
    forward_btn.addEventListener (MouseEvent.CLICK, next_if);

    function next_if (me: MouseEvent): void {}


    If (t == tmax) {play();  }


    else {t = t + 1;
    fileLoaded () ;}
    }

    I don't see where you have a question from vars between functions because you do not pass everything.  Maybe that's your problem.  The function fileLoaded expects an argument, but you are not providing one.  To get around that you should provide any argument being sent in the first function...

    function fileLoaded(e:Event=null):void {}

    Another option would be to separate features and put a quick end to the function fileLoaded and create another function that holds the rest of the code...

    function fileLoaded(e:Event):void {}
    xmlData = XML (loader_ul.data);
    Tmax = xmlData.Record.length ();

    processXMLData();

    }

    function processXMLData (): void {}
    trace (tmax);

    trace (unescape (xmlData));
    trace (xmlData.Record.length ());

    var title_tp:String = unescape(xmlData.Record.TP.Title[t]).replace (, "");
    Title_TP_txt. Text = title_tp;

    var intro_tp:String = unescape(xmlData.Record.TP.Introduction[t]).replace (, "");
    Intro_TP_txt. Text = intro_tp;
      
    static_tp_intro.y = Title_TP_txt.y + Title_TP_txt.textHeight + 10;
    Intro_TP_txt.y = sta_tp_intro.y + sta_tp_intro.textHeight + 5;
      
    Title_TP_txt. AutoSize = TextFieldAutoSize.LEFT;
    Intro_TP_txt. AutoSize = TextFieldAutoSize.LEFT;
    }

    forward_btn.label = "go to the next Point training";
    forward_btn.addEventListener (MouseEvent.CLICK, next_if);

    function next_if (me: MouseEvent): void {}

    If (t == tmax) {}

    Play();

    } else {}

    t = t + 1;
    processXMLData();

    }
    }

  • Control & Simulation - CD draw Transfer Function equation - update problem

    Hello!

    Initial start-up - the front looks like in below.

    When I run the application - sweep for some values, and then the watch front-

    Equation is drawn with the second to the last value and not with the last of them?

    If the request is repeated - then the façade shows the following results

    Could someone help me please?

    That!

    Vasco

    Hi Barp!

    Thank you... it really works...

    Best regards!

    Vasco

Maybe you are looking for