Using RF Blockset with "'Samples per frame' > 1" situation
4 次查看(过去 30 天)
显示 更早的评论
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?
0 个评论
回答(1 个)
Maneet Kaur Bagga
2024-1-4
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!
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Circuit Envelope Simulation 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!