Unlock instant, AI-driven research and patent intelligence for your innovation.

Digital low-pass filtering method and device for integer operation

A technology of digital low-pass filtering and integer operation, applied in the direction of digital technology network, electrical components, impedance network, etc., can solve problems such as affecting the normal operation of DSP or single-chip microcomputer

Active Publication Date: 2018-12-21
HICONICS ECO ENERGY TECH CO LTD
View PDF5 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0011] However, amplification and restoration require multiplication and division operations, so that the resources and time of the DSP or single-chip microcomputer are consumed on amplification and restoration, which affects the normal operation of the DSP or single-chip microcomputer.

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Digital low-pass filtering method and device for integer operation
  • Digital low-pass filtering method and device for integer operation
  • Digital low-pass filtering method and device for integer operation

Examples

Experimental program
Comparison scheme
Effect test

Embodiment

[0104] In an embodiment, the input is a frequency converter output current magnitude signal.

[0105] Hardware: Connect the U-phase output current amplitude circuit of the inverter to the A / D conversion inlet of the DSP to convert the analog signal into an integer digital signal; voltage: 0-3V; corresponding conversion result: 0-4095 (12 bits). Below is the handler.

[0106] The A / D conversion result is set as Iad, which is used as the input of the filter; Iabs is used as the integer part of the filter output; Iabsf is the remainder; they are all int types.

[0107] Main.c

[0108] initialization:

[0109] Iabs = Iabsf = Iad = 0;

[0110] Interrupt_10ms.c

[0111] 10 milliseconds timing interrupt service routine:

[0112] Iabs+=(Iad–Iabs+Iabsf)>>2;

[0113] Iabsf=(Iad-Iabs+Iabsf)%4.

[0114] When the same signal is processed by the prior art of formula (4), (5), the program is as follows:

[0115] The A / D conversion result is set as Iad, which is used as the input of t...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses a digital lowpass filtering apparatus for integer arithmetic. Data x (n), y (n - 1) and r (n - 1) are input to an accumulator A, the accumulator A calculates A = x (n) - y(n - 1) + r (n - 1); data A and h are input to a divider B, and the divider B calculates B = A / h; data B and y (n-1) are input to an accumulator C, and the accumulator calculates C = y (n-1) + B; and data C are used as the current filtering output y(n) and is stored for the next operation. The data x (n), y (n - 1) and r (n - 1) are input to the accumulator A, and the accumulator A calculates A = x (n) - y(n - 1) + r (n - 1); and the data A and h are input to the logic shifter B, the logic shifter B calculates B= A / h, and the current remainder of the B outputs r(n), and r(n) is stored for the next operation.

Description

technical field [0001] The invention relates to a digital low-pass filter method and device for integer calculation. Background technique [0002] In digital signal processing, some physical quantities (such as voltage and current) require "stability" processing before entering the mathematical model, that is, the signal is filtered to remove interference. In order to reduce the impact on the signal, the delay or displacement should be minimized when filtering. When using DSP or the timing interrupt processing mechanism of the corresponding single-chip microcomputer to process, because the interrupt time is adjustable, the cut-off frequency is difficult to determine in advance. If the cutoff frequency is to be handled accurately, the break time must be related to the filter coefficient. In general, it is not necessary to process the cutoff frequency accurately, as long as it meets the requirements of on-site use; there are also some physical quantities used for display tha...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Patents(China)
IPC IPC(8): H03H17/02
CPCH03H17/0201
Inventor 郑晓江
Owner HICONICS ECO ENERGY TECH CO LTD