CN102628697A - Method for dynamic memory of physical quantity and system thereof - Google Patents

Method for dynamic memory of physical quantity and system thereof Download PDF

Info

Publication number
CN102628697A
CN102628697A CN2011100672236A CN201110067223A CN102628697A CN 102628697 A CN102628697 A CN 102628697A CN 2011100672236 A CN2011100672236 A CN 2011100672236A CN 201110067223 A CN201110067223 A CN 201110067223A CN 102628697 A CN102628697 A CN 102628697A
Authority
CN
China
Prior art keywords
physical quantity
circuit
memory
measurand
output
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN2011100672236A
Other languages
Chinese (zh)
Inventor
杨新华
裴喜平
郝晓弘
李永祥
寇为刚
徐胜
殷玉洋
韩永军
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Lanzhou University of Technology
Original Assignee
Lanzhou University of Technology
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Lanzhou University of Technology filed Critical Lanzhou University of Technology
Priority to CN2011100672236A priority Critical patent/CN102628697A/en
Publication of CN102628697A publication Critical patent/CN102628697A/en
Pending legal-status Critical Current

Links

Images

Abstract

The invention relates to a method for dynamic memory of a physical quantity and a system thereof. The method comprises the following steps that: when a certain physical quantity is detected in a measurement and control system, an indirect physical quantity of the physical quantity is detected and then the detected indirect physical quantity is converted into a detected physical quantity, thereby realizing detection of the physical quantity; the dimension of the obtained detected physical quantity is converted into a voltage signal that is then stored in a memory circuit, wherein the magnitude of the signal is changed in real time according to the dimension and a changing rule of the detected physical quantity, so that dynamic memory is realized. A signal acquisition circuit in the system collects indirect physical quantities by a sensor; a single-chip microcomputer carries out A/D conversion on the indirect physical quantities and outputs pulse width modulation (PWM) waves after the conversion; an LPF circuit carries out smoothing filtering on the PWM waves; the memory circuit carries out physical quantity dynamic memory according to an output voltage of the LPF circuit; an output circuit is used for carrying out buffer outputting on the output signal by the memory circuit; a reset circuit carries out a reset operation on the memory circuit; and a conversion algorithm converts an indirect physical quantity into a detected physical quantity and then converts the detected physical quantity into PWM waves for outputting.

Description

A kind of physical quantity dynamic memory method and system
Technical field
The present invention relates in the TT&C system detection and dynamic memory to physical quantity.
Background technology
When in some TT&C systems, carrying out the physical quantity detection; Sometimes to run into such a case: because some physical quantity can't directly detect; Need through detecting some specific indirect physical amounts; Realize detection by the indirect physical amount that records through certain conversion then, and disappear for some reason, under the situation that pick-up unit also cut off the power supply for some reason when perhaps indirect physical quantity disappeared in these indirect physical quantitys to measurand; The state of corresponding measurand is remembered before requiring pick-up unit to disappear to the indirect physical amount timely; Because these physical quantitys decay according to certain rules often, therefore require memory capacitance also will promptly carry out dynamic memory according to same rule decay.Such as in the digital control system of motor; Thermal capacity is an important control foundation; And thermal capacity can't directly detect; Need be through electric current being detected and then obtains thermal capacity value; And after motor outage, can carry out dynamic memory (motor outage back thermal capacity is along with the time dynamic attenuation) to thermal capacity value when perhaps motor and testing circuit cut off the power supply simultaneously, so that controller can rationally be controlled motor according to the preceding thermal capacity value that cuts off the power supply when next motor and testing circuit power on.
Summary of the invention
The purpose of this invention is to provide a kind of physical quantity dynamic memory method and system.
The present invention is a kind of physical quantity dynamic memory method and system, and its method comprises:
When (1) in TT&C system, detecting a certain physical quantity,, can convert the indirect physical amount that detection obtains into measurand then, realize the detection of physical quantity with this through detecting the indirect physical amount of this physical quantity of reflection if this physical quantity can't directly obtain;
(2) become voltage signal in memory circuit, to store the measurand size conversion that obtains, the size of this voltage signal is according to the size and the Changing Pattern real-time change of measurand, with the dynamic memory of this physical quantity that realizes directly obtaining.
Realize the system of the above physical quantity dynamic memory method, this system by the signal acquisition circuit that is used for signals collecting 1, be used to carry out that algorithm is realized and the single-chip microcomputer 2 of control, be used for the PWM ripple of single-chip microcomputer 2 outputs is carried out the LPF circuit 3 of LPF, the memory circuit 4 that is used to realize the physical quantity dynamic memory, the output circuit 5 that is used for the output signal is cushioned, is used for the reset reset circuit 6 of control, the transfer algorithm 7 that is used for physical quantity is converted to the PWM ripple of memory circuit 4 formed.Wherein signal acquisition circuit 1 passes through sensor acquisition indirect physical amount, and the indirect physical amount signal that collects is nursed one's health; Single-chip microcomputer 2 (including A/D converter) is used for the indirect physical amount that collects is carried out the A/D conversion; Obtain the digital signal of indirect physical amount; Convert the indirect physical amount into need memory measurand through related algorithm in view of the above, and it is exported with the PWM waveshape; The another one effect of single-chip microcomputer 2 is to the memory circuit control that resets; The PWM ripple of 3 pairs of single-chip microcomputers of LPF circuit, 2 outputs carries out smothing filtering; Memory circuit 4 carries out the physical quantity dynamic memory according to the output voltage of LPF circuit 3; Output circuit 5 is used for the output signal of memory circuit 4 is cushioned output; Reset circuit 6 is used under Single-chip Controlling, and memory circuit 4 is carried out reset operation, with the memory circuit original state that obtains to confirm; Transfer algorithm 7 is used for converting the indirect physical amount to measurand, and then converts the output of PWM ripple into.
In the system that the present invention realizes; The output signal is the measurand that needs memory; Export with voltage form; Its size depends on the indirect physical amount that is input among the A/D converter 2-1 that single-chip microcomputer 2 includes, the big or small real-time size variation of following the indirect physical amount of measurand, and then the also real-time variation with the indirect physical amount of the output voltage of output circuit changes.When indirect physical quantity disappears for some reason; When perhaps the power supply of indirect physical amount and testing circuit disappears simultaneously; Before memory circuit 4 in the system of method provided by the invention and realization can disappear the indirect physical amount that time corresponding measurand size memorize, export with voltage form.If the measurand that at this moment memorizes is dynamic change (such as decaying in time according to certain rule); The memory circuit that provides among the present invention can make its output voltage also change according to the size and the Changing Pattern Real-time and Dynamic of measurand, realizes the physical quantity dynamic memory with this.
Description of drawings
Fig. 1 is an one-piece construction synoptic diagram of the present invention, and Fig. 2 is the process synoptic diagram of chip microcontroller PWM ripple.
Embodiment
The present invention is a kind of physical quantity dynamic memory method and system, and its method comprises:
When (1) in TT&C system, detecting a certain physical quantity,, can convert the indirect physical amount that detection obtains into measurand then, realize the detection of physical quantity with this through detecting the indirect physical amount of this physical quantity of reflection if this physical quantity can't directly obtain;
(2) become voltage signal in memory circuit, to store the measurand size conversion that obtains, the size of this voltage signal is according to the size and the Changing Pattern real-time change of measurand, with the dynamic memory of this physical quantity that realizes directly obtaining.
As shown in Figure 1; Realize the system of the above physical quantity dynamic memory method, this system by the signal acquisition circuit that is used for signals collecting 1, be used to carry out that algorithm is realized and the single-chip microcomputer 2 of control, be used for the PWM ripple of single-chip microcomputer 2 outputs is carried out the LPF circuit 3 of LPF, the memory circuit 4 that is used to realize the physical quantity dynamic memory, the output circuit 5 that is used for the output signal is cushioned, is used for the reset reset circuit 6 of control, the transfer algorithm 7 that is used for physical quantity is converted to the PWM ripple of memory circuit 4 formed.Wherein signal acquisition circuit 1 passes through sensor acquisition indirect physical amount, and the indirect physical amount signal that collects is nursed one's health; Single-chip microcomputer 2 (including A/D converter) is used for the indirect physical amount that collects is carried out the A/D conversion; Obtain the digital signal of indirect physical amount; Convert the indirect physical amount into need memory measurand through related algorithm in view of the above, and it is exported with the PWM waveshape; The another one effect of single-chip microcomputer 2 is to the memory circuit control that resets; The PWM ripple of 3 pairs of single-chip microcomputers of LPF circuit, 2 outputs carries out smothing filtering; Memory circuit 4 carries out the physical quantity dynamic memory according to the output voltage of LPF circuit 3; Output circuit 5 is used for the output signal of memory circuit 4 is cushioned output; Reset circuit 6 is used under Single-chip Controlling, and memory circuit 4 is carried out reset operation, with the memory circuit original state that obtains to confirm; Transfer algorithm 7 is used for converting the indirect physical amount to measurand, and then converts the output of PWM ripple into.
The whole system operation principle is following:
In signal acquisition circuit, pass through sensor acquisition indirect physical amount, and the signal that collects is nursed one's health, comprise and amplifying and filtering; Utilize the A/D converter that includes in the single-chip microcomputer that the signal that collects is carried out mould/number conversion; Obtain the digital signal of indirect physical amount; And transformation result carried out digital filtering, to improve data accuracy, then in single-chip microcomputer through certain transformational relation by indirect physical amount acquisition measurand; And convert the measurand that obtains the output of to PWM ripple through transfer algorithm, reflect the size of measurand with the dutycycle of PWM ripple; Control memory circuit after the PWM ripple process low-pass filter filtering of output; Change in voltage through memory circuit is carried out dynamic memory with measurand in memory circuit; And the output of memory circuit is dynamic change in time, simulates the real-time change situation of measurand with this.
Convert the indirect physical amount to measurand; And the transfer algorithm 7 that converts thereof into the output of PWM ripple is realized by following step: the first step; Confirm the relation between measurand and the indirect physical amount, convert the indirect physical amount into measurand (physical relationship between measurand and the indirect physical amount is different and different because of real system); Second step, according to the concrete condition of real system, confirm the variation range of measurand, its maximal value is designated as 1, its corresponding PWM ripple dutycycle is 100%; In the 3rd step, divided by the measurand maximal value, as PWM ripple dutycycle, then its dutycycle is the some values between the 0-100% with its result (its size is between 0-1) with the measurand of measuring a certain moment that obtains; The 4th step is with this dutycycle output PWM ripple.Above algorithm is realized in single-chip microcomputer through program.
Memory circuit resets through monolithic processor controlled reset circuit, and obtaining voltage with this is zero memory circuit original state.Under normal detected state; Regularly memory circuit is carried out refresh operation through single-chip microcomputer with the PWM ripple; Make of the dutycycle dynamic change of the storage voltage of memory circuit with the PWM ripple; Characterize the real-time change of measurand with this, refreshing frequency is then controlled by single-chip microcomputer with requiring according to the characteristic of measured signal, will guarantee at least that generally refreshing frequency is not less than 2 times of measured signal upper cut-off frequency.Indirect physical quantity is disappeared; When perhaps indirect physical amount and testing circuit power supply disappear simultaneously; The size of the measurand that memory element can be corresponding with that time before the disappearance of indirect physical amount in the memory circuit memorizes with the form of voltage on the memory cell, and the voltage on the memory cell can change according to the size and the Changing Pattern Real-time and Dynamic of measurand.
In method provided by the invention, the indirect physical amount can be selected according to concrete application scenario; Through the circuit structure of appropriate design memory circuit, appropriately select circuit parameter, can make the memory characteristic of circuit consistent, thereby satisfy the requirement of the dynamic memory of measurand with different measurand Changing Patterns.When selecting single-chip microcomputer, select to have the single-chip microcomputer of A/D converter, and its A/D converter to there be enough resolution, be convenient programming simultaneously, single-chip microcomputer will include the PWM module.
Method provided by the invention is applied to the dynamic memory of certain physical quantity, and the error maximum is no more than 10%, has obtained satisfied effect, engineering demands.If improve the precision of circuit parameter, system optimizing control can further reduce memory error simultaneously.

Claims (4)

1. one kind is used for physical quantity is carried out the dynamic memory method, the steps include:
When (1) in TT&C system, detecting a certain physical quantity,, can convert the indirect physical amount that detection obtains into measurand then, realize the detection of physical quantity with this through detecting the indirect physical amount of this physical quantity of reflection if this physical quantity can't directly obtain;
(2) become voltage signal in memory circuit, to store the measurand size conversion that obtains, the size of this voltage signal is according to the size and the Changing Pattern real-time change of measurand, with the dynamic memory of this physical quantity that realizes directly obtaining.
2. realize the system of the said physical quantity dynamic memory of claim 1 method, it is characterized in that this system by the signal acquisition circuit that is used for signals collecting (1), be used to carry out that algorithm is realized and the single-chip microcomputer (2) of control, be used for the PWM ripple of single-chip microcomputer (2) output is carried out the LPF circuit (3) of LPF, the memory circuit (4) that is used to realize the physical quantity dynamic memory, the output circuit (5) that is used for the output signal is cushioned, is used for the reset reset circuit (6) of control, the transfer algorithm (7) that is used for physical quantity is converted to the PWM ripple of memory circuit (4) formed; Wherein signal acquisition circuit (1) passes through sensor acquisition indirect physical amount, and the indirect physical amount signal that collects is nursed one's health; Single-chip microcomputer (2) is used for the indirect physical amount that collects is carried out the A/D conversion, obtains the digital signal of indirect physical amount, converts the indirect physical amount into need memory measurand through related algorithm in view of the above, and it is exported with the PWM waveshape; The another one effect of single-chip microcomputer (2) is to the memory circuit control that resets; LPF circuit (3) carries out smothing filtering to the PWM ripple of single-chip microcomputer (2) output; Memory circuit (4) carries out the physical quantity dynamic memory according to the output voltage of LPF circuit (3); Output circuit (5) is used for the output signal of memory circuit (4) is cushioned output; Reset circuit (6) is used under Single-chip Controlling, and memory circuit (4) is carried out reset operation, with the memory circuit original state that obtains to confirm; Transfer algorithm (7) is used for converting the indirect physical amount to measurand, and then converts the output of PWM ripple into.
3. according to the system of the said physical quantity dynamic memory of the described realization of claim 2 claim 1 method; It is characterized in that single-chip microcomputer (2) is according to the indirect physical amount that obtains; At first obtain measurand through transformational relation; Through algorithm and program, the PWM ripple that converts into that measurand is real-time is exported then, and wherein the dutycycle of PWM ripple is proportional to the measurand size; Single-chip microcomputer (2) regularly utilizes the PWM ripple of dutycycle real-time change that memory circuit stored voltage signal is carried out refresh operation according to fixed frequency, the frequency of refresh operation is not less than 2 times of measured signal upper cut-off frequency.
4. according to the system of the said physical quantity dynamic memory of the described realization of claim 2 claim 1 method; It is characterized in that the voltage swing of memory circuit (4) output is controlled by the dutycycle of the PWM ripple of single-chip microcomputer (2) output; And disappear for some reason in the indirect physical amount; Testing circuit also lost under the situation of power supply when perhaps the indirect physical amount disappeared; The memory circuit stored voltage can be represented the dynamic change of the physical quantity of needs memory with this according to the size and the Changing Pattern real-time change of measurand; The dynamic rule that the structure of memory circuit (4) and circuit parameter depend on measurand is as the criterion to reach the memory effect that meets the demands.
CN2011100672236A 2011-03-17 2011-03-17 Method for dynamic memory of physical quantity and system thereof Pending CN102628697A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2011100672236A CN102628697A (en) 2011-03-17 2011-03-17 Method for dynamic memory of physical quantity and system thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2011100672236A CN102628697A (en) 2011-03-17 2011-03-17 Method for dynamic memory of physical quantity and system thereof

Publications (1)

Publication Number Publication Date
CN102628697A true CN102628697A (en) 2012-08-08

Family

ID=46586999

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2011100672236A Pending CN102628697A (en) 2011-03-17 2011-03-17 Method for dynamic memory of physical quantity and system thereof

Country Status (1)

Country Link
CN (1) CN102628697A (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN2047612U (en) * 1988-03-15 1989-11-15 中国人民解放军81869部队 Electroic self-control wire butt welding
US20020067255A1 (en) * 2000-06-28 2002-06-06 Yukihiko Tanizawa Physical-quantity detection sensor
CN1588097A (en) * 2004-09-24 2005-03-02 西安交通大学 Intelligent pulse current multiple parameter digital measurer based on non-linear resistance sheet
CN1602052A (en) * 2004-06-09 2005-03-30 威盛电子股份有限公司 Operation method of image sensing unit and image sensing detector using same
CN101354268A (en) * 2008-09-18 2009-01-28 浙江中控自动化仪表有限公司 Intelligent transmitter and safety device based on monostable circuit
CN201465278U (en) * 2009-08-26 2010-05-12 长沙同盛电子科技有限公司 Remote wireless monitoring system

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN2047612U (en) * 1988-03-15 1989-11-15 中国人民解放军81869部队 Electroic self-control wire butt welding
US20020067255A1 (en) * 2000-06-28 2002-06-06 Yukihiko Tanizawa Physical-quantity detection sensor
CN1602052A (en) * 2004-06-09 2005-03-30 威盛电子股份有限公司 Operation method of image sensing unit and image sensing detector using same
CN1588097A (en) * 2004-09-24 2005-03-02 西安交通大学 Intelligent pulse current multiple parameter digital measurer based on non-linear resistance sheet
CN101354268A (en) * 2008-09-18 2009-01-28 浙江中控自动化仪表有限公司 Intelligent transmitter and safety device based on monostable circuit
CN201465278U (en) * 2009-08-26 2010-05-12 长沙同盛电子科技有限公司 Remote wireless monitoring system

Similar Documents

Publication Publication Date Title
CN104914304B (en) Electric energy accurate measurement method and metering device under a kind of fluctuating load
CN100470207C (en) Low-power consumption two-wire system vortex flowmeter
CN102035455B (en) M/T speed measuring method for frequency converter
CN203519025U (en) High-speed fiber grating demodulation system
CN101881790A (en) Intelligent electric power parameter tester
CN103033675A (en) Alternating current synchronous collecting system and achieving method thereof
CN100385207C (en) Low cost intelligent vortex shedding flowmeter signal processing system based on DSP
CN202661793U (en) Fuzzy-proportion integration differentiation (PID)-based intelligent temperature sensor
CN1104628C (en) Digital signal processing system of vortex street flowmeter
CN102539908B (en) Circuit and method for metering electric power
CN101551678B (en) Rotational speed measuring device
CN204679550U (en) Electric energy accurate measuring device under a kind of fluctuating load
CN102628697A (en) Method for dynamic memory of physical quantity and system thereof
CN201355876Y (en) Power automatic calibration circuit of electromagnetic oven
CN108225599A (en) A kind of super capacitor temp detecting controller
CN202305666U (en) Direct current electric energy meter
CN103063247B (en) A kind of transmission sensors balance midpoint detection method and device
CN101271139B (en) High-precision switching value detecting instrument and detecting method
CN103335778B (en) Diesel engine urea solution pressure sensor
CN102279019A (en) High-power intermediate frequency induction furnace data acquisition and monitoring device
CN205066813U (en) Integrated form data acquisition system
CN204902951U (en) Digital capacitanc level meter based on TDC chip technology
CN105181080B (en) A kind of digitlization capacitive level probe based on TDC chip technology
CN202093091U (en) Circuit for measuring power and ammeter utilizing same
CN204495427U (en) A kind of digital Level meter

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C02 Deemed withdrawal of patent application after publication (patent law 2001)
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20120808