How do you measure the NI 9505-"meaning current"?

I have a cRIO module 9505 and a closed loop current control FPGA program is roughly based on the help file OR: ...\examples\CompactRIO\Module Specific\NI 9505\Current Loop\Current loop - .vi NI 9505 (FPGA).

In both cases, and in my program, reported current (node of FPGA IO 'current sense") is an integral part of the control scheme, but I don't know units or how the number is measured.  (The documentation leaves a bit to be desired)

The following comment in the file example FPGA 9505 confused me:

"The AI Trig is used to trigger the current sampling. Sampling occurs at
half the cycle PWM time (big time). There are 9 clock cycles, in this example,
from the time a trigger is sent until the current is actually sampled. Therefore, a
trigger is sent 9 clock cycles before the desired sampling point. »

From this comment, it seems that the current I/O node sense is back from the instantaneous current.  However, because the signal from the motor control PWM, the current during the time must always be the same.  A signal PWM is either on or off.  If I only trigger a reading over time, my duty cycle should be relevant, right?  So, how would this function loop control?  Either "current" value is not instant or I understand the purpose of the "AI Trig" boolean.

Second, how the number of cycles of clock between the trigger and the "current sense" read is known?  The comment says exactly 9 clock cycles.  I know that the FPGA and RT are deterministic, but how a programmer can know the trigger with this amount of precision delay?

Thank you

Ethan


Tags: NI Hardware

Similar Questions

  • How can I measure the output of a sensor pwm ultrasound using the module or 9403

    How can I measure the output of a sensor pwm ultrasound using the module or 9403

    Khalil,

    When you say 'measure' the PWM signal, exactly what to tell you?

    You're looking to measure the frequency or cycle of the signal function? You count the edges of the PWM output increase? Looking to control the waveform?

    With reconfigurable FPGA hardware, it is up to the user to define the function of the physical i/o on the FPGA chip. By connecting the signals as Adam suggests your digital pulse will be brought to the cRIO. In your FPGA program, you define the function. You can set a base counter or transfer digital data from single point to welcome you cRIO for floating-point more complex treatment. Example FPGA programs are located in the http://www.ni.com/IPnet.

    Hope this helps, please post any additional questions.

  • How can I measure the Max delay

    Hi guys,.

    I'm trying to add the module to the pulse to my VI. To do this, I guess I need to measure delay Max.

    In my class VI, I have some instruments of the current driver, LED, spectrometer, camera and temperature controller. In addition, current is the variable I can change all the time during the execution of the VI.

    I was wondering how can I measure the delay between the one and the other, and when I change the value of the current, how long will take to capture the right data

    I knew that the number of cycles to measure VI all the time but how can I do for several parts

    Thank you

    Time required for the execution of some code can be done using 'Tick counts' now if you do not want it for full code but you want for specific elements of the code, then you must use the same function (i.e. "Tick count" separately for each section of the code.

  • How can I measure the length of the lines written with the Paint program?

    I know that an earlier version of the painting software was able to measure the length of the lines written with the Paint program.   I don't know what version it was.   I have the Windows 7 Home Premium Version 6/1 (Build 7601 Service Pack 1, Copywright@2009.  How can I measure the length of the lines that I have the project using paint software?   Do I need to get the previous version?   How can I get?   PLEASE ANSWER!

    Hi Ralph,

    The description of the problem seems a little unclear and I wish I had a better understanding before you start working on it. I would really appreciate if you could answer the following questions:

    1. What is the name of the paint program?

    2 have you tried to install the software of paint in Windows 7?

    3. are you able to install it? If this is not the case, do you have an error code or message?

    4. in what version of Windows was fine paint software work?

    Please provide us with more information on the specific question to help you to fix as soon as possible.

    Your response is very important for us to ensure a proper resolution. Please get back to us with the information above to help you accordingly.

  • How can you save the background image contained in a Thunderbird e-mail message

    How can you save the background image contained in a Thunderbird e-mail message

    Have you read the instructions which preceded the right click? What of their suite?

  • How can you cancel the download of an update that was started by after having pressed the button "Check for Updates" in the window "On Firefox", please?

    How can you cancel the download of an update that was started by after having pressed the button "Check for Updates" in the window "On Firefox", please? If possible, please cover all platforms, Mac, Windows, Linux, although the first mentioned is what currently applies to my situation.

    Thank you.

    Such a download is usually recorded in a updates or updates folder in the program folder or the Firefox application.
    You can delete this folder to cancel the download.

    If the files have already been downloaded, then delete the files in the folder updates\0 and updates.

    Mac: /Applications/Firefox.app/updates "/path_to/Firefox.app/Updated.app"
    Linux: "/path_to/firefox/updated"
    Windows: C:\Users\<user>\AppData\Local\Mozilla\Firefox\Mozilla Firefox\updates
    
  • In windows 8 How do you do the column bookmarks 'flexible '? I used to be able to make it narrower.

    Windows 8 How do you do the column bookmarks 'flexible '?

    Sounds that you use the bookmarks Menu button that opens a drop-down list.

    Firefox has two buttons bookmark with a star in the window customize.

    A single star button has a drop-marker that opens the bookmarks menu and may appear on the Navigation toolbar or on the bookmarks toolbar if the menu bar is hidden.

    The other Star without the drop-marker button opens the bookmarks in the sidebar (view > sidebar > bookmarks).

  • How can you change the name of a group on messages on Iphone message?

    How can you change the name of a group on messages on Iphone message if some of the people do not use an Iphone?

    Hello

    It is not possible to change the name of the group, because he was such an iMessage feature, because there is in the Group of devices that are not registered with iMessage this be possible.

    I hope this helps!

    Jonty

  • How do you get the list of bookmarks affixed permanently on the left side of the screen?

    I managed to get the bookmarks permanently open and displayed in a vertical column on the left side of the screen. I accidentally closed and cannot get it to appear again. How do you get the list of bookmarks permanently opened and displayed again? Thank you.

    You can enable or disable the power bookmarks bar by ' display > lateral bars > bookmarks "or Ctrl + B

    You can enable or disable the sidebar story power by ' display > lateral bars > History "or Ctrl + H

    Press the F10 key or press the Alt key to bring up the 'Menu Bar' temporarily if the menu bar is hidden.

  • How do you find the number on a mid 2009 MacBook AIR

    How do you find the number on a mid 2009 MacBook AIR

    Serial number? Model number?

    https://support.Apple.com/en-us/HT201665

    https://support.Apple.com/en-us/HT201300

  • How do you reinstal the old facepage of google that has been modified by firefox.

    How do you reinstal the old facepage of google? 16/08/12 firefox was asked if I wanted the new google facepage. I don't like it and I would go back to what I had. How to get back? My email address is jhubertus890 at gmail point com Thank YOU

    Moderator edit: email address separated to avoid spam.

    Hello

    Also, can you please post the link of the page affected.

  • How do you get the iPhone 6 to stop going to 6 GMT?

    How do you get the iPhone 6 to stop going to 6 GMT? Its been screwed upward, since the time has changed, I turned it off and on several times, I turned off hard it 3 times... If the phone is in automatic update for the zone. It boils down to 6 GMT after an hour...

    Have you by any chance Sprint - it seems to be a problem of carrier - we saw a few complaints like this here

  • Watch does not recognize the weight class as exercise-how can you add the duration of activity manually because none of the presets eg elliptical etc. is appropriate. Also does not count calories for example 35 when the rest of the group is around 500

    Look does not recognize the weight class as exercise-how can you add the duration of activity manually because none of the presets etc for example elliptical is appropriate and therefore do not count toward the daily goal. Also does not count calories for example 35 when the average of the others in the group is around 500.

    Hello

    When you use the application of the training session, choose the type of activity that best fits your business. For anything else - like weight - select the other category.

    During the follow-up of one year to the next helps:

    • Activity app will credit the ring of progress of exercise with one minute for every minute of the workout.
    • Active calories will be based on the data recorded by the heart rate sensor or a brisk walk, whichever is greater.

    Note, however, that the heart rate sensor is likely to give better results for the workouts that involve rhythmic (for example running) rather than the irregular movements.

    More information:

    Use of the workout on your Apple Watch - Apple Support

  • How can you save the image to a google map that is contained in a Web site?

    How can you save the image to a google map that is contained in a Web site? I use a macbook at the beginning of 2011 pro and functional on OS X Yosemite 10.10.5. I would like to capture the image of the map and print it with a good quality.

    Take a screenshot and print that

    Google mapsHow to take a screenshot on your Mac - Apple Support

  • How do you find the modellers in Power Pro v11?

    How do you find the modellers in 11 Power Edition Pro version?

    Thank you!

Maybe you are looking for