The invention relates to a near-
infrared measurement method applicable to real-time on-line measuring-point-free temperature compensation. The method comprises the following steps: measuring
physical property parameter standard data by utilizing a laboratory method; acquiring the near
infrared spectrum of a same sample under different temperature levels; performing preprocessing and
principal component analysis on the acquired
spectral data, and performing non-separated
latent variable modeling on the temperature by using partial
least squares so as to acquire a
physical property parameter measurement value at the
present moment; and acquiring a new
spectral data set online, constructing an on-line recursive
algorithm, updating the
physical property parameter measurement value, and finishing near-
infrared on-line measurement capable of achieving a measuring-point-free temperature compensation function. According to the method disclosed by the invention, the temperature serving as a non-separated latent factor variable participates in the near-infrared modeling process, and the recursive
algorithm is formed based on the to-be-measured property parameters, so that the property parameter measurement under different temperatures can be finished by virtue of
adaptation of the model on the temperature, and direct
temperature measurement information and correlation calculation are not needed; and therefore, the established model has the high universality. The on-line recursive
algorithm is not sensitive on
sample temperature change, and the measurement result has a relatively small integrated error.