Diagnosis in Linear and Nonlinear Mixed-Signal Systems : a Parameter Identification Based Technique