CN111610960B - Divider module based on LMS and division method thereof - Google Patents
Divider module based on LMS and division method thereof Download PDFInfo
- Publication number
- CN111610960B CN111610960B CN201811005142.1A CN201811005142A CN111610960B CN 111610960 B CN111610960 B CN 111610960B CN 201811005142 A CN201811005142 A CN 201811005142A CN 111610960 B CN111610960 B CN 111610960B
- Authority
- CN
- China
- Prior art keywords
- sign
- module
- lms
- result
- value
- 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.)
- Active
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F7/00—Methods or arrangements for processing data by operating upon the order or content of the data handled
- G06F7/38—Methods or arrangements for performing computations using exclusively denominational number representation, e.g. using binary, ternary, decimal representation
- G06F7/48—Methods or arrangements for performing computations using exclusively denominational number representation, e.g. using binary, ternary, decimal representation using non-contact-making devices, e.g. tube, solid state device; using unspecified devices
- G06F7/52—Multiplying; Dividing
Abstract
The invention discloses a divider module based on LMS and a division method thereof. The invention has the characteristics of low resource consumption, strong noise resistance and the like, and can be widely applied to various digital signal processing systems.
Description
Technical Field
The invention relates to a divider module in the technical field of electronic science, in particular to a digital circuit implementation of a divider.
Technical Field
In the technical field of electronic science, division operation is a basic operation, and in many complex mathematical calculations, division operation is one of indispensable implementation processes. Particularly, in many complicated mathematical simulation and numerical approximation processes, the adopted method is to iterate in units of step sizes, and each iteration needs to use a large number of multiplication and division operations. Among arithmetic operations, the divider is one of the most resource-consuming and process-complex components in the design. In each unit of the microprocessor, a divider plays a crucial role, and therefore, the performance, power consumption, and operation speed of the divider are also one of the key factors for improving the performance of the microprocessor. Therefore, in applications, especially hardware-implemented numerical calculations, there are considerable demands on the divider.
Since the third industrial revolution, researchers in various fields invest a lot of effort and time to quickly implement basic operations such as addition, subtraction, multiplication, division, modular multiplication, modular exponentiation and the like of data, and generally, a long way is needed for any algorithm from the theoretical description to the actual implementation, because the theory and the practice are two distinct concepts. Therefore, researchers pay great heart blood and sweat to complete the final realization of many algorithms. The same is true for the research of division, and researchers begin with the analysis of common division and gradually develop division algorithms with different principles by using the principle of the hand calculation division method. The invention develops a new method, replaces division operation with multiplication, completes the division operation with less hardware consumption and obtains better performance than the traditional divider.
Disclosure of Invention
The invention provides a divider module based on LMS and a division method thereof to overcome the defects in the prior art, so as to complete the division operation in a digital signal processing system with low hardware consumption, suppress the noise of an input signal and achieve the effects of high operation precision and stable output.
The invention adopts the following technical scheme for solving the technical problems:
the divider module based on the LMS of the invention is characterized by comprising the following components: absolute value module Abs, multiplier, subtracter, least mean square error module LMS, Sign value module Sign, Sign value module Mult;
the absolute value dereferencing module Abs receives and operates an externally input signal a to obtain an absolute value | a | of a and transmits the absolute value | a | to the multiplier;
the least mean square error module LMS outputs an initial value B after reset 1 To the multiplier;
the absolute value | a | and initial value B of the multiplier pair a 1 Performing operation to obtain initial multiplication result | a | × B 1 Then transmitting to a subtracter;
the subtractionThe device receives an externally input signal c and an initial multiplication result | a | × B 1 And performing operation to obtain an initial calculation result c- | a |. times B 1 As the nth input value of the least mean square error module LMS, where n is 1;
obtaining the (n + 1) th output value B by the least mean square error module LMS n+1 Then respectively transmitting the signals to the multiplier and a sign assignment module Mult;
the multiplier calculates the absolute value | a | of the a and the output value of the (n + 1) th time to obtain the multiplication result | a | xBb of the (n + 1) th time n+1 Then transmitting to a subtracter;
the subtracter receives an externally input signal c and an n +1 th multiplication result | a | × B n+1 And operating to obtain the calculation result c-a x B n+1 As the n +1 th input value of the least mean square error module LMS;
the Sign evaluation module Sign receives an externally input signal a and carries out operation to obtain an output result Sign (a), and then transmits the output result Sign (a) to the Sign evaluation module Mult;
the sign assignment module Mult assigns an output result sign (a) and an n +1 th output value B n+1 And performing operation to obtain the final result b of the divider module, which is c/a.
The invention relates to a method for solving the division of a divider module based on LMS, which is characterized by comprising the following steps:
Step 6, assigning n +1 to n, and returning to the step 3;
step 7, utilizing a Sign value taking module Sign to carry out Sign value taking operation on the signal a to obtain a Sign (a) of a;
step 8, according to the sign (a) of a, utilizing a sign assignment module Mult to carry out n +1 th iteration result B n+1 And carrying out sign assignment operation to obtain the final result b of division operation as c/a.
Compared with the prior art, the invention has the beneficial effects that:
1. compared with the traditional divider, the divider module realizes division operation with lower hardware consumption, saves hardware resources, has simple realization mode, and can replace the traditional divider in various digital signal processing systems;
2. the invention is realized based on an LMS system, can greatly reduce the influence of noise in an input signal on an operation result, and has the characteristics of strong anti-noise performance and stable output signal compared with the traditional divider.
Drawings
FIG. 1 is a schematic block diagram of an LMS-based divider module according to the present invention;
FIG. 2 is a schematic block diagram of an LMS module according to the present invention;
FIG. 3a is a waveform diagram of input signal a and signal c of the present invention;
FIG. 3b is a waveform diagram comparing the output of the divider according to the present invention and the conventional divider under the condition of the input signals a and c.
Detailed Description
In this embodiment, an LMS-based divider module, as shown in fig. 1, includes: absolute value module Abs, multiplier, subtracter, least mean square error module LMS, Sign value module Sign, Sign value module Mult; signals a and c of a digital signal processing system (such as a digital calibration system for calibrating gain errors between TIADC channels) enter the divider module, and a division operation result b is obtained after the signals a and c pass through the divider module; in particular, the present invention relates to a method for producing,
an absolute value dereferencing module Abs receives and operates an input signal a of the digital signal processing system to obtain an absolute value | a | of a, and then transmits the absolute value | a |, to a multiplier;
the LMS module outputs an initial value B after reset 1 To the multiplier;
the multiplier pair a absolute value | a | and an initial value B 1 Performing operation to obtain initial multiplication result | a | × B 1 Then transmitting to a subtracter;
the subtracter receives an input signal c of the digital signal processing system and an initial multiplication result | a | × B 1 And performing operation to obtain an initial calculation result c- | a |. times B 1 As the nth input value of the least mean square error module LMS, where n is 1;
the nth input value is processed by a least mean square error module LMS to obtain an n +1 th output value B n+1 Then respectively transmitting the signals to a multiplier and a plus-minus assignment module Mult;
the multiplier calculates the absolute value | a | of a and the output value of the (n + 1) th time to obtain the multiplication result | a | × B of the (n + 1) th time n+1 Then transmitting to a subtracter;
the subtracter receives an externally input signal c and the multiplication result | a | × B of the (n + 1) th time n+1 And performing operation to obtain the calculation result c-a multiplied by B n+1 As the n +1 th input value of the least mean square error module LMS; obtaining the n +2 th output value B again by the least mean square error module LMS n+2 Repeating the iteration in the same way; the structure of the least mean square error module LMS is shown in fig. 2, and the recursive formula of the LMS algorithm is: b is n+1 =B n +μ×(c n -B n ×a n )。
The Sign evaluation module Sign receives an externally input signal a and carries out operation to obtain an output result Sign (a), and then the output result Sign (a) is transmitted to the Sign evaluation module Mult;
the sign assignment module Mult assigns the output result sign (a) and the (n + 1) th output value B n+1 And performing operation to obtain the final result b of the divider module as c/a.
In this embodiment, a method for solving the division of the LMS-based divider module includes the following steps:
Step 6, assigning n +1 to n, and returning to the step 3;
step 7, performing Sign value operation on an input signal a of the digital signal processing system by using a Sign value module Sign to obtain a Sign (a) of a;
step 8, according to the sign (a) of a, utilizing a sign assignment module Mult to carry out (n + 1) th iteration result B n+1 And carrying out sign assignment operation to obtain the final result b of division operation as c/a.
The divider realizes the divider with a complex structure by using a multiplier with a simple structure, estimates the division result by using an LMS algorithm, and respectively obtains the outputs as shown in figure 3b under the condition of the same signal input with noise as that shown in figure 3a in comparison with the traditional divider, so that the operation result of the divider is more stable after the divider reaches convergence, the noise suppression effect on the input signal is obvious, and the operation result is more accurate.
Claims (2)
1. An LMS-based divider module, comprising: absolute value dereferencing modules Abs, a multiplier, a subtracter, a minimum mean square error module LMS, a Sign dereferencing module Sign and a Sign assignment module Mult;
the absolute value dereferencing module Abs receives and operates an externally input signal a to obtain an absolute value | a | of a and transmits the absolute value | a | to the multiplier;
the least mean square error module LMS outputs an initial value B after reset 1 To the multiplier;
the multiplier pair's absolute value | a | and initial value B 1 Performing operation to obtain initial multiplication result | a | × B 1 Then transmitting to a subtracter;
the subtracter receives an externally input signal c and an initial multiplication result | a | × B 1 And performing operation to obtain an initial calculation result c- | a |. times B 1 As the nth input value of the least mean square error module LMS, where n is 1;
obtaining the n +1 th output value B by the least mean square error module LMS n+1 Then respectively transmitting the signals to the multiplier and a sign assignment module Mult;
the multiplier calculates the absolute value | a | of the a and the output value of the (n + 1) th time to obtain the multiplication result | a | xBb of the (n + 1) th time n+1 Then transmitting to a subtracter;
the subtracter receives an externally input signal c and the multiplication result | a | × B of the (n + 1) th time n+1 And operating to obtain the calculation result c-a x B n+1 As the n +1 th input value of the least mean square error module LMS; obtaining the n +2 th output value B again by the least mean square error module LMS n+2 And repeating iteration in such a way, wherein the recursion formula of the LMS algorithm is as follows: b is n+1 =B n +μ×(c n -B n ×a n );
The Sign evaluation module Sign receives an externally input signal a and carries out operation to obtain an output result Sign (a), and then transmits the output result Sign (a) to the Sign evaluation module Mult;
the sign assignment module Mult assigns an output result sign (a) and an n +1 th output value B n+1 Operating to obtain the divider moduleThe final result of the block b is c/a.
2. The dividing method of the divider module based on the LMS is characterized by comprising the following steps of:
step 1, receiving an externally input signal a by using an absolute value dereferencing module Abs and calculating to obtain an absolute value | a |;
step 2, defining the number of LMS iterations as n, initializing n to 1, and enabling the nth iteration result B n =0;
Step 3, utilizing a multiplier to pair the absolute value | a | and the initial value B of a n Performing operation to obtain initial multiplication result | a | × B n ;
Step 4, receiving an externally input signal c and an initial multiplication result | a | × B by using a subtracter n And performing operation to obtain the n-th calculation result c- | a | × B n As an input value for the nth iteration;
step 5, utilizing a least mean square error module LMS to calculate the result c- | a | × B for the nth time n Performing the n-th LMS iterative operation to obtain the n + 1-th iterative result B n+1 (ii) a The recursive formula of the LMS algorithm is: b is n+1 =B n +μ×(c n -B n ×a n );
Step 6, assigning n +1 to n, and returning to the step 3;
step 7, utilizing a Sign value taking module Sign to carry out Sign value taking operation on the signal a to obtain a Sign (a) of a;
step 8, according to the sign (a) of a, utilizing a sign assignment module Mult to carry out n +1 th iteration result B n+1 And carrying out sign assignment operation to obtain the final result b of division operation as c/a.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811005142.1A CN111610960B (en) | 2018-08-30 | 2018-08-30 | Divider module based on LMS and division method thereof |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811005142.1A CN111610960B (en) | 2018-08-30 | 2018-08-30 | Divider module based on LMS and division method thereof |
Publications (2)
Publication Number | Publication Date |
---|---|
CN111610960A CN111610960A (en) | 2020-09-01 |
CN111610960B true CN111610960B (en) | 2022-09-27 |
Family
ID=72199904
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811005142.1A Active CN111610960B (en) | 2018-08-30 | 2018-08-30 | Divider module based on LMS and division method thereof |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111610960B (en) |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101493760A (en) * | 2008-12-24 | 2009-07-29 | 京信通信系统(中国)有限公司 | High speed divider and method thereof for implementing high speed division arithmetic |
CN103092561A (en) * | 2013-01-18 | 2013-05-08 | 北京理工大学 | Goldschmidt division implementation method based on divisor mapping |
CN105955706A (en) * | 2016-06-16 | 2016-09-21 | 武汉芯泰科技有限公司 | Divider and division operation method |
CN107179894A (en) * | 2016-03-09 | 2017-09-19 | 瑞昱半导体股份有限公司 | Fast divider and rapid division method |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6691144B2 (en) * | 2002-05-28 | 2004-02-10 | Interdigital Technology Corporation | Dual use dual complex multiplier and complex divider |
-
2018
- 2018-08-30 CN CN201811005142.1A patent/CN111610960B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101493760A (en) * | 2008-12-24 | 2009-07-29 | 京信通信系统(中国)有限公司 | High speed divider and method thereof for implementing high speed division arithmetic |
CN103092561A (en) * | 2013-01-18 | 2013-05-08 | 北京理工大学 | Goldschmidt division implementation method based on divisor mapping |
CN107179894A (en) * | 2016-03-09 | 2017-09-19 | 瑞昱半导体股份有限公司 | Fast divider and rapid division method |
CN105955706A (en) * | 2016-06-16 | 2016-09-21 | 武汉芯泰科技有限公司 | Divider and division operation method |
Non-Patent Citations (4)
Title |
---|
A Novel LMS-Based Calibration Scheme for Fractional-N Digital PLLs;T.M.Vo et al.;《2018 IEEE International Symposium on Circuits and Systems》;20180504;全文 * |
LMS算法的二次稳定性及鲁棒LMS算法;杨然 等;《电子学报》;20010125(第1期);全文 * |
M-独立条件下LMS算法的稳定区域;王远 等;《自动化学报》;20000719;第26卷(第4期);全文 * |
基于模糊LMS算法的自适应噪声消除器;徐艳红;《数据采集与处理》;20120115;全文 * |
Also Published As
Publication number | Publication date |
---|---|
CN111610960A (en) | 2020-09-01 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
Rosado-Muñoz et al. | FPGA implementation of an adaptive filter robust to impulsive noise: two approaches | |
CN109739470B (en) | Computing system based on arbitrary exponential function of type 2 hyperbolic CORDIC | |
Saritha et al. | Adaptive and recursive vedic karatsuba multiplier using non linear carry select adder | |
Putra | A novel fixed-point square root algorithm and its digital hardware design | |
Safarian et al. | FPGA implementation of LMS-based FIR adaptive filter for real time digital signal processing applications | |
Wang et al. | Design of high-throughput fixed-point complex reciprocal/square-root unit | |
Benara et al. | Accurus: A fast convergence technique for accuracy configurable approximate adder circuits | |
CN111610960B (en) | Divider module based on LMS and division method thereof | |
CN111984226B (en) | Cube root solving device and solving method based on hyperbolic CORDIC | |
Mohanty et al. | Design and performance analysis of fixed-point jacobi svd algorithm on reconfigurable system | |
CN113612559A (en) | Reconfigurable channel fading simulation device and fading twinning method thereof | |
Sarbishei et al. | Analysis of precision for scaling the intermediate variables in fixed-point arithmetic circuits | |
Mopuri et al. | Configurable rotation matrix of hyperbolic CORDIC for any logarithm and its inverse computation | |
Dwivedi et al. | Hybrid multiplier-based optimized MAC unit | |
CN113778379A (en) | CORDIC-based low-complexity hardware system and application method | |
CN107193784B (en) | High-precision low-hardware-complexity sinc interpolation implementation method and system | |
Akhter et al. | Logarithmic Multiplier: An Analytical Review | |
CN111353118B (en) | Method of squaring and corresponding circuit for squaring | |
Pandit et al. | Design and simulation of 16× 16 bit iterative logarithmic multiplier for accurate results | |
Saha et al. | Area efficient architecture of Hyperbolic functions for high frequency applications | |
Anuhya et al. | ASIC implementation of efficient floating point multiplier | |
Teja et al. | VLSI Architecture for Fractional-Order Adaptive Filter | |
Jency Rubia et al. | FIR filter design using floating point column bypassing technique | |
Uma et al. | Area and time optimized realization of 16 point FFT and IFFT blocks by using IEEE 754 single precision complex floating point adder and multiplier | |
Lunglmayr et al. | Fast approximate reciprocal approximations for iterative algorithms |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |