CN106840230A - The signal processing apparatus and method of a kind of vibrating string type sensor - Google Patents
The signal processing apparatus and method of a kind of vibrating string type sensor Download PDFInfo
- Publication number
- CN106840230A CN106840230A CN201710102095.1A CN201710102095A CN106840230A CN 106840230 A CN106840230 A CN 106840230A CN 201710102095 A CN201710102095 A CN 201710102095A CN 106840230 A CN106840230 A CN 106840230A
- Authority
- CN
- China
- Prior art keywords
- signal
- frequency
- data
- module
- quality
- 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
- 238000000034 method Methods 0.000 title claims abstract description 94
- 238000012545 processing Methods 0.000 title claims abstract description 22
- 238000004364 calculation method Methods 0.000 claims abstract description 26
- 238000001914 filtration Methods 0.000 claims abstract description 25
- 238000012937 correction Methods 0.000 claims abstract description 23
- 238000001514 detection method Methods 0.000 claims abstract description 18
- 238000012360 testing method Methods 0.000 claims abstract description 15
- 238000003672 processing method Methods 0.000 claims abstract description 12
- 230000008859 change Effects 0.000 claims description 16
- 238000001228 spectrum Methods 0.000 claims description 16
- 238000013441 quality evaluation Methods 0.000 claims description 10
- 230000005284 excitation Effects 0.000 claims description 9
- 230000005540 biological transmission Effects 0.000 claims description 7
- 238000004891 communication Methods 0.000 claims description 7
- 230000000737 periodic effect Effects 0.000 claims description 7
- 230000008030 elimination Effects 0.000 claims description 6
- 238000003379 elimination reaction Methods 0.000 claims description 6
- 230000009467 reduction Effects 0.000 claims description 4
- 239000000654 additive Substances 0.000 claims description 3
- 230000000052 comparative effect Effects 0.000 claims description 3
- 230000007613 environmental effect Effects 0.000 claims description 3
- 238000000691 measurement method Methods 0.000 claims description 3
- 238000004321 preservation Methods 0.000 claims description 3
- 238000012886 linear function Methods 0.000 claims description 2
- 238000005259 measurement Methods 0.000 abstract description 14
- 238000005516 engineering process Methods 0.000 abstract description 8
- 230000008569 process Effects 0.000 abstract description 7
- 230000007704 transition Effects 0.000 abstract description 4
- 238000010200 validation analysis Methods 0.000 abstract description 3
- 230000008901 benefit Effects 0.000 description 9
- 238000005070 sampling Methods 0.000 description 7
- 229910000831 Steel Inorganic materials 0.000 description 4
- 239000010959 steel Substances 0.000 description 4
- 238000011156 evaluation Methods 0.000 description 3
- 238000012935 Averaging Methods 0.000 description 2
- 238000000205 computational method Methods 0.000 description 2
- 238000006073 displacement reaction Methods 0.000 description 2
- 230000006870 function Effects 0.000 description 2
- 230000010354 integration Effects 0.000 description 2
- 239000000463 material Substances 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 230000004304 visual acuity Effects 0.000 description 2
- 241001269238 Data Species 0.000 description 1
- 238000004458 analytical method Methods 0.000 description 1
- 230000001174 ascending effect Effects 0.000 description 1
- 230000015572 biosynthetic process Effects 0.000 description 1
- 238000010276 construction Methods 0.000 description 1
- 239000013078 crystal Substances 0.000 description 1
- 230000007812 deficiency Effects 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 230000005611 electricity Effects 0.000 description 1
- 230000010358 mechanical oscillation Effects 0.000 description 1
- 238000012544 monitoring process Methods 0.000 description 1
- 230000000750 progressive effect Effects 0.000 description 1
- 230000004044 response Effects 0.000 description 1
- 238000010183 spectrum analysis Methods 0.000 description 1
Classifications
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01D—MEASURING NOT SPECIALLY ADAPTED FOR A SPECIFIC VARIABLE; ARRANGEMENTS FOR MEASURING TWO OR MORE VARIABLES NOT COVERED IN A SINGLE OTHER SUBCLASS; TARIFF METERING APPARATUS; MEASURING OR TESTING NOT OTHERWISE PROVIDED FOR
- G01D5/00—Mechanical means for transferring the output of a sensing member; Means for converting the output of a sensing member to another variable where the form or nature of the sensing member does not constrain the means for converting; Transducers not specially adapted for a specific variable
- G01D5/54—Mechanical means for transferring the output of a sensing member; Means for converting the output of a sensing member to another variable where the form or nature of the sensing member does not constrain the means for converting; Transducers not specially adapted for a specific variable using means specified in two or more of groups G01D5/02, G01D5/12, G01D5/26, G01D5/42, and G01D5/48
- G01D5/56—Mechanical means for transferring the output of a sensing member; Means for converting the output of a sensing member to another variable where the form or nature of the sensing member does not constrain the means for converting; Transducers not specially adapted for a specific variable using means specified in two or more of groups G01D5/02, G01D5/12, G01D5/26, G01D5/42, and G01D5/48 using electric or magnetic means
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01D—MEASURING NOT SPECIALLY ADAPTED FOR A SPECIFIC VARIABLE; ARRANGEMENTS FOR MEASURING TWO OR MORE VARIABLES NOT COVERED IN A SINGLE OTHER SUBCLASS; TARIFF METERING APPARATUS; MEASURING OR TESTING NOT OTHERWISE PROVIDED FOR
- G01D21/00—Measuring or testing not otherwise provided for
- G01D21/02—Measuring two or more variables by means not covered by a single other subclass
Landscapes
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Indication And Recording Devices For Special Purposes And Tariff Metering Devices (AREA)
Abstract
Disclose a kind of signal processing apparatus of vibrating string type sensor, its integrated level is high, advanced technology, small volume, interface are various, existing informatization and network can be easily linked into, realize from manual testing to the fast transition of full-automatic unmanned test on duty, validation checking, signal quality overall merit can be also carried out to sensor in measurement process simultaneously, substantially reduce artificial input and labour intensity, improve measurement efficiency, reduce the application difficulty of vibrating wire sensor.It includes detection identification module, data acquisition module, primary Calculation module, accuracy assessment module, correction computing module, smothing filtering module.Also processing method.
Description
Technical field
The invention belongs to electronic technology and the technical field of engineering monitoring, more particularly to a kind of letter of vibrating string type sensor
Number processing unit and method.
Background technology
Vibrating string type sensor is also referred to as steel string type sensor, is that most attention and wide variety of one kind are non-both at home and abroad at present
The sensor of electricity electrical measurement.Steel string type sensor has simple structure, sturdy and durable, strong antijamming capability (closely), measured value
Reliable, precision and resolving power is high and the advantages of good stability.It is output as frequency signal (generally mV grades of sine wave), extensively should
For in ground, concrete, structural steelwork test.
The general work principle of steel string type sensor is:String wire is placed in magnetic field, and string wire is swashed in a certain way
After shaking, string wire will vibrate, and the string wire of vibration makees cutting magnetic line movement in magnetic field, therefore, can be in pick-up coil
Potential is induced, the frequency of induced potential (string wire cutting magnetic line, ultra-weak electronic signal is produced in coil) is exactly being total to for vibratory string
Vibration frequency.From mechanics principle, the tension force or pulling force that resonant frequency and the string of a musical instrument of string wire are born are linear, therefore survey
Obtaining the resonant frequency of string wire can obtain the level of tightness (tension stress) of string wire to be measured, using this characteristic, produce various
The change of the sensor of various kinds, such as pressure, displacement, pressure or displacement causes string wire level of tightness to change, its resonance frequency
Rate also accordingly changes, and frequency values can calculate the pressure or shift value suffered by sensor." tightening " journey of string wire
Degree is the stress state of string wire, and string wire stress meets formula with its resonant frequency
In above formula:
f:The frequency values of string wire
L:String wire length
σ:Tension stress suffered by string wire
ρ:The density of string wire material
For the string wire sensor for having completed, the length of string wire, the density of string wire material are known quantity, so,
The tension stress that string wire is subject to has one-to-one relationship with string wire resonant frequency, and tension stress is subject to the shadow of sensor external environment
Ring (such as pressure) and change, so as to the value of external environment condition can be calculated by frequency values.
This kind of sensor has two kinds of forms:One kind is twin coil, and one of coil is single coil excitement, and exciting vibratory string is by steel
Chord vibration gets up, and another is pick-up coil, and it is the induced electromotive force that the mechanical oscillation of vibratory string can be converted to same frequency
Device;Another kind is unicoil, and this sensor single coil excitement and pick-up coil are same coil, and exciting and pick-up timesharing are entered
OK, first exciting, rear pick-up.Single coil vibrating sensor is mainly solved two problems in:First, excitation method is used
Any method makes vibratory string shake;Second, the pickup of the faint electromotive force in pick-up method, including pick-up coil obtains electromotive force
Frequency and frequency measuring two parts.
Type vibration wire readout instrument is mainly solved two problems:String wire how is allowed to shake and how to obtain after string wire shakes
The frequency values of generation.The invention solves the problems that subject matter be after being shaken to string wire produce signal process.
The content of the invention
Technology solve problem of the invention is:Overcome the deficiencies in the prior art, there is provided a kind of signal of vibrating string type sensor
Processing unit, its integrated level is high, advanced technology, small volume, interface are various, can easily be linked into existing informatization and network, real
Now from manual testing to the fast transition of full-automatic unmanned test on duty, while can also have to sensor in measurement process
The detection of effect property, signal quality overall merit, substantially reduce artificial input and labour intensity, improve measurement efficiency, reduce and shake
The application difficulty of chord sensor.
Technical solution of the invention is:The signal processing apparatus of this vibrating string type sensor, it includes detection identification
Module, data acquisition module, primary Calculation module, accuracy assessment module, correction computing module, smothing filtering module;
Detection identification module, its configuration is come when specified requirements meets after completing sensor excitation, enabling signal amplitude is visited
Device is surveyed, checks whether sine wave signal peak value is in the model that signal amplitude upper and lower limit register specifies by signal amplitude detector
Enclose, if then starting collecting sensor signal work;
Data acquisition module, the data that it configures when needed to detect signal amplitude detector are via digital communication
Interface is output as frequency spectrum data, and one point data includes time data and amplitude data when frequency spectrum data is exported;
Primary Calculation module, it configures to carry out data rejecting, frequency primary Calculation, signal quality evaluation;
Accuracy assessment module, its configuration by actual samples number, signal peak, signal decay rate, original sample quality,
Calculate sample quality, high-quality number of samples, high-quality quantity ratios, interference signal ratio and original sample quality, calculate sample matter
Measure the degree that characterized sensor signal quality and test site transmission line are disturbed;
Correction computing module, its configuration is corrected come the influence to environment temperature, and causes temperature to time reference hardware
The influence that degree changes and produces is corrected;
Smothing filtering module, it configures to do the temperature adjustmemt frequency values for currently calculating and conventional historical data
Compare.
The present invention is by detecting identification module, data acquisition module, primary Calculation module, accuracy assessment module, correction meter
The signal for calculating module, smothing filtering module to be produced after shaking string wire is processed, thus integrated level is high, advanced technology,
Small volume, interface are various, can easily be linked into existing informatization and network, realize from manual testing to full-automatic unmanned survey on duty
The fast transition of examination, while validation checking, signal quality overall merit can be also carried out to sensor in measurement process, significantly
Reduce artificial input and labour intensity, improve measurement efficiency, reduce the application difficulty of vibrating wire sensor.
The processing method of the signal processing apparatus of this vibrating string type sensor is additionally provided, the method is comprised the following steps:
(1) detection identification:When specified requirements meets after completing sensor excitation, enabling signal magnitude detector, by believing
Number amplitude detector check sine wave signal peak value whether the scope specified in signal amplitude upper and lower limit register, if then
Start collecting sensor signal work;
(2) data acquisition:Signal amplitude detector is detected data when needed are exported via digital communication interface
It is frequency spectrum data, one point data includes time data and amplitude data when frequency spectrum data is exported;
(3) primary Calculation:Carry out data rejecting, frequency primary Calculation, signal quality evaluation;
(4) accuracy assessment:By actual samples number, signal peak, signal decay rate, original sample quality, calculating sample
Quality, high-quality number of samples, high-quality quantity ratios, interference signal ratio and original sample quality, the calculating common table of sample quality
Levy the degree that sensor signal quality and test site transmission line are disturbed;
(5) correction is calculated:Influence to environment temperature is corrected, and causes temperature to change and produce to time reference hardware
Raw influence is corrected;
(6) smothing filtering:Temperature adjustmemt frequency values and conventional historical data to currently calculating are compared.
Brief description of the drawings
Fig. 1 shows the structural representation of the signal processing apparatus of vibrating string type sensor of the invention.
Fig. 2 shows the flow chart of the processing method of the signal processing apparatus of vibrating string type sensor of the invention.
Specific embodiment
From figure 1 it appears that the signal processing apparatus of this vibrating string type sensor, it includes detection identification module, number
According to acquisition module, primary Calculation module, accuracy assessment module, correction computing module, smothing filtering module;
Detection identification module, its configuration is come when specified requirements meets after completing sensor excitation, enabling signal amplitude is visited
Device is surveyed, checks whether sine wave signal peak value is in the model that signal amplitude upper and lower limit register specifies by signal amplitude detector
Enclose, if then starting collecting sensor signal work;
Data acquisition module, the data that it configures when needed to detect signal amplitude detector are via digital communication
Interface is output as frequency spectrum data, and one point data includes time data and amplitude data when frequency spectrum data is exported;
Primary Calculation module, it configures to carry out data rejecting, frequency primary Calculation, signal quality evaluation;
Accuracy assessment module, its configuration by actual samples number, signal peak, signal decay rate, original sample quality,
Calculate sample quality, high-quality number of samples, high-quality quantity ratios, interference signal ratio and original sample quality, calculate sample matter
Measure the degree that characterized sensor signal quality and test site transmission line are disturbed;
Correction computing module, its configuration is corrected come the influence to environment temperature, and causes temperature to time reference hardware
The influence that degree changes and produces is corrected;
Smothing filtering module, it configures to do the temperature adjustmemt frequency values for currently calculating and conventional historical data
Compare.
The present invention is by detecting identification module, data acquisition module, primary Calculation module, accuracy assessment module, correction meter
The signal for calculating module, smothing filtering module to be produced after shaking string wire is processed, thus integrated level is high, advanced technology,
Small volume, interface are various, can easily be linked into existing informatization and network, realize from manual testing to full-automatic unmanned survey on duty
The fast transition of examination, while validation checking, signal quality overall merit can be also carried out to sensor in measurement process, significantly
Reduce artificial input and labour intensity, improve measurement efficiency, reduce the application difficulty of vibrating wire sensor.
In addition, specified requirements is:Constant time lag method, signal amplitude interval method or signal period wait method.
1. constant time lag method:Etc. duration to be fixed.
2. signal amplitude interval method:Value according to signal amplitude upper and lower limit register determines when start, terminates reading,
Statistics return signal.
3. the signal period wait method:The return signal of detection sensor, just starts system after the periodic signal specified is reached
Meter.
When method 1 and method 3 may be selected collection, can be set and whether signal amplitude is deposited positioned at signal amplitude upper and lower limit
Judged in the range of device setting, and whether given up the signal data not in the range of.
As shown in Fig. 2 additionally providing the processing method of the signal processing apparatus of this vibrating string type sensor, the method includes
Following steps:
(1) detection identification:When specified requirements meets after completing sensor excitation, enabling signal magnitude detector, by believing
Number amplitude detector check sine wave signal peak value whether the scope specified in signal amplitude upper and lower limit register, if then
Start collecting sensor signal work;
(2) data acquisition:Signal amplitude detector is detected data when needed are exported via digital communication interface
It is frequency spectrum data, one point data includes time data and amplitude data when frequency spectrum data is exported;
(3) primary Calculation:Carry out data rejecting, frequency primary Calculation, signal quality evaluation;
(4) accuracy assessment:By actual samples number, signal peak, signal decay rate, original sample quality, calculating sample
Quality, high-quality number of samples, high-quality quantity ratios, interference signal ratio and original sample quality, the calculating common table of sample quality
Levy the degree that sensor signal quality and test site transmission line are disturbed;
(5) correction is calculated:Influence to environment temperature is corrected, and causes temperature to change and produce to time reference hardware
Raw influence is corrected;
(6) smothing filtering:Temperature adjustmemt frequency values and conventional historical data to currently calculating are compared.
In addition, the step (2) includes frequencies below read method:Direct periodic method, direct frequency method, standard frequency ratio
Compared with mensuration, equal precision measuring frequency way, equally accurate multisample Measuring Frequency Method.
In addition, the step (3) includes data below elimination method:Direct scalping method, interference scalping method, reduction are rejected
Method.
In addition, in the step (3), also the sample after rejecting is carried out taking intermediate value and averaged.
In addition, in the step (4), original sample performance rating, calculating sample quality evaluation are calculated according to formula (1)
Wherein, σ:Sample standard deviation, n:Sample size, Di:I-th sample value,The average value of all sample values.
In addition, in the step (5), sensor frequency temperature adjustmemt and module frequency fiducial temperature amendment are a letter
Number, is calculated by formula (2)
Δ f=k × Δ T+b
Wherein, Δ f:The string wire frequency change caused because environment temperature changes, Δ T:Current environmental temperature and standard
Temperature difference, k:Temperature correction coefficient-multiplying constant, b:Temperature correction coefficient-additive constant.
In addition, in the step (6), filtering method be median filtering method, method of arithmetical average, median-value filter method,
Weighted Recursive average filter method.
In addition, the method also includes history data store, while holding time information, frequency, temperature during preservation.
Present disclosure is specifically described below.
1st, the identification of useful signal
After the completion of excitation, time delay is waited to read enabling signal amplitude spy immediately after the duration (can be 0) that register specifies
Device is surveyed, checks whether sine wave signal peak value (by signal amplitude control surveyed by the scope specified in signal amplitude upper and lower limit register
Device is completed), if so, then starting collecting sensor signal work.If it is not, then at most waiting 500ms, failure is this time read.
2nd, the name definition of various signals
Primary signal, follow signal, amplify signal, legal signal, detection pulse signal, sampling pulse signal is, it is necessary to solve
Release, not so explanatory note can be in a mess.Unless otherwise specified, signal system refers to the signal and thus signal of vibrating wire sensor string wire
And the process signal that circuit is produced.
Primary signal:The original small-signal of vibrating wire sensor output, theoretically sine wave signal.
Follow signal:Signal of the primary signal after follower strengthens driving force and antijamming capability, amplitude and original
Beginning signal is identical.
Amplify signal:Follow signal by the voltage exported after digital amplifier signal higher, can be used for signal amplitude
Detection is used and changes digital pulse signal and uses.
Legal signal:Meet that the duration that specify of register is read in time delay and signal peak is in signal amplitude upper and lower limit
Amplify full signal in the interval of register regulation.
Detection pulse signal:The all rectangular pulse signals exported after wave detector.
Sampling pulse signal:The pulse signal that legal signal is exported after wave detector.
3rd, signal amplitude detector
Signal detection after completing to amplify under central processing unit control, can carry out sinusoidal signal crest voltage and carry out
Signal spectrum is preserved and output.
Signal spectrum data output:All data that magnitude detector is detected are via digital communication interface of the invention
Output (signal mode frequency spectrum), with reference to the spectrum analysis tool software of host computer, can do further quality analysis to signal.
An one point data should comprise at least time data and amplitude data when frequency spectrum data is exported.
4th, frequency read method
User can change the value of register frequency calculation method which kind of selects to use sample computational methods, this module branch
(frequency collection method has a lot, and this patent is preferably or innovation proposes 5 kinds of sides for being suitable for vibrating wire sensor feature to hold 5 kinds of methods
Method), it is respectively described below:
5th, frequency read method (direct periodic method)
It is timing beginning and end signal, internal clocking timing, then according to 1 cycle time with a complete cycle signal
Interior internal clocking number (or time T) calculates signal frequency.
In above formula
fs:The frequency of signal
fb:The frequency (known) of inside modules timer
Nb:The count value (actually measured) of inside modules timer
Advantage:Used time is short, efficiency high
Shortcoming:The frequency values that signal period is calculated are not representative strong, and random error is larger, easy when signal quality is not high
There is larger error.
It is applicable:Sensor return signal is of high quality and time error very little used by different cycles, and scene is without too many strong
Interference.
6th, frequency read method (direct frequency method)
One duration of standard of timing, counts the signal period number received in this duration, calculates the frequency of signal
Value.
In above formula
fs:The frequency of signal
T:The duration (known) of prespecified internal timer
fb:The frequency (known) of inside modules timer
Nb:The count value (actually measured) of inside modules timer
Ns:The amount of cycles (actually measured) of signal
Advantage:Algorithm is simple, can with when a length of start-stop SS, it is also possible to how much realized with timer count number
Standard duration, hardware applicability is wide, less demanding to hardware computing capability;More direct periodic method is easier to ensure that measurement essence
Degree, reduces random monocycle signal influence.
Shortcoming:Beginning condition does not match with external signal, and end condition is defined by the time, also not with external signal
Match somebody with somebody, the error of ± 1Hz may be produced;When " legal signal " duration is inadequate, error can seriously increase.
It is applicable:Sensor return signal quality is higher and time error used by different cycles is distributed very rule, live nothing
Strong jamming.Signal quality is high, valid data duration long enough.
7th, frequency read method (standard frequency comparative measurement method)
Within one time period of identical, while the periodicity of internal reference clock and signal is counted, by time interval phase
It is same then signal frequency value can be calculated.
In above formula
∫s:The frequency of signal
fb:The frequency (known) of inside modules timer
Nb:The count value (actually measured) of inside modules timer
Ns:The amount of cycles (actually measured) of signal
Advantage:Dynamically whole legal signals can be acquired, legal signal stops timing when disappearing.
Shortcoming:Internal timer and cycle count and external signal cycle count are carried out simultaneously, to hardware capability and speed
Degree there are certain requirements.Signal legal period is counted, and does not do strictly matching with internal counter directly, may produce ±
The error of 1Hz;
It is applicable:Sensor return signal quality is higher and time error used by different cycles is distributed very rule, live nothing
Strong jamming.Signal matter is general, to legal signal duration without too many requirement.
8th, frequency read method (equal precision measuring frequency way)
It is identical with standard frequency comparative measurement method, simply the beginning and ending time risen or fallen along being defined by signal.
In above formula
fs:The frequency of signal
fb:The frequency (known) of inside modules timer
Nb:The count value (actually measured) of inside modules timer
Ns:The amount of cycles (actually measured) of signal
Advantage:Dynamically whole legal signals can be acquired, legal signal stops timing when disappearing;Carry out tight
The timing signal synchronization of lattice, precision is higher.
Shortcoming:Internal timer and cycle count and external signal cycle count are carried out simultaneously, to hardware capability and speed
Degree there are certain requirements;Timing beginning and ending time point and associative operation are strictly matched, it is higher to hardware requirement.
It is applicable:Sensor return signal quality is higher and time error used by different cycles is distributed very rule, live nothing
Strong jamming.Signal matter is general, to legal signal duration without too many requirement.
9th, frequency read method (equally accurate multisample Measuring Frequency Method)
More than several signal frequency computational methods or monocycle, or the multicycle it is average, it is adaptable to signal is relatively stable,
Each cycle difference is little, glitch-free signal source.
The invention proposes a kind of frequency calculation method not so good suitable for signal quality.Not so good refers to pass
In each periodic signal that sensor is returned, it has been mingled with some live interference signals, or the frequency of sensor string wire is not especially steady
Fixed, there is certain random deviation in the adjacent signals cycle.
Equally accurate multisample Measuring Frequency Method:It is basic timing start-stop condition with 1 complete pulse letter periodic signal, to each week
Phase signal carries out independent timing, then obtain N number of independent time value (frequency values), and accuracy assessment is carried out to data sample, rejects
Interference data and bad data, retaining satisfactory high-quality data carries out frequency calculating.
Advantage:Do interference signal ability strong, overall signal quality can be calculated just.
Shortcoming:Hardware Response Delay rate request is high, it is more to account for useful resources.
It is applicable:Signal period is unstable, the situation more than live interference.
Realize step
(1) memory variable is initialized;
(2) stimulus sensor;
(3) internal counter resets;
(4) detect detection pulse signal to start, open internal counter;(interruption)
(5) detection pulse signal ends are detected, stops internal counter;(interruption)
(6) count value to sampling aray variable is preserved;
(7) whether number of samples reaches the value that signal sampling quantity register specifies, is to jump to step (9), otherwise
Jump to step (3);
(8) whether current demand signal exceeds legal range, is to jump to step (9), otherwise jumps to step (3);
(9) sampling process is terminated;
(10) data rejecting, evaluation sample quality are carried out to sampled data set, frequency is calculated.
10th, the definition of various frequency titles
During frequency calculating, the result frequency values title in each stage has:Initial calculation frequency, temperature adjustmemt frequency,
History frequency filtering.
Original calculation frequency:The frequency values being calculated using all sampled datas for collecting.
High-quality calculates frequency:The frequency values that crude sampling collection is calculated by remaining high-quality sampled value after rejecting.
Temperature adjustmemt frequency:Initial calculation frequency is by the frequency values after double temperature adjustmemt.
History frequency filtering:Participate in some history filter values the frequency for calculating jointly using Current Temperatures correction value
Value.
11st, data elimination method
Three kind of method, is respectively direct scalping method, interference scalping method, reduction scalping method
Data elimination method (direct scalping method)
(1) the intermediate value data D in sample is found outm;
(2) by each data in sample and intermediate value data DmIt is compared, when absolute difference is more thanWhen, this data is rejected;
Advantage:Algorithm is simple, and speed is fast
Shortcoming:Quantity is excessive to cause sample to reject when interference signal is more, and usable samples are very few, the increase of error randomness
It is applicable:The noiseless or little signal transacting of interference
Data elimination method (interference scalping method)
(1) all samples are carried out into ascending sort;
(2) it is adjacent to be compared two-by-two, when discovery difference is less thanWhen, by this data
And all samples are all rejected after the phase;
Advantage:Algorithm is simple, and speed is fast
Shortcoming:Quantity is excessive to cause sample to reject when interference signal is more, and usable samples are very few, the increase of error randomness
It is applicable:The noiseless or little signal transacting of interference
Data elimination method (reduction scalping method)
(1) specimen sample order keeps constant;
(2) intermediate value D is calculatedm;
(3) value of each sample and intermediate value DmIt is compared, when the continuous sample value of discovery is all higher than intermediate value DmAnd exceedWhen, addition merging is carried out to continuous sample, value and intermediate value D after continuous mergingmThe difference of value is small
InWhen, retain the value after merging as a new sample value, reject the original sample number for participating in merging
According to, if the original sample value for continuously meeting above-mentioned rule is added after merging does not reach pre-provisioning request, directly rejecting;
(4) direct scalping method is called, secondary data rejecting is carried out to remaining sample.
Advantage:Interference signal can to greatest extent be recognized and recover sensor signal samples
Shortcoming:Computing is more complicated, relatively time consuming
It is applicable:Any signal, particularly sample few (signal difference), it is disturbed frequently signal frequency primary Calculation
Median method, averaging method, are respectively that the sample after rejecting is carried out taking intermediate value and averaged, without excessive explanation.
Sample quality evaluates (signal quality evaluation)
Original sample performance rating, calculating sample quality evaluation
In above formula
σ:Sample standard deviation
n:Sample size
Di:I-th sample value
The average value of all sample values
Signal acquisition, frequency calculate during can calculate actual samples number, signal peak, signal decay rate,
Various data such as original sample quality, calculating sample quality, high-quality number of samples, high-quality quantity ratios, interference signal ratio, this
A little data sensor signal quality characterized with original sample quality, calculating sample quality and test site transmission line are received
The degree of interference, i.e., it is of the invention in addition to the excitation, frequency reading of achievable string wire, while realizing the integration evaluation of signal quality
Function.
In addition, the integration evaluation of signal quality is also manifested by full signal frequency spectrum data output function.
12nd, frequency correction
Vibrating wire sensor string wire frequency is influenceed by two aspect factors, and one is subject to environment temperature for the natural frequency of vibration of string wire
Influence can change, two be can with temperature for gathering the reference time benchmark hardware (generally referring to the crystal oscillator of MCU) of signal
Degree change and it is inaccurate.So, to obtain the precise frequency value of not temperature influence, it is necessary to carry out two temperature frequencies of aspect
Compensation.This module has two temperature sampling devices, and the temperature sensor that sampler 1 is used in measurement sensor, sampler 2 is used for
Temperature sensor at measuring basis clock hardware.Two temperature sensors serve two frequency corrections.The present invention supports number
Word formula temperature sensor DS18B20, also supports thermistor temperature sensor.By user by setting external temperature sensor
Type, MCU carries out sampled measurements by firmware program using different methods.
Two groups of read-write registers are provided with MCU, storage sensor string wire compensating parameter and module is respectively used to certainly
Body frequency-temperature compensation parameter.Because together, its temperature compensation parameter is typically carried by sensor producer in sensor construction, producer etc.
For user is only needed to parameter read-in correspondence register;Module own frequency penalty coefficient draws according to actual measurement, disposably
Write-in correspondence register.
Sensor frequency temperature adjustmemt and module frequency fiducial temperature amendment are linear function, and formula is
Δf-k×ΔT+b
In above formula
Δf:The string wire frequency change caused because environment temperature changes
ΔT:The difference of current environmental temperature and normal temperature
k:Temperature correction coefficient-multiplying constant
b:Temperature correction coefficient-additive constant
After high-quality calculating frequency is carried out into temperature adjustmemt twice, temperature adjustmemt frequency values are produced, updated to correspondence register.
Disclosed technology temperature correction (amendment) problem all not on clock reference nearly all at present, it is real in application
Found in example test, clock reference used when environment often changes 1 DEG C, can produce the calculation error of about 0.028Hz, at 10 DEG C
In the range of~40 DEG C, because frequency error is 0.84Hz caused by temperature change, and can be produced in -40 DEG C~+80 DEG C of scopes
The error of 3.34Hz.General engineer applied, it is desirable to which sensor frequency resolving power is not less than 0.1Hz, precision is better than 0.5Hz, shows
So, the temperature correction of clock reference is not carried out, it is impossible to reach application requirement.Data above is the actual measurement of specific clock reference element
Value, different clock reference may temperature influence it is different, but all can be different degrees of influenceed by temperature change, carry out
The necessity of temperature adjustmemt.
13rd, historical data filtering
Be further reduce error improve precision, the change (such as strain gauge) based on frequency values be progressive formation this
One feature, when continuous pump is gathered, temperature adjustmemt frequency values and conventional historical data to currently calculating are compared, and are claimed
Be historical data filtering, acquired results value is referred to as history frequency filtering value, and the present invention supports 4 kinds of filtering method (medium filterings
Method, method of arithmetical average, median-value filter method, Weighted Recursive average filter method), it is described as follows.
Median filtering method
(1) this secondary data and N-1 historical data remove oldest one as basic operation sample set when N is even number
Individual data;
(2) sample set is ranked up, takes out a middle value as a result;
Digital averaging filtering method
(1) this secondary data and N-1 historical data are used as basic operation sample set;
(2) average value of sample set is calculated as a result;
Median-value filter method
(1) this secondary data and N-1 historical data are used as basic operation sample set;
(2) sample set is ranked up, rejects maximum and minimum value;
(3) remaining sample set is carried out into mean value calculation, as a result;
Weighted Recursive average filter method
(1) this secondary data and N-1 historical data are used as basic operation sample set;
(2) weight coefficient is assigned to each data in sample set successively, newer data weighting is bigger;
(3) each sample data is replicated the number of weight specification, extension makes sample size;
(4) average value of the new samples collection after increasing is calculated, as a result;
14th, history data store
Will be while holding time information and frequency, temperature etc. during preservation.
There is exclusive data conservation zone in memory, preserved with data sheet form, table data store structure such as table 1.
Time | Sensor sequence number (if having) | All read-only register values |
Table 1
The above, is only presently preferred embodiments of the present invention, not makees any formal limitation to the present invention, it is every according to
Any simple modification, equivalent variations and the modification made to above example according to technical spirit of the invention, still belong to the present invention
The protection domain of technical scheme.
Claims (10)
1. a kind of signal processing apparatus of vibrating string type sensor, it is characterised in that:It includes detection identification module, data acquisition module
Block, primary Calculation module, accuracy assessment module, correction computing module, smothing filtering module;
Detection identification module, its configuration come complete sensor excitation after specified requirements meet when, enabling signal magnitude detector,
Check whether sine wave signal peak value is in the scope that signal amplitude upper and lower limit register specifies by signal amplitude detector, if
It is to start collecting sensor signal work;Data acquisition module, its configuration when needed to detect signal amplitude detector
To data be output as frequency spectrum data via digital communication interface, one point data includes time data and width when frequency spectrum data is exported
Value Data;
Primary Calculation module, it configures to carry out data rejecting, frequency primary Calculation, signal quality evaluation;
Accuracy assessment module, it is configured actual samples number, signal peak, signal decay rate, original sample quality, calculating
Sample quality, high-quality number of samples, high-quality quantity ratios, interference signal ratio and original sample quality, calculating sample quality are total to
With the degree that sign sensor signal quality and test site transmission line are disturbed;
Correction computing module, its configuration is corrected come the influence to environment temperature, and causes temperature to change on time reference hardware
The influence for becoming and producing is corrected;
Smothing filtering module, it configures to do ratio to the temperature adjustmemt frequency values for currently calculating and conventional historical data
Compared with.
2. signal processing apparatus of vibrating string type sensor according to claim 1, it is characterised in that:Specified requirements is:Gu
Determine time expander method, signal amplitude interval method or signal period wait method.
3. the processing method of the signal processing apparatus of vibrating string type sensor according to claim 1, it is characterised in that:The party
Method is comprised the following steps:
(1) detection identification:When specified requirements meets after completing sensor excitation, enabling signal magnitude detector, by signal width
Degree detector checks whether sine wave signal peak value is in the scope that signal amplitude upper and lower limit register specifies, if then starting
Collecting sensor signal works;
(2) data acquisition:Signal amplitude detector is detected data when needed are output as frequency via digital communication interface
Modal data, one point data includes time data and amplitude data when frequency spectrum data is exported;
(3) primary Calculation:Carry out data rejecting, frequency primary Calculation, signal quality evaluation;
(4) accuracy assessment:By actual samples number, signal peak, signal decay rate, original sample quality, calculate sample quality,
High-quality number of samples, high-quality quantity ratios, interference signal ratio and original sample quality, the calculating characterized sensing of sample quality
The degree that device signal quality and test site transmission line are disturbed;
(5) correction is calculated:Influence to environment temperature is corrected, and cause temperature to change to time reference hardware and produce
Influence is corrected;
(6) smothing filtering:Temperature adjustmemt frequency values and conventional historical data to currently calculating are compared.
4. the processing method of the signal processing apparatus of vibrating string type sensor according to claim 3, it is characterised in that:It is described
Step (2) includes frequencies below read method:Direct periodic method, direct frequency method, standard frequency comparative measurement method, equally accurate are surveyed
Frequency method, equally accurate multisample Measuring Frequency Method.
5. the processing method of the signal processing apparatus of vibrating string type sensor according to claim 4, it is characterised in that:It is described
Step (3) includes data below elimination method:Direct scalping method, interference scalping method, reduction scalping method.
6. the processing method of the signal processing apparatus of vibrating string type sensor according to claim 5, it is characterised in that:It is described
In step (3), also the sample after rejecting is carried out taking intermediate value and averaged.
7. the processing method of the signal processing apparatus of vibrating string type sensor according to claim 6, it is characterised in that:It is described
In step (4), original sample performance rating, calculating sample quality evaluation are calculated according to formula (1)
Wherein, σ:Sample standard deviation, n:Sample size, Di:I-th sample value,The average value of all sample values.
8. the processing method of the signal processing apparatus of vibrating string type sensor according to claim 7, it is characterised in that:It is described
In step (5), sensor frequency temperature adjustmemt and module frequency fiducial temperature amendment are linear function, are counted by formula (2)
Calculate
Δ f=k × Δ T+b
Wherein, Δ f:The string wire frequency change caused because environment temperature changes, Δ T:Current environmental temperature and normal temperature
Difference, k:Temperature correction coefficient-multiplying constant, b:Temperature correction coefficient-additive constant.
9. the processing method of the signal processing apparatus of vibrating string type sensor according to claim 8, it is characterised in that:It is described
In step (6), filtering method is median filtering method, method of arithmetical average, median-value filter method, Weighted Recursive average filter
Method.
10. the processing method of the signal processing apparatus of vibrating string type sensor according to claim 9, it is characterised in that:Should
Method also includes history data store, while holding time information, frequency, temperature during preservation.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710102095.1A CN106840230A (en) | 2017-02-24 | 2017-02-24 | The signal processing apparatus and method of a kind of vibrating string type sensor |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710102095.1A CN106840230A (en) | 2017-02-24 | 2017-02-24 | The signal processing apparatus and method of a kind of vibrating string type sensor |
Publications (1)
Publication Number | Publication Date |
---|---|
CN106840230A true CN106840230A (en) | 2017-06-13 |
Family
ID=59134087
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710102095.1A Pending CN106840230A (en) | 2017-02-24 | 2017-02-24 | The signal processing apparatus and method of a kind of vibrating string type sensor |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106840230A (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107270954A (en) * | 2017-06-14 | 2017-10-20 | 长江水利委员会长江科学院 | A kind of vibrating string type sensor performance evaluation device and method |
CN111579866A (en) * | 2020-05-10 | 2020-08-25 | 哈船光电(武汉)有限公司 | Signal frequency testing method and device |
CN112383829A (en) * | 2019-11-06 | 2021-02-19 | 致讯科技(天津)有限公司 | Experience quality evaluation method and device |
CN117892065A (en) * | 2024-03-14 | 2024-04-16 | 江西飞尚科技有限公司 | Vibrating wire sensor signal correction method, system, computer and storage medium |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
IT1171261B (en) * | 1980-06-02 | 1987-06-10 | Foxboro Co | INDUSTRIAL PROCESS EQUIPMENT AND METHOD OF ADJUSTMENT USING A RESONANT SENSOR |
CN102141428A (en) * | 2010-12-28 | 2011-08-03 | 基康仪器(北京)有限公司 | Method and system for measuring frequency of single coil vibrating instrument |
CN202230595U (en) * | 2011-10-21 | 2012-05-23 | 广东省建筑科学研究院 | Multichannel data acquisition system used for vibrating wire transducers |
CN202229841U (en) * | 2011-09-19 | 2012-05-23 | 基康仪器(北京)有限公司 | Equal-precision frequency measuring device for single-coil vibrating wire instrument |
CN104154987A (en) * | 2014-07-10 | 2014-11-19 | 山东大学 | Vibration wire type sensor reader measuring meter |
-
2017
- 2017-02-24 CN CN201710102095.1A patent/CN106840230A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
IT1171261B (en) * | 1980-06-02 | 1987-06-10 | Foxboro Co | INDUSTRIAL PROCESS EQUIPMENT AND METHOD OF ADJUSTMENT USING A RESONANT SENSOR |
CN102141428A (en) * | 2010-12-28 | 2011-08-03 | 基康仪器(北京)有限公司 | Method and system for measuring frequency of single coil vibrating instrument |
CN202229841U (en) * | 2011-09-19 | 2012-05-23 | 基康仪器(北京)有限公司 | Equal-precision frequency measuring device for single-coil vibrating wire instrument |
CN202230595U (en) * | 2011-10-21 | 2012-05-23 | 广东省建筑科学研究院 | Multichannel data acquisition system used for vibrating wire transducers |
CN104154987A (en) * | 2014-07-10 | 2014-11-19 | 山东大学 | Vibration wire type sensor reader measuring meter |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107270954A (en) * | 2017-06-14 | 2017-10-20 | 长江水利委员会长江科学院 | A kind of vibrating string type sensor performance evaluation device and method |
CN112383829A (en) * | 2019-11-06 | 2021-02-19 | 致讯科技(天津)有限公司 | Experience quality evaluation method and device |
CN111579866A (en) * | 2020-05-10 | 2020-08-25 | 哈船光电(武汉)有限公司 | Signal frequency testing method and device |
CN117892065A (en) * | 2024-03-14 | 2024-04-16 | 江西飞尚科技有限公司 | Vibrating wire sensor signal correction method, system, computer and storage medium |
CN117892065B (en) * | 2024-03-14 | 2024-05-31 | 江西飞尚科技有限公司 | Vibrating wire sensor signal correction method, system, computer and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106840230A (en) | The signal processing apparatus and method of a kind of vibrating string type sensor | |
CN105181200B (en) | A kind of frequency method measures the exact algorithm of Suo Li | |
US20070244656A1 (en) | Method and apparatus for determining jitter and pulse width from clock signal comparisons | |
CN111537789A (en) | Direct current electric energy metering device and method based on signal separation and accurate integration | |
CN104545870A (en) | Heart rate detection mattress and method | |
CN104921736A (en) | Continuous blood glucose monitoring device comprising parameter estimation function filtering module | |
CN106802161A (en) | The motivational techniques of vibrating string type sensor | |
CN107356888A (en) | A kind of time difference type fluxgate sensor and time difference read method | |
CN201014997Y (en) | Virtual instrument based excitation system testing device | |
CN106802436A (en) | A kind of geophone tester and method of testing for becoming scaling method based on Goertzel | |
CN102043084A (en) | Method for detecting resistive current of lightning arrester | |
CN101334325B (en) | Cable force vibration detection method and its detecting apparatus | |
CN102927894A (en) | Eddy current detection system and method | |
CN109116183A (en) | Harmonic-model parameter identification method, device, storage medium and electronic equipment | |
CN117473263A (en) | Automatic recognition method and system for frequency and damping ratio of bridge vibration monitoring | |
CN109633243A (en) | A kind of accurate extracting method of beam current signal peak amplitude based on leggy sampling | |
CN105676143A (en) | Storage battery factory parameter online detection device | |
CN206556671U (en) | A kind of temperature acquisition apparatus of the vibrating string type sensor with dual calibration function | |
CN101308174A (en) | Wavelet transform signal frequency spectrum measuring analytical method adopting variable band-width parameter | |
CN113740856B (en) | Distance measurement method and device based on ultrasonic wave waveform vibration starting characteristics | |
CN211178306U (en) | Bridge type vibrating wire strain gauge based on online correction | |
CN106802367B (en) | Vibrating string type sensor signal period measurement method and device based on overlapping grouping | |
CN209264971U (en) | A kind of wave detector low frequency temperature-compensating adjusting circuit | |
CN116243583A (en) | Neural network measurement calibration system and method for TDL-TDC | |
CN109298238A (en) | A kind of frequency measurement method and its measuring system |
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 |
Application publication date: 20170613 |
|
RJ01 | Rejection of invention patent application after publication |