Optics Lens

# The mouse working principle of the coding switch

by：HENGXIANG
2020-11-05

We often use the mouse code type switch is incremental rotary encoder, incremental rotary encoder through internal two photosensitive accept tube into the sequence and phase relationship of Angle encoder, get the Angle encoder Angle displacement increase (
Positive direction)
Or decrease (
Negative direction)
。
After the joint digital circuit especially microcontroller, incremental rotary encoder in Angle and angular velocity measurement is more absolute rotary encoder with the advantages of cheap and simple.
Incremental rotary encoder, the inner workings of A, B two points corresponding to the two photosensitive accept tube, A, B, distance between two points is S2, Angle encoder grating spacing S0 and S1, respectively.
When Angle encoder with a uniform rotation speed, then shows the output waveform in the figure S0: S1, S2 ratio and the actual figure of S0: S1, S2 ratio is the same, the same Angle encoder with other rotates at a constant speed, the speed of the output waveform figure of S0: S1, S2 ratio and the actual figure of S0: S1, S2 ratio remains the same.
If do variable motion Angle encoder, put it into multiple movement cycle (
In the following definition)
Combination, then each motion cycle of the output waveform in the figure S0: S1, S2 ratio and the actual figure of S0: S1, S2 ratio remains the same.
Through the output waveform figure shows the timing for each movement cycle clockwise motion counterclockwise movement A BA B1 11 10 11 00 00 01 00 1 we put the A, B preserved in the output value, and the next A, B, the output value, you can easily get the movement direction of the Angle encoder.
If grating lattice S0 S1, namely S0 and S1 radian Angle is the same, and S2 equals S0 1/2, then can get the Angle Angle encoder displacements of S0 radian Angle of 1/2, divided by the milli elimination time, get the Angle encoder angular displacement movement.
S S is equal to the half of S0 when S1, a quarter of a movement cycle can get direction and displacement Angle, if S0 is not equal to S1, S2 is not equal to 1/2 of S0, so to one movement cycle can get the direction and displacement Angle.
We often use the mouse coding switch is the principle.
Customers commonly used mouse coding switch recommended EC05 through shaft type incremental encoder EC10 through shaft type incremental encoder

Custom message