A measure of speed high speed with encoder in quadrature and NI 9401 on cDaq

Greetings,

We use an encoder in quadrature with 360 pulses/turn on the tracks (track A and B) and no trace of Z to measure motor speed at startup. Data acquisition, we use a NI 9401 in 9178 cDaq chassis and a pc with LabVIEW. The problem is that the start-up period is relatively short (less than 1 second), during which we measure speed as precisely as possible. The speed range is from 0 to 10000 RPM.

What type of measurement method that you would recommend.

Here are a few methods that we have already tried:

-Measure with DAQmx CIFreq--> high frequency with 2 counters: speed measurement, but with a very big mistake (+ 166 RPM).

-CIFreq DAQmx--> wide range with 2 counters: good speed data but more slow measurement,

-CICntEdges DAQmx (counting separated the two lanes, speed conversion): very incoherent speed data.

Thanks in advance for your help.

Matej

I would definitely say a 4, the measure of a low freq called option with 1 meter.  (Frankly, I've never been

fond of this name because it is useful for freqs much higher than what I expect most people think "low freq".)   This

is the method that I almost * always * use for frequency of counter measures.  It works really well to capture transitional

variations in speed.

10000 rpm and 360 cycles/rev, you are looking at a maximum frequency of 60 kHz.  The frequency measurement mode 1 meter

There will be 80 MHz internal clock by encoder cycle edges, then you will get more than 1000 strokes per measure.  The point

that means only 1 number of quantization errors, you can expect<>

Further, you can average overall, say, 10 samples to you give even better accuracy and you could still be a data capture

rate significantly higher than the probable bandwidth of your mechanical system.  (The average would just clean the jitter and noise and would not

Hide answer true mechanical characteristics).

-Kevin P

Tags: NI Hardware

Similar Questions

  • Measurement of angular position with encoder in quadrature and NI USB 6281

    Hello.I have an application developed with labVIEW 7.1 and 6014 OR for the measurement of angular position using encoder quadrature, where are used 3 sons - one of them connected to the source, second to the OID (0 or 1) and a third to digital ground. I can't use the same application or NI USB 6281.Now connections, I would like to know how I can create a similar application in labview 2009 and how to make the relevant connections for NI USB-6281, which is a mx NI DAQ device. Please suggest. Thank you.

    I have my loan application. I understand there are big difference using LabVIEW 2009 and NI USB card, compared to the previous version I was using THE LabVIEW 7.1 and a traditional daq. The difference, I should say that wellness is both in terms of simplification of code and the accuracy of the result. I was a little surprised, showing results. Thanks a lot to JB for your time and sharing those pieces of details.

    I can well after awhile my code in the forum. Hope this helps someone like me looking for a similar application.

  • How to maximize speeds with a Broadcom AC and R7000 card?

    Hi all
    I've updated my motherboard Asus Maximus VII impact with a Broadcom 802.11ac integrated network card. I think this is the model that bcm43xac_nt61 based on the device ID.

    On my band 5 GHz network, it will connect and if I click with the right button on the network and click on State of speed is listed at 866,5 Mbit/s. If I move the mouse over the network, it lists what it 802.11n and no ca. I get only 1-2 bars on the 5 GHz if band. With that, I can download steam up to 4.2 MB/s. I think it should be much larger.

    On my 2.4 Ghz network, I get 2 to 4 bars, speed is 144.0 Mbps, and I get up to 3.9 Mbps downloads.

    I have WMM active on the router, but, but not sure of what another tweak for this card. I changed a bunch of settings for my previous intel 7260, but erset after I got rid of this.

    Any ideas?

    See you soon,.
    Alex

    I changed all the settings. Immediately made the signal to jump her four-bar and then slowly go down to 1 or 2. Not much difference in download speed.

    But, I got a new Optimum modem, one with Docsis 3.0, the Arris TG862G and she welcomed my dl speeds for up to approximately 7.0 MB/s. Much better.

    Should I look for in get one of the high range Surfboard modems to increase speeds?

    And is there anything else you guys can think about the Broadcom adapter or the router to further increase the DL speeds?

    This is the antenna supplied with my motherboard. I would be better with a standard antenna?

    Spare antennas put like this will do anything or is it just gadget? How is it that they don't list it as 802.11ac compatible list?

    Thanks again

    See you soon
    Alex

  • Jdev 11 g: problem with encoding of characters and resource bundle files

    Hello

    I use Jdev 11.1.1.0.0, IE7 and resource group files (* .properties) to translate the application into other languages.

    The CommonBundle.properties file contains the following:
    BUTTON_CLOSE_LABEL = schließen
    BUTTON_COMMIT_SHORTDESC = Speichern der Lavaggio
    ======================================

    The ss and A are the German special characters.

    When I run the application of Jdeveloper (with includes WLS 10.3) then the files are copied in... \ViewController\classes\view.
    With this action, the content of the propertie files go to:
    BUTTON_CLOSE_LABEL = Schlie\ufffden
    BUTTON_COMMIT_SHORTDESC = Speichern der \ufffdnderungen
    ========================================

    On another PC with the same environment (XP, the language in the BONE, Jdev 11.1.1.0.0, settings...) the same action modifies the content of the properties file
    BUTTON_CLOSE_LABEL = Schlie\u00dfen
    BUTTON_COMMIT_SHORTDESC = Speichern der \u00c4nderungen
    ========================================

    That said, when I run the application on my PC the ss of characters and are displayed wrong.
    On another PC, the same application displays the correct characters.
    On my PC the two DIFFERENT German characters are sequence ESC replaces it with the SAME (and evil).

    Question: Which parameters are responsible for the translation of some sequences ESC-German special characters when I run or deploy an application?

    BTW: The problem is the same if I deploy the application from my PC.

    concerning
    Peter

    OK, here's my findings.

    1. it depends on the Encoding setting in tools > Preferences > environment > Encoding!
    2. a file created with the same set of characters translate correctly.
    3. a file created with a different set of characters will not translate correctly.
    4. to use Unicode all the UTF-8 encoding and create all files with this endocing. Translation will not work correctly.

    -olaf

  • Measure Z to a battery encoder encoder pulse frequency to measure the speed using a 6034 E card

    Hello

    I want to measure the speed of a motor that has an encoder to encoder hung on battery. It provides impulses 3 A, B and Z I uses a PXI 6034 E card. I wanted to know if there are any examples/ideas that could help me with this (I'm new to digital programming in Labview). I moved to NI Daqmx 9.8 recently of the old version that has supported the existing codes and therefore being updated the code. I also want to know if an external clock source is needed to do this. This.

    Hello

    There are several examples in the finder OR example (you can get here by going to help > find examples in a window of LabVIEW). You can browse examples of Encoder on input and output material > DAQmx > entry counter. You should be able to find some examples that will be useful.

    In addition, this link is a good resource to get started using DAQmx: http://www.ni.com/white-paper/5438/en

    Thank you!

  • How to get sync high speed off faster with a 60 d and 430 ex ii camera?

    I try to get my speedlite 430 to sync high speed with my camera off camera.  Once I did all that I can't get a shutter speed of 250.  I need the higher speeds for what I want to do and I need the flash off camera.

    What do you use to control the 430EX II off-camera?  You have a speedlite controller or another flash speedlite?

    The 430EX II supports Sync high speed when it works as a remote off-camera/slave flash, but it's automatic.  If the flash unit is set to use high sync speed then the slave will also use high sync speed... you have not actually the value of the slave in sync mode high speed.  (See page 29 of the manual 430EX II).

    If you use the built-in on the 60 d flash to trigger the 430EX II then this could be the problem because the built-in flash does not support Sync high speed.

  • Encoder speed and orientation on the NI 9401 in cDAQ-9172

    Hello, I have a module or 9401 for my cDAQ-9172 and she is now installed in five slot to connect a dual channel encoder. Channel A is connected to pin 14 and channel B to pin 17 and the encoder is powered by 5v dc.

    I want to measure the speed and if possible rotation orientation.

    Fix for this that I started the VI, who can count total impulses in the encoder.

    My question is, how do I change the DAQmx create frequency channel and DAQmx Read of impulse 1 Chan 1 Samp Freq counter, calculate the speed real encoder and orientation?

    Quintino Hi and sorry for not having answered quickly.

    Your VI works perfectly well for low frequencies with me. If you want to measure fairly high frequency (> 1 kHz), you may need to check how a measure of 2 meters. You will find an example attached (lv2009). Just plug the signal at the source of one of the meter (ctr0 for example), then set it to the value of the counter on the VI ctr0 control. Use a splitter too high (4 is fine). I was able to compete with the signals of 1 MHz on my Board.

    If the problem of failover is still happening after that, try to make a measurement with a low frequency generator and 1 meter to check if the problem is the system (it takes).

  • By train and failing to carry out measures of speed

    Can someone explain to me how the linear speed CI module is supposed to work?  I tried with no successt for a while to use it to take measures to speed by using a meter.  I use a card NI 9411 digital input to accept a signal from a radar system which shows a maximum speed measured as a frequency (which is just working at a rising every 0.176 inches moved).

    Whenever I run VI I get an error in the module create channel which is as follows:

    Code:-200431

    Source: DAQmx create channel (CI-linear velocity) .vi:2530001
    Property: CI. MeasType
    asked the value: Speed: Linear encoder
    Possible values: Frequency, period, pulse width, period of Semi, separation of the two sides, pulse frequency, pulse, Pulse ticks, Position: angular encoder, Position: linear encoder, edges of County

    The task name: _unnamedTask<6>

    That, on a subject similar, is there any where a document that lists the module chassis DAQ and DAQmx measurement compatibility?  Because I do not find that documented anywhere it's obvious...

    Well so be it... I finally found a document that lists the compatibility of type of measure and appearently the only module able to do using the virtual channel of speed measurement is the 9361 OR...

  • What factors affect the speed of encoding the most?

    Hi all

    I'm actually very happy with the speed of encoding to DVD formats. I was under the impression that he was 'real-time' coding. Encoding 1 hour long PAL 48 kHz capture VHS to DVD only took about 30 m.

    I opened the Task Manager and noticed that the two hearts of my Athlon X 2 5400 running hard during this process. So I guess that coding can use multiple cores.

    My questions are:

    1. If I'm on a Quad core CPU what performance increase what I see with the above example encoding? 15 m?
    2. What influence hyperthreading there - if any?
    3. Do you expect that PE8 will support nVidia CUDA at some point? I noticed that the latest version of Roxio software don't.
    4. Will be slow encoding drops considerably when I started working with HD content?
    5. A Matrox hardware encoder work with PE8? They seem to only support Premiere CS4

    I have SATA - II RAID 0, 2 GB of RAM, AMD Athlon X 2 5400 + and XP SP3

    Justin.

    The two factors that most affect your rendering, as well as your speed of encoding are:

    (1) the power of your processor. So, Yes, in fact the upgrade to a quad core processor would make a significant difference in your performance. Your graphics card and RAM have no real effect on your rendering speed.

    (2) the format and resolution of your video.

    The resolution, for obvious reasons. It takes more time to display the 1.5 million pixels (hi-def) it does 345 000 pixels (standard definition video).

    But the format can also make a difference. If you use the video from a non-standard source, such as a camera or a camera Flip, the program has to decode the video and more re-making.

    And video AVCHD, because it is so highly compressed, takes the longest first to make.

    In other words, the video from miniDV camcorder should make pretty quickly after you add an effect - that video from a camcorder AVCHD will take much more time.

  • My speed has decreased between the router and the modem is not working properly, what can I do to increase the download speed with my Time Capsule 802.11n

    My speed has decreased between the router and the modem is not working properly, what can I do to increase the download speed with my Time Capsule 802.11n

    A variety of phenomena can affect the performance of its wireless network. You may be able to mitigate some negative effects.

    Solutions to any factors that may have an impact on your wireless network, read use the Diagnostics wireless for you help to solve the problems of Wi-Fi on your Mac - Apple Support.

  • Can satellite A500-17 X - I get full speed with router Linksys WRT120N WLan?

    I want to buy a "Linksys WRT120N" for my A500 - 17 X wireless router, and my question is can I get full speed with this router as 100 Mbps or more.
    I don't have as much knowledge on wireless routers and that is why I ask.

    And the other question is:
    This router will give me good signal in my apartment of 60 m 2 from one room to another?

    Hello

    I think your question should be posted in the forum of the manufacturer of the router and not here in the forum of Toshiba.

    Anyway. It seems that the Wlan WRT120N router is certified for
    IEEE 802.3, IEEE 802.3u, IEEE 802. 11 b, IEEE 802. 11 g, Wi - Fi CERTIFIED, IEEE 802.11n (draft 2.0)

    As you can see the supported WiFi standards: 802.11 B, G and N

    For your laptop s Wlan card supports Draft N, you should be able to connect to 802.11 N.

  • Speed with EG008W worm 3 problem

    This is my first time writing on a forum, so please forgive the long-winded explanation. I want to just make sure that I give all the details.

    I currently own a WRT54G and WRV54G, BEFSR41. My internet modem is connected directly to the WRV54G and the other two are directly related to the WRV54G also. The small network, I had was working completely fine and I never had problems.

    Last month, I bought an EG008W 3 worm in the hope of accelerating my internal network from my laptop (vista 64 home), my server HP ex485 smart media, and my PS3 all have gigabit cards.

    I removed the WRV54G WRT54G and connected the EG008W to WRV54G. Then I connected my laptop, my HP mediasmart ex485 server, my PS3 and WRT54G to the EG008W.

    I did not notice the changes of speed in the last month, so this week I decided to give it a try at low speed. Copy of 5 GB of files from my server on my laptop says it would take me 5 hrs. I connected my laptop to the WRT54G and tried to copy the same files, and it took a little less than 10 minutes. I connected the laptop to the EG008W and tried to copy the same files. I let it sit for 30 minutes and then abandoned.

    I did a session with Linksys chat and was told to return to the store. The store policy didn't allow exchanges, but they have test and that the EG008W worked well for them.

    I brought home and tried with the following, set up simple: WRV54G to EG008W Modem. Then I plugged in just the laptop and the server at EG008W. I copied the same 5 GB of files and first of all, it looked promising, but after 15 minutes, he said still 3 hours left. I would have liked a boost of my network speed, but whether slower than my wireless connection G isn't fair.

    I have cat5e wiring and cords connection. I kept the same wiring when I connect the switch to the router when you perform tests.

    Any help would be appreciated. I'd appreciate also all new tests that I can try.

    Aponikikay thank you very much for your answer.

    I could get my hands on another laptop with a gigabit card and with that one my switch worked correctly. I guess it turns out be something with my laptop.

  • Problems with encoder motor switching noise readings

    Hi all

    I wanted to ask advice with a hardware problem which seems to be pretty common.

    Here I describe my request:

    We are controlling an electric actuator for robotics application. We use encoders to take position readings, and we need to perform analog acquisition for other measures (for example, the force measured using strain gauges).

    The problem is:

    In summary, I have problems to properly acquire position readings of a linear encoders quadrature and also a few analog inputs. The cause is the switching noise generated by the drive motor that we use (which is an engine without Stricker of CC Moog BN-23-23).

    Our acquisition platform is an NI PXI-8106 with a PXI-1042 q chassis. We have two possibilities to acquire the signals. We have a multifunction DAQ series NI PXI-6259 M and a FlexRIO NI PXI-7951R with one module DIO NI PXI-6581R.

    The switching noise have a frequency of 30 kHz. In a scope, we see a series of peaks of noise which are present only during a short period of time (approximately 1/10th of the duration of the noise). The rest of the time the noise is not present.

    The Accelnet amplification module that powers the electric motor gives us a clock signal synchronized with the noise (whose frequency is approximately 1/4 frequency noise). This clock signal provides a way to solve the problem of analog acquisition. We can use this clock to make an acquisition stamped with an external clock in LabView connecting the clock on a spit of PFI or FPGA card. But the noise is also corrupt this clock signal (we get an error daqmx us warning of possible defects in the clock signal and also to stop the acquisition). I believe that to solve the problem of encoder we can also solve the problem of the analog acquisition.

    In the encoder readings noise makes our County to counter upward or backward gradually fast enough. We can get an increase in the position of about 10 cm per second with no appreciable movement in the linear actuator.

    It would be a great help if someone could put the solution he uses to solve this problem.

    Thanks in advance for your help,

    jespestana

    PS: I stress my conviction that we have a hardware problem, because we have only bad readings when the electric motor does not work. I am therefore convinced because we have already done reading encoder and analog with the help of other players, such as hydraulic cylinders. So, I think that it is not a problem with our software (of our LabView VI).

    Hi jespestana,

    I don't know why the noise could be the cause of your encoder can increase more slowly...  However I have a suggestion on the map of the M series (6259):

    M-series cards have a digital filter integrated on the lines of the PFI (see the user manual of M series).  Looks like the noise is a series of 3 ~ US of impulses (1/10 to 1/30 kHz).  Of the available filtering frequencies that you can set on your M series is 6,425 US, which must ignore the impulses (high or low) that are less than 6,425 US. You can configure the digital filtering with a property node DAQmx:

    One caveat is that the driver only allows you to configure the digital filtering for entries counter on M Series devices.  For example, you can use a digital filtering directly on your task of encoder, but not for your sample clock HAVE.  A workaround can be found here, which is to set up a dummy counter job to define the PFI filter for your task to HAVE.  If you use the same PFI line for your encoder and the task to HAVE it, you should be able to just set up the PFI filter through the task of the encoder and worry for the workaround.

    Regarding the RIO Flex, I think that you could implement something similar on the FPGA, but I'm probably not the best person to comment on this subject.  It would be probably a lot more work to use the DAQmx API's built-in filtering.

    Best regards

  • I'm looking for a software that will speed up the startup time and when I use etc.

    I'm looking for a software that will speed up the startup time and when I use the computer for a while, it is slow going on the Web site? do I need a registry cleaner? Please notify. I have two computers with xp and vista.

    The only thing that's really going to "speed up" your computer is a faster processor, more ram and a faster internet connection.  Everything else is really a waste of money (IMHO)

  • Doubt on the export of pages in JPG format at high resolution with Indesign

    Hello

    I use to work two software, your skill of QuarkXpress and Indesign. If I had to choose one, I prefer Indesign, it is very nice and I love it, but I have to work with the software.

    Well, I have a doubt about the use of Indesign method to export a page in JPG, high-resolution, because QuarkXpress do the same job, but in a different way, so my doubt is about the quality of the files produced.

    It is a very technical issue, if someone with experience in the professional press and print or an Adobe expert could answer, I would be grateful.

    InDesign, producing a poor quality file or QuarkXpress that producing a poor quality file?

    My question is as follows:

    I opened a document in Indesign, and I decide to export it. To simplify things, we have a unique page DIN A4 document.

    So I tell Indesign to export the pageand I want a JPG, high-resolution 300 DPI file.

    Indesign do his job very well, and produce the file exported. This is a JPG file, there are 300 dpi.

    If I open the document in Photoshopand I'm going to... Image of ... Image size...

    I see the Indesign document indicates the exact measurements of a DIN A4 210 x 297 mm and the resolution of the file, I have 300 DPI.

    Therefore seems to be that indesign has done a great job.

    Very well.

    Now, I explain what is happening with QuarkXpress.

    I do the same thing, I have a document to a single page, DIN A4 and I export it as JPG format at high resolution of 300 dpi.

    Well, now QuarkXpress, create the file and I open the file in Photoshop.

    Surprise.

    The file has larger than DIN A4 and a lower resolution dimensions!

    Exactly, QuarkXpress produce a jpg of the following dimensions: 874,89 x 1237,9 mm and a resolution of 72 dpi

    When I see 72 dpi, I think that the document is in low resolution. However, I have a larger document?

    I open the QuarkXpress file in Photoshop, then I uncheck resampling, in this way Photoshop will never change the image. Now, I change the value of resolution of 72 dpi, 300 dpi, which is the value I want.

    And what happens? What happens is that I get a document with measurements of a DIN A4 and also at 300 DPI.

    ???

    So basically QuarkXpress does the same work in Indesign, but in a different way.

    The file QuarkXpress are 2.29 MB more or less. The Indesign file are 3.84 MB more or less.

    So why these differences?

    Which method is the best and why Indesign produce a different file to QuarkXpresss?

    See you soon

    As far as I know, the ppi is not the required metadata for the images.

    So Im guessing that Quark exports jpg ppi worthless.

    But Photoshop is to assign a value of ppi when it opens an image without specified ppi value.

    This value is be 72, but it could be anything, because the pixel dimensions do not change.

Maybe you are looking for

  • SBS 2011 Setting Up mapped drives in group policy

    I have a fairly new implementation of a SBS 2011 Standard on a domain with 5 computers and users.  I have mapped network drives setup in as explained on TechNet group policy.  And also on the server and a workstation, I run gpupdate/force successfull

  • Phone not appearing is not in devices and printers.

    Original title: phone not recognized I have a model of cell phone sanyo E4100, I plug it into the usb port and my computer sees load, however it does not appear on my devices & Printers.  I want to download a ringtown and/or songs but not noticed.  W

  • Western Digital WD10EARS internal hard drive Caviar Green 1 TB - my system does not recognize the new drive

    I recently bought a computer Dell 4700 to a friend with Windows XP installed. I've updated the memory to 2 GB and now seeks to install a WD10EARS 1 TB harddrive. The new works of fine memory is not the hard drive. My system does not recognize the new

  • License to another computer

    So I recently bought a new desktop computer HP it came with Windows Vista but I almost immediately upgraded to Windows 7. Is there a way to transfer the Windows Vista, the computer came with my laptop which currently runs on Windows XP and is compati

  • Install HP fails under Windows 7 64 - bit for Printer series CP1020

    Hello! I tried to solve this for days, and I've seen a lot of suspense/unresponded to messages about the same topic so I hope that someone sees this! Product & number: Color LaserJet CP1025nw CE914A   Operating system: Windows 7 64 bit   Error messag