Measure modulation error ratio
The comm.MER
(modulation error ratio) object
measures the signal-to-noise ratio (SNR) in digital modulation applications.
You can use MER measurements to determine system performance in communications
applications. For example, determining whether a DVB-T system conforms
to applicable radio transmission standards requires accurate MER measurements.
The block measures all outputs in dB.
To measure modulation error ratio:
Define and set up your MER object. See Construction.
Call step
to measure the modulation error ratio
according to the properties of comm.MER
. The behavior
of step
is specific to each object in the toolbox.
Note
Starting in R2016b, instead of using the step
method
to perform the operation defined by the System object™, you can
call the object with arguments, as if it were a function. For example, y
= step(obj,x)
and y = obj(x)
perform
equivalent operations.
MER = comm.MER
creates a modulation error
ratio (MER) System object, MER
. This object
measures the signal-to-noise ratio (SNR) in digital modulation applications.
MER = comm.MER(
creates
an Name
,Value
)MER
object with each specified property set
to the specified value. You can specify additional name-value pair
arguments in any order as (Name1
,Value1
,...,NameN
,ValueN
).
Example: MER = comm.MER('ReferenceSignalSource','Estimated
from reference constellation')
creates an object, MER
,
that measures the MER of a received signal by using a reference constellation.
|
Reference signal source Reference signal source, specified as either |
|
Reference constellation Reference constellation, specified as a vector. This property
is available when the The default is |
|
Measurement interval source Measurement interval source, specified as one of the following:
|
|
Measurement interval Measurement interval over which the MER is calculated, specified
in samples as a real positive integer. This property is available
when |
|
Averaging dimensions Averaging dimensions, specified as a positive integer or row
vector of positive integers. This property determines the dimensions
over which the averaging is performed. For example, to average across
the rows, set this property to The object supports variable-size inputs over the dimensions
in which the averaging takes place. However, the input size for the
nonaveraged dimensions must remain constant between |
|
Minimum MER measurement output port Minimum MER measurement output port, specified as a logical
scalar. To create an output port for minimum MER measurements, set
this property to |
|
X-percentile MER measurement output port X-percentile MER measurement output port,
specified as a logical scalar. To create an output port for X-percentile
MER measurements, set this property to |
|
X-percentile value X-percentile value above which X%
of the MER measurements fall, specified as a real scalar from |
|
Symbol count output port Symbol count output port, specified as a logical scalar. To
output the number of accumulated symbols used to calculate the X-percentile
MER measurements, set this property to |
reset | Reset states of MER measurement object |
step | Measure modulation error ratio |
Common to All System Objects | |
---|---|
release | Allow System object property value changes |
MER is a measure of the SNR in a modulated signal calculated in dB. The MER over N symbols is
The MER for the kth symbol is
The minimum MER represents the minimum MER value in a burst, or
where:
ek =
Ik = In-phase measurement of the kth symbol in the burst
Qk = Quadrature phase measurement of the kth symbol in the burst
Ik and Qk represent ideal (reference) values. and represent measured (received) symbols.
The block computes the X-percentile MER by creating a histogram of all the incoming MERk values. The output provides the MER value above which X% of the MER values fall.