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
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
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...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


