how to simulate communication channel in control toolbox
8 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
Is there a way to simulate a communication channel in a simulink like the one shown below, using some block like the BSC or the AWGN channel, in order to simulate an error produced directly by the communication channel being used. I need it to be an element that can be easily incorporated, since it is to perform simulation activities in a classroom.
Thanks
2 Commenti
Paul
il 11 Mag 2024
Hi Juan,
Can you be more specific? What precisely do you want to change in that Simulink model? Perhaps you're looking for a different source to replace the Step or Pulse Generator blocks?
Risposte (1)
Swastik Sarkar
il 1 Ago 2024
I recreated the model based on the image you provided in the comments, and I faced the same issue:
I also faced the error while simulating this model, to be specific, the error I faced was:
Error: Unable to determine signal dimensions. There is a loop consisting of 'model/PID Controller/Sum/Sum_PID/Sum' that cannot be resolved because signal dimensions are defined by a cyclic relationship. Specifying the signal dimensions on Inport, Mux, Selector, Demuxes will help resolve signal dimensions in the loop. You can also use the Signal Specifications to define the signal dimensions.
I believe that you are facing the same error. The error you encountered is common when dealing with algebraic loops in Simulink models, particularly when signal dimensions cannot be determined due to cyclic relationships.
One approach to resolve this issue is to remove the algebraic loop and introduce an additional source. This modification allows the simulation to proceed without errors:
If you prefer to keep the algebraic loop, you can resolve the issue by explicitly specifying the signal dimensions using a "Signal Specification" block. In this case, you can set the dimensions to [1 1].
I hope this solution helps.
0 Commenti
Vedere anche
Categorie
Scopri di più su QAM in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!