The invention relates to the technical field of electrical
schematic diagram generation, and discloses an electrical
schematic diagram automatic generation method based on an ICD
library, and the method comprises the following steps: S1, collecting parameter information of various electrical elements, including a
resistor, a
capacitor, a
relay and a connector; s2, establishing a symbol
library: acquiring an electrical symbol, a connection symbol and a topological symbol, and defining shapes, sizes and connection points of the symbols; s3,
interface standard collection: collecting standardized interface information which covers interface specifications of different
voltage grades,
signal types and communication protocols; and S4, data arrangement and storage: carrying out classification arrangement on the collected data, carrying out
standardization processing by using a uniform format, storing the data in an ICD
library, and supporting real-
time data updating. Through the support of various electrical standards and specifications, the wide applicability and compatibility of the
system are enhanced, and a
dynamic data updating mechanism ensures that data in the ICD library are always kept in a latest state, so that the adaptability of the
system is improved.