creating sine wave with variable frequency

조회 수: 109 (최근 30일)
requesta depache
requesta depache 2019년 4월 19일
답변: Idin Motedayen-Aval 2024년 5월 23일
I used this configuration to create sine wave with variable frequency , i tried changing gain , simulation time , scope's sampling time but ofcourse they all changed wave form but with same frequency
  댓글 수: 1
Rawnak Rahman
Rawnak Rahman 2023년 4월 1일
How can i take this modified sine wave as an input into the physical circuit. Ps-simulink converter doesn't work

댓글을 달려면 로그인하십시오.

채택된 답변

Jim Riggs
Jim Riggs 2019년 4월 19일
편집: Jim Riggs 2019년 4월 19일
The reason that the frequency is constant is that you are driving it with a linear function of time. If you plot the input signal (2*pi*t) you will see that it is a linear ramp. The sine of this is a constant frequency. In order to get a change in frequency, you need to use a highrt power of time. Add an exponent block to the time signal and use an exponent greater than 1. (Use the "Math Function" block, and select "pow" as the function.) (you will also probably want to reduce the gain from 2*pi to somthing much smaller. Try 0.2 to start with)
  댓글 수: 1
requesta depache
requesta depache 2019년 4월 19일
이동: DGM 2023년 4월 1일
thanks , totally realized my mistake

댓글을 달려면 로그인하십시오.

추가 답변 (1개)

Idin Motedayen-Aval
Idin Motedayen-Aval 2024년 5월 23일
You can take a more direct/trivial approach to generate sin(2*pi*f*t) with a variable f (model attached).
The follow-up question about how to attach this to a physical circuit:
Use the Simulink-PS converter block.

카테고리

Help CenterFile Exchange에서 Circuits and Systems에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by