Thanks, Andy.
I¡®m after it.
Probably my formula is producing this wrong input.
And what my confusion about the file syntax is concerned, I¡®m on track again . I was totally besides the rails :)
It¡®s indeed pointwise drawing the curve.
I was drawing one pulsetrain per line:
tr/tf=trise/tfall
Starting time 0V
time+tr high 5V
time+tr+ton 5V
time+tr+ton+tf 0V
Still gotta find the error in the generator.
¡ª
Christoph?
toggle quoted message
Show quoted text
Am 25.04.2025 um 13:34 schrieb Andy I via groups.io <AI.egrps+io@...>:
?
Christoph,
?
In the first of the two files you uploaded (kuku_pwm_pulses.txt.zip), you have some data points that are not sequential.? The very first line is this:
0.000us 0 +0.010us 5 +0.000us 5 +0.010us 0?
which has a point at 0.000 us, then one at 0.010 us, then another at 0.010 us, and one at 0.020 us.? The second and third points are a problem because they are both at the same moment in time, not incrementally increasing.? Fortunately they both have the same voltage or current value (5 V or 5 Amps), but it is fundamentally in error for duplicating a time point.
?
That might be the cause of an error.? Hard to say for sure.
?
But later in the file, I see lines such as these:
8398.438us 0 +0.010us 5 +-1.598us 5 +0.010us 0?
8463.542us 0 +0.010us 5 +-3.195us 5 +0.010us 0?
and those are surely wrong.? ?The time increments are negative, coming before the previous time points.? Those need to be fixed.? (They are also confusing to read, so there is that too.)
?
Andy
?
?