Jump to content

Finding mass using force sensor and usb daq6366


Gab

Recommended Posts

 Hello Everyone,

Need some verification with daq program.

I have one force sensor that connectd with my usb daq device. with this force sensor, unknown object is connected(hanging) and i want to find the mass of this object (F=ma) so i am taking continous sample and generate waveform graph. After the scaling, my waveform will be in Newton unit.

my question is: if i take RMS of this waveform(1d Array data point) and divide by g (9.8 m/s2) then whatever value come is my correct mass? (F=ma).

Thank you in advance

Edited by Gab
Link to comment
  • 2 weeks later...
On 11/19/2017 at 9:51 PM, ensegre said:

Say the mean. RMS would give you an estimate of the standard deviation of your measurement.

Hello,

I dont think so i got right value because actual weight of my system is ~400 g but my daq program giving me a strange value (like 40g, 29g, etc..). if i read more sample than some time this value increase.

anyone has an idea?  why this happen for stable mass system hanging with spring ?

Link to comment

You should check your (raw) input signal. Sounds to me like the input signal from the force sensor is not as stable as you think it is. The equation is a simple conversion from force to mass, so it'll produce the same output given the same input. Even if you don't take the average over your input signal, the calculated mass should stay within reasonable limits.

59 minutes ago, Gab said:

actual weight of my system is ~400 g but my daq program giving me a strange value (like 40g, 29g, etc..)

Check the datasheet of your force sensor. Its output might be scaled (the same could apply to your DAQ settings).

59 minutes ago, Gab said:

why this happen for stable mass system hanging with spring ?

How stable are we talking about? 400 g isn't that much (in my world that is :))

Edited by LogMAN
Link to comment
1 hour ago, LogMAN said:

You should check your (raw) input signal. Sounds to me like the input signal from the force sensor is not as stable as you think it is. The equation is a simple conversion from force to mass, so it'll produce the same output given the same input. Even if you don't take the average over your input signal, the calculated mass should stay within reasonable limits.

Check the datasheet of your force sensor. Its output might be scaled (the same could apply to your DAQ settings).

First of all thanks for reply. Scaling is not a problem. I am 100% sure. moreover, i am reading voltage from force sensor(ICP) then using sensitivity, convert into EU unit(Newton).

 

1 hour ago, LogMAN said:

How stable are we talking about? 400 g isn't that much (in my world that is :))

Here stable mean to say there is no any kind of damping oscillation wave because of spring.

Edited by Gab
Link to comment

Still, you read masses that are way off compared to the values you'd expect, right? Since you do voltage measurement you also have to consider side-effects from other parts of your setup (like wires running alongside that transfer signals which may induct into your wires).

I suggest you take a graph of your input signal over a reasonable duration and have a look at it. Try to figure out if the source signal is acceptable for your needs. If that's the case and the output is still wrong, maybe you can share some sample data and a VI to find a solution.

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Similar Content

    • By Zyga
      LAVA users,
      We are looking for alternatives for NI DAQ devices for industrial automation. Since NI has its devices mostly focused on advanced/high speed/high precison data acquisition/processing its prices are inadequate to simple automation tasks. 
      I would also say that NI PC based daq systems are expensive if need to be distributed systems (found this but still relatively expensive cRIO required).
      Just now we need to extend our compactDAQ based system with two DIO modules. We even have free chassis slots for this, but station that needs this IOs is few meters away from PC. How easier would it be if we could use single ethernet cable..  Ofcourse we can add another small cDAQ (what we probably going to do) but this is slightly expensive solution for our customer.
      Does anyone have some experience with 3rd party solutions? Any known daq devices vendors? Standalone ethernet daq modules?

      Regards,
      Zyga
    • By Atron100
      hi
      i have a question in basic understanding of update rate sample rate samples per buffer and cycles per buffer.
      i have DAQ 6343 and electronic circuit. 
      i'm using AO0 for generation sine wave at these frequencies 10Hz, 100Hz, 500Hz, 1kHz, 3kHz this signal enters to electronic circuit.
      and after conversion i must to measure two outputs of this circuit by AI2 and AI3.
      from my understanding of tech spec of the daq analog output update rate is 900kS/s and analog input update rate is 500kS/s
      as i understand if i have freq = 3kHz the maximum sample rate per buffer is 300 samples
      and if i have freq = 10Hz i can generate this signal with 90000 samples per buffer?
      for analog input the formula is the same?
      that meaning of cycles per buffer?
      which sample rate of AI i need to setup to measure data fast and accurately? 
       
      thanks for answers
    • By _Y_
      I am trying to implement a simple DAQ Watchdog with single digital output but cannot find any logical way to reset the Watchdog timeout signal. One of obvious solutions is invoking DAQmx Reset Device.vi. Unfortunately, it does not work. The Watchdog goes to timeout state but the physical output signal does not turn to High.
       
      For some obscure reason (typical non-qualified guess:) I added bottom part of the code that is red-framed in the BD. The only difference between functional and non-functional code is using DAQmx Start Task.vi, that is located in “Solutionâ€-driven case structure. If Boolean control “Solution†is True, the code works; if False, it doesn’t.
       
      Please help to understand why launching conventional Digital Output task is necessary for normal functioning of the Watchdog?
       
      PS: Attempts to use clear expiration command instead of DAQmx Reset Device.vi were not successful.
       
      PSS: HW is PXIe-6358
       
      PSSS: Unfortunately, I cannot post any image here. Any image format results in "You are not allowed to use that image extension on this community" . The VI is attached.
      watchdogTest150817.vi
    • By pkeny
      Hello,
       
      I have created a vi that controls multiple writes (individually) by a switch. I have it so one individual switch controls one individual write (And is linked to individual clear, stop, error daqmx blocks). I do not think this is efficient as it takes about 4-6 seconds for the switch to actually write (True or False). 
       
      So, I was wondering if someone could help me make my code more efficient so it would run a bit faster.
       
      Thank you
      Digital Outs fine.vi
    • By CANewbie
      Hello,
       
      I think this topic is very important for everybody that are doing advanced DAQ. Because it you want to save an event, you need first to see it(real time analysis), and than to save the transition how the event happened(that means to have values, before the event happened). Using consumer producer structure.
       
      i'm trying to save data into some kind of buffer. my main goal is to delay values. I successfully created a delay using Delay values.vi, the problem is i think it makes the while loop slower. If anyone knows what is a good practice to create a delay for large amounts of samples 100k, 200k, 300k samples? Is a delay values.vi good practice, or is there another better way?
       
      Thank you
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.