Beruflich Dokumente
Kultur Dokumente
of the signal is a representation of some other time varying quantity, i.e., analogous to
another time varying signal. It differs from a digital signal in terms of small fluctuations
in the signal which are meaningful.
A digital signal uses discrete (discontinuous) values. By contrast, non-digital (or analog)
systems use a continuous range of values to represent information. Although digital
representations are discrete, the information represented can be either discrete, such as
numbers or letters, or continuous, such as sounds, images, and other measurements of
continuous systems.
Cons of analog
Pros of analog
Robust doesnt (often) break down doesnt crash Dynamic range easier to avoid being
limited by self noise Continuous processing no inherent band-width limits Hard to
modify Available diagnostic instrumentation is good
Pros of digital
Flexibility can do really complicated controllers easy to modify quick to develop easy
to make back-up Can build in lots of logic intelligence for switching states locking logic
adaptive filtering Diagnostics in particular, remote off-line testing and diagnostics
store signals Can do lots of DIO Can do MIMO Error detection Signal generation and
injection Control interfaces are more precise
Co Easy to break backup, backup, backup! Hard to do fast loops limited to about
10kHz UGF with current technology can get really fast ADC/DAC cards, but processing
and integration becomes an issue Interference? Dynamic range best systems limited to
about 20-bit typical systems more like 10-14-bit often need good whitening, both at ADC
and DAC Software interfaces are currently not as user-friendly as real knobs and switches
Software instrumentation not as advanced as analogns
Analog Digital
modulation.
Response to Noise More likely to get affected reducing accuracy Less affected
since noise
response are
analog in nature
Uses Can be used in analog devices only. Best suited for Best suited for
audio and video transmission. Computing and
digital
electronics.
Analog Digital
Bandwidth Analog signal processing can be done in real time and There is no
consumes less bandwidth. guarantee that
digital signal
processing can
be done in real
time and
consumes more
bandwidth to
carry out the
same
information.
1.Example: A discrete time system is described by the following transfer function: Find the
system response to input [ ] [ ] if all initial conditions are zero. syms n z x=(-2).^-n;
x=simplify(ztrans(x)) h=(z+.32)/(z^2+z+.16) y=x.*h yn=iztrans(y)]
2.
Aliasing and noise The input signals coming from the current and voltage sensors should be
amplified and adjusted before ADC. This is called signal conditioning. Basically this stage
includes addition/subtraction, attenuation/amplification and filtering [1]. Nowadays energy
measurement chips have built-in architecture for this stage. In ADC, proper sampling
frequency should be selected to restore the original input waveform. Improper sampling can
give rise to aliasing problems which is an artifact of all sampled systems regardless the
architecture [2]. Aliasing means that the frequency components greater than half sampling
rate shift into the frequency band of desired. This can be reduced by removing the
components of the input signal above the Nyquist frequency which is half of the sampling
frequency. Therefore it is necessary in all energy measurement design to use an anti aliasing
filter to the input signal. This is done by introducing a single pole RC low pass filter.
DSP vs microcontroller DSP's multiply accumulate feature (MAC) that uC does not
have.FFT will take more time in mc.
Microcontrollers are integer math processors with an interrupt sub system.DSPs are
processors optimized for streaming signal processing
DSPs are mostly custom processors with Harvard architecture capable with dual bus to
access/ program /
data ram simultaneously. C/C++ code in code compare are compile it to control DSP.
PLD are empty raw hardware, it programmable logic electric. No bus/ CPU/ RAM using in
built logic blocks/ programmable routing resources. HDL Language to be used to configure
hardware.
The most important one is that it cannot handle dead time easily. When we have a system with dead
time, we must make an approximation with the Pad formulas
DSPs are mostly custom processors with Harvard architecture capable with dual bus to access/
program /
data ram simultaneously. C/C++ code in code compare are compile it to control DSP.
PLD are empty raw hardware, it programmable logic electric. No bus/ CPU/ RAM using in built logic
root locus plot is that it can only give us the so-called absolute stability but not relative stability.
z = [0 0]';
p = roots([1 0.01 1])
k=1;
[b,a] = zp2tf(z,p,k)