フィルターのクリア

Sum of two signal which have differents data rate

2 ビュー (過去 30 日間)
Giuseppe B
Giuseppe B 2013 年 1 月 16 日
I have two source with different sample times. I have to sum up them in the channel. When I run the simulation the following message appear on the board: "_Warning: Inconsistent sample times. Sample time ([0.0005, 0]) of signal driving input port 2 of 'channels_48_vs_48/Error Rate Calculation' differs from the expected sample time ([0.001, 0]) at this input port._"
How can I properly sum up two signal - frame based - with different sample times?

回答 (4 件)

Ryan G
Ryan G 2013 年 1 月 16 日
編集済み: Ryan G 2013 年 1 月 16 日
A rate transition should work. Sometimes Simulink will implement these automatically, but it is best practice to explicitly implement them anytime the rates change.
You can also implement sample time colors to observe the different rates in your system.

Azzi Abdelmalek
Azzi Abdelmalek 2013 年 1 月 16 日
You can interpolate the two signals

Giuseppe B
Giuseppe B 2013 年 1 月 16 日
the target is to sum up two signal which has different datarates. both of them are translated in frequency using a sin with a certain carrier frequency. The problem is that, if I directly sum up them, the signal with lower sample time is upsampled and so changes its bandwidth and central frequency.
The rate transition block can be used only on sample based signal, while in my case I have frame based signals.
  1 件のコメント
Ryan G
Ryan G 2013 年 1 月 16 日
Consider using a buffer block?

サインインしてコメントする。


Jean-Marie KERLOCH
Jean-Marie KERLOCH 2013 年 1 月 21 日
Hello,
I have the same issue. I want to estimate the perturbation caused by a system to another system. I've created the two signals (coding / modulation , ...) but they have two different samples rates determinated by the system parameters.
I guess the addition of the two signals must be made at the sample time of the fastest signal ? In that case, the only solution is to interpolate the signals ?
And what is the impact of an interpolation for the useful signal ?
Thanks in advance

Community Treasure Hunt

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

Start Hunting!

Translated by