How to generate a variable frequency AC voltage source on simulink?

49 ビュー (過去 30 日間)
Rosine DJUIDJE
Rosine DJUIDJE 2023 年 1 月 16 日
コメント済み: Rosine DJUIDJE 2023 年 1 月 17 日
I want to simulate an RLC circuit that measures voltage at the output as a function of frequency for a variable frequency changing sinusoidal input voltage.
I used Simulink to create the circuit and it works well for individual values of f.
I want to change the frequency of the input signal over time during a single simulation
But when I try to put a range of values for the frequency, I get the error message:
'Invalid parameter in block '. The 'Frequency' parameter must be a scalar value.
How to solve the problem please?

採用された回答

Dhaniklal
Dhaniklal 2023 年 1 月 17 日
I understand that you want to change the frequency of the input signal over time during a single simulation.
Please follow the link below for an answer to a similar question. Do go through the comments and the provided link in the comments if necessary.
Hope this helps!
Thanks,
Dhaniklal
  1 件のコメント
Rosine DJUIDJE
Rosine DJUIDJE 2023 年 1 月 17 日
Thank you so much for your response.
Indeed, I want to make this type of circuit as shown in the attached image. I dont use simscape, i use simulink.
I don't know how to vary the frequency in this AC voltage source.
please give me some suggestions,
Rosine

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

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeElectrical Sensors についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by