A helicopter VNE automated testing system and method
Through the automated test system based on image processing, the complex redundancy and low accuracy problems of visual estimation in helicopter VNE testing are solved, and accurate automated testing and real-time identification of helicopter VNE are achieved, which is suitable for the safety requirements of airborne display equipment. Improved testing efficiency and accuracy.
Patent Information
- Application Number
- CN202111382052.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-11-19
- Publication Date
- 2024-09-24
- Estimated Expiration
- 2041-11-19
AI Technical Summary
The existing technology has the problems of complicated and redundant visual estimation and low accuracy in helicopter VNE testing, making it difficult to achieve fast and accurate automated testing, especially due to the large matching error of complex graphic symbols and the difficulty in adapting to the safety and reliability of airborne display equipment. sexual requirements.
An automated test system based on image processing is used, including a simulation excitation module, an image acquisition module and a VNE identification module. The airborne display device interface image is collected through the camera to perform image preprocessing, indicator line positioning, reference scale identification and VNE value estimation. Combined with The template matching algorithm realizes accurate identification of VNE parameters and result discrimination.
It achieves accurate automated testing of helicopter VNE, improves test efficiency and accuracy, can identify dynamically changing VNE values in real time, and is suitable for the safety requirements of airborne display equipment, extending to the identification and alarm of other parameters.
Smart Images

Figure CN114092843B
Abstract
Description
Technical Field
[0001] The invention belongs to the field of testing technology, and in particular relates to an image processing-based helicopter VNE automatic testing system and method. Background Art
[0002] The speed not to be exceeded (VNE) means that the aircraft is prohibited from operating above this speed, otherwise it will cause damage to the fuselage structure, control failure or other situations that directly affect flight safety. In the process of helicopter testing and flight testing, VNE is an important indicator to measure the performance of helicopters. Its formulation needs to go through rigorous theoretical demonstration and flight test demonstration. Therefore, the accuracy and stability of the test will directly affect the economy and market prospects of a new model.
[0003] The speed that cannot be exceeded is divided into powered VNE and unpowered VNE. The former refers to the speed that cannot be exceeded when the engine provides power normally, and the latter refers to the speed that cannot be exceeded when the engine power is disconnected. Both are affected by altitude, rotor speed, temperature and mass. In the avionics ground joint test, the VNE test is based on multiple airborne sensor variables as input. The test result is obtained by changing the input value and comparing whether the VNE value on the airspeed indicator is equal to the actual calculated value. Conventional testing methods often require manual input of test cases and use visual estimation to compare test cases. This is not only time-consuming and labor-intensive, but also has a low test accuracy, which brings great difficulties to the helicopter performance parameter test demonstration. In addition, the VNE test requires many test cases to achieve coverage testing. Combined with the characteristics of ground joint testing, the total number of test case executions will be very large, so it is very challenging to quickly and accurately identify VNE.
[0004] At present, the existing technology has methods for implementing automated testing through user interfaces. The main strategy is to take screenshots of the areas of interest in the user interface and match the screenshot areas for result comparison. However, there is a problem of low accuracy, and the matching error is large for complex graphic symbols. Although the control can be tested by simulating operation information to interact with the client, it is difficult to meet the safety and reliability requirements of airborne display equipment because the communication process must know the client's communication protocol. The automated testing method using AI recognition devices requires shooting and labeling a variety of different images according to actual scenes. The process requires a lot of manual intervention, and there are many requirements for the conditions of image shooting. The actual operation process is complicated. After analyzing the existing automated testing methods, it is not yet involved in the automated testing methods of helicopter VNE. Whether from the perspective of fixed tasks or non-fixed tasks, the existing automated testing methods are difficult to adapt to their testing needs. Summary of the invention
[0005] The purpose of the present invention is to provide a helicopter VNE automatic testing system and method based on image processing, so as to solve the problems of complicated redundancy and low precision caused by visual estimation in the VNE testing process, thereby improving the efficiency of VNE automatic testing.
[0006] In order to achieve the above tasks, the present invention adopts the following technical solutions:
[0007] A helicopter VNE automatic test system, comprising:
[0008] A simulation excitation module is used to read a test case from a test case table, obtain sensor parameters in the test case, obtain a value of VNE based on the sensor parameters, and display the VNE value in an airspeed scale of an onboard display device of the helicopter;
[0009] An image acquisition module is used to use a camera to acquire images of the helicopter onboard display device interface, wherein the camera acquisition process is triggered by a test case, and the camera acquires an image each time the simulation stimulus module reads a test case;
[0010] The VNE identification module is used to analyze VNE parameters based on the collected images. The process includes image preprocessing, indicator line positioning, reference scale identification, and VNE value estimation.
[0011] The result judgment and output module is used to read the true value of the powered VNE and unpowered VNE of the test case from the test case table, and to judge the result of the true value and the test value obtained by analysis. When the difference between the two is within the set error range, the judgment and identification are correct; when all the test cases in the test case table are executed, statistical charts are output according to the execution results.
[0012] A helicopter VNE automated testing method comprises the following steps:
[0013] Read the test case table and initialize the camera; inject parameters into the VNE calculation model through the sensor parameters in a single test case, and display the VNE value indication result in the airspeed scale of the onboard display device;
[0014] Read a single test case and generate a trigger signal, so that the camera can capture the interface image of the onboard display device;
[0015] After receiving the image data, the computer performs image preprocessing to highlight the details of the image by denoising and enhancing;
[0016] Extract the area where the airspeed scale is located and locate the power-on VNE and power-off VNE indicator lines;
[0017] Extract the real-time airspeed area in the airspeed scale and identify the real-time airspeed, thereby locating the value and position corresponding to the reference scale;
[0018] The upper and lower reference scales are converted by positional relationship to obtain the estimated values of the indicator lines corresponding to the powered VNE and the unpowered VNE;
[0019] The estimated values of powered VNE and unpowered VNE are compared with the true values of powered VNE and unpowered VNE in the test case table to obtain the test results, which are displayed and output.
[0020] Further, the extracting the area where the airspeed scale is located includes:
[0021] Before the test begins, fix the position of the camera, capture a frame of the airborne display device interface image, obtain the position information of the airspeed scale in an interactive manner, and use the area where the airspeed scale is located as the ROI area; select the corner points of the airspeed scale with the mouse and record the positions; when subsequently capturing the airborne display device interface image, the recorded positions can be used to locate the ROI area.
[0022] Further, the positioning of the powered VNE and unpowered VNE indicator lines includes:
[0023] The ROI area is converted into the HSV color space, and then divided by a binary threshold, to obtain a first binary image corresponding to red and a second binary image corresponding to white; wherein the first binary image contains an indication line of a powered VNE, and the second binary image contains an indication line of a non-powered VNE;
[0024] For the first binary image and the second binary image, Hough transform is used for straight line detection, and the length characteristics of the indicator lines corresponding to the powered VNE and the unpowered VNE are used to screen the straight lines that meet the conditions, so as to obtain the positions of the upper and lower edges of the powered VNE indicator line and the unpowered VNE indicator line in the first binary image and the second binary image respectively, and finally the center positions of the upper and lower edges are taken as the positions of the powered VNE indicator line and the unpowered VNE indicator line.
[0025] Further, extracting the real-time airspeed area in the airspeed scale includes:
[0026] Firstly, the HSV color space is used to extract the color features of the airspeed scale and convert it into a binary image. Then, the Hough transform is used to obtain the upper and lower straight lines of the real-time airspeed area, so as to locate the real-time airspeed area.
[0027] Further, the identifying of the real-time airspeed includes:
[0028] The vertical projection method is used to segment the characters in the real-time airspeed area. First, the approximate height range of the characters in the image is determined, and then the left start and right end positions of each character are determined. The characters are scanned line by line from bottom to top and from top to bottom, respectively, to obtain the precise height range of each character.
[0029] A template matching algorithm is used to identify single digits, where template matching uses the similarity measurement of feature points to match, thereby achieving accurate matching between the source image and the template image.
[0030] Furthermore, the locating the value and position corresponding to the reference scale includes:
[0031] The upper and lower reference scale positions of the image are identified and located by the template matching method, specifically:
[0032] a) Create a template library, where each template image is a number that is a whole ten, and the images are named according to the number;
[0033] b) extracting the numerical region of the scale band so that the width is the same as the width of the template image;
[0034] c) firstly, according to the identified real-time airspeed, determine the upper reference scale template and the lower reference scale template, specifically, add or subtract an increment to the real-time airspeed, and then find the template closest to the real-time airspeed after adding the increment or after the deceleration increment in the template library as the upper reference scale template and the lower reference scale template;
[0035] d) Read the upper reference scale template from the template library, and slide the scale band area from top to bottom in sequence. Each slide obtains a similarity, and the position with the greatest similarity is the position of the upper reference scale; for the positioning of the lower reference scale, repeat the above steps.
[0036] Furthermore, the estimated values of the indicator lines corresponding to the powered VNE and the unpowered VNE are obtained by converting the position relationship. The specific formula is:
[0037]
[0038] in, S u , S d , S VNE Respectively represent the upper reference scale value, the lower reference scale value and the VNE estimated value, l u , l d Respectively represent the upper reference scale coordinate and the lower reference scale coordinate;
[0039] lVNE It represents the position of the powered VNE indicator line or the position of the unpowered VNE indicator line. Substituting the position of the powered VNE indicator line or the position of the unpowered VNE indicator line into the above formula respectively, the calculated VNE estimated value is the powered VNE estimated value and the unpowered VNE estimated value.
[0040] Compared with the prior art, the present invention has the following technical features:
[0041] 1. The present invention provides a hardware and software system combining a camera and an image processing algorithm, which can realize use case simulation stimulation, image acquisition, VNE identification, and test result comparison output; the present invention provides an automatic VNE testing method for airborne display devices based on image processing to realize accurate and automatic VNE testing.
[0042] 2. The automatic recognition algorithm in the present invention realizes the estimation of VNE value through the processes of image preprocessing, indicator line positioning, airspeed area acquisition, reference scale value positioning, VNE value estimation, etc., and recognizes the VNE value in the real-time dynamically changing airborne display device in real time, which not only realizes the automatic recognition of VNE, but can also be used for airborne VNE warning.
[0043] 3. From the essence of the method, since the invention uses image processing and other related methods, the application scenarios involved can be extended to other fields, thereby realizing the identification, alarm and automatic testing of other parameters. From the system perspective, since the invention is a third party independent of the device to be tested, it is not necessary to know the communication protocol of the device to be tested, so that the security of the airborne display device is fully guaranteed. BRIEF DESCRIPTION OF THE DRAWINGS
[0044] Figure 1 It is a schematic diagram of the system framework of the present invention;
[0045] Figure 2 Identify the flow chart for VNE;
[0046] Figure 3 Schematic diagram of an airspeed scale in an embodiment of the present invention. DETAILED DESCRIPTION
[0047] The present invention first proposes a new VNE automatic test system based on image processing, which is implemented by a software and hardware platform. The hardware needs a camera for image acquisition. The system can realize image acquisition, VNE automatic identification, test result display and output, thereby realizing efficient automatic testing and improving the accuracy of the test. The VNE automatic test system includes:
[0048] 1.Simulation stimulus module
[0049] The test case is read from the test case table, and the sensor parameters such as altitude, rotor speed, temperature and mass in the test case are obtained. These parameters are injected into the VNE calculation model to stimulate the VNE value, and the VNE value is displayed in the airspeed scale of the helicopter's onboard display device.
[0050] In the airspeed scale, the scale represents different airspeeds. The powered VNE is represented by a red scale line in the airspeed scale, and the unpowered VNE is represented by a red and white dotted line in the airspeed scale. The airspeed scale is also provided with a real-time airspeed area for displaying the real-time airspeed.
[0051] The test case table contains sensor parameters such as altitude, rotor speed, temperature, mass, and the true values of powered VNE and unpowered VNE.
[0052] 2. Image acquisition module
[0053] The camera is used to capture images of the helicopter's onboard display device interface, where the camera acquisition process is triggered by the test case. Each time the simulation stimulus module reads a test case, the camera captures an image.
[0054] 3.VNE identification module
[0055] VNE parameter analysis is performed based on the collected images, and the process includes image preprocessing, indicator line positioning, reference scale identification, and VNE value estimation. By executing the above process, the test value can be analyzed from the VNE indicator identifier in the image for subsequent result discrimination with the true value.
[0056] 4. Result judgment and output module
[0057] The true values of the powered VNE and unpowered VNE of the test case are read from the test case table, and the true value is compared with the test value obtained by analysis. When the difference between the two is within the set error range, the identification is correct. When all test cases in the test case table are executed, statistical charts are output according to the execution results.
[0058] The present invention also proposes a new VNE automated testing method, which first reads the test case table, triggers the camera to capture images of the airborne display device interface through a single test case, then uses the image processing algorithm to perform VNE recognition on the captured image, and finally compares the test case with the recognition result to output whether the comparison result is correct or not, and outputs a test statistical chart after all test cases are run. Specifically, the following steps are included:
[0059] Step 1: Test case import
[0060] Read the test case table and initialize the camera to ensure its working status; inject parameters into the VNE calculation model through parameters such as sensor height, rotor speed, temperature and mass in a single test case, and display the VNE value indication result in the airspeed scale of the onboard display device.
[0061] Step 2, Image Acquisition
[0062] A single test case is read and a trigger signal is generated, so that the camera collects the interface image of the onboard display device; each trigger signal collects a frame of image, corresponding to a test case.
[0063] Step 3: Image preprocessing
[0064] After receiving the image data, the computer performs image preprocessing to highlight the details of the image by denoising and enhancing it. Gaussian filtering is used to denoise the image.
[0065] Step 4: Position the indicator line
[0066] Extract the area where the airspeed scale is located and locate the powered VNE and unpowered VNE indicator lines as follows:
[0067] 4.1ROI region extraction
[0068] Before the test begins, the camera is fixed in position, a frame of the airborne display device interface image is captured, the position information of the airspeed scale is obtained in an interactive manner, and the area where the airspeed scale is located is used as the ROI area; that is, the corner point of the airspeed scale is selected with the mouse and the position is recorded; when the airborne display device interface image is subsequently captured, the recorded position can be used to locate the ROI area.
[0069] 4.2 Image Binary Conversion
[0070] According to the color characteristics of the indicator line, the solid red line represents a powered VNE, and the red and white line represents an unpowered VNE; the ROI area is converted to the HSV color space, and then divided by a binary threshold to obtain a first binary image corresponding to red and a second binary image corresponding to white; wherein the first binary image contains the indicator line of the powered VNE, and the second binary image contains the indicator line of the unpowered VNE.
[0071] 4.3 Indicator line positioning
[0072] For the first binary image and the second binary image, Hough transform is used for straight line detection, and the length characteristics of the indicator lines corresponding to the powered VNE and the unpowered VNE are used to screen the straight lines that meet the conditions, so as to obtain the positions of the upper and lower edges of the powered VNE indicator line and the unpowered VNE indicator line in the first binary image and the second binary image respectively, and finally the center positions of the upper and lower edges are taken as the positions of the powered VNE indicator line and the unpowered VNE indicator line.
[0073] Step 5: Reference scale identification
[0074] Extract the real-time airspeed area in the airspeed scale and identify the real-time airspeed, thereby locating the value and position corresponding to the reference scale;
[0075] 5.1 Airspeed region extraction
[0076] According to the feature representation of the real-time airspeed area on the image, the upper and lower straight lines of the area can be used for positioning. First, the color features are extracted using the HSV color space and converted into a binary image. Then, the Hough transform is used to obtain the upper and lower straight lines of the real-time airspeed area, thereby locating the real-time airspeed area.
[0077] 5.2 Character Segmentation
[0078] The vertical projection method is used to segment the characters in the real-time airspeed area. First, the approximate height range of the characters in the image is determined, and then the left starting and right ending positions of each character are determined. The characters are scanned line by line from bottom to top and from top to bottom, respectively, to obtain the precise height range of each character.
[0079] 5.3 Single Character Recognition
[0080] A template matching algorithm is used to identify single digits, in which template matching uses the similarity measurement of feature points to match, thereby achieving accurate matching between the source image and the template image, achieving simple, fast and high-precision recognition.
[0081] 5.5 Reference scale positioning
[0082] In order to locate the upper and lower reference scales of the real-time airspeed, it is necessary to identify and locate the upper and lower reference scales of the image. The steps of template matching are:
[0083] a) Since the scale values on the airspeed scale are all tens, the template library can be made for this feature, that is, each template image is a number that is tens, and the image is named after the value.
[0084] b) In order to improve the efficiency of template matching, the numerical area of the scale band is extracted so that the width is the same as the width of the template image.
[0085] c) firstly, according to the identified real-time airspeed, determine the upper reference scale template and the lower reference scale template, specifically, add or subtract an increment to the real-time airspeed, and then find the template closest to the real-time airspeed after adding the increment or after the deceleration increment in the template library as the upper reference scale template and the lower reference scale template;
[0086] d) Read the upper reference scale template from the template library, and slide the scale band area from top to bottom in sequence. Each slide obtains a similarity, and the position with the greatest similarity is the position of the upper reference scale; for the positioning of the lower reference scale, repeat the above steps.
[0087] Step 6: VNE value estimation
[0088] The upper and lower reference scales are converted according to their positional relationship to obtain the estimated values of the indicator lines corresponding to the powered VNE and the unpowered VNE.
[0089] After obtaining the positions of the upper and lower reference scales, the relative position relationship is directly used to convert the readings at the indication lines of the powered VNE and the unpowered VNE, i.e. the estimated VNE value. The specific formula is:
[0090]
[0091] in, S u , S d , S VNE Respectively represent the upper reference scale value, the lower reference scale value and the VNE estimated value, l u , l d Respectively represent the upper reference scale coordinate and the lower reference scale coordinate;
[0092] l VNE represents the position of the powered VNE indicator line or the position of the unpowered VNE indicator line calculated in step 4.3. Substituting the position of the powered VNE indicator line or the position of the unpowered VNE indicator line into the above formula respectively, the calculated VNE estimated value is the powered VNE estimated value and the unpowered VNE estimated value.
[0093] Step 7: Compare results
[0094] The estimated values of powered VNE and unpowered VNE are compared with the true values of powered VNE and unpowered VNE in the test case table to obtain the test results, which are displayed and output.
[0095] The above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the aforementioned embodiments, a person skilled in the art should understand that the technical solutions described in the aforementioned embodiments may still be modified, or some of the technical features may be replaced by equivalents. Such modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present application, and should be included in the protection scope of the present application.
Claims
1. A helicopter VNE automated testing method, characterized in that: The following steps are involved: Read the test case table and initialize the camera; The VNE calculation model is injected with parameters through the sensor parameters in a single test case, and the VNE value indication result is displayed in the airspeed scale of the onboard display device; Read a single test case and generate a trigger signal, so that the camera can capture the interface image of the onboard display device; After receiving the image data, the computer performs image preprocessing to highlight the details of the image by denoising and enhancing; Extract the area where the airspeed scale is located and locate the power-on VNE and power-off VNE indicator lines; Extract the real-time airspeed area in the airspeed scale and identify the real-time airspeed, thereby locating the value and position corresponding to the reference scale; The upper and lower reference scales are converted by positional relationship to obtain the estimated values of the indicator lines corresponding to the powered VNE and the unpowered VNE; Compare the estimated values of powered VNE and unpowered VNE with the true values of powered VNE and unpowered VNE in the test case table, thereby obtaining the test results, which are displayed and output; The positioning of the powered VNE and unpowered VNE indicator lines includes: The ROI area is converted into the HSV color space, and then divided by a binary threshold, to obtain a first binary image corresponding to red and a second binary image corresponding to white; wherein the first binary image contains an indication line of a powered VNE, and the second binary image contains an indication line of a non-powered VNE; For the first binary image and the second binary image, Hough transform is used for straight line detection, and the length characteristics of the indicator lines corresponding to the powered VNE and the unpowered VNE are used to screen the straight lines that meet the conditions, so as to obtain the positions of the upper and lower edges of the powered VNE indicator line and the unpowered VNE indicator line in the first binary image and the second binary image respectively, and finally the center positions of the upper and lower edges are taken as the positions of the powered VNE indicator line and the unpowered VNE indicator line.
2. The helicopter VNE automated testing method according to claim 1, characterized in that: The area where the airspeed scale is extracted includes: Before the test begins, fix the position of the camera, capture a frame of the airborne display device interface image, obtain the position information of the airspeed scale in an interactive manner, and use the area where the airspeed scale is located as the ROI area; select the corner points of the airspeed scale with the mouse and record the positions; when subsequently capturing the airborne display device interface image, the recorded positions can be used to locate the ROI area.
3. The helicopter VNE automated testing method according to claim 1, characterized in that: The extracting of the real-time airspeed area in the airspeed scale includes: Firstly, the HSV color space is used to extract the color features of the airspeed scale and convert it into a binary image. Then, the Hough transform is used to obtain the upper and lower straight lines of the real-time airspeed area, so as to locate the real-time airspeed area.
4. The helicopter VNE automated testing method according to claim 1, characterized in that: The identifying of the real-time airspeed includes: The vertical projection method is used to segment the characters in the real-time airspeed area. First, the approximate height range of the characters in the image is determined, and then the left start and right end positions of each character are determined. The characters are scanned line by line from bottom to top and from top to bottom, respectively, to obtain the precise height range of each character. A template matching algorithm is used to identify single digits, where template matching uses the similarity measurement of feature points to match, thereby achieving accurate matching between the source image and the template image.
5. The helicopter VNE automated testing method according to claim 1, characterized in that: The positioning to the value and position corresponding to the reference scale includes: The upper and lower reference scale positions of the image are identified and located by the template matching method, specifically: a) Create a template library, where each template image is a number that is a whole ten, and the images are named according to the number; b) extracting the numerical region of the scale band so that the width is the same as the width of the template image; c) firstly, according to the identified real-time airspeed, determine the upper reference scale template and the lower reference scale template, specifically, add or subtract an increment to the real-time airspeed, and then find the template closest to the real-time airspeed after adding the increment or after the deceleration increment in the template library as the upper reference scale template and the lower reference scale template; d) Read the upper reference scale template from the template library, and slide the scale band area from top to bottom in sequence. Each slide obtains a similarity, and the position with the greatest similarity is the position of the upper reference scale; for the positioning of the lower reference scale, repeat the above steps.
6. The helicopter VNE automated testing method according to claim 1, characterized in that: The estimated values of the indicator lines corresponding to the powered VNE and unpowered VNE are obtained by converting the position relationship. The specific formula is: Among them, S u , S d , S VNE Respectively represent the upper reference scale value, the lower reference scale value and the VNE estimated value, l u , l d Respectively represent the upper reference scale coordinate and the lower reference scale coordinate; l VNE It represents the position of the powered VNE indicator line or the position of the unpowered VNE indicator line. Substituting the position of the powered VNE indicator line or the position of the unpowered VNE indicator line into the above formula respectively, the calculated VNE estimated value is the powered VNE estimated value and the unpowered VNE estimated value.
Citation Information
Patent Citations
System and method for computerized negotiations based on coded integrity
CN103608829A
Testing method and testing system for aircraft parameter display results
CN105824249A
Inertial navigation system-based rotor wing dynamic balance monitoring method and system thereof
CN106595958A
Automatic testing method and system for display software of avionics system
CN106776298A
Multi-camera in-loop simulation test method and system facing panoramic vision perception
CN109407547A
