Shop OBEX P1 Docs P2 Docs Learn Events
hysteresis — Parallax Forums

hysteresis

ArchiverArchiver Posts: 46,084
edited 2001-06-13 18:17 in General Discussion
Hi Patmat,

Instead of a single point you could use a window

For example

If newvalue > oldvalue + 3 then speedup
If newvalue < oldvalue - 3 then speeddown

This implicates that if newvalue is within +/- 3 from oldvalue, speed is
maintained

Hope this helps

Greetings peter

- original message -

Hysteresis can be our friend, at least in certain control situations.
For example, I may have an adjustment knob (a pot) right on a spot
that causes a system to oscillate between two states (a step
function).
Question: How can you build hysteresis into a stamp program? I'm
reading a pulse width; once the pulse gets wider than X, I go from
one operating speed to another. I want to avoid juddering between the
two states.

patmat


To UNSUBSCRIBE, just send mail to:
basicstamps-unsubscribe@yahoogroups.com
from the same email address that you subscribed with. Text in the Subject
and Body of the message will be ignored.
Sign In or Register to comment.