I. Introduction
Examples of microelectromechanical systems include sensors for detecting different kinds of physical or chemical properties [1]. A reduction of the dimensions of the mechanical transducer leads to a new generation of systems called nanoelectromechanical systems (NEMS) [2]– [5] that represent an improvement on sensitivity, spatial resolution, energy efficiency and response time. As an example of NEMS, we present the design of a mass sensor based on a laterally oscillating cantilever with nanometer-scale dimensions, which has both a high sensitivity and a high spatial resolution (down to the range of and 300 nm, respectively). Mass detection is based on monitoring the resonant frequency shift of the cantilever when nanometer-sized particles or molecules are deposited on the cantilever [6], [7].