Due to the high cost of robots, the algorithm testing cost for physical robots is high, and the construction of motion control programs is complex, with low operation fault tolerance. To address this issue, this paper proposes a low-cost, cross-platform SCARA robot digital-twin simulation system based on the concept of digital twins. This method establishes a 5D architecture based on the characteristics of different platforms, classifies data and integrates functions, and designs a data-processing layer for motion trajectory calculation and data storage for a virtual-reality robot. To address the complexity of data interaction under different cross-platform communication forms, an editable, modular, cross-platform communication system is constructed, and various control commands are encapsulated into simple programming statements for easy invocation. Experimental results showed that, based on modular communication control, users can accurately control data communication and synchronous motion between virtual and physical models using simple command statements, reducing the development cost of control algorithms. Meanwhile, the virtual-robot simulation system, as a data mapping of the real experimental platform, accurately simulated the physical robot’s operating state and spatial environment. The robot algorithms tested using the virtual simulation system can be successfully applied to real robot platforms, accurately reproducing the operating results of the virtual system.
Omnidirectional vision systems enable panoramic perception for autonomous navigation and large-scale mapping, but physical testbeds are costly, resource-intensive, and carry operational risks. We develop a virtual simulation platform for multi-view omnidirectional vision that supports flexible camera configuration and cross-platform data streaming for efficient processing. Building on this platform, we propose and validate a reconstruction and ranging method that fuses multi-view omnidirectional images with structured-light projection. The method achieves high-precision obstacle contour reconstruction and distance estimation without extensive physical calibration or rigid hardware setups. Experiments in simulation and the real world demonstrate distance errors within 8 mm and robust performance across diverse camera configurations, highlighting the practicality of the platform for omnidirectional vision research.
Simulink is a well-established electrical simulation software widely used in teaching electrical machines. However, it is limited to providing data results and cannot depict the real motion effects of actual motors. To address this problem, this paper establishes a mathematical simulation system in Simulink and a 3D virtual simulation system in Unity3D for a separately excited DC motor based on the concept of digital twins. A data transfer system between Simulink and the 3D platform is established via the UDP protocol, which realizes seamless data interaction between the two systems. Through the motor simulation experiment, the virtual experiment platform shows good real-time and accuracy. The 3D virtual simulation system can input data to the Simulink motor model and receive calculation results from the model in real time. The platform loads these results into the 3D motor model to visualize the corresponding motion effects. Users can customize the Simulink model according to their specific requirements and display the corresponding operating effects through the 3D virtual system via an independent data transmission system. The virtual experimental platform utilizes the 3D model to reproduce the running state of the motor and present the experimental results more intuitively and three-dimensionally. It overcomes the limitations of time and equipment. Simulink - это хорошо известное программное обеспечение для моделирования электрооборудования, широко используемое при изучении электрических машин. Однако оно ограничено в предоставлении результатов и не способно отобразить реальные эффекты движения физических двигателей. В данной работе разработана система математического моделирования в Simulink и система виртуального 3D-моделирования в Unity3D для двигателя постоянного тока с раздельным возбуждением, основанная на концепции цифровых двойников. Система передачи данных между Simulink и 3D-платформой создана на основе протокола UDP, обеспечивая бесперебойное взаимодействие между этими двумя системами. В ходе эксперимента по моделированию двигателя виртуальная экспериментальная платформа демонстрирует высокую скорость реакции и точность. Система виртуального 3D-моделирования может принимать входные данные из модели двигателя Simulink и получать результаты расчетов в реальном времени. Эти результаты затем загружаются в 3D-модель двигателя для визуализации соответствующих движений. Пользователи могут настраивать модель Simulink в соответствии со своими специфическими требованиями и отображать соответствующие рабочие эффекты через виртуальную 3D-систему с использованием независимой системы передачи данных. Виртуальная экспериментальная платформа использует 3D-модель для воспроизведения рабочего состояния двигателя и интуитивного трехмерного представления экспериментальных результатов. Это позволяет преодолеть ограничения по времени и доступному оборудованию.
Stepper-motor-driven Selective Compliance Assembly Robot Arms are susceptible to motion control challenges under short-stroke and high-frequency start–stop conditions, including high sensitivity to pulse timing, difficulty in multi-joint coordination, and insufficient trajectory smoothness. To address these issues, this paper proposes an optimized motion control method for smooth execution of obstacle-avoidance trajectories, integrating path smoothing, asymmetric S-curve velocity planning, and pulse-frequency-based multi-axis synchronization. First, piecewise cubic Hermite interpolation, Gaussian smoothing, and end-effector-based equidistant resampling are applied to post-process Rapidly-exploring Random Tree-generated paths, thereby eliminating polyline turning points and improving uniformity of waypoint distribution. Second, an asymmetric S-curve velocity planning method with nonzero boundary velocity constraints is developed, and multi-axis synchronization is achieved based on the maximum segment duration principle. Finally, instantaneous reference velocities are converted into per-axis pulse frequency commands via proportional mapping, enabling real-time stepper motor drive control. Experimental results show that the proposed method reduces the obstacle-avoidance path length by 8.52% and significantly decreases the dispersion of trajectory step sizes. In single-segment dynamic simulations, the proposed method reduces the peak dynamic output force by 62%. In real robot experiments, the average motion time across three obstacle-avoidance tasks is reduced by approximately 55.21%, while end-effector trajectory continuity and inter-joint coordination are improved, suggesting the effectiveness and preliminary engineering feasibility of the proposed method under the tested conditions.