Let $\mathbb H$ be a Hilbert space, and let $\mathcal B(\mathbb H)$ be the space of bounded operators on $\mathbb H$, equipped with the operator-norm topology. Let $\mathbb R\ni t\mapsto A(t)\in \mathcal B(\mathbb H)$ be a continuous mapping such that for all $t$, $A(t)$ is self-adjoint. Let $\mathcal{U}$ be the unique solution of the ODE $$ \dot{\mathcal{U}}(t)+iA(t) \mathcal U(t)=0, \quad \mathcal U(0)=I. \tag{1}$$ Then it is easy to prove that $$\forall t\in \mathbb R, \quad \mathcal U(t)^*\hskip1pt\mathcal U(t)=I, \tag{2}$$ and that for all $t\in \mathbb R$, the operator $\mathcal U(t)\mathcal U(t)^*$ is the orthogonal projection on $K(t)=\operatorname{range}{\mathcal U(t)}$, which is a closed subspace of $\mathbb H$.
Question. Is there a simple sufficient condition ensuring that for all $t\in \mathbb R$, $\mathcal U(t)$ is actually unitary, i.e. such that $K(t)=\mathbb H$ for all $t$?