Method and device for testing parameters of ultrasonic water meter transducer
By implementing water running tests and zero-drift tests on the same pipeline of the ultrasonic water meter, and using automated adjustment of transducer parameters, the problems of low level of equipment automation and low testing efficiency in the existing technology are solved, and efficient and accurate testing is achieved process reduces costs.
Patent Information
- Application Number
- CN202411346869.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-26
- Publication Date
- 2024-12-27
AI Technical Summary
The existing ultrasonic water meter water meter has low automation and requires manual modification of transducer parameters, resulting in long test time and high cost, and the water meter and zero-drift test cannot be effectively connected, which is inefficient.
By implementing water drain test and zero drift test on the same pipeline, the control parameters of the transducer are automatically adjusted using identification information and correction coefficients to make it meet the preset range in the water drain test, and the zero drift is calculated based on this. value, realize automated testing and result analysis.
It improves testing efficiency and accuracy, reduces table replacement errors, shortens test cycles, reduces test costs, and realizes adaptive testing of different specifications and models of watches.
Smart Images

Figure CN119197713A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of transducer detection technology, and in particular to a parameter testing method and device for an ultrasonic water meter transducer. Background Art
[0002] For the current production of ultrasonic water meters, it is necessary to undergo water flow test, zero drift test and high temperature zero drift test. Each step is equipped with a device, and the water flow device only supports 18 meters to be tested at the same time, while the zero drift test can support 28 meters to be tested at the same time. After comprehensive and detailed analysis and optimization, it aims to achieve a significant improvement in production efficiency, an overall improvement in product quality and an effective reduction in production costs. By optimizing the process, improving the level of equipment automation and rationally allocating human resources, efficient and economical full production can be achieved while ensuring the quality of ultrasonic water meters.
[0003] The existing ultrasonic water meter leakage test equipment has a low degree of automation and requires manual modification of transducer parameters, which has high requirements for personnel and no data backup. Since human participation is required to modify parameters manually and multiple modifications are required for the test to pass, a great deal of time is wasted. Moreover, the existing test equipment lacks automated testing capabilities and cannot realize automated testing and result analysis, resulting in long test cycles, high costs, and large personnel requirements.
[0004] At the same time, when performing different functions on different devices, the existing testing equipment has a single function, and the water flow test and the zero drift test cannot be effectively connected. Manual uploading and downloading of tables are required repeatedly, resulting in slow testing time and low efficiency. Summary of the invention
[0005] In order to solve the above problems, the embodiments of the present application provide a parameter testing method and device for an ultrasonic water meter transducer, which integrates the water flow test and the zero drift test, eliminates the need for upper and lower tables, and has a single variable and high accuracy during the test. The equipment parameters are automatically adjusted to achieve high test efficiency.
[0006] In a first aspect, an embodiment of the present application provides a method for testing parameters of an ultrasonic water meter transducer, the method comprising: When a full pipe leak is detected, first characterization data and identification information of the transducer currently being tested are obtained, wherein the first characterization data is test data of the transducer in the water leak test; Extracting a corresponding correction coefficient from a pre-determined matching table according to the identification information, and dynamically correcting a control parameter of the transducer based on the correction coefficient so that the first characterization data of the transducer conforms to a preset measurement range; Maintain the dynamically corrected control parameters, obtain second characterization data of the transducer when the tube is full of still water, and calculate the zero drift value according to the second characterization data; the second characterization data is the test data of the transducer in the zero drift test.
[0007] Preferably, the water leakage test and the zero drift test are both implemented based on transducers on the same pipe.
[0008] Preferably, when it is detected that the pipe is full of water, the first characterization data and identification information of the transducer currently being tested are obtained, specifically including: Preset the full pipe threshold of water pressure in the pipe; The pressure value of the water pressure in the pipe is obtained in real time. When the pressure value reaches the full pipe threshold, the pipe is full and water is flowing; When the full pipe is detected to be leaking water, first characterization data and identification information of the transducer currently being tested are obtained; The identification information is unique identification information of the transducer.
[0009] Preferably, it also includes: Numbering all transducers tested online in sequence according to their position arrangement, and associating the numbers with the identification information; When the first characterization data and identification information are acquired, the first characterization data is associated with the serial number according to the identification information.
[0010] Preferably, extracting the corresponding correction coefficient from the predicted matching table according to the identification information specifically includes: Determining, by multiple experiments, a regulation coefficient between a control parameter of each transducer and first characterization data of the transducer; Outputting the adjustment coefficient as the correction coefficient, wherein the correction coefficient is used to correct the control parameter; Associating and binding the correction coefficient of each transducer with the identification information of the corresponding transducer to generate the matching table; When the identification information is obtained, the corresponding correction coefficient is extracted according to the matching table.
[0011] Preferably, dynamically correcting the control parameter of the transducer based on the correction coefficient so that the first characterization data of the transducer conforms to a preset measurement range specifically includes: Presetting a measurement range of the first characterization data; Acquire first characterization data of the transducer in the water flow test, and determine whether the first characterization data is within the measurement range: If the first characterization data exceeds the upper limit of the measurement range, reducing the control parameter according to the correction coefficient; If the first characterization data is lower than the lower limit of the measurement range, increasing the control parameter according to the correction coefficient; If the first characterization data is within the measurement range, the water leakage test is passed.
[0012] Preferably, reducing / increasing the control parameter according to the correction coefficient specifically includes: Obtaining a correction coefficient of the transducer and a classical threshold value of a control parameter; Presetting a single correction amplitude under the correction coefficient according to the range threshold; When the control parameter is reduced / increased according to the correction coefficient, the control parameter is corrected multiple times based on the single correction amplitude until the first characterization data is within the measurement range; Each time the control parameter is corrected, the single correction amplitude is reduced / increased by one unit.
[0013] Further, maintaining the dynamically corrected control parameters, obtaining second characterization data of the transducer when the tube is full of still water, and calculating the zero drift value according to the second characterization data specifically include: When it is detected that the water leakage test has passed, the zero drift test is entered; the zero drift test specifically includes: maintaining the dynamically corrected control parameters and maintaining a full pipe static water state; Preset a unit time for sampling the second characterization data; A plurality of sampling data of the second characterization data of the transducer within a unit time is obtained, and an average value of the second characterization data is calculated, and the average value is output as a zero drift value of the corresponding transducer.
[0014] In a second aspect, an embodiment of the present application provides a parameter testing device for an ultrasonic water meter transducer, the device comprising: Water leakage test module: when water leakage is detected in a full pipe, the first characterization data and identification information of the transducer currently being tested are obtained, and the first characterization data is the test data of the transducer in the water leakage test; Parameter correction module: extracting corresponding correction coefficients from the predicted matching table according to the identification information, and dynamically correcting the control parameters of the transducer based on the correction coefficients so that the first characterization data of the transducer conforms to the preset measurement range; Zero drift test module: maintain the dynamically corrected control parameters, obtain the second characterization data of the transducer when the tube is full of still water, and calculate the zero drift value according to the second characterization data; the second characterization data is the test data of the transducer in the zero drift test.
[0015] In a third aspect, an embodiment of the present application provides an electronic 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 computer program, the steps of the method provided in the first aspect or any possible implementation of the first aspect are implemented.
[0016] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the method provided in the first aspect or any possible implementation manner of the first aspect.
[0017] The beneficial effects of the present invention are: The present invention relates to a parameter testing method and device for an ultrasonic water meter transducer. A water flow test and a zero drift test are implemented on the same pipe. The control parameters of the transducer are corrected by the water flow test, and a zero drift test is performed on this basis. There is no need to frequently change the meter, thus eliminating the error of changing the meter. During the test, the variables are single, which effectively improves the test efficiency and accuracy of the meter.
[0018] Automatically realize the adaptability test of meters of different specifications and models and transducers of different manufacturers, shorten the test cycle and reduce the test cost. BRIEF DESCRIPTION OF THE DRAWINGS
[0019] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0020] Figure 1 A flow chart of a parameter testing method for an ultrasonic water meter transducer provided in an embodiment of the present application; Figure 2 A schematic diagram of the structure of a parameter testing device for an ultrasonic water meter transducer provided in an embodiment of the present application; Figure 3 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application; Figure 4 A topological diagram of a test device applicable to the test method of the present application. DETAILED DESCRIPTION
[0021] The technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application.
[0022] In the following introduction, the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance. The following introduction provides multiple embodiments of the present application, and different embodiments can be replaced or combined, so the present application can also be considered to include all possible combinations of the same and / or different embodiments recorded. Therefore, if one embodiment includes features A, B, and C, and another embodiment includes features B and D, then the present application should also be considered to include embodiments containing one or more of all other possible combinations of A, B, C, and D, although the embodiment may not be clearly recorded in the following text.
[0023] The following description provides examples and does not limit the scope, applicability or examples set forth in the claims. Changes may be made to the functions and arrangements of the elements described without departing from the scope of the present application. Various processes or components may be appropriately omitted, substituted or added to each example. For example, the described method may be performed in an order different from the order described, and various steps may be added, omitted or combined. In addition, features described in some examples may be combined in other examples.
[0024] See also Figure 1 , Figure 1 1 is a flow chart of a parameter testing method for an ultrasonic water meter transducer provided in an embodiment of the present application. In the embodiment of the present application, the method includes: S101. When it is detected that the pipe is full of water, first characterization data and identification information of the transducer currently being tested are obtained.
[0025] The executor of the present application may be a test device, which electrically connects the test device to the meter mounted on the water pipe, obtains the detection data of the transducer in the meter, and then implements a water flow test and a zero drift test; the water pressure detection in the water pipe can be implemented by a pressure sensor; for temperature control during the test, the water can be heated by a heater, and a water pump can be used to supply water in the water pipe, thereby realizing a test environment with full pipe water flow and meeting the requirements of the water flow test; a valve is installed on the water pipe to realize a test environment with full pipe still water and meet the requirements of the zero drift test.
[0026] It should be clear that during a complete test process for the same transducer, both the water leakage test and the zero drift test should be carried out at the same temperature to ensure the effectiveness of the control parameters calibrated by the water leakage test during the zero drift test, thereby ensuring the accuracy of the zero drift value and making the meter's measurement accurate.
[0027] Multiple groups of control experiments can be carried out for different temperatures to obtain the zero drift value of the transducer at different ambient temperatures, making the meter more accurate in measuring water volume.
[0028] Temperature is affected by the external environment. The background temperature of the test can be adjusted according to actual needs to obtain the corresponding parameters to make the meter measure accurately. The test method of the present application can be carried out under the test background of a certain temperature, and this temperature can be the temperature value under any reasonable circumstances. In practical application, multiple groups of control experiments can be carried out at different temperatures according to the test method provided by the present application, and the parameter values at the corresponding temperatures can be obtained; on the premise that the present application proposes this test method, ordinary technicians in this field can easily derive a technical solution for controlling the temperature variable to carry out multiple groups of control experiments to obtain parameter values at different temperatures.
[0029] The testing method of the present application is implemented based on a water meter on the same pipe. The water meter first completes a water flow test on the pipe without taking the meter off the pipe, and directly performs a zero drift test; that is, both the water flow test and the zero drift test are implemented based on a transducer on the same pipe.
[0030] In the embodiment of the present application, the first characterization data is the test data of the transducer in the water flow test, and the state in the pipe during the water flow test is full pipe water flow. The first characterization data can specifically be the pulse width and amplitude of the transducer.
[0031] Based on the actual situation, the water flow test is to correct the control parameters of transducers of different manufacturers and specifications, so that the control parameters of the transducers meet the production requirements and the transducers are in a relatively accurate operating state; on this basis, a zero drift test is performed to obtain a more accurate zero drift value, which is conducive to the accurate measurement of water volume.
[0032] In the present application, the first characterization data is the test data of a full pipe with water flowing. When detecting the water flow velocity based on a counter-beam ultrasonic sensor, it is necessary to find the zero point when the water flow is in a static state, that is, the zero drift value. The zero drift value is the test data of a full pipe with water flowing in the static state. In the daily use of the meter, once the water flows in the pipe, the first characterization data can be detected, and then the water flow velocity can be calculated based on the zero drift value, and the water volume can be obtained based on the pipe diameter.
[0033] In the embodiment of the present application, step S101 specifically includes: Preset the full pipe threshold of water pressure in the pipe; The pressure value of the water pressure in the pipe is obtained in real time. When the pressure value reaches the full pipe threshold, the pipe is full and water is flowing; When the full pipe is detected to be leaking water, first characterization data and identification information of the transducer currently being tested are obtained; The identification information should at least include the type identification and unique identification information of the transducer, wherein the type identification is used to distinguish the specifications and types of the transducer; the unique identification information is used to distinguish the transducers, so that each transducer can be distinguished according to the unique identification information.
[0034] In this application, the water pressure in the pipe can be used to determine whether the water is in a full pipe and flowing water state. The pressure sensor has obvious difference detection data for a full pipe with still water and a full pipe with water flowing. The full pipe threshold can be preset based on this difference in test data.
[0035] Full pipe water flow is the basic condition for water flow test. When this condition is met, water flow test can be carried out and the control parameters of the transducer can be corrected.
[0036] Preferably, multiple water meters can be mounted on one water pipe, and parameter tests of the multiple water meters can be performed simultaneously. The test data of each water meter can be obtained separately, and the parameters can be corrected separately.
[0037] In a feasible embodiment, all transducers tested online can be numbered in sequence according to their positional arrangement, and the numbers can be associated with identification information; when the first characterization data and identification information are obtained, the first characterization data can be associated with the numbers according to the identification information, so that the test data of each transducer is relatively independent, and when correcting the control parameters, each transducer can be corrected separately.
[0038] The transducers can be distinguished based on the number or identification information, so that the test data of each transducer can establish a single mapping relationship with the corresponding transducer. After the calculation is completed based on the test data, the corresponding transducer can be traced back to perform parameter correction.
[0039] Furthermore, the numbering is set based on the actual position of the transducer, which is beneficial for the staff to screen and eliminate faults of the meter and improve work efficiency.
[0040] S102: extracting a corresponding correction coefficient from a predicted matching table according to the identification information, and dynamically correcting a control parameter of the transducer based on the correction coefficient so that the first characterization data of the transducer conforms to a preset measurement range.
[0041] In the embodiment of the present application, when transducers produced by different manufacturers are installed in the water meter, the control parameters of the transducers are not calibrated, and it is impossible to determine whether the operating state of the transducer meets the requirements. Therefore, in order to quickly realize the correction and calibration of the control parameters of the transducer, experiments can be carried out on transducers of different specifications to obtain the adjustment coefficient between the control parameters of the transducer and the first characterization data, so as to facilitate actual machine correction.
[0042] When connected to a water pipe, the control parameters of the transducer are modified so that the first characterization data conforms to the measurement range, and the transducer is calibrated to a normal operating state so that the water meter can measure accurately during subsequent use.
[0043] In one possible implementation, step S102 specifically includes: Determining, by multiple experiments, a regulation coefficient between a control parameter of each transducer and first characterization data of the transducer; Outputting the adjustment coefficient as the correction coefficient, wherein the correction coefficient is used to correct the control parameter; Associating and binding the correction coefficient of each transducer with the identification information of the corresponding transducer to generate the matching table; When the identification information is obtained, the corresponding correction coefficient is extracted according to the matching table.
[0044] In the present application, the control parameters and the first characterization data of transducers of different specifications are measured through multiple experiments. According to the degree of influence on the first characterization data when adjusting the control parameters, the adjustment coefficient of the control parameters and the first characterization data is calculated, and the control parameters of the transducer are adjusted using the adjustment coefficient as a correction coefficient. In this process, the control parameters of the transducer are adjusted automatically, without the need for manual parameter adjustment, which can effectively improve work efficiency.
[0045] There are different correction coefficients for different transducers, and the differences between the correction coefficients may be large, and the control parameters may also be different; but for the same type of transducers, the control parameters are the same, and the differences in the correction coefficients are low; therefore, the correction coefficient can be associated with the identification information and bound to produce a matching form, in which the identification information can be used as an index item and the correction coefficient can be used as an output item. When the identification information is obtained, the corresponding correction coefficient can be obtained.
[0046] It should be clear that the correction coefficient in the matching form is associated and bound with the identification information, while the identification information includes the type identification and unique identification information of the transducer. In the matching form, only the type identification can be extracted as an index item so that transducers of the same type can use the same correction coefficient.
[0047] Correspondingly, after obtaining the identification information, the type identifier can be extracted, indexed in the matching form according to the type identifier, and the correction coefficient can be output. The correction coefficient is the universal coefficient of this type of transducer. The control parameters of the transducer can be corrected based on the universal coefficient so that the transducer can achieve the desired accuracy and operating status.
[0048] In a specific embodiment, after obtaining the correction coefficient, the control parameter of the transducer can be dynamically corrected based on the correction coefficient so that the first characterization data of the transducer conforms to the preset measurement range, in order to complete the water flow test, which specifically includes: Presetting a measurement range of the first characterization data; Acquire first characterization data of the transducer in the water flow test, and determine whether the first characterization data is within the measurement range: If the first characterization data exceeds the upper limit of the measurement range, reducing the control parameter according to the correction coefficient; If the first characterization data is lower than the lower limit of the measurement range, increasing the control parameter according to the correction coefficient; If the first characterization data is within the measurement range, the water leakage test is passed.
[0049] In the present application, the water flow velocity and the pipe diameter in the water pipe are both known. Therefore, there is a clear measurement range for the desired first characterization data of the transducer. When there is a difference between the first characterization data of the transducer and the measurement range, the control parameters should be adjusted to make the first characterization data fall within the measurement range, and the operating state of the transducer should be calibrated and corrected to meet expectations.
[0050] In the embodiment of the present application, the setting of the measurement range may include an upper limit and a lower limit, which correspond to the two directions of correction, namely, increase and decrease, so that the first characterization data of the transducer can fall within the measurement range. However, it should be considered that there is a situation where one adjustment cannot meet expectations or one adjustment exceeds expectations. Therefore, a single correction amplitude can be set, and multiple adjustments can be made so that the first characterization data can stably approach the measurement range and finally fall within the measurement range.
[0051] Exemplarily, reducing / increasing the control parameter according to the correction coefficient specifically includes: Obtaining a correction coefficient of the transducer and a classical threshold value of a control parameter; Presetting a single correction amplitude under the correction coefficient according to the range threshold; When the control parameter is reduced / increased according to the correction coefficient, the control parameter is corrected multiple times based on the single correction amplitude until the first characterization data is within the measurement range; Each time the control parameter is corrected, the single correction amplitude is reduced / increased by one unit.
[0052] In an embodiment of the present application, the classic threshold value of the control parameter can be determined based on multiple experiments and is the adjustment range of the control parameter. When the correction coefficient is known, the adjustable range of the control parameter is subdivided so that each adjustment amount of the control parameter corresponds to a relatively stable fluctuation amount of the first characterization data, that is, when multiple corrections are performed, the change amount of the first characterization data each time is approximately or the same; each adjustment amount of the control parameter is used as a single correction amplitude, and the control parameter is corrected each time by increasing or decreasing the single correction amplitude by one unit.
[0053] It is understandable that the adjustment amount of the control parameter and the change amount of the first characterization data may not be linear. Therefore, the single correction amplitude may be different in different intervals within the adjustment range, thereby eliminating the boundary effect, so that each time the control parameter is corrected, the change amount of the first characterization data is similar or the same.
[0054] For nonlinear relationships, each time the control parameters are corrected, the correction amplitude is a single correction amplitude, but the single correction amplitude is different in different intervals of the adjustment range; for linear relationships, each time the control parameters are corrected, the correction amplitude is a single correction amplitude, and the single correction amplitude is the same in different intervals of the adjustment range.
[0055] S103, maintaining the dynamically corrected control parameters, obtaining second characterization data of the transducer when the tube is full of still water, and calculating the zero drift value according to the second characterization data.
[0056] In the embodiment of the present application, the second characterization data is the test data of the transducer in the zero drift test, and the state in the pipe during the zero drift test is full of still water. The zero drift test is performed after the water flow test is completed. When it is implemented based on the same pipeline, after the water flow test is completed, there is no need to add or subtract tables, and the zero drift test can be performed directly. It is only necessary to ensure that the temperature remains unchanged, and the water temperature can be adjusted by the heater.
[0057] At the same time, when entering the zero drift test, closing the valves at both ends of the control pipeline can achieve the effect of a full pipe with still water, directly converting from a full pipe with water flowing state to a full pipe with still water state, thus meeting the basic conditions for the zero drift test.
[0058] In one possible implementation, step S103 specifically includes: When it is detected that the water leakage test has passed, the zero drift test is entered; the zero drift test specifically includes: maintaining the dynamically corrected control parameters and maintaining a full pipe static water state; Preset a unit time for sampling the second characterization data; A plurality of sampling data of the second characterization data of the transducer within a unit time is obtained, and an average value of the second characterization data is calculated, and the average value is output as a zero drift value of the corresponding transducer.
[0059] In the present application, the valve can be controlled after the water flow test is passed. By closing the valve, the state of full pipe water flow can be directly converted to full pipe still water. At this time, the detection data of the pressure sensor in the pipe changes, and the full pipe still water can be detected and determined, providing a test environment for zero drift test.
[0060] At the same time, the control parameters of the transducer are maintained unchanged, and the zero drift test can be directly performed without secondary calibration. Compared with the previous upper table and lower table method, the control parameters of the transducer are maintained unchanged, and the equipment is not started again, which can ensure the accuracy and singleness of the zero drift test.
[0061] In the present application, the second characterization data is sampled multiple times within a period of time. During this process, temperature attenuation can be ignored, and the average value of the second characterization data is calculated, which is the zero drift value of the transducer in a full-tube static water state.
[0062] In the subsequent use process, the zero drift value is used as a fixed parameter to measure the water flow through the water meter in conjunction with the first characterization data detected in real time.
[0063] The following will be combined with the attached Figure 2 , the parameter testing device of the ultrasonic water meter transducer provided in the embodiment of the present application is introduced in detail. It should be noted that the attached Figure 2 The parameter testing device of the ultrasonic water meter transducer shown in the present application is used to perform Figure 1 For the convenience of explanation, only the part related to the embodiment of the present application is shown. For the specific technical details not disclosed, please refer to the present application. Figure 1 The embodiment shown.
[0064] See also Figure 2 , Figure 2 Schematic diagram of a parameter testing device for an ultrasonic water meter transducer provided in an embodiment of the present application. Figure 2 As shown, the device comprises: Water leakage test module 201: when water leakage is detected in a full pipe, first characterization data and identification information of the transducer currently being tested are obtained, where the first characterization data is the test data of the transducer in the water leakage test; Parameter correction module 202: extracting corresponding correction coefficients from the predicted matching table according to the identification information, and dynamically correcting the control parameters of the transducer based on the correction coefficients so that the first characterization data of the transducer conforms to a preset measurement range; Zero drift test module 203: maintains the dynamically corrected control parameters, obtains the second characterization data of the transducer when the tube is full of still water, and calculates the zero drift value according to the second characterization data; the second characterization data is the test data of the transducer in the zero drift test.
[0065] See also Figure 4, which is a topological diagram of a test equipment provided in this application. The host computer controls the PLC and the frequency converter through the 485 serial port and the opc as an intermediate transition. The heater and the valve are controlled by the PLC, and the water pump is controlled by the frequency converter. The temperature sensor is used to detect the temperature and feed it back to the PLC to realize temperature control. The pressure sensor is used to detect the water pressure in the pipeline and feed it back to the PLC to realize the state detection in the pipeline. The host computer can be divided into multiple serial ports to establish connections with multiple water meters to be tested, and parameter testing and correction of multiple water meters can be implemented synchronously on one pipeline.
[0066] Those skilled in the art can clearly understand that the technical solutions of the embodiments of the present application can be implemented with the help of software and / or hardware. The "unit" and "module" in this specification refer to software and / or hardware that can independently complete or cooperate with other components to complete specific functions, where the hardware can be, for example, a field programmable gate array (FPGA), an integrated circuit (IC), etc.
[0067] Each processing unit and / or module of the embodiments of the present application may be implemented by an analog circuit that implements the functions described in the embodiments of the present application, or may be implemented by software that executes the functions described in the embodiments of the present application.
[0068] See also Figure 3 , which shows a schematic diagram of the structure of an electronic device involved in an embodiment of the present application, the electronic device can be used to implement Figure 1 The method in the embodiment shown. Figure 3 As shown, the electronic device 300 may include: at least one central processor 301 , at least one network interface 304 , a user interface 303 , a memory 305 , and at least one communication bus 302 .
[0069] The communication bus 302 is used to realize the connection and communication between these components.
[0070] The user interface 303 may include a display screen (Display) and a camera (Camera). Optionally, the user interface 303 may also include a standard wired interface and a wireless interface.
[0071] The network interface 304 may optionally include a standard wired interface or a wireless interface (such as a WI-FI interface).
[0072] Among them, the central processing unit 301 may include one or more processing cores. The central processing unit 301 uses various interfaces and lines to connect various parts of the entire electronic device 300, and executes various functions and processes data of the terminal 300 by running or executing instructions, programs, code sets or instruction sets stored in the memory 305, and calling data stored in the memory 305. Optionally, the central processing unit 301 can be implemented in at least one hardware form of digital signal processing (Digital Signal Processing, DSP), field programmable gate array (Field-Programmable Gate Array, FPGA), and programmable logic array (Programmable Logic Array, PLA). The central processing unit 301 can integrate one or a combination of a central processing unit (Central Processing Unit, CPU), a graphics processing unit (Graphics Processing Unit, GPU) and a modem. Among them, the CPU mainly processes the operating system, user interface and application programs; the GPU is responsible for rendering and drawing the content to be displayed on the display screen; and the modem is used to process wireless communications. It can be understood that the above-mentioned modem may not be integrated into the central processing unit 301, but implemented separately through a chip.
[0073] Among them, the memory 305 may include a random access memory (Random Access Memory, RAM) and may also include a read-only memory (Read-Only Memory). Optionally, the memory 305 includes a non-transitory computer-readable storage medium. The memory 305 can be used to store instructions, programs, codes, code sets or instruction sets. The memory 305 may include a program storage area and a data storage area, wherein the program storage area may store instructions for implementing an operating system, instructions for at least one function (such as a touch function, a sound playback function, an image playback function, etc.), instructions for implementing the above-mentioned various method embodiments, etc.; the data storage area may store data involved in the above-mentioned various method embodiments, etc. The memory 305 may optionally be at least one storage device located away from the aforementioned central processor 301. As Figure 3 As shown, the memory 305 as a computer storage medium may include an operating system, a network communication module, a user interface module, and program instructions.
[0074] exist Figure 3In the electronic device 300 shown, the user interface 303 is mainly used to provide an input interface for the user and obtain the data input by the user; and the central processor 301 can be used to call the parameter test application of the ultrasonic water meter transducer stored in the memory 305, and specifically perform the following operations: When the full pipe is detected to be leaking water, the first characterization data and identification information of the transducer currently being tested are obtained, where the first characterization data is the test data of the transducer in the water leak test; Extracting a corresponding correction coefficient from a pre-determined matching table according to the identification information, and dynamically correcting a control parameter of the transducer based on the correction coefficient so that the first characterization data of the transducer conforms to a preset measurement range; Maintain the dynamically corrected control parameters, obtain the second characterization data of the transducer when the tube is full of still water, and calculate the zero drift value according to the second characterization data; the second characterization data is the test data of the transducer in the zero drift test.
[0075] The present application also provides a computer-readable storage medium on which a computer program is stored, and when the program is executed by a processor, the steps of the above method are implemented. The computer-readable storage medium may include, but is not limited to, any type of disk, including a floppy disk, an optical disk, a DVD, a CD-ROM, a micro drive, and a magneto-optical disk, a ROM, a RAM, an EPROM, an EEPROM, a DRAM, a VRAM, a flash memory device, a magnetic card or an optical card, a nanosystem (including a molecular memory IC), or any type of medium or device suitable for storing instructions and / or data.
[0076] It should be noted that, for the aforementioned method embodiments, for the sake of simplicity, they are all expressed as a series of action combinations, but those skilled in the art should be aware that the present application is not limited by the described order of actions, because according to the present application, certain steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also be aware that the embodiments described in the specification are all preferred embodiments, and the actions and modules involved are not necessarily required by the present application.
[0077] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.
[0078] In the several embodiments provided in the present application, it should be understood that the disclosed devices can be implemented in other ways. For example, the device embodiments described above are only schematic, such as the division of the units, which is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some service interfaces, and the indirect coupling or communication connection of devices or units can be electrical or other forms.
[0079] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0080] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.
[0081] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable memory. Based on this understanding, the technical solution of the present application, or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product. The computer software product is stored in a memory, including a number of instructions to enable a computer device (which can be a personal computer, server or network device, etc.) to execute all or part of the steps of the method described in each embodiment of the present application. The aforementioned memory includes: U disk, read-only memory (ROM), random access memory (RAM), mobile hard disk, disk or optical disk and other media that can store program codes.
[0082] A person skilled in the art may understand that all or part of the steps in the various methods of the above embodiments may be completed by entering a program to instruct related hardware. The program may be stored in a computer-readable memory, and the memory may include: a flash drive, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, etc.
[0083] The above is only an exemplary embodiment of the present disclosure, and the scope of the present disclosure cannot be limited thereto. That is, any equivalent changes and modifications made according to the teachings of the present disclosure are still within the scope of the present disclosure. After considering the specification and practicing the disclosure here, those skilled in the art will easily think of the implementation scheme of the present disclosure. This application is intended to cover any modification, use or adaptation of the present disclosure, which follows the general principles of the present disclosure and includes common knowledge or customary technical means in the technical field not recorded in the present disclosure. The description and examples are regarded as exemplary only, and the scope and spirit of the present disclosure are defined by the claims.
Claims
1. A parameter testing method for an ultrasonic water meter transducer, characterized in that: The method comprises: When a full pipe leak is detected, first characterization data and identification information of the transducer currently being tested are obtained, wherein the first characterization data is test data of the transducer in the water leak test; Extracting a corresponding correction coefficient from a pre-determined matching table according to the identification information, and dynamically correcting a control parameter of the transducer based on the correction coefficient so that the first characterization data of the transducer conforms to a preset measurement range; Maintain the dynamically corrected control parameters, obtain second characterization data of the transducer when the tube is full of still water, and calculate the zero drift value according to the second characterization data; the second characterization data is the test data of the transducer in the zero drift test.
2. The method according to claim 1, characterized in that The water leakage test and the zero drift test are both implemented based on the transducer on the same pipe.
3. The method according to claim 1, characterized in that When it is detected that the pipe is full of water, the first characterization data and identification information of the transducer currently being tested are obtained, specifically including: Preset the full pipe threshold of water pressure in the pipe; The pressure value of the water pressure in the pipe is obtained in real time. When the pressure value reaches the full pipe threshold, the pipe is full and water is flowing; When the full pipe is detected to be leaking water, first characterization data and identification information of the transducer currently being tested are obtained; The identification information includes unique identification information and type identification of the transducer.
4. The method according to claim 3, characterized in that: Also includes: Numbering all transducers tested online in sequence according to their position arrangement, and associating the numbers with the identification information; When the first characterization data and identification information are acquired, the first characterization data is associated with the serial number according to the identification information.
5. The method according to claim 1, characterized in that Extracting the corresponding correction coefficient from the predicted matching table according to the identification information specifically includes: Determine the adjustment coefficient between the control parameters of transducers of different specifications and the first characterization data of the transducers through multiple experiments; Outputting the adjustment coefficient as the correction coefficient, wherein the correction coefficient is used to correct the control parameter; Associating and binding the correction coefficient of each transducer with the identification information of the corresponding transducer to generate the matching table; When the identification information is obtained, the corresponding correction coefficient is extracted according to the matching table.
6. The method according to claim 1, characterized in that Dynamically correcting the control parameter of the transducer based on the correction coefficient so that the first characterization data of the transducer conforms to a preset measurement range specifically includes: Presetting a measurement range of the first characterization data; Acquire first characterization data of the transducer in the water flow test, and determine whether the first characterization data is within the measurement range: If the first characterization data exceeds the upper limit of the measurement range, reducing the control parameter according to the correction coefficient; If the first characterization data is lower than the lower limit of the measurement range, increasing the control parameter according to the correction coefficient; If the first characterization data is within the measurement range, the water leakage test is passed.
7. The method according to claim 6, characterized in that Reducing / increasing the control parameter according to the correction coefficient specifically includes: Obtaining a correction coefficient of the transducer and a classical threshold value of a control parameter; Presetting a single correction amplitude under the correction coefficient according to the range threshold; When the control parameter is reduced / increased according to the correction coefficient, the control parameter is corrected multiple times based on the single correction amplitude until the first characterization data is within the measurement range; Each time the control parameter is corrected, the single correction amplitude is reduced / increased by one unit.
8. The method according to claim 6, characterized in that Maintaining the dynamically corrected control parameters, obtaining second characterization data of the transducer when the tube is full of still water, and calculating the zero drift value according to the second characterization data specifically includes: When it is detected that the water leakage test has passed, the zero drift test is entered; the zero drift test specifically includes: maintaining the dynamically corrected control parameters and maintaining a full pipe static water state; Preset a unit time for sampling the second characterization data; A plurality of sampling data of the second characterization data of the transducer within a unit time is obtained, and an average value of the second characterization data is calculated, and the average value is output as a zero drift value of the corresponding transducer.
9. A parameter testing device for an ultrasonic water meter transducer, characterized in that: include: Water leakage test module: when water leakage is detected in a full pipe, the first characterization data and identification information of the transducer currently being tested are obtained, and the first characterization data is the test data of the transducer in the water leakage test; Parameter correction module: extracting corresponding correction coefficients from the predicted matching table according to the identification information, and dynamically correcting the control parameters of the transducer based on the correction coefficients so that the first characterization data of the transducer conforms to the preset measurement range; Zero drift test module: maintains the control parameters after dynamic correction, obtains the second characterization data of the transducer when the tube is full of still water, and calculates the zero drift value according to the second characterization data; The second characterization data is test data of the transducer in a zero drift test.
10. An electronic 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 computer program, the steps of the method according to any one of claims 1 to 7 are implemented.
