Translate

Wednesday 28 May 2014

LabView - Data Acquisition, Charge and Discharge of a Capacitor.

In the following program which will do is make the acquisition of data loading and discharge of a capacitor with Data Adquisition(MyDAQ) of National Instruments sampling and plot a graph to visualize it and look how long it takes.

On the Front Panel we can see the explanation of the exercise, the load carried and the graph in which the acquisition is shown.
Furthermore we can control the plot of the chart to see the exact location of data and the time it is performed, while entering data in the load and make sure they match.
FrontPanel

First create a channel to perform data acquisition, to configure it in the properties of your analog input DAQ using the differential mode and select the properties of the acquisition. (channel, mode, range, type, frequency....), after this timing the sampling buffer for acquisition and allow time for reading and plotting the data on the graph
Block Diagram
Block Diagram- Calculators

This are the mathematical calculation of the charge and dischargue of the capacitor. Using the differents information of the components used. (resistor and capacitor). 
Use the mathematical formula and created the algorithm with the mathematical tools Labview.





IMPORTANT: For the data acquisition is accurate according to the values ​​of the resistor and capacitor used, is necessary precompute the value of the internal resistance of the DAQ and use a resistance at least 10 times to so despise their value and not altered its acquiring.

To perform a data acquisition wiring components and Daq must be properly made.

Using the analog channel zero for the acquisition; as input for the creation of differential channel signal acquisition and output as write mode RSE.

To make a good acquisition first configure the myDAQ, setting the analog input (ai0) myDAQ for the acquisition of data in differential mode (DIF) and setting the analog output (AO0) for signal generation mode RSE.



No comments:

Post a Comment

Questions and doubts:

¿Que aspectos del Blog se podrían mejorar?