Two-dimensional water flow field distribution test method, device and system for engine water jacket
The camera takes an image of the engine water jacket with trace particles, performs binarization processing and trace drawing, which solves the problem of being difficult to accurately analyze the water flow field in the existing technology on a large scale, and realizes high-precision water flow field analysis.
Patent Information
- Application Number
- CN202311632608.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-11-29
- Publication Date
- 2025-05-20
- Estimated Expiration
- 2043-11-29
AI Technical Summary
It is difficult for existing technologies to accurately analyze the water flow field of the engine water jacket within a larger measurement range.
The camera takes a transparent engine water jacket carrying tracer particles, acquires the original image, and determines the center position of the tracer particles through binarization and identification, and draws the traces to determine the distribution of the water flow field.
The accurate analysis of the water flow field of the engine water jacket within a large measurement range is achieved, ensuring the accuracy of the analysis results.
Smart Images

Figure CN117705405B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of engines, and particularly to a method, device and system for testing the two-dimensional water flow field distribution of an engine water jacket. Background Art
[0002] Traditional research on the water flow field of an engine water jacket is based on fluid mechanics simulation methods. And the test methods are to measure the total engine water flow through a water flow meter and then evaluate whether the total engine water flow can meet the design requirements. Therefore, there is currently no complete and specific test method to measure the distribution of the water flow field of the entire engine. Similar methods include ultrasonic velocity measurement method and laser Doppler velocimetry (LDV).
[0003] The basis of the ultrasonic velocity measurement method is that when ultrasonic waves propagate in the direction of the liquid flow in the pipeline, the speed is slightly increased. When propagating in the opposite direction, due to the liquid flow, the sound wave will decelerate. The time difference between the front and back is proportional to the average flow velocity of the fluid in the pipeline, and then the flow velocity of the liquid is obtained.
[0004] Laser Doppler velocimetry is to measure the Doppler signal of the tracer particles passing through the laser probe, and then obtain the flow velocity according to the relationship between the velocity and the Doppler frequency. Since it is a non-contact laser measurement, it has no interference on the flow field, has a wide velocity measurement range, and because most natural particles can generally follow the movement well in the fluid, the measurement accuracy is very high.
[0005] Although the simulation method based on fluid mechanics simulates the water flow field distribution in the engine water jacket, it is limited by objective factors such as the difference between the model and the actual situation, the mesh division, and the setting of boundary conditions, resulting in a certain gap between the simulation results and the actual situation.
[0006] Based on the measurement of the total engine water flow by the water flow meter, only the total water flow of the whole engine can be measured macroscopically, and the distribution of the water flow field in the water jacket cannot be characterized. The measurement result of the ultrasonic velocity measurement method varies greatly with temperature, and when there are impurities or bubbles in the water, it will interfere with the ultrasonic test, resulting in inaccurate measurement results. Although the measurement result of laser Doppler velocimetry is very high, it is limited by the laser probe, and the measurement can only be carried out at a single point, and the measurement range is small and the flow field cannot be analyzed.
[0007] Therefore, the existing technical solutions cannot accurately analyze the water flow field of the engine water jacket within a large measurement range. Summary of the Invention
[0008] In view of this, it is necessary to provide a method, device and system for testing the two-dimensional water flow field distribution of an engine water jacket to solve the technical problem that the water flow field of the engine water jacket cannot be accurately analyzed within a large measurement range.
[0009] To achieve the above object, the present invention provides a method for testing the two-dimensional water flow field distribution of an engine water jacket, including:
[0010] Obtain an original image; the original image is obtained by a camera shooting a transparent engine water jacket carrying tracer particles;
[0011] Determine the connected regions and the central positions of each tracer particle in the binary image corresponding to the original image;
[0012] Connect the connected regions and the central positions of each tracer particle in the binary images corresponding to adjacent frames of the original image in sequence to draw a trace line;
[0013] Based on the trace line, determine the two-dimensional water flow field distribution result of the transparent engine water jacket.
[0014] Further, before determining the connected regions and the central positions of each tracer particle in the binary image corresponding to the original image, it further includes:
[0015] Perform binary processing on the original image to obtain an initial binary image;
[0016] Perform background removal processing on the initial binary image to obtain the binary image corresponding to the original image.
[0017] Further, the step of performing background removal processing on the initial binary image to obtain the binary image corresponding to the original image includes:
[0018] Perform differential processing on the binary images corresponding to adjacent frames of the original image to remove the background in the binary image corresponding to the original image to obtain the binary image corresponding to the original image; or,
[0019] Perform differential processing on the binary image corresponding to the original image and the binary image corresponding to the background image to remove the background in the binary image corresponding to the original image to obtain the binary image corresponding to the original image;
[0020] Wherein, the background image is obtained by the camera shooting a transparent engine water jacket without carrying tracer particles.
[0021] Further, before performing differential processing on the binary image corresponding to the original image and the binary image corresponding to the background image, it further includes:
[0022] Perform background removal processing on the water jacket boundary of the background image and then perform binary processing to obtain the binary image corresponding to the background image.
[0023] Further, before determining the connected regions and the central positions of the tracer particles in the binary image corresponding to the original image, the method further includes:
[0024] Removing the background from the original image to obtain a background-removed original image;
[0025] Performing binary processing on the background-removed original image to obtain the binary image corresponding to the original image.
[0026] Further, the removing the background from the original image to obtain a background-removed original image includes:
[0027] Performing differential processing on adjacent-frame original images to remove the background from the original image and obtain a background-removed original image; or
[0028] Performing differential processing on the original image and a background image to remove the background from the original image and obtain a background-removed original image;
[0029] Wherein, the background image is obtained by photographing a transparent engine water jacket without tracer particles by the camera.
[0030] Further, the determining the two-dimensional water flow field distribution result of the transparent engine water jacket based on the trace lines includes:
[0031] Based on the trace lines, determining the central displacement of the tracer particles and the central offset angle of the tracer particles corresponding to adjacent-frame original images;
[0032] Performing statistical analysis on the central displacement of the tracer particles and the central offset angle of the tracer particles to obtain the two-dimensional water flow field distribution result of the engine water jacket.
[0033] The present invention further provides a two-dimensional water flow field distribution test device for an engine water jacket, including:
[0034] An acquisition module, configured to acquire an original image; the original image is obtained by photographing a transparent engine water jacket carrying tracer particles by a camera;
[0035] A first determination module, configured to determine the connected regions and the central positions of the tracer particles in the binary image corresponding to the original image;
[0036] A drawing module, configured to sequentially connect the connected regions and the central positions of the tracer particles in the binary images corresponding to adjacent-frame original images to draw trace lines;
[0037] A second determination module, configured to determine the two-dimensional water flow field distribution result of the transparent engine water jacket based on the trace lines.
[0038] The present invention also provides a test system for the two-dimensional water flow field distribution of an engine water jacket, including:
[0039] A water tank with tracer particles;
[0040] A water pump;
[0041] A transparent engine water jacket, which is connected to the water tank and the water pump to form a loop;
[0042] A camera, which is disposed opposite to the transparent engine water jacket and is used to take pictures of the transparent engine water jacket;
[0043] A data processing device, which is communicatively connected to the camera and is used to execute the method described in any one of the above.
[0044] The present invention also provides an electronic device, including a memory and a processor, wherein,
[0045] The memory is used to store programs;
[0046] The processor is coupled to the memory and is used to execute the program stored in the memory to implement the steps in the method for testing the two-dimensional water flow field distribution of the engine water jacket described in any one of the above.
[0047] The beneficial effects of adopting the above implementation manner are as follows: The method, device and system for testing the two-dimensional water flow field distribution of the engine water jacket provided by the present invention obtain an original image by taking pictures of the transparent engine water jacket carrying tracer particles with a camera, and determine the connected regions and the central positions of each tracer particle in the binary image corresponding to the original image. Then, the connected regions and the central positions of each tracer particle in the binary images corresponding to adjacent frames of the original images are connected in sequence to draw a trace line. The particle flow field distribution cloud map can be determined through the drawn trace line. The flow velocity and direction of each tracer particle in the water jacket can be seen from the cloud map, and this cloud map is also the result of the two-dimensional water flow field distribution of the engine water jacket. By performing binary processing and recognition on the original image, the present invention can be not affected by the speed measurement range of the tracer particles, use the binary image to determine the central position of the tracer particle, and further determine the water flow field distribution, which can ensure the accuracy of the analysis result. Therefore, the present invention can achieve accurate analysis of the water flow field of the engine water jacket within a relatively large measurement range. Description of the Drawings
[0048] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following will briefly introduce the drawings required for the description of the embodiments. Obviously, the following drawings are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative efforts.
[0049] Figure 1 Flow chart of an embodiment of the two-dimensional water flow field distribution test method for the engine water jacket provided by the present invention;
[0050] Figure 2 Structural schematic diagram of the test bench built according to the present invention;
[0051] Figure 3 Flow chart of another embodiment of the two-dimensional water flow field distribution test method for the engine water jacket provided by the present invention;
[0052] Figure 4 Flow chart of yet another embodiment of the two-dimensional water flow field distribution test method for the engine water jacket provided by the present invention;
[0053] Figure 5 Principle block diagram of the two-dimensional water flow field distribution test device for the engine water jacket provided by the present invention;
[0054] Figure 6 Structural schematic diagram of an embodiment of the electronic device provided by the present invention. Detailed implementation manners
[0055] Next, the technical solutions in the embodiments of the present invention will be clearly and completely described in conjunction with the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only a part of the embodiments of the present invention, rather than all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative efforts belong to the scope of protection of the present invention.
[0056] In the description of the embodiments of the present application, unless otherwise specified, the meaning of "a plurality" is two or more.
[0057] In the embodiments of the present invention, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusion. For example, a process, method, device, product or equipment that includes a series of steps or modules does not necessarily have to be limited to those clearly listed steps or modules, but may include other steps or modules that are not clearly listed or are inherent to these processes, methods, products or equipment.
[0058] In the embodiments of the present invention, the naming or numbering of the steps does not mean that the steps in the method flow must be executed in the time / logical order indicated by the naming or numbering. The named or numbered process steps can be changed in the execution order according to the technical purpose to be achieved, as long as the same or similar technical effects can be achieved.
[0059] References to "embodiments" in this specification mean that the particular features, structures, or characteristics described in connection with the embodiments can be included in at least one embodiment of the invention. The phrase appears in various places in the specification and does not necessarily refer to the same embodiment, nor is it an independent or alternative embodiment mutually exclusive with other embodiments. Those skilled in the art will explicitly and implicitly understand that the embodiments described herein can be combined with other embodiments.
[0060] The present invention provides a method, device, and system for testing the two-dimensional water flow field distribution of an engine water jacket, which will be described separately below.
[0061] As Figure 1 shown, the present invention provides a method for testing the two-dimensional water flow field distribution of an engine water jacket, including:
[0062] Step 110: Obtain an original image; the original image is obtained by a camera photographing a transparent engine water jacket carrying tracer particles.
[0063] Step 120: Determine the connected regions and the central positions of each tracer particle in the binary image corresponding to the original image.
[0064] Step 130: Connect the connected regions and the central positions of each tracer particle in the binary images corresponding to adjacent frames of the original images in sequence to draw a trace line.
[0065] Step 140: Based on the trace line, determine the two-dimensional water flow field distribution result of the transparent engine water jacket.
[0066] It can be understood that this embodiment can be set up according to Figure 2 a test bench. The test bench consists of a water tank 210 with tracer particles, a variable-frequency water pump 220, a valve 230, an electromagnetic flowmeter 240, a DC lamp 250, a pressure sensor 260, a high-speed camera 270, a transparent engine 280, and a bypass circuit 290 to form a closed loop. Specifically, the cooling water with tracer particles is stored in the water tank 210. After being driven and output by the variable-frequency water pump 220, the cooling water is divided into two paths. One path enters the circulation loop, passes through the electromagnetic flowmeter 240 and then enters the transparent engine 280. The transparent engine water jacket is provided inside the transparent engine 280. The tracer particles entering the transparent engine 280 from the outside will enter the transparent engine water jacket and then come out of the transparent engine water jacket to form a loop. The cooling water coming out of the transparent engine 280 directly returns to the water tank 210; the other path is the bypass circuit 290, and the cooling water directly returns to the water tank after coming out of the variable-frequency water pump 220. The variable-frequency water pump 220 can adjust the water pump speed, thereby realizing continuously adjustable flow rate. Combined with the opening degree of the bypass circuit valve, the water flow rate of the transparent engine 280 can be continuously adjusted.
[0067] In this embodiment, a fully transparent organic glass material is used to restore the engine water jacket according to a 1:1 ratio. Then, the fully transparent engine water jacket is placed in a closed circulation system consisting of a water tank with tracer particles (diameter 0.5 mm, specific gravity 1:1 with water), a variable-frequency water pump, valves, an electromagnetic flowmeter, a DC lamp, a pressure sensor, a high-speed camera, and pipelines. By changing the output of the frequency converter, the water flow rate of the water pump is changed, thereby simulating the water flow condition of the engine. After the water flow rate is stabilized, the high-speed camera is used to photograph the test point part of the fully transparent engine. Two types of images, namely the original image (image with tracer particles) and the background image (image without tracer particles), can be photographed at each point.
[0068] The photographed images adopt the method of static image difference to remove the background. After processing the image sequence by the image sequence difference method, only the image sequence of the part where the particles are located remains in the image. After binarizing it, the preprocessed binary image sequence is obtained. Some tracer particles will be broken by the water pump impeller due to the agitation of the water pump. Therefore, the particle images in the obtained binary image are not standard circles. So, in this embodiment, the centroid of the particle connected domain can be used to replace the particle center in the binary image.
[0069] The specific test method is as follows:
[0070] Test condition adjustment: Taking the engine torque point water flow rate of 190 L / min as an example, adjust the opening degrees of the variable-frequency water pump and the bypass loop valve to make the electromagnetic flowmeter stable at a reading of 190 L / min ± 5 L / min.
[0071] Image shooting: Use the high-speed camera to focus on the position of the water jacket of cylinder 1 of the transparent engine and then shoot an original image sequence with tracer particles at a shooting frequency of 500 Hz for 5 s. Then stop the water pump and shoot 3 background images without tracer particles.
[0072] Image processing, the process is as Figure 3 shown:
[0073] Select a background image without tracer particles, use the PS (Photoshop) software to cut out the boundary of the water jacket to obtain the background image without the boundary, and then run the program to process and obtain the binary image corresponding to the background image;
[0074] Run the program for the photographed original image sequence to obtain the binary image sequence corresponding to the original image and the binary center point image sequence corresponding to the original image;
[0075] Put the binary image corresponding to the background image into the folders of the binary image sequence corresponding to the original image and the binary center point image sequence corresponding to the original image, and run the program, then the binary center point image sequence without the boundary corresponding to the original image is obtained;
[0076] Input the sequence of binary center point images without boundaries corresponding to the original images into MATLAB software, and the distribution of the tracer particle flow field can be obtained;
[0077] Use MATLAB software to perform statistical analysis on the tracer particles and draw the contour map of the particle flow field distribution, which is the distribution result of the two-dimensional water flow field in the engine water jacket. The flow velocity and direction of each tracer particle in the water jacket can be seen from the contour map.
[0078] In some embodiments, before determining the connected regions and the central positions of each tracer particle in the binary image corresponding to the original image, it further includes:
[0079] Perform binary processing on the original image to obtain an initial binary image;
[0080] Perform background removal processing on the initial binary image to obtain the binary image corresponding to the original image.
[0081] It can be understood that the binary processing of an image is to set the gray value of the pixel points on the image to 0 or 255, that is, to present the entire image with an obvious visual effect of only black and white.
[0082] In this embodiment, the original image is first subjected to binary processing and then the background is removed. The purpose of background removal is to remove the part of the original image outside the tracer particles and only retain the tracer particles.
[0083] In some embodiments, the step of performing background removal processing on the initial binary image to obtain the binary image corresponding to the original image includes:
[0084] Perform differential processing on the binary images corresponding to adjacent frames of the original images to remove the background in the binary image corresponding to the original image and obtain the binary image corresponding to the original image; or,
[0085] Perform differential processing on the binary image corresponding to the original image and the binary image corresponding to the background image to remove the background in the binary image corresponding to the original image and obtain the binary image corresponding to the original image;
[0086] Wherein, the background image is obtained by the camera photographing a transparent engine water jacket without tracer particles.
[0087] It can be understood that differential processing can be performed on the binary images corresponding to every two adjacent frames of the original images, that is, subtraction processing is performed on the binary images corresponding to adjacent frames of the original images to determine the background to be removed, and then the background in the binary image corresponding to the original image is removed.
[0088] Of course, in this embodiment, the background image obtained by shooting can also be selected to remove the background in the binary image corresponding to the original image.
[0089] In some embodiments, before differentiating the binary image corresponding to the original image and the binary image corresponding to the background image, it further includes:
[0090] After performing water jacket boundary removal processing on the background image, perform binary processing to obtain the binary image corresponding to the background image.
[0091] It can be understood that there will be a water jacket boundary in the background image captured by the camera. In order to avoid introducing errors in the above background removal step, before differentiating the binary image corresponding to the original image and the binary image corresponding to the background image, first remove the water jacket boundary of the background image and then perform binary processing to obtain the corresponding binary image.
[0092] In some embodiments, as Figure 4 shown, before determining the connected regions and the central positions of each tracer particle in the binary image corresponding to the original image, it further includes:
[0093] Remove the background from the original image to obtain a background-removed original image;
[0094] Perform binary processing on the background-removed original image to obtain the binary image corresponding to the original image.
[0095] It can be understood that when the camera captures the original image, there will be a background in the obtained original image. The background in the original image can be removed first and then binary processing can be performed to obtain the corresponding binary image.
[0096] In some embodiments, the removing the background from the original image to obtain a background-removed original image includes:
[0097] Perform differential processing on adjacent frame original images to remove the background from the original image to obtain a background-removed original image; or,
[0098] Perform differential processing on the original image and the background image to remove the background from the original image to obtain a background-removed original image;
[0099] Wherein, the background image is obtained by the camera shooting a transparent engine water jacket without tracer particles.
[0100] It can be understood that different from the background removal of the binary image in the above embodiment, in this embodiment, after obtaining the original image, the background in the original image is removed first and then the original image is subjected to binary processing.
[0101] In some embodiments, determining the two-dimensional water flow field distribution result of the transparent engine water jacket based on the trace line includes:
[0102] Based on the trace line, determining the center displacement of the tracer particles and the center offset angle of the tracer particles corresponding to the original images of adjacent frames;
[0103] Performing statistical analysis on the center displacement of the tracer particles and the center offset angle of the tracer particles to obtain the two-dimensional water flow field distribution result of the engine water jacket.
[0104] It can be understood that in this embodiment, MATLAB programming can be used to find the center of the tracer particles and obtain their coordinates (pixel coordinate values) in the image, and then an image sequence of the center coordinates of the tracer particles can be obtained. Using Image Pro Plus software to merge the image sequence of the center of the tracer particles can obtain the motion trajectory map of the particles, and at the same time, the moving speed and angle of the center of the particles in adjacent images can also be obtained. Then, the coordinates, moving distance, and angle of the tracer particles in the image are imported into tecplot software to obtain the velocity cloud map, and further obtain the two-dimensional water flow field in the water jacket during the shooting period.
[0105] In summary, the method for testing the two-dimensional water flow field distribution of the engine water jacket provided by the present invention includes: acquiring an original image; the original image is obtained by shooting a transparent engine water jacket carrying tracer particles by a camera; determining the connected regions and the center positions of each tracer particle in the binary image corresponding to the original image; connecting the connected regions and the center positions of each tracer particle in the binary images corresponding to adjacent frames of the original images in sequence to draw a trace line; based on the trace line, determining the two-dimensional water flow field distribution result of the transparent engine water jacket.
[0106] The method for testing the two-dimensional water flow field distribution of the engine water jacket provided by the present invention obtains an original image by shooting a transparent engine water jacket carrying tracer particles by a camera, determines the connected regions and the center positions of each tracer particle in the binary image corresponding to the original image, then connects the connected regions and the center positions of each tracer particle in the binary images corresponding to adjacent frames of the original images in sequence to draw a trace line, and can determine the particle flow field distribution cloud map through the drawn trace line. The flow velocity and direction of each tracer particle in the water jacket can be seen from the cloud map, and this cloud map is also the two-dimensional water flow field distribution result of the engine water jacket. By performing binary processing and recognition on the original image, the present invention can be not affected by the speed measurement range of the tracer particles, use the binary image to determine the center position of the tracer particles, and then determine the water flow field distribution, which can ensure the accuracy of the analysis result. Therefore, the present invention can achieve accurate analysis of the water flow field of the engine water jacket within a large measurement range.
[0107] Such asFigure 5 As shown in the figure, the present invention also provides a two-dimensional water flow field distribution test device 500 for an engine water jacket, including:
[0108] An acquisition module 510, configured to acquire an original image; the original image is obtained by a camera photographing a transparent engine water jacket carrying tracer particles;
[0109] A first determination module 520, configured to determine the connected regions and the central positions of each tracer particle in the binary image corresponding to the original image;
[0110] A drawing module 530, configured to sequentially connect the connected regions and the central positions of each tracer particle in the binary images corresponding to adjacent frames of the original image to draw a trace line;
[0111] A second determination module 540, configured to determine the two-dimensional water flow field distribution result of the transparent engine water jacket based on the trace line.
[0112] The present invention also provides a two-dimensional water flow field distribution test system for an engine water jacket. This system can refer to the above method and device. This system includes:
[0113] A water tank with tracer particles;
[0114] A water pump, and this water pump is a variable-frequency water pump;
[0115] A transparent engine water jacket, which is connected to the water tank and the water pump to form a loop;
[0116] A camera, which is disposed opposite to the transparent engine water jacket and is used to take pictures of the transparent engine water jacket;
[0117] A data processing device, which is communicatively connected to the camera and is used to execute the method according to any one of claims 1-7.
[0118] The two-dimensional water flow field distribution test device for an engine water jacket provided in the above embodiments can implement the technical solutions described in the above embodiments of the two-dimensional water flow field distribution test method for an engine water jacket. For the specific implementation principles of the above modules or units, reference can be made to the corresponding contents in the above embodiments of the two-dimensional water flow field distribution test method for an engine water jacket, which will not be elaborated here.
[0119] As Figure 6 shown, the present invention also correspondingly provides an electronic device 600. This electronic device 600 includes a processor 601, a memory 602, and a display 603. Figure 6 Only some components of the electronic device 600 are shown, but it should be understood that it is not required to implement all the shown components, and more or fewer components can be alternatively implemented.
[0120] The memory 602 can be an internal storage unit of the electronic device 600 in some embodiments, such as the hard disk or memory of the electronic device 600. The memory 602 can also be an external storage device of the electronic device 600 in other embodiments, such as a plug-in hard disk equipped on the electronic device 600, a Smart Media Card (SMC), a Secure Digital (SD) card, a Flash Card, etc.
[0121] Furthermore, the memory 602 can also include both the internal storage unit of the electronic device 600 and the external storage device. The memory 602 is used to store the application software installed in the electronic device 600 and various types of data.
[0122] The processor 601 can be a Central Processing Unit (CPU), a microprocessor or other data processing chips in some embodiments, and is used to run the program code stored in the memory 602 or process data, such as the two-dimensional water flow field distribution test method of the engine water jacket in the present invention.
[0123] The display 603 can be an LED display, a liquid crystal display, a touch liquid crystal display, and an OLED (Organic Light-Emitting Diode) toucher, etc. in some embodiments. The display 603 is used to display the information in the electronic device 600 and to display a visual user interface. The components 601 - 603 of the electronic device 600 communicate with each other through a system bus.
[0124] In some embodiments of the present invention, when the processor 601 executes the two-dimensional water flow field distribution test program of the engine water jacket in the memory 602, the following steps can be achieved:
[0125] Obtain an original image; the original image is obtained by a camera shooting a transparent engine water jacket carrying tracer particles;
[0126] Determine the connected regions and the central positions of each tracer particle in the binary image corresponding to the original image;
[0127] Connect the connected regions and the central positions of each tracer particle in the binary images corresponding to adjacent frames of the original image in sequence to draw a trace line;
[0128] Based on the trace line, determine the two-dimensional water flow field distribution result of the transparent engine water jacket.
[0129] It should be understood that when the processor 601 executes the two-dimensional water flow field distribution test program of the engine water jacket in the memory 602, in addition to the above functions, other functions can also be realized. For specific details, reference can be made to the description of the corresponding method embodiments above.
[0130] Furthermore, the type of the electronic device 600 mentioned in the embodiments of the present invention is not specifically limited. The electronic device 600 can be a portable electronic device such as a mobile phone, a tablet computer, a personal digital assistant (PDA), a wearable device, a laptop computer, etc. Exemplary embodiments of the portable electronic device include, but are not limited to, portable electronic devices equipped with IOS, android, microsoft or other operating systems. The above portable electronic devices can also be other portable electronic devices, such as a laptop computer with a touch-sensitive surface (such as a touch panel). It should also be understood that in some other embodiments of the present invention, the electronic device 600 may not be a portable electronic device, but a desktop computer with a touch-sensitive surface (such as a touch panel).
[0131] On the other hand, the present invention also provides a non-transitory computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, it is configured to execute the two-dimensional water flow field distribution test method of the engine water jacket provided by the above-mentioned various methods. The method includes:
[0132] Obtain an original image; the original image is obtained by a camera photographing a transparent engine water jacket carrying tracer particles;
[0133] Determine the connected regions and the central positions of each tracer particle in the binary image corresponding to the original image;
[0134] Connect the connected regions and the central positions of each tracer particle in the binary images corresponding to adjacent frames of the original images in sequence to draw a trace line;
[0135] Based on the trace line, determine the two-dimensional water flow field distribution result of the transparent engine water jacket.
[0136] Those skilled in the art can understand that all or part of the processes of implementing the methods in the above embodiments can be completed by instructing relevant hardware through a computer program. The program can be stored in a computer-readable storage medium. Among them, the computer-readable storage medium is a disk, an optical disc, a read-only memory or a random access memory, etc.
[0137] The above has introduced in detail the method, device and system for testing the two-dimensional water flow field distribution of the engine water jacket provided by the present invention. Specific examples are used in this article to elaborate on the principle and implementation manner of the present invention. The description of the above embodiments is only used to help understand the method and its core idea of the present invention; at the same time, for those skilled in the art, according to the idea of the present invention, there will be changes in the specific implementation manner and application scope. In summary, the content of this specification should not be construed as a limitation to the present invention.
Claims
1. A two-dimensional water flow field distribution test method for an engine water jacket, characterized in that: include: Acquire an original image; the original image is obtained by photographing a transparent engine water jacket carrying tracer particles with a camera; Determine the connected domain and the center position of each tracer particle in the binary image corresponding to the original image; Connect the connected domains in the binary images corresponding to the original images of adjacent frames and the center positions of the tracer particles in sequence to draw traces; Based on the trace, determining a two-dimensional water flow field distribution result of the transparent engine water jacket; Determining the two-dimensional water flow field distribution result of the transparent engine water jacket based on the trace includes: Based on the traces, determining the center displacement of the tracer particles and the center offset angle of the tracer particles corresponding to the original images of adjacent frames; The center displacement of the tracer particle and the center offset angle of the tracer particle are statistically analyzed to obtain the two-dimensional water flow field distribution result of the engine water jacket.
2. The two-dimensional water flow field distribution test method of the engine water jacket according to claim 1, characterized in that: Before determining the connected domain and the center position of each tracer particle in the binary image corresponding to the original image, the method further includes: Performing binarization processing on the original image to obtain an initial binarized image; The initial binary image is subjected to background removal processing to obtain a binary image corresponding to the original image.
3. The two-dimensional water flow field distribution test method of the engine water jacket according to claim 2, characterized in that: The process of performing background removal processing on the initial binary image to obtain a binary image corresponding to the original image includes: Performing difference processing on the binary images corresponding to the original images of adjacent frames to remove the background in the binary images corresponding to the original images to obtain the binary images corresponding to the original images; or, Subtracting the binary image corresponding to the original image from the binary image corresponding to the background image to remove the background in the binary image corresponding to the original image, thereby obtaining the binary image corresponding to the original image; The background image is obtained by photographing a transparent engine water jacket without tracer particles by the camera.
4. The two-dimensional water flow field distribution test method of the engine water jacket according to claim 3, characterized in that: Before performing a difference between the binary image corresponding to the original image and the binary image corresponding to the background image, the method further includes: After the background image is processed to remove the water jacket boundary, it is binarized to obtain a binarized image corresponding to the background image.
5. The two-dimensional water flow field distribution test method of the engine water jacket according to claim 1, characterized in that: Before determining the connected domain and the center position of each tracer particle in the binary image corresponding to the original image, the method further includes: removing the background of the original image to obtain the original image with the background removed; The background-removed original image is binarized to obtain a binarized image corresponding to the original image.
6. The two-dimensional water flow field distribution test method of the engine water jacket according to claim 5, characterized in that: The step of removing the background of the original image to obtain the original image without the background comprises: Performing difference processing on the original images of adjacent frames to remove the background of the original images to obtain the original images with the background removed; or, Performing differential processing on the original image and the background image to remove the background of the original image and obtain the original image with the background removed; The background image is obtained by photographing a transparent engine water jacket without tracer particles by the camera.
7. A two-dimensional water flow field distribution test device for an engine water jacket, characterized in that: include: An acquisition module is used to acquire an original image; the original image is obtained by photographing a transparent engine water jacket carrying tracer particles with a camera; A first determination module is used to determine the connected domain and the center position of each tracer particle in the binary image corresponding to the original image; A drawing module is used to sequentially connect the connected domains in the binary images corresponding to the original images of adjacent frames and the center positions of each tracer particle to draw a trace line; A second determination module, configured to determine a two-dimensional water flow field distribution result of the transparent engine water jacket based on the trace; Determining the two-dimensional water flow field distribution result of the transparent engine water jacket based on the trace includes: Based on the traces, determining the center displacement of the tracer particles and the center offset angle of the tracer particles corresponding to the original images of adjacent frames; The center displacement of the tracer particle and the center offset angle of the tracer particle are statistically analyzed to obtain the two-dimensional water flow field distribution result of the engine water jacket.
8. A two-dimensional water flow field distribution test system for an engine water jacket, characterized in that: include: water tank with tracer particles; Water pump; A transparent engine water jacket, connected with the water tank and the water pump to form a loop; A camera, arranged opposite to the transparent engine water jacket, for taking pictures of the transparent engine water jacket; A data processing device, communicatively connected to the camera, for executing the method according to any one of claims 1 to 6.
9. An electronic device, characterized in that: comprising a memory and a processor, wherein: The memory is used to store programs; The processor is coupled to the memory and is used to execute the program stored in the memory to implement the steps in the two-dimensional water flow field distribution test method of the engine water jacket as described in any one of claims 1 to 6.
Citation Information
Patent Citations
Method and device for simultaneously acquiring gas-phase flow velocity field and solid-phase flow velocity field
CN108593958A
Image correction and splicing method, related device, equipment, system and storage medium
CN114359322A
Flume test surface flow field measurement method and system based on fluorescent tracer particles
CN115684642A