Compensation processes in Cd-based compounds