This project presents the development of a collision avoidance active system for cars.There is a large interest in developing avoidance system in the automotive industry since the accidents are of such nature that can be avoided if the system works as desirable e.g., in animal crossing or having the car in front stopping without the driver noticing. A control system is designed to avoid collisions by acting on the steer and brakes of a car. An algorithm is developed to optimize a fuzzy logic controller which actuates on the steer and brakes of the car. The algorithm optimizes the inputs of the car, i.e. steer and brake, to avoid the collision with the object. The optimization of the trajectory implies that the car returns to the original lane and it is the minimum time possible inthe other lane. The object is situated at different distances and the initial speed of the car also varies depending on the situations. The results are obtained by using a car model that is developed in this project in conjunction with the tyre model, [1]. Simulations show that it performs collision avoidance manoeuvres in different conditions. Furthermore, improvements of the present work are suggested that are believed to further enhance the presented algorithm.