Daniel Ricciardo says he needs to investigate why he lost control and hit the barrier during qualifying at the Portuguese GP.