The Siemens Community Catalyst program was co-created with our community to acknowledge technology leaders who consistently contribute to the Siemens Community. Nominations are accepted on a rolling basis.
Submitted by pvijayanandan on Fri, 02/05/2010 - 14:12
Hi,
i am using DSp F28335 ,how to generate sine wave please give me some flow chart or some source code using c language. i am using CCStudio_v3.3
Submitted by pete on Tue, 02/09/2010 - 20:05.
Hi Vijay, You don't say what you want to do with your sin. Usually you are modulating a PWM our something similar. Anyway, for the the F28335, which supports floating point, you can simply use a Blocks > Signal Producer > sawtooth block, set the gain to '2*pi' and frequency to desired sin freq, and connect it to a Blocks > trancendental > sin block.
Then connect the sin to ePWM or serial write or whatever you want:
If you want to use fixed point, then use Diagrams > Tools > Fixed-point > Ramp32 and connect it to Blocks > Fixed-point > sin
Submitted by xgao7 on Sun, 03/30/2014 - 00:05.
If I use the above block diagram for PWM output. How do I select the carrier frequency of the generated PWM output?
Submitted by xgao7 on Sun, 03/30/2014 - 00:07.
If I try to use the above block diagram to generate a Sine PWM frequency. How do I configure the carrier frequency? (The frequency of the saw tooth being compared?)
Submitted by pete on Sun, 03/30/2014 - 00:36.
Right click the ePWM block and set the Timer Period. See this post
Join us for a community conversation on how High-Performance Computing (HPC) and Simcenter PSIM work together to meet the increasing demands of modern power electronics simulation. During this one-hour technical session, you'll discover how leveraging HPC can speed up simulations, improve scalability, and empower engineers…
Join us for a community conversation on accelerating your motor simulation workflow with Simcenter Simlab. In this beginner-friendly session, we'll introduce the platform's automated model-building capabilities and show how easy it is to set up your first electric motor analysis. You'll see the basic steps of geometry…
Join us for a Community Conversation where we'll discuss practical approaches to analyzing complex electromagnetic models using hybrid solver techniques. This session will provide a general overview of how different computational methods can be combined within a single simulation to address models containing varied…