Toward Building A Social Robot With An Emotion-Based Internal Control