Build Waveform, SI Module Residual Analysis, System Identification MIMO

Hi, I have a question stemming from this page, with the residual analysis model: http://zone.ni.com/reference/en-XX/help/372458D-01/lvsysidconcepts/case_study_validating/#Simulation...
So this is for ARX, a SISO function. I want to do the same with a State Space MIMO function. I'm having some trouble with the Build Waveform, the types for the waveform doesn't match up. It appears there's another dimension to the autocorrelation/crosscorrelation, which is causing some issue. Is there a way I can do this with a MIMO so I can build the waveform?
Thanks,
Andrea
Solved!
Go to Solution.

Hello Andrea,
You should be able to work with the Index Array function and the MIMO Waveform configuration of the SI Model Residual Analysis VI. As seen in the snippet below, you can wire the 2D Waveform array into the Index Array function and the default output will be a 1D Waveform array.
Then, using the Index Array function again, we are left with the waveform that existed in the zeroth row and the zeroth column of that initial 2D Waveform array. Once we have extracted out the desired waveform, we can use the Get Waveform Components function or wire the data directly to an indicator.
When working through this exercise, you may find using the Context Help window to be very useful. With the Context Help Window (press CTRL+H), you can mouse over wires and determine their data type.
For more information concerning array manipulation, I highly recommend looking through the examples in the NI Example Finder’s Fundamentals»Arrays and Clusters directory. You can open the NI Example Finder by navigating to Help»Find Examples....
Cameron F
Applications Engineer
National Instruments

Similar Messages

  • System Identification and Transfer Function of the LEGO MINDSTORM NXT Robot

    Can anybody please help with the below question.
    Using your LabView interface, input different values of power and record the output value of the number of wheel rotations. You can convert the latter into speed by measuring the diameter of the wheel. Then, type ‘ident’ in the command line of Matlab to launch a graphical user interface for system identification. Using the data collected for input power and recorded speed, you can derive the transfer function for your robot in the Laplace domain.
    You will notice that it is possible to approximate the transfer function to a first order system.
    Add disturbance to your system such as wind drag, road profile or friction. You might want to model the disturbance as a sinusoidal waveform.
    Analyse the system response in LabView in order to tune the response.
    Finally, write a LabView program to test your controller.
    Set both Integral and Derivative to 0
    Increase the value for Proportional controller to 0.5, 0.8, 1, 1.1, 1.3, and 1.5
    Select a suitable simulation stop time.
    Compare each simulation results and draw some conclusions.
    Record the steady-state error. Has it dropped to near zero?
    Record the rise time. Has it decreased to less than 0.5 second? And for what values of Kp?
    Check whether this response is realistic i.e. a real cruise control system generally cannot change the speed of the vehicle from 0 to 10m/s in less than 0.5 second.
    Adjust the gain (Kp) to give a reasonable rise time and add an integral controller to eliminate the steady-state error.
    Change both Kp and Ki and see what happens to the response. When you adjust the integral gain Ki, start with a small value since a large Ki can destabilise the response. (Ki =0.001, 0.002, 0.003, 0.004).
    Then you need to adjust both the proportional gain Kp and the integral gain Ki to obtain the desired response. Record the values of Kp and Ki that can meet all the design criteria.
    Write the PID-feedback control LabVIEW program as described above.
    Does it work? Quantify! Show us it is working
    Hand in a short report on the PID project on the cruise control of the LEGO MINDSTORM NXT Robot. Your report should contain an introduction to cruise control and uses of PID controllers, a brief explanation of how PID feedback control works. The printout of the Block Diagram and Front Panel of your LabVIEW program should be attached at the end of your report.
    Put it all together. There are many questions that can be explored and written up in the result section. Be creative.
    Here are some things that may be addressed: Check whether your system can stabilise speed to within 1%. What are the optimal PID parameters that you have found? Can you choose PID parameters to both reach the set speed quickly and also maintain the speed within good accuracy once the system has reached the set speed? Can you control the speed of small steps? Explain your results?

    Thanks for that.
    DanHarryman wrote:
    HI ToolMonkey
    You should be able to build control system to do this using PID control VIs. The following paper is a good place to start when working with PID systems. 
    http://www.ni.com/white-paper/6440/en
    Let me know how you get on using some of the functions in this. 
    Thanks 
    Dan.H
    UKAE

  • Error with SI model residual Analysis.vi

    Hello,
    I am using the system identification VIs in order to obtain a model of my system. I obtained some results, but I have a problem using the SI model residual Analysis.vi. Everytime that I used it I got the error:
    Error -41219
    System Identification Toolset:  The stimulus and response signals and the estimated model do not have the same sampling rate.
    I have tried some different solutions, but no one worked. Please if anyone have an idea I really apreciate it.

    Can you post your code so we can troubleshoot it?
    John B.
    Embedded Networks R&D
    National Instruments
    Certified LabVIEW Developer

  • System Identification Assistant w/o NI Signal Generator

    Hello,
    I am using a GW Instek power source to heat a graphite rod within a vacuum chamber.  I am detecting the temperature with a K type thermocouple connected to a thermocouple input module.  I have written a labview program with a PID and have everything running, yet i force tuned the PID. I would like to use the signal identification tools labview provides to identify the transfer function and model the process.  I have used the system identification assitant in attempting to send a step signal and acquire a response, yet I have been running into difficulties.  The only way I can perform a step function is to manually generate an output of a specified power and then measure the response, as the signal generator within the system identification software is not identifying the GW Instek PSW 30-108 power source. With manual input and importing both input and output data i am able to get a parametric model, yet the transfer function provide me PID values which are 5 orders of magnitude greater then the ones i am currently using. Ideally i would like to use the software to generate the signal and measure the response continuously rather then using data i collect through my program.  If possible, I would also be interested in perhaps directly integrating VI's to perform signal analysis directly into my process program.
    Problems and what I have done:
    I have the drivers for the power source and my process program recognizes the device yet system ident assist cannot find the hardware. I have attempted to creat a task in NI-MAX yet the hardware is also non-identifiable. 
    Port module input works with VISA and this is how my VI is communicating with the power source.
    Goals:
    I would like to use the system ident assist to generate power ouput and collect temperature input, and generate a process model, so that I may tune my PID more accuratly.
    Also, I may be interested in integrating VI's directly into my process program, yet I am new to the LV language...
    I have attached  my Labview program below.  I would like to thank you in advance for your time and look forward to responses.
    Cheers
    Attachments:
    Test1_RT.vi ‏186 KB

    Using cDAQ 9171 interface to accquire thermocouple data.  My Device does appear in MAX under devices and Interfaces, and i set up the Port/Visa for my LV program.  So LV program recognizes the power device, although System Identification does not give me the option to access the device for signal generation.  I have tried to set up a task under device neighborhood, and have alse attempted and IVI device session setup.  Both unfortunately did not get me any farther.  I am thinking i may have to right a program with VI's and integrate it into my current LV program.  Although I dont want to attempt to do this until I am certain that I can get the System Identification VI's to recognize the Power Supply. Ideally I would like to avoid contructing a program and simply use the system ident assisten and parametric modeling to provide me the T.F. 

  • Rule fragments using conditions from modules lead to system exception

    I try to buid a project that uses a module with some rules that deduct a boolean value based on a name input (string). These name strings are inside an entity (one to many contained relationship from global), so the boolean is deducted per instance. That entity has a one to one relationship with another entity.
    The property model is as follows. (All entitys, relationships and attributes are exported):
    global - one.to.many entity1 - one.to.one - entitiy2
    The modulair structure is as follows: module1 that contains a common property structure, is used by module2 with a set of business rules on instances of entity 1, which is used bij the main rulebase.
    I use rule fragments on instances of entity2, that uses a a boolean statement in entity 1
    i.e.:
    (in module2)
    the name of entity1 is foobar if
    entity1 = "foobar"
    (in the main rulebase)
    [rule fragment]
    entity2 is relevant if
    the name of entity1 is foobar
    [rule fragment:1]
    entity2 is not relevant
    If I build the project, I get a system exception. System.Exception Unknown relationship. It then shows the reverse text of the relationship text from entity1 to entity2. Then the stack trace continues, it begins with Oracle.Modeling.Compiler.Plugin.XMLTranslate.X3ToXML.ResolveDataModelReferences(ISourceDocument doc,XmlElement el, String context)
    Is this a bug? The exception seems to point in that direction. In the userguide is explained that 'you cannot have rule fragments that cross over module boundaries ' but my fragments are in the main rulebase only.
    Philip.

    I am trying to get a small rulebase with modules in English running that behaves the same. So far, I have not been able to reproduce the problem with this rulebase.
    EDIT: Can now reproduce this in a set of three OPA knowledge bases in English, two modules and one main kb. I guess the forum does not let you upload files?
    Edited by: Philip Jan de Lang on 3-apr-2013 4:24

  • System Identification with Digital System

    Hey,
    So when using the system identification toolkit, the user excites the system with a analog signal. After they're finished with the entire process they're able to get a plant model of their system. So what if they're system will be using digital inputs/outputs (e.g. a digital amplifier on their proportional valve), can their system be excited with digital outputs and then achieve a digital plant model? Or must their system be an analog system to use the toolkit?
    Thanks

    If your search didn't turn them up, then you probably have the base package of LabVIEW and the functions are not included. The search function is at the top of the functions palette.
    You can use either function provide data to a DAQ output. If you want to use an analog output, you just have to wire the waveform to a DAQmx Write. Look at any of the shipping examples for DAQ output. Most of them use waveforms such as a sine wave but it doesn't matter. Waveform data is waveform data.

  • Building of r8187 module in 2.6.20

    Hi,
    Followed wiki guide for building r8187 module for my wireless card but I am getting errors
    Anyone use the above module on there system have it working with 2.6.20?
    TIA

    Well, I downloaded revision 41 from SVN, and followed the install steps from the wiki.
    I unloaded the ieee8211 stack modules, and loaded the ieee80211 stack from rtl-wifi.
    After that, I loaded the driver, and no problems what so ever.
    Next I did a scan to see if the my AP was being listed (did a ifconfig wlan0 up first). It shows up OK.
    I then tried to connect to the access point using Arch network scripts, but I couldn't get connected (the AP is encrypted by the way).
    In the network profile, I used the WPAOPTS without any arguments, and then with "-D ipw".
    It gets BUSY for some time, and then it just prints FAIL. System logs didn't help me either.
    Meanwhile, I'll keep on trying...
    Thanks,
    Quetzy Garcia

  • System identification using labwindows?

    Hello,
    I have some linear models to test and need to identify the parameters using estimation algorithms like arx, armax, oe. I am doing that now with an old version of Matlab (2002!!) but since all my other programs run in LabWindows CVI (8.5.1), I would like t know if there is something like a system identification toolkit but not for Labview but for Labwindows! or some library that I can add... any ideas?
    Thanks, Kristel

    kristel wrote:
    I have some linear models to test and need to identify the parameters using estimation algorithms like arx, armax, oe. I am doing that now with an old version of Matlab (2002!!) but since all my other programs run in LabWindows CVI (8.5.1), I would like t know if there is something like a system identification toolkit but not for Labview but for Labwindows! or some library that I can add... any ideas?
    The best versions of Matlab are the old ones, they don't cost so much
    You really need to be looking for a system identification library written in C. I was a little surprised, when I had a quick trawl, that I couldn't find one so easily. The only toolkits that come up on Google searches seem to be the Matlab and LabVIEW ones. There's stuff like the Numerical Recipes implementations for estimation, that give you the building blocks, but you'd still need to be referencing Astrom, Goodwin & Payne, or another reference to complete the implementation.
    I'd be interested to know why you would really want to implement in C. Most system identification is offline, and which tool you use - C, Matlab, LabVIEW - is really immaterial.
    Martin
    Certified CVI Developer

  • 'build waveform' in cluster-constant not possible?

    I would like to read a 2d-array of a cluster from file that contains - beside 4 clusters - a waveform.
    As far as I understand, you have to determine the byte-stream-type for the "read-file" operation.
    In order to do so I tried to generate a 2d-array-constant that contains the cluster mentioned above with all values as empty constants.
    But soemhow it doesnt seem to work for "build waveforms". I am not able to put the waveform inside the cluster!?
    Any ideas so far?
    Thanks in advance
    Thomas

    I'm a lttle confused. You can put a waveform datatype inside a cluster and put that cluster inside an array and make that array multi-dimensional. This is all easily done on the front panel. Putting a function like "Build Waveform" inside a cluster doesn't work any more than trying to put an arithmetic function inside a cluster. Clusters hold valid datatypes, not functions. If I've misunderstood your problem, could you explain a little more?

  • Integration with PF Accounting module Third party system

    Dear All,
    I want to integrate SAP with PF Accounting module third party system. Since i dont have any idea about it kindly do the needful. It woud b appreciable if anyone let me know the information .
    Regards
    Suresh.v
    Removed_ Moderator

    Hi,
    Please use "Interface Toolbox". It is native SAP tool to integrate SAP HCM with third party systems.
    Here you learn more about it and how to use it:
    http://help.sap.com/printdocu/core/Print46c/EN/data/pdf/PAXX/PYSOME_INTERFACE.pdf
    Cheers

  • Need function module to convert system time to local time

    Hi Experts,
    Need function module to convert system time to local time.
    i.e country specific that to in HH:MM format.
    Thanks in advance.

    Dear Prince,
    Kindly check the following link which contains the list of function modules for date and time conversion.
    [http://www.sap-img.com/abap/date-month-pop-related-function-modules.htm]
    Regards

  • Could not find  a Hyperion Reporting and analysis -system 9

    Dear Experts ,
    i have installed Essbase and planning
    i have configured work space
    http://localhost:19000/worspace
    when i am trying to log in to work space the following error is showing
    Could not find a Hyperion Reporting and analysis -system 9 server running on Hyperion at port 6800.please verify your server connect string confirm that the server is up
    i have started all Hyperion services
    could you please help me in this regard,
    thanks in advance
    Kishore

    Have you installed Reporting and Analysis Services?
    If you have already installed then start the Reporting and Analysis Services..
    Hope this helps..
    Regards,
    Manmohan Sharma

  • System identification of a "complex" system

    I would like to use labview to extract the transfer function of a closed loop control system.  This system uses a PID loop to control the amplitude and phase of a radio frequency cavity.
    I can easily excite the real world system with a step response (or any arbitary excitation).
    The step response from the system has both amplitude and phase, and in labview is an array of type "extended complex".
    Is the NI system identification toolkit capable of extracting the transfer function in both amplitude and phase?  I have an evaluation version and have been unable to get this working.
    Pete.

    System Identification uses frequency response based on "bode" graphs. This means that it has two graphs: one representing the magnitude over the frequency range and the second is the phase against frequency (http://en.wikipedia.org/wiki/Bode_plot)
    If you see the literature, on complex numbers (http://en.wikipedia.org/wiki/Complex_number), the polar form describes how you can convert Real +/- imaginary to magnitude and phase. Notice that, in general, the magnitude is expressed in log scale and special care is necessary to allow you to use the functions. Fortunately for you, System Identification allow you to use "linear" scale in the conversion. You define this on the "FRF format".
    Also, notice that the SI Estimate FRF function is only used when you have the time-domain data (input and output over time) and the other functions in the frequency domain Model Estimation palette are used to convert bode responses into a polynomial in the S-domain or Z-domain.
    Please let me know if you still can't configure the functions.
    Barp - Control and Simulation Group - LabVIEW R&D - National Instruments

  • Building a kernel module without building whole kernel

    The current kernel doesn't come with a module I want so I'd like to build just that module. What is the best way to do it?
    I was thinking of grabbing the current sources from ABS, taking the config file from /proc, dropping it into place and then using menuconfig to add the module and doing a make modules modules_install . Will that work?
    If not, what is the easiest way to do it? I'd rather not start messing around with PKGBUILD files and having a complete custom kernel just for a single module.

    Check out the kernel sources, maybe there's a makefile in the directory with the sources you need.
    Otherwise make your own makefile or if it's just one file, gcc it.
    Here's a really long guide: (this book is made free or something)
    http://www.xml.com/ldd/chapter/book/ch02.html
    There's a makefile under "Compiling and Loading". Fit it to your needs and see what happens.

  • Technical System Identification

    Guys ,
    I need to add JRUN into my system lanscape , What I want to know is What will be the <i><b>Technical System Identification</b></i>, while adding the technical system using technical system  wizard.
    Thanks
    Manish

    Hi Manish,
    You can give any value to identify the JRUN on the host it is running.
    Thanks
    Prasad

Maybe you are looking for

  • Why can't I import photos saved onto my iphone hard drive onto my computer to delete them off my phone?

    Every time I try to import photos onto iphoto I am only allowed to import photos I have taken on my iphone 5s, but not from my previous phone. I cannot upgrade my phone because I have so many photos on it. I want to delete the photos that were transf

  • New User Account and Changing Permissions?

    Yesterday I opened a new user account for each of my kids. I moved and/or imported all their stuff to their respective accounts and all seems fine. Except for one folder... The most important one (of course ;o). It has a big red circle saying "..you

  • Why isn't the CBO using my indexes?

    Why isn't Oracle using my indexes to join 2 big tables? I ran statistics last night before kicking off this job. I don't want to have to use hints. STAGING_TXN_081 has Primary Key on VSYS_STAGE_ROW_ID TRANSACTION has an index on STAGING_RECORD_ID Rec

  • Pages Fault

    I have a problem with Pages (iWork 06). I don't know the correct english word, but the space between the lines is wrong. I used 0.6 and 0.9 without space after and before the paragraph. I made the examples in Arial, Times New Roman and Helvetia. All

  • Kernal Panic after Boot Camp Software update

    Hey all here is my dilemma, I have a MBP 15' 2.66GHZ i7 8GB Ram etc... Few days ago my internal drive would not boot; So I went to the apple store and they 'determined' that it was the logic board through a very sketchy process of elimination. In the