{'fraction_non_alphanumeric': 0.023575638506876228, 'fraction_numerical': 0.0, 'mean_word_length': 5.213414634146342, 'pattern_counts': {'":': 0, '<': 0, '<?xml version=': 0, '>': 0, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
Optimal Tolerance Allocation Based on Fuzzy Comprehensive Evaluation and Genetic Algorithm

It is very important to know how to allocate tolerances economically for parts in a CAD/CAM system because this directly affects the machining costs of the parts. A new approach based on fuzzy comprehensive evaluation (FCE) and a genetic algorithm (GA) is presented to obtain a rational tolerance allocation for the parts. First, the current methods for tolerance allocation are reviewed in detail. Then, FCE is used to evaluate the machinability of a part; a new optimal model, which can fully exploit DFA (design for assembly) and DFM (design for manufacturing), is established by combining the functional sensitivity factors and machinability factors of parts. A genetic algorithm (GA) is developed and used to optimise the above model. Finally, an actual example is used to verify the feasibility of the above method; the computed result shows that the method can produce tolerance allocations economically and accurately.