An electrical simulation and electrical fault diagnosis method

Through drawing modeling, circuit simulation and fault diagnosis technology, computers automatically calculate circuit logical relationships, the problems of fault judgment and processing in complex electrical systems are solved, and fast and accurate fault diagnosis and technical support are achieved.

CN114239443BActive Publication Date: 2025-02-14WUHAN WIND RIVER INFORMATION TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202111528620.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-12-14
Publication Date
2025-02-14
Estimated Expiration
2041-12-14

AI Technical Summary

Technical Problem

It is difficult for the prior art to quickly and accurately judge and deal with circuit failures in a short period of time, especially in complex electrical systems, and it is difficult for manual methods to comprehensively investigate all associated safety hazards and possible causes of failures.

Method used

Through drawing modeling, circuit simulation, vectorized electronic drawings and fault diagnosis steps, the computer automatically calculates the circuit logical relationship and presents the results in real time, and reverse search and deduce possible fault points based on the fault phenomenon input by the user.

Benefits of technology

It realizes rapid and accurate diagnosis of circuit failures, reduces the need for manual reading of drawings and circuit logic, and provides strong technical support for maintenance training and fault handling.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114239443B_ABST
    Figure CN114239443B_ABST
Patent Text Reader

Abstract

The present invention relates to the field of electrical fault diagnosis technology, and in particular to an electrical simulation and electrical fault diagnosis method, comprising the following steps: drawing modeling: standardizing the modeling of electrical principle drawings on a CAD platform; circuit simulation: reading the data exported after the drawing modeling is completed into a circuit simulation engine, and then calculating the circuit logic relationship according to the electrical principle and outputting the result; vectorized electronic drawings: presenting the result calculated by the circuit simulation engine on the circuit diagram in real time; fault diagnosis: reversely searching and deducing possible fault points based on the circuit logic relationship calculated by the simulation engine and other known conditions provided by the user. The present invention can reversely infer the possibility of causing the fault based on the fault phenomenon input by the user; it provides strong technical support for product maintenance training and fault handling, and even eliminates the need to manually read drawings and circuit logic.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of electrical fault diagnosis, and in particular to an electrical simulation and electrical fault diagnosis method. Background Art

[0002] At present, circuit simulation software is more used in the product design stage as a verification tool for manufacturers to verify product designs.

[0003] However, when the end user uses this product, the fault judgment is still mainly manual. The rapid judgment, accurate processing, and digital precision maintenance of circuit faults have always been the goal pursued by maintenance personnel. However, the control circuit is a complex integrated system with a large volume and various systems that are interrelated and influence each other. It is difficult to check all the related explicit or implicit safety hazards that may be caused by a faulty component in a short time by manual methods alone. It is also difficult to list all possible causes of a fault when a fault occurs to guide the troubleshooting work. To this end, we propose an electrical simulation and electrical fault diagnosis method. Summary of the invention

[0004] The present invention proposes an electrical simulation and electrical fault diagnosis method to solve the technical problems existing in the background technology.

[0005] The present invention provides the following technical solution: an electrical simulation and electrical fault diagnosis method, comprising the following steps:

[0006] S1. Drawing modeling: Standardize the electrical schematic drawings on the CAD platform;

[0007] S2, circuit simulation: read the data exported after the drawing modeling is completed into the circuit simulation engine, and then calculate the circuit logic relationship according to the electrical principle and output the result;

[0008] S3, vectorized electronic drawings: the results calculated by the circuit simulation engine are presented in real time on the circuit diagram;

[0009] S4. Fault diagnosis: Based on the circuit logic relationship calculated by the simulation engine and combined with other known conditions provided by the user, reverse search and deduce possible fault points.

[0010] Preferably, during the modeling process in step S1, any electrical component is replaced with a standard component model in the plug-in primitive library and the connection relationship between the components is checked.

[0011] Preferably, the specific process of drawing modeling in step S1 is as follows:

[0012] S11, processing the circuit drawing into only two types of graphic elements, namely, straight lines and blocks, replacing the blocks with component models selected from the plug-in component library, and ensuring the connection between straight lines and straight lines, and between straight lines and blocks;

[0013] S12, executing relevant commands provided in the plug-in to preset the line and block connection relationship;

[0014] S13, exporting the logical relationship data file required by the circuit simulation engine; exporting the graphic element data file required by the electronic drawing.

[0015] Preferably, the specific process of the circuit simulation in step S2 is:

[0016] After the drawing modeling is completed, the exported file is placed in the specified location through the import module provided by the simulation software or manually; after the import is completed, the built-in circuit simulation engine of the simulation software will parse the types, connection relationships, and parameters of all components in the logical relationship data file; then the circuit simulation engine uses the breadth and depth search algorithm to find the circuit path from the high-voltage point to the low-voltage point or the open circuit according to the component connection relationship, and then calculates the status of related components based on the built-in component working principle of the program. After the calculation is completed, the component data with changed status will be sent to the electronic drawing for presentation.

[0017] Preferably, the specific process of vectorizing the electronic drawing in step S3 is as follows:

[0018] After the drawing modeling is completed, the metadata file is exported to generate a stateless electronic drawing in the simulation program. Each line and each block is equipped with a unique ID. According to the ID, the data returned by the simulation calculation engine is mapped to each component on the drawing, and its status and color changes are presented. Select any component on the drawing to operate it. After the calculation engine receives the operation instruction, it will re-initiate the path search and calculation, and finally return the changes to the electronic drawing for presentation.

[0019] Preferably, the specific process of fault diagnosis in step S4 is as follows:

[0020] Randomly select or input the faulty component, selectively check the known normal working components, and then the user performs the operation before the fault occurs on the circuit diagram. During the operation, the simulation calculation engine calculates and temporarily stores the tree data structure object of the power supply relationship in real time, and restores the circuit state before the fault phenomenon occurs; after the restoration is completed, based on the stored power supply relationship data object, the fault diagnosis engine starts from the node position of the fault phenomenon component and recursively searches upward until it reaches the root node or the node of the normal state component, then jumps out or stops. Finally, all components in the derivation process are possible fault points.

[0021] The present invention provides an electrical simulation and electrical fault diagnosis method, in which a computer reads the logical relationship between various electrical circuit components in a drawing according to electrical circuit principles and automatically calculates, and presents the calculation results in the form of visual electronic drawings in the simulation software. At the same time, the possibility of causing the fault to occur can also be reversed based on the fault phenomenon input by the user, providing strong technical support for product maintenance training and fault handling, and there is no need to manually read drawings and circuit logic. BRIEF DESCRIPTION OF THE DRAWINGS

[0022] Figure 1 The circuit of the embodiment of the present invention Figure 1 ;

[0023] Figure 2 The electrical relationship table 1 is obtained for the embodiment of the present invention;

[0024] Figure 3 The circuit of the embodiment of the present invention Figure 2 ;

[0025] Figure 4 The electrical relationship table 2 is obtained for the embodiment of the present invention;

[0026] Figure 5 The circuit of the embodiment of the present invention Figure 3 ;

[0027] Figure 6 The electrical relationship table 3 is obtained for the embodiment of the present invention;

[0028] Figure 7 The circuit of the embodiment of the present invention Figure 4 ;

[0029] Figure 8 The electrical relationship table 4 is obtained for the embodiment of the present invention. DETAILED DESCRIPTION

[0030] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0031] The present invention provides a technical solution: an electrical simulation and electrical fault diagnosis method, comprising the following steps:

[0032] S1. Install the drawing modeling plug-in in CAD.

[0033] S1.1. Process the circuit drawing into only two types of graphic elements, namely, straight lines and blocks. Select component models from the plug-in component library to replace the blocks, and ensure the connection between straight lines and straight lines, and between straight lines and blocks.

[0034] S1.2. Execute the relevant commands provided in the plug-in to preset the line and block connection relationships.

[0035] S1.3. Export the logical relationship data file required by the circuit simulation engine; export the graphic element data file required by the electronic drawing.

[0036] S2. Place the file exported in S1.3 to the specified location through the import module provided by the simulation software or manually. After the import is completed, the built-in circuit simulation engine of the simulation software will parse the types, connection relationships, parameters, etc. of all components in the logical relationship data file. Then the engine uses the breadth and depth search algorithm to find the circuit path from the high-voltage point (such as battery, external power supply, etc.) to the low-voltage point or disconnection according to the component connection relationship, and then calculates the status of the relevant components based on the working principle of the components built into the program (such as if the relay coil has a current path, the corresponding contact action). After the calculation is completed, the component data with the changed state is sent to the electronic drawing for presentation.

[0037] S3. Generate a stateless electronic drawing in the simulation program according to the metadata file exported in S1.3. Each line and each block has a unique ID. According to the ID, the data returned by the simulation calculation engine is mapped to each component on the drawing, and its status (open or closed status, etc.) and color change are presented (red for power, white for no power). Select any component on the drawing to operate it. For example, if you select a circuit breaker, right-click and select the open / close operation. After the calculation engine receives the operation instruction, it will re-initiate the search and calculation of the path, and finally return the changes to the electronic drawing for presentation. At the same time, you can also right-click and select any component on the drawing to maintain the Chinese name and alias of the component for quick matching during fault diagnosis.

[0038] S4. In the fault diagnosis module, the user can arbitrarily select or input the faulty component (such as a certain air-conditioning compressor, M1 and other components existing in all circuits), and can selectively check the known normal working components (any components existing on the circuit diagram). Then the user performs the operation before the fault occurs on the circuit diagram. During the operation, the simulation calculation engine calculates and temporarily stores the tree data structure object of the power supply relationship in real time, and restores the circuit state before the fault phenomenon occurs; after the restoration is completed, based on the stored power supply relationship data object, the fault diagnosis engine starts from the node position of the fault phenomenon component and recursively searches upward until it reaches the root node or the node of the normal state component, then jumps out or stops. Finally, the components in the derivation process are all possible fault points; the system follows the principle of observation before measurement (such as pushing components whose status can be intuitively viewed, and then pushing components that can only be checked by measuring voltage), and pushes them to the user using the binary search method to assist the user in quickly troubleshooting and locating the fault point.

[0039] This method supports large-scale drawing association simulation and diagnosis, and is described below with an example embodiment.

[0040] It is now known that after the user closes K0, K1, and K2 respectively, the HL1 light is on, but the HL2 light is not on.

[0041] Step 1: Restore the circuit (including steps S1-S3)

[0042] The circuit simulation engine and electronic drawings are used to restore the circuit logic and present the restored results.

[0043] like Figure 1 As shown, the initial drawing shows the results (red indicates voltage, white indicates no voltage, blue indicates zero voltage, and green indicates current).

[0044] The system starts to search for a path from the positive terminal of the BAT battery until the circuit is disconnected (K0). There is only one high-voltage path: BAT+>L1;

[0045] The system starts from the negative electrode of the BAT battery and searches for all zero voltage equal pressure points. The low pressure point set is: [L5]; the power relationship is as follows Figure 2 shown.

[0046] like Figure 3 As shown, after closing K0, the state of the drawing is: the left and right ends of K0 are connected by L1 and L2, of which L1 is energized and L2 is not. Start looking for a path from L1 until the circuit is broken (K1, K2), and the path is updated to:

[0047] (1)BAT+>L1>K0>L2

[0048] The power relationship is updated as follows Figure 4 shown.

[0049] like Figure 5 As shown, after closing K1, the state of the drawing is: the left and right ends of K1 are connected by L2 and L3, of which L2 is powered and L3 is not powered. Start looking for a path from L2 to the negative pole of the battery, and the path is updated to:

[0050] (1)BAT+>L1>K0>L2>K1>L3>HL1>L5>BAT-

[0051] The power relationship is updated as follows Figure 6 shown.

[0052] like Figure 7 As shown, after closing K2, the state of the drawing is: the left and right ends of K2 are connected by L2 and L4, of which L2 is powered and L4 is not powered. Start looking for a path from L2 to the negative pole of the battery, and the path is updated to:

[0053] (1)BAT+>L1>K0>L2>K1>L3>HL1>L5>BAT-

[0054] (2)BAT+>L1>K0>L2>K2>L4>HL2>L5>BAT-

[0055] The power relationship is updated as follows Figure 8 shown.

[0056] Step 2: Troubleshooting:

[0057] Based on the power supply relationship stored in the first step, the fault diagnosis engine performs fault diagnosis analysis.

[0058] (1) It is known that the HL2 light is not on. According to its power supply relationship table, its power supply upstream is recursively deduced as: L4, K2, L2, K0, L1, BAT+. There is a possibility that its power supply upstream is faulty.

[0059] (2) It is known that the HL1 light is on. According to its power supply relationship table, its power supply upstream is recursively deduced as: L3, K1, L2, K0, L1, BAT+. Its power supply upstream should all be normal and without faults.

[0060] (3) Eliminate the result (2) from the result (1). The remaining results K2 and L4 have the possibility of failure, and the result is pushed to the user to inform him / her to proceed to the next step of physical inspection.

[0061] In the present invention, the computer reads the logical relationship between the electrical circuit components in the drawing according to the electrical circuit principle and automatically calculates, and presents the calculation results in the form of visualized electronic drawings in the simulation software. At the same time, the possibility of causing the fault to occur can also be reversed based on the fault phenomenon input by the user, providing strong technical support for product maintenance training and fault handling, and there is no need to manually read the drawings and circuit logic.

[0062] The above description is only a preferred specific implementation manner of the present invention, but the protection scope of the present invention is not limited thereto. Any technician familiar with the technical field can make equivalent replacements or changes according to the technical scheme and inventive concept of the present invention within the technical scope disclosed by the present invention, which should be covered by the protection scope of the present invention.

Claims

1. An electrical simulation and electrical fault diagnosis method, characterized in that: The steps include: S1. Drawing modeling: Standardize the electrical schematic drawings on the CAD platform; S2, circuit simulation: after the drawing modeling is completed, the exported data is read into the circuit simulation engine, and then the circuit logic relationship is calculated according to the electrical principle and the result is output; the specific process of the circuit simulation in step S2 is as follows: After the drawing modeling is completed, the exported file is placed in the specified location through the import module provided by the simulation software or manually; after the import is completed, the built-in circuit simulation engine of the simulation software will analyze the types, connection relationships, and parameters of all components in the logical relationship data file; Then the circuit simulation engine uses the breadth and depth search algorithm to find the circuit path from the high voltage point to the low voltage point or the open circuit according to the component connection relationship, and then calculates the status of the relevant components according to the working principle of the components built into the program. After the calculation is completed, the component data with changed status is sent to the electronic drawing for presentation; S3, vectorized electronic drawings: the results calculated by the circuit simulation engine are presented in real time on the circuit diagram; S4. Fault diagnosis: Based on the circuit logic relationship calculated by the simulation engine and combined with other known conditions provided by the user, reverse search and deduce possible fault points.

2. The electrical simulation and electrical fault diagnosis method according to claim 1, characterized in that: During the modeling process in step S1, any electrical component is replaced with a standard component model in the plug-in primitive library and the connection relationship between the components is checked.

3. The electrical simulation and electrical fault diagnosis method according to claim 1, characterized in that: The specific process of drawing modeling in step S1 is as follows: S11, processing the circuit drawing into only two types of graphic elements, namely, straight lines and blocks, replacing the blocks with component models selected from the plug-in component library, and ensuring the connection between straight lines and straight lines, and between straight lines and blocks; S12, executing relevant commands provided in the plug-in to preset the line and block connection relationship; S13, exporting the logic relationship data file required by the circuit simulation engine; Export the metadata file required for electronic drawings.

4. The electrical simulation and electrical fault diagnosis method according to claim 1, characterized in that: The specific process of vectorizing the electronic drawing in step S3 is as follows: After the drawing modeling is completed, the metadata file is exported to generate a stateless electronic drawing in the simulation program. Each line and each block is equipped with a unique ID. According to the ID, the data returned by the simulation calculation engine is mapped to each component on the drawing, and its status and color changes are presented. Select any component on the drawing to operate it. After the calculation engine receives the operation instruction, it will re-initiate the path search and calculation, and finally return the changes to the electronic drawing for presentation.

5. The electrical simulation and electrical fault diagnosis method according to claim 1, characterized in that: The specific process of fault diagnosis in step S4 is as follows: Randomly select or input the faulty component, selectively check the known normal working components, and then the user performs the operation before the fault occurs on the circuit diagram. During the operation, the simulation calculation engine calculates and temporarily stores the tree data structure object of the power relationship in real time to restore the circuit state before the fault occurs. After the restoration is completed, based on the stored power relationship data object, the fault diagnosis engine starts from the node position of the fault phenomenon component and recursively searches upward until it reaches the root node or the node of the normal state component, then jumps out or stops. Finally, all the components in the deduction process are possible fault points.

Citation Information

Patent Citations

  • Dynamic simulation image rapid generation method for substation secondary circuit

    CN104484499A

  • Fault diagnosis method for power grid based on improved Bayesian Petri net

    CN107656176A