Internal stress simulation of a multilayer structure using measured wafer curvature accurately predicts the central wavelength shifts and spectrum ripple resulting from grinding and temperature change, thereby greatly improving the production yield of 50 GHz filters.