I have been trying to
use the vi with PID control. Everything is working fine on the labview. However, when I get my ruler to measure really what happened in the experimental apparatus, I do get way off results from the VI results. Can the problem due to the real time issue?To clarify the problem, I have a piston moves through the cylinder. In the simplified attached vi, the left hand side of the block diagram defines the velocity profile of the piston which is basically a trapezoidal. Then, I use the time in seconds coming from the loop delay on the right hand side of the block diagram. Then the output of the formula node goes to PID module to give the desired voltage to the selonoid valve to move the piston. Problems are;
1) When I keep the loop d
elay time at 1ms, the piston moves 2-3 times further than it suppose to move. Then, I change loop delay time to 2ms, 5ms, 10ms, 20ms... I always get DIFFERENT piston movement. Can it be due to the real time card problem? Do we need to buy a board which performs real time applications? Or Is there any other solution I can get away this problem. I only need time in seconds. I used the delay time to use the seconds. But, it is not helping me. Is there any source in labview like clock, I can get only in seconds so that I do not need to worry about delay time?
2) I am planing to use image processing tools in the Labview at the same vi? Do you think that will be a problem in terms of real time issue?
Thanks...
Attachments:
Test15.vi 121 KB
use the vi with PID control. Everything is working fine on the labview. However, when I get my ruler to measure really what happened in the experimental apparatus, I do get way off results from the VI results. Can the problem due to the real time issue?Hello,
First of all, in a software-timed application, delay time is the actual control loop rate, and it has a direct effect on the system behavior. According to control theory, a control system must sample a physical
process at a rate about 10 times faster than the fastest time constant in the physical process. Therefore, you first need to determine the fastest time constant in the system ans choose your loop rate accordingly. If the required loop rate is faster then 1 ms (the fastest loop rate you can obtain in a software-timed loop) then you need to use a real-time hardware and apply hardware-timed loop. You can find many on-line example at
http://www.ni.com/devzone/dev_exchange/ex_search.htm
about this method.
Your current loop might take mo
re then 1 ms. To calculate it, you can use Sequence structure as shown in the attached VI. The problem might also be a PID tuning issue. As far as I understand this is a position control application and you are getting a very big steady-state error. You can refer the document linked below to get more information about PID tuning.
http://zone.ni.com/devzone/conceptd.nsf/webmain/4B7775373E4AE64986256B6000691505?opendocument
I hope this helps.
Best Regards,
Remzi A.
Application Engineering
National Instruments
Attachments:
benchmark.vi 19 KB
Similar Messages
-
I have been trying to save a document in illustrator and every time I try to, a dialog box pops up and says the following- Can't save the illustration. You do not have enough access privileges. id: -5000....This has been happening ever since I switched to CC and whenever I try to save something in indesign, I get a dialog box that says that my file is corrupt. How do I fix this? I cannot get any work done !!!
You should ask in Illustrator
The Cloud forum is not about using individual programs
The Cloud forum is about the Cloud as a delivery & install process
If you will start at the Forums Index https://forums.adobe.com/welcome
You will be able to select a forum for the specific Adobe product(s) you use
Click the "down arrow" symbol on the right (where it says All communities) to open the drop down list and scroll -
Can you please put me in touch with the support for the trial copy of adobe acrobat XI pro which I had tried out on March 15 for 30 days. I have been trying to cancel since the cost is too much and Acrobat Reader is OK for me. I can't find uninstaller.
I have had to erase my disk since then with trouble with Apple Store not recognising my machine and the reload from Time Machine has given complications . Can you please cancel my trial and return my Trial money.If you paid for what you used then it was not a trial.
Look thru the following links and use the chat option if required for your situation:
Cancel your membership or subscription | Creative Cloud
https://helpx.adobe.com/x-productkb/policy-pricing/cancel-membership-subscription.html
https://forums.adobe.com/thread/1703848
Chat support - For the link below click the Still Need Help? option in the blue area at the bottom and choose the chat option...
Creative Cloud support (all Creative Cloud customer service issues)
http://helpx.adobe.com/x-productkb/global/service-ccm.html ( http://adobe.ly/19llvMN )
Phone support | Orders, returns exchanges
http://helpx.adobe.com/x-productkb/global/phone-support-orders.html -
Trying to scan photos from my photo album to a folder on my desktop. Have been trying to figure out for hours. Seems very complicated and cumbersome. Can anyone help? It's got to be much quicker (fewer key strokes) and simpler than what I've been able to discover.
Open the file, parse it, populate an ArrayCollection or XMLListCollection, and make the collection the DataGrid dataProvider:
http://livedocs.adobe.com/flex/3/html/help.html?content=Filesystem_08.html
http://livedocs.adobe.com/flex/3/html/help.html?content=12_Using_Regular_Expressions_01.ht ml
http://livedocs.adobe.com/flex/3/html/help.html?content=dpcontrols_6.html
http://livedocs.adobe.com/flex/3/langref/mx/collections/ArrayCollection.html
http://livedocs.adobe.com/flex/3/langref/mx/collections/XMLListCollection.html
If this post answered your question or helped, please mark it as such. -
I live in Australia but when I upgraded to IOS6 it changed my App Store region to the US. How can I change it back? I have been trying to find the answer.
Contact iTunes support & request they clear the balance:
http://www.apple.com/support/itunes/ -
I have been trying import VHS video into iMovie via a Hollywood Dazzle bridge. I have been successful doing this in the past, but now it is not working. I have a mac book pro, 10.9.1, (mavericks), iMovie 10.0.2. Everything in iMovie looks like it is working. It reads "recording" in the upper left hand corner of the pane while the video is playing. When I stop the process to check on my clip it says that the file is empty. The only thing that has changed since I did it successfully is that I upgraded to mavericks from whatever I had previously. My system is about one year old. Any suggestions?
Hey, Clinton,
Thanks for your help! I was able to go to iMovie 9.0.9 and import video. I was still curious as to why it didn't work in version 10.0.2, so I contacted Apple tech support. They were't sure at first as to why it wouldn't work, so they had me delete iMovie 10.0.2 and then re-install it just to see if something had gone wrong when it upgraded. That didn't change anything. In the end, they determined that 10.0.2 doesn't support the Hollywood Dazzle DV bridge. But I have a workaround path from them that I will share so that it's possible to import to 9.0.9, then move it to 10.0.2.
1. Open iMovie 9 (finder/applications/iMovie 9.0.9
2. Import from Dazzle Bridge to iMovie 9, note which event you are importing the clips into
3. Close iMovie 9
4. Open iMovie 10 (probably in the dock)
5. File/Import Media...navigate to home(this was my name, on the left side of iMovie, under Favorites)/Movies/iMovie events. Find the event folder that contains your Dazzle clips (tip-try sorting by date modified to look at recent events.)
6. Select the clips and import. Click the blue "Import Selected" button on the bottom right.
You may get a message that some files cannot be imported. Click continue import. It's a little glitchy. It imports your clip, and also makes a copy of it, too. On the copy, the audio is normal, but the video is choppy. In any case, you would delete the copy, anyway.
Hope this additional information helps somebody else. Thanks again, Clinton for helping me! -
My iphone 4S wont allow me to restore a bckup of icloud it has just rebooted the os and for over 24 hours i have been trying to fix it i use this phone for my job so i need help. when i try to restore it says "Your iphone could not be activated becuase the activation server is unavailable, If the problom presests goto apple.com/support" It has done this for 27 hours now PLEASE HELP!!!!!!!!!
- Connect the iPod to the computer and see if iTunes sees it. If it sees it try to get the photos off the iPod.
- Next let the battery fully drain. It will likely take days. After charging for at least an hour try again
- Last, make an appointment at the Genius Bar of an Apple store. -
i have been trying to upload more music to my iphone 3gs but whenever i try to even click on the artist or name buttons in itunes they dont get highlighted or anything all i can do is play music from my phone through itunes ... if you know of anything i have done wrong plz tell me how to fix (besides restore)
Success!! There truly is a light at the end of the tunnel. Apple support really did come through and I am successfully back into my account. Ready to purchase more music. I followed the instructions, with patience I thought I lost, submitted my problem, someone emailed me back within two days and all is now perfect. Thanks again Apple.
To all the frustrated users out there, don't lose hope!!! -
I have been trying to put music I bought on Itunes on my Samsung Note 2 but my media player won't play m4p files so I tried to convert the files to mp3 but I couldn't, because a message says they are protected files. I then tried downloading different media player apps to see if they would play them but had no success.Can anybody help with a solution to this problem?
First quit iTunes and look in your iTunes folder.
On Windows, the iTunes folder is in your My Music folder.
On Mac, the iTunes folder is in your Music folder.
Follow this path: iTunes > iTunes Media > Music >
Here there should be all your music folders. Open the folders containing the music that is not playing. Right click "get info" (mac) or right click "properties" (windows).
This window will tell you the file type. iTunes will play music in AAC, MP3, and Lossless, etc.
If the files are .wma you will need to convert them into ACC or MP3 format for it to play on an iPod. In iTunes, highlight the tracks that you want to convert, then on the menu bar, Advanced > Create AAC/MP3 version and the tracks will convert. Delete the old files.
If the file extenstion is anything like .exe .txt .rar then you don't have an audio file. -
Hi I'm just wondering does any one know why the email to reset ur password hasn't came to my email address its been 2 days and I have been trying since No Emails ? anyone know what happening ?
Either it ended up in a spam filter or it isn't being sent to that address. If you can't find it, use the link in the 'Additional Information' section of that article to contact the iTunes Store staff.
(88597) -
I have been trying to download apps from the app store and every time it tells me there is a problem with my previous billing and direct me to put in new billing information and every time i do that it still will not let me download any apps.
Have a look here > http://support.apple.com/kb/TS1646
-
I have tried it over and over from different links and I can not download and install and I can not figure out whyI have enough memory and I'm running windows vista my computer and virus protection are up to date. I have been trying to download firefox from google chrome and IE. I just don't understand why my computer keeps telling me that your file is corrupt when I know I downloaded it before and it was fine.
hello, the last version that was compatible with os x 10.4.11 is firefox 3.6.28 - you can download it from here: [http://www.mozilla.org/en-US/firefox/all-older.html]
[https://support.mozilla.org/en-US/kb/install-firefox-mac?s=installing&r=7&e=es&as=s#os=mac&browser=fx35 Install Firefox on Mac]
afterwards please disable automatic-updates in preferences > advanced > updates so that it doesn't happen again... -
I have been trying to log onto the Wounded Warriors Program Portal. I can Log in and then when I click on the rewards it tried to go to the page the just takes me back to the same page I was on. This is very frustrating. I am new to the Mac World so please bare with me. Please tell me there is help somewhere for this issue. It seems it is blocked or not letting me through. Can anyone please help me out. Thanks
Both Mail and Safari have Activity Options that open a screen that shows you just how the site or mail is loading.
In Safari if you are having trouble with a site in activity you will see the count of items being downloaded - and if an error occurs it shows red.
On the top is the number of items it is loading or trying to load and the count should be increasing. If the count stops, and you don't have errors it may be that too many people are going after the same site and your request just timed out. Have had the time out on a news site when trying to load a most popular article. -
I am trying to download itunes to my computer, when i hithe download button all it does is go to the "now that you have downloaded itunes" screen.....NOTHING HAS BEEN DOWNLOADED!!!!!!!!!......i have been trying for 2 days to do this, please help.....Thanks
i have the same problem, i have a windows 7 and the little screen comes up saying statues: processing additional packages help us
-
I have been trying to download iOS 6.1 on my ipad. After its been downloading for about 4 hours, I receive a message that there is an error and cannot download. How can I delete this download from my settings? I tried downloading other apps, but it will not let me unless I download iOS 6.1
What iOS are you currently running?
If you have an iPad 1, the max iOS is 5.1.1. For newer iPads, the current iOS is 6.1. The Settings>General>Software Update only appears if you have iOS 5.0 or higher currently installed.
iOS 5: Updating your device to iOS 5 or Later
http://support.apple.com/kb/HT4972
How to install iOS 6
http://www.macworld.com/article/2010061/hands-on-with-ios-6-installation.html
iOS: How to update your iPhone, iPad, or iPod touch
http://support.apple.com/kb/HT4623
If you are currently running an iOS lower than 5.0, connect the iPad to the computer, open iTunes. Then select the iPad under the Devices heading on the left, click on the Summary tab and then click on Check for Update.
Tip - If connected to your computer, you may need to disable your firewall and anitvirus software temporarily. Then download and install the iOS update. Be sure and backup your iPad before the iOS update. After you update an iPad (except iPad 1) to iOS 6.x, the next update can be installed via wifi (i.e., not connected to your computer).
Cheers, Tom -
Can someone please help me? I have been trying to get my phone activated since Saturday and Verizon keeps telling me that they cannot do it because their system is still was being updated or is down so to call in the morning becuase it should be up and running. Is anyone else having this same problem? I tried calling the for technical support all morning and it keeps giving a message that my request cannot be processed at this time. Same thing happens when I try to contact them online.
Dear Apple team,
I recently bought an iphone3GS from USA and jail broke it. Since I heard the there are lots of disadvantages I thought to unlock it officially through the original owner (in copy). He assisted me and confirmed that he unlocked it with AT& T (See the attachment). According to the instructions I restored the phone. But it is not activating with “Activation server is currently not available, please try again or try with iTunes”
When I try with iTunes , it says “you haven’t inserted a SIM” even though I insert the original AT&T SIM.
My current location is Sri Lanka ,so don’t have any apple support.
Please help me to be a good fan of apple.
Maybe you are looking for
-
When closing any single tab exits firefox entirely why? just started happing
Just rebooted system (Windows PC) on return from holiday. When closing ant tab instead of that single tab being closed, Firefox closes completely even though I have not touched the main "X" how can I reset or resolve this issue? Rich.
-
Field symbols and logical databases
Hi, How to use field symbols in an abap HR program with logical database? For most of the reports and interfaces in HR, I have used GET PERNR with logical database to fetch data from the tables. I understand that this method of programming using logi
-
Creating a PDF and Ordering Calendar's Issues
Ok, so I'm new to this iPhoto program. I have been using it to organize all my pictures, fixing red eye and such. So I decided I would make a calendar for my wife this year. I choose a template, started dragging photos and adding birth dates. I did n
-
Multiple BPEL processes as operations in the same port type
Dear Oracle BPEL experts, Is it possible to deploy several BPEL processes that are initiated through different operations in the same PortType? (I am using Oracle BPEL Process Manager Console v10.1.2.0.2 and Oracle JDeveloper v10.1.2.1.0, Build 1915)
-
Report 3.0 : How to set the printer margin??
Hi all, In report previewer, I am able to set the printer page margin mannally. Then, If, I've get some reports by RUN_PRODUCT in batch mode, how can I set the page margin?? Regards, Andrew null