摘要
为保障用电设备的电压稳定,设计一种基于最小二乘法的电压检测算法。将检测数据设置成横坐标,在设备承受范围内选定相应的纵坐标,构成数据点;使用最小二乘法计算预测值、残差、残差平方、残差平方均值等,当残差平方小于等于残差平方均值时,保留数据点,否则删除;最后对删除的数据计算被删除数据波动值h,若h超过当前标准电压k%的平方,报警提示,否则不报警。所提算法可提高电压的稳定性,从而延长用电设备的使用年限。
In order to ensure the voltage stability of electrical equipment, a voltage detection algorithm based on the least square method is designed. Set the test data as abscissa, and select the corresponding ordinate within the range of the equipment to form the data point;Use the least squares method to calculate the predicted value, residual, residual square, and mean of residual square. When the residual square is less than or equal to the mean of residual square, keep the data points, or delete them;Finally, calculate the fluctuation value h of the deleted data for the deleted data. If h exceeds the square of k% of the current standard voltage, an alarm will be given, otherwise,no alarm will be given. The proposed algorithm can improve the stability of voltage, thus prolonging the service life of electrical equipment.
作者
李志鹏
LI Zhipeng(Jiangxi University of Finance and Economics,Nanchang 330013,China)
出处
《电视技术》
2022年第11期22-25,共4页
Video Engineering
关键词
电压检测
最小二乘法
残差
报警处理
voltage detection
least square method
residual error
alarm handling