Online detection method of energy consumption information in machining process of main drive system of machine tool

The invention provides an online detection method of energy consumption information in a machining process of a main drive system of a machine tool. According to the method, real-time data, such as loss power of a mainshaft motor, output power of the mainshaft motor, loss power of a mechanical drive system, cutting power, and the like of energy consumption information of the main drive system of the machine tool can be solved just by measuring the total input power of the machine tool in the production site in the machining process, according to established mathematical models of energy flowsand main energy consumption information of the main drive system in the machining process of the machine tool, and base data, such as no-load power and additional load loss coefficient of the machinetool, which are obtained in advance when a mainshaft is in a machining rotation speed, rated power of the mainshaft motor, rated efficiency of the mainshaft motor, no-load power of the mainshaft motor, and the like. The online detection method can be directly applied to researches, such as acquisition of energy efficiency of the machine tool, efficiency estimation of the machining process, energyconsumption monitoring, energy management and energy saving technologies and has wider application prospect.