Yes sir thanks for the reply ,
How find the T1 , in practically i tried it to catch out the values by using Pspice as follows
It too much hard to findout mannually how to geneerate it with code or any other techniques ?
For example
To compare the 50 Hz sine wave and the 20 kHz triangular wave over a duration of 10 milliseconds with a
sample interval of 100 microseconds (0.1 ms),
the steps are as follows
sinewave = .8sin(2pi*50*t)
triangular wave = 20khz -1v to 1v
Compare the values of the sine wave and triangular wave for each sample.
If the sine wave is greater than the triangular wave during the 100 microseconds of
each sample, store the duration for which the sine wave stays greater.
The result will be an array of 200 samples (since 10 ms/100 µs = 200).
For each sample (every 100 µs), check how long the sine wave remains greater
than the triangular wave during that interval.
The duration for which the sine wave is greater than the triangular wave (out of 100 µs) will be stored.
,
.
I know its hard to understand what i am saying Sorry for my bad english ,
Any way, i am lookking to generate a LUT in a simple way with more than 500 samples (mannualy it is hard )
can i generete the LUT by using excel ?