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

  • Thread starter Thread starter jean28
  • Start date Start date
Click For Summary
To create a sine wave with an AC voltage source in Simulink, ensure the AC voltage source is configured correctly to generate a sine wave, with appropriate frequency and amplitude settings. The simulation's time step must be small enough to produce a smooth graph; a large time step can result in a jagged output. Additionally, verify all circuit connections and component values to rule out errors affecting the output. If issues persist, consulting Simulink documentation or seeking expert advice may be beneficial. Proper configuration and attention to detail are key for successful simulation results.
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!
 
Thread 'I thought it was only Amazon that sold unsafe junk'
I grabbed an under cabinet LED light today at a big box store. Nothing special. 18 inches in length and made to plug several lights together. Here is a pic of the power cord: The drawing on the box led me to believe that it would accept a standard IEC cord which surprised me. But it's a variation of it. I didn't try it, but I would assume you could plug a standard IEC cord into this and have a double male cord AKA suicide cord. And to boot, it's likely going to reverse the hot and...

Similar threads

  • · Replies 4 ·
Replies
4
Views
3K
  • · Replies 5 ·
Replies
5
Views
35K
  • · Replies 18 ·
Replies
18
Views
36K
  • · Replies 8 ·
Replies
8
Views
16K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 4 ·
Replies
4
Views
9K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 2 ·
Replies
2
Views
3K