Power construction safety training method and system based on virtual reality devices

By setting electrical physical attributes and dynamic resource allocation in the virtual reality system, the electrical parameters of power construction are truly restored, and the problems of scene simulation distortion and lag in power construction safety training are solved, high fidelity and smooth interaction are achieved, and the reliability and safety of training are improved.

CN120182547BActive Publication Date: 2025-07-22STATE GRID ZHEJIANG ELECTRIC POWER COMPANY TAIZHOU POWER SUPPLY
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202510630458.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2025-05-16
Publication Date
2025-07-22
Estimated Expiration
2045-05-16

AI Technical Summary

Technical Problem

The existing virtual reality system cannot truly restore electrical parameters such as voltage and current in power construction safety training, resulting in scene simulation distortion and lag, affecting the accuracy of training experience and safety evaluation.

Method used

By initializing the electrical physical attributes, the electrical parameters related to power construction are truly restored, the minimum safe distance is calculated based on meteorological and electrical physical attributes, and the system resources are dynamically allocated to ensure the balance between real-time rendering and risk calculation. Electrical physics modeling, dynamic risk calculation and differentiated scheduling of system resources are used to achieve a balance between real-time calculation and smooth display of electrical parameters.

Benefits of technology

It improves the authenticity of the virtual scene and the fidelity of the training environment, solves the problems of scene simulation distortion and lag, and improves the reliability and user experience of security training.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120182547B_ABST
    Figure CN120182547B_ABST
Patent Text Reader

Abstract

The present invention belongs to the field of data processing, and discloses a power construction safety training method and system based on virtual reality devices. By initializing the setting of electrophysical properties, the relevant electrical parameters in power construction are truly restored. The minimum safety distance is calculated based on meteorological and electrophysical properties. System resources are dynamically allocated according to the change speed of the physical position of the virtual character. When the speed exceeds the threshold, real-time rendering is preferentially guaranteed to avoid jamming. When the threshold is not exceeded, risk calculation is preferentially performed to ensure accuracy, achieving a balance between real-time calculation and smooth display of electrical parameters, thereby solving the problems of scene simulation distortion and jamming.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of data processing, and particularly to a method and system for power construction safety training based on virtual reality devices. Background Art

[0002] In power construction safety training, virtual reality (VR) technology enhances personnel safety awareness by simulating construction scenarios. However, the physical engines of existing virtual reality systems mainly focus on various forces such as gravity, thrust, friction, and inertia, usually concentrating on display effects. In addition to the common forces in power construction scenarios, there are also information such as voltage, current, electromotive force, and conductivity that cannot be directly observed by the naked eye. Therefore, the existing technology cannot fully meet the requirements of power construction safety training. This leads to difficulties in truly restoring the actual impacts of these parameters on the one hand; on the other hand, even if one wants to restore the above special physical characteristics, the resource allocation mechanism of traditional virtual reality systems mainly focuses on the real-time rendering of display effects to reduce display latency in order to prevent dizziness. The real-time calculation of the above special physical characteristics will affect the computing power balance, resulting in stuttering in virtual scene rendering and lag in interactive responses, seriously affecting the training experience and the accuracy of safety assessment.

[0003] Therefore, existing virtual reality systems cannot achieve normal power construction safety training. There is an urgent need for an engine, system, or method that can calculate the physical characteristics related to electrical parameters in real time without affecting display latency to solve the core problems of scene simulation distortion and stuttering in the existing technology and meet the requirements of high-fidelity and high-reliability safety training. Summary of the Invention

[0004] Aiming at the problems of scene simulation distortion and stuttering in the existing technology, the present invention provides a method and system for power construction safety training based on virtual reality devices. By initializing and setting electrical physical properties, the electrical parameters related to power construction are truly restored. The minimum safety distance is calculated based on meteorological and electrical physical properties. System resources are dynamically allocated according to the change speed of the physical position of the virtual character. When the speed exceeds the threshold, real-time rendering is preferentially guaranteed to avoid stuttering. When the threshold is not exceeded, risk calculation is preferentially performed to ensure accuracy, achieving a balance between real-time calculation of electrical parameters and smooth display, thereby solving the problems of scene simulation distortion and stuttering.

[0005] The following are the technical solutions of the present invention.

[0006] A method for power construction safety training based on virtual reality devices includes the following steps:

[0007] Scene and character initialization: In response to training requirements, a corresponding virtual scene and a virtual character of the trainee in the virtual scene are established, and the electrical physical properties of each element in the virtual scene and the virtual character are set;

[0008] Risk judgment: Call the pre-packaged security risk module, and calculate the minimum safety distance between the virtual character and different elements according to the meteorological attributes of the current virtual scene, the virtual character, and the electrophysical attributes of the elements.

[0009] Dynamically call system resources for real-time display and interaction: If the physical position change speed of any part of the virtual character exceeds the threshold, only the system resources for judging the real-time distance between any part of the virtual character and any element are retained, and the remaining system resources are preferentially used for the real-time rendering of the picture in the display device; otherwise, the system resources are preferentially used to re-perform a risk judgment. After the calculation is completed, before the physical position change speed of any part of the virtual character exceeds the threshold again, the system resources are preferentially used for the real-time rendering of the picture in the display device.

[0010] If at any time, it is judged that the real-time distance between any part of the virtual character and any element is less than or equal to their respective minimum safety distances, risk information is displayed.

[0011] The present invention realizes the unity of high-fidelity scene simulation and smooth interaction through electrophysical property modeling, dynamic risk calculation, and differential scheduling of system resources. First, through scene and character initialization, electrophysical properties (such as current, voltage, equivalent resistance, etc.) are given to virtual elements and characters, and an electromagnetic environment unique to power construction is constructed in combination with meteorological parameters to solve the problem of scene distortion caused by traditional VR ignoring electrical parameters; then, through risk judgment, the minimum safety distance between the virtual character and each element is calculated based on electrophysical properties and meteorological conditions, and the invisible electromagnetic risk is converted into a quantifiable safety threshold to achieve precise risk assessment; moreover, system resources are dynamically allocated according to the movement speed of the virtual character. When the character movement speed exceeds the threshold, only the resources required for real-time distance judgment are retained, and the real-time rendering of the picture is preferentially guaranteed to avoid stuttering and dizziness under high-speed actions and ensure smooth interaction; when the movement speed does not exceed the threshold, the risk judgment is preferentially re-executed to update the safety distance, and after the calculation is completed, the rendering resource priority is restored to balance the calculation accuracy and display efficiency in low-speed scenarios.

[0012] This concept of the present invention, through the logical closed-loop of "electrical characteristic modeling - risk quantification - resource scheduling on demand", not only truly restores the electromagnetic risk scenario in power construction, but also solves the stuttering problem caused by traditional VR systems simultaneously processing complex electrical parameter calculations and high-load rendering through dynamic computing power allocation, fundamentally improving the reliability of safety training and the user experience.

[0013] Preferably, setting the electrophysical properties of each element and the virtual character in the virtual scene includes;

[0014] Determine the elements related to this power construction safety training in the virtual scene, and set the electrophysical properties including current and voltage according to the characteristics and electrical parameters of each element in the actual scene;

[0015] Define the electrophysical properties including the equivalent resistance value according to the wearable equipment of the virtual character and the characteristics of the virtual character itself in the actual scene.

[0016] Preferably, calculating the minimum safety distance between the virtual character and different elements according to the meteorological properties of the current virtual scene, the virtual character, and the electrophysical properties of the elements includes:

[0017] Based on the simplified Maxwell's equations, model the spatial distribution of the magnetic induction intensity B and the electric field intensity E around each element. The calculation formula is:

[0018] ;

[0019] Where is the vacuum permeability, I is the alternating current, r is the radial distance from the element, α is the magnetic field attenuation coefficient due to humidity, and η is the air humidity;

[0020] ;

[0021] Where U is the voltage of the element, D is the element spacing, r is the radial distance from the element, β is the electric field distortion coefficient caused by rainfall, and ρ is the rainfall;

[0022] Set the safety threshold of the electric field intensity and the safety threshold of the magnetic induction intensity ,

[0023] ;

[0024] Where is the reference electric field threshold, is the equivalent resistance value of the virtual character;

[0025] ;

[0026] Where is the reference magnetic field threshold, δ is the conductivity sensitivity coefficient, is the ground conductivity;

[0027] Respectively substitute the safety threshold of the electric field intensity into the electric field intensity E, and substitute the safety threshold of the magnetic induction intensity into the magnetic induction intensity B. The larger of the two r values obtained is the minimum safety distance.

[0028] Preferably, the determination method of the physical position change speed is:

[0029] Obtain the three-dimensional coordinate data of each joint point of the virtual character collected in real time by the six-degree-of-freedom sensor built into the virtual reality device;

[0030] Calculate the Euclidean distance Δs between the coordinates of each joint point in two adjacent frames, divide it by the time interval Δt, and get the physical position change speed v=Δs / Δt.

[0031] Preferably, when the speed of change of the physical position of any part of the virtual character exceeds a threshold, the Euclidean distance between each joint point and each element in two adjacent frame coordinates is calculated, and the remaining system resources are given priority to real-time simplified rendering of the image in the display device.

[0032] Preferably, the real-time simplified rendering comprises:

[0033] The number of model faces of non-critical objects whose distance is greater than the preset viewing distance is reduced. The reduction ratio is determined according to the abundance of system resources, and vector graphics are used for outline rendering.

[0034] Preferably, when the speed of change of the physical position of any part of the virtual character does not exceed the threshold, the real-time rendering is paused and the current frame is saved while the risk assessment is re-executed, and the distortion of the current frame is used to respond to the picture changes caused by the perspective changes of subsequent frames until the risk assessment calculation is completed, and the real-time rendering of the picture in the display device is re-enabled.

[0035] In the present invention, when the virtual character moves at a low speed, real-time rendering is suspended, and computing power is transferred from graphics rendering to re-execution of risk judgment, ensuring that sufficient resources are obtained for complex electromagnetic model calculations based on electrophysical properties (voltage, current, equivalent resistance, etc.) and meteorological parameters, solving the risk assessment lag caused by the competition for computing power between rendering and computing in traditional solutions, and ensuring the accuracy of dynamic updates of the minimum safe distance. At the same time, 2D image geometric transformation (such as rotation, scaling, stretching) replaces 3D scene real-time rendering, reducing computing power consumption by more than 90%, maintaining basic visual feedback during the pause of rendering, and avoiding freezes or interruptions in operation caused by freezing of the screen. After the risk judgment is completed, real-time rendering is re-enabled, because the calculation process is not disturbed, the time consumption is shortened and there is no delay in resource switching, which complements the simplified rendering strategy in high-speed scenes, and dynamically allocates resources through the "speed threshold" to achieve a balance between the accuracy of risk calculation and the fluency of interactive experience in low-speed scenes, avoiding scene distortion and response delay caused by heavy rendering and light calculation of traditional VR systems, and improving the reliability and immersion of power construction safety training.

[0036] Preferably, the risk information is displayed in the following manner:

[0037] Visual feedback: A red flashing border is displayed at the edge of the avatar's field of view. The border width increases as the real-time distance decreases, until it reaches the maximum border width.

[0038] Haptic feedback: Output motor vibration signals to the virtual reality device, and the vibration intensity increases as the real-time distance decreases until the maximum vibration intensity;

[0039] Auditory feedback: Output a gradual alarm sound effect to the virtual reality device, and the sound frequency increases as the real-time distance decreases until it reaches the maximum sound frequency.

[0040] The present invention also provides an electric power construction safety training system based on virtual reality equipment, comprising a memory and a processor connected to the virtual reality equipment, wherein a computer program is stored in the memory, and when the processor calls the computer program in the memory, the electric power construction safety training method based on virtual reality equipment is executed.

[0041] The present invention also provides a storage medium, in which computer executable instructions are stored. When the computer executable instructions are loaded and executed by a processor, the steps of the above-mentioned power construction safety training method based on virtual reality equipment are implemented.

[0042] The substantial effects of the present invention include:

[0043] During the scene and role initialization stage, the virtual elements are given electrical parameters such as current and voltage, the characters are set with equivalent resistance based on insulation equipment, and a dynamic electromagnetic environment is constructed in combination with meteorological properties. Through these settings, the electric field and magnetic field distribution in the virtual scene can be highly consistent with the real power construction. Since the electromagnetic characteristics during construction are truly restored, the authenticity of the virtual scene is greatly improved, solving the distortion problem of traditional VR scenes, making the training environment closer to the actual working conditions, and laying the foundation for subsequent precise training.

[0044] On the one hand, the present invention establishes a model based on a simplified Maxwell equations, combines meteorological parameters with the character's equivalent resistance to calculate the minimum safe distance, quantifies and simplifies the abstract electromagnetic risk, can clearly determine the danger limit, improve the accuracy of risk assessment and reduce computing power requirements to ensure the smoothness of rendering. On the other hand, dynamic resource allocation is implemented according to the character's movement speed. When moving at high speed, the rendering is simplified to ensure smooth pictures; when moving at low speed, the rendering is suspended to use computing power for accurate risk calculation. This method of reasonably allocating resources according to scene requirements solves the contradiction between computing and rendering competing for resources in traditional VR, which not only improves the smoothness of the picture, but also ensures the accuracy of risk calculation.

[0045] The present invention utilizes multi-dimensional feedback of vision, touch, and hearing. When the real-time distance shrinks, the stimulation intensity of each dimension increases. Multimodal interaction enables trainees to perceive risks from multiple sensory channels, compensating for the invisibility of electromagnetic risks, strengthening the perception of danger, and enhancing the risk response speed.

[0046] The entire solution integrates electrophysical modeling, dynamic computing power scheduling, and multi-modal feedback to form an organic closed-loop. From scenario construction to resource allocation and then to risk feedback, each link works synergistically to solve the problems of unrealistic traditional VR training scenarios, operation lag, and poor warning effects. BRIEF DESCRIPTION OF THE DRAWINGS

[0047] Figure 1 is a flowchart of an embodiment of the present invention. DETAILED DESCRIPTION OF THE EMBODIMENTS

[0048] To make the objectives, technical solutions, and advantages of the embodiments of the present invention clearer, the following will clearly and completely describe the technical solutions in combination with the embodiments. Apparently, the described embodiments are only a part rather than all of the embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the protection scope of the present invention.

[0049] It should be understood that in various embodiments of the present invention, the magnitudes of the sequence numbers of the processes do not mean the order of execution, and the order of execution of the processes should be determined by their functions and internal logics, and should not constitute any limitation to the implementation process of the embodiments of the present invention.

[0050] It should be understood that in the present invention, "including" and "having" and any variations thereof are intended to cover non-exclusive inclusion. For example, a process, method, system, product, or device that includes a series of steps or units does not necessarily have to be limited to those clearly listed steps or units, but may include other steps or units that are not clearly listed or are inherent to these processes, methods, products, or devices.

[0051] It should be understood that in the present invention, "a plurality of" means two or more. "And / or" is only a description of the association relationship of associated objects, indicating that there can be three relationships. For example, A and / or B can represent: A exists alone, A and B exist simultaneously, and B exists alone. The character " / " generally represents an "or" relationship between the associated objects before and after. "Including A, B, and C", "including A, B, C" means that all of A, B, and C are included, "including A, B, or C" means including any one of A, B, and C, and "including A, B, and / or C" means including any one or any two or all three of A, B, and C.

[0052] The technical solution of the present invention will be described in detail below with specific embodiments. The embodiments can be combined with each other, and the same or similar concepts or processes may not be repeated in some embodiments.

[0053] Embodiment 1: A power construction safety training method based on virtual reality equipment, as Figure 1 shown, includes the following steps:

[0054] Scene and role initialization: In response to the training requirement, a corresponding virtual scene and the virtual role of the trainee in the virtual scene are established, and the electro-physical properties of each element in the virtual scene and the virtual role are set.

[0055] Specifically, in the scene and role initialization process of this embodiment, in response to the training requirement, first, a three-dimensional virtual scene is constructed based on the actual power construction scene (such as transmission line maintenance, substation equipment installation, etc.). By analyzing the training objectives, the core elements related to this safety training are determined, including but not limited to: live equipment elements: transmission wires, transformers, circuit breakers, insulator strings, etc., whose geometric dimensions, spatial layout are consistent with the actual engineering parameters; environmental auxiliary elements: non-live objects such as the ground, poles, and operation platforms, which are used to construct the boundary of the operation space. The above elements are geometrically modeled through modeling software (such as Unity, Blender) and imported into the virtual scene engine to form an interactive three-dimensional space.

[0056] For current-carrying components such as transmission wires and transformer windings, an alternating current amplitude I and frequency (such as 50Hz power frequency) are set, and a rated voltage U (such as 110kV, 220kV) is set for high-voltage equipment. The parameter source is the actual engineering design drawings or operation data; the geometric parameters (such as wire spacing, conductor radius) of the associated equipment are associated with the electrical parameters to form a complete electromagnetic modeling input condition to ensure the accuracy of subsequent simplified Maxwell's equations calculation. If necessary, dielectric constant, breakdown voltage and other properties can also be set for insulating components such as insulators and insulating partitions; the conductivity is set for metal conductors. These data can be used for more detailed calculations of the electromagnetic field distribution, but are not necessary in this embodiment.

[0057] In addition, in this embodiment, the electro-physical properties of the virtual role are defined according to the actual safety equipment worn by the trainee and the human physical characteristics. For example, for protective equipment such as insulating gloves, insulating boots, and safety helmets, the equivalent insulation resistance value is measured or queried according to national standards (such as GB / T17622-2022), and the overall equivalent resistance R is calculated by series / parallel method insFor example, if the resistance value of the insulating boots is 108 Ω and the resistance value of the insulating gloves is 109 Ω, the overall equivalent resistance of the human body and the equipment is comprehensively modeled according to the contact area and wearing method; parameters such as the equivalent resistance of the human body (default value is 1000 Ω, which can be dynamically adjusted according to scenarios such as humidity) and the surface area of the human body are set for the subsequent calculation of the safety threshold of the electric field strength. for calculation.

[0058] Bind the limb joints (such as wrists, ankles, and torso) of the virtual character to the six-degree-of-freedom sensor coordinate system of the virtual reality device to ensure the unity of the spatial coordinate system for subsequent calculation of the movement speed and real-time distance judgment.

[0059] After the attributes of the elements and the character are set, the system automatically checks the rationality of each parameter. For example, it checks whether the voltage and current of the energized equipment exceed the safe threshold range to avoid logical contradictions; it verifies whether the equivalent resistance of the virtual character matches the selected type of protective equipment (such as forcibly loading the attributes of high-insulation-level equipment in high-voltage scenarios); it supports the import of user-defined parameters (such as non-standard electrical parameters of specific engineering equipment) and dynamically loads them into the virtual scene through a configuration file.

[0060] Risk judgment: Call the pre-packaged safety risk module to calculate the minimum safe distance between the virtual character and different elements according to the meteorological attributes, virtual character, and electrophysical attributes of the current virtual scene.

[0061] Specifically, during the risk judgment process, when calling the pre-packaged safety risk module, the following operations are completed:

[0062] Load the basic physical model: Build a built-in simplified Maxwell's equations solver to support the calculation of the spatial distribution of alternating current magnetic fields and electrostatic fields;

[0063] Configure the meteorological parameter interface: Obtain the meteorological attributes of the virtual scene in real time, including dynamic parameters such as air humidity η (unit: %), rainfall ρ (unit: mm / h), and ground conductivity σ ground (unit: S / m), etc., and support real-time synchronization from the virtual environment engine or external data sources (such as meteorological simulation plugins);

[0064] Bind the electrophysical attribute variables: Map parameters such as the equivalent resistance of the virtual character , the current I and voltage U of the energized equipment, and the wire spacing D to the input interface of the calculation model to form a parameterized calculation framework.

[0065] Based on the simplified Maxwell's equations, conduct spatial distribution modeling of the magnetic induction intensity B and electric field intensity E around each element. The calculation formula is:

[0066] ;

[0067] where is the vacuum permeability, I is the alternating current, r is the radial distance of the distance element, α is the magnetic field attenuation coefficient due to humidity, and η is the air humidity; the higher the air humidity, the more obvious the magnetic field attenuation, reflecting the influence of the humid environment on electromagnetic propagation.

[0068] ;

[0069] where U is the voltage of the element, D is the element spacing, r is the radial distance of the distance element, β is the electric field distortion coefficient caused by rainfall, and ρ is the rainfall; rainfall will increase the ionization degree of the air and distort the electric field distribution. The greater the rainfall, the more significant the increase in the electric field strength.

[0070] Set the safety threshold of the electric field strength and the safety threshold of the magnetic induction intensity ,

[0071] ;

[0072] where is the reference electric field threshold, is the equivalent resistance value of the virtual character; the higher the equivalent resistance, the stronger the tolerance of the character to the electric field, and the safety threshold is correspondingly increased, reflecting the protective effect of the insulating equipment.

[0073] ;

[0074] where is the reference magnetic field threshold, δ is the conductivity sensitivity coefficient, is the ground conductivity; the higher the ground conductivity, the more obvious the convergence of the magnetic field to the ground surface, and the safety threshold is correspondingly reduced, emphasizing the magnetic field risk in the conductive environment.

[0075] Respectively substitute the electric field strength safety threshold into the electric field strength E, and substitute the magnetic induction intensity safety threshold into the magnetic induction intensity B. The larger of the two r values obtained is the minimum safety distance.

[0076] When this embodiment executes the above steps, a parallel computing architecture is adopted, that is, the parallel processing ability of the GPU is used to batch calculate the safety distances of multiple charged elements to improve efficiency.

[0077] For example, taking the equipment maintenance scenario of a 220 kV substation as an example:

[0078] Input parameters: equipment voltage U = 220 kV, conductor spacing D = 2.5 m, current I = 1000 A; air humidity η = 80%, rainfall ρ = 5 mm / h, ground conductivity σ ground=0.01S / m; Virtual character equivalent resistance =5×10 9 Ω.

[0079] According to the above formula, we can get:

[0080] Electric field strength safety threshold ;

[0081] Magnetic induction intensity safety threshold B th =50μT / (1+0.1×0.01)≈49.95μT;

[0082] Solve for r E ≈1.2m, r B ≈1.3m, minimum safe distance r min =1.3m.

[0083] The error with the 220kV equipment safety distance (1.5m) specified in the power industry safety regulations (such as DL / T 5729-2023 "Electricity Safety Work Regulations") is less than 10%, meeting the accuracy requirements of engineering training.

[0084] This embodiment realizes the quantitative assessment of electromagnetic risks through the above-mentioned risk judgment steps, converts the invisible electric field and magnetic field threats into perceptible safety distances, and balances the system computing power while ensuring the calculation accuracy through dynamic calculation and optimization mechanisms, providing core data support for subsequent resource scheduling and risk warnings.

[0085] In this embodiment, in response to one of the following situations, system resources are dynamically called for real-time display and interaction:

[0086] A: If the speed of change of the physical position of any part of the virtual character exceeds a threshold (e.g. 1.5 m / s), only the system resources used to determine the real-time distance between any part of the virtual character and any element are retained, and the remaining system resources are used first for real-time rendering of the screen in the display device;

[0087] B: If the speed of change of the physical position of any part of the virtual character does not exceed the threshold, the system resources are used to re-execute the risk judgment. After the calculation is completed, before the speed of change of the physical position of any part of the virtual character exceeds the threshold again, the system resources are used to display the real-time rendering of the picture in the device.

[0088] If at any time, it is determined that the real-time distance between any part of the virtual character and any element is less than or equal to the respective minimum safety distance, risk information is displayed.

[0089] The physical position change speed is determined as follows:

[0090] Obtain the three-dimensional coordinate data of each joint point of the virtual character collected in real time by the six-degree-of-freedom sensor built into the virtual reality device;

[0091] Calculate the Euclidean distance Δs between the coordinates of each joint point in two adjacent frames, divide it by the time interval Δt, and get the physical position change speed v=Δs / Δt.

[0092] When the speed of the physical position change of any part of the virtual character exceeds the threshold, the Euclidean distance between each joint point and each element in two adjacent frames is calculated, and the remaining system resources are prioritized for real-time simplified rendering of the screen in the display device. Generally speaking, the computing power resources released in this step account for no less than 60% of the total system resources.

[0093] In this embodiment, the real-time simplified rendering includes:

[0094] The number of model faces of non-critical objects whose distance is greater than the preset viewing distance is reduced. The reduction ratio is determined according to the abundance of system resources, and vector graphics are used for outline rendering.

[0095] In this embodiment, the viewing distance classification refers to dividing the viewing distance range based on the position of the virtual character's eyes:

[0096] Close-up (≤5m): retain the complete model faces of key objects (such as live equipment and operating tools);

[0097] Medium and long-range (>5m and ≤20m): The number of model faces of non-critical objects (such as vegetation and background buildings) is reduced by 30%-50%. The reduction ratio is dynamically adjusted by the system resource surplus (formula: reduction ratio = 1-(remaining computing power / total computing power) × 0.8);

[0098] Distant view (>20m): Use vector graphics outline rendering, only retain the geometric outline of the object, and do not render texture and light and shadow.

[0099] If necessary, you can choose to turn off high-computing-power-consuming special effects such as anti-aliasing (AA) and ambient occlusion (AO), enable asynchronous space warp (ASW) technology, compensate for rendering delays by predicting the next frame, and ensure a stable frame rate.

[0100] At the same time, interactive signals such as handle input and head tracking are still processed in real time and are not affected. The interactive response delay is controlled within 20ms to ensure real-time operation under high-speed actions.

[0101] In addition, when the speed of change of the physical position of any part of the virtual character does not exceed the threshold, while re-executing the risk judgment, the real-time rendering is suspended and the current frame is saved. The distortion of the current frame is used to respond to the picture changes caused by the perspective changes of subsequent frames until the risk judgment calculation is completed, and the real-time rendering of the picture in the display device is re-enabled.

[0102] In this step, pause the real-time rendering pipeline (only keep the basic frame output), switch the system resource priority to the security risk module, re-perform the risk judgment, and the computing power allocation ratio is not less than 70% of the total system resources.

[0103] Meanwhile, freeze the current frame, save the rendered image of the current perspective as the reference frame, with the resolution being the native resolution of the device. When the trainee's head rotation causes a change in the perspective, perform real-time distortion on the reference frame through 2D image geometric transformations (rotation, scaling, perspective transformation) to simulate the perspective rotation effect, and the computing power consumption is reduced by more than 90% compared to 3D real-time rendering. After the risk judgment ends, immediately resume 3D real-time rendering.

[0104] In addition, when necessary, for joint points that have been stationary for more than 5 seconds, the time interval for collecting their coordinate data can be increased to reduce the data processing requirements.

[0105] That is to say, in this embodiment, when the virtual character moves at a low speed, pause the real-time rendering, transfer the computing power from graphics rendering to re-perform the risk judgment, ensure that sufficient resources are obtained for the complex electromagnetic model calculation based on electrophysical properties (voltage, current, equivalent resistance, etc.) and meteorological parameters, solve the problem of lag in risk assessment caused by the competition for computing power between rendering and calculation in the traditional solution, and ensure the accuracy of dynamic update of the minimum safety distance. At the same time, replace the 3D scene real-time rendering with 2D image geometric transformations (such as rotation, scaling, stretching), the computing power consumption is reduced by more than 90%, and maintain the basic visual feedback during the paused rendering to avoid the user experiencing stuttering or operation interruption due to the frozen screen. After the risk judgment is completed, re-enable the real-time rendering. Since the calculation process is not disturbed, the time consumption is shortened and there is no delay in resource switching, which forms a complement to the simplified rendering strategy in the high-speed scenario. Dynamically allocate resources through the "speed threshold" to achieve the balance between the accuracy of risk calculation and the smoothness of the interaction experience in the low-speed scenario, avoid the scene distortion and response delay caused by the traditional VR system emphasizing rendering over calculation, and improve the reliability and immersion of the electric power construction safety training.

[0106] In addition, to avoid screen stuttering or calculation interruption caused by resource scheduling and switching, this embodiment adopts the following transition strategies:

[0107] Buffer queue mechanism: When switching between situation A and situation B, set a 50ms buffer period, during which simplified rendering and risk calculation are run simultaneously (resource allocation ratio is 7:3) to ensure that the state switch is imperceptible;

[0108] Data preloading: After the calculation in situation B is completed, preload in advance the model resources and risk data that may be used in the next frame. When it is detected that the speed rises back to the threshold, directly call the preloaded data to shorten the rendering response time.

[0109] It should be noted that whether the above content is adopted or not does not affect the realization of the basic functions of the present invention.

[0110] Finally, the display methods of the risk information in this embodiment include:

[0111] Visual feedback: Display a red flashing border at the edge of the virtual character's field of view. The width of the border increases as the real-time distance decreases until the maximum border width.

[0112] Tactile feedback: Output a motor vibration signal to the virtual reality device. The vibration intensity increases as the real-time distance decreases until the maximum vibration intensity.

[0113] Auditory feedback: Output a gradually changing alarm sound effect to the virtual reality device. The sound effect frequency increases as the real-time distance decreases until the maximum sound effect frequency.

[0114] For example, when the trainee simulates climbing a pole tower and the joint point speed reaches 2.0 m / s > vth (speed threshold), the system triggers the situation A strategy: the number of faces of the medium and long-distance tree model is reduced from 100,000 to 40,000, the frame rate is increased from 75 fps to 92 fps, and there is no obvious lag; the real-time distance calculation delay is controlled within 15 ms, meeting the real-time requirement for safety distance judgment. Another example is that when the trainee statically operates the insulating glove to touch the wire with a speed of 0.3 m / s < vth, the system triggers the situation B strategy: the risk judgment time-consuming is extended from 20 ms in the high-speed scenario to 50 ms, but through frame holding and distortion processing, the user cannot perceive the rendering interruption; the calculated minimum safety distance is updated to 0.7 m, which is consistent with the actual live working safety regulations (0.6 m), and the width of the risk warning border is synchronously increased to 15 pixels, and the vibration intensity is increased to 60%.

[0115] Embodiment 2: This embodiment also provides a power construction safety training system based on a virtual reality device, including a memory and a processor connected to the virtual reality device. A computer program is stored in the memory, and when the processor calls the computer program in the memory, it executes the above-mentioned power construction safety training method based on the virtual reality device.

[0116] Embodiment 3: This embodiment also provides a storage medium, in which computer-executable instructions are stored. When the computer-executable instructions are loaded and executed by a processor, the steps of the above-mentioned power construction safety training method based on the virtual reality device are realized.

[0117] In summary, the substantial effects of this embodiment include:

[0118] During the scene and role initialization stage, the virtual elements are given electrical parameters such as current and voltage, the characters are set with equivalent resistance based on insulation equipment, and a dynamic electromagnetic environment is constructed in combination with meteorological properties. Through these settings, the electric field and magnetic field distribution in the virtual scene can be highly consistent with the real power construction. Since the electromagnetic characteristics during construction are truly restored, the authenticity of the virtual scene is greatly improved, solving the distortion problem of traditional VR scenes, making the training environment closer to the actual working conditions, and laying the foundation for subsequent precise training.

[0119] On the one hand, this embodiment establishes a model based on a simplified Maxwell equations, combines meteorological parameters with the character's equivalent resistance to calculate the minimum safe distance, quantifies and simplifies the abstract electromagnetic risk, can clearly determine the danger limit, improve the accuracy of risk assessment and reduce computing power requirements to ensure the smoothness of rendering. On the other hand, dynamic resource allocation is implemented according to the character's movement speed. When moving at high speed, the rendering is simplified to ensure smooth pictures; when moving at low speed, the rendering is suspended to use computing power for accurate risk calculation. This method of reasonably allocating resources according to scene requirements solves the contradiction between computing and rendering competing for resources in traditional VR, which not only improves the smoothness of the picture, but also ensures the accuracy of risk calculation.

[0120] This embodiment utilizes visual, tactile, and auditory multi-dimensional feedback. When the real-time distance is reduced, the stimulation intensity of each dimension is enhanced. Multimodal interaction allows trainees to perceive risks from multiple sensory channels, making up for the invisible shortcomings of electromagnetic risks, strengthening the perception of danger, and improving risk response speed.

[0121] The entire solution integrates electro-physical modeling, dynamic computing power scheduling and multi-modal feedback to form an organic closed loop. From scene construction to resource allocation to risk feedback, each link works together to solve the problems of unrealistic scenes, slow operations and poor warning effects in traditional VR training.

[0122] Through the description of the above implementation methods, technical personnel in the relevant field can understand that for the convenience and simplicity of description, only the division of the above-mentioned functional modules is used as an example. In actual applications, the above-mentioned functions can be assigned to different functional modules as needed, that is, the internal structure of the specific device can be divided into different functional modules to complete all or part of the functions described above.

[0123] In the embodiments provided in this application, it should be understood that the disclosed structures and methods can be implemented in other ways. For example, the embodiments of the structures described above are merely illustrative. For example, the division of modules or units is only a logical function division. In actual implementation, there may be other division methods. For example, multiple units or components can be combined or integrated into another structure, or some features can be ignored or not executed. Another point is that the displayed or discussed coupling or direct coupling or communication connection between each other can be through some interfaces. The indirect coupling or communication connection of structures or units can be in electrical, mechanical or other forms.

[0124] The units described as separate components may or may not be physically separated. The components displayed as units may be one physical unit or multiple physical units, that is, they can be located in one place, or they can be distributed to multiple different places. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0125] In addition, each functional unit in the embodiments of this application can be integrated into one processing unit, or each unit can exist physically alone, or two or more units can be integrated into one unit. The above-mentioned integrated units can be implemented in the form of hardware or in the form of software functional units.

[0126] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a readable storage medium. Based on this understanding, the technical solution of the embodiments of this application, in essence, or the part that contributes to the prior art, or all or part of this technical solution, can be embodied in the form of a software product. This software product is stored in a storage medium and includes several instructions to enable a device (which can be a single-chip microcomputer, a chip, etc.) or a processor to execute all or part of the steps of the methods of the various embodiments of this application. The aforementioned storage medium includes: various media such as USB flash drives, mobile hard disks, read-only memories (ROM), random access memories (RAM), magnetic disks, or optical discs that can store program codes.

[0127] The above content is only the specific implementation manner of this application, but the protection scope of this application is not limited thereto. Any person skilled in the art can easily think of changes or substitutions within the technical scope disclosed in this application, and all should be covered by the protection scope of this application. Therefore, the protection scope of this application should be subject to the protection scope of the claims.

Claims

1. A power construction safety training method based on virtual reality devices, characterized in that The following steps are involved: Scene and role initialization: In response to training needs, establish the corresponding virtual scene and the trainee's virtual role in the virtual scene, and set the electrical and physical properties of each element in the virtual scene and the virtual role; Risk judgment: Call the pre-packaged safety risk module to calculate the minimum safe distance between the virtual character and different elements based on the meteorological properties of the current virtual scene, the virtual character, and the electro-physical properties of the elements; Dynamically call system resources for real-time display and interaction: If the speed of change of the physical position of any part of the virtual character exceeds the threshold, only the system resources used to determine the real-time distance between any part of the virtual character and any element are retained, and the remaining system resources are used first for real-time rendering of the screen in the display device; otherwise, the system resources are used first to re-execute the risk judgment, and after the calculation is completed, before the speed of change of the physical position of any part of the virtual character exceeds the threshold again, the system resources are used first for real-time rendering of the screen in the display device; If at any time, it is determined that the real-time distance between any part of the virtual character and any element is less than or equal to the respective minimum safe distance, the risk information is displayed; Only system resources are reserved for determining the real-time distance between any part of the virtual character and any element, and the remaining system resources are used first for real-time rendering of the screen in the display device, including: The Euclidean distance between each joint point and each element in two adjacent frame coordinates is calculated, and the remaining system resources are given priority to real-time simplified rendering of the image in the display device; real-time simplified rendering includes: reducing the number of model faces of non-critical objects whose distance is greater than the preset viewing distance, the reduction ratio is determined according to the abundance of system resources, and using vector graphics for contour rendering.

2. The power construction safety training method based on a virtual reality device according to claim 1, wherein The step of setting the electrical and physical properties of each element and virtual character in the virtual scene includes: Determine the elements in the virtual scene that are relevant to this power construction safety training, and set the electrical physical properties including current and voltage according to the characteristics and electrical parameters of each element in the actual scene; Based on the wearable equipment of the virtual character and the characteristics of the virtual character itself in the actual scene, the electrical physical properties including the equivalent resistance value are defined.

3. The power construction safety training method based on a virtual reality device according to claim 1, characterized in that The step of calculating the minimum safe distance between the virtual character and different elements according to the meteorological properties of the current virtual scene, the virtual character, and the electrophysical properties of the elements includes: Based on the simplified Maxwell equations, the spatial distribution modeling of the magnetic induction intensity B and electric field intensity E around each element is calculated using the following formula: ; wherein is the vacuum permeability, I is the alternating current, r is the radial distance of the distance element, α is the humidity-dependent magnetic field attenuation coefficient, and η is the air humidity; ; Where U is the voltage of the element, D is the element spacing, r is the radial distance from the element, β is the electric field distortion coefficient caused by rainfall, and ρ is the rainfall; Set the safety threshold of electric field strength and the safety threshold of magnetic induction intensity , ; where E0 is the reference electric field threshold, is the equivalent resistance value of the virtual character; ; wherein is the reference magnetic field threshold, δ is the conductivity sensitivity coefficient, is the ground conductivity; Substitute the safety threshold of the electric field strength into the electric field strength E, and substitute the safety threshold of the magnetic induction intensity into the magnetic induction intensity B. The larger of the two r values obtained is the minimum safety distance.

4. The power construction safety training method based on a virtual reality device according to claim 1, characterized in that The physical position change speed is determined as follows: Obtain the three-dimensional coordinate data of each joint point of the virtual character collected in real time by the six-degree-of-freedom sensor built into the virtual reality device; Calculate the Euclidean distance Δs between the coordinates of each joint point in two adjacent frames, divide it by the time interval Δt, and get the physical position change speed v=Δs / Δt.

5. The power construction safety training method based on a virtual reality device according to claim 1 or 4, characterized in that When the physical position change speed of any part of the virtual character does not exceed the threshold, while re - performing a risk judgment, pause the real - time rendering and save the current frame of the picture. Use the distortion of the current frame of the picture to respond to the picture changes caused by the perspective changes of subsequent frames until the end of this risk judgment calculation, and then re - enable the real - time rendering of the picture in the display device.

6. The method for power construction safety training based on a virtual reality device according to claim 1, characterized in that, The display methods of the risk information include: Visual feedback: Display a red flashing border at the edge of the virtual character's field of view. The border width increases as the real - time distance decreases until the maximum border width. Tactile feedback: Output a motor vibration signal to the virtual reality device. The vibration intensity increases as the real - time distance decreases until the maximum vibration intensity. Auditory feedback: Output a gradually changing alarm sound effect to the virtual reality device. The sound effect frequency increases as the real - time distance decreases until the maximum sound effect frequency.

7. A power construction safety training system based on a virtual reality device, comprising a memory and a processor connected to the virtual reality device, characterized in that, The memory stores a computer program. When the processor calls the computer program in the memory, it executes the method for power construction safety training based on a virtual reality device according to any one of claims 1 to 6.

8. A storage medium, characterized in that, The storage medium stores computer - executable instructions. When the computer - executable instructions are loaded and executed by the processor, the steps of the method for power construction safety training based on a virtual reality device according to any one of claims 1 to 6 are implemented.

Citation Information

Patent Citations

  • Immersive power simulation system based on virtual reality technology

    CN115686221A

  • Virtual reality scene display method and related device

    CN116954362A