Control of nonlinear systems with partial state constraints using a barrier Lyapunov function | Synapse