| Home | DSP | Kalman Filter | Robotics | OpAmps | I2C Bus | Products |
Digital Signal Processing (DSP) can be viewed as the Electrical Engineering Realm where analog meets digital. Often times, desired input signals come in analog form, although many times input signals are in "digital" form (either "on" or "off"). Audio signals, sensor input signals, and position feedback signals are all examples of signals which are often analog in nature. There is a variety of "levels" or "states" that these signals can represent, as opposed to just two states such as "on" or "off."
A DSP system will cultivate these signals using a digital process. The digital process can be implemented in the form of discrete digital components, such as AND and OR gates, in the form of one or more singal-chip microprocessors, or in the form of programmable digital devices such as ASIC's, PAL's, FPGA's, or PLD's. The implementation can consist of any combination of these.
DSP systems allow efficient use of higher mathematical models in developing outputs. These models include differential equations (selective-frequency-pass filters or PID systems), linear algebra (state space systems), or those that are probability-based (Kalman filtering, Weiner filtering, or cross-correlation).
DSP also allows outputs to be generated through the use of conditional-driven logic such as if/else statements or fuzzy logic.
Back to Home
The Z Transform is a basic tool in the realm of DSP. The delay operator "Z" is derived from the Laplace delay model used in the differential equation representation of signals and systems.

If one desires to design in the Laplace domain and transform into the Z domain, solving for S requires manipulation of the natural log. Approximations make use of representing the natural log with various forms of a truncated infinite power series. Two useful results are the "Backward-Difference" and "Bilinear" transformations.

The backward-difference transformation maps lower frequencies from the S-domain to the Z-domain reasonably well, but is not as successful as the bilinear transform for high-pass and band-pass filter mapping from S to Z.

Once a filter response is described by an equation in the Z-domain, an algorithm is easily derived for implementation. A MatLab example of the response of a simple 1st order low-pass filter described by (AZ)/(Z - B) is shown below.
%******************************* % Tim Hawkins, 2000 % % Loops are used in this program & for greater portability to C code % %***Low Pass Averaging Filter*** % % y(n) = y(n-1) + 0.1[x(n) - y(n-1)] % %H(Z) = 0.1Z/(Z - 0.9) % %******************************* clear num = [0.1] den = [1 -0.9] Fs = 10 freqz(num, den, 128, Fs) %*******************************

Page Hits Since 5/03/06: 2747
| Home | DSP | Kalman Filter | Robotics | OpAmps | I2C Bus | Products |