element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Personal Blogs
  • Community Hub
  • More
Personal Blogs
Legacy Personal Blogs LabVIEW Test Automation - Part 1: Hardware Setup
  • Blog
  • Documents
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
  • Share
  • More
  • Cancel
Group Actions
  • Group RSS
  • More
  • Cancel
Engagement
  • Author Author: Jan Cumps
  • Date Created: 19 Jun 2016 11:27 AM Date Created
  • Views 2144 views
  • Likes 1 like
  • Comments 3 comments
  • ds1052e
  • gpib
  • osciloscope
  • labview
  • scpi
  • script
  • launchpad
  • rigol
  • test_automation
Related
Recommended

LabVIEW Test Automation - Part 1: Hardware Setup

Jan Cumps
Jan Cumps
19 Jun 2016

I have this plan to script an automated test setup. I want to check the behaviour of GaN power FETs.

I'll need to control the input signals that drive the FETs, the load that the FETs see, and the measurement instruments.

To make this possible, I bought a license for LabVIEW Home Edition.

image

I used the coupon code that's available if you listen to The Amp Hour.

 

I'd like to automate measuring the behaviour of power FETs in a switched design. What's the effect of the switch frequency on the efficiency?

How short can I make the dead band before the circuit becomes unstable? What are the minimum and maximum duty cycle?

 

The Building Blocks

 

The lab setup has five main parts:

  • the device under test. This is a switching power device (half-bridge, buck converter, ...) and the PSU to deliver the source power.
  • a laptop with LabVIEW. That combination will set the input conditions for the device under test. It will also collect data from the test setup.
  • the input controller. A microcontroller that generates the PWM input control signals based on LabVIEW commands.
  • the load. Controlled by LabVIEW, it will stress the device under test.
  • the measuring instruments. An oscilloscope and the same load that we can also query for data.

 

Device under Test (DoT)

 

This can be any switching power regulator that accepts PWM control signals (either one simple PWM, or separate signals for a high and low side).

In this setup, I 'm going to use GaN FET power drivers in half-bridge configuration. I can replace them with other devices like buck, boost, etc..

The power supply is also part of this block. It 'll deliver the ummph to the switching device. It's going to be set to fixed values in the test setup.

 

image

 

Laptop with LabVIEW

 

This is the heart of the system. It drives the inputs to the DoT. It sets up the parameters of the electronic load.

In the other direction, it 'll retrieve the measured values of the load.

It configures the oscilloscope and queries back measured values and wave forms.

 

image

LabVIEW can alter the input and load conditions. It can then measure the effects of those changes to the DoT.

 

Input Controller

 

A microcontroller that has three duties.

It has to generate simple PWM signals, where we can indicate frequency and duty cycle.

It also has to be able to generate more complex separate high and low side signals with dead band for finer controll of the switchin devices.

 

image

And it has to be able to communicate with LabVIEW. The program will tell what type of signal needs to be generated, and what the frequency, duty cycle and dead time should be.

 

The Load

 

An electronic programmable load. Has to be able to set its value based on LabView commands.

In combination with the input controller, we can check how the switching device behaves for different frequencies, duty cycles and loads.

 

image

 

The Measuring Instruments

 

The same load can play a role in this setup to. LabVIEW can query the voltage at the point of load and the current.

My oscilloscope will also be used. What it's going to measure is dependent on the facts I'm after.

It can be voltages, waveforms, frequencies, ripple, ...

 

image

 

LabVIEW will set the horizontal sensitivity, the time base, the trigger setup, etc... automatically.

It will query the results back and collect the info in a document.

For those setups where a waveform is useful, I'll also try to grab that with LabVIEW.

 

Anything Missing?

 

Yes. In the ideal world, the power supply would also be controlled by the test script.

And I'd like to have a meter linked into the equation. Ideal if I want to measure efficiency.

(I have a DMM with a RS232c interface. But I'd have to acquire a usb converter and the meter isn't worth any investments.)

 

I'm currently blind (or better: LabVIEW is blind) for what's happening on the power input of the DuT.

Not an ideal situation.

But it's better to get going than to muse about improvements.

I can always use the controllers ADC inputs to build makeshift voltage or current sensors that talk to LabVIEW.

 

Related Blog
LabVIEW Baby Steps
LabVIEW Test Automation - Part 1: Hardware Setup
Build a Programmable Instrument
Create a Programmable Instrument with SCPI - Part 1: Parser Library
Create a Programmable Instrument with SCPI - Part 2: Serial over USB
Create a Programmable Instrument with SCPI - Part 3: First Conversation *IDN?
  • Sign in to reply

Top Comments

  • DAB
    DAB over 9 years ago +1
    Hi Jan, Great post. I had wild idea, have you considered putting a line monitor on the PSU to see if the different frequencies and loads greatly affects you mains input usage? There might be some valuable…
  • Jan Cumps
    Jan Cumps over 2 years ago in reply to UdaykumarV

    Yes: community.element14.com/.../create-a-programmable-instrument-with-scpi---part-3-first-conversation-idn

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • UdaykumarV
    UdaykumarV over 2 years ago

    Hi Did you finish the LABVIEW automation code?

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • DAB
    DAB over 9 years ago

    Hi Jan,

     

    Great post.

    I had wild idea, have you considered putting a line monitor on the PSU to see if the different frequencies and loads greatly affects you mains input usage?

     

    There might be some valuable data involving how the PSU sees the load verses the DUT.

     

    Just a thought, you know how I am. image

     

    DAB

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • More
    • Cancel
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube