A method, apparatus and system for 3D visualization of a valve control process
Patent Information
- Application Number
- CN202310458576.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-04-25
- Publication Date
- 2026-10-23
- Estimated Expiration
- 2043-04-25
AI Technical Summary
[0003]但是,在调节阀门开度值的过程中,由于阻力、振动等原因,使阀门不能以理想的执行速度完成运动过程,这样导致工作人员需要不停的查询阀门开度值的实时数据,通过观察数据来了解阀门的开度值,查看是否已经完成操作
[0011]根据本申请实施例提供的阀门控制过程的3D可视化方法,在获取当前采集周期内阀门的起始开度值和模拟执行速度后,会将起始开度值和模拟执行速度输入到预设的三维模型当中,以实时获取并展示当前采集周期内阀门的模拟开度值的变化过程的动态图像。通过上述3D可视化方法不仅能够将阀门的模拟开度值的变化过程的数据以实时的动态图像的形式呈现,使工作人员能够更加直观的了解阀门的开度值的变化情况,还能够周期性更新修正起始开度值和模拟执行速度,使动态图像能够更大程度得与现场设备中的阀门同步,使三维模型和现场设备中的阀门能够达到统一,即能够使三维模型高度还原现场设备中阀门的运动过程,从而使工作人员通过实时展示的动态图像就可以实时了解现场设备中阀门的运动状况(开度值的变化情况)。
Smart Images

Figure CN116576293B_ABST
Abstract
Description
Technical Field
[0001] This application belongs to the field of visualization technology, and in particular relates to a 3D visualization method, device and system for valve control process. Background Technology
[0002] Valves are pipeline accessories used to open and close pipelines, control flow direction, and regulate and control the parameters (temperature, pressure, and flow rate) of the transported medium. For example, in a water supply network, the flow of water in the network is opened or closed by controlling the opening and closing of valves, and the flow rate or pressure of the water supply network is regulated by controlling the valve opening value.
[0003] However, during the adjustment of the valve opening value, due to resistance, vibration, and other factors, the valve cannot complete the movement at the ideal speed. This forces operators to constantly check the real-time data of the valve opening value to understand its status and whether the operation has been completed. However, simply observing the data does not provide operators with a clear understanding of how the valve opening value changes during its movement. Summary of the Invention
[0004] This application provides a 3D visualization method, device, and system for valve control processes, enabling operators to not only more intuitively understand the changes in valve opening values during valve movement, but also to highly reproduce the movement status of valves in field equipment.
[0005] In a first aspect, embodiments of this application provide a 3D visualization method for a valve control process. This 3D visualization method includes: acquiring the initial opening value and simulated execution speed of the valve within the current acquisition cycle, wherein the initial opening value is the value acquired by the acquisition device in the previous acquisition cycle, and the simulated execution speed is the actual execution speed of the valve within the previous acquisition cycle; inputting the initial opening value and the simulated execution speed into a preset three-dimensional model to obtain a dynamic image of the change process of the simulated opening value of the valve within the current acquisition cycle; and displaying the dynamic image.
[0006] In conjunction with the first aspect, in some implementations of the first aspect, when the current acquisition cycle is the first acquisition cycle, the step of obtaining the initial opening value and simulated execution speed of the valve within the current acquisition cycle includes: determining the zeroth acquisition value of the acquisition device as the initial opening value, the time interval between the zeroth acquisition value and the first acquisition value as the first acquisition cycle; and determining the simulated execution speed according to the preset execution rate and preset movement direction of the valve.
[0007] In conjunction with the first aspect, in some implementations of the first aspect, the 3D visualization method further includes: stopping the acquisition of the dynamic image when the simulated opening value is equal to the set opening value of the valve.
[0008] In conjunction with the first aspect, in some implementations of the first aspect, the 3D visualization method further includes: when the acquired value of the previous acquisition cycle is equal to the set opening value of the valve, controlling the acquisition device to stop acquisition.
[0009] In conjunction with the first aspect, in some implementations of the first aspect, the step of inputting the initial opening value and the simulated execution speed into a preset three-dimensional model includes: retrieving the three-dimensional model from a database based on the valve's identifier.
[0010] In conjunction with the first aspect, in some implementations of the first aspect, the valve is a butterfly valve, and the dynamic image is a rotation image of the valve core of the butterfly valve.
[0011] According to the 3D visualization method for valve control provided in this application embodiment, after acquiring the initial opening value and simulated execution speed of the valve within the current acquisition cycle, the initial opening value and simulated execution speed are input into a preset three-dimensional model to acquire and display dynamic images of the valve's simulated opening value change process in real time within the current acquisition cycle. This 3D visualization method not only presents the data of the valve's simulated opening value change process in real-time dynamic images, allowing staff to more intuitively understand the changes in the valve's opening value, but also periodically updates and corrects the initial opening value and simulated execution speed, enabling the dynamic images to be more synchronized with the valve in the field equipment. This ensures that the three-dimensional model and the valve in the field equipment are unified, allowing the three-dimensional model to highly reproduce the valve's movement process in the field equipment. Thus, staff can understand the valve's movement status (changes in opening value) in the field equipment in real time through the displayed dynamic images.
[0012] Secondly, a 3D visualization device for valve control process is provided, comprising: an acquisition unit for acquiring the initial opening value and simulated execution speed of the valve in the current acquisition cycle, wherein the initial opening value is the acquisition value of the acquisition device in the previous acquisition cycle, and the simulated execution speed is the actual execution speed of the valve in the previous acquisition cycle; a processing unit for inputting the initial opening value and the simulated execution speed into a preset three-dimensional model to obtain a dynamic image of the change process of the simulated opening value of the valve in the current acquisition cycle; and a display unit for displaying the dynamic image.
[0013] Thirdly, a 3D visualization device for valve control process is provided, comprising: a controller for acquiring the initial opening value and simulated execution speed of the valve in the current acquisition cycle, wherein the initial opening value is the acquisition value of the acquisition device in the previous acquisition cycle, and the simulated execution speed is the actual execution speed of the valve in the previous acquisition cycle; the controller is further configured to input the initial opening value and the simulated execution speed into a preset three-dimensional model to obtain a dynamic image of the change process of the simulated opening value of the valve in the current acquisition cycle; and a visualization interface for displaying the dynamic image.
[0014] Optionally, the 3D visualization device also includes a memory.
[0015] Fourthly, a 3D visualization system for valve control process is provided, comprising: a valve, a data acquisition device for acquiring the opening degree of the valve, and a 3D visualization device as described in the third aspect.
[0016] Fifthly, a computer-readable storage medium is provided, which stores a computer program that, when executed, implements any of the methods in the first aspect.
[0017] In a sixth aspect, a computer program product is provided, the computer program product comprising: computer program code, which, when run on a computer, causes the computer to perform any of the methods described in the first aspect above.
[0018] It is understood that the beneficial effects of the second to sixth aspects mentioned above can be found in the relevant descriptions in the first aspect mentioned above, and will not be repeated here. Attached Figure Description
[0019] Figure 1 This is a schematic flowchart of the 3D visualization method for valve control provided in the embodiments of this application;
[0020] Figure 2 This is a schematic diagram of the acquisition cycle of the 3D visualization method provided in the embodiments of this application;
[0021] Figure 3 This is a schematic diagram illustrating the process of simulated opening value change within the acquisition period of the 3D visualization method provided in this application embodiment;
[0022] Figure 4 This is a schematic flowchart illustrating the implementation process of the 3D visualization method provided in the embodiments of this application;
[0023] Figure 5 This is a schematic block diagram of a 3D visualization device for the valve control process provided in the embodiments of this application;
[0024] Figure 6This is a structural schematic diagram of the 3D visualization device for the valve control process provided in the embodiments of this application;
[0025] Figure 7 This is a schematic diagram of the structure of the 3D visualization system for the valve control process provided in the embodiments of this application. Detailed Implementation
[0026] The technical solutions of this application will now be described with reference to the accompanying drawings. Obviously, the described embodiments are only a part of the embodiments of this application, and not all of them.
[0027] In the following description, specific details such as particular system architectures and techniques are set forth for illustrative purposes and not for limitation, in order to provide a thorough understanding of the embodiments of this application. However, those skilled in the art will understand that this application may also be implemented in other embodiments without these specific details. In other instances, detailed descriptions of well-known systems, apparatuses, circuits, and methods have been omitted so as not to obscure the description of this application with unnecessary detail.
[0028] The term "comprising" in this document indicates the presence of the described feature, whole, step, operation, element, and / or component, but does not exclude the presence or addition of one or more other features, wholes, steps, operations, elements, components, and / or collections thereof. The terms "comprising," "including," "having," and variations thereof mean "including but not limited to," unless otherwise specifically emphasized.
[0029] Valves are important control devices in fluid pipeline systems. They have the functions of connecting and cutting off the medium, regulating the pressure and flow of the medium, separating, mixing or distributing the medium, preventing the medium pressure from exceeding the specified value, and ensuring the safe operation of pipelines or equipment. They are widely used in petroleum and petrochemical, coal chemical, aerospace, transportation, urban construction, agriculture and people's lives.
[0030] However, during the adjustment of the valve opening, resistance, vibration, and other factors may prevent the valve from completing the operation at the ideal speed. This necessitates operators constantly monitoring real-time valve opening data to understand the valve's opening and confirm whether the operation has been completed. However, simply observing the data does not provide operators with a clear understanding of how the valve opening changes during its movement.
[0031] To address the aforementioned technical problems, this application provides a 3D (3-dimensional) visualization method for valve control processes. This method can be executed by a 3D visualization device (e.g., an industrial control computer, a host computer, or an industrial computer), or by a chip or controller within the 3D visualization device. The method inputs the initial opening value and simulated execution speed into a preset 3D model to acquire and display a dynamic image of the valve's simulated opening value change process in real time. This 3D visualization method not only presents the valve's opening value change data in real-time dynamic image form, allowing operators to more intuitively understand the changes in the valve's opening value during movement, but also synchronizes the dynamic image displayed in real-time with the valve's movement in the field equipment. This highly replicates the valve's movement in the field equipment, enabling operators to understand the changes in the valve's opening value by observing the dynamic image in real time.
[0032] Figure 1 This is a schematic flowchart of a 3D visualization method for valve control provided in an embodiment of this application. Figure 2 This is a schematic diagram of the acquisition cycle of the 3D visualization method provided in the embodiments of this application. Figure 3 This is a schematic diagram illustrating the simulated opening value change process within the acquisition period of the 3D visualization method provided in this application embodiment. The following, in conjunction with... Figures 1-3 The 3D visualization method 100 provided in the embodiments of this application is described. The 3D visualization method 100 includes:
[0033] Step S110: Obtain the initial opening value and simulated execution speed of the valve in the current acquisition cycle, wherein the initial opening value is the acquisition value of the acquisition device in the previous acquisition cycle, and the simulated execution speed is the actual execution speed of the valve in the previous acquisition cycle.
[0034] Here, the collected value is the valve opening value collected by the data collector, and the collection period is the time interval between two data collections of the valve opening value by the data collector.
[0035] like Figure 2 As shown, the starting aperture value of the current acquisition cycle is the acquisition value of the previous acquisition cycle. For example, the time interval between the acquisition value of the zeroth acquisition and the acquisition value of the first acquisition is the first acquisition cycle, and the time interval between the acquisition value of the first acquisition and the acquisition value of the second acquisition is the second acquisition cycle. Taking the second acquisition cycle as the current acquisition cycle, the starting aperture value of the second acquisition cycle can be the acquisition value of the first acquisition cycle, that is, as shown below. Figure 2 The image shows the first value collected by the data collector.
[0036] For example, the starting opening value of the third acquisition cycle is the acquisition value of the second acquisition cycle, that is, the acquisition value acquired by the collector in the second acquisition cycle is the starting opening value of the third acquisition cycle.
[0037] The simulated execution speed is a simulation of the actual execution speed of the valve within the current acquisition cycle. The simulated execution speed of the current acquisition cycle is the actual execution speed of the previous acquisition cycle. In other words, the actual execution speed of the valve in the previous acquisition cycle is used as the simulated execution speed of the valve in the current acquisition cycle to predict the valve opening value at different times within the current acquisition cycle.
[0038] It is worth mentioning that the simulated execution speed and the actual execution speed are vectors, meaning that the simulated execution speed and the actual execution speed not only represent the valve's execution rate, but also the valve's direction of movement.
[0039] Step S120: Input the initial opening value and the simulated execution speed into the preset three-dimensional model to obtain a dynamic image of the change process of the simulated opening value of the valve within the current acquisition cycle.
[0040] Specifically, the preset 3D model can be understood as a virtual valve constructed proportionally based on the shape and structure of the valve in the field equipment. The simulated opening value is the valve opening value at different times predicted based on the initial opening value and the simulated execution speed.
[0041] For example, such as Figure 3 As shown, the initial opening value of the valve in the current acquisition cycle has an estimated value (simulated opening value). This simulated opening value will be corrected by the acquisition value of the previous acquisition cycle, that is, the initial opening value of the valve in the current acquisition cycle can be updated periodically according to the acquisition value of the previous acquisition cycle.
[0042] Specifically, in this embodiment, after the initial opening value and the simulated execution speed are input into a preset three-dimensional model, the preset three-dimensional model can obtain an image of the change of the simulated opening value of the valve in real time based on the input initial opening value and the simulated execution speed, and then obtain a dynamic image of the change process of the simulated opening value of the valve in real time, so that the 3D visualization device can display the dynamic image of the change process of the simulated opening value of the valve in the current cycle in real time.
[0043] In this process, the 3D visualization device can not only acquire dynamic images of the valve in real time based on the initial opening value and simulated execution speed, but also periodically correct and update the initial opening value and simulated execution speed in the current acquisition cycle based on the acquired value and actual execution speed of the previous acquisition cycle. This allows the simulated opening value acquired in real time through the initial opening value and simulated execution speed to be closer to the acquired value. In other words, it enables the dynamic images acquired in real time to be unified and synchronized with the movement status of the valve in the field equipment, thereby highly restoring the movement status of the field equipment. This allows the staff to understand the changes in the valve opening value in real time through dynamic images.
[0044] Optionally, the 3D model monitors and updates the simulated opening value in real time.
[0045] Step S130: Display the dynamic image.
[0046] Specifically, in this embodiment of the application, dynamic images are displayed through a visual interface.
[0047] Optionally, the 3D visualization device has a 3D visualization interface with a high degree of visualization and a strong sense of three-dimensionality.
[0048] Optionally, the 3D visualization interface can display the simulated opening value in real time.
[0049] It should be understood that, such as Figures 2-3 As shown, when the 3D visualization device executes the 3D visualization method 100, it can periodically repeat... Figure 1 The process steps are shown. During the valve's movement, the 3D visualization device continuously executes the 3D visualization method 100 to acquire and display dynamic images of the valve from the zeroth acquisition value to the set opening value in real time. Furthermore, by periodically correcting the starting opening value and simulation execution speed of the current acquisition cycle, the 3D model can synchronize with the valve in the field equipment, achieving consistency between the 3D model and the valve in the field equipment, thus highly reproducing the valve's movement status in the field equipment.
[0050] Optionally, the execution time required for the valve to reach the set opening value from the acquired value in the previous acquisition cycle is determined based on the valve's actual execution speed in the previous acquisition cycle. The average speed at which the valve reaches the set opening value from the acquired value in the previous acquisition cycle within the required execution time is used as the simulated execution speed of the valve in the current acquisition cycle. The formula for calculating the simulated execution speed in the current acquisition cycle is as follows:
[0051] Actual execution speed of the previous data collection cycle = (data collection value of the previous two data collection cycles - data collection value of the previous data collection cycle) / data collection cycle
[0052] Execution time = (Set opening value - Acquired value of the previous acquisition cycle) / Actual execution speed of the previous acquisition cycle Simulated execution speed of the current acquisition cycle = (Set opening value - Acquired value of the previous acquisition cycle) / Execution time
[0053] For example, such as Figure 2 As shown, when the current acquisition cycle is the second acquisition cycle, the simulated execution speed of the current acquisition cycle is: (first acquisition value - zeroth acquisition value) / acquisition cycle, which means that the simulated execution speed of the second acquisition cycle is the actual execution speed of the first acquisition cycle.
[0054] For example, if the acquisition cycle is 5 seconds, the opening value is set to 90%, the zeroth acquisition value is 40%, and the first acquisition value is 50%, then the simulation execution speed of the second acquisition cycle is 2% / second. That is, within the second acquisition cycle, the valve will start moving from the position with an opening value of 50% at an execution speed of 2% / second.
[0055] According to the 3D visualization method 100 for valve control process provided in this application embodiment, after acquiring the initial opening value and simulated execution speed of the valve within the current acquisition cycle, the initial opening value and simulated execution speed are input into a preset three-dimensional model to acquire and display dynamic images of the change process of the simulated opening value of the valve within the current acquisition cycle in real time. The 3D visualization method 100 not only presents the data of the change process of the simulated opening value of the valve in the form of real-time dynamic images, allowing staff to more intuitively understand the changes in the valve opening value, but also periodically updates and corrects the initial opening value and simulated execution speed, enabling the dynamic images to be more synchronized with the valve in the field equipment. This ensures that the three-dimensional model and the valve in the field equipment are unified, allowing the three-dimensional model to highly reproduce the movement process of the valve in the field equipment. Thus, staff can understand the movement status (changes in opening value) of the valve in the field equipment in real time through the displayed dynamic images.
[0056] In step S120, before the 3D visualization device inputs the initial opening value and the simulated execution speed into the preset three-dimensional model, it can retrieve the preset three-dimensional model from the database based on the valve's identifier.
[0057] Specifically, the database stores three-dimensional models that correspond one-to-one with the labels on the valves, and the 3D visualization device can retrieve different three-dimensional models based on the labels.
[0058] For example, the identifier can be the node information of the valve in the pipeline.
[0059] Furthermore, when the current acquisition cycle is the first acquisition cycle, the initial opening value in step S110 is the acquisition value of the zeroth acquisition by the acquisition device, and the simulated execution speed is determined according to the preset execution rate and preset movement direction of the valve.
[0060] Specifically, during the valve control process, the 3D visualization device first obtains the operation command. This operation command generally carries information such as the valve's identification, set opening value, acquisition cycle, preset execution rate, and preset movement direction (state). After receiving the operation command, the 3D visualization device controls the valve to complete the corresponding adjustment work (adjusting the pressure, temperature, flow rate, etc. in the pipeline), and at the same time runs the 3D visualization method 100 to display dynamic images in real time.
[0061] Optionally, the operation instruction can be input by the staff through a local human-computer interaction device, or it can be carried in a communication message and obtained from a remote device. This application does not limit this.
[0062] Alternatively, staff can input the operation command to the 3D visualization device using input devices such as a keyboard, mouse, control panel (button), or touch screen.
[0063] Alternatively, the 3D visualization device can also obtain the operation command from a remote device.
[0064] For example, the 3D visualization device can communicate with the remote device (e.g., wirelessly) and receive operation commands sent by the remote device.
[0065] Alternatively, the remote device can be a control host or a cloud server.
[0066] Optionally, the operator estimates the execution time required for the valve opening value to reach 100% from 0%, and uses the average rate at which the valve opening value reaches 100% from 0% within the estimated execution time as the preset execution rate of the valve.
[0067] Optionally, the different preset movement directions of the valve can be represented by the valve's state (open, closed). Specifically, the state is open when the opening value increases from small to large, such as opening the valve, and the state is closed when the opening value decreases from large to small, such as closing the valve.
[0068] In the embodiment of the application, the valve can be a butterfly valve, and the dynamic image can be a rotation image of the valve core of the butterfly valve. Specifically, the data acquisition device acquires the angle of the valve, and determines the opening value of the valve through the angle. The relationship between the angle and the opening value is shown in the following formula:
[0069] Angle = (90 × opening value) / 100
[0070] For example, when the opening value of the butterfly valve is 50%, it means that the angle of the butterfly valve is 45 degrees; when the opening value of the butterfly valve is 0%, it means that the angle of the butterfly valve is 0 degrees.
[0071] In one possible embodiment, Figure 4 This is a schematic flowchart illustrating the implementation process of the 3D visualization method for valve control provided in this application embodiment. Figure 4 As shown, 3D visualization method 200 includes:
[0072] Step S210: Obtain the initial opening value of the valve and the simulation execution speed within the current acquisition period. This step is the same as step S110 and will not be described again here.
[0073] Step S220: Determine whether the difference between the initial opening value and the set opening value is zero. When the difference between the initial opening value and the set opening value is zero, it indicates that the valve's collected value in the field equipment has reached the set opening value. Proceed to step S260: Control the data collector to stop collecting the valve's opening value. When the difference between the initial opening value and the set opening value is not zero, it indicates that the valve's collected value in the field equipment has not reached the set opening value. Proceed to step S230.
[0074] Step S230: Input the initial opening value and the simulated execution speed into the preset three-dimensional model to obtain a dynamic image of the change process of the simulated opening value of the valve within the current acquisition cycle. This step is the same as step S120 and will not be described again here.
[0075] Step S240: Determine whether the difference between the simulated opening value and the set opening value is zero. When the difference between the simulated opening value and the set opening value is zero, it indicates that the simulated opening value has reached the set opening value. Proceed to step S270 and stop acquiring dynamic images. When the difference between the simulated opening value and the set opening value is not zero, it indicates that the simulated opening value has not reached the set opening value. Proceed to step S250.
[0076] Step S250: Display the dynamic image.
[0077] Here, the valve will automatically stop operating when the valve opening value equals the valve's set opening value.
[0078] For example, during the valve control process, the 3D visualization device first receives the operation command. After parsing and reading the information carried in the operation command, such as the valve's identifier, set opening value, acquisition cycle, preset execution rate, and preset movement direction (state) (i.e., performing step S210), it controls the corresponding valve to start adjustment work according to the identifier (e.g., adjusting the pressure, temperature, flow rate, etc. in the pipeline). On the other hand, it retrieves the preset three-dimensional model according to the identifier and inputs the zeroth acquisition value of the acquisition device, the preset execution rate, and the preset movement direction into the preset three-dimensional model to obtain a dynamic image of the change process of the simulated opening value of the valve in the first acquisition cycle in real time (i.e., performing step S230) and displays the dynamic image in real time (i.e., performing step S250).
[0079] Meanwhile, the 3D visualization device periodically collects the valve opening value according to the collection cycle. When the 3D visualization device receives the first collected value, it obtains the starting opening value and simulated execution speed of the second collection cycle based on the collected value of the first collection cycle and the actual execution speed (step S210), and inputs them into the preset 3D model. The preset 3D model then acquires the dynamic image of the valve in real time within the second collection cycle based on the starting opening value and simulated execution speed (step S230), and displays the dynamic image in real time (step S250). When the 3D visualization device receives the collected value again, it will determine the valve opening value based on the collected value of the previous collection cycle and the actual execution speed. The speed periodically updates the starting opening value and simulation execution speed of the current acquisition cycle, and continues to acquire dynamic images in real time with the corrected starting opening value and simulation execution speed. This process is repeated continuously, and the 3D visualization method 200 is executed in a loop until the simulation opening value and the acquisition value reach the set opening value. That is, during this process, the 3D visualization device will perform steps S220 and S240 respectively based on the acquired starting opening value and simulation opening value. When the starting opening value is equal to the set opening value, the acquisition device is controlled to stop acquiring the valve opening value (step S260). When the simulation opening value is equal to the set opening value, the acquisition of dynamic images is stopped (step S270).
[0080] For example, the acquisition period can be 2 seconds, meaning that the data collector acquires the actual opening value of the valve once every 2 seconds as the starting opening value of the current acquisition period; the acquisition period can be 6 seconds, meaning that the data collector acquires the actual opening value of the valve once every 6 seconds as the starting opening value of the current acquisition period.
[0081] By setting the acquisition cycle, it can be applied to various application scenarios with different accuracy requirements. In some application scenarios with lower accuracy requirements, extending the acquisition cycle can save power consumption of field equipment; in some application scenarios with higher accuracy requirements, shortening the acquisition cycle can make the displayed dynamic images more accurate, that is, it can better unify and synchronize the valve opening value and the simulated opening value.
[0082] The above text combined Figure 1-4 The 3D visualization method 100 for valve control process provided in the embodiments of this application is described in detail below. Figure 5-7 This application provides a detailed description of the 3D visualization device 300 provided in the embodiments of this application. It should be understood that... Figure 5-7 The 3D visualization device 300 shown can achieve Figure 1 The steps shown in the method flow are one or more. To avoid repetition, they will not be described in detail here.
[0083] Figure 5 This is a schematic block diagram of a 3D visualization device for valve control process provided in an embodiment of this application. The 3D visualization device 300 can be a 3D visualization device (e.g., an industrial control computer, a host computer, or an industrial computer), or it can be a chip or controller installed within the 3D visualization device. Figure 5 As shown, the 3D visualization device 300 includes an acquisition unit 310, a processing unit 320, and a display unit 330.
[0084] The acquisition unit 310 is used to acquire the initial opening value and simulated execution speed of the valve in the current acquisition cycle. The initial opening value is the acquisition value of the acquisition unit in the previous acquisition cycle, and the simulated execution speed is the actual execution speed of the valve in the previous acquisition cycle.
[0085] The processing unit 320 is used to input the initial opening value and the simulated execution speed into a preset three-dimensional model to obtain a dynamic image of the change process of the simulated opening value of the valve within the current acquisition cycle.
[0086] Display unit 330 is used to display dynamic images.
[0087] Optionally, when the simulated opening value equals the valve's set opening value, the 3D visualization device 300 stops acquiring dynamic images.
[0088] Optionally, when the acquired value equals the valve's set opening value, the 3D visualization device 300 controls the data acquisition unit to stop acquiring the valve's opening value.
[0089] Optionally, before inputting the initial opening value and the simulated execution speed into the preset three-dimensional model, the 3D visualization device 300 can retrieve the preset three-dimensional model from the database based on the valve's identifier.
[0090] Optionally, the valve is a butterfly valve, and the dynamic image acquired by the 3D visualization device 300 is a rotation image of the valve core of the butterfly valve.
[0091] Figure 6 This is a structural schematic diagram of the 3D visualization device for the valve control process provided in the embodiments of this application, as shown below. Figure 6 As shown, the 3D visualization device 400 includes a controller 410 and a visualization interface 420.
[0092] The controller 410 is used to acquire the initial opening value and simulated execution speed of the valve within the current acquisition cycle. The initial opening value is the value acquired by the data collector in the previous acquisition cycle, and the simulated execution speed is the actual execution speed of the valve in the previous acquisition cycle. The controller 410 is also used to input the initial opening value and simulated execution speed into a preset 3D model to acquire a dynamic image of the change process of the simulated opening value of the valve within the current acquisition cycle in real time. The visualization interface 420 is used to display this dynamic image, which has a strong sense of three-dimensionality.
[0093] Here, the 3D visualization device 400 can be used to perform... Figure 1 The various steps in method 100. Furthermore, the controller 410 and visualization interface 420 in the 3D visualization device 400 are capable of realizing... Figure 1 The corresponding process of method 100 is described below. The specific process of performing the above-mentioned steps has been explained in detail in 3D visualization method 100, and will not be repeated here for the sake of brevity.
[0094] Specifically, the controller 410 includes an acquisition unit 310 and a processing unit 320, used to acquire the initial opening value and the simulated execution speed, and to process the initial opening value and the simulated execution speed to acquire a real-time dynamic image. The visualization interface 420 includes a display unit 330, which is equivalent to the display module 422 in the visualization interface 420, and is used to display the dynamic image in real time.
[0095] Specifically, the 3D visualization device 400 also includes a database 430, which stores preset three-dimensional models. The controller 410 can retrieve the preset three-dimensional models from the database 430 according to the information of the valve identification in the operation command.
[0096] Optionally, staff can input operation commands into the 3D visualization device 400 through the user interaction module 421 in the visualization interface 420.
[0097] Optionally, the 3D visualization device 400 obtains the operation command from a remote device.
[0098] For example, the remote device can be a control host or a cloud server.
[0099] Optionally, the 3D visualization device 400 can be a smart device with a display screen, such as a host computer or industrial computer.
[0100] Figure 7 This is a schematic diagram of the structure of a 3D visualization system for the valve control process provided in an embodiment of this application. For example... Figure 7 As shown, the 3D visualization system includes a valve 510, a data collector 520, and the 3D visualization device 400 provided in the aforementioned embodiments.
[0101] The 3D visualization device 400 controls the valve 510 to perform corresponding adjustment work (such as adjusting the pressure, temperature, flow rate, etc. in the pipeline) based on the information such as the valve 510's identifier, set opening value, acquisition cycle, preset execution rate, and preset movement direction (state) carried in the operation command. It also controls the acquisition device 520 to collect the valve 510's opening value based on the information carried in the operation command.
[0102] Optionally, the controller 410 is communicatively connected to the data collector 520 and can control the operation of the data collector 520. For example, the controller 410 and the data collector 520 can communicate via wired or wireless means. After receiving an operation command, the controller 410 can control the operation of the data collector 520, causing the data collector 520 to collect the actual opening value of the valve 510 according to the collection cycle.
[0103] Optionally, valve 510 is a butterfly valve, and the dynamic image is a rotation image of the valve core of the butterfly valve.
[0104] This application also provides a computer-readable storage medium including a computer program that, when run on a computer, causes the computer to perform the 3D visualization method provided in the above-described 3D visualization method embodiments.
[0105] This application also provides a computer program product containing instructions that, when run on a computer, cause the computer to execute the 3D visualization method provided in the above-described 3D visualization method embodiments.
[0106] Those skilled in the art will recognize that the units and algorithm steps of the various examples described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are implemented in hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this application.
[0107] Those skilled in the art will understand that, for the sake of convenience and brevity, the specific working processes of the systems, devices, and units described above can be referred to the corresponding processes in the foregoing method embodiments, and will not be repeated here.
[0108] In the several embodiments provided in this application, it should be understood that the disclosed systems, apparatuses, and methods can be implemented in other ways. For example, the apparatus embodiments described above are merely illustrative; for instance, the division of units is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the coupling or direct coupling or communication connection shown or discussed may be through some interfaces; the indirect coupling or communication connection between apparatuses or units may be electrical, mechanical, or other forms.
[0109] The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.
[0110] In addition, the functional units in the various embodiments of this application can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit.
[0111] If the aforementioned functions are implemented as software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, or a portion of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of this application. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.
[0112] The above description is merely a specific embodiment of this application, but the scope of protection of this application is not limited thereto. Any variations or substitutions that can be easily conceived by those skilled in the art within the scope of the technology disclosed in this application should be included within the scope of protection of this application. Therefore, the scope of protection of this application should be determined by the scope of the claims.
Claims
1. A 3D visualization method for valve control process, characterized in that, include: Obtain the initial opening value and simulated execution speed of the valve within the current acquisition cycle, wherein the initial opening value is the acquisition value of the acquisition device in the previous acquisition cycle, and the simulated execution speed is the actual execution speed of the valve in the previous acquisition cycle; The initial opening value and the simulated execution speed are input into a preset three-dimensional model to obtain a dynamic image of the change process of the simulated opening value of the valve within the current acquisition period; the three-dimensional model is a parametric virtual valve model constructed proportionally based on the shape and structure of the valve in the field equipment. Display the dynamic image; The data collector periodically collects the valve opening value according to the data collection cycle; When the current acquisition cycle is the first acquisition cycle, obtaining the initial opening value and simulated execution speed of the valve within the current acquisition cycle includes: determining the zeroth acquisition value of the acquisition device as the initial opening value, and the time interval between the zeroth acquisition value and the first acquisition value as the first acquisition cycle; determining the simulated execution speed according to the preset execution rate and preset movement direction of the valve; When the first acquisition value is received by the acquisition device, the starting opening value and simulated execution speed of the second acquisition cycle are obtained based on the acquisition value of the first acquisition cycle and the actual execution speed, and then input into the preset three-dimensional model. This allows the preset three-dimensional model to acquire the dynamic image of the valve in the second acquisition cycle in real time based on the starting opening value and simulated execution speed, and to display the dynamic image in real time. When a new acquisition value is received, the starting opening value and simulated execution speed of the current acquisition cycle are periodically updated based on the acquisition value and actual execution speed of the previous acquisition cycle. The dynamic image is then acquired and displayed in real time using the corrected starting opening value and simulated execution speed. This process is repeated continuously. When the acquisition value of the previous acquisition cycle is equal to the set opening value of the valve, the acquisition device is controlled to stop acquiring data.
2. The 3D visualization method according to claim 1, characterized in that, The 3D visualization method also includes: When the simulated opening value equals the set opening value of the valve, the acquisition of the dynamic image is stopped.
3. The 3D visualization method according to claim 1, characterized in that, The step of inputting the initial opening value and the simulated execution speed into a preset three-dimensional model includes: The 3D model is retrieved from the database based on the valve's identifier.
4. The 3D visualization method according to claim 1, characterized in that, The valve is a butterfly valve, and the dynamic image is a rotation image of the valve core of the butterfly valve.
5. A 3D visualization device for valve control process, characterized in that, include: The acquisition unit is used to acquire the initial opening value and simulated execution speed of the valve in the current acquisition cycle, wherein the initial opening value is the acquisition value of the acquisition device in the previous acquisition cycle, and the simulated execution speed is the actual execution speed of the valve in the previous acquisition cycle; The processing unit is used to input the initial opening value and the simulated execution speed into a preset three-dimensional model to obtain a dynamic image of the change process of the simulated opening value of the valve within the current acquisition cycle; the three-dimensional model is a parametric virtual valve model constructed proportionally based on the shape and structure of the valve in the field equipment. The display unit is used to display the dynamic image; The data collector periodically collects the valve opening value according to the data collection cycle; When the current acquisition cycle is the first acquisition cycle, obtaining the initial opening value and simulated execution speed of the valve within the current acquisition cycle includes: determining the zeroth acquisition value of the acquisition device as the initial opening value, and the time interval between the zeroth acquisition value and the first acquisition value as the first acquisition cycle; determining the simulated execution speed according to the preset execution rate and preset movement direction of the valve; When the first acquisition value is received by the acquisition device, the starting opening value and simulated execution speed of the second acquisition cycle are obtained based on the acquisition value of the first acquisition cycle and the actual execution speed, and then input into the preset three-dimensional model. This allows the preset three-dimensional model to acquire the dynamic image of the valve in the second acquisition cycle in real time based on the starting opening value and simulated execution speed, and to display the dynamic image in real time. When a new acquisition value is received, the starting opening value and simulated execution speed of the current acquisition cycle are periodically updated based on the acquisition value and actual execution speed of the previous acquisition cycle. The dynamic image is then acquired and displayed in real time using the corrected starting opening value and simulated execution speed. This process is repeated continuously. When the acquisition value of the previous acquisition cycle is equal to the set opening value of the valve, the acquisition device is controlled to stop acquiring data.
6. A 3D visualization device for valve control process, characterized in that, include: The controller is used to acquire the initial opening value and simulated execution speed of the valve in the current acquisition cycle, wherein the initial opening value is the acquisition value of the acquisition device in the previous acquisition cycle, and the simulated execution speed is the actual execution speed of the valve in the previous acquisition cycle; The controller is also used to input the initial opening value and the simulated execution speed into a preset three-dimensional model to obtain a dynamic image of the change process of the simulated opening value of the valve within the current acquisition period; the three-dimensional model is a parameterized virtual valve model constructed proportionally according to the shape and structure of the valve in the field equipment; A visual interface for displaying the dynamic images; The data collector periodically collects the valve opening value according to the data collection cycle; When the current acquisition cycle is the first acquisition cycle, obtaining the initial opening value and simulated execution speed of the valve within the current acquisition cycle includes: determining the zeroth acquisition value of the acquisition device as the initial opening value, and the time interval between the zeroth acquisition value and the first acquisition value as the first acquisition cycle; determining the simulated execution speed according to the preset execution rate and preset movement direction of the valve; When the first acquisition value is received by the acquisition device, the starting opening value and simulated execution speed of the second acquisition cycle are obtained based on the acquisition value of the first acquisition cycle and the actual execution speed, and then input into the preset three-dimensional model. This allows the preset three-dimensional model to acquire the dynamic image of the valve in the second acquisition cycle in real time based on the starting opening value and simulated execution speed, and to display the dynamic image in real time. When a new acquisition value is received, the starting opening value and simulated execution speed of the current acquisition cycle are periodically updated based on the acquisition value and actual execution speed of the previous acquisition cycle. The dynamic image is then acquired and displayed in real time using the corrected starting opening value and simulated execution speed. This process is repeated continuously. When the acquisition value of the previous acquisition cycle is equal to the set opening value of the valve, the acquisition device is controlled to stop acquiring data.
7. A 3D visualization system for valve control processes, characterized in that, include: The valve, the data acquisition device for acquiring the valve opening value, and the 3D visualization device as described in claim 6.
8. A computer-readable storage medium storing a computer program, characterized in that, When the computer program is executed by a processor, it implements the 3D visualization method as described in any one of claims 1 to 4.
Citation Information
Patent Citations
Valve opening control method and device, computer equipment and storage medium
CN112948644A
Valve intelligent diagnosis monitoring system and method, terminal and intelligent terminal
CN113758704A
Opening degree visualization system and method for remote control valve
CN114623282A