Control of a speech robot via an optimum neural-network-based internal model with constraints