I am looking for a magnetic encoder to read rotation of dc motor (10000rpm-20000rpm). I have found AS5600 magnetic encoder. It is easy to apply the system, but I am not sure to AS5600 can read high rpm. Because I couldn't find any thing about max rpm in AS5600 specification. From here
Does anyone know max rpm of AS5600 or is there a calculation method of this?
The AS5600 is an absolute angle encoder. I don't think it is suitable for measuring RPM at high speeds. You might be better served with a basic Hall-effect switch acting as a rev counter.
Agree that hall effect is going to be more appropriate, but out of curiosity:
20 000 rpm is 334 revs per second. Period = 1 / Frequency so 1 rev will take place every ~3 ms. In that 3ms, you would probably want atleast 4 samples to detect rollover, or a revolution. So 3ms / 4 = sample every 750 us.
according to data sheet sampling rate is 150 us, so it might be fine as long as your mcu can sample fast enough and i haven't overlooked anything!