0
\$\begingroup\$

I want to make a jitter measurement for the PWM output of this STM32F302R8 Nucelo board. Its datasheet is given here. By jitter I mean the histogram of pulse periods which shows how the periods vary from the mean.

If I'm not wrong, there's no jitter spec in these documents. So, in my case I will generate a pulse train of 1024 pulses, where each pulse period is 655 μs.

If I'm asked to quantify jitter in this case, is there a rule of thumb how many pulses is enough to quantify the jitter? (If I take too many pulses I cannot sample the rising edges fast enough)

\$\endgroup\$
6
  • 1
    \$\begingroup\$ refresh your statistics, is a mathematical question, not engineering. you are measuring something that has some uncertainty. Let's assume your jitter distributes normally with zero mean and std. dev. sigma. These are the parameters you want to obtain (mu and sigma) from actual measurements. You will get different levels of confidence depending on how many samples you take. In other words, there isn't a precise number. from experience, I would say a very minimum of 100 and up to 1000 if you want good accuracy (but that would make sense only if your measurement layout is also accurate) \$\endgroup\$
    – Joan
    Commented Jun 13, 2022 at 8:24
  • \$\begingroup\$ If you know nothing of the statistical properties of the jitter you cannot calculate beforehand how long sequence is needed to estimate the characteristic numbers with a certain confidence. Data communication standards declare the number of the needed pulses and that depends on application. Unfortunately I do not know this subject well enough, but the wanted numbers of pulses are thousands. You must cumulate the distribution of your pulses until you believe it's stabilized - or know the causes of the jitter to make any predictions. \$\endgroup\$
    – user136077
    Commented Jun 13, 2022 at 8:24
  • \$\begingroup\$ My problem is, with the equipment/scopes I use if I record 100 samples or 1000 samples then I cannot catch enough points at rising edges. Do they use special high definition equipment in industry for such measurements? \$\endgroup\$
    – cm64
    Commented Jun 13, 2022 at 8:43
  • \$\begingroup\$ If I remember well, the samples don't need to be "consecutive" ... \$\endgroup\$
    – Antonio51
    Commented Jun 13, 2022 at 8:53
  • \$\begingroup\$ Since the jitter is probably constant in nanoseconds, if you don't have hardware to continuously acquire edges, you could reduce the pulse period so that more edges fit into the same interval. You can also repeat the measurement multiple times, which will help you catch long term drift (e.g. the clock frequency changes as the device warms/cools). \$\endgroup\$ Commented Jun 13, 2022 at 16:11

1 Answer 1

1
\$\begingroup\$

Jitter causes something in your application that only you know. Because you are going to measure the jitter, you already have the said computer. Then you can also build a mockup circuit where the jitter causes the same effect as in your application, but with no safety problems. For ex. make a low pass filter that has the same frequency response as your final application. Then measure the wanted things of the filtered PWM output.

\$\endgroup\$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.