The invention provides a traction converter
control software design method fused with a large
language model, and the method comprises the steps: analyzing a
historical document through a large
language model subjected to the fine adjustment of traction converter
field data, generating a structured demand, and building
MATLAB demand tracing; an initial model is built in Simulink according to requirements, and multi-target iterative optimization is completed through model recommendation parameters; normal, extreme and fault working condition scenes are generated through the large
language model,
MATLAB batch
simulation is driven, and a semantic analysis result is given; codes are automatically generated through an Embedded Coder,
readability and real-time optimization is implemented through a large language model, and a final code is output after PIL
verification; codes are downloaded to a real control board card, a
closed loop is formed in combination with a virtual
traction system built by a semi-physical
simulation platform, a
test case is automatically generated by a large language model,
software and hardware
collaboration data are analyzed, and iteration is carried out until the performance reaches the standard. According to the method, full-process AI driving including requirements, modeling,
simulation, codes and testing is achieved, the
development period is remarkably shortened, and the
software reliability is improved.