APPLICATION NOTE Custom waveforms using EasyWave and CSV Templates

Similar documents
APPLICATION NOTE Resolver Simulation using an Arbitrary Waveform Generator

Generating Complex Waveforms Using Siglent s Combine Function on the X-Series Dual- Channel Generators October 24, 2017

Spectrum Analyzer Basics: Bandwidth October 25, 2017

SIGLENT Announces the Release of SVA1015X Spectrum & Vector Analyzer June 27, 2018

APPLICATION NOTE Getting Started with EasySpectrum Software

SDG1000X Series. DataSheet Function/Arbitrary Waveform Generator

SDG6000X Series Pulse/Arbitrary Waveform Generator. Quick Start

SDG1000X Series Function/Arbitrary Waveform Generator. DataSheet

SDG2000X Series Function/Arbitrary Waveform Generator. DataSheet

SDG2000X Series Function/Arbitrary Waveform Generator. DataSheet

SDG6000X Series Pulse/Arbitrary Waveform Generator. Date Sheet

DataSheet SIGLENT Series Probe

SDM3045X Digital Multimeter. DataSheet

SDM3055 Digital Multimeter. DataSheet

Data Sheet. Function/Arbitrary Waveform Generator. SDG1000 Series DataSheet. Application fields: Edit arbitrary waveform

Electromagnetic Compliance: Pre-Compliance Test Basics October 19, 2017

Electromagnetic Compliance: Pre-Compliance Conducted Emissions Testing October 19, 2017

SDM3055 Digital Multimeter. DataSheet

Electromagnetic Compliance: Troubleshooting with Near-Field and Current Probes October 20, 2017

SDG1000X Series Function/Arbitrary Waveform Generator. Quick Start QS0201X-E01A

SVA1000X Series Spectrum & Vector Network Analyzer

SDM3065X Digital Multimeter. DataSheet

SDM3065X Series Digital Multimeter. DataSheet

Data Sheet. SDG800 Series Function/Arbitrary Waveform Generator. SDG800 Series DataSheet. Edit arbitrary waveform

How to Easily Create an Arbitrary Waveform Without Programming APPLICATION NOTE

Data Sheet. Function/Arbitrary Waveform Generator. SDG1000 Series DataSheet. Application fields: Edit arbitrary waveform

Data Sheet. Function/Arbitrary Waveform Generator SDG1000 Series. SDG1000 Series DataSheet. Application fields: Edit arbitrary waveform

Data Sheet. Function/Arbitrary Waveform Generator. SDG1000 Series DataSheet. Application fields: Edit arbitrary waveform

SDG2122X SDG2082X SDG2042X

PicoSource AS Professional and portable performance at low cost. 8 GHz Agile Synthesizer

PicoSource AS GHz Agile Synthesizer. Professional and portable performance at low cost

Keysight Technologies How to Easily Create an Arbitrary Waveform Without Programming. Application Note

Automated Frequency Response Measurement with AFG31000, MDO3000 and TekBench Instrument Control Software APPLICATION NOTE

Maximum output frequency:160 MHz, 100 MHz, 60 MHz 500MSa/s sample rate, 14 bits vertical resolution Dual Channel Outputs With Identical Performance

Function/Arbitrary Waveform Generator

P a g e 1 ST985. TDR Cable Analyzer Instruction Manual. Analog Arts Inc.

How to Simply Generate a Frequency Hop Modulation

Data Sheet. Function/Arbitrary Waveform Generator SDG5000 Series. SDG5000 Series DataSheet V1.2. Edit arbitrary waveform. Outstanding Performance

DG4000. Series Function/Arbitrary Waveform Generator RIGOL TECHNOLOGIES, INC.

Using the CODEC ReadMeFirst

About the DSR Dropout, Surge, Ripple Simulator and AC/DC Voltage Source

SDS5000X Series Digital Storage Oscilloscope. DataSheet

80MHz/50MHz Arbitrary Function Generator

Models 296 and 295 combine sophisticated

DATENBLATT. SDG1000X-Serie. HABEN SIE FRAGEN ODER WÜNSCHEN SIE EIN INDIVIDUELLES ANGEBOT? Unser Team berät Sie gerne persönlich.

DT 9818 Waveform-Generator. Hardware Trigger Version. Operating Manual. Version 2.0. May Page 1 of 21

Page 1/10 Digilent Analog Discovery (DAD) Tutorial 6-Aug-15. Figure 2: DAD pin configuration

Function/Arbitrary Waveform Generator

When you have completed this exercise, you will be able to relate the gain and bandwidth of an op amp

Datasheet RS Pro Arbitrary Waveform Generator 40MHz RS Stock Number : ENGLISH

Exercise 1: AC Waveform Generator Familiarization

Analog Discovery Arbitrary Function Generator for Windows 7 by Mr. David Fritz and Ms. Ellen Robertson

HP 33120A Function Generator / Arbitrary Waveform Generator

Time-Varying Signals

14585A Control and Analysis Software for Advanced Power Supplies

Dual-channel, 120MHz maximum bandwidth, 20Vpp maximum output amplitude, high fidelity output with 80dB dynamic range

IX Feb Operation Guide. Sequence Creation and Control Software SD011-PCR-LE. Wavy for PCR-LE. Ver. 5.5x

Quick Start RSDG2000X Function/Arbitrary Waveform Generator

MAE106 Laboratory Exercises Lab # 1 - Laboratory tools

Instrument Usage in Circuits Lab

Replicating Real World Signals with an Arbitrary/Function Generator

SAMPLE: EXPERIMENT 2 Series RLC Circuit / Bode Plot

Analog Arts SL987 SL957 SL937 SL917 Product Specifications [1]

Analog Arts SF900 SF650 SF610 Product Specifications

ARB Series. Advance Signal Generator. Time to Reinvent. Dual Channel 1 GHz Arbitrary Waveform Generator, AFG and DPG all in one. instrument.

Model 61511/61512/61611/61612

RIGOL Data Sheet. DG2000 Series Function/Arbitrary Waveform Generator DG2041A, DG2021A. Product Overview. Main Features.

sin(wt) y(t) Exciter Vibrating armature ENME599 1

DG5000 Series Specifications

Lab #1 Lab Introduction

DG5000 series Waveform Generators

Lab 4: Using the CODEC

Datasheet. SDM3065X Digital Multimeter. Product Overview. Main Feature. Application fields. Main Function

Analog Arts SG985 SG884 SG834 SG814 Product Specifications [1]

USB DrDAQ. USB DrDAQ: Making Data Logging Fun! VERSATILE DATA ACQUISITION. IT and Instrumentation for industry

Real Analog - Circuits 1 Chapter 11: Lab Projects

Analog Arts SF990 SF880 SF830 Product Specifications

Unprecedented wealth of signals for virtually any requirement

ArbStudio Arbitrary Waveform Generators

How to Simply Generate a PSK Modulation

ESE 150 Lab 04: The Discrete Fourier Transform (DFT)

EXPERIMENT NUMBER 2 BASIC OSCILLOSCOPE OPERATIONS

ScopeMeter Test Tool CSV files available for FlukeView software and Microsoft Excel Application Note

ArbExpress AXW100 Waveform Creation and Editing Tool for Tektronix AWG/AFG Version

Agilent 33220A. 20 MHz Waveform Generator. User's Guide. Agilent Technologies

LAB II. INTRODUCTION TO LABVIEW

m+p VibControl Shock Control

Agilent 33210A 10 MHz Function / Arbitrary Waveform Generator. User s Guide

SDS2000X-E Series. Super Phosphor Oscilloscope. DataSheet

AM, DSB-AM, FM, PM, FSK, ASK, PWM, Sweep, Burst. Frequency range: 1 OOmHz-200MHz. Width x Heigth x Depth=261 mm x 105mm x 344mm

Function/Arbitrary Waveform Generator

SDS2000X Series. DataSheet Super Phosphor Oscilloscope

Arbitrary/Function Waveform Generators 4075B Series

Direct waveform transfer from a DS1000Z scope to a DG4000 generator

Analog Arts AG900 AG885 AG875 AG815 Product Specifications

PROGRAMMABLE AC POWER SOURCE MODEL 61509/61508/61507/ 61609/61608/61607 MODEL 61509/61508/61507/61609/61608/61607

Equivalent Dual-Channel Provides Augmented Value for Customers

ECE Lab #4 OpAmp Circuits with Negative Feedback and Positive Feedback

Ultra Power Analyzer. Software RIGOL TECHNOLOGIES, INC.

DATENBLATT. SDG2000X-Serie. HABEN SIE FRAGEN ODER WÜNSCHEN SIE EIN INDIVIDUELLES ANGEBOT? Unser Team berät Sie gerne persönlich.

Transcription:

APPLICATION NOTE Custom waveforms using EasyWave and CSV Templates INTRODUCTION: Arbitrary waveform generators (AWGs) are programmable voltage sources. They can be extremely useful tools when your application requires the output of waveforms that contain complicated features or shapes. Many AWGs come pre-loaded with arbitrary waveforms like cardiac, voice, and a host of trigonometric functions. These built-in waveforms can be useful, but the real power of an AWG is the ability to build custom waveforms. In many cases, AWGs have basic software packages that allow you to create and edit simple waveforms by applying simple mathematics to basic wave shapes like Sine or Square waves. This technique is useful when you are building composite waveforms using basic shapes or if you wish to hand draw a waveform, but what if you want to create or edit a more complicated waveform? Most AWGs can be programmed directly using a remote computer connection, USB or Ethernet connection from the computer to the instrument, and a software package that can communicate to the instrument. Some common programs include.net, Python, and LabVIEW. While this configuration is extremely powerful, it is cumbersome to develop quickly. To send a custom arbitrary waveform you need to build the application and deal with formatting the arbitrary waveform before you can get actually start using the AWG for the intended application. In this application note, we are going to describe a simple method of creating a custom arbitrary waveform by creating a Comma Separated Variable (CSV) template, edit and save the CSV file, and finally how to transfer the CSV file to a SIGLENT SDG2000X series arbitrary waveform generator. The theory can then be applied to any generator that has a similar arbitrary waveform generator software package. 1

Create an EasyWave Template: The SIGLENT SDG series of arbitrary waveform generators work with the EasyWave software package. To begin, download and install the EasyWave package that matches your generator. This can be found on your favorite SIGLENT website (www.siglentamerica.com) Open EasyWave by clicking on the EasyWave desktop icon: Here is the EasyWave user interface 2

Create a new waveform by clicking on Edit > New Enter the waveform name, instrument (if SDG2000X), and waveform parameters in the next window: 3

NOTE: Set the number of samples based on the resolution and the output sample rate that your application requires. A good starting point is to use 10 data points for the shortest feature you wish to create. Keep in mind that more data points will deliver higher resolution in the time domain. This will then determine the overall output sample rate for the waveform. Once you have set the sample rate, you can then determine the number of points required to create your waveform. For example, if the smallest feature of a waveform is a 10us pulse, and you use 10 points to reproduce it, then the sample rate must be set to 1us/point. 10us/10 point= 1us/point If you need 10ms of total waveform length, then the waveform requires 10,000 points: 10ms/(1us/point) = 10,000 points The SDG2000X is the only SIGLENT AWG that has flexible memory depth at this time. Now, the waveform edit window opens and shows a simple DC waveform centered at 0V. 4

Save the file as a CSV by pressing File > Save As > set the file location and name. If you are using an SDG2X, you can also directly open the SDG2X template file that is available with this application note 5

Editing an EasyWave Template: Once you have saved a template as a CSV, you can edit and reuse it any time you need to create a new waveform. Open the template file using a CSV capable spreadsheet program like Microsoft Excel. You can edit the data length, frequency (Hz), amplitude (Volts), offset (Volts), and phase values (degrees) in the file. Note that the data length cannot be easily changed on the front panel of the instrument. You can edit the data manually, or use a program like Mathematica or Matlab to write to the template cells directly. The actual voltage values in column B represent the true output value of the instrument. If the instrument output is set lower than the maximum value in the value list, all output data will be scaled to the instrument setting. After you have built the waveform, save the Excel file as a CSV. Use a specific name to indicate the waveform type and output sample rate or other useful identifier. 6

NOTE: There are some things to keep in mind when creating your waveform: 1. The data format in each field must match the parameter for your instrument requirements. For example, the SDG2X has 16-bit amplitude resolution, but other models have 14-bits. 2 16 = 65,536 counts 2 14 = 16,384 counts For a 16-bit generator with a 20Vp-p waveform amplitude, the minimum voltage step size is given by the following: 20V/65,536 = 3.0518E+4 V For a 14-bit generator with a 20Vp-p waveform amplitude, the minimum voltage step size is given by the following: 20V/16,384 = 1.2207E-3 V 2. Use the exponential or long version of the data as shown below: 3. The data length value (cell B1) must match the total number of points in the column labeled value that starts at column B, row 14. 7

Using an EasyWave CSV File: After editing and saving your waveform, you can recall it into EasyWave and verify the output using an oscilloscope. AWGs are very flexible and easy-to-use, but visual verification is recommended to ensure that the output is correct before you connect the AWG to your circuit. Power on the SDG and connect the USB or Ethernet cable to the controlling remote computer Start Easywave and open the CSV file that you wish to download to the instrument by pressing File > Open as shown below: Verify that the waveform shape matches your expected output. Remember, you can adjust the amplitude and frequency on the AWG if either are not correct. 8

If the waveform is correct, download the wave by selecting Communication > Send Wave > and select USBTMC for USB or enter the IP address for LAN/Ethernet communications to the instrument: Select the channel that you wish to control and press send Verify and, if needed, adjust the output voltage and frequency/sample rate by connecting the AWG to an oscilloscope 9

Here is an example in Excel in which we manually built a function with sweeping amplitude and frequency Haversines. First, the Haversine waveform: Haversine(x) = sine 2 (x/2) 1.2 Haversine {Sin^2(x/2)} 1 0.8 0.6 0.4 0.2 0-40 10 60 110 160 210 260 310 360 You can build a column of data in Excel that represents a single Haversine function. Next, you can create the sweep by adding multipliers to the amplitude and frequency portions of the Haversine function: SweepHaversine2(x) = 2*sine 2 (2x/2) SweepHaversine3(x) = 3*sine 2 (3x/2) SweepHaversine4(x) = 4*sine 2 (4x/2) In this example, we use this technique to build a sweep with increasing amplitude and decreasing frequency, as shown below: 10

Haversine Linear Sweep 18 16 14 12 10 8 6 4 2 0 0 100 200 300 400 500 600 700 Once we have built the column of data, simply open the CSV template, copy-and-paste the column of new data into the CSV template, adjust the template data points to match the new data length, and save the file as a CSV with a new name. Reopen the new CSV using EasyWave and verify that it matches the application: 11

Now, download the file to the instrument. The front panel of the AWG will indicate that the waveform is an ARB and will have a picture representing the new waveform on the front panel: Connect the AWG channel to an oscilloscope and verify that it meets the application requirements. You can adjust the waveform amplitude, frequency, Arb Mode, and other features from the front panel of the AWG if it requires fine tuning. 12

For more information, check the SDG Product Page, or contact your local Siglent office. America SIGLENT Technologies America, Inc 6557 Cochran Rd Solon, Ohio 44139 Tel: 440-398-5800 Toll Free:877-515-5551 Fax: 440-399-1211 info@siglent.com www.siglentamerica.com Headquarters SIGLENT TECHNOLOGIES CO., LTD. Blog No.4 & No.5, Antongda Industrial Zone, 3rd Liuxian Road, Bao an District, Shenzhen, 518101, China. Tel:+ 86 755 3661 5186 Fax:+ 86 755 3359 1582 sales@siglent.com www.siglent.com/ens Europe SIGLENT TECHNOLOGIES EUROPE GmbH Liebigstrasse 2-20, Gebaeude 14, 22113 Hamburg Germany Tel: +49(0)40-819-95946 Fax: +49(0)40-819-95947 info-eu@siglent.com www.siglenteu.com Publish Date:10/5/2016 13