By studying the difference in wavelength shifts of the edge core Bragg gratings, both a substantial sensitivity increasement and temperature self-compensation of the accelerometer is realized.