Module Topics
Module Topics
Numerical Concepts & IQmath ............................................................................................................... 8-1
Module Topics......................................................................................................................................... 8-2
Numbering System Basics ....................................................................................................................... 8-3
Binary Numbers.................................................................................................................................. 8-3
Two's Complement Numbers ............................................................................................................. 8-3
Sign Extension Mode.......................................................................................................................... 8-5
Binary Multiplication.............................................................................................................................. 8-6
Binary Fractions ..................................................................................................................................... 8-8
Representing Fractions in Binary ....................................................................................................... 8-8
Multiplying Binary Fractions ............................................................................................................. 8-9
Correcting Redundant Sign Bit..........................................................................................................8-10
Fraction Coding.....................................................................................................................................8-11
Fractional vs. Integer Representation....................................................................................................8-12
IQmath ...................................................................................................................................................8-13
Floating-Point Representation ...........................................................................................................8-14
IQ Fractional Representation.............................................................................................................8-15
Traditional “Q” Math Approach........................................................................................................8-17
IQmath Approach ..............................................................................................................................8-19
IQmath Library ......................................................................................................................................8-24
AC Induction Motor Example ................................................................................................................8-26
IQmath Appications and Summary ........................................................................................................8-33
Converting ADC Results into IQ Format...............................................................................................8-35
Lab 8: IQmath FIR Filter.......................................................................................................................8-36
8 - 2 C28x - Numerical Concepts & IQmath