Intelligent System of Constructing Vector Diagrams of Electrical Circuits

2024;
: pp. 43 - 53
1
Lviv Polytechnic National University, Information Systems and Networks Department
2
Lviv Polytechnic National University
3
Lviv Polytechnic National University, Information Systems and Networks Department

Phasor diagrams are a powerful tool for  visualizing and understanding the distribution of current, voltage, and power in electrical systems. During Russia's war against Ukraine, our energy industry has become very vulnerable to enemy attacks, and therefore needs a quick and effective recovery. Energy specialists lack software tools for working with the power system, and in the period of development of artificial intelligence, creating such tools is not so difficult.

For example, familiar specialists often have to build vector diagrams - tools for visualizing and understanding the distribution of current, voltage and power in electrical systems. Using a combination of frameworks for working with artificial intelligence and creating a graphic shell, you can achieve the desired result in a few months, and at the same time do a useful thing for our victory.

The YOLO model (based on the PyTorch framework) and the QT framework are considered among the proposed tools for creating an intelligent vector diagram construction system. The role of artificial intelligence is to recognize electrical elements in circuits and their connections to each other. Creating a user interface is an equally important thing, which is already implemented in many places with the help of QT.

As of today, there is no specialized software tool for solving the problems of manual construction of vector diagrams, but the proposed approaches are already used for its creation.

The system uses the Yolov5 model to recognize electrical elements on the circuit. The model is trained on more than 150 images and is able to recognize hand-drawn diagrams. Recognition is run as a separate process from the main program written in C++. This part of the system processes the input data from Yolo, saves it in a convenient format, creates a user interface, and displays the result as a vector diagram.

  1. Voronov, P. (2019). Building of vector diagrams. https://faultan.ru/vector_diagram_faq/
  2. Sukhodolia, O. M. (2022). Artificial intelligence in energy [Analytical report]. National institute of strategic research. https://doi.org/10.53679/NISS-analytrep.2022.09
  3. Siemens company (2020). Next-Gen AI in Energy: A Tool for Transition  [Survey of the  Siemens company regarding the use of AI in various areas]. Siemens AG in Cooperation With Longitude Research Ltd. https://assets.new.siemens.com/siemens/assets/api/uuid:fef90d09-6876-451... industrial-ai-energy-sector.pdf
  4. Lixuan D., Rongyu Z., Xiaotian W. (2020). Overview of two-stage object detection algorithms. Journal of Physics: Conference Series. https://doi.org/10.1088/1742-6596/1544/1/012033
  5. Grishma S. (2019). Visual Object Detection and Tracking using YOLO and SORT. International Journal of Engineering Research & Technology (IJERT). ISSN: 2278-0181. https://www.ijert.org/research/visual-object- detection-and-tracking-using-yolo-and-sort-IJERTV8IS110343.pdf
  6. William H. Hayt, John A. Buck. (2012) Engineering Electromagnetics, eight edition. No. 1-26.
  7. PyTorch framework (2017). https://pytorch.org/
  8. QT framework (1991). https://www.qt.io/
  9. QCustomPlot class documentation (2021). https://www.qcustomplot.com/
  10. GitHub repository with the project prototype. https://github.com/Aratimaru/VectorDiagram/tree/master