本篇研究主要是以Code V光學軟體設計一個體積小的鏡頭。我們使用LightTools光學軟體分析鏡頭的雜散光分佈。雜散光會影響光學系統的品質。雜散光分為三種,第一種是光線在有效口徑內造成的雜散光;第二種在有效口徑外造成的雜散光及第三種在鏡筒內機構件所造成的雜散光。我們使用鍍膜及改變機構件等方法來降低雜散光。;We use Code V to design a small optical lens in this study. We analyze the stray light of this lens by LightTools. Stray light will affect the quality of the optical system. Stray light is divided into three types. First is stray light rays resulting in the clear aperture. Second is stray light caused by out of the clear aperture. Third is stray light caused by the mechanical structure. We use the coating and change mechanical structure and other methods to reduce stray light.