CN103837170B - Rate-adaptive pacemaker class sensor automatic frequency compensation circuit and method - Google Patents
Rate-adaptive pacemaker class sensor automatic frequency compensation circuit and method Download PDFInfo
- Publication number
- CN103837170B CN103837170B CN201210489245.6A CN201210489245A CN103837170B CN 103837170 B CN103837170 B CN 103837170B CN 201210489245 A CN201210489245 A CN 201210489245A CN 103837170 B CN103837170 B CN 103837170B
- Authority
- CN
- China
- Prior art keywords
- frequency
- measurand
- signal
- micro
- control unit
- 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
Landscapes
- Electrotherapy Devices (AREA)
- Indication And Recording Devices For Special Purposes And Tariff Metering Devices (AREA)
Abstract
The present invention is applied to rate-adaptive pacemaker class sensor design field, it is provided that the automatic frequency compensation circuit of a kind of rate-adaptive pacemaker class sensor and method.Automatic frequency compensation circuit includes: micro-control unit, memory cell, frequency-conversion circuit, debugging on-off circuit and signal output apparatus;Automatic Frequency compensation method includes: the collection of standard-frequency signal, during debugging: the collection of actual frequency signal, the calculating of error signal and storage.During use: the calculating of the collection of actual frequency signal, error signal and actual signal and the generation of output frequency signal.The automatic frequency compensation method of embodiment of the present invention liquid level one frequency output sensor is described in detail.Gather standard transducer liquid level one frequency dependence by laboratory, then will gather liquid level one frequency dependence of real sensor, and two curves are compared, obtain error signal, be stored in memorizer.During working sensor, liquid level one frequency curve reality measurement obtained is added with error signal, microprocessor produce frequency signal output.The features such as the method is applied to rate-adaptive pacemaker class sensor, and to have production cost low, and debugging is convenient, technique is simple.
Description
Technical field
The invention belongs to a kind of rate-adaptive pacemaker class sensor technology design field, be specifically related to a kind of by measurand conversion
The change measured for corresponding inductance (or electric capacity), final design goes out the sensor for the purpose of rate-adaptive pacemaker, and this sensing
The using method of device.
Background technology
At present, existing rate-adaptive pacemaker class sensor and circuit thereof, generally use measurand one inductance (electric capacity) to measure one
The translation circuit of rate-adaptive pacemaker.But the measurand of this method presence sensor and inductance (electric capacity) amount between non-
Linear transformation problem, so that measurand one frequency curve of sensor does not reaches initial design requirement, and quilt
Survey physical quantity one frequency curve the most not possess and be automatically adjusted and debugging functions.In sensor production, in order to improve efficiency, fall
Low cost, first can only first be entered elements such as needing vibration inductance (electric capacity) device used in frequency-conversion circuit by workman
Pedestrian's work is mated, to obtain the elements such as vibration inductance (electric capacity) device of different technologies parameter area;The most again at sensor
During assembling, carry out the most reasonably combined use according to the technical parameter that vibration inductance (electric capacity) device is different, with
Just the main technique requirements of sensor is reached.But this production method needs multiple tracks work in the whole production process of sensor
Sequence, sensor production out also needs to repeatedly debug afterwards.Even if but through so many most loaded down with trivial details but also time-consuming
Operation after, the first-time qualification rate of product sensor is the highest by also only about 50%.Underproof product then needs
It is the most all taken apart, then carries out two selective methods matching, again re-assembly, finally continue to start debugging, week and
Renew until production debugging is qualified.The production efficiency of product sensor is so greatly reduced, also add simultaneously
The production cost of product.
In order to solve above-mentioned distinct issues spy, the present invention is proposed.Invent a kind of rate-adaptive pacemaker class sensor automatic frequency to mend
Repaying circuit and method, this method need not mate the elements such as vibration inductance (electric capacity) device, and product only need to be carried out
Once debug, and product one-time success rate reaches more than 99%.Thus significantly improve the production efficiency of product, fall
Low production cost, improve the qualification rate of product.
Summary of the invention
It is an object of the invention to the problem for above-mentioned existence, invent a kind of rate-adaptive pacemaker class sensor automatic frequency compensation
Circuit and method.Solve measurand one frequency curve that sensor in background technology exists to regulate and revise and ask
Topic, compensate for that conforming product rate is low, the high and inefficient defect of production cost.
The technical scheme realizing the object of the invention is: a kind of rate-adaptive pacemaker class sensor automatic frequency compensation circuit and method,
Its circuit includes micro-control unit, memory cell, debugging on-off circuit, frequency transformation single circuit and signal output port.
The present invention is first obtained a standard relationship curve between measurand and frequency by laboratory test, and by this song
Line is divided into 256 sections so that form relation one to one between sensor measurand and output frequency point, finally
The frequency values of 256 measurands and correspondence is charged in form, and the data storage in criteria table is solidificated in micro-
In memorizer in control unit.
When the present invention is debugged, the measurand corresponding to inventive sensor is initially increased to from minima
Maximum, the frequency values of the output of the conversion of the micro-control unit Real-time Collection frequency-conversion circuit of the present invention in the present invention simultaneously,
Thus obtain the measurand one frequency change that a real sensor measurand is changed by minima to maximum
Curve, then this curve segmentation is become 256 sections, it is stored among the memory cell of the present invention.Last again by each actual quilt
The parameter surveying physical quantity one Frequency point contrasts with standard measurand one Frequency point parameter, obtains each corresponding point
Error.During 256 error amounts charge to the memory cell of the present invention the most at last.When using the present invention, micro-control unit
First measure the frequency values obtained corresponding to current measurand signal, signal frequency reality measured the most again and debugging
Time the error frequency of corresponding point that is stored in memory cell of the present invention be added, obtain the actual frequency that should export, and
Produced corresponding output frequency signal by micro-control unit of the present invention, thus obtain the frequency after the present invention compensates automatically
Signal.
Finally achieve and need not before element uses, component parameters be mated in the production process of the present invention, and only
Primary production debugging need to be carried out, thus reach improve work efficiency, conforming product rate and reduce the purpose of production cost.
Accompanying drawing explanation
Fig. 1 is that rate-adaptive pacemaker class sensor automatic frequency compensation circuit of the present invention connects block diagram;
Fig. 2 is rate-adaptive pacemaker class sensor measurand one frequency weighting curve schematic diagram of the present invention;
Fig. 3 is rate-adaptive pacemaker class sensor automatic frequency compensation circuit micro-control unit workflow diagram of the present invention.
Detailed description of the invention
Be clearly understood to make present disclosure be easier to, below in conjunction with the accompanying drawings, embodiment of the present invention is made into
One step detailed description.The present embodiment explanation as a example by measuring liquid level.
The rate-adaptive pacemaker class sensor that the embodiment of the present invention provides obtains the actual frequency before frequency compensation by frequency-conversion circuit
Rate, after the compensation of adjustment automatically of micro-control unit, the frequency after output compensation.
Circuit connects block diagram as shown in Figure 1, when micro-control unit 1 is carried out software programming, first solidifies mark in a program
Quasi-frequency curve f2The data segment of 256.When the present invention debugs, it is first turned on debugging on-off circuit 3, by tested
Physical quantity starts to change to maximum from minima, and micro-control unit 1 starts to gather is changed output by frequency-conversion circuit 4
Frequency signal, and be stored in memory cell 2.After measurand changes to maximum, utilize microcontroller list
The outside input interrupt function of unit 1, terminates the measurement work of frequency, obtains the actual frequency curve f measured1.Then
By actual frequency curve f1Data value and micro-control unit 1 program in the standard frequency curve f of solidification2Respective frequencies point
Data compare, and obtain measurand one frequency error signal Δ f, and by measurand one frequency error signal
Pointwise is stored in memory cell 2.Debugging on-off circuit 3 is closed after having debugged.
When the present invention works, micro-control unit 1 first measures the output signal frequency of frequency-conversion circuit 4, the most again with
In memory cell 2, measurand one frequency error signal of corresponding point is added, thus obtains the actual signal that should export
Frequency f, it may be assumed that f=f1+ Δ f, micro-control unit 1 produces required frequency f signal and is exported by signal output port.
Realize measurand one frequency compensation function.
In the frequency weighting curve schematic diagram of measurand one shown in Fig. 2, curve 1 records measurand one for laboratory
Frequency relation standard curve.When the frequency that the present invention is actually measured is higher, i.e. in figure shown in curve 2.Now by curve
1 256 sections divided with actual measurement profile 2 compare, and obtain every section of error frequency Δ f4, this error amount is negative value.
And the data of each point are stored in memory cell 2.When the present invention begins to use, micro-control unit 1 is by measurement
Actual frequency are added with the error frequency of corresponding point, obtain the signal frequency that should export, and required by micro-control unit output
Frequency signal.When the frequency that the present invention is actually measured is on the low side, i.e. in figure shown in curve 3.Now by curve 1 with real
Border experiment curv 3 points 256 sections compares, and obtains every section of error frequency Δ f4, this error be on the occasion of.And by each point
Data be stored in memory cell 2.When the present invention begins to use, micro-control unit 1 by measure frequency with corresponding
The error frequency of point is added, and obtains the signal frequency that should export, and the frequency signal needed for being exported by micro-control unit.
The software workflow of micro-control unit is as shown in Figure 3 in the present invention.When the present invention works, first judge that debugging is opened
Closing whether circuit 3 closes, when the switch is closed, micro-control unit 1 starts to gather measurand by minima to maximum
Frequency signal obtained by value change, and compare with the standard frequency curve signal that was originally cured in software, work as reality
Border measure frequency higher time, error frequency is negative value, when actual measurement frequency is on the low side, error frequency be on the occasion of.Finally
By 256 frequency bands, error signal pointwise is stored in memory cell 2.When debugging on-off circuit 3 and disconnecting, this
Bright for normal operating conditions, micro-control unit 1 is first measured currently practical output frequency value, and is looked for according to corresponding frequency values
To the frequency error of corresponding point, both are added, it may be assumed that f=f1+Δf.Last by micro-control unit 1 basis
Frequency after compensation, produces frequency signal output.
Particular embodiments described above, has been carried out the purpose of the present invention, technical scheme and beneficial effect the most in detail
Illustrate, be it should be understood that and the foregoing is only presently preferred embodiments of the present invention, be not limited to the present invention,
All within the spirit and principles in the present invention, any modification, equivalent substitution and improvement etc. done, should be included in this
Within bright protection domain.
Claims (1)
1. a rate-adaptive pacemaker class sensor automatic frequency compensation method, it is characterised in that comprise the steps:
(1.) debugging step, the now conducting of debugging on-off circuit
(1) actual measurand frequency curve is measured: changed by minima to maximum by measurand, frequency-conversion circuit produces the signal that frequency changes with measurand change, and output signal is delivered to micro-control unit, measure the output signal frequency f of frequency-conversion circuit1, and this curve is divided into 256 sections;
(2) standard measurand frequency curve: standard measurand frequency curve can be arbitrarily set by software in micro-control unit, and be divided into 256 sections;
(3) error measurand frequency is calculated: actual measurand frequency f that will measure1Pointwise and standard measurand frequency f in micro-control unit program2Compare, obtain error measurand frequency: △ f=f2-f1;
(4) error information storage: the error measurand frequency error signal pointwise of gained is charged in memory cell;
(2.) using step, now debugging on-off circuit disconnects
(1) actual frequency are measured: changed by minima to maximum by measurand, and the frequency-conversion circuit generation output signal that changes with measurand of frequency also delivers to micro-control unit, measures the output signal frequency f of frequency-conversion circuit1';
(2) micro-control unit is according to measured actual frequency f1' be added with the error measurand frequency △ f in memory cell, it may be assumed that f=f1'+△ f, thus obtaining actual signal frequency f that should export, micro-control unit produces required frequency f signal and exports, it is achieved measurand frequency compensation function.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210489245.6A CN103837170B (en) | 2012-11-28 | 2012-11-28 | Rate-adaptive pacemaker class sensor automatic frequency compensation circuit and method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210489245.6A CN103837170B (en) | 2012-11-28 | 2012-11-28 | Rate-adaptive pacemaker class sensor automatic frequency compensation circuit and method |
Publications (2)
Publication Number | Publication Date |
---|---|
CN103837170A CN103837170A (en) | 2014-06-04 |
CN103837170B true CN103837170B (en) | 2016-08-10 |
Family
ID=50800897
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201210489245.6A Active CN103837170B (en) | 2012-11-28 | 2012-11-28 | Rate-adaptive pacemaker class sensor automatic frequency compensation circuit and method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103837170B (en) |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106933263A (en) * | 2017-03-16 | 2017-07-07 | 四川森迪科技发展股份有限公司 | A kind of cattle breeding automatic water-feeding device is with low interference automatic water supplementation control system |
CN109217821B (en) * | 2017-07-03 | 2024-02-09 | 中兴通讯股份有限公司 | Frequency device compensation method, device and system and computer readable storage medium |
CN111551771A (en) * | 2020-04-02 | 2020-08-18 | 垣矽技术(青岛)有限公司 | IF chip and digital compensation method thereof |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN2036657U (en) * | 1988-09-19 | 1989-04-26 | 第二汽车制造厂 | Single-board microcomputer type multipoint universal micrometer |
CN2570782Y (en) * | 2002-09-27 | 2003-09-03 | 北京农业信息技术研究中心 | Intelligent humiture self-compensation sensing transducer |
CN200986461Y (en) * | 2006-07-28 | 2007-12-05 | 华南农业大学 | Intelligent capacitance type liquid level measuring apparatus |
CN101201365A (en) * | 2007-07-13 | 2008-06-18 | 北京工业大学 | System and method for measuring and analyzing voltage frequency |
CN201130046Y (en) * | 2007-12-18 | 2008-10-08 | 昆山双桥传感器测控技术有限公司 | Wave collecting instrument |
CN102195562A (en) * | 2010-03-01 | 2011-09-21 | 精工爱普生株式会社 | Oscillation circuit and frequency-correcting oscillation circuit |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US9036031B2 (en) * | 2010-12-23 | 2015-05-19 | Samsung Electronics Co., Ltd. | Digital image stabilization method with adaptive filtering |
US8711974B2 (en) * | 2011-05-06 | 2014-04-29 | The Aerospace Corporation | Systems and methods for mitigating spectral regrowth from non-linear systems |
-
2012
- 2012-11-28 CN CN201210489245.6A patent/CN103837170B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN2036657U (en) * | 1988-09-19 | 1989-04-26 | 第二汽车制造厂 | Single-board microcomputer type multipoint universal micrometer |
CN2570782Y (en) * | 2002-09-27 | 2003-09-03 | 北京农业信息技术研究中心 | Intelligent humiture self-compensation sensing transducer |
CN200986461Y (en) * | 2006-07-28 | 2007-12-05 | 华南农业大学 | Intelligent capacitance type liquid level measuring apparatus |
CN101201365A (en) * | 2007-07-13 | 2008-06-18 | 北京工业大学 | System and method for measuring and analyzing voltage frequency |
CN201130046Y (en) * | 2007-12-18 | 2008-10-08 | 昆山双桥传感器测控技术有限公司 | Wave collecting instrument |
CN102195562A (en) * | 2010-03-01 | 2011-09-21 | 精工爱普生株式会社 | Oscillation circuit and frequency-correcting oscillation circuit |
Also Published As
Publication number | Publication date |
---|---|
CN103837170A (en) | 2014-06-04 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107037313B (en) | The method for establishing deformation of transformer winding failure Yu frequency sweep impedance characteristic corresponding relationship | |
CN104090223B (en) | The verification platform and method of testing of field-effect transistor SOA curves | |
CN104808168B (en) | A kind of electric energy meter fast calibration method based on segmented current technology | |
CN107085148B (en) | A kind of online tolerance method for early warning and device of shunt capacitor group | |
CN107121609A (en) | A kind of electric network impedance on-line identification method and device that injection is disturbed based on PRBS | |
CN103235188B (en) | A kind of on-line measurement and the method predicting Switching Power Supply capacitor ESR value | |
CN103698695A (en) | Multifunctional electrical characteristic testing device and testing method for high-voltage circuit breaker | |
CN105425156A (en) | Cycle life testing method for power battery | |
CN103543329B (en) | A kind of high energy consumption smelting system electric energy loss measuring method | |
CN101441231A (en) | Harmonic electric energy metering error analytical apparatus | |
CN103837170B (en) | Rate-adaptive pacemaker class sensor automatic frequency compensation circuit and method | |
CN103424734A (en) | On-line calibration method of electronic watt-hour meter | |
CN104236893A (en) | Performance parameter test system and performance parameter test method of hydraulic damper | |
CN106772208A (en) | A kind of integrated reliability testing platform of single three-phase meter | |
CN105467355A (en) | Automatic testing method of electric energy meter and automatic testing device of same | |
CN204030697U (en) | Based on the battery management system of dynamic SOC estimating system | |
CN103592531A (en) | Method and system for detecting parameters of wind power plant static var generator | |
CN203502555U (en) | Electrical characteristic detecting device for multifunctional high-voltage circuit breaker | |
CN202522693U (en) | Device for detecting measure accuracy degree of electric energy meter | |
CN204287445U (en) | For the cell degradation detector of battery cell | |
CN207472983U (en) | A kind of electric network impedance on-line identification device based on PRBS disturbance injections | |
CN110098610B (en) | Real-time identification method and system for oscillation leading mode of power system under fault disturbance | |
CN102539986A (en) | Method for improving production efficiency of compensation type crystal oscillator | |
CN105093161A (en) | Gateway electric energy meter online replacing mode electric quantity loss compensation metering system | |
CN205049724U (en) | Sky device is put to electric current of transformer core earth current on -line monitoring equipment |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant | ||
TR01 | Transfer of patent right | ||
TR01 | Transfer of patent right |
Effective date of registration: 20201224 Address after: Building 7, no.8-2, Dutou street, Daitou Town, Liyang City, Changzhou City, Jiangsu Province Patentee after: Liyang Chang Technology Transfer Center Co.,Ltd. Address before: 213164 Changzhou University, 1 Hu Hu Road, Wujin District, Changzhou, Jiangsu Patentee before: CHANGZHOU University |