How to measure high currents accurately (upto 24A) using FPGA

I need to measure high currents accurately. I have only a FPGA board and TBX 68 terminal block. Do I need any other NI hardware?

The answer will depend on your specific situation, such as the voltage levels you are working with, the source of the current, the influence some additional components such as a shunt resistor may have, etc. Can you provide more details about the application, the source of the current, the voltage levels, how quickly the current will change, the stimulus for a current change, etc.
The most common method to measure a current is to add a shunt resistor in the current loop and measure the voltage across the shunt to calculate the current based on the voltage and resistance. You would need to make sure the absolute voltage levels (relative to the ground of the FPGA board) do not exceed its specifications (+-10V). The value of the shunt will depend on the current and the accuracy you need in the measurement.
If you use a 5 milliohm shunt, then you will have a 0.12V drop across the shunt resistor at 24A. The 7831R has a relative accuracy of about 300uV, this would translate into a relative accuracy of about 61mA for a 5 milliohm shunt (absolute accuracy will be less). If you cannot tolerate a 0.12V drop at 24A, then you will have to use a smaller shunt resistor which will give youless accuracy in the current measurement.
The shunt resistor value will have to be precisely measured ahead of time using a good DMM and a 4-wire resistance measurement. There will be some error associated with this measurement. The resistance will also change due to self-heating as the current through it changes (0.12V * 24A = 2.88W) adding some non-linearity to the measurement.
This is probably the simplest approach. If this setup is not feasible (e.g. the voltage in not within the 7831R input range) then you will need some additional signal conditioning. There are some off-the-shelf components for measuring larger currents that would translate the current into a voltage that you can measure with the FPGA board. Look at the following component as a place to get started.
A closed loop current sensor like the following may work. It runs off a 5 V supply, and is relatively easy to wire up:
http://rocky.digikey.com/scripts/ProductInfo.dll?Site=US&V=102&M=SCD20PUN
Christian L
NI Consulting Services
Christian Loew, CLA
Principal Systems Engineer, National Instruments
Please tip your answer providers with kudos.
Any attached Code is provided As Is. It has not been tested or validated as a product, for use in a deployed application or system,
or for use in hazardous environments. You assume all risks for use of the Code and use of the Code is subject
to the Sample Code License Terms which can be found at: http://ni.com/samplecodelicense

Similar Messages

  • How to measure a current signal with NI 6211?

    How to measure a current signal with NI 6211?

    Hi Clecio,
    This is a charge accelerometer. It is different from the IEPE accelerometers that outputs a voltage signal.
    You need a charge amplifier. Then according to the charge amplifier output we can select an appropriate module to measure the signal.
    It is not possible to measure charge accelerometers with NI 9234 directly.
    Best Regards,
    Rodrigo Schneiater
    Application Engineering
    National Instruments Brazil
    If this information was useful, please click in the 'KUDOS!' beside.

  • How to measure torque on a DC motor using Multisim?

    Hello,
    I would like to know how we measure torque on a DC motor using Multisim Education edition.
    I've searched for the component, "eddy current load brake", but could not find it. Is that component in Multisim?
    Thank you,
    Neil

    Hi,
    Please refer to this forum post.
    http://forums.ni.com/t5/Circuit-Design-Suite-Multisim/PM-DC-Motor-Model-Trouble/td-p/1931859
    Hope this helps.
    Regards,
    Tayyab R,
    National Instruments.

  • How to measure the current/power running through iMac

    Hi
    After I moved from my old house to my new appartment, my 24" late 2006 iMac instantly started making this annoying high pitch noise.
    I've tracked it to coming from the area around the hard drive fan.
    I believe there might be a problem with the ground connection in the electricity system in the building.
    Is there a way to measure the current running through my dear iMac?
    Thank you very much.
    //Spaceranger
    ps.: also see my previous post where I tried to figure out what might be the problem.

    See here for the full tech specs of your machine:
    http://support.apple.com/kb/SP28
    You could connect a Volt/ Amp meter to the power outlet which will tell you what voltage/ current is being supplied, but you have to ensure the meter is set correctly or it could damage the meter being used.
    I'd ask an electrician to come in and have a look at the supply. They're qualified and know what they're talking about and may be able to shed some light on the problem.

  • How can I display current iPhone GPS coordinates using compass app

    How can I display current iPhone GPS coordinates, when traveling overseas with no access of data or wifi
    using "iphone compass app"(Both the latitude and longitude) ??
    if iphone compass app require any sort of data
    what alternative would there be? (to document the coordinates)?

    Hi
    Iphone 5s 16 gb 8.1
    My fone freeze whenever i charge my fone its appear white screen with apple logo.. and as soon as i try to press hold home and power button
    it shows battery drained sign>> i m facing this problem from last one week
    and itunes also not  getting cconnected
    can any1 please help me out
    sorry for poor english

  • How to measure more than 10V DC voltage using NI 9205

    Hello everyone,
    I have a solar panel, controller, battery and load. I need to measure their voltages and currents.
    The tensions are higher than 10V DC.
    I need to use the NI 9205 to measure them? I do not know if a resistive divider will work?
    Anyone have any suggestions?
    thank you

    In the past, we've used simple resistor dividers.  More recently, we added op-amps to the circuit so that the DAQ impedence didn't mess with our signals.  But the simple resistor dividers work just fine.
    There are only two ways to tell somebody thanks: Kudos and Marked Solutions
    Unofficial Forum Rules and Guidelines

  • How to display the Current Date on page using ADF Components

    Hi,
    Is there any way to display the system date on a page developed using ADF Components.
    I am thinking of writing the java code to display the date. Just wanted to check is there any pre-defined component of ADF that I can make use of.
    Could anyone tell me how to do this using ADF components?
    Thanks in advance.
    Sivaji....

    Please refer the below link.
    Prompt  with  default  date   (  currentdate-1  and current date-8)
    http://www.dagira.com/2008/07/15/how-can-i-make-today-my-default-prompt-value/
    http://www.dagira.com/2008/07/21/using-a-magic-date-value-in-prompts/
    Regards,
    Bilahari

  • How to Capture High Quality Picture in Flex using webcam

    Hi All,
       We need to use the built-in webcam to caputre the high quality still image. However, seems the webcam is set to video capture mode by default. The built-in cam is 1.3 mega pixel or 2.0 mega pixel, however, the resolution of still image caputured is quite low, around 0.3 mega only.
    Anyone knows how to utilize the web cam to capature the high quality image in Flex?
    Thanks a lot!

    It is hard to believe that I've figured the whole thing out and accomplished my goal - while it being my first dip in flex & actionscript.

  • How to measure frequencies of two sources simultaneously using 6602?

    I am using pci-6602 & LabView to measure frequencies of two sources. I wired Measure Frequency (NI-TIO).vi to do it, but it seems the counter only works at one channel at a time. Can anybody send me an example vi?
    Many thanks in advance
    ZYuan

    Hi ZYuan,
    To measure the frequencies simultaneously, you would need to duplicate the code for the single counter example twice and link the error cluster from one set to the next. I don't have a specific example but the following example can be used as a guide.
    Simultaneous Buffered-Event Counting on All Eight Counters of the 6602 or 6608 Devices
    http://sine.ni.com/apps/we/niepd_web_display.display_epd4?p_guid=B45EACE3DC9F56A4E034080020E74861&p_node=DZ52325&p_source=External
    Hope that helps. Have a good day.
    Ron

  • High Speed Clock Signal Generation Using FPGA Ouput

    Hi,
    This a screen shot of a LabVIEW FPGA program. Here I am trying to generate 5MHz Clock signal at Connector 0 DIO12. But I get around 2MHz when I measure the signal using an oscilloscope. Would some tell me what’s wrong ?
    LabVIEW 2011
    FPGA Target  : PXI 7841
    I set DIO 12 to Nerver Arbitrate in the property setting.
    Solved!
    Go to Solution.

    I'm not certain but maybe some of the delay is happening because you are changing the mode of the pin.  According to the specs on the card it is capable of having a Maximum Clock Rate of 40MHz under the DIO section.  So if you are purely doing digital reads, or digital writes you should be able to update/read 40,000,000 times a second.  If you perform a read, which can take up to 1/40M of a second, then invert which takes some time but practically none, then another write which can take up to 1/40M of a second, your loop rate should still be faster than the 10MHz you showed.  That's why I suspect there is time involved in changing over the pin from a read mode to a write.
    If you try to do something similar with the analog you'll notice the maximum update rate is only 1MHz.  So while your logic and code can run at 40MHz you can only update the analog value at 1MHz.  Because of this in the past I have had two loops.  One running a at the maximum clock rate doing the logic calculations, and then sending the result to another loop that updates the output at the maximum rate which in the case of an analog out is only 1MHz.
    Unofficial Forum Rules and Guidelines - Hooovahh - LabVIEW Overlord
    If 10 out of 10 experts in any field say something is bad, you should probably take their opinion seriously.

  • How can I measure a current continually after switching it to a DMM?

    Whether a current could be measured continually after switching it to a DMM? How to write the scan list? 
    I tried many times and failed. 
    Thanks advance
    小木虫

    Hi 小木虫,
    Ignore my first reply.  I misunderstood your question and provided an example of how to create a "make before break" scan list entry.  You do not need this for your application.  I think "break before make" will suffice.
    I now understand that you want to make multiple current measurements after creating a switch connection.  The scan list entry you provided: r2->c0 & r3->c1; will create the connection required for the DMM to measure the current flowing between c0 and c1.  However, the DMM will send a trigger back to the switch after making its first measurement.  
    One way to make multiple measurements is to create multiple connection entries in the scan list.  Each scan list entry triggers the DMM to make one measurement.  I don't like this idea much, as it will actuate the relay many times (once for each measurement). 
    Is hardware-timed operation necessary?  If you used a switch software trigger, you could make the scan list connection (r2->c0 & r3->c1; ) and then begin a DMM multi-point acquisition.  Once you've collected all the required current measurement samples, you could send another switch software trigger to continue with the next scan list entry. 
    Will this work?
    Chad Erickson
    Switch Product Support Engineer
    NI - USA
    Message Edited by Chad PSE on 02-20-2009 01:51 PM

  • How to measure current

    Hi:
    We have a DAQmx (6024E) and we want to measure the current from a
    flowmeter. When I tried to use the example program of LabView, I found
    that the measured current is much different from the current we got from a voltagemeter directly.
    Please help me to figure out HOW TO MEASURE CURRENT with NIDAQmx and LabView. Thanks
    Message Edited by kuroshio on 07-11-2005 10:49 AM
    Message Edited by kuroshio on 07-11-2005 10:55 AM

    Hello kuroshio,
    Current measurements are really just a voltage measurement with V=I*R applied.  Have you tried first measuring a voltage and comparing that to the voltage from your voltmeter?  You could measure the voltage a couple of ways.  I would suggest first using the Measurement & Automation Explorer (MAX) test panels.  Make sure your signal is connected to the correct pins and choose differential as the terminal configuration.  Once you have a correct voltage measurement, then you can use a LabVIEW example from the example finder (Help>>Find Examples) to get started with a current measurement.  In the example finder, you can navigate to Hardware Input and Output>>DAQmx>>Analog Measurements>>Current.  There are a couple examples there for current measurements.  You will have to enter the value of the resistor you are measuring the current through.  Be sure to re-post if you still have problems
    -Alan A.

  • How to measure current and voltage and rpm with daq device

    i am measuring current and voltage and am wondering should i use shunt resistors or current sensors hall effect sensors. i have a pci 6221 and a scc-68 breakout box. what specifications or size should the shunt resistor/current sensor be or should i use another device to measure the currrent and voltage. do i need any other safety device between the resistors, current sensors and the scc-68 breakout box when measuring the current and voltage. will the daq card pci 6221 pick up a signal from the resistor. what terminals should the wires from the resistors and current sensors be connected to in the scc-68. i am using a proximity switch to measure rpm of a motor. should the proximity switch be 2 or 3wire connection. should it have an analog or digital connection and is a power supply required to power the proximity switch and should it have an npn or pnp connection

    hello,
     i was going to use a 20amp 50mv, or a 20amp 100mv current shunt and connect wires directly into the AI input terminals of the scc-68 from the current shunt would these be suitable. would current shunts such as these be suitable to use http://uk.farnell.com/elc/sh10020/shunt-sh10020-20a-100mv-1-class/dp/1319576 or http://uk.farnell.com/datel/3020-01098-0/shunt-50mv-20a/dp/1339338
    is it ok to use either a current shunt or should a hall effect sensor be used  such as this http://ie.farnell.com/honeywell-s-c/csla2cd/sensor-hall-effect/dp/1082269 . which of them would be more accurate or are both of them fairly accurate.
    when i am measuring voltage can i connect two resistors between the positive and negative of the wires going to the battery and connect two wires from either side of the resistor directly into the analog inputs of the scc-68 and measure the 12-15 volts directly would the pci6221 and scc-68 be able to measure the voltage drop across the resistor.
    i wanted to measure rpm also does it matter whether the proximity switch has 2 or 3 wires and should it have an analog or digital/frequency output for cponnecting to the scc-68

  • How to measure current on DC servo motor.

    Need to measure current on DC servo motor. What is the best way to measure the current on the motor as it moves to position? Using PXI-7344 controller and MID-7654 drive unit.  

    This is not an easy task. Here are some ideas:
    Direct current measurement:
    Add shunt resistors into the motor cabling and measure the voltage over the resistors. As the 7654 doesn't provide DC current but PWM current (32 kHz) you will have to acquire the data pretty fast (at least with 200 kHz). This could be done with a DAQ-board like the PCI-6220. Additionally you will have to do some math to calculate the RMS value of the current.
    Control voltage measurement:
    You could measure the output voltage of the 7344 as it is proportional to the duty cycle of the PWM current signal of the 7654. You will also need some additional measurement hardware but you wouldn't have to use shunt resistors and RMS calculations. The major disadvantage of this option is cabling as there is a single cable connection between the controller and the drive and you would have to use e. g. two external connector blocks and an additional cable in order to be able to connect your measurement hardware to the voltage output of the 7344.
    Torque measurement:
    Torque is also proportional to motor current so you could add a torque sensor to your motor and measure the output signal with e. g. a PCI-6220. Depending on your hardware setup this might be the best option.
    I hope that helps,
    Jochen Klier
    National Instruments Germany

  • How to measure the baseline of a noisy, pulsed signal

    Hi
    I am measuring the torque exerted by a large motor on a shaft using a load cell and lever arm. The shaft runs at approx 150 rpm. I have attached a drawing that shows the output I get. This is a test rig.
    I have written some code that measures the maximum peak out of a group of approx 5 peaks and writes this to a shift register. This gives me an idea of the maximum torque "spike".
    I also wish to measure the baseline torque (due to the bearings in the machine). Even when highly filtered (my noise filter is set to 49Hz) the signal exhibits this noise which is probably due to vibration in the system. The signal is zeroed when the motor is not running.
    Does anyone have an ideas on how to measure the "baseline" torque? The large spike in torque prevents me from doing a running average. Can anyone think of a way of averaging just the noisy part of the signal to get an average value? I aim to to subtract the average baseline torque from the peak value to get an idea of the torque due to the event which causes
    the spike.
    Any help would be greatly appreciated.
    Many thanks.
    Attachments:
    drawing of torque signal.gif ‏26 KB

    Thanks for the reply. I understand what you are saying. However, I might have to modify my method for measuring the peaks if I choose to implement your idea. I have taken a screenshot of my "peak finder" code and attached it.
    Bascially, the reset terminal is wired to a timer which outputs a pulse every few seconds. This resets the vi (a standard NI one I think) and sets the peak magnitude back to zero. This way, I am windowing the signal and measuring the maximum peak in every window. This is what I need to do.
    So I could use a logical filter to feed data to the running average only if;
    the amplitude of the signal is less than a certain threshold
    and if the current value has similar low peaks either side of it
    How would you construct the code to delay the evaluation so that the values in front and behind of the current data point can be analysed?
    thanks again
    Attachments:
    peak_find_screenshot.jpg ‏45 KB

Maybe you are looking for

  • How to View Slideshow but NOT in FULL SCREEN?

    I often would like to start a slideshow of images on my mac but I don't want it to take up the whole screen. I just want to view the slideshow in a window. I have tried both iPhoto and Preview and can't figure out how to do that. Is there a way to do

  • EDI 820 EDI to XML conversion error

    Hi Experts, We have configure EDI 820 Inbound Scenario in our system. The incoming EDI 820 file  is not getting converted in XML from EDI. I try to convert it into XML in BIC Mapping Designer but it is displaying the below error message. "Error:ID=20

  • THOUSANDS of duplicate songs in iTunes. How do I get rid of all the doubles

    With the iTunes update I hit the organize my library button and this caused iTunes to find the same songs in several different folders, so that now I have thousands of songs in iTunes with doubles, triples and quadruple copies. Is there a program or

  • Wishy washy print!

    Hi there We have a CP3505n laserjet printer and we have all HP cartridges in it and I have run diagnostics and troubleshooting tips and it will not print well, the colours are washed out and we need to print photographs and the quality is awful. Does

  • REFRESH_ADMIN_DATA_FROM_SUPPORT error...

    Hi there... I´m facing with an error in sap solution manager, my goal is to setup maintenance optimizer, for that I know the job REFRESH_ADMIN_DATA_FROM_SUPPORT  (with Abap program AI_SC_REFRESH_READ_ONLY_DATA) must are schedule every day because thi