Using RF Blockset with "'Samples per frame' > 1" situation

5 views (last 30 days)
We are trying to compose end-to-end communication channel simulation uslink RF Blockset to have some insight effect RF impairments and combine RF analysis into communication analysis.
Using RF budget analyzer tool, we have our RF circuit's budget analysis on Simulink and using it together with communication blockset blocks.
When running the simulation we get the error message as:
'Samples per frame' > 1 is not supported for non-integer valued ratio of the sample time of input signal to Inport block and 'Step size' specified in Configuration block. Please make this ratio integer valued or set 'Samples per frame' to 1.
Sample time of the input signal of Inport is 100ms and Step Size is 0.5ms which makes the ratio 2000. It is an integer value and it should not cause any errors.
We checked sample time and step size using appropriate blocks on Simulink and the values are correct.
Is there anyway to overcome this error or another method to combine RF circuit simulation with communication channel simulation?

Answers (1)

Maneet Kaur Bagga
Maneet Kaur Bagga on 4 Jan 2024
Hello,
As per my understanding, the error suggests that Simulink expects the ratio of the "Sample Time" of the input signal to the "Step Size" of the Configuration block to be an integer when "Samples per frame" is greater than 1.
According to the documentation the "Sample Time" for the Baseband Signal and the "Step Size" for the RF Blockset receiver Configuration block should have the same value to ensure that the RF Simulation bandwidth matches the sampling rate of the baseband signal.
Please refer to the Documentation specifically the "Baseband Communications Link with Embedded RF Reciever" as a reference for error:
Hope this helps!

Categories

Find more on Circuit Envelope Simulation in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!