as | amplitude of sine signal |
fs | frequency of sine signal |
at | amplitude of triangular signal |
ft | frequency of triangular signal |
vU | upper output value |
vL | lower output value |
Output is generated each time the two signals (sine/triangular) cross each other. If the sine signal is bigger than the triangular signal, the output takes a value of vU, and vL otherwise. |
Parameter setting: |
fs=1 a=1 at=1 ft=16 vU=1 vL=-1 |