The invention relates to an online performance evaluation method for an ultrasonic gas flowmeter, and belongs to the field of ultrasonic flow measurement. Comprising the following steps: S1, calculating a priori mean value mu0 and a priori standard deviation sigma0; s2, calculating a posterior mean value mu 1 and a posterior standard deviation sigma 1; s3, the uncertainty u1 is calculated, the steps are repeated, and the posterior distribution serves as posterior distribution in sequence and is fused with next data until all real-
time data are fused; and S4, obtaining the mean values [mu] up1, [mu] up2,... [mu] upn, [mu] down 1, [mu] down 2,... [mu] down n and the standard deviations [sigma] up1, [sigma] up2,... [sigma] upn, [sigma] down 1, [sigma] down 2,... [sigma] down n of the
clockwise and countercurrent time, and calculating the
standard uncertainty of the
clockwise and countercurrent time as [mu] up1, [mu] up2,... [mu] upn, [mu] down 1, [mu] down 2,... [sigma] down n. According to the method, real-time collection of online measurement data is achieved by establishing the change point detection model and obtaining the change trend of the measurement data, and the specific implementation process is that
prior information and real-time sample information are combined to obtain posterior distribution so as to more accurately evaluate the performance of the flowmeter. By means of the method, real-time performance evaluation and precision calibration can be conducted on the ultrasonic flowmeter, and then the quality and efficiency of industrial production are improved.