PP logo

POUL PETERSEN

NBW v1.00 user's manual.


Contents

Introduction
NBW is an APWIN macro that calculates the noise bandwidth of all amplitude versus frequency data currently in APWIN memory. This is useful during circuit design to verify that the circuit's noise bandwidth is as expected.
The use of NBW assumes that you are familiar with the operation of APWIN.

License
The use of the NBW utility programs is subject to Poul Petersen's Software license agreement.

Terminology and typography
This style is used for filenames and for output examples from the programs.
A "meter" is one of the APWIN meter selections Source 1, Source 2 and Data 1 to Data 6. "Meter" can also refer to the data measured by the meter.
A "trace" is the data resulting from a single sweep with one source variable, for example an amplitude versus frequency sweep from 20 Hz to 20 KHz. A meter can contain several traces.
A nested sweep is data resulting from a sweep with two source variables, for example an amplitude versus frequency sweep from 20 Hz to 20 KHz versus generator amplitude from 1 mV to 1 V. A nested sweep contains several traces, all with the same X-axis values.
Nested sweep data refers to the traces beyond the 1st. trace resulting from a nested sweep.
An appended sweep is data resulting from a number of sweeps with one source variable. An appended sweep contains several traces, that may have different X-axis values. Appended sweep data refers to the traces beyond the 1st. trace.

Installation
Copy the files to a directory on your harddisk. This can be a separate directory, or the directory where you have your other APWIN macros. If you decide to include NBW in your Quick Launch list, note that APWIN will change the Working directory to the directory where NBW is located each time you run it.
To uninstall NBW, just delete its files.

NBW user dialog

NBW user dialog.

The left column shows the meters currently selected, and the right column shows the noise bandwidth for the amplitude versus frequency meters.
If a reading has nested or appended sweeps, only the first trace is calculated.
NBW uses information from both APWIN's data array and its Panel selections, so the measurement in memory must match the Panel selections.


Calculation
NBW calculates the noise bandwidth as:

NBW=(1/Vmax^2)*Sum[n=2..last]((V[n]^2+V[n-1]^2)/2*abs(f[n]-f[n-1]))

where:
NBW:Noise bandwidth.
n:data points (1st. to last) in trace.
Vn:Amplitude at data point n.
fn:Frequency at data point n.
Vmax:Highest amplitude value in data.


Related files
nbw.apb:APWIN macro.
ppaplib.apb:Some functions and routines required by NBW.
pputlib.apb:Some functions and routines required by NBW.
nbw.htm:User manual (this file) in HTML format.
nbw.txt:User manual in ASCII format if you can not read HTML.
swlicens.htm:Software license agreement in HTML format.
swlicens.txt:Software license agreement in ASCII format.

Compatibility
NBW has been tested with APWIN 2.00 and Windows 95 on a 133 MHz Pentium PC with 64 MB RAM in the following modes:
  • System One Demo mode.
  • System Two Demo mode.
  • System Two mode with hardware.
  • System Two Cascade Demo mode.
  • System Two Cascade in System Two Compatibility Demo mode.

Program errors
If you find errors in NBW, please report these to pp@poulpetersen.dk, including a description of the error and preferably a copy of the PSpice output file and the APWIN test where the error was seen.

Trademarks
"Audio Precision", "APWIN", "System One" and "System Two" are Trademarks of Audio Precision.
"Windows" is a Trademark of Microsoft.
V Line
APWIN2PS
PS2APWIN
APDEDIT
NBW
Spacer

Poul Petersen, C/Faya 14, 35120 Arguineguín, Las Palmas, Spain.
Tel/Fax: (+34) 928 152 807, Skype: poul.petersen.gc.
http://www.poulpetersen.dk, E-mail: pp@poulpetersen.dk
Copyright © Poul Petersen 1998 - 2015. Valid HTML 4.0!