Internal sensor