发明名称 Method for calibrating current offset and filtering bad data in a system that detects power output
摘要 A method of calibrating current offsets from a DC bus current circuit adapted to control a motor is disclosed. The method comprises the steps of initializing the DC bus current circuit, disengaging PWM signals to the motor, sampling current values at a predetermined sampling rate, averaging the current values over a predetermined number of samples to establish an offset value, and calculating a calibration value that will nullify the offset value in any subsequent processing of current samples. In a related aspect, a method of filtering inaccurate data from a sequential calculation of power values based on repeatedly sampled voltage and current obtained at a predetermined sampling rate is disclosed. The method includes the steps of establishing a moving window of a predetermined number of power values that moves to include the power value based on the last sample of voltage and current, calculating an average power over a sequence comprising the predetermined number of power values at three different times within the window, calculating an error value for each time, based on the difference between two of the average power values, and comparing each error value to a preset value. In this manner, when the error value exceeds the preset value, the power value based on the last sample is discarded.
申请公布号 US2005288885(A1) 申请公布日期 2005.12.29
申请号 US20040874529 申请日期 2004.06.23
申请人 ZHANG ZHENG;XU HUANGSHENG 发明人 ZHANG ZHENG;XU HUANGSHENG
分类号 D06F37/20;G01R35/00;(IPC1-7):G01R35/00;G06F19/00 主分类号 D06F37/20
代理机构 代理人
主权项
地址