The paper presents a novel algorithm for automatic modulation classification of communication signals using fuzzy clustering and hierarchical clustering, focusing on the constellation diagram of received signals. Simulations demonstrate the method's effectiveness in recognizing modulation types with high accuracy, even in noisy conditions, and it is applicable to various digital modulations. This approach not only identifies modulation levels but also calculates the decision boundaries crucial for bit detection.