Blade rotating speed debugging method and system for automobile engine cylinder cover test, computer equipment and storage medium
By filtering and calibrating the blade speed data in the cylinder head test of the automobile engine, the problems of blade speed fluctuations and nonlinear changes are solved, and the speed accuracy and the accuracy of the test results are improved.
Patent Information
- Application Number
- CN202411414003.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-10-11
- Publication Date
- 2025-02-18
AI Technical Summary
In the cylinder head test of automobile engines, the blade speed was greatly affected by the environment, with obvious fluctuations and nonlinear changes, which made steady-state control difficult and affected the accuracy of the test results.
The blade speed debugging method is adopted, including collecting blade speed data, filtering and mean processing, recalibrating the partitions, and finally outputting stable and accurate blade speed values.
Through filtering and partition calibration technology, speed fluctuations per unit time are reduced, speed accuracy is improved, and the accuracy of test results is improved.
Smart Images

Figure CN119469773A_ABST
Abstract
Description
Technical Field
[0001] The invention belongs to the technical field of blade speed adjustment for automobile engine cylinder head test, and specifically relates to a blade speed adjustment method, system, computer equipment and storage medium for automobile engine cylinder head test. Background Art
[0002] During the bench test of the assembly components, the assembly structure needs to be optimized based on the test verification results. During the test, the blade speed sensor needs to be used to measure the airflow velocity, and the corresponding parameters are calculated based on the airflow velocity to obtain the final test results.
[0003] In the process of collecting blade speed, the blade speed is significantly affected by the environment. When there is a slight air flow fluctuation in the external environment, the blade speed will change and oscillate, and the speed value will fluctuate significantly. At the same time, the blade speed increases flexibly, not linearly, and steady-state control is very difficult. The test requires that the blade speed be recorded and analyzed when it is relatively stable, so as to ensure the accuracy of the test results.
[0004] The method currently used for dynamic correction of blade calibration offset is as follows: make sure that the wind turbine has the detection conditions for detecting blade calibration offset; set the blade running speed and drive the blade to run to 95°; record the encoder readings when each switch triggers the rising edge when the blade runs from 0° to 95°; calculate the deviation of each switch based on the calibration reference value and the encoder reading; judge the consistency of the deviation direction; calculate the standard deviation of the deviation and judge it; calculate the average deviation; calculate the total deviation cumulative value based on the average value of multiple deviations generated by the effective statistical number of times; calculate the deviation calibration value based on the total deviation cumulative value; the main control system completes the automatic correction of blade calibration offset based on the deviation calibration value. This method uniformly calibrates the blade speed, which has a certain error. At the same time, the calibration process is cumbersome and inefficient. Summary of the invention
[0005] The present invention provides a blade speed debugging method, system, computer equipment and storage medium for testing a cylinder head of an automobile engine, the purpose of which is to reduce the speed fluctuation per unit time, filter out invalid values in the blade speed, and calibrate the speed in intervals, so as to eliminate the influence of the blade speed fluctuation on the test results to the greatest extent, improve the output speed accuracy, and thus improve the accuracy of the test results.
[0006] The objective of the present invention is achieved through the following technical solutions:
[0007] In a first aspect, the present invention provides a blade speed adjustment method for testing a cylinder head of an automobile engine, comprising the following steps:
[0008] S1. Collect blade speed;
[0009] S2. Filter and average the blade speed data to obtain the average speed;
[0010] S3. Recalibrate the speed mean data after processing in step S2 into different intervals;
[0011] S4. The calibrated blade speed N f Output and display.
[0012] Furthermore, the step S2 comprises:
[0013] S21. The collected blade speed data is stored in array A, which is initially an empty array, and starts counting;
[0014] S22. When the number of data in array A reaches the preset number, the data in array A is memorized and filtered: the maximum value N in array A is calculated. max With the minimum value N min The difference is divided by the maximum value N max Get the percentage a; if a is greater than the set threshold, delete the data in array A, and return to step S21 to restart data storage and counting until a is less than or equal to the set threshold, then enter step S23; if a is less than or equal to the set threshold, enter step S23;
[0015] S23. Perform mean processing on the filtered data: calculate the average value N of all data in array A t , and store the average value in array B, which is initially an empty array; when the number of data in array B reaches the preset number, calculate the average value N of the data in array B k , which is the mean speed.
[0016] Furthermore, in step S2, the preset number of data in array A is 250; the preset number of data in array B is 10.
[0017] Furthermore, in step S22, the set threshold of the percentage a is 5%.
[0018] Furthermore, step S3 includes: setting a plurality of speed calibration intervals, each speed interval corresponding to a different calibration coefficient k and calibration constant b, automatically directional indexing the corresponding interval according to the speed mean value of array B, and matching the calibration coefficient k and calibration constant b corresponding to this interval; and finally calculating the calibrated blade speed N f .
[0019] Furthermore, the speed calibration intervals are five intervals: [0, 884], [884, 1350], [1350, 1680], [1680, 2160], and [2160, +∞].
[0020] The second invention provides a blade speed debugging system for testing a cylinder head of an automobile engine, which is used to execute the blade speed debugging method for testing a cylinder head of an automobile engine, and includes a blade speed sensor, a PLC controller, a speed debugging module and a display;
[0021] The blade speed sensor is used to collect blade pulse signals during the test, and the blade speed sensor is connected to the pulse input point of the PLC controller;
[0022] The PLC controller and the speed debugging module use Modbus TCP communication to transmit data, and send the blade speed signal to the speed debugging module for sampling;
[0023] The speed debugging module receives the blade speed signal, filters and calibrates the blade speed signal in intervals, and displays the recalibrated speed signal output value on the display.
[0024] Furthermore, the speed debugging module includes a speed acquisition module, an intelligent filtering module and a partition interval calibration module;
[0025] The speed acquisition module exchanges data with the PLC controller via Modbus TCP to collect and store the real-time speed of the blades;
[0026] The intelligent filtering module performs filtering and mean processing on the blade speed data collected by the speed acquisition module;
[0027] The partition interval calibration module recalibrates the blade rotation speed mean value processed by the intelligent filtering module.
[0028] In a third aspect, the present invention further provides a computer device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the program, a blade speed debugging method for testing an automobile engine cylinder head as described in the present invention is implemented.
[0029] In a fourth aspect, the present invention further provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements a blade speed adjustment method for testing a cylinder head of an automobile engine as described in the present invention.
[0030] The present invention has the following beneficial effects:
[0031] 1. Within the effective speed range, the collected speed value is pre-linearly filtered. Here, the filtering technology is dynamically coupled with the partition calibration technology. The intelligent filtering module transmits the enable signal to the partition interval calibration module, and the partition interval calibration module transmits the state feedback signal back to the intelligent filtering module, thereby realizing the linkage and sequential triggering between the two modules. The functions of these two links are superimposed and output, which improves the accuracy and stability of the final speed value.
[0032] 2. When the data in array A reaches a certain number, the difference between the maximum and minimum values is automatically calculated. Only when the difference meets the set percentage threshold, the next two-level mean calculation is performed. The data quantity limit in array A can be freely adjusted according to the speed of the test, and the percentage threshold can also be freely adjusted according to the accuracy. The control accuracy can be changed by changing the threshold. The smaller the percentage threshold, the higher the accuracy, which can greatly reduce the large fluctuations during the blade speed increase and the impact on the test results.
[0033] 3. The present invention adopts a method of interval calibration. For the speed values under different test conditions, different calibration coefficients and calibration constants are automatically matched in a targeted manner through interval directional indexing. The calibration process is fully automated and more flexible. At the same time, the data calibration has a higher fitting degree and the calibration result is more accurate and reliable.
[0034] Compared with the prior art, the present invention performs pre-filtering of the data before calibration, thereby achieving relative stability of the data before calibration, laying a good foundation for subsequent calibration work, and then using the interval calibration technology to more accurately correct the data. The logic is clear, and the data processing process is simple and easy to operate. The speed fluctuation per unit time is reduced, invalid values in the blade speed are filtered out, and the speed is calibrated in intervals, which can eliminate the influence of blade speed fluctuations on the test results to the greatest extent, improve the output speed accuracy, and thus improve the accuracy of the test results. BRIEF DESCRIPTION OF THE DRAWINGS
[0035] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings required for use in the embodiments are briefly introduced below. It should be understood that the following drawings only show certain embodiments of the present invention and therefore should not be regarded as limiting the scope. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without creative work.
[0036] Figure 1 This is a flow chart of a blade speed debugging method for testing a cylinder head of an automobile engine according to Embodiment 1 of the present invention;
[0037] Figure 2 This is a schematic diagram of the composition principle of a vehicle wind turbine blade speed debugging system according to Embodiment 2 of the present invention;
[0038] Figure 3 This is a schematic diagram of the structure of a computer device described in Example 3 of the present invention. DETAILED DESCRIPTION
[0039] The present invention will be further described in detail below in conjunction with the accompanying drawings and embodiments. It is to be understood that the specific embodiments described herein are only used to explain the present invention, rather than to limit the present invention. It should also be noted that, for ease of description, only parts related to the present invention, rather than all structures, are shown in the accompanying drawings.
[0040] It should be noted that similar reference numerals and letters represent similar items in the following drawings, so once an item is defined in one drawing, it does not need to be further defined and explained in the subsequent drawings. At the same time, in the description of the present invention, the terms "first", "second", etc. are only used to distinguish the description and cannot be understood as indicating or implying relative importance.
[0041] Example 1
[0042] This embodiment is a blade speed adjustment method for testing a cylinder head of an automobile engine. Figure 1 As shown, the following steps are included:
[0043] S1. Collect blade speed:
[0044] In this embodiment, the blade speed is collected by a blade speed sensor.
[0045] S2. Filter and average the blade speed data:
[0046] S21. The collected blade speed data is stored in array A, which is initially an empty array, and starts counting;
[0047] S22. When the number of data in array A reaches 250, the data in array A is memorized and filtered: the maximum value N in array A is calculated max With the minimum value N min The difference is divided by the maximum value N max, Get the percentage a; if a is greater than 5%, delete the data in array A and return to step S21 to restart data storage and counting until a is less than or equal to 5%, then go to step S23; if a is less than or equal to 5%, then go to step S23;
[0048] S23. Perform mean processing on the filtered data: calculate the average value N of all data in array A t , and store the average value in array B, which is initially an empty array; when the number of data in array B reaches 10, calculate the average value N of the data in array B k This is the average speed.
[0049] S3. Recalibrate the speed mean data processed in step S2 by intervals:
[0050] Set 5 speed calibration intervals, namely [0, 884], [884, 1350], [1350, 1680], [1680, 2160], [2160, +∞]; each speed interval corresponds to a different calibration coefficient k and calibration constant b, according to the data average value N of array B k , that is, the speed mean automatically indexes the corresponding interval segment, and matches the calibration coefficient k and calibration constant b corresponding to this interval segment; finally, the calibrated blade speed N is calculated f .
[0051] S4. The calibrated blade speed N f Output and display.
[0052] Example 2
[0053] like Figure 2 As shown, this embodiment is a blade speed adjustment system for automobile engine cylinder head test, which is used to execute a blade speed adjustment method for automobile engine cylinder head test described in embodiment 1, including a blade speed sensor, a PLC controller, a speed adjustment module and a display;
[0054] The blade speed sensor is used to collect blade pulse signals during the test. The blade speed sensor is connected to the pulse input point of the PLC controller. First, the air pump is started to form an airflow, and the blade on the blade speed sensor begins to rotate. The pulse signal is transmitted through the emitter and receiving stage of the photodiode. The blade emits two pulses for each rotation, and the actual speed value is calculated through the pulses.
[0055] The PLC controller and the speed debugging module use Modbus TCP communication to transmit data, and send the blade speed signal to the speed debugging module for sampling;
[0056] The speed debugging module receives the blade speed signal, filters and calibrates the blade speed signal in intervals, and displays the recalibrated speed signal output value on the display.
[0057] Furthermore, the speed debugging module includes a speed acquisition module, an intelligent filtering module and a partition interval calibration module;
[0058] The speed acquisition module exchanges data with the PLC controller via Modbus TCP to collect and store the real-time speed of the blades. The speed acquisition module is fast and has strong timeliness. This module uses Modbus TCP communication to complete data exchange with the PLC hardware controller. The acquisition interface is independently developed and integrated.
[0059] The intelligent filtering module filters and averages the blade speed data collected by the speed acquisition module. The intelligent filtering module determines whether the data value stored in the speed acquisition module array is within a set range, and averages the data in the array to obtain the blade speed average.
[0060] The partition interval calibration module recalibrates the blade rotation speed mean value processed by the intelligent filtering module to eliminate errors and improve the accuracy of the data.
[0061] The system described in this embodiment uses Labview visual programming software for script development.
[0062] Example 3
[0063] Figure 3 This is a schematic diagram of the structure of a computer device in Example 3 of the present invention. Figure 3 A block diagram of an exemplary computer device 12 suitable for use in implementing embodiments of the present invention is shown. Figure 3 The computer device 12 shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present invention.
[0064] like Figure 3 As shown, the computer device 12 is in the form of a general-purpose computing device. The components of the computer device 12 may include, but are not limited to: one or more processors or processing units 16, a system memory 28, and a bus 18 that connects various system components (including the system memory 28 and the processing unit 16).
[0065] Bus 18 represents one or more of several types of bus structures, including a memory bus or memory controller, a peripheral bus, an accelerated graphics port, a processor or a local bus using any of a variety of bus architectures. By way of example, these architectures include, but are not limited to, an Industry Standard Architecture (ISA) bus, a Micro Channel Architecture (MAC) bus, an Enhanced ISA bus, a Video Electronics Standards Association (VESA) local bus, and a Peripheral Component Interconnect (PCI) bus.
[0066] The computer device 12 typically includes a variety of computer system readable media. These media can be any available media that can be accessed by the computer device 12, including volatile and non-volatile media, removable and non-removable media.
[0067] The system memory 28 may include computer system readable media in the form of volatile memory, such as random access memory (RAM) 30 and / or cache memory 32. The computer device 12 may further include other removable / non-removable, volatile / non-volatile computer system storage media. By way of example only, the storage system 34 may be used to read and write non-removable, non-volatile magnetic media ( Figure 3 not shown, usually called a "hard drive"). Although Figure 3 Not shown in the figure, a disk drive for reading and writing to a removable non-volatile disk (e.g., a "floppy disk"), and an optical disk drive for reading and writing to a removable non-volatile optical disk (e.g., a CD-ROM, a DVD-ROM, or other optical media) may be provided. In these cases, each drive may be connected to the bus 18 via one or more data medium interfaces. The memory 28 may include at least one program product having a set (e.g., at least one) of program modules that are configured to perform the functions of the various embodiments of the present invention.
[0068] A program / utility 40 having a set (at least one) of program modules 42 may be stored, for example, in the memory 28. Such program modules 42 include, but are not limited to, an operating system, one or more application programs, other program modules, and program data, each of which or some combination may include an implementation of a network environment. The program modules 42 generally perform the functions and / or methods of the embodiments described herein.
[0069] The computer device 12 may also communicate with one or more external devices 14 (e.g., keyboard, pointing device, display 24, etc.), may also communicate with one or more devices that enable a user to interact with the computer device 12, and / or communicate with any device that enables the computer device 12 to communicate with one or more other computing devices (e.g., network card, modem, etc.). Such communication may be performed through an input / output (I / O) interface 22. In addition, the computer device 12 in this embodiment, the display 24 does not exist as an independent individual, but is embedded in the mirror surface, and when the display surface of the display 24 is not displayed, the display surface of the display 24 and the mirror surface are visually integrated. In addition, the computer device 12 may also communicate with one or more networks (e.g., local area network (LAN), wide area network (WAN) and / or public network, such as the Internet) through a network adapter 20. As shown in the figure, the network adapter 20 communicates with other modules of the computer device 12 through a bus 18. It should be understood that although not shown in the figures, other hardware and / or software modules may be used in conjunction with the computer device 12, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems.
[0070] The processing unit 16 executes various functional applications and data processing by running the programs stored in the system memory 28, such as implementing a blade speed adjustment method for a cylinder head test of an automobile engine provided by an embodiment of the present invention.
[0071] Example 4
[0072] Embodiment 4 of the present invention provides a computer-readable storage medium having a computer program stored thereon. When the program is executed by a processor, a blade speed debugging method for automobile engine cylinder head testing as provided in all the embodiments of the present application is implemented.
[0073] Any combination of one or more computer-readable media may be used. A computer-readable medium may be a computer-readable signal medium or a computer-readable storage medium. A computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination thereof. More specific examples (a non-exhaustive list) of computer-readable storage media include: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination thereof. In this document, a computer-readable storage medium may be any tangible medium containing or storing a program that may be used by or in conjunction with an instruction execution system, device, or device.
[0074] Computer-readable signal media may include a data signal propagated in baseband or as part of a carrier wave, which carries a computer-readable program code. Such propagated data signals may take a variety of forms, including, but not limited to, electromagnetic signals, optical signals, or any suitable combination of the above. Computer-readable signal media may also be any computer-readable medium other than a computer-readable storage medium, which may send, propagate, or transmit a program for use by or in conjunction with an instruction execution system, apparatus, or device.
[0075] Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
[0076] Computer program code for performing the operations of the present invention may be written in one or more programming languages or a combination thereof, including object-oriented programming languages such as Java, Smalltalk, C++, and conventional procedural programming languages such as "C" or similar programming languages. The program code may be executed entirely on the user's computer, partially on the user's computer, as a separate software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., via the Internet using an Internet service provider).
[0077] Note that the above are only preferred embodiments of the present invention and the technical principles used. Those skilled in the art will understand that the present invention is not limited to the specific embodiments described herein, and that various obvious changes, readjustments and substitutions can be made by those skilled in the art without departing from the scope of protection of the present invention. Therefore, although the present invention has been described in more detail through the above embodiments, the present invention is not limited to the above embodiments, and may include more other equivalent embodiments without departing from the concept of the present invention, and the scope of the present invention is determined by the scope of the appended claims.
Claims
1. A blade speed adjustment method for automobile engine cylinder head testing, characterized in that: The following steps are involved: S1. Collect blade speed; S2. Filter and average the blade speed data to obtain the average speed; S3. Recalibrate the speed mean data after processing in step S2 into different intervals; S4. Output and display the calibrated blade speed.
2. A method for adjusting the blade speed for testing a cylinder head of an automobile engine as claimed in claim 1, characterized in that: The step S2 comprises: S21. The collected blade speed data is stored in array A, which is initially an empty array, and starts counting; S22. When the number of data in array A reaches the preset number, the data in array A is memorized and filtered: the maximum value N in array A is calculated. max With the minimum value N min The difference is divided by the maximum value N max Get the percentage a; if a is greater than the set threshold, delete the data in array A, and return to step S21 to restart data storage and counting until a is less than or equal to the set threshold, then enter step S23; if a is less than or equal to the set threshold, enter step S23; S23. Perform mean processing on the filtered data: calculate the average value N of all data in array A t , and store the average value in array B, which is initially an empty array; when the number of data in array B reaches the preset number, calculate the average value N of the data in array B k , which is the mean speed.
3. A blade speed adjustment method for testing a cylinder head of an automobile engine as claimed in claim 2, characterized in that: In step S2, the preset number of data in array A is 250; the preset number of data in array B is 10.
4. A blade speed adjustment method for testing a cylinder head of an automobile engine as claimed in claim 2, characterized in that: In the step S22, the set threshold of the percentage a is 5%.
5. The blade speed adjustment method for testing a cylinder head of an automobile engine as claimed in claim 1, characterized in that: The step S3 includes: setting a plurality of speed calibration intervals, each speed interval corresponding to a different calibration coefficient k and calibration constant b, automatically directional indexing the corresponding interval according to the speed mean value of array B, and matching the calibration coefficient k and calibration constant b corresponding to this interval; finally calculating the calibrated blade speed N f .
6. A blade speed adjustment method for testing a cylinder head of an automobile engine as claimed in claim 5, characterized in that: The speed calibration intervals are [0, 884], [884, 1350], [1350, 1680], [1680, 2160], and [2160, +∞] respectively.
7. A blade speed adjustment system for testing a cylinder head of an automobile engine, used to execute a blade speed adjustment method for testing a cylinder head of an automobile engine as claimed in any one of claims 1 to 6, characterized in that: It includes blade speed sensor, PLC controller, speed debugging module and display; The blade speed sensor is used to collect blade pulse signals during the test, and the blade speed sensor is connected to the pulse input point of the PLC controller; The PLC controller and the speed debugging module use Modbus TCP communication to transmit data, and send the blade speed signal to the speed debugging module for sampling; The speed debugging module receives the blade speed signal, filters and calibrates the blade speed signal in intervals, and displays the recalibrated speed signal output value on the display.
8. A blade speed adjustment system for testing a cylinder head of an automobile engine as claimed in claim 7, characterized in that: The speed debugging module includes a speed acquisition module, an intelligent filtering module and a partition interval calibration module; The speed acquisition module exchanges data with the PLC controller via Modbus TCP to collect and store the real-time speed of the blades; The intelligent filtering module performs filtering and mean processing on the blade speed data collected by the speed acquisition module; The partition interval calibration module recalibrates the blade rotation speed mean value processed by the intelligent filtering module.
9. A computer device comprising a memory, a processor and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the program, a blade speed debugging method for testing a cylinder head of an automobile engine is implemented as described in any one of claims 1 to 6.
10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, a blade speed adjustment method for testing a cylinder head of an automobile engine as described in any one of claims 1 to 6 is implemented.