Quality verification method of flow standard device and flow standard device
By collecting the three-axis acceleration value and velocity vector of the piston movement, we conduct quality verification of the flow standard device and optimize the piston cylinder design. This solves the quality verification and size problems of the piston flow standard device and ensures verification accuracy and transportation efficiency.
Patent Information
- Application Number
- CN202411035075.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-30
- Publication Date
- 2024-09-27
AI Technical Summary
The existing piston flow standard device is difficult to achieve quality verification during use, and the device size and volume are large, affecting its transportation and application efficiency.
By collecting the three-axis acceleration value during the piston movement, the ideal operating route is determined, and the velocity vector sum of each coordinate point is calculated to determine whether the preset stability conditions are met to ensure that the quality of the flow standard device meets the requirements and at the same time optimize the piston cylinder. Pre-stroke tube length of the barrel to reduce device size and volume.
The quality verification of the piston flow standard device is realized to ensure the verification and calibration accuracy of the flow meter to be tested. The size and weight of the device are reduced through optimized design, and the transportation and application efficiency are improved.
Smart Images

Figure CN118706232A
Abstract
Description
Technical Field
[0001] The embodiments of the present disclosure relate to, but are not limited to, the field of instrumentation technology, and in particular to a quality verification method for a flow standard device and a flow standard device. Background Art
[0002] In the measurement and calibration system, flow meter is an indispensable measuring instrument. In order to ensure the accuracy of measurement, the flow meter should be regularly calibrated. The piston-type standard volume tube is the most commonly used calibration reference, which has many advantages such as high measurement accuracy, wide measuring range, small size and less site occupation.
[0003] The piston flow standard device composed of a piston volume tube is generally divided into active piston flow standard device and passive piston flow standard device. The active piston flow standard device refers to the device itself with a drive device to drive the piston to produce the required stable flow; the passive piston flow standard device refers to the device itself without a drive device, relying on the power provided by the on-site flow or hydraulic station to drive the piston.
[0004] The measurement principle is based on the volume displacement principle. When the piston in the volume tube triggers two position sensors at a certain speed under the push of liquid or driving device, the displaced fluid volume and the corresponding detection time are recorded to obtain the instantaneous flow rate. In this process, the piston moves at a uniform speed along the axial direction in the piston cylinder.
[0005] In order to better apply the piston type flow standard device to the metrological calibration system, on the one hand, it is necessary to realize the quality calibration of the flow standard device to ensure that the quality of the flow standard device meets the requirements; on the other hand, it is necessary to reduce the size and volume of the piston type flow standard device and reduce the weight of the equipment so that it can be better transported and used. Summary of the invention
[0006] The following is a summary of the subject matter described in detail herein. This summary is not intended to limit the scope of the claims.
[0007] The present invention provides a quality calibration method and a flow standard device for a flow standard device, which can realize the quality calibration of the flow standard device, ensure that the quality of the piston-type flow standard device meets the standards, and solve the technical problem of "how to realize the quality calibration of the piston-type flow standard device".
[0008] An embodiment of the present disclosure provides a quality verification method for a flow standard device, wherein the flow standard device at least comprises: a piston and a piston cylinder, and when the flow standard device verifies a flow meter to be verified, the piston moves in the downstream direction of the piston cylinder; the quality verification method comprises:
[0009] Determine the ideal running route of the piston in the flow standard device moving toward the downstream direction of the piston cylinder according to the three-axis acceleration values collected during the process of the piston moving toward the downstream direction of the piston cylinder;
[0010] Calculate the velocity vector sum of each coordinate point in the direction of the ideal running route according to the spatial coordinate value of each coordinate point in the three-dimensional space coordinate system in the ideal running route;
[0011] Whether the flow standard device meets the quality requirements is determined based on whether the calculated velocity vector sum of each coordinate point meets the preset stability condition.
[0012] An embodiment of the present disclosure further provides a flow standard device, comprising: a photoelectric detection unit, wherein the photoelectric detection unit comprises a controller; wherein the controller is configured to execute the quality verification method of the flow standard device as described in any embodiment of the present disclosure.
[0013] Compared with the related art, the quality verification method and flow standard device provided by the embodiment of the present disclosure determine the ideal running route of the piston in the flow standard device moving toward the downstream direction of the piston cylinder according to the three-axis acceleration values collected during the movement of the piston toward the downstream direction of the piston cylinder; and then calculate the velocity vector sum of each coordinate point in the direction of the ideal running route according to the spatial coordinate value of each coordinate point in the three-dimensional space coordinate system in the ideal running route; finally, by judging whether the calculated velocity vector sum of each coordinate point meets the preset stability condition, it can be determined whether the flow standard device meets the quality requirements. Through the scheme of this embodiment, it can be ensured that the quality of the flow standard device meets the requirements, and then it can be ensured that the flow standard device is accurate when verifying and calibrating the flow meter to be inspected.
[0014] Other features and advantages of the embodiments of the present application will be described in the subsequent description, and partly become apparent from the description, or can be understood by implementing the embodiments of the present application. The purpose and other advantages of the embodiments of the present application can be achieved and obtained by the structures specifically pointed out in the description, claims and drawings. BRIEF DESCRIPTION OF THE DRAWINGS
[0015] The accompanying drawings are used to provide an understanding of the technical solution of the present disclosure and constitute a part of the specification. Together with the embodiments of the present disclosure, they are used to explain the technical solution of the present disclosure and do not constitute a limitation on the technical solution of the present disclosure.
[0016] Figure 1 This is a flow chart of a quality verification method for a flow standard device according to an embodiment of the present disclosure;
[0017] Figure 2This is a partial structural schematic diagram of a piston-type volume tube flow standard device according to an embodiment of the present disclosure;
[0018] Figure 3 This is a specific flow chart of a quality verification method for a flow standard device according to an embodiment of the present disclosure;
[0019] Figure 4 Schematic diagram comparing the piston running trajectory and the ideal running route according to an embodiment of the present disclosure.
[0020] The corresponding relationship between the reference numerals and the component names is as follows:
[0021] 101-upstream limit switch, 102-first verification switch, 103-second verification switch, 104-light shield, 105-acceleration sensor;
[0022] 201-piston, 202-piston rod, 203-piston cylinder. DETAILED DESCRIPTION
[0023] The present disclosure describes multiple embodiments, but the description is exemplary rather than restrictive, and it is apparent to those skilled in the art that there may be more embodiments and implementations within the scope of the embodiments described in the present disclosure. Although many possible feature combinations are shown in the drawings and discussed in the specific embodiments, many other combinations of the disclosed features are possible. Unless specifically limited, any feature or element of any embodiment may be used in combination with any other feature or element in any other embodiment, or may replace any other feature or element in any other embodiment.
[0024] The present disclosure includes and contemplates combinations of features and elements known to those of ordinary skill in the art. The embodiments, features, and elements disclosed in the present disclosure may also be combined with any conventional features or elements to form a unique invention scheme defined by the claims. Any features or elements of any embodiment may also be combined with features or elements from other invention schemes to form another unique invention scheme defined by the claims. Therefore, it should be understood that any feature shown and / or discussed in the present disclosure may be implemented individually or in any appropriate combination. Therefore, except for the limitations made according to the attached claims and their equivalents, the embodiments are not subject to other limitations. In addition, various modifications and changes may be made within the scope of protection of the attached claims.
[0025] The "quality verification" in the "quality verification method of flow standard device" disclosed in the present invention refers to judging whether the "flow standard device" is qualified by verifying the flow standard device, so that when using the qualified flow standard device to verify and calibrate the flow meter to be verified, the accuracy of verification and calibration can be ensured; in addition, the quality verification method disclosed in the present invention can also give optimization suggestions for the flow standard device (such as reducing or lengthening the pre-stroke pipe section length of the piston cylinder), so that the flow standard device can reduce its size and volume as much as possible while meeting the quality requirements, thereby reducing its equipment weight, so that it can be better transported and used. The specific implementation of the quality verification method of the flow standard device, and how to achieve the above-mentioned beneficial effects, are detailed below.
[0026] An embodiment of the present disclosure provides a quality verification method for a flow standard device, wherein the flow standard device at least comprises: a piston and a piston cylinder (also referred to as a metering cylinder). When the flow standard device verifies the flow meter to be verified, the piston moves in the downstream direction of the piston cylinder. Figure 1 As shown, the quality inspection method may include the following steps:
[0027] Step S110: determining an ideal running route of the piston in the flow standard device moving toward the downstream direction of the piston cylinder according to the three-axis acceleration values collected during the process of the piston moving toward the downstream direction of the piston cylinder;
[0028] Step S120: Calculate the velocity vector sum of each coordinate point in the direction of the ideal running route according to the spatial coordinate value of each coordinate point in the three-dimensional space coordinate system in the ideal running route;
[0029] Step S130: Determine whether the flow standard device meets the quality requirements based on whether the calculated velocity vector sum of each coordinate point meets the preset stability condition.
[0030] The quality verification method of the flow standard device of this embodiment determines the ideal running route of the piston in the flow standard device moving toward the downstream direction of the piston cylinder according to the three-axis acceleration values collected during the process of the piston moving toward the downstream direction of the piston cylinder; then, according to the spatial coordinate values of each coordinate point in the ideal running route in the three-dimensional space coordinate system, the velocity vector sum of each coordinate point in the direction of the ideal running route is calculated; finally, by judging whether the calculated velocity vector sum of each coordinate point meets the preset stability condition, it can be determined whether the flow standard device meets the quality requirements. Through the scheme of this embodiment, it can be ensured that the quality of the flow standard device meets the requirements, and then it can be ensured that the flow standard device is accurate when verifying and calibrating the flow meter to be inspected.
[0031] In an example of this embodiment, the preset stability condition may be a preset threshold range, and determining whether the flow standard device meets the quality requirement according to whether the calculated velocity vector sum of each coordinate point meets the preset stability condition may include:
[0032] Whether the flow standard device meets the quality requirements is determined based on whether the calculated velocity vector sum of each coordinate point is within the preset threshold range.
[0033] In an exemplary embodiment of the present disclosure, the ideal running route of the piston in the flow standard device moving toward the downstream direction of the piston cylinder is determined based on the three-axis acceleration values collected during the movement of the piston toward the downstream direction of the piston cylinder, including:
[0034] According to the preset sampling frequency, at each sampling time point, the three-axis acceleration value of the piston in the process of moving toward the downstream direction of the piston cylinder is collected respectively, wherein the three-axis acceleration value includes the acceleration value component in the x-axis direction, the acceleration value component in the y-axis direction, and the acceleration value component in the z-axis direction;
[0035] Integrate the three-axis acceleration values collected at each sampling time point to obtain the three-axis velocity components corresponding to the sampling time point, wherein the three-axis velocity components include the velocity component in the x-axis direction, the velocity component in the y-axis direction, and the velocity component in the z-axis direction;
[0036] Integrate the three-axis velocity components corresponding to each sampling time point respectively to obtain the three-axis displacement components corresponding to the sampling time point, wherein the three-axis displacement components include the displacement component in the x-axis direction, the displacement component in the y-axis direction, and the displacement component in the z-axis direction;
[0037] For each sampling time point, respectively, according to the three-axis displacement components corresponding to the sampling time point, the spatial coordinate value of the sampling time point in the three-dimensional coordinate system is obtained;
[0038] Data fitting is performed on the spatial coordinate values of each sampling time point, and the obtained three-dimensional straight line is used as the ideal running route.
[0039] Exemplarily, the least square method may be used to perform data fitting on the spatial coordinate value of each sampling time point, but the present disclosure does not limit the fitting method.
[0040] The quality verification method of the flow standard device of the present embodiment first collects the three-axis acceleration values of the piston during the movement of the flow standard device when it is working, and then converts the three-axis acceleration values into three-axis velocity components, and converts the three-axis velocity components into three-axis displacement components. The three-axis displacement components are then used as spatial coordinate values in a three-dimensional space coordinate system to obtain three-dimensional discrete sequence data. The three-dimensional discrete sequence data is then fitted to obtain the ideal running path of the piston, and the quality verification of the flow standard device can be achieved through the ideal running path.
[0041] In an example of this embodiment, the three-axis acceleration values collected at each sampling time point are integrated respectively to obtain the three-axis velocity components corresponding to the sampling time point, including calculating the three-axis velocity components according to the following formula:
[0042]
[0043] Among them, v(t) represents the three-axis velocity component at the sampling time point t; v0 represents the initial velocity component, which is 0; a0 represents the initial three-axis acceleration value; a(t) represents the three-axis acceleration value at the sampling time point t; t represents the integration step, t=1 / f, and f is the preset sampling frequency.
[0044] In an example of this embodiment, integrating the three-axis velocity components corresponding to each sampling time point to obtain the three-axis displacement components corresponding to the sampling time point includes: calculating the three-axis displacement components according to the following formula:
[0045]
[0046] Where s(t) represents the three-axis displacement component at the sampling time point t; s0 represents the initial displacement component, which is 0; v(t) represents the three-axis velocity component at the sampling time point t; t represents the integration step, t = 1 / f, f is the preset sampling frequency
[0047] In an exemplary embodiment of the present disclosure, the collecting of the three-axis acceleration values of the piston during the movement of the piston toward the downstream direction of the piston cylinder includes:
[0048] In the process of collecting the three-axis acceleration values of the piston in the process of moving toward the downstream direction of the piston cylinder, the three-axis acceleration values of the piston are obtained through the acceleration sensor provided in the flow standard device.
[0049] Exemplarily, the acceleration sensor may be a high-precision, low-noise three-axis acceleration sensor, or a high-performance multi-axis sensor integrating functions of an accelerometer, a gyroscope, a magnetometer, etc., and the present disclosure does not impose any limitation on this.
[0050] Exemplarily, the flow standard device includes a photoelectric detection unit, and the acceleration sensor can be arranged in the photoelectric detection unit.
[0051] Exemplarily, the quality requirements of the flow standard device include stability requirements.
[0052] The quality inspection method of the flow standard device implemented in this embodiment can monitor the acceleration of the piston by installing an acceleration sensor on the flow standard device, and then can also monitor the speed, displacement and travel position of the piston, and then can determine whether the piston runs stably and at a uniform speed, and thus can determine whether the stability of the flow standard device meets the quality requirements.
[0053] In an exemplary embodiment of the present disclosure, the step of calculating the velocity vector sum of each coordinate point in the direction of the ideal running route according to the spatial coordinate value of each coordinate point in the three-dimensional space coordinate system in the ideal running route includes:
[0054] According to the spatial coordinate values of the ideal running route in the three-dimensional space coordinate system, the angles between the ideal running route and the three coordinate axes of the three-dimensional space coordinate system are obtained, wherein the three coordinate axis angles are respectively a first angle between the ideal running route and the x-axis, a second angle between the y-axis, and a third angle between the z-axis of the three-dimensional space coordinate system;
[0055] For each sampling time point, the velocity vector sum of the three-axis velocity components in the direction of the ideal running route is obtained according to the three-axis velocity components at the sampling time point and the angles of the three coordinate axes.
[0056] Exemplarily, the velocity vector sum is calculated according to the following formula:
[0057] v(t)=v xt cosθ x +v yt cosθ y +v zt cosθ z ;
[0058] Among them, v xt represents the velocity component of the three-axis velocity component in the x-axis direction at the sampling time point t, v yt represents the velocity component of the three-axis velocity component in the y-axis direction at the sampling time point t, v zt Represents the velocity component of the three-axis velocity component in the z-axis direction at the sampling time point t, θx represents the first angle, θy represents the second angle, and θz represents the third angle.
[0059] In an exemplary embodiment of the present disclosure, determining whether the flow standard device meets the quality requirements according to whether the calculated velocity vector sum of each coordinate point meets the preset stability condition includes:
[0060] Determine whether the velocity vector sum of each coordinate point within the verification time period meets the preset stability condition: when the velocity vector sum of each coordinate point within the verification time period meets the preset stability condition, determine that the flow standard device meets the quality requirements; when the velocity vector sum of any coordinate point within the verification time period does not meet the preset stability condition, determine that the flow standard device does not meet the quality requirements;
[0061] Wherein, the piston cylinder is divided into a pre-stroke pipe section and a standard volume pipe section, and the verification time period is the time period corresponding to the piston passing through the standard volume pipe section.
[0062] It should be noted that whether the piston can move stably and uniformly in the standard volume pipe section is a key factor in whether the flow standard device can achieve accurate verification and calibration of the flow meter to be tested.
[0063] The quality verification method of the flow standard device implemented in this embodiment realizes the judgment of "whether the piston runs stably and uniformly during the verification time period" (that is, whether the piston runs stably and uniformly in the standard volume pipe section of the cylinder barrel) by "judging whether the velocity vector sum of each coordinate point in the ideal running route in the direction of the ideal running route meets the preset stability conditions", thereby realizing the quality verification of the flow standard device and ensuring that the stability and accuracy of the verified flow standard device meet the requirements.
[0064] In an exemplary embodiment of the present disclosure, the method further includes:
[0065] The velocity vector and the first coordinate point that meets the preset stability condition in the ideal running route are determined as the first stable coordinate point;
[0066] Obtaining a first stable sampling time point corresponding to the first stable coordinate point;
[0067] Determine whether the piston is in the pre-stroke pipe section at the first stable sampling time point: when the piston is in the pre-stroke pipe section at the first stable sampling time point, determine that the length of the pre-stroke pipe section is greater than the standard length; when the piston is at the junction of the pre-stroke pipe section and the standard volume pipe section at the first stable sampling time point, determine that the length of the pre-stroke pipe section is equal to the standard length; when the piston is in the standard volume pipe section at the first stable sampling time point, determine that the length of the pre-stroke pipe section is less than the standard length.
[0068] For example, further calculations can be performed to obtain the standard length of the pre-stroke pipe section (the length that should be modified to), so as to determine the pre-stroke pipe section length of the piston standard device, so that the flow standard device can reduce its size and volume as much as possible while meeting the quality requirements, thereby reducing its equipment weight for better transportation and application.
[0069] The quality verification method of the flow standard device implemented in this embodiment can analyze whether the pre-stroke pipe section length of the piston cylinder is appropriate by judging the position of the piston in the piston cylinder at the first stable sampling time point, thereby realizing the quality verification of the flow standard device.
[0070] Furthermore, when the quality inspection method of the flow standard device of this embodiment is applied to the experimental stage of the flow inspection device production, since the quality inspection method of this embodiment can give the standard length of the piston cylinder pre-stroke pipe section, the number of experiments can be reduced and the experimental cost can be reduced.
[0071] In addition, since the piston cylinder pre-stroke pipe section of the flow standard device finally produced is exactly at the standard length (or slightly longer, but not significantly longer than the standard length), it is possible to reduce the size and volume of the flow standard device and reduce the weight of the equipment while ensuring the quality of the flow standard device (accuracy during measurement), so that it can be better transported and used.
[0072] In an exemplary embodiment of the present disclosure, after obtaining the spatial coordinate value of each sampling time point in the three-dimensional coordinate system according to the three-axis displacement components corresponding to the sampling time point, the method further includes:
[0073] Connecting the spatial coordinate values corresponding to each sampling time point in sequence in the three-dimensional spatial coordinate system as the actual motion trajectory of the piston;
[0074] The stability of the actual operation of the piston is determined based on the deviation between the actual motion trajectory and the ideal operation route.
[0075] The quality inspection method of the flow standard device of this embodiment can determine the stability of the actual operation of the piston by comparing the deviation between the actual motion trajectory of the piston and the ideal operation route, that is, the stability of the flow standard device can also be determined in this way. For example, when abnormal conditions such as piston creeping or shaking, component deformation, and cylinder inner wall wear occur, they can all be detected through the solution of this embodiment.
[0076] In summary, the quality calibration method of the flow standard device disclosed in the present invention can perform quality calibration on the flow standard device and can provide optimization suggestions for the flow standard device, thereby improving the quality of the piston-type flow standard device, reducing its size and volume, and reducing its equipment weight, thereby enabling the piston-type flow standard device to be better applied to the metrological calibration system.
[0077] The quality inspection method of the flow standard device disclosed in the present invention is specifically described below by taking a piston-type volume tube flow standard device as an example.
[0078] First, the working principle of the piston-type volume tube flow standard device disclosed in the present invention is briefly described. Figure 2 As shown (not all components are shown in the figure, only components related to the present disclosure are shown), the piston-type volume tube flow standard device at least includes a photoelectric detection unit, a piston 201, a piston rod 202, a piston cylinder 203 and a linear guide bracket (not shown in the figure); wherein the photoelectric detection unit mainly includes a controller (not shown in the figure), a light shield 104, an upstream limit switch 101, a first calibration switch 102, a second calibration switch 103 and an acceleration sensor 105.
[0079] The controller is configured to be connected to the upstream limit switch 101, the first verification switch 102, the second verification switch 103, and the acceleration sensor 105. Exemplarily, the controller can be connected to the upstream limit switch 101, the first verification switch 102, the second verification switch 103, and the acceleration sensor 105 through a wired interface.
[0080] When the flow standard device is calibrating the flow meter to be tested, the piston 201 will move in the downstream direction of the piston cylinder 203 (that is, the direction of the flow meter to be tested in series), and the piston rod 202 will move with the piston 201.
[0081] The shutter 104 and the acceleration sensor 105 are disposed on the piston rod 202 and move along with the movement of the piston rod 202 .
[0082] The acceleration sensor 105 may be a high-precision, low-noise three-axis acceleration sensor, or a high-performance multi-axis sensor integrating functions such as an accelerometer, a gyroscope, and a magnetometer, and the present disclosure does not impose any limitation on this.
[0083] The upstream limit switch 101, the first verification switch 102 and the second verification switch 103 are sequentially arranged on the linear guide bracket through which the shading device 104 passes.
[0084] When the flow standard device is calibrating the flow meter to be tested, the shutter 104 sequentially triggers the upstream limit switch 101, the first calibration switch 102 and the second calibration switch 103. Specifically, when the piston 201 just starts to move, the shutter 104 no longer blocks the upstream limit switch 101 when the piston 201 leaves the upstream limit position of the piston cylinder 203, and the upstream limit switch 101 is triggered at this time; the piston continues to move downstream of the piston cylinder 203, and when the shutter 104 blocks the first calibration switch 102, the first calibration switch 102 is triggered; the piston continues to move downstream of the piston cylinder 203, and when the shutter 104 blocks the second calibration switch 103, the second calibration switch is triggered.
[0085] The piston cylinder 203 includes a pre-stroke pipe section and a standard volume pipe section; wherein the pre-stroke pipe section may be the pipe section in the piston cylinder 203 when the piston 201 starts to move from its initial position but has not yet reached the calibration area for metering (for example, in the flow standard device of the present embodiment, it may be the pipe section in the piston cylinder 203 that the piston 201 passes through during the time period from triggering the upstream limit switch 101 to triggering the first calibration switch 102); the standard volume pipe section may be the pipe section in the piston cylinder 203 that the piston 201 passes through when the flow measurement is formally performed (for example, in the flow standard device of the present embodiment, it may be the pipe section in the piston cylinder 203 that the piston 201 passes through during the time period from triggering the first calibration switch 102 to triggering the second calibration switch 103).
[0086] The quality verification method of the flow standard device disclosed in the present invention is described below. Figure 3 As shown, the following steps may be included:
[0087] Step S310: Collect the three-axis acceleration values of the piston in the flow standard device moving toward the downstream direction of the piston cylinder according to the preset sampling frequency, and record the start time of movement, the start time of verification and the end time. Among them, the start time of movement refers to the time when the upstream limit switch is triggered, the start time of verification refers to the time when the first verification switch is triggered, and the end time refers to the time when the second verification switch is triggered.
[0088] Exemplarily, this step may include the following process: when the piston leaves the upstream limit position of the piston cylinder, the light shield triggers the upstream limit switch; after the controller receives the signal that the upstream limit switch is triggered, it starts timing and records the current time as t 10 (i.e. the moment of starting the movement), and starts to collect the x, y, and z axis acceleration values output by the acceleration sensor according to the preset sampling frequency f (a x , a y , a z); After the controller receives the signal that the first verification switch is triggered, the control counter starts to accumulate the pulse signal output by the flow meter to be tested and records the current time as t 11 (i.e. the start time of the test); after the controller receives the signal that the second test switch is triggered, it stops collecting the output of the acceleration sensor, controls the counter to stop accumulating the pulse signal output by the flow meter to be tested, and records the current time as t 12 (i.e. the end time); calculate the total running time of the piston = t 12 -t 10 .
[0089] It should be noted that in actual applications, the acceleration sensor may be installed in different positions and directions with the flow standard device, including possible installation deviations. This example only uses the data collected from one or more tests after the installation position, fixing method and connection relationship of the flow standard device are determined as an example for calculation.
[0090] After this step, the verification time and the total number of flowmeter output pulses during the verification time can also be obtained, so that the volume of liquid displaced during the verification time (i.e., the standard volume value of the flow standard device) can be calculated, and then the verification or calibration of the flowmeter to be tested can be realized; wherein, verification time = t 12 -t 11 .
[0091] Step S320: According to the collected three-axis acceleration values, the actual motion trajectory and the ideal running route of the piston are obtained. Exemplarily, this step may include the following sub-steps S321-S325:
[0092] Step S321: Integrate the three-axis acceleration values collected at each sampling time point to obtain three-axis velocity components. The three-axis velocity components include the velocity component in the x-axis direction, the velocity component in the y-axis direction, and the velocity component in the z-axis direction. The three-axis velocity component calculation formula is as follows:
[0093] v(t)=v0+∫0 t (a(t)-a0)dt
[0094] Among them, v(t) represents the three-axis velocity component at the sampling time point t; v0 represents the initial velocity component (the initial velocity component is 0); a0 represents the initial three-axis acceleration value (i.e., t 10 The acceleration value of each axis of the acceleration sensor collected at each moment is also the acceleration value of each axis when the piston is in a stationary state); a(t) represents the three-axis acceleration value at the sampling time point t; t represents the integration step, t=1 / f, f is the preset sampling frequency; dt represents the small change in time t.
[0095] Step S322: Integrate the three-axis velocity components corresponding to each sampling time point calculated in step S321 to obtain three-axis displacement components. The three-axis displacement components include the displacement component in the x-axis direction, the displacement component in the y-axis direction, and the displacement component in the z-axis direction. The calculation formula for the three-axis displacement components is as follows:
[0096] s(t)=s0+∫0 t v(t)dt
[0097] Among them, s(t) represents the three-axis displacement components at the sampling time point t; s0 represents the initial displacement component (the initial displacement component is 0); v(t) represents the three-axis velocity component at the sampling time point t; t represents the integration step, t = 1 / f, f is the preset sampling frequency; dt represents the small change in time t.
[0098] Step S323: for each sampling time point, respectively obtain the spatial coordinate value of the sampling time point in the three-dimensional coordinate system according to the three-axis displacement components corresponding to the sampling time point.
[0099] For example, the spatial coordinate values of all sampling time points can be composed into three-dimensional discrete sequence data (s x0 ,s y0 ,s z0 )、(s x1 ,s y1 ,s z1 ),……、(s xn ,s yn ,s zn ).
[0100] Step S324: Connect the spatial coordinate values corresponding to each sampling time point in sequence in the three-dimensional spatial coordinate system as the actual motion trajectory of the piston.
[0101] Step S325: Fit the three-dimensional discrete sequence data into a three-dimensional straight line using the least squares method as the ideal running path of the piston.
[0102] Step S330: Calculate the velocity vector sum of each coordinate point in the direction of the ideal running route according to the spatial coordinate value of each coordinate point in the three-dimensional space coordinate system in the ideal running route. Exemplarily, this step may include the following sub-steps S331-S332:
[0103] Step S331: According to the spatial coordinate values of the ideal running route in the three-dimensional space coordinate system, the three coordinate axis angles between the ideal running route and the three-dimensional space coordinate system are obtained, wherein the three coordinate axis angles are respectively a first angle θx of the x-axis, a second angle θy of the y-axis and a third angle θz of the z-axis.
[0104] Step S332: For each sampling time point, according to the three-axis velocity components at the sampling time point and the angles of the three coordinate axes, the velocity vector sum of the three-axis velocity components in the direction of the ideal running route is obtained.
[0105] Exemplarily, the velocity vector and calculation formula are as follows:
[0106] v(t)=v xt cosθ x +v yt cosθ y +v zt cosθ z
[0107] Among them, v xt represents the first velocity value at sampling time t, v yt represents the second velocity value at sampling time t, v zt represents the third speed value at the sampling time point t, θx represents the first angle, θy represents the second angle, and θz represents the third angle.
[0108] Step S340: Analyze the calculated velocity vector sum of each coordinate point in combination with the preset threshold range to determine whether the flow standard device meets the quality requirements.
[0109] Exemplarily, this step may include the following judgments (the following judgments are listed in order):
[0110] (1) If the velocity vector sum is stable and within a certain threshold range during the calibration time period, and meets the calibration accuracy requirements, then it is determined that the flow standard device meets the calibration conditions and the length of the piston cylinder pre-stroke pipe section meets the design requirements. Specifically, it can be determined whether the velocity vector sum of each coordinate point within the calibration time period is within the preset threshold range: when the velocity vector sum of each coordinate point within the calibration time period is within the preset threshold range, the flow standard device meets the quality requirements (in this case, it can be considered that the flow standard device meets the accuracy requirements, meets the calibration conditions, and the length of the piston cylinder pre-stroke pipe section meets the design requirements); when the velocity vector sum of any coordinate point within the calibration time period is not within the preset threshold range, the flow standard device does not meet the quality requirements (in this case, it can be considered that the flow standard device does not meet the calibration conditions and needs to be repaired, debugged or modified in design).
[0111] It should be noted that the calibration time period described in this article refers to the time period corresponding to the piston passing through the standard volume pipe section.
[0112] In addition, in order to improve the accuracy of the flow standard device, the preset threshold range (i.e. the threshold requirement range of the piston velocity vector sum during the calibration period) should be minimized.
[0113] (2) According to the deviation between the actual motion trajectory and the ideal running route, the stability of the actual operation of the piston is judged. If the velocity vector sum is unstable or exceeds the threshold range during the calibration period, it is determined that the flow standard device does not meet the calibration conditions and needs to be repaired, debugged or modified.
[0114] For example, the actual motion trajectory and the ideal running route are compared with each other. Figure 4 (t in the figure 10 That is, the starting time of the movement mentioned above, t 11 That is, the start time of the test mentioned above, t 12 This is the ending moment mentioned above.
[0115] (3) According to the time when the velocity vector sum of each coordinate point tends to be stable, it is determined that the pre-travel pipe section needs to be reduced or lengthened. For example, if the velocity vector sum is at the start of the test time t 11 If the velocity vector and the velocity vector have stabilized before the start of the test, the length of the pre-travel pipe section can be appropriately reduced; 11 If it still does not tend to stabilize, it is determined that the length of the pre-stroke pipe section of the piston cylinder does not meet the design requirements and the length of the pre-stroke pipe section needs to be lengthened.
[0116] In summary, the technical solution of this embodiment can achieve: monitoring the piston travel position and acceleration through the photoelectric detection unit, calculating whether the piston runs stably and at a uniform speed in the standard volume pipe section of the piston cylinder; determining the minimum effective length of the piston cylinder pre-stroke pipe section by calculating the minimum running length required for the piston to reach a uniform speed running state from a stationary state; monitoring the piston operation by calculating the running trajectory of the piston and the displacement perpendicular to the axial direction of the piston cylinder. Through this solution, on the one hand, it is possible to achieve quality verification of the flow standard device and ensure the accuracy of the piston flow standard device when verifying and calibrating the flowmeter to be inspected; on the other hand, it is possible to reduce the size and volume of the piston flow standard device and reduce the weight of the equipment so that it can be better transported and used.
[0117] An embodiment of the present disclosure also provides a flow standard device, see Figure 2 , including a photoelectric detection unit, and the photoelectric detection unit includes a controller (not shown in the figure); wherein the controller is configured to execute the quality verification method of the flow standard device as described in any embodiment of the present disclosure.
[0118] The flow standard device of this embodiment provides a piston-type volume tube flow standard device, which includes a photoelectric detection unit. By using the photoelectric detection unit as a measurement means to monitor the operation of the piston, it is possible to verify whether the quality and accuracy of the flow standard device meet the design requirements. In addition, it is also possible to reduce the overall size and volume of the device and reduce the weight of the equipment by controlling the effective length of the piston cylinder while ensuring the piston measurement accuracy.
[0119] The controller of the above-mentioned embodiment of the present disclosure may be a general-purpose processor, including a central processing unit (CPU), a network processor (NP for short), a microprocessor, etc., or other conventional processors, etc.; the processor may also be a digital signal processor (DSP), an application-specific integrated circuit (ASIC), an off-the-shelf programmable gate array (FPGA), discrete logic or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components, or other equivalent integrated or discrete logic circuits, or a combination of the above devices. That is, the processor of the above-mentioned embodiment may be any processing device or device combination for implementing the various methods, steps and logic block diagrams disclosed in the embodiments of the present disclosure. If the embodiments of the present disclosure are partially implemented in software, the instructions for the software may be stored in a suitable non-volatile computer-readable storage medium, and one or more processors may be used to execute the instructions in hardware to implement the methods of the embodiments of the present disclosure. The term "processor" used herein may refer to the above-mentioned structure or any other structure suitable for implementing the technology described herein.
[0120] An embodiment of the present disclosure further provides a non-volatile computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, wherein the computer program, when executed by a processor, can implement the quality verification method of a flow standard device as described in any embodiment of the present disclosure.
[0121] In summary, the quality verification method of the flow standard device and the flow standard device disclosed in the present invention have at least the following advantages:
[0122] (1) Monitor the piston's travel position and acceleration through a photoelectric detection unit, calculate whether the piston runs stably and at a uniform speed in the standard volume pipe section of the piston cylinder, and determine whether the flow standard device meets the calibration conditions;
[0123] (2) By calculating the speed change of the piston in the pre-stroke pipe section, the minimum effective length of the piston cylinder pre-stroke pipe section is determined, thereby controlling the overall size and volume of the flow standard device and reducing the weight of the equipment;
[0124] (3) By calculating the running trajectory of the piston and the displacement perpendicular to the axial direction of the piston cylinder, the running condition of the piston in the piston cylinder is monitored to detect whether the piston operation is abnormal.
[0125] It will be appreciated by those skilled in the art that all or some of the steps, systems, and functional modules / units in the methods disclosed above may be implemented as software, firmware, hardware, and appropriate combinations thereof. In hardware implementations, the division between the functional modules / units mentioned in the above description does not necessarily correspond to the division of physical components; for example, a physical component may have multiple functions, or a function or step may be performed by several physical components in cooperation. Some or all components may be implemented as software executed by a processor, such as a digital signal processor or a microprocessor, or implemented as hardware, or implemented as an integrated circuit, such as an application-specific integrated circuit. Such software may be distributed on a computer-readable medium, which may include a computer storage medium (or non-transitory medium) and a communication medium (or temporary medium). As known to those skilled in the art, the term "computer storage medium" includes volatile and non-volatile, removable and non-removable media implemented in any method or technology for storing information (such as computer-readable instructions, data structures, program modules, or other data). Computer storage media include, but are not limited to, RAM, ROM, EEPROM, flash memory or other memory technology, CD-ROM, digital versatile disks (DVD) or other optical disk storage, magnetic cassettes, magnetic tapes, magnetic disk storage or other magnetic storage devices, or any other medium that can be used to store the desired information and can be accessed by a computer. In addition, it is well known to those of ordinary skill in the art that communication media typically contain computer-readable instructions, data structures, program modules, or other data in a modulated data signal such as a carrier wave or other transport mechanism, and may include any information delivery media.
Claims
1. A quality verification method for a flow standard device, the flow standard device comprising at least: The piston and the piston cylinder, when the flow standard device performs the calibration work of the flow meter to be tested, the piston moves along the downstream direction of the piston cylinder, characterized in that the quality calibration method includes: Determine the ideal running route of the piston in the flow standard device moving toward the downstream direction of the piston cylinder according to the three-axis acceleration values collected during the process of the piston moving toward the downstream direction of the piston cylinder; Calculate the velocity vector sum of each coordinate point in the direction of the ideal running route according to the spatial coordinate value of each coordinate point in the three-dimensional space coordinate system in the ideal running route; Whether the flow standard device meets the quality requirements is determined based on whether the calculated velocity vector sum of each coordinate point meets the preset stability condition.
2. The quality verification method of the flow standard device according to claim 1, characterized in that: The method of determining the ideal running route of the piston in the flow standard device moving toward the downstream direction of the piston cylinder according to the three-axis acceleration values collected during the piston moving toward the downstream direction of the piston cylinder includes: According to the preset sampling frequency, at each sampling time point, the three-axis acceleration value of the piston in the process of moving toward the downstream direction of the piston cylinder is collected respectively, wherein the three-axis acceleration value includes the acceleration value component in the x-axis direction, the acceleration value component in the y-axis direction, and the acceleration value component in the z-axis direction; Integrate the three-axis acceleration values collected at each sampling time point to obtain the three-axis velocity components corresponding to the sampling time point, wherein the three-axis velocity components include the velocity component in the x-axis direction, the velocity component in the y-axis direction, and the velocity component in the z-axis direction; Integrate the three-axis velocity components corresponding to each sampling time point respectively to obtain the three-axis displacement components corresponding to the sampling time point, wherein the three-axis displacement components include the displacement component in the x-axis direction, the displacement component in the y-axis direction, and the displacement component in the z-axis direction; For each sampling time point, respectively, according to the three-axis displacement components corresponding to the sampling time point, the spatial coordinate value of the sampling time point in the three-dimensional coordinate system is obtained; Data fitting is performed on the spatial coordinate values of each sampling time point, and the obtained three-dimensional straight line is used as the ideal running route.
3. The quality verification method of the flow standard device according to claim 2 is characterized in that: The three-axis acceleration values collected at each sampling time point are respectively integrated to obtain the three-axis velocity components corresponding to the sampling time point, including calculating the three-axis velocity components according to the following formula: Wherein, v(t) represents the three-axis velocity component at sampling time point t; v0 represents the initial velocity component, which is 0; a0 represents the initial three-axis acceleration value; a(t) represents the three-axis acceleration value at sampling time point t; t represents the integration step, t = 1 / f, and f is the preset sampling frequency; The three-axis velocity components corresponding to each sampling time point are respectively integrated to obtain the three-axis displacement components corresponding to the sampling time point, including: calculating the three-axis displacement components according to the following formula: Among them, s(t) represents the three-axis displacement component at the sampling time point t; s0 represents the initial displacement component, which is 0; v(t) represents the three-axis velocity component at the sampling time point t; t represents the integration step, t=1 / f, and f is the preset sampling frequency.
4. The quality verification method of the flow standard device according to claim 2, characterized in that: The collecting of the three-axis acceleration values of the piston during the movement of the piston toward the downstream direction of the piston cylinder includes: In the process of collecting the three-axis acceleration values of the piston in the process of moving toward the downstream direction of the piston cylinder, the three-axis acceleration values of the piston are obtained through the acceleration sensor provided in the flow standard device.
5. The quality verification method of the flow standard device according to claim 2, characterized in that: The step of calculating the velocity vector sum of each coordinate point in the direction of the ideal running route according to the spatial coordinate value of each coordinate point in the three-dimensional space coordinate system in the ideal running route comprises: According to the spatial coordinate values of the ideal running route in the three-dimensional space coordinate system, the angles between the ideal running route and the three coordinate axes of the three-dimensional space coordinate system are obtained, wherein the three coordinate axis angles are respectively a first angle between the ideal running route and the x-axis, a second angle between the y-axis, and a third angle between the z-axis of the three-dimensional space coordinate system; For each sampling time point, the velocity vector sum of the three-axis velocity components in the direction of the ideal running route is obtained according to the three-axis velocity components at the sampling time point and the angles of the three coordinate axes.
6. The quality verification method of the flow standard device according to claim 5, characterized in that: The velocity vector and are calculated as follows: v(t)=v xt cosθ x +v yt cosθ y +v zt cosθ z ; Among them, v xt represents the velocity component of the three-axis velocity component in the x-axis direction at the sampling time point t, v yt represents the velocity component of the three-axis velocity component in the y-axis direction at the sampling time point t, v zt Represents the velocity component of the three-axis velocity component in the z-axis direction at the sampling time point t, θx represents the first angle, θy represents the second angle, and θz represents the third angle.
7. The quality verification method of the flow standard device according to claim 2, characterized in that: The step of determining whether the flow standard device meets the quality requirements based on whether the calculated velocity vector sum of each coordinate point meets the preset stability condition comprises: Determine whether the velocity vector sum of each coordinate point within the verification time period meets the preset stability condition: when the velocity vector sum of each coordinate point within the verification time period meets the preset stability condition, determine that the flow standard device meets the quality requirements; when the velocity vector sum of any coordinate point within the verification time period does not meet the preset stability condition, determine that the flow standard device does not meet the quality requirements; Wherein, the piston cylinder is divided into a pre-stroke pipe section and a standard volume pipe section, and the verification time period is the time period corresponding to the piston passing through the standard volume pipe section.
8. The quality verification method of the flow standard device according to claim 7, characterized in that: The method further comprises: The velocity vector and the first coordinate point that meets the preset stability condition in the ideal running route are determined as the first stable coordinate point; Obtaining a first stable sampling time point corresponding to the first stable coordinate point; Determine whether the piston is in the pre-stroke pipe section at the first stable sampling time point: when the piston is in the pre-stroke pipe section at the first stable sampling time point, determine that the length of the pre-stroke pipe section is greater than the standard length; when the piston is at the junction of the pre-stroke pipe section and the standard volume pipe section at the first stable sampling time point, determine that the length of the pre-stroke pipe section is equal to the standard length; when the piston is in the standard volume pipe section at the first stable sampling time point, determine that the length of the pre-stroke pipe section is less than the standard length.
9. The quality verification method of the flow standard device according to claim 2, characterized in that: After obtaining the spatial coordinate value of each sampling time point in the three-dimensional coordinate system according to the three-axis displacement components corresponding to the sampling time point, the method further includes: Connecting the spatial coordinate values corresponding to each sampling time point in sequence in the three-dimensional spatial coordinate system as the actual motion trajectory of the piston; The stability of the actual operation of the piston is determined based on the deviation between the actual motion trajectory and the ideal operation route.
10. A flow standard device, characterized in that: It comprises a photoelectric detection unit, and the photoelectric detection unit comprises a controller; wherein the controller is configured to execute the quality verification method of the flow standard device according to any one of claims 1 to 9.
