Autonomous navigation of a mobile robot in dynamic environments presents a significant challenge in the field of robotics. The primary objective for mobile robot navigation is to ensure both smoothness and safety of movement. A path planning is applied to generate a trajectory that allows the robot to move smoothly while avoiding collisions with both stationary and moving obstacles. This study aims to introduce an Adaptive Neuro-Fuzzy Inference System (ANFIS)-based control strategy for a mobile robot navigating in dynamic environments, with a significant focus on ensuring collision-free path planning. The developed control strategy incorporates four ANFIS controllers, each regulating the robot's responsive behaviors. The experimental scene includes a mobile robot moving in an environment with static and dynamic obstacles without colliding with the obstacles. The experimental tests confirm the model's capability to facilitate collision-free motion, employing a path planning algorithm for determining the shortest route to the target destination. Simulations are conducted to show the effectiveness of the proposed algorithm, highlighting the mobile robot's efficiency in navigating without collisions while avoiding both stationary and moving obstacles using the integration of ultrasonic sensors.