Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Paper presentation on Wave Generation
#1

Flow Of Presentation
Look on 4 types of waves
Triangular Waves
Square Waves
Sinusoidal Waves
Ramp Waves
Programs To Generate Given Waveforms
Triangular wave generation:
1.Two for loops
2. First for the rising slope and the other for falling .
3.Initial point for rising slope and end point for the same must be declared as per the requirement.
4. The same is followed for the falling slope
Square wave generation
Initial point is set to the port.
Delay is called to decide the duty cycle.
Duty cycle=Ton /(Ton+Toff).
For square wave, Ton=Toff.
By changing the values of Ton and Toff we can get rectangular waves.
Sinusoidal wave generation:
Formula required for sine wave= 127 + (127*sin(2 n/N)
n= integer multiplier
N= period
2. Using the formula a look up table is prepared which will be having different points of the sine wave.
3. Only one for loop is used.
Ramp wave generation:
Steps involved in generation of ramp signal is similar to the triangular wave generation.
But only one for loop is sufficient
Reply



Forum Jump:


Users browsing this thread:
1 Guest(s)

Powered By MyBB, © 2002-2024 iAndrew & Melroy van den Berg.