Phase-Coded Waveform
A signal generator with phase-code manipulation.
blockType: PhaseCodedWaveform
Path in the library:
|
Description
Block Phase-Coded Waveform Generates a phase-coded pulse signal with a preset code interval length (chip), pulse repetition rate (PRF), and phase code type. The output signal of the unit is an integer number of pulses or a sequence of samples.
Ports
Entrance
FreqOffset — frequency offset
scalar
The frequency offset, set as a scalar value.
Example: 2e3
Dependencies
To use this port, set the Source of Frequency Offset parameter to Input port.
Data types: Float16, Float32, Float64, Int8, Int16, Int32, Int64, UInt8, UInt16, UInt32, UInt64, Bool
Output
Y — pulse signal
the complex vector
The output signal of the block, specified as a complex vector.
Data types: Float16, Float32, Float64, Int8, Int16, Int32, Int64, UInt8, UInt16, UInt32, UInt64, Bool
PRF — pulse repetition rate
positive scalar
The pulse repetition rate, set as a positive scalar value.
Dependencies
To use this port, set the Output signal format parameter to Pulses, and then select the checkbox for the Enable PRF output option.
Data types: Float16, Float32, Float64, Int8, Int16, Int32, Int64, UInt8, UInt16, UInt32, UInt64, Bool
Coeff — coefficients of the matched pass filter:q[<br>] vector | the matrix
Coefficients of the matched filter, specified as a vector or matrix.
Dependencies
To use this port, select the Enable Matched Filter Coefficients Output checkbox.
Data types: Float16, Float32, Float64, Int8, Int16, Int32, Int64, UInt8, UInt16, UInt32, UInt64, Bool
Parameters
Sample rate (Hz) — pass sampling rate:q[<br>] 1e6 (default) | positive scalar
The sampling frequency of the signal in the form of a positive scalar. The units of measurement are Hz.
Ratio Sample rate (Hz) the Pulse repetition frequency must be an integer.
This restriction is equivalent to requiring that the pulse repetition period (PRI) be an integer multiple of the sampling step. :
Block parameter |
|
Values |
|
By default |
|
Phase code — type of pass phase code:q[<br>] Frank (by default)
The type of code used for phase modulation is specified as one of the following types:
-
Barker -
Frank -
P1 -
P2 -
P3 -
P4 -
Px -
Zadoff-Chu
For an example: P2
Chip width (s) — the duration of the pass chip code interval:q[<br>] 1e−5s (default) | positive scalar
The duration of each code interval of the chip in a phase-coded waveform, specified as a positive scalar. This limitation ensures that the pulse duration is shorter than the pulse repetition period.:
-
Product Chip width (s), Number of chips and Pulse repetition frequency (Hz) must be less than or equal to one. This restriction is equivalent to requiring that the pulse length be less than the pulse repetition interval.
-
Product Sample rate (Hz) and Chip width (s) must be an integer. This limitation ensures that the duration of the chip it was an integer multiple of the sampling step :
Number of chips — number of code slots or number of pass chips:q[<br>] 4 (default) | positive scalar
Number of code intervals in phase-coded waveform, specified as a positive integer. Product of parameters Chip width (s), Number of chips and Pulse repetition frequency (Hz) must be less than or equal to one. This limitation ensures that the duration of the chip it was an integer multiple of the sampling step :
The table shows additional restrictions on the number of code slots (number of chips) for different types of codes.:
| If the parameter is Phase code… | Then the Number of chips parameter should be… |
|---|---|
|
Full square |
|
An even number that is a full square |
|
|
Zadoff-Chu sequence index — sequence index for the Zadoff-Chu pass code type:q[<br>] 1 (default) | a positive integer
The sequence index for the Task code type, specified as a positive integer. The values of the Zadoff-Chu sequence index and Number of chips parameters should be relatively simple.
Dependencies
To use this parameter, set Phase Code to Zadoff-Chu.
Pulse repetition frequency (Hz) — pulse repetition rate
1e4 Hz (default) | positive scalar
Pulse repetition rate (PRF), set as a scalar or string vector. The pulse repetition rate (PRI) is the inverse of the pulse repetition rate (PRF).
The value of Pulse repetition frequency (Hz) must satisfy the following constraints:
-
Product Pulse width (s) and Pulse repetition frequency (Hz) must be less than or equal to one:
This limitation ensures that the pulse duration is shorter than the pulse repetition period. For a phase-coded signal, the pulse duration is equal to the product of the duration of one chip and the number of chips.
Ratio Sample rate (Hz) k Pulse repetition frequency (Hz) should
be an integer:
This restriction is equivalent to requiring that the number of counts in the pulse repetition period be an integer.
Block parameter |
|
Values |
|
By default |
|
Source of Frequency Offset — setting the frequency offset
Property (by default) | Input port
The frequency offset, set as Property or Input port:
-
If the value is set to
Property, the offset is determined by the value of the Frequency Offset parameter. -
If the value is set to
Input port, the offset is determined by the value of the FreqOffset port.
Block parameter |
|
Values |
|
By default |
|
Frequency Offset (Hz) — pass frequency offset:q[<br>] 0 (default) | scalar
The frequency offset specified as a scalar.
Example: 2e3
Dependencies
To use this parameter, set the Source of Frequency Offset parameter to Property.
Block parameter |
|
Values |
|
By default |
|
Output signal format — pass output signal format:q[<br>] Pulses (default) | Samples
The format of the output signal in the form Pulses or Samples:
-
If you set this parameter to
Pulses, then the output of the block consists of several pulses. The number of pulses is the value of the parameter Number of pulses in output. -
If you set this parameter to
Samples, then the output of the block consists of several samples. The number of samples is the value of the Number of samples in output parameter.
Block parameter |
|
Values |
|
By default |
|
Number of samples in output — the number of samples of the output signal
100 (default) | a positive number
The number of samples of the output signal, set as a positive integer.
Example: 1000
Dependencies
To use this parameter, set the Output signal format parameter to Samples.
Data types: Float16, Float32, Float64, Int8, Int16, Int32, Int64, UInt8, UInt16, UInt32, UInt64
Block parameter |
|
Values |
|
By default |
|
Number of pulses in output — the number of pulses of the output signal
1 (default) | a positive number
The number of pulses of the output signal, set as a positive integer.
Dependencies
To use this parameter, set the Output signal format parameter to Pulses.
Data types: Float16, Float32, Float64, Int8, Int16, Int32, Int64, UInt8, UInt16, UInt32, UInt64
Block parameter |
|
Values |
|
By default |
|
Enable PRF Output — enable PRF pass output:q[<br>] disabled (by default) | enabled
Select the checkbox to enable the PRF output port.
Dependencies
To use this parameter, set the Output signal format parameter to Pulses.
Block parameter |
|
Values |
|
By default |
|
Enable Matched Filter Coefficients Output — enable output of matched filter coefficients
disabled (by default) | enabled
Select the checkbox to enable the Coeff output port.
Block parameter |
|
Values |
|
By default |
|