Composite sensor