This paper illustrates a method of designing a sliding mode linear functional observer for a system with unknown inputs. The existence conditions for the observer are presented. A structure and design algorithm for the sliding mode observer is proposed. The proposed algorithm is then applied for sensorless control of Permanent Magnet Synchronous Machines. © 2012 The Franklin Institute. Published by Elsevier Ltd. All rights reserved.