what are the advantages and disadvantages of PWM and SSI。
how should i select?

SSI is more immune to noise. For magnetotrictive sensors, the highest resolution is obtained only with SSI. We always recommend to our customers to use SSI instead of PWM or Start/Stop. The resolution of the PWM and Start/Stop is limited by the counter in the motion controller.