CN102466746A - Method and device for completely displaying column diagram of measured data - Google Patents
Method and device for completely displaying column diagram of measured data Download PDFInfo
- Publication number
- CN102466746A CN102466746A CN2010105347053A CN201010534705A CN102466746A CN 102466746 A CN102466746 A CN 102466746A CN 2010105347053 A CN2010105347053 A CN 2010105347053A CN 201010534705 A CN201010534705 A CN 201010534705A CN 102466746 A CN102466746 A CN 102466746A
- Authority
- CN
- China
- Prior art keywords
- post
- measurement data
- height
- histogram
- value
- 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
Links
Images
Landscapes
- Recording Measured Values (AREA)
Abstract
The invention provides a method and a device for completely displaying a column diagram of measured data. The device comprises a measurement part, a display part, a control part and a storage unit. The method comprises the following steps of: acquiring the measured data and the number of columns of the column diagram; searching the maximum value and the minimum value in the measured data; calculating a stepping value according to the maximum value, the minimum value and the number of the columns; determining a measured data range accommodated by each column according to the stepping value; calculating the number of points of the measured data in each column; calculating the height of each column according to the number of the points of the measured data, and taking a ratio of the width of a column diagram display window to the number of the columns as the width of each column; and drawing and displaying the column diagram according to the widths and the heights of the columns. By the method and the device, an effect of completely displaying the column diagram of the measured data, and the number of the columns of the column diagram can be freely set by a user.
Description
Technical field
The present invention relates to the electric variable field tests, refer more particularly in the electric variable test, be used to show the histogrammic method and apparatus of measurement data.
Background technology
Along with the continuous development of thermometrically technology, the function of various measuring equipments for example in the measuring equipment, can use histogrammic form to show measurement data also in continuous increase.Histogram is the form of a kind of statistics in the mathematics, and the rectangle that histogram does not wait with a plurality of height is represented the distribution situation of measurement data.
In the prior art; Mainly according to mean value in the measurement data and standard deviation structure histogram; Basic composite principle is: at first obtain one group of measurement data; Calculate the mean value and the standard variance value of measurement data; Confirm the number of histogram figure post; And making said number is even number; Confirm the width of each figure post according to the width of display window and the ratio of figure post number; Confirming the data area that each figure post holds according to described mean value and standard variance value, specifically is to confirm like this: confirm the central point of histogram horizontal ordinate, with the corresponding described mean value of this central point; From said central point left first figure post data variation scope be to deduct a said standard variance from said mean value to said mean value; From said central point to the right first figure post data variation scope be to add a said standard variance from said mean value to said mean value, from said central point left the data variation scope of second figure post be to deduct a said standard variance from said mean value to deduct two said standard variances to said mean value, from said central point to the right the data variation scope of second figure post be to add that from said mean value a said standard variance adds two said standard variances to said mean value; From said central point left the data variation scope of the 3rd figure post be to deduct two said standard variances from said mean value to deduct three said standard variances to said mean value; From said central point to the right the data variation scope of the 3rd figure post be to add that from said mean value two said standard variances add three said standard variances to said mean value, by that analogy, take whole said display window up to said histogram figure post.Can find out; In the histogrammic method of above-mentioned drafting; The scope of the measurement data that each histogram figure post holds presents regular the variation, this measurement data that histogram figure post is held is presented the regular value that changes be called step value, and step value of the prior art is exactly said standard variance.
Draw the shortcoming that can find out on the histogrammic method that prior art exists from prior art: one, the prior art histogram shows that the integrality of measurement data is subject to the number of said histogram figure post, lifts a simple instance, if one group of measurement data obtaining is 0,2,5,7,6; The number of the figure of histogram described in display window post is two, and the mean value of these group data is 4, and the standard variance value is 2.4; get standard variance value 2.4 as step value; according to prior art, and the data variation scope of first figure post of said histogram is that the data variation scope of 4 to 1.6, the second figure posts is 4 to 6.4; visible; 2 in the above-mentioned measurement data counted in first figure post, and 5,6 are counted in second figure post, and 0 and 7 then fail is added up demonstration.Two, the number of prior art histogram figure post can only be restricted to even number, otherwise can't confirm the central point of said histogram horizontal ordinate exactly.
Summary of the invention
Technical matters to be solved by this invention is, realize intactly adding up and showing measurement data, and the number of histogram figure post can be by the free requirement of user, and is not limited.
Solve the problems of the technologies described above, the invention provides a kind of real-time histogrammic device of realizing complete statistical measurement data.
The real-time histogrammic device of the complete demonstration measurement data of realization of the present invention comprises a measurement component, a storage unit; A control assembly, a display unit, said measurement component is used to produce measurement data; Described storage unit is used to preserve described measurement data; Described control assembly is used for producing video data according to described measurement data, and described display unit is used to appear described video data; Described display unit comprises a histogram display window; Described control assembly is used to obtain one group of described measurement data, therefrom searches maximal value and minimum value; According to said maximal value and said minimum value and step value of a histogrammic figure post number calculating; According to said step value measurement data is divided into a plurality of data segments, the measurement data scope that corresponding each the said figure post of each said data segment will hold, the height that will hold the figure post that maximum measurement data count is made as and height such as said histogram display window grade; The ratio that height and said maximum measurement data of said histogram display window are counted; As the corresponding height of each measurement point,, confirm the height of each said figure post according to the measure dot number that comprises in the corresponding height of said each measurement point and each the said figure post; The ratio of the number of the width of said display window and said figure post is wide as the post of said figure post, and the height of the last wide and said figure post of post according to said figure post is drawn and is shown histogram.
Solve the problems of the technologies described above, the present invention also provides a kind of real-time histogrammic method that realizes complete statistical measurement data.
The real-time histogrammic method of the complete demonstration measurement data of realization of the present invention may further comprise the steps:
Obtain the number of measurement data and histogrammic figure post;
Search maximal value and minimum value in the measurement data;
Number according to said maximal value, said minimum value and said figure post is calculated a step value;
Confirm the measurement data scope that each said figure post holds according to said step value;
Calculate counting of the interior measurement data of each said figure post;
Calculate the height of each said figure post according to counting of said measurement data, the ratio of the number of the width of histogram display window and said figure post is wide as the post of said figure post;
The height of the wide and said figure post of post of the said figure post of foundation is drawn and is shown histogram.
The said number of obtaining histogram figure post is based on that user's request obtains.
Step value of said calculating is to deduct said minimum value again divided by the number of said histogram figure post with said maximal value.
The height of each said figure post of said calculating is realized through carrying out following steps:
The height that will comprise the figure post that maximum measurement data count is made as and height such as histogram display window grade;
The ratio that height and said maximum measurement data of histogram display window are counted is as the corresponding height of each measurement point;
According to the measure dot number that comprises in the corresponding height of said each measurement point and each the said figure post, confirm the height of each said figure post.
After the histogrammic step of described demonstration,, repaint histogram through a time-delay step.
Said delay time is 1s.
The real-time histogrammic method and apparatus of the complete statistical measurement data of realization of the present invention; Through confirming the method for histogram stepping uniquely and drawing histogrammic step; Can realize intactly adding up and showing the histogram effect of measurement data; And make the number of histogram figure post can be by the free requirement of user, not limited.
Description of drawings
Fig. 1 is that prior art is constructed real-time histogrammic process flow diagram
Fig. 2 is the device synoptic diagram of a preferred embodiment of the present invention
Fig. 3 is the method flow diagram of a preferred embodiment of the present invention
Fig. 4 is the histogram design sketch of a preferred embodiment of the present invention
Embodiment
Below in conjunction with accompanying drawing to a preferred embodiment of the present invention will be described in detail,
With reference to Fig. 2, be a device of the real-time histogrammic preferred embodiment of the complete demonstration measurement data of realization of the present invention, comprise a measurement component 21; 23, one display units 24 of 22, one control assemblies of a storage unit; Said measurement component 21 is used to produce measurement data, and described storage unit 22 is used to preserve described measurement data, and described control assembly 23 is used for according to described measurement data; Produce video data, described display unit 24 is used to appear described video data; Described display unit 24 comprises a histogram display window; Described control assembly 23 is used to obtain one group of described measurement data; The quantity of this group measurement data can be arbitrary number; As long as satisfy the processing power of control assembly 23, from this group measurement data, search maximal value and minimum value, according to said maximal value and said minimum value and step value of a histogrammic figure post number calculating; Concrete computing method are to deduct said minimum value with said maximal value to obtain said step value divided by said figure post number again; According to said step value measurement data is divided into a plurality of data segments, the measurement data scope that corresponding each the said figure post of each said data segment will hold, the height that will hold the figure post that maximum measurement data count is made as and height such as said histogram display window grade; The ratio that height and said maximum measurement data of said histogram display window are counted; As the corresponding height of each measurement point,, confirm the height of each said figure post according to the measure dot number that comprises in the corresponding height of said each measurement point and each the said figure post; The ratio of the number of the width of said display window and said figure post is wide as the post of said figure post, draw according to the height of the wide and said figure post of post of said figure post and to show histogram.
As illustrating, described control assembly can be single-chip microcomputer, CPU or FPGA programmable gate array etc., and the control assembly in this preferred embodiment has adopted CPU to accomplish.
As illustrating, described device can be oscillograph, multimeter, function generator, or the precision digital power supply etc., the device that this preferred embodiment is selected for use is a digital multimeter.
Referring to Fig. 3, be a kind of method of the real-time histogrammic preferred embodiment of the complete demonstration measurement data of realization of the present invention, the method for preferred embodiment may further comprise the steps:
Step S31 obtains the number N of measurement data and histogrammic figure post, and wherein the number of measurement data can be provided with arbitrarily, as long as satisfy the processing power of control assembly, the preferred embodiment of the present invention has been obtained 30 measurement data.The number of said histogram figure post can be set arbitrarily based on user's request.
Step S32 searches maximal value and the minimum value in the measurement data, wherein said search to make in all sorts of ways, such as with relatively the method or the method for statistics etc., this preferred embodiment adopts the method that compares one by one to confirm maximal value and minimum value.
Step S33 calculates a step value STEP according to the number N of said maximal value, said minimum value and said figure post, and wherein said step value equals said maximal value and deducts said minimum value again divided by the number N of said figure post.
Step S34 confirms the measurement data scope that each said figure post holds according to said step value STEP; Wherein, The measurement data scope that said figure post holds can be confirmed in several ways; As in said histogram display window, from left to right or from right to left the measurement data variation range of each said figure post is MIN to MIN+1 * STEP, MIN+1 * STEP to MIN+2 * STEP, MIN+2 * STEP to MIN+3 * STEP..., MIN+ (N-1) * STEP to MAX.Also can not according to from left to right or dextrosinistral rule change in proper order; Can above-mentioned variation range be arranged on arbitrarily on each figure post at random, this preferred embodiment is that to make the measurement data variation range of said figure post be MIN to MIN+1 * STEP, MIN+1 * STEP to MIN+2 * STEP, MIN+2 * STEP to MIN+3 * STEP..., MIN+ (N-1) * STEP to MAX from left to right successively.。
Step S35 calculates counting of the interior measurement data of each said figure post, and just statistics drops on the number of the measurement data in above-mentioned every section measurement data variation range respectively.
Step S36 calculates the height of each said figure post according to counting of said measurement data; The ratio of the number of the width of histogram display window and said figure post is wide as the post of said figure post; The height that wherein calculates each said figure post is that the height that holds the figure post that maximum measurement data count is made as and height such as said histogram display window grade; The ratio that height and said maximum measurement data of said histogram display window are counted; As the corresponding height of each measurement point,, confirm the height of each said figure post according to the measure dot number that comprises in the corresponding height of said each measurement point and each the said figure post.
Step S37 draws according to the height of the wide and said figure post of post of said figure post and shows histogram.
After the histogrammic step of described demonstration,, repaint histogram through a time-delay step S38.
The delay time of this preferred embodiment is 1s, and as illustrating, said delay time can be the random time that can guarantee said control assembly completion structure histogram process.
From the preferred embodiment of the invention, can find out: through confirming the method for histogram stepping uniquely and drawing histogrammic step; Can realize intactly adding up and showing the histogram effect of measurement data; And make the number of histogram figure post can be by the free requirement of user; Not limited, thus the technical matters of prior art solved.
Though described embodiment of the present invention in conjunction with accompanying drawing, those of ordinary skills can make various distortion and modification within the scope of the appended claims.
Claims (7)
1. a real-time histogrammic device of realizing complete demonstration measurement data comprises a measurement component, a display unit, and a control assembly, a storage unit,
Said measurement component is used to produce measurement data,
Described control assembly is used for producing video data according to described measurement data
Described display unit is used to appear described video data
Described storage unit is used to preserve described measurement data
It is characterized in that:
Described display unit comprises a histogram display window,
Described control assembly is used to obtain one group of described measurement data, therefrom searches maximal value and minimum value, according to said maximal value and said minimum value and step value of a histogrammic figure post number calculating,
According to said step value measurement data is divided into a plurality of data segments, the measurement data scope that corresponding each the said figure post of each said data segment will hold,
The height that will hold the figure post that maximum measurement data count is made as and height such as said histogram display window grade; The ratio that height and said maximum measurement data of said histogram display window are counted; As the corresponding height of each measurement point; According to the measure dot number that comprises in the corresponding height of said each measurement point and each the said figure post, confirm the height of each said figure post
The ratio of the number of the width of said display window and said figure post is wide as the post of said figure post, draw according to the height of the wide and said figure post of post of said figure post and to show histogram.
2. a real-time histogrammic method that realizes complete demonstration measurement data is used for the described device of claim 1, it is characterized in that: may further comprise the steps:
Obtain the number of measurement data and histogrammic figure post;
Search maximal value and minimum value in the measurement data;
Number according to said maximal value, said minimum value and said figure post is calculated a step value;
Confirm the measurement data scope that each said figure post holds according to said step value;
Calculate counting of the interior measurement data of each said figure post;
Calculate the height of each said figure post according to counting of said measurement data, the ratio of the number of the width of histogram display window and said figure post is wide as the post of said figure post;
The height of the wide and said figure post of post of the said figure post of foundation is drawn and is shown histogram.
3. method according to claim 2 is characterized in that the said number of obtaining histogram figure post is based on that user's request obtains.
4. method according to claim 3 is characterized in that step value of said calculating is to deduct said minimum value again divided by the number of said histogram figure post with said maximal value.
5. method according to claim 4 is characterized in that the height of each said figure post of said calculating is realized through carrying out following steps:
The height that will comprise the figure post that maximum measurement data count is made as and height such as histogram display window grade;
The ratio that height and said maximum measurement data of histogram display window are counted is as the corresponding height of each measurement point;
According to the measure dot number that comprises in the corresponding height of said each measurement point and each the said figure post, confirm the height of each said figure post.
6. method according to claim 5 is characterized in that: after the histogrammic step of described demonstration, through a time-delay step, repaint histogram.
7. method according to claim 6 is characterized in that: said delay time is 1s.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201010534705.3A CN102466746B (en) | 2010-11-03 | Realize the complete histogrammic method and apparatus showing measurement data |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201010534705.3A CN102466746B (en) | 2010-11-03 | Realize the complete histogrammic method and apparatus showing measurement data |
Publications (2)
Publication Number | Publication Date |
---|---|
CN102466746A true CN102466746A (en) | 2012-05-23 |
CN102466746B CN102466746B (en) | 2016-12-14 |
Family
ID=
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105954557A (en) * | 2016-04-29 | 2016-09-21 | 深圳市鼎阳科技有限公司 | Oscilloscope and method for improving waveform capture rate |
CN109241170A (en) * | 2018-08-21 | 2019-01-18 | 山东电力高等专科学校 | Electric power big data Visual Dynamic adjusts system |
US20220101228A1 (en) * | 2020-03-17 | 2022-03-31 | Freeport-Mcmoran Inc. | Methods and systems for deploying equipment required to meet defined production targets |
CN115797734A (en) * | 2023-02-07 | 2023-03-14 | 慧铁科技有限公司 | Method for representing and processing discrete data of railway train fault form |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS6010180A (en) * | 1983-06-30 | 1985-01-19 | Akai Electric Co Ltd | Frequency analysis display |
US4689615A (en) * | 1983-11-03 | 1987-08-25 | Hi-Speed Checkweigher Co., Inc. | Display of data source trends |
JPH06139096A (en) * | 1992-10-30 | 1994-05-20 | Toshiba Corp | Logic analyzer |
CN1290860A (en) * | 1999-09-14 | 2001-04-11 | 特克特朗尼克公司 | Wave form time calibrating method for digital artefact minimizing in time space distribution measuring results |
CN1463534A (en) * | 2001-05-31 | 2003-12-24 | 松下电器产业株式会社 | Image processing appts. and image processing method |
CN1921634A (en) * | 2005-08-26 | 2007-02-28 | 逐点半导体(上海)有限公司 | Dynamic display device and method for middle data |
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS6010180A (en) * | 1983-06-30 | 1985-01-19 | Akai Electric Co Ltd | Frequency analysis display |
US4689615A (en) * | 1983-11-03 | 1987-08-25 | Hi-Speed Checkweigher Co., Inc. | Display of data source trends |
JPH06139096A (en) * | 1992-10-30 | 1994-05-20 | Toshiba Corp | Logic analyzer |
CN1290860A (en) * | 1999-09-14 | 2001-04-11 | 特克特朗尼克公司 | Wave form time calibrating method for digital artefact minimizing in time space distribution measuring results |
CN1463534A (en) * | 2001-05-31 | 2003-12-24 | 松下电器产业株式会社 | Image processing appts. and image processing method |
CN1921634A (en) * | 2005-08-26 | 2007-02-28 | 逐点半导体(上海)有限公司 | Dynamic display device and method for middle data |
Non-Patent Citations (1)
Title |
---|
上海市质量管理协会: "《质量管理和质量保证 基础知识培训教材 试用本》", 31 December 1997 * |
Cited By (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105954557A (en) * | 2016-04-29 | 2016-09-21 | 深圳市鼎阳科技有限公司 | Oscilloscope and method for improving waveform capture rate |
CN105954557B (en) * | 2016-04-29 | 2018-09-07 | 深圳市鼎阳科技有限公司 | A kind of oscillograph and method improving waveform capture rate |
CN109241170A (en) * | 2018-08-21 | 2019-01-18 | 山东电力高等专科学校 | Electric power big data Visual Dynamic adjusts system |
CN109241170B (en) * | 2018-08-21 | 2020-07-28 | 山东电力高等专科学校 | Power big data visualization dynamic adjustment system |
US20220101228A1 (en) * | 2020-03-17 | 2022-03-31 | Freeport-Mcmoran Inc. | Methods and systems for deploying equipment required to meet defined production targets |
US11836659B2 (en) * | 2020-03-17 | 2023-12-05 | Freeport Mcmoran Inc. | Methods and systems for deploying equipment required to meet defined production targets |
US11847595B2 (en) | 2020-03-17 | 2023-12-19 | Freeport-Mcmoran, Inc. | Methods and systems for deploying equipment required to meet defined production targets |
CN115797734A (en) * | 2023-02-07 | 2023-03-14 | 慧铁科技有限公司 | Method for representing and processing discrete data of railway train fault form |
CN115797734B (en) * | 2023-02-07 | 2023-05-23 | 慧铁科技有限公司 | Method for representing and processing railway train fault form discrete data |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103257259A (en) | Digital oscilloscope comprising multiple data acquisition pathways | |
CN103616652B (en) | Error measurement method, system and application for capacitive voltage divider | |
CN109426655A (en) | Data analysing method, device, electronic equipment and computer readable storage medium | |
CN102539864A (en) | Digital oscilloscope and signal measuring method | |
CN106871837A (en) | Sag measuring method and device | |
Atre et al. | Distinguishing color-octet and color-singlet resonances at the Large Hadron Collider | |
CN202177701U (en) | Device for extracting scintillation pulse information | |
Kang et al. | Experimental study of an active grid-generated shearless mixing layer and comparisons with large-eddy simulation | |
CN102466746A (en) | Method and device for completely displaying column diagram of measured data | |
CN105910622A (en) | System for comprehensive testing of performance of gyro combination and testing method thereof | |
CN113093229A (en) | GNSS measurement precision detector and use method | |
CN106446405A (en) | Integrated circuit device neural network modeling sample selecting method and device | |
CN102466746B (en) | Realize the complete histogrammic method and apparatus showing measurement data | |
US10228397B2 (en) | Apparatus and associated methods for monitoring noise level of a signal | |
CN104300985A (en) | Integral-type AD converting circuit and method based on pulse counting | |
CN106526499A (en) | Highly-stable current source examination method and system | |
CN106027322B (en) | A kind of topological diagram end tree autoplacement method | |
CN114037993B (en) | Substation pointer instrument reading method and device, storage medium and electronic equipment | |
CN108959607A (en) | A kind of mathematical studying investigation apparatus and its investigation method | |
CN214895823U (en) | GNSS measurement accuracy detector | |
CN103473413B (en) | A kind of comparative approach for various a large amount of Mechanics Calculation results | |
CN107478884A (en) | A kind of method and oscillograph of quick display waveform search result | |
CN108120854A (en) | A kind of inertial platform electric signal method for automatic measurement | |
CN105548640A (en) | Simple mixed signal oscilloscope | |
CN109256074A (en) | A kind of brightness of display screen homogeneity test device and its test method |
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 |