RU2460130C1 - Method for digital recursive band-pass filtering and digital filter for realising said method - Google Patents

Method for digital recursive band-pass filtering and digital filter for realising said method Download PDF

Info

Publication number
RU2460130C1
RU2460130C1 RU2011114660/08A RU2011114660A RU2460130C1 RU 2460130 C1 RU2460130 C1 RU 2460130C1 RU 2011114660/08 A RU2011114660/08 A RU 2011114660/08A RU 2011114660 A RU2011114660 A RU 2011114660A RU 2460130 C1 RU2460130 C1 RU 2460130C1
Authority
RU
Russia
Prior art keywords
input
output
signal
register
filter
Prior art date
Application number
RU2011114660/08A
Other languages
Russian (ru)
Inventor
Александр Наумович Шполянский (RU)
Александр Наумович Шполянский
Original Assignee
Закрытое акционерное общество "Ассоциация предприятий морского приборостроения"
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Закрытое акционерное общество "Ассоциация предприятий морского приборостроения" filed Critical Закрытое акционерное общество "Ассоциация предприятий морского приборостроения"
Priority to RU2011114660/08A priority Critical patent/RU2460130C1/en
Application granted granted Critical
Publication of RU2460130C1 publication Critical patent/RU2460130C1/en

Links

Images

Landscapes

  • Complex Calculations (AREA)

Abstract

FIELD: information technology.
SUBSTANCE: digital filtering method enables to pick up a signal in conditions with powerful broadband interference and can be realised in a digital filter. The method involves successive transformation of the filtered signal such that in each filtration step, fourth-order transformation is carried out, having transformation members only during even steps for signal sampled values. As a result of such signal transformation, the number of operations is reduced and operating speed is increased during filtration. The digital filter has a simple design and can be made using standard components.
EFFECT: higher speed of operation during band-pass filtering.
3 cl, 7 dwg

Description

Изобретение относится к вычислительной технике и может быть использовано в системах цифровой обработки информации с высокими требованиями к частотной избирательности выполнения фильтрации для выделения полезного сигнала в условиях действия мощных широкополосных помех.The invention relates to computer technology and can be used in digital information processing systems with high requirements for frequency selectivity of filtering to select a useful signal in the presence of powerful broadband interference.

Известны способы цифровой рекурсивной фильтрации сигналов, позволяющие выделять полезный сигнал в условиях действия помех [1; 2]. Указанные способы цифровой фильтрации основаны на сравнении фильтруемого цифрового сигнала xi с выходным сигналом

Figure 00000001
, путем определения разностного сигнала
Figure 00000002
, а выходной сигнал
Figure 00000003
формируют в виде суммы предыдущего значения
Figure 00000004
, и дополнительного сигнала Δi, причем дополнительный сигнал Δi выбирают равным значению Δ, если Δxi≥Δ, значению (-Δ), если Δxi≤Δ, и нулю, если -Δ<Δi<Δ, где Δ соответствует максимально допустимому превышению сигнала помехи над полезным сигналом [1] или цене единицы младшего разряда цифрового кода xi [2].Known methods of digital recursive filtering of signals that allow you to select a useful signal in the presence of interference [1; 2]. These digital filtering methods are based on a comparison of the filtered digital signal x i with the output signal
Figure 00000001
by determining the difference signal
Figure 00000002
, and the output signal
Figure 00000003
form as the sum of the previous value
Figure 00000004
, and an additional signal Δ i , and the additional signal Δ i is chosen equal to the value Δ if Δx i ≥Δ, to the value (-Δ) if Δx i ≤Δ, and to zero if -Δ <Δ i <Δ, where Δ corresponds to the maximum allowable excess of the interference signal over the useful signal [1] or the unit price of the least significant digit of the digital code x i [2].

Недостатком этих способов является невозможность выполнения цифровой рекурсивной полосовой фильтрации, так как в них используют преобразования сигнала первого порядка на основе формирования первых разностей xi-xi-1 с задержками на один период частоты дискретизации. Такое преобразование обеспечивает сглаживание фильтруемого сигнала на фоне помех, лежащих в более низкочастотной области, чем полезный сигнал, и не решает задачи полосовой фильтрации, для которой в самом простейшем варианте требуется выполнение преобразования в соответствии с разностным управлением второго порядка.The disadvantage of these methods is the inability to perform digital recursive bandpass filtering, since they use first-order signal transformations based on the formation of the first differences x i -x i-1 with delays of one sampling frequency period. Such a conversion provides smoothing of the filtered signal against the background of interference lying in the lower frequency region than the useful signal and does not solve the band-pass filtering problem, for which, in the simplest version, the conversion must be performed in accordance with the second-order difference control.

В том случае, когда требуется высокая избирательность полосовой фильтрации для выделения полезного сигнала из помех, используют преобразование более высокого порядка.In the case where high selectivity of bandpass filtering is required to extract a useful signal from interference, a higher order transform is used.

Наиболее близким к предлагаемому является способ цифровой фильтрации, использующий последовательное (каскадное) преобразование фильтруемого сигнала [3], принимаемый в качестве прототипа предлагаемого способа. Известный способ цифровой рекурсивной фильтрации включает r последовательных ступеней преобразования фильтруемого сигнала, в каждой из которых выполняют весовое суммирование задержанных значений входного (xn) и выходного (yn) сигналов так, что отфильтрованный сигнал i-ой ступени фильтрации (i=0, 1, …r) является входным сигналом для (i+1)-ой ступени преобразования. Преобразование сигнала i-ой ступени в способе-прототипе выполняют по правилу:Closest to the proposed is a digital filtering method that uses sequential (cascade) conversion of the filtered signal [3], taken as a prototype of the proposed method. The known method of digital recursive filtering includes r successive stages of conversion of the filtered signal, in each of which weighted summation of the delayed values of the input (x n ) and output (y n ) signals is performed so that the filtered signal of the i-th filtering stage (i = 0, 1 , ... r) is the input signal for the (i + 1) -th conversion step. The signal conversion of the i-th stage in the prototype method is performed according to the rule:

Figure 00000005
Figure 00000005

где xni, yni - значения входного и выходного сигналов i-ой ступени преобразования;where x ni , y ni are the values of the input and output signals of the i-th stage of conversion;

βki, αki - значения весовых коэффициентов i-ой ступени преобразования.β ki , α ki are the values of the weight coefficients of the i-th stage of the transformation.

Преобразованию (1) соответствует передаточная функция ([3], стр.52),Transformation (1) corresponds to the transfer function ([3], p. 52),

Figure 00000006
Figure 00000006

Для фильтра с числом ступеней преобразования, равном r, передаточная функция фильтра:For a filter with the number of conversion steps equal to r, the transfer function of the filter:

Figure 00000007
Figure 00000007

Недостатком известного способа является низкое быстродействие при выполнении полосовой фильтрации из-за необходимости выполнять в каждом i-ом звене преобразование вида: β1ixn-1, i, α1iyn-1,i, причем увеличение времени при выполнении фильтрации тем больше, чем выше требования к избирательности полосовой фильтрации (чем больше требуется число ступеней преобразования r). Так, например, при выполнении полосовой рекурсивной фильтрации известным способом с четырьмя ступенями преобразования, при котором каждая ступень выполняет преобразование сигнала по правилу (1), крутизна скатов амплитудно-частотной характеристики (АЧХ) составляет всего 40 децебел на октаву ([3], стр.144, 145). При этом требуется выполнение двадцати операций умножения многоразрядных чисел и шестнадцати операций арифметического сложения, из-за чего быстродействие известного способа фильтрации оказывается низким.The disadvantage of this method is the low speed when performing band-pass filtering due to the need to perform transformation of the form in each i-th link: β 1i x n-1, i , α 1i y n-1, i , and the longer the filtering time is , the higher the requirements for selectivity of bandpass filtering (the more the number of conversion steps r is required). So, for example, when performing band recursive filtering in a known manner with four conversion steps, in which each step performs signal conversion according to rule (1), the slope of the slopes of the amplitude-frequency characteristic (AFC) is only 40 decibels per octave ([3], p. .144, 145). This requires the execution of twenty operations of multiplying multi-digit numbers and sixteen operations of arithmetic addition, which is why the performance of the known filtering method is low.

Известен программно-управляемый цифровой фильтр [4], реализующий известный способ фильтрации. Фильтр содержит блок задания коэффициентов, два блока памяти, арифметический блок, два мультиплексора, сумматор, выходной регистр, блок управления, счетный триггер, инвертор, элементы И и ИЛИ. Программно-управляемый цифровой фильтр выполнен в соответствии с каскадной формой реализации цифровых рекурсивных фильтрах на звеньях второго порядка. Каждое звено этого фильтра производит преобразование сигнала в соответствии с разностным уравнением (1). Фильтр, в зависимости от загружаемых в его память весовых коэффициентов, может выполнять фильтрацию нижних частот, верхних частот и полосовую фильтрацию.Known software-controlled digital filter [4], which implements the known method of filtering. The filter contains a coefficient setting block, two memory blocks, an arithmetic block, two multiplexers, an adder, an output register, a control unit, a counting trigger, an inverter, AND and OR elements. The program-controlled digital filter is made in accordance with the cascade form of implementing digital recursive filters on second-order links. Each link of this filter converts the signal in accordance with the difference equation (1). The filter, depending on the weight coefficients loaded into its memory, can perform low-pass, high-pass and band-pass filtering.

Недостатком этого фильтра является большой объем необходимого оборудования для его реализации. Кроме того, при реализации полосовой фильтрации быстродействие фильтра оказывается низким, так как при этом используется последовательное включение звеньев нижних и верхних частот, что приводит к необходимости выполнения большего числа арифметических операций.The disadvantage of this filter is the large amount of necessary equipment for its implementation. In addition, when implementing bandpass filtering, the filter performance turns out to be low, since it uses sequential switching of the low and high frequencies, which leads to the need to perform more arithmetic operations.

Известен рекурсивный полосовой фильтр [5]. Этот фильтр содержит два блока задержки, три сумматора и три умножителя. Фильтр работает в соответствии с разностным уравнением второго порядка. Для выполнения полосовой фильтрации в этом устройстве есть возможность взаимно независимой перестройки фильтра по полосе пропускания и по резонансной частоте путем изменения значений его весовых коэффициентов.Known recursive bandpass filter [5]. This filter contains two delay units, three adders and three multipliers. The filter operates in accordance with a second order difference equation. To perform band-pass filtering in this device, there is the possibility of mutually independent tuning of the filter according to the passband and resonant frequency by changing the values of its weight coefficients.

Недостатком такого фильтра является его низкая избирательность, ограниченная избирательными возможностями фильтров второго порядка, которая для полосового фильтра не превышает крутизны скатов АЧХ 10 децибел на октаву (10 дБ/окт).The disadvantage of such a filter is its low selectivity, limited by the selective capabilities of second-order filters, which for a band-pass filter does not exceed the steepness of the slopes of the frequency response of 10 decibels per octave (10 dB / oct).

Наиболее близким к предлагаемому цифровому рекурсивному полосовому фильтру является программируемый цифровой фильтр [6], который выбирается в качестве прототипа устройства. Этот фильтр содержит регистр хранения текущего значения входного сигнала, четыре блока умножения, четыре сумматора, два элемента задержки, два мультиплексора, четыре преобразователя кода, дешифратор, блок вычисления коэффициента передачи, регистр хранения состояния фильтра, два инвертора и блок синхронизации, обеспечивающий управление работой фильтра. Фильтр-прототип перед началом выполнения фильтрации настраивается на фильтрацию нижних частот, полосовую или режекторную фильтрацию путем выбора одного из четырех уравнений второго порядка.Closest to the proposed digital recursive bandpass filter is a programmable digital filter [6], which is selected as a prototype device. This filter contains a register for storing the current value of the input signal, four multiplication units, four adders, two delay elements, two multiplexers, four code converters, a decoder, a transmission coefficient calculation unit, a filter status storage register, two inverters and a synchronization unit that provides filter operation control . The filter prototype before starting to perform filtering is configured for low-pass filtering, bandpass or notch filtering by selecting one of the four second-order equations.

Недостатком фильтра-прототипа является низкая избирательность при выполнении полосовой фильтрации. Кроме того, фильтр-прототип сложен в реализации и имеет низкое быстродействие.The disadvantage of the filter prototype is the low selectivity when performing bandpass filtering. In addition, the prototype filter is difficult to implement and has a low speed.

Фильтр-прототип [6] так же, как известные фильтры [4; 5], реализует известный способ цифровой фильтрации [3].The prototype filter [6] is the same as the known filters [4; 5], implements the known method of digital filtering [3].

Задачей изобретения является создание нового способа рекурсивной цифровой полосовой фильтрации и цифрового фильтра для реализации этого способа, позволяющих повысить быстродействие выполнения полосовой фильтрации при обеспечении высокой избирательности и простоты реализации.The objective of the invention is to create a new method of recursive digital bandpass filtering and a digital filter to implement this method, which allows to increase the speed of performing bandpass filtering while ensuring high selectivity and ease of implementation.

Сущность изобретения состоит в том, что предлагается способ, включающий r последовательных ступеней преобразования фильтруемого сигнала, в каждой из которых выполняют весовое суммирование задержанных значений входного (xni) и выходного (yni) сигналов так, что отфильтрованный фигнал i-ой ступени фильтрации (i=0, 1, …r) является входным сигналом для (i+1)-ой ступени, отличающийся тем, что преобразование сигнала i-ой ступени выполняют по правилу:The essence of the invention lies in the fact that a method is proposed comprising r successive stages of conversion of the filtered signal, in each of which weighted summation of the delayed values of the input (x ni ) and output (y ni ) signals is performed so that the filtered signal of the ith filtering stage ( i = 0, 1, ... r) is the input signal for the (i + 1) -th stage, characterized in that the signal conversion of the i-th stage is performed according to the rule:

Figure 00000008
Figure 00000008

причем, предварительно вычисленные весовые коэффициенты фильтрации выбирают исходя из требуемых значений полосы пропускания Δf и центральной полосы пропускания fц, а значения частоты дискретизации задают в четыре раза больше центральной частоты полосы пропускания.moreover, pre-calculated filtering weights are selected based on the required values of the passband Δf and the central passband f c , and the values of the sampling frequency are set four times the central frequency of the passband.

Значения весовых коэффициентов фильтрации вычисляют по формулам:The values of the weighting filtration coefficients are calculated by the formulas:

Figure 00000009
Figure 00000009

К0=(K12+1)2,K 0 = (K 1 + K 2 +1) 2 ,

В отличие от известного способа-прототипа [3] в предложенном способе в каждой ступени преобразования выполняют преобразование четвертого порядка (3), причем для формирования отфильтрованного сигнала i-ой ступени требуется меньшее число арифметических операций, чем в прототипе для выполнения преобразования второго порядка (в прототипе - 5 умножений и четыре арифметических сложения многоразрядных чисел, в предлагаемом способе - три умножения многоразрядных чисел, одно умножение на 2 и четыре арифметических сложений многоразрядных чисел).In contrast to the known prototype method [3], the proposed method performs fourth-order conversion in each conversion step (3), and for the formation of the filtered signal of the i-th step, fewer arithmetic operations are required than in the prototype to perform the second-order conversion (in prototype - 5 multiplications and four arithmetic additions of multi-digit numbers, in the proposed method - three multiplications of multi-digit numbers, one multiplication by 2 and four arithmetic additions of multi-digit numbers).

В результате одна ступень преобразования в предлагаемом способе обеспечивает существенно большую избирательность и при этом требует меньшего времени на выполнение вычислительных операций. Для достижения одинаковой избирательности предлагаемого способа и способа-прототипа в способе-прототипе требуется использовать в несколько раз большее число ступеней преобразования, что обеспечивает предлагаемому способу существенный выигрыш в быстродействии.As a result, one conversion step in the proposed method provides significantly greater selectivity and at the same time requires less time for performing computational operations. To achieve the same selectivity of the proposed method and the prototype method in the prototype method, it is required to use several times more number of conversion steps, which provides the proposed method with a significant gain in speed.

В предлагаемом способе преобразованию сигнала (3) при выполнении фильтрации соответствует передаточная функция, получаемая путем применения z-преобразования к (3). С учетом r последовательных ступеней преобразования, передаточная функция определяется выражением:In the proposed method, the signal conversion (3) when performing filtering corresponds to the transfer function obtained by applying the z-transformation to (3). Given r successive stages of conversion, the transfer function is determined by the expression:

Figure 00000010
Figure 00000010

АЧХ цифрового фильтра с такой передаточной функцией, определяемая как H(f)=|H(Z)| при

Figure 00000011
, представляется следующим выражением:Frequency response of a digital filter with such a transfer function, defined as H (f) = | H (Z) | at
Figure 00000011
is represented by the following expression:

Figure 00000012
Figure 00000012

где

Figure 00000013
- нормированная частота;Where
Figure 00000013
- normalized frequency;

f - частота сигнала;f is the signal frequency;

fД=4fц - частота дискретизации;f D = 4f C - sampling rate;

fц - центральная частота полосы пропускания;f c is the center frequency of the passband;

К0, K1, К2 - коэффициенты, определяющие значения полосы пропускания и центральной частоты полосы пропускания, вычисляются по формулам (4).To 0 , K 1 , K 2 - the coefficients that determine the values of the passband and the center frequency of the passband, are calculated by the formulas (4).

Примеры АЧХ, рассчитанных по выражениям (6) и (4), приведены на фиг.6 и фиг.7.Examples of frequency response calculated by the expressions (6) and (4) are shown in Fig.6 and Fig.7.

Из рассмотрения АЧХ видно, что предлагаемый способ позволяет обеспечить чрезвычайно высокую частотную избирательность полосовой фильтрации. Так две ступени преобразования (фиг.6) обеспечивают крутизну скатов АЧХ около 75 дБ/окт. Уже при четырех ступенях преобразования фильтруемого сигнала (3) (фиг.7) в предлагаемом способе крутизна скатов АЧХ составляет примерно 130 дБ/окт, что превышает величину в 100 дБ/окт, обеспечивающую требуемую высокую степень выделения полезного сигнала из помех.From consideration of the frequency response, it is seen that the proposed method allows for extremely high frequency selectivity of bandpass filtering. So two stages of conversion (Fig.6) provide the slope of the slopes of the frequency response of about 75 dB / oct. Already with four stages of conversion of the filtered signal (3) (Fig. 7) in the proposed method, the slope of the slopes of the frequency response is approximately 130 dB / oct, which exceeds the value of 100 dB / oct, which provides the required high degree of separation of the useful signal from interference.

Как было указано выше, в известном способе-прототипе четыре ступени преобразования (1) обеспечивают при полосовой фильтрации крутизну скатов АЧХ 40 дБ/окт, т.е. примерно в 3,25 раза меньшую избирательность при меньшем быстродействии. Чтобы достигнуть избирательности в 100 дБ/окт в способе-прототипе необходимо не менее десяти ступеней преобразования. В этом случае быстродействие способа -прототипа оказывается, примерно, в 5,2 раза ниже, чем быстродействие предлагаемого способа при одинаковой избирательности.As mentioned above, in the known prototype method, the four stages of conversion (1) provide, when band pass filtering, the slope of the slopes of the frequency response of 40 dB / oct, i.e. about 3.25 times lower selectivity with lower speed. To achieve a selectivity of 100 dB / oct in the prototype method, at least ten stages of conversion are necessary. In this case, the speed of the prototype method is approximately 5.2 times lower than the speed of the proposed method with the same selectivity.

В результате решается поставленная задача создания нового способа, позволяющего повысить быстродействие выполнения полосовой фильтрации при обеспечении высокой избирательности.As a result, the task is solved of creating a new method that allows to increase the speed of performing band pass filtering while ensuring high selectivity.

Для реализации нового способа предлагается цифровой фильтр.To implement the new method, a digital filter is proposed.

Техническая задача, решаемая предлагаемым цифровым фильтром, заключается в повышении быстродействия и упрощении фильтра при выполнении полосовой фильтрации.The technical problem solved by the proposed digital filter is to improve performance and simplify the filter when performing band-pass filtering.

Указанная техническая задача достигается тем, что предлагается цифровой, рекурсивный полосовой фильтр, содержащий три блока умножения, два сумматора, два регистра, мультиплексор и блок управления, первый выход которого соединен с входом записи первого регистра, информационный вход которого является входом фильтра, выход мультиплексора соединен с первым входом первого сумматора, а выход первого блока умножения соединен с первым входом второго сумматора, отличающийся тем, что в него введены два блока хранения выборочных значений сигнала, блок умножения на два, третий регистр, и блок хранения коэффициентов, три выхода которого соединены с первыми входами первого, второго и третьего блоков умножения, вторые входы которых соответственно с первым выходом второго блока хранения выборочных значений сигнала, выходом первого сумматора и вторым выходом второго блока хранения выборочных значений сигнала, выходы второго и третьего блоков умножения соединены со вторым и третьим входами второго сумматора, выход которого соединен с входом второго регистра, выход которого соединен с информационным входом второго блока хранения выборочных значений сигнала, с входом третьего регистра и первым входом мультиплексора, подключенного вторым входом к выходу первого регистра, управляющим входом - ко второму входу блока управления, а выходом - к информационному входу первого блока хранения выборочных значений сигнала, первый выход которого через блок умножения на два соединен со вторым входом первого сумматора, второй выход - с третьим входом первого сумматора, управляющий вход - с управляющим входом второго блока хранения выборочных значений сигнала и третьим входом блока управления, а вход записи - с четвертым выходом блока управления, вход которого является входом установки номера фильтра, а пятый, шестой, седьмой и восьмой выходы блока управления соединены соответственно с входом блока хранения коэффициентов, входом записи второго регистра, входом записи второго блока хранения выборочных значений сигнала и входом записи третьего регистра, выход которого является выходом фильтра.The specified technical problem is achieved by the fact that a digital, recursive bandpass filter is proposed, containing three multiplication units, two adders, two registers, a multiplexer and a control unit, the first output of which is connected to the recording input of the first register, the information input of which is the filter input, the multiplexer output is connected with the first input of the first adder, and the output of the first multiplication unit is connected to the first input of the second adder, characterized in that two blocks of storage of sample signal values are introduced into it , a unit for multiplying by two, a third register, and a coefficient storage unit, the three outputs of which are connected to the first inputs of the first, second, and third multiplication units, the second inputs of which respectively correspond to the first output of the second unit for storing the sampled signal values, the output of the first adder, and the second output of the second block storage of sample values of the signal, the outputs of the second and third blocks of multiplication are connected to the second and third inputs of the second adder, the output of which is connected to the input of the second register, the output of which is connected the information input of the second block of storage of sample values of the signal, with the input of the third register and the first input of the multiplexer connected by the second input to the output of the first register, the control input to the second input of the control unit, and the output to the information input of the first block of storage of sample signal values, the first output which is connected through a multiplier by two to the second input of the first adder, the second output to the third input of the first adder, the control input to the control input of the second storage unit the sample values of the signal and the third input of the control unit, and the recording input is with the fourth output of the control unit, the input of which is the input for setting the filter number, and the fifth, sixth, seventh and eighth outputs of the control unit are connected respectively to the input of the coefficient storage unit, the recording input of the second register , the recording input of the second block for storing the sampled signal values and the recording input of the third register, the output of which is the output of the filter.

Сущность изобретения состоит в новом построении схемы цифрового фильтра, позволяющей обеспечить реализацию любого заданного количества последовательно включаемых ступеней фильтрации четвертого порядка путем многократного использования набора одних и тех же блоков, состав которых и связи между ними отличаются от прототипа, при этом в фильтре реализован новый заявляемый способ полосовой фильтрации, что обеспечивает повышение быстродействия, а сокращенный состав блоков обеспечивает упрощение фильтра.The invention consists in a new construction of a digital filter circuit, which allows for the implementation of any given number of sequentially switched fourth-order filtering stages by reusing a set of the same blocks, the composition of which and the connections between them are different from the prototype, while the filter uses a new inventive method band-pass filtering, which provides improved performance, and a reduced composition of blocks provides a simplified filter.

На фиг.1 представлена структурная схема цифрового рекурсивного полосового фильтра, на фиг.2 - структурная схема блока хранения выборочных значений сигнала, на фиг.3 - структурная схема блока регистров сдвига, на фиг.4 - структурная схема блока управления, на фиг.5 - временные диаграммы работы цифрового фильтра.Figure 1 presents the structural diagram of a digital recursive bandpass filter, figure 2 is a structural diagram of a block for storing sampled signal values, Fig. 3 is a structural diagram of a block of shift registers, Fig. 4 is a structural diagram of a control unit, Fig. 5 - Timing diagrams of the digital filter.

На фиг.6 и фиг.7 приведены АЧХ цифрового фильтра, состоящего из двух и четырех ступеней преобразования соответственно.Fig.6 and Fig.7 shows the frequency response of a digital filter consisting of two and four stages of conversion, respectively.

На фиг.1 обозначены:Figure 1 marked:

1, 12, 14 - регистры;1, 12, 14 - registers;

2 - мультиплексор;2 - multiplexer;

3, 13 - блоки хранения выборочных значений сигнала;3, 13 - blocks for storing sampled signal values;

4 - умножитель на 2;4 - multiplier by 2;

5, 11 - сумматоры;5, 11 - adders;

6 - блок управления;6 - control unit;

7 - блок хранения коэффициентов;7 - block storage coefficients;

8, 9, 10 - блоки умножения.8, 9, 10 - blocks of multiplication.

На фиг.2 обозначены:Figure 2 marked:

15 - демультиплексор;15 - demultiplexer;

16, 17, 18, 19 - блоки регистров сдвига;16, 17, 18, 19 - blocks of shift registers;

20, 21 - мультиплексоры.20, 21 - multiplexers.

На фиг.3 обозначены:Figure 3 marked:

221 - 22е - регистры сдвига.22 1 - 22 е - shift registers.

На фиг.4 обозначены:In figure 4 are indicated:

23 - генератор импульсов;23 - pulse generator;

24, 29, 34 - элементы задержки;24, 29, 34 - delay elements;

25 - делитель частоты;25 - frequency divider;

26, 30, 33 - регистры;26, 30, 33 - registers;

27 - постоянное запоминающее устройство (ПЗУ);27 - read-only memory (ROM);

28, 31 - счетчики;28, 31 - counters;

32 - блок вычитания;32 - block subtraction;

35 - дешифратор нуля.35 - zero decoder.

На фиг.5 обозначены:Figure 5 marked:

а - сигнал записи номера фильтра в регистр 30;a is a signal for recording the filter number in register 30;

б - сигнал записи в регистр 1;b - write signal to register 1;

в - сигнал записи в блок 3 хранения выборочных значений сигнала;in - the recording signal in the block 3 of the storage of sample values of the signal;

г - сигнал записи в регистр 12;g is the write signal to the register 12;

д - сигнал записи в блок 13 хранения выборочных значений сигнала;d is a recording signal in block 13 for storing sampled signal values;

е - сигнал записи в регистр 14;e is a write signal to register 14;

ж - сигнал управления мультиплексором 2;g - control signal of multiplexer 2;

з, и - двухразрядный (цифровой) сигнал управления блоками 3 и 13 хранения выборочных значений сигнала (з - сигнал младшего разряда, и - сигнал старшего разряда).h, and is a two-bit (digital) control signal for blocks 3 and 13 for storing sampled signal values (h is the low-order signal, and is the high-order signal).

Цифровой рекурсивный полосовой фильтр (фиг.1) содержит регистр 1 хранения текущего значения входного сигнала, информационный вход которого является входом фильтра, вход записи подключен к первому выходу блока 6 управления, а выход соединен с первым входом мультиплексора 2. Второй вход мультиплексора 2 соединен с выходом регистра 12, входами блока 13 хранения выборочных значений сигнала и регистра 14, управляющий вход мультиплексора 2 соединен со вторым выходом блока 6 управления. Выход мультиплексора 2 соединен с первым входом сумматора 5 и информационным входом блока 3 хранения выборочных значений сигнала, управляющий вход которого объединен с управляющим входом блока 13 хранения выборочных значений сигнала и подключен к третьему выходу блока 6 управления, четвертый выход которого соединен с входом записи блока 3 хранения выборочных значений сигнала. Первый выход блока 3 хранения выборочных значений сигнала через умножитель на два связан со вторым входом сумматора 5, третий вход которого соединен со вторым выходом блока 3 хранения, а выход - со вторым входом блока 9 умножения, подключенного первым входом ко второму выходу блока 7 хранения коэффициентов, первый и третий выходы которого соединены с первыми входами блоков 8 и 10 умножения соответственно, а вход соединен с пятым выходом блока 6 управления. Вторые входы блоков 8 и 10 умножения соединены с первым и вторым выходами блока 13 хранения выборочных значений сигнала. Выходы умножителей 8, 9, 10 соединены соответственно с первым, вторым и третьим входами сумматора 11, выход которого соединен с информационным входом регистра 12, подключенного входом записи к шестому выходу блока 6 управления. Вход блока 6 управления является входом установки номера фильтра. Седьмой и восьмой выходы блока 6 управления соединены соответственно с входами записи блока 13 хранения выборочных значений сигнала и регистра 14, выход которого является выходом фильтра.The digital recursive bandpass filter (Fig. 1) contains a register 1 for storing the current value of the input signal, the information input of which is the filter input, the recording input is connected to the first output of the control unit 6, and the output is connected to the first input of the multiplexer 2. The second input of the multiplexer 2 is connected to the output of the register 12, the inputs of the unit 13 for storing sampled signal values and the register 14, the control input of the multiplexer 2 is connected to the second output of the control unit 6. The output of the multiplexer 2 is connected to the first input of the adder 5 and the information input of the signal sample storage unit 3, the control input of which is combined with the control input of the signal sample value storage unit 13 and connected to the third output of the control unit 6, the fourth output of which is connected to the recording input of block 3 storing sampled signal values. The first output of block 3 for storing sampled signal values through two is connected to the second input of adder 5, the third input of which is connected to the second output of block 3, and the output is connected to the second input of block 9, connected by the first input to the second output of coefficient storage 7 , the first and third outputs of which are connected to the first inputs of the units 8 and 10 of multiplication, respectively, and the input is connected to the fifth output of the control unit 6. The second inputs of the blocks 8 and 10 of the multiplication are connected with the first and second outputs of the block 13 storing sample values of the signal. The outputs of the multipliers 8, 9, 10 are connected respectively to the first, second and third inputs of the adder 11, the output of which is connected to the information input of the register 12, connected by the recording input to the sixth output of the control unit 6. The input of the control unit 6 is the input of setting the filter number. The seventh and eighth outputs of the control unit 6 are connected respectively to the recording inputs of the unit 13 for storing the selected values of the signal and register 14, the output of which is the output of the filter.

В сумматоре 5 первый и третий входы суммирующие, а второй вход вычитающий.In adder 5, the first and third inputs are summing, and the second input is subtracting.

В сумматоре 11 первый и третий входы вычитающие, а второй вход суммирующий.In the adder 11, the first and third inputs are subtracting, and the second input is summing.

Блоки 3 и 13 хранения выборочных значений сигнала имеют одинаковый состав и структуру (фиг.2).Blocks 3 and 13 storing sampled signal values have the same composition and structure (figure 2).

Блок 3 (13) хранения выборочных значений сигнала содержит демультиплексор 15, управляющий вход которого объединен с управляющими входами мультиплексоров 20, 21 и является управляющим входом 2 блока 3 (13). Информационный вход демультиплексора 15 является входом 3 записи блока 3(13) хранения выборочных значений сигнала.Block 3 (13) for storing sampled signal values contains a demultiplexer 15, the control input of which is combined with the control inputs of multiplexers 20, 21 and is the control input 2 of block 3 (13). The information input of the demultiplexer 15 is the input 3 of the recording unit 3 (13) storing sample values of the signal.

Четыре выхода демультиплексора 15 соединены соответственно с входами 2 синхронизации блоков 16, 17, 18, 19 регистров сдвига, информационные входы 1 которых объединены и подключены к информационному входу 1 блока 3 (13) хранения выборочных значений сигнала.The four outputs of the demultiplexer 15 are connected respectively to the synchronization inputs 2 of the blocks 16, 17, 18, 19 of the shift registers, the information inputs 1 of which are combined and connected to the information input 1 of the block 3 (13) for storing the sample signal values.

Выходы 3 блоков 16, 17, 18, 19 регистров сдвига соединены с входами мультиплексора 20, выход которого является выходом 4 блока 3 (13) хранения выборочных значений сигнала. Выходы 4 блоков 16, 17, 18, 19 регистров сдвига соединены с входами мультиплексора 21, выход которого является выходом 5 блока 3 (13) хранения выборочных значений сигнала.The outputs 3 of the blocks 16, 17, 18, 19 of the shift registers are connected to the inputs of the multiplexer 20, the output of which is the output 4 of the block 3 (13) for storing sampled signal values. The outputs of 4 blocks 16, 17, 18, 19 of the shift registers are connected to the inputs of the multiplexer 21, the output of which is the output 5 of the block 3 (13) for storing sample signal values.

Каждый из блоков 16, 17, 18, 19 регистров сдвига содержит е четырехразрядных регистров сдвига 22 (221 22е) (e - разрядность двоичных чисел при выполнении фильтрации) (фиг.3). Информационные входы регистров 221-22е сдвига образуют многоразрядный информационный вход 1 блока 16 (17, 18, 19) регистров сдвига.Each of the blocks 16, 17, 18, 19 of the shift registers contains e four-digit shift registers 22 (22 1 22 e ) (e is the bit depth of the binary numbers when performing filtering) (Fig.3). The information inputs of the shift registers 22 1 -22 e form a multi-bit information input 1 of the block 16 (17, 18, 19) of the shift registers.

Объединенные входы синхронизации регистров 221-22е сдвига образуют вход синхронизации 2 блока 16 (17, 18, 19) регистров сдвига. Выходы вторых разрядов регистров 221-22е образуют многоразрядный выход 3 блока 16. 17, 18, 19 выходы четвертых разрядов регистров 221-22е образуют многоразрядный выход 4 блока 16 (17, 18, 19).The combined synchronization inputs of the shift registers 22 1 -22 e form the synchronization input 2 of the block 16 (17, 18, 19) of the shift registers. The outputs of the second bits of the registers 22 1 -22 e form the multi-bit output 3 of the block 16. 17, 18, 19 the outputs of the fourth bits of the registers 22 1 -22 e form the multi-bit output 4 of the block 16 (17, 18, 19).

В блоке 6 управления (фиг.4) выход генератора 23 импульсов соединен с входом делителя частоты 25. Выход делителя 25 соединен со счетным входом счетчика 28 и через элемент 24 задержки подключен к входу записи регистра 26. Выход счетчика 28 соединен с адресным входом постоянного запоминающего устройства 27, выход которого соединен с входом регистра 26. Выход старшего разряда регистра 26 соединен с входом записи регистра 30 и через элемент задержки 29 подключен к входу установки в ноль счетчика 28. Вход регистра 30 является входом номера цифрового фильтра (Nф). Выходы первых m разрядов регистра 30 соединены с входом установки коэффициента деления делителя частоты 25 (максимальный коэффициент деления равен 2m). Выходы двух следующих разрядов регистра 30 подключены к входу регистра 33. Выходы остальных разрядов регистра 30 образуют пятый выход блока 6 управления. Вход записи регистра 33 соединен с выходом первого разряда регистра 26, являющимся первым выходом блока 6 управления. Выход регистра 33 соединен с первым входом блока 32 вычитания, второй вход которого соединен с выходом счетчика 31, а выход через дешифратор нуля 35 и элемент задержки 34 подключен к входу установки нуля счетчика 31. Счетный вход счетчика 31 соединен с выходом пятого разряда регистра 26, являющимся четвертым выходом блока управления. Выход второго разряда регистра 26 является вторым выходом блока 6 управления. Выходы третьего и четвертого разрядов регистра 26 образуют третий двухразрядный выход блока 6 управления. Выходы шестого, седьмого и восьмого разрядов регистра 26 являются соответственно шестым, седьмым и восьмым выходами блока 6 управления.In control unit 6 (Fig. 4), the output of the pulse generator 23 is connected to the input of the frequency divider 25. The output of the divider 25 is connected to the counting input of the counter 28 and is connected to the write input of the register 26 through the delay element 24. The output of the counter 28 is connected to the address input of the permanent memory device 27, whose output is connected to the input of the register 26. The MSB output of register 26 is connected to an input write register 30 and via the delay element 29 is connected to the input setting to zero of the counter register 28. The input 30 is an input of the digital filter number (N f ) The outputs of the first m bits of the register 30 are connected to the input of the setting of the division ratio of the frequency divider 25 (the maximum division ratio is 2 m ). The outputs of the next two bits of the register 30 are connected to the input of the register 33. The outputs of the remaining bits of the register 30 form the fifth output of the control unit 6. The input of the register register 33 is connected to the output of the first bit of the register 26, which is the first output of the control unit 6. The output of the register 33 is connected to the first input of the subtracting unit 32, the second input of which is connected to the output of the counter 31, and the output through the zero decoder 35 and the delay element 34 is connected to the zero setting input of the counter 31. The counting input of the counter 31 is connected to the output of the fifth digit of the register 26, which is the fourth output of the control unit. The output of the second bit of the register 26 is the second output of the control unit 6. The outputs of the third and fourth bits of the register 26 form the third two-bit output of the control unit 6. The outputs of the sixth, seventh and eighth bits of the register 26 are respectively the sixth, seventh and eighth outputs of the control unit 6.

Цифровой фильтр реализует предложенный способ цифровой фильтрации. Фильтр выполнен в соответствии с каскадной реализацией. Каждая ступень преобразования в фильтре работает по правилу, определенному разностным уравнением четвертого порядка (3).The digital filter implements the proposed method of digital filtering. The filter is made in accordance with a cascade implementation. Each conversion step in the filter works according to the rule defined by the fourth-order difference equation (3).

В цифровом фильтре обеспечена возможность задания работы с необходимыми полосой пропускания, центральной частотой полосы пропускания и крутизной скатов АЧХ, путем хранения в блоке 7 набора коэффициентов для различных фильтров и выбора номера фильтра перед началом выполнения фильтрации. В соответствии с выражением (6) для получения требуемой АЧХ должны быть заданы наборы коэффициентов, рассчитываемые по формулам (4), и параметр r. Рассчитанные наборы коэффициентов для разных значений полосы пропускания и центральной частоты полосы пропускания хранятся в блоке 7 хранения коэффициентов. Так как при любом количестве ступеней преобразования для получения фильтра с любым конкретным значением полосы пропускания и центральной частоты полосы пропускания требуется всего три коэффициента, то при использовании современных элементов памяти, на которых выполняется блок 7 хранения коэффициентов, в нем может храниться необходимое количество наборов коэффициентов для реализации практически любых требований к перестройке характеристик фильтра.In the digital filter, it is possible to set the required bandwidth, central bandwidth and slope of the frequency response by storing in block 7 a set of coefficients for various filters and selecting a filter number before starting filtering. In accordance with expression (6), in order to obtain the required frequency response, sets of coefficients calculated by formulas (4) and the parameter r must be specified. The calculated sets of coefficients for different values of the passband and the center frequency of the passband are stored in the coefficient storage unit 7. Since for any number of conversion steps to obtain a filter with any specific value of the passband and the center frequency of the passband, only three coefficients are required, when using modern memory elements that run the coefficient storage unit 7, it can store the required number of sets of coefficients for implementation of almost any requirements for the restructuring of the filter.

Информация о требуемых характеристиках фильтра содержится в информационном слове «номер фильтра» (Nф), поступающем на вход блока 6 управления. В информационном слове Nф содержатся следующие данные.Information about the required characteristics of the filter is contained in the information word "filter number" (N f ) received at the input of control unit 6. In the information word N f contains the following data.

1) Двоичное число, определяющее во сколько раз частота дискретизации фильтра меньше максимально возможной (первые m разрядов информационного слова). Это позволяет задавать требуемое значение частоты дискретизации фильтра.1) A binary number that determines how many times the filter sampling frequency is less than the maximum possible (first m bits of the information word). This allows you to set the desired filter sampling rate.

2) Двоичное число, определяющее число ступеней преобразования r, выполняемое фильтром (разряды m+1, m+2 в информационном слове; на практике r≤4, что обеспечивает реализацию фильтров до 16 порядка включительно). Это позволяет задать требуемое высокое значение крутизны скатов АЧХ фильтра.2) A binary number that defines the number of conversion steps r performed by the filter (bits m + 1, m + 2 in the information word; in practice, r≤4, which ensures the implementation of filters up to 16 orders of magnitude inclusive). This allows you to set the desired high slope of the slopes of the frequency response of the filter.

3) Двоичное число, определяющее номер набора коэффициентов фильтра (старшие разряды в информационном слове). Это позволяет задать требуемое значение полосы пропускания и центральной частоты полосы пропускания фильтра.3) A binary number that defines the number of a set of filter coefficients (high order bits in an information word). This allows you to set the desired value of the passband and center frequency of the passband of the filter.

Работа цифрового фильтра состоит из нескольких циклов. Число циклов работы фильтра определяется значением параметра r, определяющего крутизну скатов АЧХ. На фиг.5 временная диаграмма, поясняющая последовательность выполнения фильтрации, приведена для r=4. Сигналы, представленные на фиг.5, формируются блоком 6 управления.The operation of the digital filter consists of several cycles. The number of filter operation cycles is determined by the value of the parameter r, which determines the slope of the slopes of the frequency response. 5, a timing diagram explaining a filtering sequence is shown for r = 4. The signals shown in FIG. 5 are generated by the control unit 6.

Принцип формирования сигналов управления следующий.The principle of generating control signals is as follows.

Импульсы, генерируемые генератором импульсов 23, поступают через делитель частоты 25 в счетчик 28. Число на выходе счетчика 28 является адресом постоянного запоминающегося устройства 27. Число разрядов постоянного запоминающегося устройства 27 равно числу формируемых сигналов управления, а количество ячеек определяется минимальным интервалом между формируемыми импульсами. В ячейках постоянного запоминающего устройства записаны сигналы логической единицы в тех разрядах, для которых соответствующее значение сигнала управления принимает высокий уровень. В остальных разрядах ячеек записаны сигналы логического нуля. Содержимое ячеек постоянного запоминающего устройства 27 последовательно записывается в регистр 26 сигналом с делителя частоты 25, задержанным элементом 24 задержки. После записи содержимого последней ячейки в регистр 26 на выходе его последнего разряда появляется сигнал логической единицы, которым через элемент 29 задержки производится установка счетчика 28 в исходное состояние, после чего процесс формирования управляющих сигналов повторяется.The pulses generated by the pulse generator 23 are supplied through the frequency divider 25 to the counter 28. The number at the output of the counter 28 is the address of the permanent memory device 27. The number of bits of the permanent memory device 27 is equal to the number of generated control signals, and the number of cells is determined by the minimum interval between the generated pulses. In the cells of the permanent storage device, the signals of a logical unit are recorded in those bits for which the corresponding value of the control signal takes a high level. In the remaining bits of the cells, logical zero signals are recorded. The contents of the cells of the permanent storage device 27 are sequentially recorded in the register 26 by a signal from the frequency divider 25, delayed by the delay element 24. After recording the contents of the last cell in the register 26 at the output of its last digit, a signal of a logical unit appears, which, through the delay element 29, sets the counter 28 to its initial state, after which the process of generating control signals is repeated.

В первом цикле работы информационное слово «номер фильтра» Nф, поступающее на вход блока управления, записывается в регистр 30 сигналом записи (сигнал а на фиг.5). При этом устанавливается коэффициент деления делителя частоты 25, определяющий значение частоты дискретизации при работе фильтра, параметр r, определяющий крутизну скатов АЧХ, и число, определяющее номер фильтра. На выходе 5 блока 6 управления устанавливается число, определяющее номер набора коэффициентов, являющееся адресом блока 7 хранения коэффициентов. Фильтр готов к приему входного сигнала. Очередное значение входного сигнала записывается в регистр 1 сигналом с первого выхода блока 6 управления (сигнал 6 на фиг.5). Этим же сигналом производится запись параметра r в регистр 33 блока 6 управления. На выходе блока 32 вычитания формируется разность между числом, записанным в счетчике 31 и регистре 33. По величине этой разности в фильтре автоматически определяется, является или нет данный цикл работы последним в этом периоде дискретизации. Цикл работы фильтра последний, если разность равна нулю. Значение фильтруемого сигнала из регистра 1 поступает через мультиплексор 2, открытый на это направление (см. сигнал ж на фиг.5, формируемый на втором выходе блока 6 управления), в блок 3 хранения выборочных значений сигнала.In the first cycle of operation, the information word "filter number" N f received at the input of the control unit is recorded in register 30 by a write signal (signal a in Fig. 5). In this case, the division factor of the frequency divider 25 is set, which determines the value of the sampling frequency during the filter operation, the parameter r, which determines the slope of the ramps, and the number that determines the filter number. At the output 5 of the control unit 6, a number is set that determines the number of the coefficient set, which is the address of the coefficient storage unit 7. The filter is ready to receive an input signal. The next value of the input signal is written to register 1 by the signal from the first output of the control unit 6 (signal 6 in FIG. 5). The same signal is used to record the parameter r in the register 33 of the control unit 6. At the output of the subtraction block 32, a difference is formed between the number recorded in the counter 31 and the register 33. The value of this difference in the filter automatically determines whether or not this cycle of operation is the last in this sampling period. The last filter cycle is if the difference is zero. The value of the filtered signal from register 1 enters through the multiplexer 2, open in this direction (see signal W in Fig. 5, generated at the second output of the control unit 6), to the unit 3 for storing sample signal values.

Демультиплексор 15 блока 3 хранения выборочных значений сигнала скомутирован таким образом (см. сигналы з, и на фиг.5 управления демультиплексором 15 и мультиплексорами 20, 21, формируемые на третьем выходе блока 6 управления), что сигнал записи с четвертого выхода блока 6 управления (сигнал в на фиг.5) поступает на вход записи блока 16 регистров сдвига. Происходит сдвиг поступившего значения поразрядно в регистрах 22 сдвига блока 16 регистров сдвига. Настоящее (xn, 1) и предыдущие значения, задержанные на два (xn-2, 1) и четыре периода частоты дискретизации (xn-4, 1), хранящиеся соответственно в регистре 1 и регистрах сдвига 22 блока 16 регистров сдвига блока 3, поступают непосредственно и через мультиплексоры 20 и 21 на первый вход сумматора 5, вход умножителя на два 4 и третий вход сумматора 5. Так как первый и третий входы сумматора 5 суммирующие, а второй вход вычитающий, то на выходе сумматора 5 оказывается сформированным значение нерекурсивной части разностного уравнения (3) для первой ступени преобразования xn, 1-2хn-2, 1+xn-4, 1. Блоки умножения 8 и 10 выполняют умножения предыдущих значений, задержанных на два (yn-2, 1) и четыре (yn-4, 1) периода частоты дискретизации, хранящихся в блоке 13 хранения выборочных значений сигнала, на коэффициенты K1 и К2 соответственно, хранящиеся в блоке 7 хранения коэффициентов. Блок 9 умножения выполняет умножение числа, поступающего с сумматора 5 на коэффициент К0, хранящийся в блоке 7 хранения коэффициентов. После суммирования чисел, поступающих с выходов блоков 8, 9, 10 умножения, на выходе сумматора 11 оказывается сформированным результат фильтрации первой ступени преобразования (yn1). Сформированное значение yn1 записывается в регистр 12 сигналом записи, поступающим с шестого выхода блока 6 управления (сигнал г на фиг.5). Значение yn1 вдвигается в блок 16 регистров сдвига блока 13 хранения выборочных значений сигнала для использования в следующем периоде частоты дискретизации. Сигналы управления и записи в демультиплексор 15 блока 13 поступают соответственно с третьего и седьмого выходов блока 6 управления. На этом первый цикл работы фильтра заканчивается.The demultiplexer 15 of the block 3 for storing sampled signal values is connected in such a way (see signals h, and in Fig. 5, the control of the demultiplexer 15 and multiplexers 20, 21 generated at the third output of the control unit 6), that the recording signal is from the fourth output of the control unit 6 ( the signal in figure 5) is input to the recording block 16 of the shift registers. The received value is shifted bitwise in the shift registers 22 of the block 16 of the shift registers. The present (x n, 1 ) and previous values, delayed by two (x n-2, 1 ) and four periods of the sampling frequency (x n-4, 1 ), are stored respectively in register 1 and shift registers 22 of block 16 of the shift registers of the block 3, they enter directly and through multiplexers 20 and 21 to the first input of adder 5, the input of the multiplier by two 4 and the third input of adder 5. Since the first and third inputs of adder 5 are summing, and the second input is subtracting, the value of the output of adder 5 is formed non-recursive part of difference equation (3) for the first stage of pre formations x n, 1 -2x n-2, 1 + x n-4, 1 . The multiplication units 8 and 10 perform the multiplication of the previous values delayed by two (y n-2, 1 ) and four (y n-4, 1 ) periods of the sampling frequency stored in the block 13 for storing sample signal values by the coefficients K 1 and K 2, respectively, stored in the coefficient storage unit 7. Block 9 multiplication performs the multiplication of the number coming from the adder 5 by the coefficient K 0 stored in block 7 storing the coefficients. After summing the numbers coming from the outputs of the multiplication blocks 8, 9, 10, the output of the adder 11 turns out to be the result of filtering the first stage of the transformation (y n1 ). The generated value y n1 is recorded in the register 12 by a write signal from the sixth output of the control unit 6 (signal r in FIG. 5). The value of y n1 is pushed into the block 16 of the shift registers of the block 13 storing sample values of the signal for use in the next period of the sampling frequency. The control and recording signals to the demultiplexer 15 of block 13 are received respectively from the third and seventh outputs of the control block 6. This completes the first filter cycle.

В последующих циклах работа фильтра данного периода дискретизации происходит аналогично. При этом мультиплексор 2 переключается сигналом, поступающим со второго выхода блока 6 управления в состояние, при котором информационный вход блока 3 хранения выборочных значений сигнала оказывается подключенным к выходу регистра 12 (сигнал ж на фиг.5), а управляющий сигнал, поступающий с третьего выхода блока 6 управления изменяется при переходе к следующему циклу, принимая значения 10, 01, 11 (сигналы з, и на фиг.5). В результате таких переключений сигналов управления мультиплексором 2 и блоками хранения 3 и 13 выборочных значений сигнала отфильтрованные на первом цикле работы фильтра значения сигнала записываются:In subsequent cycles, the filter of a given sampling period operates in a similar manner. In this case, the multiplexer 2 is switched by a signal coming from the second output of the control unit 6 to a state in which the information input of the unit 3 for storing the sampled signal values is connected to the output of the register 12 (signal w in Fig. 5), and the control signal coming from the third output control unit 6 changes when moving to the next cycle, taking values 10, 01, 11 (signals h, and in FIG. 5). As a result of such switching of the control signals of the multiplexer 2 and the storage units 3 and 13 of the sample signal values, the signal values filtered at the first cycle of the filter operation are recorded:

- на втором цикле в блоки 17 регистров сдвига;- on the second cycle into blocks of 17 shift registers;

- на третьем цикле в блоки 18 регистров сдвига;- on the third cycle in blocks of 18 shift registers;

- на четвертом цикле в блоки 19 регистров сдвига.- on the fourth cycle in blocks of 19 shift registers.

При переходе от цикла к циклу в счетчике 31 блока 6 управления добавляется единица сигналом, поступающим с пятого выхода регистра 26. В последнем цикле число в счетчике 31 становится равным r. На выходе блока 32 разности формируется число, равное нулю, означающее, что данный цикл последний. На выходе дешифратора нуля 35 формируется сигнал, который через элемент 34 задержки устанавливает счетчик 31 в нулевое состояние.When switching from cycle to cycle in the counter 31 of the control unit 6, a unit is added by the signal from the fifth output of the register 26. In the last cycle, the number in the counter 31 becomes equal to r. At the output of the difference block 32, a number is formed equal to zero, meaning that this cycle is the last. A signal is generated at the output of the zero decoder 35, which sets the counter 31 to the zero state through the delay element 34.

В конце четвертого цикла отфильтрованный сигнал из регистра 12 записывается сигналом, поступающим с восьмого выхода блока 6 управления (сигнал е на фиг.5), в регистр 14, выход которого является выходом цифрового фильтра.At the end of the fourth cycle, the filtered signal from register 12 is recorded by the signal from the eighth output of the control unit 6 (signal e in FIG. 5) into register 14, the output of which is the output of a digital filter.

В последующих периодах частоты дискретизации работа фильтра происходит аналогично.In subsequent periods of the sampling frequency, the filter operates in a similar manner.

По сравнению с известными техническими решениями предложенный способ и цифровой фильтр для реализации этого способа обеспечивают повышение быстродействия и упрощение фильтра при выполнении полосовой фильтрации.Compared with the known technical solutions, the proposed method and a digital filter for implementing this method provide improved performance and simplified filter when performing band-pass filtering.

Повышение указанных технических характеристик достигается следующими новыми решениями, заложенными в изобретение.The improvement of these technical characteristics is achieved by the following new solutions incorporated into the invention.

1. При выполнении фильтрации каждая ступень преобразования сигнала выполняется в соответствии с разностным уравнением четвертого порядка, содержащим члены только при четных степенях для выборочных значений сигнала. В результате количество операций умножения и сложения сокращается примерно в два раза. Это обеспечивает повышение быстродействия и сокращение количества блоков умножения.1. When filtering is performed, each stage of the signal conversion is performed in accordance with a fourth-order difference equation containing terms only with even powers for sample signal values. As a result, the number of multiplication and addition operations is reduced by about half. This provides increased performance and reduced number of multiplication blocks.

2. Весовые коэффициенты К0, К1, K2, для конкретных значений полосы пропускания и центральной частоты полосы пропускания одинаковы во всех ступенях фильтрации. Это упрощает выполнение фильтрации, сокращает объем памяти для хранения коэффициентов и позволяет хранить необходимое количество наборов коэффициентов, обеспечивая реализацию большого числа вариантов полос пропускания и центральных частот полос пропускания.2. Weights K 0 , K 1 , K 2 , for specific values of the passband and the center frequency of the passband are the same in all stages of filtering. This simplifies filtering, reduces the amount of memory for storing coefficients, and allows you to store the required number of sets of coefficients, providing the implementation of a large number of bandwidth options and center frequencies of bandwidths.

3. Обеспечена реализация практически любого заданного количества последовательно включенных ступеней фильтрации путем многократного использования набора одних и тех же блоков, что позволяет обеспечить высокую избирательность без усложнения фильтра.3. Ensured the implementation of almost any given number of sequentially connected filtering stages by reusing a set of the same blocks, which allows for high selectivity without complicating the filter.

Предлагаемая совокупность признаков в рассмотренных автором решениях не встречалась для решения поставленной задачи и не следует явным образом из уровня техники, что позволяет сделать вывод о соответствии технического решения критериям "новизна" и "изобретательский уровень".The proposed set of features in the solutions considered by the author was not found to solve the problem and does not follow explicitly from the prior art, which allows us to conclude that the technical solution meets the criteria of "novelty" and "inventive step".

Цифровой фильтр для реализации предложенного способа выполняется на стандартной элементной базе для вычислительной техники, выпускаемой серийно отечественной промышленностью.A digital filter for implementing the proposed method is performed on a standard elemental base for computer technology, mass-produced by the domestic industry.

Используемые источникиSources used

1. Патент на изобретение РФ №2188499, кл. H03H 17/02, 07.04.2000.1. Patent for the invention of the Russian Federation No. 2188499, class. H03H 17/02, 04/07/2000.

2. Патент на изобретение РФ №2187883, кл. H03H 17/02, 19.06.2000.2. Patent for the invention of the Russian Federation No. 2187883, class. H03H 17/02, 06/19/2000.

3. Л.М.Гольденберг, Б.Д.Матюшкин, М.Н.Поляк. Цифровая обработка сигналов. Справочник. М.: Радио и связь, 1985, стр.52, 94, 144, 145 - прототип способа.3. L.M. Goldenberg, B.D. Matyushkin, M.N. Polyak. Digital signal processing. Directory. M .: Radio and communications, 1985, p. 52, 94, 144, 145 - a prototype of the method.

4. Авторское свидетельство СССР №1338006, кл. H03H 17/04, 22.07.1985.4. Copyright certificate of the USSR No. 1338006, cl. H03H 17/04, 07/22/1985.

5. Авторское свидетельство СССР №1224980, кл. H03H 17/04, 13.12.1984.5. Copyright certificate of the USSR No. 1224980, cl. H03H 17/04, 12/13/1984.

6. Патент на изобретение РФ №2057364, кл. G06F 17/14, 25.11.1992 - прототип устройства.6. Patent for the invention of the Russian Federation No. 2057364, class. G06F 17/14, 11/25/1992 - a prototype device.

Claims (3)

1. Способ цифровой рекурсивной полосовой фильтрации, включающий r последовательных ступеней преобразования фильтруемого сигнала, в каждой из которых выполняют весовое суммирование задержанных значений входного (xni) и выходного (yni) сигналов так, что отфильтрованный сигнал i-й ступени фильтрации (i=0, 1, …r) является входным сигналом для (i+1)-й ступени, отличающийся тем, что преобразование сигнала i-й ступени формируют по правилу
yni=K0(xni-2xn-2,i+xn-4,i)-K1yn-2,i-K2yn-4,i,
причем предварительно вычисленные весовые коэффициенты фильтрации выбирают, исходя из требуемых значений полосы пропускания Δf и центральной полосы пропускания fц, а значения частоты дискретизации задают в четыре раза больше центральной частоты полосы пропускания.
1. A method of digital recursive bandpass filtering, comprising r successive stages of conversion of the filtered signal, in each of which weighted summation of the delayed values of the input (x ni ) and output (y ni ) signals is performed so that the filtered signal of the ith filtering stage (i = 0, 1, ... r) is the input signal for the (i + 1) -th stage, characterized in that the signal conversion of the i-th stage is formed according to the rule
y ni = K 0 (x ni -2x n-2, i + x n-4, i ) -K 1 y n-2, i -K 2 y n-4, i ,
moreover, the pre-calculated filtering weights are selected based on the required values of the passband Δf and the central passband f c , and the values of the sampling frequency are set four times the central frequency of the passband.
2. Способ по п.1, отличающийся тем, что весовые коэффициенты фильтрации вычисляют по формулам:
Figure 00000014

Figure 00000015

K0=(К12+1)2.
2. The method according to claim 1, characterized in that the filtration weights are calculated by the formulas:
Figure 00000014

Figure 00000015

K 0 = (K 1 + K 2 +1) 2 .
3. Цифровой рекурсивный полосовой фильтр, содержащий три блока умножения, два сумматора, два регистра, мультиплексор и блок управления, первый выход которого соединен с входом записи первого регистра, информационный вход которого является входом фильтра, выход мультиплексора соединен с первым входом первого сумматора, а выход первого блока умножения соединен с первым входом второго сумматора, отличающийся тем, что в него введены два блока хранения выборочных значений сигнала, блок умножения на два, третий регистр и блок хранения коэффициентов, три выхода которого соединены с первыми входами первого, второго и третьего блоков умножения, вторые входы которых соединены соответственно с первым выходом второго блока хранения выборочных значений сигнала, выходом первого сумматора и вторым выходом второго блока хранения выборочных значений сигнала, выходы второго и третьего блоков умножения соединены со вторым и третьим входами второго сумматора, выход которого соединен с входом второго регистра, выход которого соединен с информационным входом второго блока хранения выборочных значений сигнала, с входом третьего регистра и первым входом мультиплексора, подключенного вторым входом к выходу первого регистра, управляющим входом - ко второму выходу блока управления, а выходом - к информационному входу первого блока хранения выборочных значений сигнала, первый выход которого через блок умножения на два соединен со вторым входом первого сумматора, второй выход - с третьим входом первого сумматора, управляющий вход - с управляющим входом второго блока хранения выборочных значений сигнала и третьим входом блока управления, а вход записи - с четвертым выходом блока управления, вход которого является входом установки номера фильтра, а пятый, шестой, седьмой и восьмой выходы блока управления соединены соответственно с входом блока хранения коэффициентов, входом записи второго регистра, входом записи второго блока хранения выборочных значений сигнала и входом записи третьего регистра, выход которого является выходом фильтра. 3. A digital recursive bandpass filter containing three multiplication units, two adders, two registers, a multiplexer and a control unit, the first output of which is connected to the recording input of the first register, the information input of which is a filter input, the multiplexer output is connected to the first input of the first adder, and the output of the first multiplication block is connected to the first input of the second adder, characterized in that two blocks of storage of sampled signal values, a block of multiplication by two, a third register and a coefficient storage block are introduced into it entents, the three outputs of which are connected to the first inputs of the first, second and third multiplication units, the second inputs of which are connected respectively to the first output of the second block of storing the sampled signal values, the output of the first adder and the second output of the second block of storing sampled signal values, the outputs of the second and third blocks multiplications are connected to the second and third inputs of the second adder, the output of which is connected to the input of the second register, the output of which is connected to the information input of the second storage unit the initial values of the signal, with the input of the third register and the first input of the multiplexer connected by the second input to the output of the first register, the control input to the second output of the control unit, and the output to the information input of the first block for storing sample values of the signal, the first output of which is through the multiplication unit by two is connected to the second input of the first adder, the second output to the third input of the first adder, the control input to the control input of the second block for storing the selected signal values and the third input of the block board, and the recording input - with the fourth output of the control unit, the input of which is the input of setting the filter number, and the fifth, sixth, seventh and eighth outputs of the control unit are connected respectively to the input of the coefficient storage unit, the recording input of the second register, the recording input of the second selective storage unit signal values and the input of the third-register entry, the output of which is the filter output.
RU2011114660/08A 2011-04-13 2011-04-13 Method for digital recursive band-pass filtering and digital filter for realising said method RU2460130C1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
RU2011114660/08A RU2460130C1 (en) 2011-04-13 2011-04-13 Method for digital recursive band-pass filtering and digital filter for realising said method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
RU2011114660/08A RU2460130C1 (en) 2011-04-13 2011-04-13 Method for digital recursive band-pass filtering and digital filter for realising said method

Publications (1)

Publication Number Publication Date
RU2460130C1 true RU2460130C1 (en) 2012-08-27

Family

ID=46937930

Family Applications (1)

Application Number Title Priority Date Filing Date
RU2011114660/08A RU2460130C1 (en) 2011-04-13 2011-04-13 Method for digital recursive band-pass filtering and digital filter for realising said method

Country Status (1)

Country Link
RU (1) RU2460130C1 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
RU2579982C2 (en) * 2014-08-06 2016-04-10 Закрытое акционерное общество "Гранит-7" Method for digital recursive band-pass filtering and digital filter for realising said method
RU2631976C2 (en) * 2016-03-15 2017-09-29 Федеральное государственное бюджетное образовательное учреждение высшего образования Московский авиационный институт (национальный исследовательский университет) (МАИ) Tunable digital filter with programmable structure
RU2743853C2 (en) * 2018-12-12 2021-03-01 Федеральное государственное казенное военное образовательное учреждение высшего образования "Военный учебно-научный центр Военно-воздушных сил "Военно-воздушная академия имени профессора Н.Е. Жуковского и Ю.А. Гагарина" (г. Воронеж) Министерства обороны Российской Федерации Digital signal filtering method and device realizing said signal

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
RU94038957A (en) * 1994-09-29 1996-07-20 Научно-исследовательский институт "Научный центр" Computer-controlled digital filter
EP1363238A2 (en) * 2000-03-17 2003-11-19 Sun Microsystems, Inc. A graphics system having a super-sampled sample buffer with hot spot correction,edge blending, edge matching, distortion correction and chromatic distortion compensation
RU2357357C2 (en) * 2007-01-31 2009-05-27 Андрей Александрович Костоглотов Digital intellectual recursive filter

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
RU94038957A (en) * 1994-09-29 1996-07-20 Научно-исследовательский институт "Научный центр" Computer-controlled digital filter
EP1363238A2 (en) * 2000-03-17 2003-11-19 Sun Microsystems, Inc. A graphics system having a super-sampled sample buffer with hot spot correction,edge blending, edge matching, distortion correction and chromatic distortion compensation
RU2357357C2 (en) * 2007-01-31 2009-05-27 Андрей Александрович Костоглотов Digital intellectual recursive filter

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
RU2579982C2 (en) * 2014-08-06 2016-04-10 Закрытое акционерное общество "Гранит-7" Method for digital recursive band-pass filtering and digital filter for realising said method
RU2631976C2 (en) * 2016-03-15 2017-09-29 Федеральное государственное бюджетное образовательное учреждение высшего образования Московский авиационный институт (национальный исследовательский университет) (МАИ) Tunable digital filter with programmable structure
RU2743853C2 (en) * 2018-12-12 2021-03-01 Федеральное государственное казенное военное образовательное учреждение высшего образования "Военный учебно-научный центр Военно-воздушных сил "Военно-воздушная академия имени профессора Н.Е. Жуковского и Ю.А. Гагарина" (г. Воронеж) Министерства обороны Российской Федерации Digital signal filtering method and device realizing said signal

Similar Documents

Publication Publication Date Title
US5541864A (en) Arithmetic-free digital interpolation filter architecture
US11263293B2 (en) Digital sample rate conversion
JPH11261376A (en) Digital iir filter by few multipliers
CN102055435B (en) Narrow-band digital filter
CN109271133B (en) Data processing method and system
US7492848B2 (en) Method and apparatus for efficient multi-stage FIR filters
RU2460130C1 (en) Method for digital recursive band-pass filtering and digital filter for realising said method
JPH036689B2 (en)
CN210142997U (en) Cascaded integrator-comb decimation filter
JPH07202633A (en) Digital filter and oversampling type analog/digital converter using the same
JP2010041311A (en) Filter, and configuration system and configuration method of filter
EP0559154B1 (en) Digital filter
EP1533898A1 (en) Digital filter designing method, digital filter designing program, digital filter
RU2579982C2 (en) Method for digital recursive band-pass filtering and digital filter for realising said method
JP4968850B2 (en) Filter, filter design system, design method, and design program
JPH0555875A (en) Digital filter
CN110247642A (en) A kind of FIR filtering method and filter
US7290022B2 (en) Method and filter arrangement for digital recursive filtering in the time domain
JP3258938B2 (en) Decimation filter
CN113872566B (en) Modulation filtering device and method with continuously adjustable bandwidth
US20050120067A1 (en) Digital filter designing method, digital filter designing program, digital filter
SU898592A1 (en) Digital filter
SU1716606A1 (en) Digital filter with linear delta modulator
JPS59161115A (en) Non-cyclic type digital filter
RU2057364C1 (en) Programming digital filter