Data Sheet

This feature is turned off by default, but can be turned on by entering a value of 2 or more into the
“Input hysteresis” setting in the “Input conditioning” box of Tic Control Center. When the hysteresis
value is 2 or more, the Tic essentially takes the “Input after averaging” variable and maps it to the
nearest number that is a multiple of the “Input hysteresis” value. However, it does this mapping with
hysteresis; the result of this process, which is stored in the “Input after hysteresis” variable, only
changes if the input is at least one hysteresis value away from the current result.
For example, suppose your hysteresis value is 100, and your “Input after averaging” starts out at 670.
The initial “Input after hysteresis” value will be 600 (it always rounds down initially; afterward, it always
rounds toward the current “Input after hysteresis” value). The “Input after hysteresis” will change to
500 if the “Input after averaging” drops to a value between 401 and 500, and it will change to 700 if
the “Input after averaging” rises to a value between 700 and 799. If the “Input after averaging” remains
between 501 and 699, the “Input after hysteresis” will not change.
When the input hysteresis feature is disabled, the “Input after hysteresis” variable is just a copy of
“Input after averaging”.
One way to choose a good hysteresis value would be look at the “Input after averaging” variable that
is displayed in the Tic Control Center, see how much it varies when you are not moving the input, and
set the hysteresis value to something larger than that.
Input before scaling
The Tic’s input scaling routine requires a number between 0 and 4095, but the “Input after hysteresis”
variable might be more than that. The “Input after hysteresis” variable is divided by a power of two to
make a variable called “Input before scaling” that is between 0 and 4095.
The “Input before scaling” variable cannot be directly read from the Tic but it can be computed from the
“Input after hysteresis” variable using the units table below. For example, if you are in an analog control
mode with input averaging enabled, you can get the “Input before scaling” by reading the “Input after
hysteresis” variable and dividing by 8. If you are in an analog control mode without input averaging
enabled, you would only divide by 2. If you are in an RC control mode, you would divide by 8.
Input variable units
The table below specifies the units of the input variables defined above. In analog mode, the units
are specified by how many bits the reading has. For example, a 12-bit reading would be a number
between 0 to 4095, where 0 represents 0 V and 4095 represents the Tic’s logic voltage (the voltage
on the 5V pin).
Tic Stepper Motor Controller User’s Guide © 2001–2018 Pololu Corporation
5. Details Page 61 of 150