Analysis and Design of Cam-Driven Mechanisms With Nonlinearities