Using electrical or electronic regulation means to control braking