Design of a minimal-order observer for singular systems