Integration of sine wave using DSPtms320f28069m

Go To Last Post
5 posts / 0 new
Author
Message
#1
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

We want to integrate the sine wave of 1 volt 50Hz which is given through hardware to the ADC of DSPtms320f28069m in VisSim software. Please help us with integrator block in VisSim software. We are unable to integrate the sine wave of 50Hz.

Priyadarshini

Last Edited: Thu. Apr 20, 2017 - 07:53 PM
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Use trapezoid rule on ADC output. Pretty easy at that speed. No DSP lib needed.

 

By the way, PLEASE do not double-post. That will get people very unhappy. It should probably be in the general programming forum as it has nothing to do with where it was posted.

 

Jim

Jim Wagner Oregon Research Electronics, Consulting Div. Tangent, OR, USA http://www.orelectronics.net

Last Edited: Thu. Apr 20, 2017 - 06:50 PM
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Ok,.. Thank you,..
Whether we need to first sample the sine wave,... and use trapezoidal rule for integration.....?

Ok,.. Thank you

Priyadarshini

Last Edited: Thu. Apr 20, 2017 - 06:53 PM
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

How else could you possibly do it? 

 

Moderator: please move to a better forum!

 

Jim

Jim Wagner Oregon Research Electronics, Consulting Div. Tangent, OR, USA http://www.orelectronics.net

Last Edited: Thu. Apr 20, 2017 - 06:54 PM
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Maybe the op should try asking in the TI forums instead.

Jim

Locked

If you want a career with a known path - become an undertaker. Dead people don't sue! - Kartman

Please Read: Code-of-Conduct

Atmel Studio6.2/AS7, DipTrace, Quartus, MPLAB user

Last Edited: Thu. Apr 20, 2017 - 07:53 PM
Topic locked