Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use interpolated crosspoint for trigger #49

Open
TickTock- opened this issue Oct 16, 2017 · 0 comments
Open

Use interpolated crosspoint for trigger #49

TickTock- opened this issue Oct 16, 2017 · 0 comments

Comments

@TickTock-
Copy link

I noticed that the oscilloscope waveform centers on the first sample above (or below if neg edge selected) the set trigger level. This results in a lot of jitter on the output. This can be cleaned up a lot with a linear interpolation between the two samples straddling the trigger level.
Ex. given two sample points P1=(t1,v1)=(-40ns, -1.5V) and P2=(t2,v2)=(120ns, +0.5V), and trigger set to rising edge and offset (os) to 0V the software currently centers everything on the second sample shifting all points by 120ns. To avoid the jitter, instead all points should be shifted by t1+(t2-t1)*(os-v1)/(v2-v1)=-40+(120--40)/(0--1.5)/(0.5--1.5)=80ns

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant