HPI sensor