square wave duty cycle

Discussion in 'Homework Help' started by suzuki, Oct 3, 2011.

  1. suzuki

    Thread Starter Member

    Aug 10, 2011
    119
    0
    Hi,

    Having some trouble wrapping my mind around this, so I thought i would try to ask here.

    I generated a square wave waveform with the following equation:

    v = (4/∏) * ( sin(2∏ft) + (1/3)sin(6∏ft) + (1/5)sin(10∏ft))

    This gives an approximate square wave with a duty cycle of 50%.

    My question is, how can i alter this equation such that i can control the duty cycle of the output?
     
  2. someonesdad

    Senior Member

    Jul 7, 2009
    1,585
    141
    You can't, at least not easily. See attached.

    Of course, I hope someone proves me wrong, as I've wanted the same thing occasionally. :p
     
    • fs.jpg
      fs.jpg
      File size:
      75.9 KB
      Views:
      20
  3. Adjuster

    Well-Known Member

    Dec 26, 2010
    2,147
    300
    suzuki likes this.
Loading...