The invention provides a charger fault diagnosis method based on a
knowledge graph, which realizes efficient and self-adaptive fault diagnosis and maintenance through multi-
technology fusion, constructs a structured
knowledge base, integrates charger parts, fault
modes and detection methods, stores entities and causal relationships and detection association by adopting a
graph database, extracts information through a BERT model, and realizes fault diagnosis and maintenance based on the
knowledge graph. Marking causal strength and dynamically adjusting the causal strength, converting spoken description of a user into structured data, matching a fault path in a
knowledge graph, dynamically adjusting a weight, analyzing
time sequence data, matching a
time sequence mode in the knowledge graph in combination with
dynamic time warping, generating a candidate path, optimizing a diagnosis path weight, and designing a multi-target reward function; a visual report is generated, the
fault probability in the future seven days is predicted, maintenance suggestions are generated in combination with risk levels, knowledge maps and models are continuously optimized through
user feedback, diagnosis accuracy and maintenance efficiency are improved, and manual intervention requirements are reduced.