Program Analyzes Multilevel Signals

July 22, 1993
Here's a program for a Fourier analysis of multilevel periodic waveforms having horizontal sections and vertical risers (Fig. 1, a). Data entry to the

Here's a program for a Fourier analysis of multilevel periodic waveforms having horizontal sections and vertical risers (Fig. 1, a).

Data entry to the program, FOURIER.BAS, consists of entering the starting angle, ending angle, and the segment level between these two angles (Fig. 1, b). Data entry ends when a full cycle is covered (ending angle is 360°). Note that it's convenient to normalize the waveform to a peak-to-peak value of 1.0, to aid in comparing harmonics.

The waveform can be expressed as (ignoring the dc component):

Vn (t) = a(n) × cos(2Πnf1t) + b(n) \[time sign\] sin(2\[PI sign\]nf1t)

where f1 is the fundamental frequency. The phase angle of the harmonic can be found from tan-1(b(n)/a(n)).

The program (Fig. 2) calculates:

1. a(n) and b(n).

2. The peak magnitude of the harmonic \[ a(n)2 + b(n)2\]0.5

3. The level in decibels of the harmonic, relative to the level of the fundamental, for levels greater than -99.99 dB. If the level of a certain harmonic is smaller than -99.99 dB, the program skips that harmonic.

In the simple example given, all of the even harmonics are missing. In addition, the 3rd and 9th are down more than 99.99 dB relative to the fundamental.

Sponsored Recommendations

What are the Important Considerations when Assessing Cobot Safety?

April 16, 2024
A review of the requirements of ISO/TS 15066 and how they fit in with ISO 10218-1 and 10218-2 a consideration the complexities of collaboration.

Wire & Cable Cutting Digi-Spool® Service

April 16, 2024
Explore DigiKey’s Digi-Spool® professional cutting service for efficient and precise wire and cable management. Custom-cut to your exact specifications for a variety of cable ...

DigiKey Factory Tomorrow Season 3: Sustainable Manufacturing

April 16, 2024
Industry 4.0 is helping manufacturers develop and integrate technologies such as AI, edge computing and connectivity for the factories of tomorrow. Learn more at DigiKey today...

Connectivity – The Backbone of Sustainable Automation

April 16, 2024
Advanced interfaces for signals, data, and electrical power are essential. They help save resources and costs when networking production equipment.

Comments

To join the conversation, and become an exclusive member of Electronic Design, create an account today!