A novel rotation detection method based on the capacitance principle and triboelectric effect