Troubleshooting Simulink: How to Create a Sine Wave with AC Voltage Source

  • Thread starter Thread starter jean28
  • Start date Start date
Join the discussion
Registration is free. Ask a follow-up in this thread, or start your own.
4 replies · 3K views
jean28
Messages
83
Reaction score
0
Engineering news on Phys.org
Sorry no experience with Simulink - but what is the Voltage Source Freq and what is the Sample rate of the Sensor?
 
Windadct said:
Sorry no experience with Simulink - but what is the Voltage Source Freq and what is the Sample rate of the Sensor?

60 Hz :mad:
 
OK that is the source - but what is the sample frequency - or Minimum timestep in the simulation ( sensor)
 


Hi there,

Thank you for reaching out with your question about Simulink. It sounds like you are having trouble creating a sine wave with an AC voltage source in your simulation. There are a few things that could be causing this issue.

Firstly, it is important to check that your AC voltage source is set to generate a sine wave. This can usually be adjusted in the source block's settings. It is also important to make sure that the frequency and amplitude of the sine wave are set correctly.

Another potential issue could be the time step of your simulation. If the time step is too large, it can cause the graph to appear jagged and not smooth like a sine wave. You can adjust the time step in the simulation settings.

It is also possible that there may be errors in your circuit model that are affecting the output. I would recommend double checking all of your connections and component values to make sure they are correct.

If you are still having trouble after checking these things, it may be helpful to consult the Simulink documentation or reach out to a Simulink expert for further assistance. I hope this helps and good luck with your simulation!