1 / 8

Module 5 – Serial devices using VISA

Module 5 – Serial devices using VISA. An application to measure capacitance. Serial interfaces. RS232 HPIB  GPIB VISA USB. The Agilent (nee HP) 43310A. Frequency domain: A low-pass RC filter. Time domain ( à la Module 4). Apply a square wave, measure response, charge or discharge

mura
Télécharger la présentation

Module 5 – Serial devices using VISA

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Module 5 – Serial devices using VISA An application to measure capacitance Physics 434 Module 5

  2. Serial interfaces • RS232 • HPIB GPIB • VISA • USB Physics 434 Module 5

  3. The Agilent (nee HP) 43310A Physics 434 Module 5

  4. Frequency domain:A low-pass RC filter . Physics 434 Module 5

  5. Time domain (à la Module 4) • Apply a square wave, measure response, charge or discharge • May not seen serial device; at least use Agilent to measure resistor Physics 434 Module 5

  6. Main points (see the doc) • Understand the Agilent or Textronix • Build the RC circuit (you might want to use the signal generator and scope to get a quick understanding). • Two options (or your own ideas) • Frequency domain: Get and use the SweptSineGenerator (in the Module5 llb). Generate the sweep. • Time domain: use the Vi from Module 4 to create a long pulse • Analysis either inline, or write out the data to fitGenerate a final vi to calculate the frequency. Physics 434 Module 5

  7. Fitting withLevenberg-Marquartd.vi • This VI has a nice interface to specify a model. It is a cluster of 3 items: the formula, an array of parameters to fit, (a,f) and the independent variable (x). • Package it into a subVI, inputs X, Y, “Initial Guess”, output “Best Fit” and “Best Fit Coefficients” (really parameters). Make a LED light up if there is an error. The graph comparing data with best fit can be generated here • (But note that this is already done: there is a fit_bode.vi you can use) Physics 434 Module 5

  8. The final project • We will be coming around to discuss this. See the list of suggestions on the web site • Can be individual or joint: • if joint, the individual contributions need to be specified (specific sub-vis, for example.) It will still be a joint grade. • Make a proposal, perhaps by e-mail. I want to have a title and a short description. Physics 434 Module 5

More Related