JP2022146993A - Filter operation circuit, data transmission circuit, and protective relay device - Google Patents

Filter operation circuit, data transmission circuit, and protective relay device Download PDF

Info

Publication number
JP2022146993A
JP2022146993A JP2021048061A JP2021048061A JP2022146993A JP 2022146993 A JP2022146993 A JP 2022146993A JP 2021048061 A JP2021048061 A JP 2021048061A JP 2021048061 A JP2021048061 A JP 2021048061A JP 2022146993 A JP2022146993 A JP 2022146993A
Authority
JP
Japan
Prior art keywords
filter
data
output
input
mux
Prior art date
Legal status (The legal status 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 status listed.)
Pending
Application number
JP2021048061A
Other languages
Japanese (ja)
Inventor
悠登 山田
Yuto Yamada
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Meidensha Corp
Meidensha Electric Manufacturing Co Ltd
Original Assignee
Meidensha Corp
Meidensha Electric Manufacturing Co Ltd
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 Meidensha Corp, Meidensha Electric Manufacturing Co Ltd filed Critical Meidensha Corp
Priority to JP2021048061A priority Critical patent/JP2022146993A/en
Publication of JP2022146993A publication Critical patent/JP2022146993A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Emergency Protection Circuit Devices (AREA)

Abstract

To provide a filter operation circuit, a data transmission circuit, and a protective relay device that can combine multiple stages of digital filters according to the number of analog inputs, and improves the efficiency of a multiplier of the filter operation circuit by freely designing the filter operation circuit according to a desired system.SOLUTION: In a data transmission circuit, a filter operation block 201 of a filter operation unit includes a MUX 2411 that can receive two pieces of data, an IIR filter 2511 connected to the output side of the MUX 2411, a delay unit 2611 that adjusts the delay caused by the calculation of the IIR filter 2511 with respect to the input of one data, a MUX 2421 connected to the output side of IIR filter 2511 and the delay unit 2611, an IIR filter 2521 connected to the output side of the MUX 2421, and a delay unit 2621 that adjusts the delay caused by the calculation of the IIR filter 2521 with respect to the output data of the IIR filter 2511.SELECTED DRAWING: Figure 2

Description

本発明は、電力系統の電圧および電流のアナログ量をアナログディジタル変換する保護リレー装置の技術、特に変換されたディジタル量をディジタルフィルタ処理する技術に関する。 The present invention relates to a technology of a protection relay device for analog-to-digital conversion of analog amounts of voltage and current of a power system, and more particularly to a technique of performing digital filter processing on converted digital amounts.

電力系統の電圧及び電流のアナログ量は、A/D(アナログディジタル)変換する保護リレー装置(特許文献1)に供されると、先ず、A/D変換手段と接続されたディジタルフィルタによりフィルタ処理される。次いで、バッファメモリとシステムバスを介してCPU(Central Processing Unit)の演算に供される。 When the analog amounts of the voltage and current of the electric power system are supplied to a protection relay device (Patent Document 1) that performs A/D (analog-to-digital) conversion, they are first filtered by a digital filter connected to the A/D conversion means. be done. Then, it is subjected to computation by a CPU (Central Processing Unit) via a buffer memory and a system bus.

特開2011-135709号公報JP 2011-135709 A

アナログディジタル変換されたディジタル量は、SoC(System-on-a-chip)内のディジタル信号処理部にてフィルタ処理された後、CPUに供されて必要な処理が行われる。 The analog-to-digital converted digital quantity is filtered by a digital signal processing unit in an SoC (System-on-a-chip), and then supplied to the CPU for necessary processing.

ディジタル信号処理部による処理は、SoCに内蔵されている乗算器等の専用ブロックが用いられるが、専用ブロックの数には限りがある。また、アナログ入力点数の上限は、システムの物理的な構造等によって定まる。アナログ入力点数の上限にあわせて、各アナログ入力に対して同一のフィルタ処理を実装した場合、アナログ入力点数が上限に満たない場合、使用しないフィルタが生じ、乗算器の使用率が低下する。 Processing by the digital signal processing unit uses a dedicated block such as a multiplier built into the SoC, but the number of dedicated blocks is limited. Also, the upper limit of the number of analog inputs is determined by the physical structure of the system. When the same filter processing is implemented for each analog input in accordance with the upper limit of the number of analog inputs, if the number of analog inputs is less than the upper limit, some filters will not be used, and the usage rate of multipliers will decrease.

本発明は、以上の事情に鑑み、アナログ入力点数に応じた複数段のディジタルフィルタの組み合わせを可能とし、要望のシステムに応じたフィルタ演算回路の自由な設計により、フィルタ演算回路の乗算器の効率化を図ることを課題とする。 In view of the above circumstances, the present invention makes it possible to combine multiple stages of digital filters according to the number of analog inputs, and by freely designing the filter operation circuit according to the desired system, the efficiency of the multiplier of the filter operation circuit is improved. The challenge is to make it more flexible.

そこで、本発明の一態様は、二つのデータの入力が可能な第一マルチプレクサと、この第一マルチプレクサの出力側と接続される第一ディジタルフィルタと、一つのデータの入力に対して前記第一ディジタルフィルタの演算で生じる遅延を調整する第一遅延部と、前記第一ディジタルフィルタ及び前記第一遅延部の出力側と接続される第二マルチプレクサと、この第二マルチプレクサの出力側と接続される第二ディジタルフィルタと、前記第一ディジタルフィルタの出力データに対して前記第二ディジタルフィルタの演算で生じる遅延を調整する第二遅延部と、を備えたフィルタ演算回路である。 Accordingly, one aspect of the present invention provides a first multiplexer capable of inputting two data, a first digital filter connected to the output side of the first multiplexer, and the first A first delay unit for adjusting delay caused by the operation of the digital filter, a second multiplexer connected to the output side of the first digital filter and the first delay unit, and connected to the output side of the second multiplexer A filter operation circuit comprising: a second digital filter; and a second delay section for adjusting a delay caused by operation of the second digital filter with respect to output data of the first digital filter.

本発明の一態様は、前記フィルタ演算回路において、前記第一ディジタルフィルタ及び前記第二ディジタルフィルタのフィルタ係数を格納するフィルタ係数レジスタを備える。 In one aspect of the present invention, the filter arithmetic circuit includes a filter coefficient register that stores filter coefficients of the first digital filter and the second digital filter.

本発明の一態様は、前記フィルタ演算回路を複数備え、一つの前記フィルタ演算回路の前記第二ディジタルフィルタの出力データは、他の前記フィルタ演算回路の前記第一マルチプレクサに入力されるデータ伝送回路である。 One aspect of the present invention is a data transmission circuit comprising a plurality of the filter operation circuits, wherein the output data of the second digital filter of one of the filter operation circuits is input to the first multiplexer of the other filter operation circuits. is.

本発明の一態様は、前記データ伝送回路を備えた保護リレー装置である。 One aspect of the present invention is a protection relay device including the data transmission circuit.

以上の本発明によれば、アナログ入力点数に応じた複数段のディジタルフィルタの組み合わせが可能となり、要望のシステムに応じたフィルタ演算回路の自由な設計が行えるので、フィルタ演算回路の乗算器の効率化が図られる。 According to the present invention described above, it is possible to combine a plurality of stages of digital filters according to the number of analog input points. is planned.

本発明の一態様であるデータ伝送回路のブロック構成図。1 is a block configuration diagram of a data transmission circuit that is one embodiment of the present invention; FIG. 前記データ伝送回路におけるフィルタ演算回路のブロック構成図。4 is a block configuration diagram of a filter operation circuit in the data transmission circuit; FIG.

以下に図面を参照しながら本発明の実施形態について説明する。 Embodiments of the present invention will be described below with reference to the drawings.

図1に示された本発明の一態様であるデータ伝送回路1は、アナログ変換基板をサンプリングデータバスにより接続することで、アナログ入力点数の増加を図る。特に、複数のアナログ量をサンプリングしたディジタルデータを固定数の乗算器を有するハードウェアによりフィルタ処理を行うディジタルフィルタ演算回路において、1点のアナログ入力に対して行うフィルタ処理の段数をアナログ入力点数に応じて変更可能とする。これにより、アナログ入力点数に応じて複数段のディジタルフィルタを組み合わせた構成が可能となり、要望のシステムに応じたフィルタ演算回路を自由に設計可能となるので、乗算器が効率化される。 A data transmission circuit 1 according to one aspect of the present invention shown in FIG. 1 aims to increase the number of analog input points by connecting analog conversion boards with a sampling data bus. In particular, in a digital filter operation circuit that filters digital data obtained by sampling a plurality of analog quantities using hardware having a fixed number of multipliers, the number of stages of filtering performed on one analog input is set to the number of analog input points. can be changed accordingly. As a result, it is possible to combine a plurality of stages of digital filters according to the number of analog inputs, and it is possible to freely design a filter operation circuit according to a desired system, so that the efficiency of the multiplier is increased.

また、本態様においては、複数のアナログ量を同時サンプリングしたディジタルデータを送信するサンプリングデータバスと制御用の汎用バスを確保することで、簡易な構成でアナログ入力数が容易に拡張可能とする。尚、サンプリングデータバスではなく、他の周囲の伝送手段によって前記入力点数を増やすことも可能であり、この場合、データ伝送回路1に実装されるA/D変換器制御部を適宜変更させることで対応可能となる。 Further, in this aspect, by securing a sampling data bus for transmitting digital data obtained by simultaneously sampling a plurality of analog amounts and a general-purpose bus for control, the number of analog inputs can be easily expanded with a simple configuration. It is also possible to increase the number of input points by other peripheral transmission means instead of the sampling data bus. It becomes available.

[データ伝送回路1の態様例]
データ伝送回路1は、SoC101、このSoC101と接続されるA/D変換器102と、を有する。
[Example of Mode of Data Transmission Circuit 1]
The data transmission circuit 1 has an SoC 101 and an A/D converter 102 connected to this SoC 101 .

A/D変換器102には、アナログ入力信号111,112,…,11mが供される。 The A/D converter 102 is provided with analog input signals 111, 112, . . . , 11m.

SoC101は、内部バス100、CPU103、タイミング制御部104、RAM105、A/D変換器制御部106、フィルタ演算部107、DMAC(Direct Memory Access Controller)108,109を実装する。内部バス100には、CPU103、タイミング制御部104、RAM105、フィルタ演算部107及びDMAC108,109が接続される。タイミング制御部104は、さらに、A/D変換器制御部106と接続される。このA/D変換器制御部106は、さらに、A/D変換器102、フィルタ演算部107及びDMAC109と接続される。 The SoC 101 implements an internal bus 100 , a CPU 103 , a timing controller 104 , a RAM 105 , an A/D converter controller 106 , a filter calculator 107 , and DMACs (Direct Memory Access Controllers) 108 and 109 . A CPU 103 , a timing control unit 104 , a RAM 105 , a filter calculation unit 107 and DMACs 108 and 109 are connected to the internal bus 100 . Timing control section 104 is further connected to A/D converter control section 106 . This A/D converter control section 106 is further connected to the A/D converter 102 , filter calculation section 107 and DMAC 109 .

フィルタ演算部107は、図2に示すように、複数のディジタルフィルタ演算回路として、フィルタ演算ブロック201,202,…,20mを実装する。 As shown in FIG. 2, the filter operation unit 107 implements filter operation blocks 201, 202, . . . , 20m as a plurality of digital filter operation circuits.

フィルタ演算ブロック201,202,…,20mは、図1のA/D変換器制御部106から入力データ2111,2112,2121,2122,…,211m,212mを受けると、同図の内部バス100を介したCPU103からの入力切替え信号2211,2212,…,221m,2221,2222,…,222m及びフィルタ係数2311,2312,…,231mに基づき、DMAC108に対して出力データ2811,2812,2821,2822,…,281m,282mを出力する。 , 20m receives input data 2111, 2112, 2121, 2122, . , 221m, 2221, 2222, . . . , 222m and filter coefficients 2311, 2312, . , 281m, 282m are output.

フィルタ演算ブロック201,202,…,20mは同一の構造となっている。 The filter operation blocks 201, 202, . . . , 20m have the same structure.

フィルタ演算ブロック201は、図2に示すように、MUX2411、IIR Filter2511、遅延部2611、MUX2421、IIR Filter2521及び遅延部2621を備える。 The filter operation block 201 comprises an MUX 2411, an IIR filter 2511, a delay section 2611, a MUX 2421, an IIR filter 2521 and a delay section 2621, as shown in FIG.

MUX2411は、二つのデータの入力が可能な第一マルチプレクサであって、CPU103からの入力切替え信号2211に基づき、当該二つのデータのいずれかのデータをIIR Filter2511に供する。尚、前記二つのデータとして、例えば、入力データ2111と、ゼロ値(000h)とが入力される。 The MUX 2411 is a first multiplexer capable of inputting two data, and supplies either one of the two data to the IIR filter 2511 based on the input switching signal 2211 from the CPU 103 . For example, input data 2111 and a zero value (000h) are input as the two data.

IIR Filter2511は、MUX2411の出力側と接続される第一ディジタルフィルタとしての第一無限インパルス応答フィルタである。 IIR Filter 2511 is a first infinite impulse response filter as a first digital filter connected to the output side of MUX 2411 .

遅延部2611は、1点のデータ(入力データ2121)の入力に対してIIR Filter2511の演算で生じる遅延を調整する第一遅延部である。 The delay unit 2611 is a first delay unit that adjusts the delay caused by the calculation of the IIR filter 2511 with respect to the input of one point of data (input data 2121).

MUX2421は、IIR Filter2511と遅延部2611の出力側と接続される第二マルチプレクサであって、CPU103からの入力切替え信号2221に基づき、IIR Filter2511若しくは遅延部2611の出力信号をIIR Filter2521に供する。 The MUX 2421 is a second multiplexer connected to the IIR filter 2511 and the output side of the delay unit 2611 , and provides the IIR filter 2511 or the output signal of the delay unit 2611 to the IIR filter 2521 based on the input switching signal 2221 from the CPU 103 .

IIR Filter2521は、MUX2421の出力側と接続される第二ディジタルフィルタとしての第二無限インパルス応答フィルタである。 IIR Filter 2521 is a second infinite impulse response filter as a second digital filter connected to the output side of MUX 2421 .

遅延部2621は、IIR Filter2511からの入力データに対してIIR Filter2521の演算で生じる遅延を調整する第二遅延部である。 The delay unit 2621 is a second delay unit that adjusts the delay caused by the calculation of the IIR filter 2521 with respect to the input data from the IIR filter 2511 .

フィルタ演算ブロック202,…,20mは、符号が異なるが、フィルタ演算ブロック201と同様の回路構成となっている。 The filter operation blocks 202, .

特に、フィルタ演算ブロック202のMUX2412には、二つの入力データとして、入力データ2112と、フィルタ演算ブロック202の1ブロック前であるフィルタ演算ブロック201のIIR Filer2521からの出力データ2821と、が供される。 In particular, the MUX 2412 of the filter operation block 202 is provided with, as two input data, the input data 2112 and the output data 2821 from the IIR Filer 2521 of the filter operation block 201, which is one block before the filter operation block 202. .

同様に、フィルタ演算ブロック20mのMUX241mには、二つの入力データとして、入力データ211mと、フィルタ演算ブロック20mの1ブロック前であるフィルタ演算ブロックの第二無限インパルス応答フィルタからの出力データと、が供される。 Similarly, the MUX 241m of the filter operation block 20m receives, as two input data, the input data 211m and the output data from the second infinite impulse response filter of the filter operation block one block before the filter operation block 20m. provided.

[データ伝送回路1の動作例]
図1,2を参照して本実施形態のデータ伝送回路1の動作例について説明する。
[Example of operation of data transmission circuit 1]
An operation example of the data transmission circuit 1 of the present embodiment will be described with reference to FIGS.

CPU103が内部バス100を介してタイミング制御部104から所定のサンプリングタイミングを生成する。このサンプリングタイミングに従い、アナログ入力信号111,112,…,11mが、A/D変換器102によってディジタルデータに変換された後、SoC101のA/D変換器制御部106に入力される。 CPU 103 generates a predetermined sampling timing from timing control section 104 via internal bus 100 . , 11m are converted into digital data by the A/D converter 102 according to this sampling timing, and then input to the A/D converter control section 106 of the SoC 101 .

A/D変換器制御部106に格納されたデータは、フィルタ演算部107及びDMAC109に伝送される。CPU103は、所望のフィルタ演算を実現するために、内部バス100を介して入力切替え信号2211,2212,…,221m,2221,2222,…,222m及びフィルタ係数2311,2312,…,231mをフィルタ演算部107に設定する。 Data stored in the A/D converter control section 106 is transmitted to the filter calculation section 107 and the DMAC 109 . , 221m, 2221, 2222, . . . , 222m and filter coefficients 2311, 2312, . 107.

フィルタ演算部107は、前記設定の内容に従い、フィルタ処理を行い、DMAC108にフィルタ処理後のデータを伝送する。DMAC108及びDMAC109は、CPU103が行う設定に従い、RAM105にデータを格納する。 The filter calculation unit 107 performs filtering according to the contents of the setting, and transmits the filtered data to the DMAC 108 . The DMAC 108 and DMAC 109 store data in the RAM 105 according to the settings made by the CPU 103 .

図2に示したように、フィルタ演算部107において、フィルタ演算ブロック201は、A/D変換器制御部106からの入力データ2111,2121を格納する。 As shown in FIG. 2, in filter operation section 107 , filter operation block 201 stores input data 2111 and 2121 from A/D converter control section 106 .

入力データ2111またはゼロ値(000h)のいずれか一方が、入力切替え信号2211に基づきMUX2411により選択され、MUX2411の出力信号として、IIR Filter2511に入力される。 Either input data 2111 or zero value (000h) is selected by MUX 2411 based on input switching signal 2211 and input to IIR filter 2511 as the output signal of MUX 2411 .

IIR Filter2511は、CPU103によりフィルタ係数レジスタ2711に設定されたフィルタ係数2311を用いて、フィルタ演算処理を行う。 The IIR Filter 2511 uses the filter coefficient 2311 set in the filter coefficient register 2711 by the CPU 103 to perform filter arithmetic processing.

IIR Filter2511の出力結果は、MUX2421に入力される。入力データ2121は、IIR Filter2511での演算による遅延と均衡化させるために、遅延部2611を介して、MUX2421に入力される。MUX2421は、入力切替え信号2221に基づき、IIR Filter2511の出力信号または遅延部2611の出力信号のいずれか一方を出力する。 The output result of IIR Filter 2511 is input to MUX 2421 . Input data 2121 is input to MUX 2421 via delay section 2611 in order to balance the delay due to the computation in IIR Filter 2511 . The MUX 2421 outputs either the output signal of the IIR filter 2511 or the output signal of the delay unit 2611 based on the input switching signal 2221 .

MUX2421の出力信号は、IIR Filter2521に入力され、IIR Filer2521は、フィルタ係数レジスタ2711に従い、所定のフィルタ演算を行い、出力データ2821として出力される。 The output signal of the MUX 2421 is input to the IIR Filter 2521 , and the IIR Filter 2521 performs a predetermined filtering operation according to the filter coefficient register 2711 and outputs output data 2821 .

IIR Filter2511の出力信号は、IIR Fiter2521での演算による遅延と均衡化させるために、遅延部2621を介して出力データ2811として出力される。 The output signal of the IIR Filter 2511 is output as the output data 2811 via the delay section 2621 in order to balance the delay due to the calculation in the IIR Filter 2521 .

フィルタ演算ブロック202は、MUX2412に入力されるゼロ値の代わりにフィルタ演算ブロック201の出力データ2821が入力される以外は、フィルタ演算ブロック201と同様の動作を行う。 The filter operation block 202 operates in the same manner as the filter operation block 201 except that the output data 2821 of the filter operation block 201 is input instead of the zero value input to the MUX 2412 .

フィルタ演算部107において、複数のフィルタ演算ブロックが接続できるため、任意の段数のフィルタを構成できる。フィルタ係数レジスタを用いて、各々のIIR Filterに対してフィルタ係数を設定できるため、ローパスフィルタやハイパスフィルタ等の多様なフィルタ処理を実装できる。 Since a plurality of filter operation blocks can be connected in the filter operation unit 107, a filter with an arbitrary number of stages can be configured. Since filter coefficients can be set for each IIR filter using a filter coefficient register, various filtering processes such as low-pass filtering and high-pass filtering can be implemented.

フィルタ演算ブロック数m=4として、フィルタ演算ブロック201,202,203,204がある場合のフィルタの構成方法を示す。 A configuration method of a filter when there are filter operation blocks 201, 202, 203, and 204 with the number of filter operation blocks m=4 is shown.

(1段フィルタ)
フィルタ演算ブロック201のMUX2411の出力を入力データ2111とし、MUX2421の出力を遅延部2611の出力とすることで、入力データ2111に対してIIR Filter2511でフィルタ処理を行い、フィルタ処理結果が遅延部2621を介して出力データ2811として出力される。一方、入力データ2121は、遅延部2621、MUX2421を介して、IIR Filter2521でフィルタ処理が行われ、この処理結果が出力データ2821として出力される。1ブロック当たり、二つの入力データに対して、1段のIIRフィルタ処理を行うことができる。
(1st stage filter)
By using the output of the MUX 2411 of the filter operation block 201 as the input data 2111 and the output of the MUX 2421 as the output of the delay unit 2611, the input data 2111 is filtered by the IIR filter 2511, and the filter processing result is passed through the delay unit 2621. output as output data 2811 via the On the other hand, the input data 2121 is filtered by the IIR filter 2521 through the delay unit 2621 and the MUX 2421, and the result of this processing is output as the output data 2821. FIG. One stage of IIR filtering can be performed on two pieces of input data per block.

(2段フィルタ)
フィルタ演算ブロック201のMUX2411の出力を入力データ2111とし、MUX2421の出力をIIR Filter2511の出力とすることで、入力データ2111に対して、IIR Filter2511及びIIR Filter2521でフィルタ処理が行われ、この処理結果が出力データ2821として出力される。1ブロック当たり、1点の入力データに対して、2段IIRフィルタ処理を行うことができる。
(2-stage filter)
By using the output of the MUX 2411 of the filter operation block 201 as the input data 2111 and the output of the MUX 2421 as the output of the IIR filter 2511, the input data 2111 is filtered by the IIR filter 2511 and the IIR filter 2521, and the processing result is It is output as output data 2821 . Two-stage IIR filter processing can be performed on one point of input data per block.

(3段フィルタ)
フィルタ演算ブロック201のMUX2411の出力を入力データ2111とし、MUX2421の出力をIIR Filter2511の出力とすることで、入力データ2111に対して、IIR Filter2511及びIIR Filte2521でフィルタ処理を行い、この処理結果が出力データ2821として出力される。フィルタ演算ブロック202のMUX2412の出力を出力データ2821とし、MUX2422の出力を入力データ2122とすることで、IIR Filter2512の出力を、遅延部2622を介して出力データ2812として出力し、入力データ2122のデータを遅延部2612、MUX2422、IIR Fiter2522を介して出力データ2822として出力する。すなわち、入力データ2111は3回IIR Filterを介して出力データ2812となり、入力データ2122は1回IIR Filterを介して出力データ2822となる。2ブロックで、1点の入力データに対して3段IIRフィルタ処理と、1段IIRフィルタ処理を行うことができる。
(three-stage filter)
By using the output of the MUX 2411 of the filter operation block 201 as the input data 2111 and the output of the MUX 2421 as the output of the IIR Filter 2511, the input data 2111 is filtered by the IIR Filter 2511 and the IIR Filter 2521, and the processing result is output. Output as data 2821 . By using the output of the MUX 2412 of the filter operation block 202 as the output data 2821 and the output of the MUX 2422 as the input data 2122, the output of the IIR filter 2512 is output as the output data 2812 via the delay unit 2622, and the data of the input data 2122 is output as output data 2822 via the delay section 2612, MUX 2422, and IIR Filter 2522. That is, the input data 2111 passes through the IIR filter three times to become the output data 2812, and the input data 2122 passes through the IIR filter once to become the output data 2822. With two blocks, three-stage IIR filter processing and one-stage IIR filter processing can be performed on one point of input data.

(4段フィルタ)
フィルタ演算ブロック201のMUX2411の出力を入力データ2111、MUX2421の出力をIIR Filter2511の出力とすることで、入力データ2111に対して、IIR Filter2511及びIIR Filter2521でフィルタ処理を行い、この処理結果が出力データ2821として出力される。フィルタ演算ブロック202のMUX2412の出力を、出力データ2821として、IIR2512でフィルタ処理を行う。MUX2422の出力をIIR Filter2512の出力とし、IIR Filter2522でフィルタ処理が行われ、この処理結果が出力データ2822として出力される。すなわち、入力データ2111は4回IIR Fiterを通過する。2ブロックで、1点の入力データに対して4段IIRフィルタ処理を行うことができる。
(4-stage filter)
By setting the output of the MUX 2411 of the filter operation block 201 as the input data 2111 and the output of the MUX 2421 as the output of the IIR filter 2511, the input data 2111 is filtered by the IIR filter 2511 and the IIR filter 2521, and the processing result is the output data. 2821 is output. The output of the MUX 2412 of the filter operation block 202 is used as the output data 2821 and filtered by the IIR 2512 . The output of the MUX 2422 is used as the output of the IIR Filter 2512 , filtering is performed by the IIR Filter 2522 , and the result of this processing is output as output data 2822 . That is, the input data 2111 passes through the IIR Filter four times. With two blocks, four-stage IIR filter processing can be performed on one point of input data.

同様にして、5段、6段、7段、8段のフィルタも構成可能である。入力データ点数に応じて、フィルタ段数は任意の組み合わせが可能である。
例えば、入力データ点数が2点の場合、
・1段フィルタ×1入力+7段フィルタ×1入力
・2段フィルタ×1入力+6段フィルタ×1入力
・3段フィルタ×1入力+5段フィルタ×1入力
・4段フィルタ×1入力+4段フィルタ×1入力
が構築可能となり、
入力データ点数が5点の場合、
・1段フィルタ×4入力+4段フィルタ×1入力
・1段フィルタ×3入力+2段フィルタ×1入力+3段フィルタ×1入力
・1段フィルタ×2入力+2段フィルタ×3入力
が構築可能である。
Similarly, 5-stage, 6-stage, 7-stage, and 8-stage filters can be constructed. The number of filter stages can be combined arbitrarily according to the number of input data points.
For example, if the number of input data points is 2,
・1-stage filter x 1 input + 7-stage filter x 1 input ・2-stage filter x 1 input + 6-stage filter x 1 input ・3-stage filter x 1 input + 5-stage filter x 1 input ・4-stage filter x 1 input + 4-stage filter x 1 input can be constructed,
When the number of input data points is 5,
・1-stage filter x 4 inputs + 4-stage filter x 1 input ・1-stage filter x 3 inputs + 2-stage filter x 1 input + 3-stage filter x 1 input ・1-stage filter x 2 inputs + 2-stage filter x 3 inputs .

表1にm=4における入力データ点数とフィルタ段数の組み合わせを示す。同表は、行方向に入力データ点数を、列方向にフィルタ段数を示しており、行と列が交差する箇所の値は、該当列のフィルタ段数のフィルタを通過する入力データ点数である。フィルタ演算ブロック数m=4の場合には、19通りのフィルタの組み合わせが可能である。 Table 1 shows combinations of the number of input data points and the number of filter stages when m=4. The table shows the number of input data points in the row direction and the number of filter steps in the column direction. When the number of filter operation blocks m=4, 19 combinations of filters are possible.

Figure 2022146993000002
Figure 2022146993000002

本実施形態のIIR Filterの構成には、SoC101に内蔵されている乗算器などの専用ブロックを適用すれば構成される。フィルタ演算ブロック数m、及びIIR Filterブロック内の1ブロック当たりのフィルタ段数は、SoC101に内蔵されている乗算器などの専用ブロックの数や、システムが必要とするフィルタの最小段数に応じて設計が可能である。 The configuration of the IIR filter of this embodiment is configured by applying a dedicated block such as a multiplier built into the SoC 101 . The number of filter operation blocks m and the number of filter stages per block in the IIR Filter block can be designed according to the number of dedicated blocks such as multipliers built into SoC 101 and the minimum number of filter stages required by the system. It is possible.

以上のデータ伝送回路1によれば、MUXを用いてIIR Filterの入力信号を切り替えられるため、一つのフィルタ演算ブロック内で1段または2段のIIR Filterを通過することができ、さらに、異なるブロックの出力データに対してもIIR Filter処理を行える。また、異なる複数のブロックを組み合わせられるため、フィルタ演算ブロック数の範囲内でフィルタ段数を自由に設定することができる。さらに、入力データ点数とフィルタ演算ブロック数によってフィルタ段数を自由に設定できるため、入力データ点数は少ないがフィルタ段数が多いシステムから、入力データ点数は多いがフィルタ段数が少ないシステムまで柔軟にフィルタ演算を行うことができる。 According to the data transmission circuit 1 described above, since the input signal of the IIR filter can be switched using the MUX, it is possible to pass through one or two stages of IIR filters in one filter operation block, and furthermore, different blocks IIR filter processing can also be performed on the output data of . Also, since a plurality of different blocks can be combined, the number of filter stages can be freely set within the range of the number of filter operation blocks. Furthermore, since the number of filter stages can be freely set according to the number of input data points and the number of filter operation blocks, filter operations can be performed flexibly from systems with a small number of input data points but many filter stages to systems with a large number of input data points but few filter stages. It can be carried out.

データ伝送回路1の具体的な適用例としては保護リレー装置が挙げられる。保護リレー装置としては、落雷や鳥獣、風雪による短絡等の事故から設備の破損、停電の波及を防ぎ、迅速な復旧を行うための装置が挙げられる。前記保護リレー装置は、電力系統の電圧および電流を一定間隔でサンプリングし、CPUで事故判定を行い、遮断器にトリップ指示を出力する。 A specific application example of the data transmission circuit 1 is a protection relay device. Examples of protective relay devices include devices for preventing equipment damage and power outages caused by accidents such as lightning strikes, birds and animals, and short circuits caused by wind and snow, and for quick recovery. The protection relay device samples the voltage and current of the electric power system at regular intervals, performs fault determination by the CPU, and outputs a trip instruction to the circuit breaker.

前記保護リレー装置のより具体的なものとしては、変電所構内の母線を保護する母線保護リレーや発電所構内の発電機保護リレーなどの種類が挙げられる。母線保護リレーは、変電所構内の母線を保護するため、入力データ点数は150点程度と多くなるが、IIR Filterは2段ローパスフィルタでよい。一方、発電機保護リレーは、発電機を対象とするため、入力データ点数は母線保護リレーに比べて少なく25点程度であるが、発電機の起動時における周波数変動や、揚水発電所における負荷として運転する場合に対応するため、IIR Filterは4段バンドパスフィルタが必要となる。本発明を用いることで、母線保護リレーや発電機保護リレーなどの入力データ点数やIIR Filter段数が異なるシステムにも柔軟に適用できる。 More specific examples of the protective relay device include a busbar protection relay for protecting a busbar in a substation and a generator protection relay in a power station. Since the busbar protection relay protects the busbar in the premises of the substation, the number of input data points is as large as about 150 points, but the IIR filter may be a two-stage low-pass filter. On the other hand, since the generator protection relay targets the generator, the number of input data points is about 25, which is less than the bus protection relay. The IIR filter requires a 4-stage bandpass filter to cope with driving. By using the present invention, it can be flexibly applied to systems with different numbers of input data points and IIR filter stages, such as bus protection relays and generator protection relays.

以上の実施形態のデータ伝送回路1は、IIR Filterが適用されているが、IIR Filter以外のディジタルフィルタであるFIR Filter(有限インパルス応答フィルタ)が適用されても当該実施形態と同様の効果が得られる。 An IIR filter is applied to the data transmission circuit 1 of the above embodiment, but even if an FIR filter (finite impulse response filter), which is a digital filter other than the IIR filter, is applied, the same effect as that of the embodiment can be obtained. be done.

1…データ伝送回路、101…SoC、102…A/D変換器
100…内部バス、103…CPU、104…タイミング制御器、105…RAM、106…A/D変換器制御部、107…フィルタ演算部、108,109…DMAC
201,202,20m…フィルタ演算ブロック
2411,2412…MUX、2511,2512…IIR Filter、2611,2612…遅延部、2421,2422…MUX、2521,2522…IIR Filter、2621,2622…遅延部
Reference Signs List 1 Data transmission circuit 101 SoC 102 A/D converter 100 Internal bus 103 CPU 104 Timing controller 105 RAM 106 A/D converter control section 107 Filter operation part, 108, 109...DMAC
201, 202, 20m... filter calculation blocks 2411, 2412... MUX, 2511, 2512... IIR Filter, 2611, 2612... delay section, 2421, 2422... MUX, 2521, 2522... IIR Filter, 2621, 2622... delay section

Claims (4)

二つのデータの入力が可能な第一マルチプレクサと、
この第一マルチプレクサの出力側と接続される第一ディジタルフィルタと、
一つのデータの入力に対して前記第一ディジタルフィルタの演算で生じる遅延を調整する第一遅延部と、
前記第一ディジタルフィルタ及び前記第一遅延部の出力側と接続される第二マルチプレクサと、
この第二マルチプレクサの出力側と接続される第二ディジタルフィルタと、
前記第一ディジタルフィルタの出力データに対して前記第二ディジタルフィルタの演算で生じる遅延を調整する第二遅延部と、
を備えたことを特徴とするフィルタ演算回路。
a first multiplexer capable of inputting two data;
a first digital filter connected to the output side of the first multiplexer;
a first delay unit that adjusts the delay caused by the operation of the first digital filter with respect to the input of one data;
a second multiplexer connected to the output side of the first digital filter and the first delay unit;
a second digital filter connected to the output side of the second multiplexer;
a second delay unit that adjusts the delay caused by the calculation of the second digital filter with respect to the output data of the first digital filter;
A filter operation circuit, comprising:
前記第一ディジタルフィルタ及び前記第二ディジタルフィルタのフィルタ係数を格納するフィルタ係数レジスタを備えたことを特徴とする請求項1に記載のフィルタ演算回路。 2. The filter operation circuit according to claim 1, further comprising a filter coefficient register for storing filter coefficients of said first digital filter and said second digital filter. 請求項1または2に記載のフィルタ演算回路を複数備え、
一つの前記フィルタ演算回路の前記第二ディジタルフィルタの出力データは、他の前記フィルタ演算回路の前記第一マルチプレクサに入力されることを特徴とするデータ伝送回路。
A plurality of filter operation circuits according to claim 1 or 2,
A data transmission circuit, wherein the output data of said second digital filter of one said filter operation circuit is input to said first multiplexer of another said filter operation circuit.
請求項3に記載のデータ伝送回路を備えたことを特徴とする保護リレー装置。 A protection relay device comprising the data transmission circuit according to claim 3 .
JP2021048061A 2021-03-23 2021-03-23 Filter operation circuit, data transmission circuit, and protective relay device Pending JP2022146993A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2021048061A JP2022146993A (en) 2021-03-23 2021-03-23 Filter operation circuit, data transmission circuit, and protective relay device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2021048061A JP2022146993A (en) 2021-03-23 2021-03-23 Filter operation circuit, data transmission circuit, and protective relay device

Publications (1)

Publication Number Publication Date
JP2022146993A true JP2022146993A (en) 2022-10-06

Family

ID=83462819

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2021048061A Pending JP2022146993A (en) 2021-03-23 2021-03-23 Filter operation circuit, data transmission circuit, and protective relay device

Country Status (1)

Country Link
JP (1) JP2022146993A (en)

Similar Documents

Publication Publication Date Title
JP5399592B1 (en) Merging unit that collects power system information
US7587441B2 (en) Systems and methods for weighted overlap and add processing
JP2015056124A (en) Matrix arithmetic device
US5270953A (en) Fast convolution multiplier
JP2022146993A (en) Filter operation circuit, data transmission circuit, and protective relay device
JP2010074901A (en) Power system protection control device
Priya et al. IIR digital filter design using Xilinx system generator for FPGA implementation
JP3765056B2 (en) Digital protection relay
RU69281U1 (en) MULTI-PROCESSOR SYSTEM OF RELAY PROTECTION, AUTOMATION, CONTROL AND SIGNALING OF SECTIONAL AND INPUT CIRCUIT BREAKERS
CN101331663A (en) Multi-object protection, control, and monitoring in the same intelligent electronic device
Valsan et al. Protective relaying for power transformers using field programmable gate array
JPH01284009A (en) Digital filter processing unit, digital protection relay device and digital differential relay device
CN108983597B (en) Method and device for approximating pure hysteresis
JPS63240313A (en) Digital processor
JP2858754B2 (en) Digital protection relay
JP2014003819A (en) Digital protection control device
JPH0884048A (en) Sampling rate converter
Lesnikov et al. Synthesis of new canonic structures for a second-order IIR digital filters
JPS60229619A (en) Monitoring system of digital protective relay
JP2012135150A (en) Digital protective relay device
WO2009030258A1 (en) Protective device for protecting an electrotechnical unit and method for the operation thereof
WO2005078924A1 (en) Frequency component isolation filter, method, and program
JPH01202113A (en) Digital protective-relay
JP2004112977A (en) Protective relay device
RU70385U1 (en) MICROPROCESSOR RELAY PROTECTION SYSTEM OF CONNECTIONS