IEEE Solid-States Circuits Magazine - Winter 2022 - 18
The way to do this is to take the FFT of
the phase-ordered sine wave, zero out
dc, the fundamental, and all of the frequency
bins you don't want to see, and
then take the inverse FFT (IFFT) to get
back to the time domain. (See " Manipulating
Harmonics " for more details.)
Since the harmonics are in a separate
plot, you can see how they might be
affecting the shape of your waveform.
An even better idea is to amplify
2,000
1,000
-1,000
-2,000
1,024
2,048
3,072
Phase-Ordered Sequence
FIGURE 3: The phase-ordered sequence for the data of Figure 1. Now you can see what's wrong!
4,096
the harmonics mathematically by
scaling the data for the second, third,
fourth, and so on but leaving the
fundamental as it is. Now when you
return to the time domain with the
IFFT, the effect of the distortion on
waveform shape is exaggerated and
should be more obvious.
A real-life application of this method
IT'S JUST A JUMP TO THE LEFT
The phase-ordering process shown in Figure 2 is ridiculously easy to do if your data record
meets the criteria for an unwindowed FFT listed in the text. First, recognize that the phase increments
from one sample to the next in the original data are
Dir#=2input fundamental frequency/sampling frequency
or
Dir#=
2numberofinput cycles in therecord/
number of samplesinthe record
So, we can calculate the phase of each sample relative to the start of the record. (The FFT
criteria guarantee that each of the samples will have a unique phase, and that they will evenly
cover the unit circle.)
Sample1phase =
Sample2phase
= T (modulo2 )ir
Sample3phase2 (modulo2 )
= # Tir
Sample 43# (modulo 2)
phase = Tir
... ands noo .
The modulo 2r operation is critical to rearranging the data. Think of it as wrapping the points
around the unit circle.
Finally, you use these phase numbers to sort the sample data. Or just plot the sample data versus
the phase numbers. Voila! Math savants in the audience will recognize that you don't need the 2 .r
The calculation could be done in cycles rather than radians, in which case, you'd use modulo 1.
can be seen in Figure 4. This figure
was supposed to show an example of
slew-rate limiting created by driving
a capacitor load with a weak source
follower. Asymmetrical drive, right?
But when the harmonics were exaggerated
(by a factor of 100× in this
case), I kept getting the waveform of
Figure 4, which certainly does not look
like a slew-rate problem. What's wrong?
It looks like backgate modulation, but
that can't be because the backgate
is connected to the source. Or so I
thought. An hour later... I discovered
that the backgate was floating! A tiny
schematic error had deceived me, but
the exaggerated harmonics revealed
the truth.
You may not be fascinated by my
heart-pounding tale of debugging a
simulation, but consider this: What
other technique could detect this
error? Subtracting the input from the
IEEE Solid-States Circuits Magazine - Winter 2022
Table of Contents for the Digital Edition of IEEE Solid-States Circuits Magazine - Winter 2022
Contents
IEEE Solid-States Circuits Magazine - Winter 2022 - Cover1
IEEE Solid-States Circuits Magazine - Winter 2022 - Cover2
IEEE Solid-States Circuits Magazine - Winter 2022 - Contents
IEEE Solid-States Circuits Magazine - Winter 2022 - 2
IEEE Solid-States Circuits Magazine - Winter 2022 - 3
IEEE Solid-States Circuits Magazine - Winter 2022 - 4
IEEE Solid-States Circuits Magazine - Winter 2022 - 5
IEEE Solid-States Circuits Magazine - Winter 2022 - 6
IEEE Solid-States Circuits Magazine - Winter 2022 - 7
IEEE Solid-States Circuits Magazine - Winter 2022 - 8
IEEE Solid-States Circuits Magazine - Winter 2022 - 9
IEEE Solid-States Circuits Magazine - Winter 2022 - 10
IEEE Solid-States Circuits Magazine - Winter 2022 - 11
IEEE Solid-States Circuits Magazine - Winter 2022 - 12
IEEE Solid-States Circuits Magazine - Winter 2022 - 13
IEEE Solid-States Circuits Magazine - Winter 2022 - 14
IEEE Solid-States Circuits Magazine - Winter 2022 - 15
IEEE Solid-States Circuits Magazine - Winter 2022 - 16
IEEE Solid-States Circuits Magazine - Winter 2022 - 17
IEEE Solid-States Circuits Magazine - Winter 2022 - 18
IEEE Solid-States Circuits Magazine - Winter 2022 - 19
IEEE Solid-States Circuits Magazine - Winter 2022 - 20
IEEE Solid-States Circuits Magazine - Winter 2022 - 21
IEEE Solid-States Circuits Magazine - Winter 2022 - 22
IEEE Solid-States Circuits Magazine - Winter 2022 - 23
IEEE Solid-States Circuits Magazine - Winter 2022 - 24
IEEE Solid-States Circuits Magazine - Winter 2022 - 25
IEEE Solid-States Circuits Magazine - Winter 2022 - 26
IEEE Solid-States Circuits Magazine - Winter 2022 - 27
IEEE Solid-States Circuits Magazine - Winter 2022 - 28
IEEE Solid-States Circuits Magazine - Winter 2022 - 29
IEEE Solid-States Circuits Magazine - Winter 2022 - 30
IEEE Solid-States Circuits Magazine - Winter 2022 - 31
IEEE Solid-States Circuits Magazine - Winter 2022 - 32
IEEE Solid-States Circuits Magazine - Winter 2022 - 33
IEEE Solid-States Circuits Magazine - Winter 2022 - 34
IEEE Solid-States Circuits Magazine - Winter 2022 - 35
IEEE Solid-States Circuits Magazine - Winter 2022 - 36
IEEE Solid-States Circuits Magazine - Winter 2022 - 37
IEEE Solid-States Circuits Magazine - Winter 2022 - 38
IEEE Solid-States Circuits Magazine - Winter 2022 - 39
IEEE Solid-States Circuits Magazine - Winter 2022 - 40
IEEE Solid-States Circuits Magazine - Winter 2022 - 41
IEEE Solid-States Circuits Magazine - Winter 2022 - 42
IEEE Solid-States Circuits Magazine - Winter 2022 - 43
IEEE Solid-States Circuits Magazine - Winter 2022 - 44
IEEE Solid-States Circuits Magazine - Winter 2022 - 45
IEEE Solid-States Circuits Magazine - Winter 2022 - 46
IEEE Solid-States Circuits Magazine - Winter 2022 - 47
IEEE Solid-States Circuits Magazine - Winter 2022 - 48
IEEE Solid-States Circuits Magazine - Winter 2022 - 49
IEEE Solid-States Circuits Magazine - Winter 2022 - 50
IEEE Solid-States Circuits Magazine - Winter 2022 - 51
IEEE Solid-States Circuits Magazine - Winter 2022 - 52
IEEE Solid-States Circuits Magazine - Winter 2022 - 53
IEEE Solid-States Circuits Magazine - Winter 2022 - 54
IEEE Solid-States Circuits Magazine - Winter 2022 - 55
IEEE Solid-States Circuits Magazine - Winter 2022 - 56
IEEE Solid-States Circuits Magazine - Winter 2022 - 57
IEEE Solid-States Circuits Magazine - Winter 2022 - 58
IEEE Solid-States Circuits Magazine - Winter 2022 - 59
IEEE Solid-States Circuits Magazine - Winter 2022 - 60
IEEE Solid-States Circuits Magazine - Winter 2022 - 61
IEEE Solid-States Circuits Magazine - Winter 2022 - 62
IEEE Solid-States Circuits Magazine - Winter 2022 - 63
IEEE Solid-States Circuits Magazine - Winter 2022 - 64
IEEE Solid-States Circuits Magazine - Winter 2022 - 65
IEEE Solid-States Circuits Magazine - Winter 2022 - 66
IEEE Solid-States Circuits Magazine - Winter 2022 - 67
IEEE Solid-States Circuits Magazine - Winter 2022 - 68
IEEE Solid-States Circuits Magazine - Winter 2022 - 69
IEEE Solid-States Circuits Magazine - Winter 2022 - 70
IEEE Solid-States Circuits Magazine - Winter 2022 - 71
IEEE Solid-States Circuits Magazine - Winter 2022 - 72
IEEE Solid-States Circuits Magazine - Winter 2022 - 73
IEEE Solid-States Circuits Magazine - Winter 2022 - 74
IEEE Solid-States Circuits Magazine - Winter 2022 - 75
IEEE Solid-States Circuits Magazine - Winter 2022 - 76
IEEE Solid-States Circuits Magazine - Winter 2022 - 77
IEEE Solid-States Circuits Magazine - Winter 2022 - 78
IEEE Solid-States Circuits Magazine - Winter 2022 - 79
IEEE Solid-States Circuits Magazine - Winter 2022 - 80
IEEE Solid-States Circuits Magazine - Winter 2022 - 81
IEEE Solid-States Circuits Magazine - Winter 2022 - 82
IEEE Solid-States Circuits Magazine - Winter 2022 - 83
IEEE Solid-States Circuits Magazine - Winter 2022 - 84
IEEE Solid-States Circuits Magazine - Winter 2022 - 85
IEEE Solid-States Circuits Magazine - Winter 2022 - 86
IEEE Solid-States Circuits Magazine - Winter 2022 - 87
IEEE Solid-States Circuits Magazine - Winter 2022 - 88
IEEE Solid-States Circuits Magazine - Winter 2022 - 89
IEEE Solid-States Circuits Magazine - Winter 2022 - 90
IEEE Solid-States Circuits Magazine - Winter 2022 - 91
IEEE Solid-States Circuits Magazine - Winter 2022 - 92
IEEE Solid-States Circuits Magazine - Winter 2022 - 93
IEEE Solid-States Circuits Magazine - Winter 2022 - 94
IEEE Solid-States Circuits Magazine - Winter 2022 - 95
IEEE Solid-States Circuits Magazine - Winter 2022 - 96
IEEE Solid-States Circuits Magazine - Winter 2022 - 97
IEEE Solid-States Circuits Magazine - Winter 2022 - 98
IEEE Solid-States Circuits Magazine - Winter 2022 - 99
IEEE Solid-States Circuits Magazine - Winter 2022 - 100
IEEE Solid-States Circuits Magazine - Winter 2022 - 101
IEEE Solid-States Circuits Magazine - Winter 2022 - 102
IEEE Solid-States Circuits Magazine - Winter 2022 - 103
IEEE Solid-States Circuits Magazine - Winter 2022 - 104
IEEE Solid-States Circuits Magazine - Winter 2022 - 105
IEEE Solid-States Circuits Magazine - Winter 2022 - 106
IEEE Solid-States Circuits Magazine - Winter 2022 - 107
IEEE Solid-States Circuits Magazine - Winter 2022 - 108
IEEE Solid-States Circuits Magazine - Winter 2022 - 109
IEEE Solid-States Circuits Magazine - Winter 2022 - 110
IEEE Solid-States Circuits Magazine - Winter 2022 - 111
IEEE Solid-States Circuits Magazine - Winter 2022 - 112
IEEE Solid-States Circuits Magazine - Winter 2022 - Cover3
IEEE Solid-States Circuits Magazine - Winter 2022 - Cover4
https://www.nxtbook.com/nxtbooks/ieee/mssc_fall2023
https://www.nxtbook.com/nxtbooks/ieee/mssc_summer2023
https://www.nxtbook.com/nxtbooks/ieee/mssc_spring2023
https://www.nxtbook.com/nxtbooks/ieee/mssc_winter2023
https://www.nxtbook.com/nxtbooks/ieee/mssc_fall2022
https://www.nxtbook.com/nxtbooks/ieee/mssc_summer2022
https://www.nxtbook.com/nxtbooks/ieee/mssc_spring2022
https://www.nxtbook.com/nxtbooks/ieee/mssc_winter2022
https://www.nxtbook.com/nxtbooks/ieee/mssc_fall2021
https://www.nxtbook.com/nxtbooks/ieee/mssc_summer2021
https://www.nxtbook.com/nxtbooks/ieee/mssc_spring2021
https://www.nxtbook.com/nxtbooks/ieee/mssc_winter2021
https://www.nxtbook.com/nxtbooks/ieee/mssc_fall2020
https://www.nxtbook.com/nxtbooks/ieee/mssc_summer2020
https://www.nxtbook.com/nxtbooks/ieee/mssc_spring2020
https://www.nxtbook.com/nxtbooks/ieee/mssc_winter2020
https://www.nxtbook.com/nxtbooks/ieee/mssc_fall2019
https://www.nxtbook.com/nxtbooks/ieee/mssc_summer2019
https://www.nxtbook.com/nxtbooks/ieee/mssc_2019summer
https://www.nxtbook.com/nxtbooks/ieee/mssc_2019winter
https://www.nxtbook.com/nxtbooks/ieee/mssc_2018fall
https://www.nxtbook.com/nxtbooks/ieee/mssc_2018summer
https://www.nxtbook.com/nxtbooks/ieee/mssc_2018spring
https://www.nxtbook.com/nxtbooks/ieee/mssc_2018winter
https://www.nxtbook.com/nxtbooks/ieee/solidstatecircuits_winter2017
https://www.nxtbook.com/nxtbooks/ieee/solidstatecircuits_fall2017
https://www.nxtbook.com/nxtbooks/ieee/solidstatecircuits_summer2017
https://www.nxtbook.com/nxtbooks/ieee/solidstatecircuits_spring2017
https://www.nxtbook.com/nxtbooks/ieee/solidstatecircuits_winter2016
https://www.nxtbook.com/nxtbooks/ieee/solidstatecircuits_fall2016
https://www.nxtbook.com/nxtbooks/ieee/solidstatecircuits_summer2016
https://www.nxtbook.com/nxtbooks/ieee/solidstatecircuits_spring2016
https://www.nxtbook.com/nxtbooks/ieee/solidstatecircuits_winter2015
https://www.nxtbook.com/nxtbooks/ieee/solidstatecircuits_fall2015
https://www.nxtbook.com/nxtbooks/ieee/solidstatecircuits_summer2015
https://www.nxtbook.com/nxtbooks/ieee/solidstatecircuits_spring2015
https://www.nxtbook.com/nxtbooks/ieee/solidstatecircuits_winter2014
https://www.nxtbook.com/nxtbooks/ieee/solidstatecircuits_fall2014
https://www.nxtbook.com/nxtbooks/ieee/solidstatecircuits_summer2014
https://www.nxtbook.com/nxtbooks/ieee/solidstatecircuits_spring2014
https://www.nxtbookmedia.com