The deep learning architecture YOLO (You Only Look Once) has demonstrated its superior visual detection performance in various computer vision tasks and has been widely applied in the field of automatic surface defect detection. In this paper, we propose a lightweight YOLOv8-based method for the quality inspection of car body welding spots. We developed a TA-YOLOv8 network structure which has an improved Task-Aligned (TA) head detection, designed to handle a small sample size, imbalanced positive and negative samples, and high-noise characteristics of Body-in-White welding spot data. By learning with fewer parameters, the model achieves more efficient and accurate classification. Additionally, our algorithm framework can perform anomaly segmentation and classification on our open-world raw datasets obtained from actual production environments. The experimental results show that the lightweight module improves the processing speed by an average of 2.8%, with increases in detection the mAP@50-95 and recall rate of 1.35% and 0.1226, respectively.
Topology optimization (TO) is a powerful generative design tool for innovative structural design, capable of optimizing material distribution to generate structures with superior performance. However, current topology optimization algorithms mostly target a single objective and are highly dependent on the problem definition parameters, causing two critical issues: limited human controllability and solution diversity. These issues often lead to burdensome design iterations and insufficient design exploration. This paper proposes a multi-solution TO framework to address them. Human designers express their stylistic preferences for structures through sketches which are decomposed into stroke and closed-shape elements to flexibly guide each TO process. Sketch-based constraints are integrated with Fourier mapping-based length-scale control to enhance human controllability. Solution diversity is achieved by perturbing Fourier mapping frequencies and load conditions in the neural implicit TO framework. Adaptive parallel scale adjustment is incorporated to reduce the computational cost for design exploration. Using the structural design of a wheel spoke as a case study, the mechanical performance and diversity of the generated TO solutions as well as the effectiveness of human control are analyzed both qualitatively and quantitatively. The results reveal that the sketch-based constraints and length-scale control have distinct control effects on structural features and have different impacts on the mechanical performance and diversity, thereby enabling fine-grained and flexible human controllability to better balance conflicting objectives.