CN108832909A - The processing method of digital filtering in time difference method signal acquisition - Google Patents

The processing method of digital filtering in time difference method signal acquisition Download PDF

Info

Publication number
CN108832909A
CN108832909A CN201810642912.7A CN201810642912A CN108832909A CN 108832909 A CN108832909 A CN 108832909A CN 201810642912 A CN201810642912 A CN 201810642912A CN 108832909 A CN108832909 A CN 108832909A
Authority
CN
China
Prior art keywords
data
processing
digital filtering
time difference
signal acquisition
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
CN201810642912.7A
Other languages
Chinese (zh)
Inventor
王顺强
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.)
Chongqing Trillion Technology Development Co Ltd
Original Assignee
Chongqing Trillion Technology Development 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 Chongqing Trillion Technology Development Co Ltd filed Critical Chongqing Trillion Technology Development Co Ltd
Priority to CN201810642912.7A priority Critical patent/CN108832909A/en
Publication of CN108832909A publication Critical patent/CN108832909A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03HIMPEDANCE NETWORKS, e.g. RESONANT CIRCUITS; RESONATORS
    • H03H17/00Networks using digital techniques
    • H03H17/02Frequency selective networks
    • H03H17/0202Two or more dimensional filters; Filters for complex signals
    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03HIMPEDANCE NETWORKS, e.g. RESONANT CIRCUITS; RESONATORS
    • H03H17/00Networks using digital techniques
    • H03H17/02Frequency selective networks
    • H03H17/0219Compensation of undesirable effects, e.g. quantisation noise, overflow
    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03HIMPEDANCE NETWORKS, e.g. RESONANT CIRCUITS; RESONATORS
    • H03H17/00Networks using digital techniques
    • H03H17/02Frequency selective networks
    • H03H17/0223Computation saving measures; Accelerating measures
    • H03H2017/0245Measures to reduce power consumption

Landscapes

  • Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Mathematical Physics (AREA)
  • Memory System Of A Hierarchy Structure (AREA)

Abstract

The invention discloses the processing methods of digital filtering in time difference method signal acquisition, the processing method of digital filtering in time difference method signal acquisition, pending data is divided into multistage, source data after every coagulation is complete as next stage, so that pending data is divided into multi-stage data classification synchronization process, the memory consumption that can be significantly reduced in digital filtering processing, and calculating speed is greatly improved.The data volume of every level-one can according to circumstances self-defining data quantitative change amount;It is classified when pending data is divided into multistage according to data group byte number, data variable number, average data mode;It will can be classified automatically to processing data by setting according to data group byte number, data variable number, average data mode;Pending data also carries out data burst structure definition before classification, and the data burst structure includes data result, valid data counting, invalid data counting, data buffer storage group, every group of current data pointer.

Description

The processing method of digital filtering in time difference method signal acquisition
Technical field
The present invention relates to a kind of processing methods of digital filtering, and in particular to digital filtering in a kind of time difference method signal acquisition Processing method.
Background technique
During time difference method flow measurement, the measurement accuracy of equipment is directly affected to the acquisition precision of time difference.It passes The timing chips such as FPGA or GP21 that the time difference signal acquisition of system is all, but these chip signal processing capacities are on the weak side, and It is with high costs.
Summary of the invention
The technical problem to be solved by the present invention is to:The timing such as FPGA or GP21 that traditional time difference signal acquisition is all Chip, but the problem that these chip signal processing capacities are on the weak side, the present invention provides the time difference method signals to solve the above problems to adopt Concentrate the processing method of digital filtering.
The present invention is achieved through the following technical solutions:
Pending data is divided into multistage by the processing method of digital filtering in time difference method signal acquisition, and every coagulation is complete Afterwards as the source data of next stage.By splitting data into multistage, source data of every level-one as next stage, so that number to be processed It is classified synchronization process according to multi-stage data is divided into, the memory consumption that can be significantly reduced in digital filtering processing, and significantly Raising calculating speed.
Further, the method to be processed for being divided into multistage is mainly included the following steps that:
S1. initialization data state;
S2. addition new data is handled to the 1st grade of caching;
S3. judge whether current cache has expired, if current cache has expired, current processing result deposit next stage is delayed It deposits;If current cache is less than, directly judge whether reduced data ratio reaches setting value;
S4. in step s3, if current cache has expired, after current processing result deposit next stage caching, judgement It whether is afterbody;If not afterbody, then repeatedly step S3;If afterbody then exports processing result;
S5. in step s3, if current cache is less than, directly judge whether reduced data ratio reaches setting value Afterwards, if reaching setting value, processing result is returned;If not up to setting value exports invalid value.
Further, the data volume of every level-one can according to circumstances self-defining data quantitative change amount.By can customize every level-one Data volume variable make use scope wider.
Further, according to data group byte number, data variable number, average data mode when pending data is divided into multistage It is classified.Processing data will can be arrived according to data group byte number, data variable number, average data mode automatically by setting It is classified.
Further, pending data also carries out data burst structure definition before classification, and the data burst structure includes Data result, valid data counting, invalid data counting, data buffer storage group, every group of current data pointer.By the way that data knot is arranged Structure improves processing speed.
The present invention has the advantage that and beneficial effect:
1, the present invention can be significantly reduced the memory consumption in digital filtering processing, and calculating speed is greatly improved Degree;
2, the present invention makes use scope wider by can customize the data volume variable of every level-one;
3, the present invention will can be arrived by setting according to data group byte number, data variable number, average data mode automatically Processing data are classified.
Detailed description of the invention
Attached drawing described herein is used to provide to further understand the embodiment of the present invention, constitutes one of the application Point, do not constitute the restriction to the embodiment of the present invention.In the accompanying drawings:
Fig. 1 is data progression process flow diagram of the invention.
Specific embodiment
To make the objectives, technical solutions, and advantages of the present invention clearer, below with reference to embodiment and attached drawing, to this Invention is described in further detail, and exemplary embodiment of the invention and its explanation for explaining only the invention, are not made For limitation of the invention.
Embodiment 1
As shown in Figure 1, in time difference method signal acquisition digital filtering processing method, pending data is divided into multistage, often Source data after coagulation is complete as next stage.
The method to be processed for being divided into multistage is mainly included the following steps that:
S1. initialization data state;
S2. addition new data is handled to the 1st grade of caching;
S3. judge whether current cache has expired, if current cache has expired, current processing result deposit next stage is delayed It deposits;If current cache is less than, directly judge whether reduced data ratio reaches setting value;
S4. in step s3, if current cache has expired, after current processing result deposit next stage caching, judgement It whether is afterbody;If not afterbody, then repeatedly step S3;If afterbody then exports processing result;
S5. in step s3, if current cache is less than, directly judge whether reduced data ratio reaches setting value Afterwards, if reaching setting value, processing result is returned;If not up to setting value exports invalid value.
The data volume of every level-one can according to circumstances self-defining data quantitative change amount;According to data when pending data is divided into multistage Group byte number, data variable number, average data mode are classified;By setting according to data group byte number, data variable number, Average data mode will can be classified to processing data automatically;Pending data also carries out data burst structure before classification Definition, the data burst structure include data result, valid data counting, invalid data counting, data buffer storage group, every group it is current Data pointer.When implementation, for example to handle 1000 datas.1000 internal storage locations are traditionally needed, and to be carried out 1000 sequences, cumulative etc. calculate.It is divided into 3 grades by this method, every grade of one group of data are 10 datas, the 1st grade of 10 articles of numbers According to processing result as the 2nd grade of source data, the processing result of the 2nd grade of 10 datas is used as the source data of 3rd level again;In this way 2nd grade of every 1 data is all equivalent to original every 10 data, and every 1 data of 3rd level is equivalent to original every 100 Data;Finally reach 10 data process effects of 3 powers equal to 1000;Its practical operation is to define data group variable Float_Cass3_Num10 occupies about 150 bytes;Call processing function float_Average, and Transfer Parameters, including caching Group address, new data, data area handle ratio, processing mode etc.;The memory for occupying about 150 bytes is completed this by function Occupy the data that 4000 byte of memory could be handled, also it is only necessary to original 4% or so for same CPU occupancy.
Above-described specific embodiment has carried out further the purpose of the present invention, technical scheme and beneficial effects It is described in detail, it should be understood that being not intended to limit the present invention the foregoing is merely a specific embodiment of the invention Protection scope, all within the spirits and principles of the present invention, any modification, equivalent substitution, improvement and etc. done should all include Within protection scope of the present invention.

Claims (5)

1. the processing method of digital filtering in time difference method signal acquisition, which is characterized in that pending data is divided into multistage, it is each Grade has handled the rear source data as next stage.
2. the processing method of digital filtering in time difference method signal acquisition according to claim 1, which is characterized in that described to incite somebody to action The method to be processed for being divided into multistage mainly includes the following steps that:
S1. initialization data state;
S2. addition new data is handled to the 1st grade of caching;
S3. judge whether current cache has expired, if current cache has expired, by current processing result deposit next stage caching; If current cache is less than, directly judge whether reduced data ratio reaches setting value;
S4. in step s3, if current cache has expired, after current processing result deposit next stage caching, judge whether For afterbody;If not afterbody, then repeatedly step S3;If afterbody then exports processing result;
S5. in step s3, if current cache is less than, after directly judging whether reduced data ratio reaches setting value, if Reach setting value, then returns to processing result;If not up to setting value exports invalid value.
3. the processing method of digital filtering in time difference method signal acquisition according to claim 1, which is characterized in that described every The data volume of level-one can according to circumstances self-defining data quantitative change amount.
4. the processing method of digital filtering in time difference method signal acquisition according to claim 1, which is characterized in that it is described to Processing data are classified when being divided into multistage according to data group byte number, data variable number, average data mode.
5. the processing method of digital filtering in time difference method signal acquisition according to claim 1, which is characterized in that it is described to Processing data also carry out data burst structure definition before classification, and the data burst structure includes data result, valid data meter Number, invalid data counting, data buffer storage group, every group of current data pointer.
CN201810642912.7A 2018-06-21 2018-06-21 The processing method of digital filtering in time difference method signal acquisition Pending CN108832909A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810642912.7A CN108832909A (en) 2018-06-21 2018-06-21 The processing method of digital filtering in time difference method signal acquisition

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810642912.7A CN108832909A (en) 2018-06-21 2018-06-21 The processing method of digital filtering in time difference method signal acquisition

Publications (1)

Publication Number Publication Date
CN108832909A true CN108832909A (en) 2018-11-16

Family

ID=64141851

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810642912.7A Pending CN108832909A (en) 2018-06-21 2018-06-21 The processing method of digital filtering in time difference method signal acquisition

Country Status (1)

Country Link
CN (1) CN108832909A (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5893150A (en) * 1996-07-01 1999-04-06 Sun Microsystems, Inc. Efficient allocation of cache memory space in a computer system
CN103365793A (en) * 2012-03-28 2013-10-23 国际商业机器公司 Data processing method and system
US8924647B1 (en) * 2012-09-26 2014-12-30 Emc Corporation Dynamic selection of data replacement protocol for multi-level cache
CN106557272A (en) * 2015-09-30 2017-04-05 中国科学院软件研究所 A kind of efficient sensor historic data archiving method

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5893150A (en) * 1996-07-01 1999-04-06 Sun Microsystems, Inc. Efficient allocation of cache memory space in a computer system
CN103365793A (en) * 2012-03-28 2013-10-23 国际商业机器公司 Data processing method and system
US8924647B1 (en) * 2012-09-26 2014-12-30 Emc Corporation Dynamic selection of data replacement protocol for multi-level cache
CN106557272A (en) * 2015-09-30 2017-04-05 中国科学院软件研究所 A kind of efficient sensor historic data archiving method

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
杨雷: "《MapReduce作业执行性能优化若干关键技术研究》", 31 December 2015, 东北大学出版社 *

Similar Documents

Publication Publication Date Title
CN108230321A (en) Defect inspection method and device
CN106933992B (en) Distributed data purging system and method based on data analysis
CN105183557B (en) A kind of hardware based configurable data compression system
CN109325510B (en) Image feature point matching method based on grid statistics
CN110691035A (en) Method and device for determining network congestion, electronic equipment and storage medium
CN106375238A (en) Flow supervision method and apparatus
CN105490777A (en) Satellite telemetry data outlier elimination pre-processing method
CN100434900C (en) Realtime detecting method for flocculate fractal artery image
CN104282027A (en) Circle detecting method based on Hough transformation
CN108832909A (en) The processing method of digital filtering in time difference method signal acquisition
CN106815851B (en) A kind of grid circle oil level indicator automatic reading method of view-based access control model measurement
CN105488237B (en) Register enable signal optimization method based on FPGA
CN109255320B (en) Improved non-maximum suppression method
CN109978903B (en) Identification point identification method and device, electronic equipment and storage medium
CN113436190B (en) Lane line quality calculation method and device based on lane line curve coefficient and automobile
CN117408913B (en) Method, system and device for denoising point cloud of object to be measured
CN104573339B (en) The geologic parameter of shale gas reservoir determines method and apparatus
CN106815801B (en) Median filter circuit structure and median acquisition method
CN106528920A (en) Process mapping method of cascading lookup table
CN110222704A (en) A kind of Weakly supervised object detection method and device
US20180191354A1 (en) Highspeed/low power symbol compare
CN106294485A (en) Determine the method and device in notable place
CN106934015A (en) Address date treating method and apparatus
CN115017466B (en) Carbon capacity determination method and device, electronic equipment and storage medium
CN115406359A (en) Image-based concrete crack measuring method

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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20181116