CN105157899A - Method for searching maximum absolute value of reciprocal noise-containing fitted square waves - Google Patents
Method for searching maximum absolute value of reciprocal noise-containing fitted square waves Download PDFInfo
- Publication number
- CN105157899A CN105157899A CN201510512228.3A CN201510512228A CN105157899A CN 105157899 A CN105157899 A CN 105157899A CN 201510512228 A CN201510512228 A CN 201510512228A CN 105157899 A CN105157899 A CN 105157899A
- Authority
- CN
- China
- Prior art keywords
- data
- array
- absolute value
- reciprocal
- noisy
- 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
Links
Landscapes
- Testing Relating To Insulation (AREA)
Abstract
The invention discloses a method for searching the maximum absolute value of reciprocal noise-containing fitted square waves. The method includes the following steps that: a sampling frequency is set, and equal-duration array acquisition is performed on the noise-containing fitted square waves, so that an array {x} can be obtained, and the length of the array {x} assuredly cover 4 to 5 noise-containing fitted square waves; absolute value traversal is performed on the array {x}; and all data in the array {x} which has been subjected to absolute value traversal are sequenced according to a small-to-large order, and the last datum is the maximum absolute value in all the data in the array {x}. With the method of the invention adopted, the maximum absolute value of the reciprocal noise-containing fitted square waves of which the minimum period is Td can be automatically determined, and the misjudgment rate of a computer program can be decreased, and the success rate of search can be improved. The method is applied to occasions presenting a reciprocal noise-containing fitted square wave form, such as a metro platform screen door maximum kinetic energy test system.
Description
Technical field
The present invention relates to a kind of reciprocal searching method to noisy plan square wave maximum value, belong to signal collection and analysis technical field.
Background technology
For reciprocal to noisy plan square wave, because it contains frequency glitches and irregularity, and the contrary alternation of amplitude presents non-monotonic change, makes in signal collection and analysis when requiring automatically to determine maximum value, easily judges by accident.
Summary of the invention
The object of the invention is to overcome deficiency of the prior art, a kind of reciprocal searching method to noisy plan square wave maximum value is provided, solve and reciprocally there is frequency glitches and irregularity to noisy plan square wave, and the contrary alternation of amplitude presents non-monotonic change, easily there is the technical matters judged by accident when requiring automatically to determine maximum value.
For solving the problems of the technologies described above, the method applied in the present invention is: the reciprocal searching method to noisy plan square wave maximum value, comprises the steps:
Step one: sample frequency is set, in the first-class duration collection array of noisy plan square wave, { x}, ensures that array length covers 4 ~ 5 noisy plan square waves;
Step 2: { x} is all over taking absolute value to array;
Step 3: to all over after taking absolute value { total data in x} by sorting from small to large, last data is array { maximum values of total data in x}.
Further, described employing frequency is f
s=10f
0, f
0=1/T
d, T
dfor intending the minimum period of square wave.
Preferably, { duration of x} is 5T to gather array
d~ 7T
d.
Further, in step 3 " to all over after taking absolute value the total data in x} is by sorting from small to large " and concrete steps as follows:
To all over after taking absolute value the total data in x} is carried out size in order one by one and is compared: if current data be greater than after data, then current data and rear data are carried out Data Position exchange; Otherwise, retain current data position constant, further the size of relatively rear data and next data, thus after always making, a numerical value is greater than last data.
Compared with prior art, the beneficial effect that the present invention reaches is: the present invention can determine that the minimum period is T automatically
dreciprocal to noisy plan square wave maximum value, reduce the False Rate of computer program, improve search success ratio, be applied to and present the reciprocal occasion to noisy plan square wave form, such as subway shield door maximum kinetic energy test macro.
Embodiment
The invention will be further described below, and following examples only for technical scheme of the present invention is clearly described, and can not limit the scope of the invention with this.
The reciprocal searching method to noisy plan square wave maximum value, comprises the steps:
Step one: sample frequency f is set
s=10f
0, f
0=1/T
d, T
dfor intending the minimum period of square wave, noisy plan square wave carries out array such as duration collection such as grade, and { x} ensures that array length covers 4 ~ 5 noisy plan square waves.Array gathers duration and can select
can ensure that array length covers 4 ~ 5 noisy plan square waves, also can avoid gathering numerical value and cause committed memory too much, slowly calculated too much, most preferred embodiment the most of the present invention, gather duration and select 6T
d.
Step 2: { x} is all over taking absolute value to array;
Step 3: to all over after taking absolute value { total data in x} is by sorting from small to large, concrete operation step is: to all over after taking absolute value the total data in x} is carried out size in order one by one and is compared: if current data be greater than after data, then current data and rear data are carried out Data Position exchange; Otherwise, retain current data position constant, further the size of relatively rear data and next data, thus after always making, a numerical value is greater than last data.Last data is array { maximum values of total data in x}.
The inventive method, by arranging sampling policy, gathering array, arranging search criteria, builds a kind of reciprocal searching method to noisy plan square wave maximum value, automatically can determine that the minimum period is T
dreciprocal to noisy plan square wave maximum value, reduce the False Rate of computer program, improve search success ratio, be applied to and present the reciprocal occasion to noisy plan square wave form, such as subway shield door maximum kinetic energy test macro.
The above is only the preferred embodiment of the present invention; it should be pointed out that for those skilled in the art, under the prerequisite not departing from the technology of the present invention principle; can also make some improvement and distortion, these improve and distortion also should be considered as protection scope of the present invention.
Claims (4)
1. the reciprocal searching method to noisy plan square wave maximum value, is characterized in that, comprise the steps:
Step one: sample frequency is set, in the first-class duration collection array of noisy plan square wave, { x}, ensures that array length covers 4 ~ 5 noisy plan square waves;
Step 2: { x} is all over taking absolute value to array;
Step 3: to all over after taking absolute value { total data in x} by sorting from small to large, last data is array { maximum values of total data in x}.
2. the reciprocal searching method to noisy plan square wave maximum value according to claim 1, it is characterized in that, described employing frequency is f
s=10f
0, f
0=1/T
d, T
dfor intending the minimum period of square wave.
3. the reciprocal searching method to noisy plan square wave maximum value according to claim 2, is characterized in that, { duration of x} is 5T to gather array
d~ 7T
d.
4. the reciprocal searching method to noisy plan square wave maximum value according to claim 1, is characterized in that, in step 3 " to all over after taking absolute value the total data in x} is by sorting from small to large " and concrete steps as follows:
To all over after taking absolute value the total data in x} is carried out size in order one by one and is compared: if current data be greater than after data, then current data and rear data are carried out Data Position exchange; Otherwise, retain current data position constant, further the size of relatively rear data and next data, thus after always making, a numerical value is greater than last data.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510512228.3A CN105157899A (en) | 2015-08-19 | 2015-08-19 | Method for searching maximum absolute value of reciprocal noise-containing fitted square waves |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510512228.3A CN105157899A (en) | 2015-08-19 | 2015-08-19 | Method for searching maximum absolute value of reciprocal noise-containing fitted square waves |
Publications (1)
Publication Number | Publication Date |
---|---|
CN105157899A true CN105157899A (en) | 2015-12-16 |
Family
ID=54798835
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510512228.3A Pending CN105157899A (en) | 2015-08-19 | 2015-08-19 | Method for searching maximum absolute value of reciprocal noise-containing fitted square waves |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105157899A (en) |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1213260A (en) * | 1997-02-28 | 1999-04-07 | 摩托罗拉公司 | Service detection circuit and method |
CN102111065A (en) * | 2009-12-28 | 2011-06-29 | Nxp股份有限公司 | Power factor corrector |
CN103239223A (en) * | 2013-05-17 | 2013-08-14 | 深圳邦健生物医疗设备股份有限公司 | Pace-making signal detection method and device and medical instrument |
CN104718702A (en) * | 2012-10-12 | 2015-06-17 | Nlt科技股份有限公司 | Electronic device, capacitance sensor, and touch panel |
-
2015
- 2015-08-19 CN CN201510512228.3A patent/CN105157899A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1213260A (en) * | 1997-02-28 | 1999-04-07 | 摩托罗拉公司 | Service detection circuit and method |
CN102111065A (en) * | 2009-12-28 | 2011-06-29 | Nxp股份有限公司 | Power factor corrector |
CN104718702A (en) * | 2012-10-12 | 2015-06-17 | Nlt科技股份有限公司 | Electronic device, capacitance sensor, and touch panel |
CN103239223A (en) * | 2013-05-17 | 2013-08-14 | 深圳邦健生物医疗设备股份有限公司 | Pace-making signal detection method and device and medical instrument |
Non-Patent Citations (1)
Title |
---|
郭亚: "振动信号处理中的小波基选择研究", 《中国优秀硕士学位论文全文数据库(硕士)工程科技II辑》 * |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104020475B (en) | A kind of line of electric force based on on-board LiDAR data extracts and modeling method | |
CN101403602B (en) | Embedded high-speed on-line machine vision detection method and device | |
CN103989462B (en) | The extracting method of a kind of pulse wave fisrt feature point and second feature point | |
CN101916447B (en) | Robust motion target detecting and tracking image processing system | |
CN104036146B (en) | Trace point clustering method for clustering trace points of radar targets | |
CN103345842B (en) | A kind of road vehicle classification system and method | |
CN103837891A (en) | High-precision pickup method of first arrival of microseism | |
Li et al. | Recognition of insulator based on developed MPEG-7 texture feature | |
CN103345808A (en) | Fiber Bragg grating perimeter intrusion pattern recognition method and system | |
CN104749334A (en) | Mode-recognition-based design method for biological abnormal water quality evaluation system | |
CN110718235A (en) | Abnormal sound detection method, electronic device and storage medium | |
CN102930253A (en) | Coal and rock identification method based on image discrete multi-wavelet transform | |
CN103559508A (en) | Video vehicle detection method based on continuous Adaboost | |
CN102820034B (en) | Noise sensing and identifying device and method for civil aircraft | |
CN106845334A (en) | A kind of innovative noise extracting method based on mathematical morphology | |
CN106355580A (en) | Detection method and device of tilting pole tower | |
CN103267652B (en) | Intelligent online diagnosis method for early failures of equipment | |
CN104655914B (en) | Method and device for detecting interference signals and local discharging signals of GIS equipment | |
CN109490776B (en) | Mobile phone vibration motor good and defective product detection method based on machine learning | |
CN102945360B (en) | Method for detecting headwind zone of Doppler radar image based on morphological and logic operations | |
CN202793421U (en) | Signal processing device for passive wheel sensor | |
CN103956013A (en) | Wind and rain disturbing signal real-time judgment method | |
CN104977602A (en) | Control method and apparatus for earthquake data acquisition construction | |
CN105157899A (en) | Method for searching maximum absolute value of reciprocal noise-containing fitted square waves | |
CN113643234B (en) | Composite insulator damage detection method, terminal equipment and readable storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20151216 |
|
RJ01 | Rejection of invention patent application after publication |