CN104330135A - Continuous liquid level simulation emulation method - Google Patents

Continuous liquid level simulation emulation method Download PDF

Info

Publication number
CN104330135A
CN104330135A CN201410575005.7A CN201410575005A CN104330135A CN 104330135 A CN104330135 A CN 104330135A CN 201410575005 A CN201410575005 A CN 201410575005A CN 104330135 A CN104330135 A CN 104330135A
Authority
CN
China
Prior art keywords
liquid level
voltage
data
sensor
triangular wave
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.)
Granted
Application number
CN201410575005.7A
Other languages
Chinese (zh)
Other versions
CN104330135B (en
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.)
Aerospace Long March Launch Vehicle Technology Co Ltd
Beijing Institute of Telemetry Technology
Original Assignee
Aerospace Long March Launch Vehicle Technology Co Ltd
Beijing Institute of Telemetry 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 Aerospace Long March Launch Vehicle Technology Co Ltd, Beijing Institute of Telemetry Technology filed Critical Aerospace Long March Launch Vehicle Technology Co Ltd
Priority to CN201410575005.7A priority Critical patent/CN104330135B/en
Publication of CN104330135A publication Critical patent/CN104330135A/en
Application granted granted Critical
Publication of CN104330135B publication Critical patent/CN104330135B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The invention relates to a continuous liquid level simulation emulation method, which comprises the following steps that (1) parameters of a converter and a liquid level sensor arranged in a storage tank during emulation are set; (2) relationship data between the expected storage tank time t<expected> and the liquid level height H is obtained; (3) a triangular wave feature voltage data Utrag and the linear feature voltage data Uline of the storage tank are calculated; (4) the triangular wave feature voltage data Utrag and the linear feature voltage data Uline obtained through calculation are stored, in addition, the voltage data Utrag and the voltage data Uline are converted into analog voltage to be output to the outside, and meanwhile, the voltage is output to the outside through a network. The method provided by the invention has the advantages that the liquid level height information is converted into the output voltage information of the liquid level sensor converter, triangular wave feature voltage signals and the linear feature voltage signals are output in a simulation emulation way, meanwhile, the synchronous back collection on the output signals can be realized for verifying the accuracy of the output signals, and the problem that the function test cannot be carried out on ground or onboard liquid level processing equipment due to no signal source can be solved.

Description

A kind of liquid level analog simulation method continuously
Technical field
The present invention relates to a kind of continuous liquid level analog simulation method based on capacitance liquid level measuring principle, particularly a kind of method by liquid level convert information being simulation and producing capacitance type sensor transducer output voltage data, belongs to liquid level simulating technical field.
Background technology
At space industry, carrier rocket, performing each time before launch mission, has strict requirement to the test coverage of each system, expects all can to arrive by Complete test the links in each system.Therefore, be related to the continuous level parameter of one of the key parameter of rocket launching success or failure propellant, then for loading system, utilize system all most important.And, a new generation's carrier rocket adopts the continuous level gauging principle of merogenesis condenser type to realize level gauging, be installed on the liquid level change in the merogenesis capacitance level transducer real-time perception tank of tank inside, a road triangular wave characteristic voltage signal and a linear characteristic voltage signal is exported by transducer, be illustrated in figure 1 merogenesis capacitance level transducer output signal schematic diagram, liquid level processor on ground level gauging data processing software and arrow receives two-way voltage signal respectively, carries out processing, calculating propellant liquid level data.Therefore, the original voltage signal that fluid level measuring device exports is tested most important for the examination of liquid level processor on ground level parameter treatment facility and arrow and spreadability.But, the unit test equipment of existing liquid level product is only confined to measure the parameter of sensor, transducer and equipment itself, the voltage signal source of liquid level situation of change when truly can reflect filling or flight can not be provided, be used as liquid level treatment facility on ground and arrow with this and carry out dynamic functon test.Therefore, for equipment relevant to level parameter result in each system can not reach 100% test coverage requirement.Therefore, propose a kind of liquid level analog simulation method based on merogenesis capacitance type liquid level measuring principle to have important practical significance.
Summary of the invention
The object of the invention is to overcome the deficiencies in the prior art, a kind of liquid level analog simulation method is continuously provided, liquid level convert information can be the output voltage information of liquid level sensor transducer by the method, triangular wave characteristic voltage signal and linear voltage can be exported by analog simulation, the synchronous back production to output signal can be realized simultaneously, to verify the accuracy of output signal, solve due to no signal source, the problem of functional test cannot be carried out to liquid level treatment facility on ground or arrow.
Above-mentioned purpose of the present invention is mainly achieved by following technical solution:
A kind of liquid level simulating analogy method continuously, comprises the steps:
Step (one), the parameter of liquid level sensor and transducer in tank when arranging emulation, comprise the setting height(from bottom) H of the merogenesis capacitance level transducer installed in tank 0, liquid level sensor quantity m, i-th liquid level sensor and the i-th+1 liquid level sensor root spacing ξ ithe merogenesis unit number n of (i=1 ~ m-1), i-th liquid level sensor i, merogenesis element length L, interval length δ, transducer export triangular wave characteristic voltage minimum value u tmin, transducer exports triangular wave characteristic voltage maximal value u tmax, transducer linearity voltage minimum u lminwith transducer linearity voltage max u lmax;
Step (two), obtain expecting the time t of tank expectthe relation data of-liquid level H, concrete grammar is as follows:
(1), in read data files tank time m-liquid level original data record, and calculate the time interval △ t of arbitrary neighborhood two original data records;
(2), according to setting expected data time interval △ t expectwith the time interval △ t of adjacent two original data records, determine to need the total line number m in original data record after data inserting record:
M=△ t/ △ t expect;
(3), in step (1) time m-liquid level raw data carry out linear interpolation, formed with △ t expectfor the time t in the time interval expectthe relation data of-liquid level H;
Step (three), the triangular wave characteristic voltage data Utrag calculating tank and linear characteristic voltage data Uline, concrete grammar is as follows:
(1), according to the setting height(from bottom) H of the liquid level sensor in step () 0, liquid level sensor quantity m, i-th liquid level sensor and the i-th+1 liquid level sensor root spacing ξ i(i=1 ~ m-1) carries out segmentation to tank liquid level, and the quantity of segmentation is identical with the radical of sensor, calculates the measurement range of every root sensor respectively, and the measurement range of i-th sensor is [H imin, H imax];
H i min = H 0 + &Sigma; j = 1 i - 1 &xi; j + &Sigma; j = 1 i - 1 ( L + &delta; ) &times; n j - ( i - 1 ) &times; &delta; i > 1 H i max = H 0 + &Sigma; j = 1 i - 1 &xi; j + &Sigma; j = 1 i ( L + &delta; ) &times; n j - i &times; &delta; i > 1 H 1 min = H 0 i = 1 H i max = H 0 + ( L + &delta; ) &times; n 1 - &delta; i = 1 ;
(2), according to the minimum value H of i-th liquid level sensor measurement range in step () 1min, merogenesis element length L, interval length δ calculate the measurement range of each merogenesis unit in every root sensor respectively, in i-th sensor, the measurement range of a kth merogenesis unit is [h ikmin, h ikmax];
h ik min = H i min + &Sigma; k = 1 i - 1 ( L + &delta; ) &times; n j k > 1 h ik max = H i min + &Sigma; k = 1 i - 1 ( L + &delta; ) &times; n j + L k > 1 h i 1 min = H i min k = 1 h i 1 max = H i min + L k = 1 ;
(3), according to the merogenesis unit number n of the liquid level sensor quantity m in step (), i-th liquid level sensor iwith merogenesis element length L, calculate effective level gauging height H effectively:
(4) the linear equation slope K of linear characteristic, is calculated:
(5), according to the slope K value calculated in step (4), linear characteristic linear equation intercept B is calculated:
B=H effectively-K × u lmax
(6), judge whether current level height H is positioned at a wherein sensor measurement scope, if not in the measurement range of any sensor, then triangular wave characteristic output voltage is u tmin, linear characteristic output voltage is a upper time line characteristic output voltage; If current level height H is positioned at wherein i-th sensor measurement scope, then enter step (7);
(7), judge whether current level altitude information H is positioned at the measurement range of one of them merogenesis unit of described i-th sensor measurement scope, if in the measurement range of a not merogenesis unit wherein, then triangular wave characteristic output voltage is a upper moment triangular wave characteristic output voltage, and linear characteristic output voltage is a upper time line characteristic output voltage; If in the measurement range of a kth merogenesis unit wherein, the elevation carrection scope of a described kth merogenesis unit is [h ikmin, h ikmax], then triangular wave characteristic output voltage calculates and enters step (8), and linear characteristic output voltage calculates and enters step (9);
(8), judge that the joint number k that current level is positioned at i-th sensor merogenesis unit is odd number or even number, namely count from sensor base, described merogenesis unit place joint number k is odd number or even number, if k is odd number, then according to the voltage U trag of the triangular wave characteristic of following formulae discovery current level output:
Utrag = H - h ik min L &times; ( u t max - u t min ) + u t min ;
If be even number, then according to the voltage U trag of the triangular wave characteristic of following formulae discovery current level output:
Utrag = u t max - H - h ik min L &times; ( u t max - u t min ) ;
(9), according to K, B value calculated in step (5), according to following formulae discovery current linear characteristic voltage Uline:
Uline = L &times; ( &Sigma; j = 1 i - 1 n j + k - 1 ) + H - h ik min - B K i > 1 Uline = L &times; ( k - 1 ) + H - h ik min - B K i = 1 ;
Step (four), the triangular wave characteristic voltage data Utrag calculated and linear characteristic voltage data Uline to be stored, when receiving startup output order, described voltage data Utrag and Uline is converted to analog voltage outwards export, described voltage data Utrag and Uline is outwards exported by network simultaneously.
In above-mentioned continuous liquid level simulating analogy method, in step (four), described voltage data Utrag and Uline is converted to while analog voltage outwards exports, described analog voltage is gathered and stores, exporting accuracy with verifying voltage.
In above-mentioned continuous liquid level simulating analogy method, expected data time interval △ t described in step (two) expectbe less than the time interval △ t of original data record, and △ t expectfor 10ms-50ms.
In above-mentioned continuous liquid level simulating analogy method, start output order in step (four) and adopt " network startup " pattern, " hardware-initiated " pattern or " manually booting " pattern to send.
The present invention compared with prior art has following beneficial effect:
(1), the present invention is by reading liquid level data file, be the output voltage information of liquid level sensor transducer by liquid level convert information, triangular wave characteristic voltage signal and linear voltage can be exported by analog simulation, the synchronous back production to output signal can be realized simultaneously, to verify the accuracy of output signal, solve due to no signal source, the problem of functional test cannot be carried out to liquid level treatment facility on ground or arrow;
(2), the data source of the continuous liquid level simulating analogy method of the present invention derives from data file, can be according to demand, altitude information in flexible Update Table file, realize under different noise conditions, different filling or under gushing situation and differently to rise, under decline rate, the simulation data of continuous liquid level;
(3), in the present invention's continuous liquid level simulating analogy method, parameter configuration module can according to different tank requirement, the characterisitic parameter of continuous liquid level sensor installation parameter and sensor own is configured, thus realize the continuous liquid level simulating output of different tank, test of many times, applicability is strong, applied range;
(4), the continuous liquid level simulating of the present invention's continuous liquid level simulating analogy method exports and has multiple Starting mode, any one mode all can start the simulation data of continuous liquid level, avoid the failure risk that single start-up mode is brought, improve the reliability started;
(5), the continuous liquid level simulating analogy method of the present invention can provide the simulation data of analog voltage and the network of data to export simultaneously, not only can for providing continuous liquid level simulating voltage source using voltage signal as the external unit of input source, also can for providing continuous liquid level simulating data source by network data as the external system of input source;
(6), the voltage signal of simulation data can carry out back production and store by the continuous liquid level simulating analogy method of the present invention, is conducive to the verification of correctness to output signal.
Accompanying drawing explanation
Fig. 1 is merogenesis capacitance level transducer output signal schematic diagram;
Fig. 2 is liquid level analog simulation method general flow chart of the present invention;
Fig. 3 is optimum configurations schematic diagram of the present invention;
Fig. 4 is the time t that the present invention obtains the tank expected expectthe relation data process flow diagram of-liquid level H;
Fig. 5 is triangular wave characteristic voltage data Utrag and the linear characteristic voltage data Uline process flow diagram that the present invention calculates tank;
Fig. 6 is network startup model process figure of the present invention;
Fig. 7 is the hardware-initiated model process figure of the present invention.
Embodiment
Below in conjunction with accompanying drawing and specific embodiment, the present invention is described in further detail.
The continuous liquid level analog simulation method of the present invention based on merogenesis capacitance type liquid level measuring principle, the liquid level simulating method of to be a kind of by liquid level data transformations be sensor and the triangular wave characteristic voltage signal that transducer exports and linear characteristic voltage signal.The method will include the data file of time and elevation information as master data source, by sensors configured correlation parameter, be voltage by high-degree of conversion, and receiving startup command post-simulation output voltage signal, and voltage signal is carried out synchronous back production, to verify the accuracy of output signal.
If Fig. 2 is liquid level analog simulation method general flow chart of the present invention, be illustrated in figure 3 optimum configurations schematic diagram of the present invention, when arranging emulation, the parameter of liquid level sensor and transducer in corresponding tank, comprises the setting height(from bottom) parameter H of the merogenesis capacitance level transducer installed in tank 0, liquid level sensor quantity m, i-th liquid level sensor and the i-th+1 liquid level sensor root spacing ξ ithe merogenesis unit number n of (i=1 ~ m-1), i-th liquid level sensor i, merogenesis element length parameter L, interval length parameter δ, transducer export triangular wave characteristic voltage minimum value u tmin, transducer exports triangular wave characteristic voltage maximal value u tmax, transducer linearity voltage minimum u lminwith transducer linearity voltage max u lmax.
Above-mentioned parameter can set flexibly according to the design parameter of the merogenesis capacitance level transducer installed in tank, the minimum value u of output voltage in the embodiment of the present invention tmin=0.01V, maximal value u tma=4.8V, linearity voltage minimum u lmin=0.01V, maximal value u lmax=4.8V.
As shown in Figure 2, the continuous liquid level simulating analogy method of the present invention, specifically comprises the steps: step (), obtains the time t of the tank expected expectthe relation data of-liquid level H, is illustrated in figure 4 the time t that the present invention obtains the tank expected expectthe relation data process flow diagram of-liquid level H, concrete grammar is as follows:
(1), in read data files tank time m-liquid level original data record, namely not corresponding in the same time concrete liquid level, and calculate the time interval △ t of arbitrary neighborhood two original data records;
(2), according to setting expected data time interval △ t expectwith the time interval △ t of adjacent two original data records, determine to need the total line number m in original data record after data inserting record:
M=△ t/ △ t expect;
Expected data time interval △ t expectbe less than the time interval △ t of original data record, and △ t expectfor 10ms-50ms.The data interval time △ t expected in the embodiment of the present invention expect=0.01s, m=△ t × 100;
(3), to the time m-liquid level data in step (1) carry out linear interpolation, formed with △ t phase hopefor the time t in the time interval expectthe relation data of-liquid level H, namely with △ t expectfor the not corresponding in the same time liquid level H value in the time interval.
Time in data file, m-altitude information can be modified according to demand, such as, if the voltage signal of desired output has certain noise, when the editor of altitude information, the fluctuation of the altitude information that noise brings should be added, if wish to obtain voltage signal when liquid level gushes, then the general trend of the altitude information edited should progressively be successively decreased.
Step (three), the triangular wave characteristic voltage data Utrag calculating tank and linear characteristic voltage data Uline, be illustrated in figure 5 triangular wave characteristic voltage data Utrag and linear characteristic voltage data Uline process flow diagram that the present invention calculates tank, concrete grammar is as follows:
(1), according to the setting height(from bottom) H of the liquid level sensor in step () 0, liquid level sensor quantity m, i-th liquid level sensor and the i-th+1 liquid level sensor root spacing ξ i(i=1 ~ m-1) carries out segmentation to tank liquid level, and the quantity of segmentation is identical with the radical of sensor, calculates the measurement range of every root sensor respectively, and the measurement range of i-th sensor is [H imin, H imax];
H i min = H 0 + &Sigma; j = 1 i - 1 &xi; j + &Sigma; j = 1 i - 1 ( L + &delta; ) &times; n j - ( i - 1 ) &times; &delta; i > 1 H i max = H 0 + &Sigma; j = 1 i - 1 &xi; j + &Sigma; j = 1 i ( L + &delta; ) &times; n j - i &times; &delta; i > 1 H 1 min = H 0 i = 1 H i max = H 0 + ( L + &delta; ) &times; n 1 - &delta; i = 1 ;
(2), according to the minimum value H of i-th liquid level sensor measurement range in step () 1min, merogenesis element length L, interval length δ calculate the measurement range of each merogenesis unit in every root sensor respectively, in i-th sensor, the measurement range of a kth merogenesis unit is [h ikmin, h ikmax];
h ik min = H i min + &Sigma; k = 1 i - 1 ( L + &delta; ) &times; n j k > 1 h ik max = H i min + &Sigma; k = 1 i - 1 ( L + &delta; ) &times; n j + L k > 1 h i 1 min = H i min k = 1 h i 1 max = H i min + L k = 1 ;
(3), according to the merogenesis unit number n of the liquid level sensor quantity m in step (), i-th liquid level sensor iwith merogenesis element length L, calculate effective level gauging height H effectively:
(4) the linear equation slope K of linear characteristic, is calculated:
(5), according to the slope K value calculated in step (4), linear characteristic linear equation intercept B is calculated:
B=H effectively-K × u lmax;
(6), judge whether current level height H is positioned at a wherein sensor measurement scope, if not in the measurement range of any sensor, then triangular wave characteristic output voltage is u tmin, linear characteristic output voltage is a upper time line characteristic output voltage; If current level height H is positioned at wherein i-th sensor measurement scope, then enter step (7);
(7), judge whether current level altitude information H is positioned at the measurement range of one of them merogenesis unit of described i-th sensor measurement scope, if in the measurement range of a not merogenesis unit wherein, then triangular wave characteristic output voltage is a upper moment triangular wave characteristic output voltage, and linear characteristic output voltage is a upper time line characteristic output voltage; If in the measurement range of a kth merogenesis unit wherein, the elevation carrection scope of a described kth merogenesis unit is [h ikmin, h ikmax], then triangular wave characteristic output voltage calculates and enters step (8), and linear characteristic output voltage calculates and enters step (9);
(8), judge that the joint number k that current level is positioned at i-th sensor merogenesis unit is odd number or even number, namely count from sensor base, described merogenesis unit place joint number k is odd number or even number, if k is odd number, then according to the voltage U trag of the triangular wave characteristic of following formulae discovery current level output:
Utrag = H - h ik min L &times; ( u t max - u t min ) + u t min ;
If be even number, then according to the voltage U trag of the triangular wave characteristic of following formulae discovery current level output:
Utrag = u t max - H - h ik min L &times; ( u t max - u t min ) ;
(9), according to K, B value calculated in step (5), according to following formulae discovery current linear characteristic voltage Uline:
Uline = L &times; ( &Sigma; j = 1 i - 1 n j + k - 1 ) + H - h ik min - B K i > 1 Uline = L &times; ( k - 1 ) + H - h ik min - B K i = 1 ;
Step (four), the moment of the triangular wave characteristic voltage data Utrag, linear characteristic voltage data Uline and the correspondence that calculate to be stored, by time and voltage data one_to_one corresponding, when receiving startup output order, using the time zero-bit that this instruction exports as emulation liquid level, triangular wave characteristic voltage data Utrag, linear characteristic voltage data Uline are carried out DA conversion by analog output card, according to the corresponding time, triangular wave characteristic Simulation voltage and linear characteristic emulation voltage is externally exported.Simultaneously by triangular wave characteristic voltage data Utrag and linear characteristic voltage data Uline, according to the communications protocol of regulation, data are sent to external system by udp protocol.
The present invention controls output state by enabled instruction.Pattern that start-up mode comprises " network startup ", " hardware-initiated " pattern and " manually booting " pattern.Three models all can produce " startup " instruction.
Be illustrated in figure 6 network startup model process figure of the present invention; " network startup " pattern adopts the mode receiving external network signal control voltage module and export.Described " network startup " pattern adopts TCP/IP communications protocol and external system to carry out network communication, continuous liquid level software is TCP client, receiving network data is also resolved, when the network instruction be resolved to is for " TRUE ", then control voltage output module and emulated data network output module export, if time " FALSE ", then control imitation voltage output module and emulated data network output module stop exporting.
" hardware-initiated " pattern adopts the external hardware not mode that exports of live contact switching signal control imitation voltage output module and emulated data network output module.Be illustrated in figure 7 the hardware-initiated model process figure of the present invention, " hardware-initiated " simulated implementation step is as follows:
A, timing acquiring external hardware not live contact switching signal.When the signal collected is high level, then think external hardware not live contact switching signal close, if low level, then think external hardware not live contact switching signal disconnect.
B, judge that whether this signal collected is identical with the signal collected last time, if identical, enter next step; Otherwise do not carry out subsequent operation.
If the current signal collected of c is high level, then control voltage output module exports, and when the signal collected if current is low level, then control imitation voltage output module and emulated data network output module stop exporting.
Voltage data Utrag and Uline is converted to while analog voltage outwards exports, and gathers and stores, export accuracy with verifying voltage to analog voltage.
The above; be only the embodiment of the best of the present invention, but protection scope of the present invention is not limited thereto, is anyly familiar with those skilled in the art in the technical scope that the present invention discloses; the change that can expect easily or replacement, all should be encompassed within protection scope of the present invention.
The content be not described in detail in instructions of the present invention belongs to the known technology of professional and technical personnel in the field.

Claims (4)

1. a continuous liquid level simulating analogy method, is characterized in that: comprise the steps:
Step (one), the parameter of liquid level sensor and transducer in tank when arranging emulation, comprise the setting height(from bottom) H of the merogenesis capacitance level transducer installed in tank 0, liquid level sensor quantity m, i-th liquid level sensor and the i-th+1 liquid level sensor root spacing ξ ithe merogenesis unit number n of (i=1 ~ m-1), i-th liquid level sensor i, merogenesis element length L, interval length δ, transducer export triangular wave characteristic voltage minimum value u tmin, transducer exports triangular wave characteristic voltage maximal value u tmax, transducer linearity voltage minimum u lminwith transducer linearity voltage max u lmax;
Step (two), obtain expecting the time t of tank expectthe relation data of-liquid level H, concrete grammar is as follows:
(1), in read data files tank time m-liquid level original data record, and calculate the time interval △ t of arbitrary neighborhood two original data records;
(2), according to setting expected data time interval △ t expectwith the time interval △ t of adjacent two original data records, determine to need the total line number m in original data record after data inserting record:
M=△ t/ △ t expect;
(3), in step (1) time m-liquid level raw data carry out linear interpolation, formed with △ t expectfor the time t in the time interval expectthe relation data of-liquid level H;
Step (three), the triangular wave characteristic voltage data Utrag calculating tank and linear characteristic voltage data Uline, concrete grammar is as follows:
(1), according to the setting height(from bottom) H of the liquid level sensor in step () 0, liquid level sensor quantity m, i-th liquid level sensor and the i-th+1 liquid level sensor root spacing ξ i(i=1 ~ m-1) carries out segmentation to tank liquid level, and the quantity of segmentation is identical with the radical of sensor, calculates the measurement range of every root sensor respectively, and the measurement range of i-th sensor is [H imin, H imax];
H i min = H 0 + &Sigma; j = 1 i - 1 &xi; j + &Sigma; j = 1 i - 1 ( L + &delta; ) &times; n j - ( i - 1 ) &times; &delta; i > 1 H i max = H 0 + &Sigma; j = 1 i - 1 &xi; j + &Sigma; j - 1 i ( L + &delta; ) &times; n j - - i &times; &delta; i > 1 H 1 min = H 0 i = 1 H i max = H 0 + ( L + &delta; ) &times; n 1 - &delta; i = 1 ;
(2), according to the minimum value H of i-th liquid level sensor measurement range in step () 1min, merogenesis element length L, interval length δ calculate the measurement range of each merogenesis unit in every root sensor respectively, in i-th sensor, the measurement range of a kth merogenesis unit is [h ikmin, h ikmax];
h ik min = H i min + &Sigma; k = 1 i - 1 ( L + &delta; ) &times; n j k > 1 h ik max = H i min + &Sigma; k = 1 i - 1 ( L + &delta; ) &times; n j + L k > 1 h i 1 min = H i min k = 1 h i 1 max = H i min + L k = 1 ;
(3), according to the merogenesis unit number n of the liquid level sensor quantity m in step (), i-th liquid level sensor iwith merogenesis element length L, calculate effective level gauging height H effectively:
(4) the linear equation slope K of linear characteristic, is calculated:
(5), according to the slope K value calculated in step (4), linear characteristic linear equation intercept B is calculated:
(6), judge whether current level height H is positioned at a wherein sensor measurement scope, if not in the measurement range of any sensor, then triangular wave characteristic output voltage is u tmin, linear characteristic output voltage is a upper time line characteristic output voltage; If current level height H is positioned at wherein i-th sensor measurement scope, then enter step (7);
(7), judge whether current level altitude information H is positioned at the measurement range of one of them merogenesis unit of described i-th sensor measurement scope, if in the measurement range of a not merogenesis unit wherein, then triangular wave characteristic output voltage is a upper moment triangular wave characteristic output voltage, and linear characteristic output voltage is a upper time line characteristic output voltage; If in the measurement range of a kth merogenesis unit wherein, the elevation carrection scope of a described kth merogenesis unit is [h ikmin, h ikmax], then triangular wave characteristic output voltage calculates and enters step (8), and linear characteristic output voltage calculates and enters step (9);
(8), judge that the joint number k that current level is positioned at i-th sensor merogenesis unit is odd number or even number, namely count from sensor base, described merogenesis unit place joint number k is odd number or even number, if k is odd number, then according to the voltage U trag of the triangular wave characteristic of following formulae discovery current level output:
Utrag = H - h ik min L &times; ( u t max - u t min ) + u t min ;
If be even number, then according to the voltage U trag of the triangular wave characteristic of following formulae discovery current level output:
Utrag = u t max - H - h ik min L &times; ( u t max - u t min ) ;
(9), according to K, B value calculated in step (5), according to following formulae discovery current linear characteristic voltage Uline:
Uline = L &times; ( &Sigma; j = 1 i - 1 n j + k - 1 ) + H - h ik min - B K i > 1 Uline = L &times; ( k - 1 ) + H - h ik min - B K i = 1 ;
Step (four), the triangular wave characteristic voltage data Utrag calculated and linear characteristic voltage data Uline to be stored, when receiving startup output order, described voltage data Utrag and Uline is converted to analog voltage outwards export, described voltage data Utrag and Uline is outwards exported by network simultaneously.
2. the continuous liquid level simulating analogy method of one according to claim 1, it is characterized in that: in described step (four), described voltage data Utrag and Uline is converted to while analog voltage outwards exports, described analog voltage gathered and stores, exporting accuracy with verifying voltage.
3. the continuous liquid level simulating analogy method of one according to claim 1, is characterized in that: expected data time interval △ t described in described step (two) expectbe less than the time interval △ t of original data record, and △ t expectfor 10ms-50ms.
4. the continuous liquid level simulating analogy method of one according to claim 1, is characterized in that: start output order in described step (four) and adopt " network startup " pattern, " hardware-initiated " pattern or " manually booting " pattern to send.
CN201410575005.7A 2014-10-23 2014-10-23 A kind of continuous liquid level analog simulation method Active CN104330135B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410575005.7A CN104330135B (en) 2014-10-23 2014-10-23 A kind of continuous liquid level analog simulation method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410575005.7A CN104330135B (en) 2014-10-23 2014-10-23 A kind of continuous liquid level analog simulation method

Publications (2)

Publication Number Publication Date
CN104330135A true CN104330135A (en) 2015-02-04
CN104330135B CN104330135B (en) 2017-09-29

Family

ID=52404905

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410575005.7A Active CN104330135B (en) 2014-10-23 2014-10-23 A kind of continuous liquid level analog simulation method

Country Status (1)

Country Link
CN (1) CN104330135B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107246899A (en) * 2017-07-11 2017-10-13 西安航天动力试验技术研究所 A kind of triangular wave altitude signal processing method and system
CN109470338A (en) * 2018-12-28 2019-03-15 潍柴动力股份有限公司 A kind of urea box liquid level scaling method and device
CN112798077A (en) * 2020-12-29 2021-05-14 北京金迈捷科技有限公司 Liquid level height analysis method, device, equipment, storage medium and system

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS63292022A (en) * 1987-05-26 1988-11-29 Toyoda Gosei Co Ltd Liquid level gage
CN1651872A (en) * 2004-02-02 2005-08-10 戴烨 Three-parameter integration capacitance sensor for automobile fuel oil meter
CN102128662A (en) * 2010-12-31 2011-07-20 北京遥测技术研究所 Segmental capacitor type continuous liquid level sensor
CN102288259A (en) * 2011-05-13 2011-12-21 嘉兴学院 Segmentation capacitance type liquid level sensor and liquid level measurement method thereof

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS63292022A (en) * 1987-05-26 1988-11-29 Toyoda Gosei Co Ltd Liquid level gage
CN1651872A (en) * 2004-02-02 2005-08-10 戴烨 Three-parameter integration capacitance sensor for automobile fuel oil meter
CN102128662A (en) * 2010-12-31 2011-07-20 北京遥测技术研究所 Segmental capacitor type continuous liquid level sensor
CN102288259A (en) * 2011-05-13 2011-12-21 嘉兴学院 Segmentation capacitance type liquid level sensor and liquid level measurement method thereof

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
蒋伟: "运载火箭推进剂利用系统数字化建模与仿真", 《中国优秀硕士学位论文全文数据库 工程科技Ⅱ辑》 *

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107246899A (en) * 2017-07-11 2017-10-13 西安航天动力试验技术研究所 A kind of triangular wave altitude signal processing method and system
CN109470338A (en) * 2018-12-28 2019-03-15 潍柴动力股份有限公司 A kind of urea box liquid level scaling method and device
CN112798077A (en) * 2020-12-29 2021-05-14 北京金迈捷科技有限公司 Liquid level height analysis method, device, equipment, storage medium and system
CN112798077B (en) * 2020-12-29 2023-04-07 北京金迈捷科技股份有限公司 Liquid level height analysis method, device, equipment, storage medium and system

Also Published As

Publication number Publication date
CN104330135B (en) 2017-09-29

Similar Documents

Publication Publication Date Title
CN103746882B (en) The method of intelligent substation station level test
CN104330135A (en) Continuous liquid level simulation emulation method
CN102650966A (en) Multiplexing-oriented embedded software testing method and system
CN105044613A (en) High-fidelity satellite load scene reproduction device and method
CN105182796A (en) Grid access simulation test system for inverter
CN109190320A (en) Parallel Heterogeneous simulation method suitable for ADPSS double-fed blower closed-loop test
CN104391177B (en) EMUs side harmonics test system and method
CN102970180A (en) Real-time simulation method of communication delay of wide area measurement system of electric power system
CN109799373A (en) The arbitrary waveform generator for having multi-channel synchronous function
CN105989206B (en) Wind power plant and photovoltaic plant model verification method based on fast reaction generator
CN106253306A (en) A kind of power plant AVC control sub-station emulation mode
CN112799373A (en) New energy power station power control system test platform and method
CN106597159A (en) Automobile electrical equipment aging durability testing device and method
CN106054000A (en) Interval merging unit power factor angle consistency on-site test system and method
CN109491854A (en) A kind of SoC prototype verification method based on FPGA
CN115358079B (en) Construction method and impedance characteristic evaluation method of real-time simulation model of wind power station
CN108051682B (en) Verification method of single-phase rectifier system impedance model
CN108233356A (en) A kind of photovoltaic DC-to-AC converter controller method for assessing consistency and its Evaluation Platform
CN105785085A (en) Merging unit detection analog source based on synchronous clock signal, and output method thereof
CN105404275A (en) Automatic detection system and detection method of satellite control testing equipment
CN106897114B (en) A kind of digital analog interface and its driving method of the real-time simulator based on FPGA
CN103954924A (en) Measuring device and method for measurement errors of electric measurement meter in frequency fluctuation process
CN113360328A (en) Digital-analog hybrid simulation interface test platform based on multiple real-time simulators
CN203981791U (en) Instrument transformer transient characteristic proving installation based on Luo-coil Digital Simulation
CN103473401A (en) Wind turbine model based on PSASP (power system analysis software package) and power disturbance simulation validation method thereof

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant