Measuring device with a display memory having memory cells with a reduced number of bits and a corresponding method
09672794 ยท 2017-06-06
Assignee
Inventors
Cpc classification
G09G5/001
PHYSICS
G09G5/393
PHYSICS
G09G5/395
PHYSICS
International classification
G09G5/393
PHYSICS
G01R13/02
PHYSICS
G09G5/395
PHYSICS
G09G3/20
PHYSICS
G09G5/00
PHYSICS
Abstract
A method for reducing a number of bits used for a frequency value of a measuring signal stored in each memory cell of a display memory in a measuring device determines the frequency value in each memory cell by assigning the frequency of sampled values in several measuring portions of a measured signal within an update cycle of the display to a corresponding memory cell. It then displays each pixel of the display with a brightness or a color corresponding to the frequency value in the corresponding memory cell after each update cycle. The determined frequency value is a sum of a first frequency value, which is determined in a number of first measuring portions of the measured signal within the update cycle, and at least one compressed second frequency value, which is determined by compression of a corresponding compressed second frequency value with a compression factor. Each uncompressed second frequency value can be determined in a corresponding part of a number of second measuring portions of the measured signal within the update cycle.
Claims
1. A method for reducing a number of bits used for a frequency value of a measuring signal stored in each memory cell of a display memory in a measuring device, the method comprising the following steps: determining the frequency value in each memory cell by assigning the frequency of sampled values in several measuring portions of a measured signal within an update cycle of the display to a corresponding memory cell; and displaying each pixel of the display with a brightness or a color corresponding to the frequency value in the corresponding memory cell after each update cycle, wherein the determined frequency value is a sum of a first frequency value, which is determined in a number of first measuring portions of the measured signal within the update cycle, and at least one compressed second frequency value, which is determined by compression of a corresponding uncompressed second frequency value with a compression factor and each frequency value stored in the memory cell for display in a corresponding pixel of the display is treated separately.
2. The method according to claim 1, wherein each uncompressed second frequency value is determined in a corresponding part of a number of second measuring portions of the measured signal within the update cycle.
3. The method according to claim 1, wherein the number of second measuring portions for determining each uncompressed second frequency value corresponds to the compression factor.
4. The method according to claim 2, wherein the determination of the first frequency value in each memory cell is performed in all consecutive first measuring portions of the measured signal, which are disposed cyclically with all consecutive second measuring portions of the measured signal, in which the determination of all the at least one uncompressed second frequency value is performed.
5. The method according to claim 1, wherein the number of second measuring portions for determining an uncompressed second frequency value for each memory cell corresponds to the compression factor and is cyclically succeeded by a reduced number of consecutive first measuring portions of the measured signal, in which a part of the first frequency value for each memory cell is determined.
6. The method according to claim 1, wherein a reduced number of consecutive first measuring portions of the measured signal, in which a part of the first frequency value for each memory cell is determined, is equally distributed between the number of second measuring portions for determining an uncompressed second frequency value for each memory cell within one update cycle, which corresponds to the compression factor.
7. The method according to claim 1, wherein the number of the first measuring portions and the number of the second measuring portions within an update cycle is determined cyclically after at least one update cycle.
8. The method according to claim 7, wherein the number of the first measuring portions is increased, if the determined maximum first frequency value of the first frequency values in all memory cells is smaller than the number of the first measuring portions in an actual update cycle.
9. The method according to claim 7, wherein the number of the first measuring portions is decreased, if the determined maximum first frequency value of the first frequency values in all memory cells is equal to or larger than a limit value.
10. The method according to claim 9, wherein if the number of compressed second frequency values within an update cycle results in an integer value plus a fractional value, the compression factor and the number of the second measuring portions to be compressed in the latest compression within one update cycle are increased equally for realizing a fractional value of zero.
11. The method according to claim 1, wherein if the number of measuring portions within an update cycle increases, the number of first measuring portions remains constant in the actual update cycle and in a next update cycle and the number of second measuring portions increases in the actual update cycle.
12. The method according to claim 1, wherein if the number of measuring portions within an update cycle decreases, the number of first measuring portions remains constant in the actual update cycle and in a next update cycles and the number of second measuring portions increases in the actual update cycle.
Description
BRIEF DESCRIPTION OF THE DRAWINGS
(1) Embodiments of the inventive measuring device and the inventive method are described in detail in the following on the basis of the drawings by way of example only. The figures of the drawing show:
(2)
(3)
(4)
(5)
(6)
(7)
(8)
(9)
DETAILED DESCRIPTION OF THE DRAWINGS
(10) The mathematical basics, which are necessary for the understanding of the invention, are explained in detail in the following.
(11) Within one update cycle of the display in total N.sub.Ges measuring portions of a measured signal are acquisitioned, whereby each measuring portion contains at least one approximately similar measuring curve of the periodic measured signal, i.e. a time dependent measuring curve of the periodic measured signal in case of a time domain measuring device and a frequency dependent spectrum of the periodic measured signal in case of a frequency domain measuring device. The in total N.sub.Ges measuring portions comprise according to equation (1) N.sub.unkomp first measuring portions, in which a first frequency value of the sampled values of the measured signal for each memory cell of the display memory is determined, and N.sub.komp second measuring portions, in which at least one second frequency value of the sampled values of the measured signal for each memory cell of the display memory is determined.
N.sub.Ges=N.sub.unkomp+N.sub.komp(1)
(12) In a special case, the measuring curve in each measuring portion of the measured signal within one update cycle is identicali.e. a measured signal without any added noise and without any added sporadic interference signalsresulting in a maximum frequency value in memory cells of the display memory, which correspond to only one pixel within each column in the pixel raster of the display. In this worst case such a memory cell needs a high number of bits for storing the maximum frequency value.
(13) Consequently, the first frequency value in such a memory cell can reach in the worst case the maximum value
(14)
whereby Reclength represents the number of samples within one measuring portion and N.sub.Col represents the number of columns in the display and consequently
(15)
represents the number of sampled values of the measured signal in one column within one measuring portion.
(16) The at least one compressed second frequency value determined for a memory cell of the display memory can be determined by the quotient between the uncompressed second frequency value determined for the corresponding memory cell and the compression factor P.sub.Kompres. In the worst case, the maximum uncompressed second frequency value determined for a memory cell occurs, if in all N.sub.komp second measuring portions of the measured signal within one update cycle a sampled value of the measured signal hit the sampled value range and the time point resp. the frequency bin of the pixel corresponding to the memory cell.
(17) Consequently, according to equation (2) in the worst case, the sum of the maximum first frequency value and the at least one maximum second frequency value stored in one memory cell of the display memory has to be smaller than a value, which can be represented by a data stored in the memory cell and having N.sub.Bits bits.
(18)
(19) In dependency of the given parametersdata length in bits N.sub.Bits of each memory cell in the display memory, number N.sub.Col of columns in the display, number Reclength of sampled values of the measured signal within one measuring portion of the measured signal, total number N.sub.Ges of measuring portions within one update cyclethe number N.sub.unkomp of first measuring portions of the measured signal, the number N.sub.komp of second measuring portions of the measured signal and the compression factor P.sub.Kompres has to be appropriately parameterized in order to fulfill equations (1) and (2).
(20) Simulation studies for the used application have shown that the quotient between the number N.sub.komp of second measuring portions and the compression factor P.sub.Kompres has to have optimally the value 10 according to equation (3) for realizing a realistic image of the statistical distribution of the measured signal.
(21)
(22) For other applications a different value for the quotient could be optimal. To simplify the notation in the following the value 10 is used. Otherwise another value x can be applied.
(23) Thus the second frequency value determined in P.sub.Kompres consecutive second measuring portions has to be compressed in one compression with the compression factor P.sub.Kompres to a compressed second frequency value of one or zero. Consequently, in total 10 compressions have to be performed to determine 10 second compressed frequency values from the 10.Math.P.sub.Kompres second frequency values determined in N.sub.komp second measuring portions of the measured signal.
(24) Taking into account equations (1) to (3) it is thus only necessary to determine the number N.sub.unkomp of first measuring portions of the measured signal once within each update cycle or once within multiple update cycles. The number N.sub.komp of second measuring portions of the measured signal and the compression factor P.sub.Kompres can be derived from the determined number N.sub.unkomp of first measuring portions of the measured signal using equations (1) and (3).
(25) The number N.sub.unkomp of first measuring portions of the measured signal and consequently the number N.sub.komp of second measuring portions of the measured signal and the compression factor P.sub.Kompres has to be adaptively determined in step of one update cycle or multiple update cycles on the basis of the frequency values determined in the actual or in the last update cycle.
(26) If the total number N.sub.Ges of measuring portions of the measured signal within each update cycle remains constant, the parameters N.sub.unkomp, N.sub.komp and P.sub.Kompres have to be determined, as follows:
(27) An increase of the number N.sub.unkomp of first measuring portions of the measured signal has to be performed in the actual update cycle, if the maximum first frequency value determined for all the memory cells of the display memory in the actual update cycle is significantly smaller than the number of first measuring portions, in which the first frequency values for all the memory cells are determined. The number of first measuring portions in the actual update cycle corresponds to the number of bits in each cell of the display memory assigned for storing a maximum occurring first frequency value.
(28) In this case the statistical distribution of the measured signal characterized by the determined first frequency values does not appropriately represent the realistic statistical distribution of the measured signal, because the most part of the frequency values occurs in the second measuring portions of the measured signal and is lost as result of the compression of the second frequency values in the second measuring portions.
(29) The new number N.sub.unkomp.sub._.sub.neu.sub._.sub.Inc of first measuring portions of the measured signal for the next update cycle is determined according to equation (4) by weighting the actual number N.sub.unkomp of first measuring portions of the measured signal with the quotient between the actual number N.sub.unkomp of first measuring portions of the measured signal and the first maximum frequency value N.sub.First.sub._.sub.Max determined for all memory cells in the actual update cycle.
(30)
(31) According to equation (5) the first maximum frequency value N.sub.First.sub._.sub.Max corresponds approximately to the difference between the determined maximum summed frequency value N.sub.Sum.sub._.sub.Max and the maximum second frequency value N.sub.Second.sub._.sub.Max. Hereby the maximum second frequency value N.sub.Second.sub._.sub.Max can be approximated by the fact, that each compressed second frequency value for one memory cell in one update cycle has the value one, which can be modeled by the number of compressions of the at least one uncompressed second frequency values and corresponds to the quotient between the number N.sub.komp of second measuring portions and the compression factor P.sub.Kompres.
(32)
(33) The new number N.sub.komp.sub._.sub.neu.sub._.sub.Inc of second measuring portions of the measured signal can be determined from the determined new number N.sub.unkomp.sub._.sub.neu.sub._.sub.Inc of first measuring portions of the measured signal according to equation (6), which is derived from equation (1).
N.sub.komp.sub._.sub.neu.sub._.sub.Inc=N.sub.GesN.sub.unkomp.sub._.sub.neu.sub._.sub.Inc(6)
(34) The new compression factor P.sub.Kompres.sub._.sub.Neu.sub._.sub.Inc can be determined from the new number N.sub.komp.sub._.sub.neu.sub._.sub.Inc of second measuring portions of the measured signal according to equation (7), which is derived from equation (3).
(35)
(36) Preferably, the new number N.sub.komp.sub._.sub.neu.sub._.sub.Inc of first measuring portions of the measured signal has to be reduced by an appropriately selected tolerance value .sub.unkomp.sub._.sub.neu for avoiding an overflow in the memory cell in case of statistical deviation of the sampled values of the measured signal.
(37) A decrease of the number N.sub.unkomp of first measuring portions of the measured signal has to be performed in the actual update cycle, if the determined maximum first frequency value over all memory cells of the display memory reaches a specific limit value N.sub.First.sub._.sub.Limit, which is reserved for the storage of a first frequency value in a memory cell of the display memory. This limit value N.sub.First.sub._.sub.Limit can be derived from equation (2), if in each first measuring portion of the in total N.sub.unkomp first measuring portions of the measured signal within one update cycle the first frequency value is incremented in the corresponding memory cell, and can be determined according to equation (8).
(38)
(39) In equation (8) a quotient between the number N.sub.komp of second measuring portions and the compression factor P.sub.Kompres having the optimal value 10 according to equation (3) is taken into account. If another integer value x for the quotient between the number N.sub.komp of second measuring portions and the compression factor P.sub.Kompres is used, the value 10 is to be substituted by the value x in equation (8).
(40) If a first frequency value in one of the memory cells reaches the limit value N.sub.First.sub._.sub.Limit according to equation (8), the number of already within the actual update cycle treated first frequency measuring portions of the measured signal is frozen as new decreased number N.sub.unkmp.sub._.sub.neu.sub._.sub.Dec of first measuring portions of the measured signal. The remaining first frequency measuring portions of the measured signal of the update cycle are not considered anymore for the determination of the actual first frequency values. A new decreased number N.sub.unkmp.sub._.sub.neu.sub._.sub.Dec of first measuring portions of the measured signal will result in an increased number N.sub.kmp.sub._.sub.neu.sub._.sub.Dec of second measuring portions of the measured signal according to equation (9), if the total number N.sub.Ges of measuring portions within one update cycle remains constant.
N.sub.kmp.sub._.sub.neu.sub._.sub.Dec=N.sub.unkmp.sub._.sub.neu.sub._.sub.Dec(9)
The new decreased compression factor P.sub.Kompres.sub._.sub.neu.sub._.sub.Dec can be determined from the new decreased number N.sub.kmp.sub._.sub.neu.sub._.sub.Dec of second measuring portions of the measured signal according to equation (10), which is derived from equation (9).
(41)
(42) The increase in the new number N.sub.kmp.sub._.sub.neu.sub._.sub.Dec of second measuring portions of the measured signal can perhaps lead to a new compression factor P.sub.Kompres.sub._.sub.neu.sub._.sub.Dec having a fractional part according to equation (10). In this case 9 compressions are performed with the integer part of the determined new compression factor P.sub.Kompres.sub._.sub.neu.sub._.sub.Dec and the last compression is performed with a new compression factor P.sub.Kompres.sub._.sub.neu.sub._.sub.Dec having an increased value in comparison to the new compression factor P.sub.Kompres.sub._.sub.neu.sub._.sub.Dec according to equation (10). Thus the number of compressions for the compression of the at least one uncompressed second frequency values to the corresponding at least one compressed second frequency valuesi.e. optimally the value 10 or another selected value x for the quotient
(43)
remains constant.
(44) If the total number N.sub.Ges of measuring portions of the measured signal changes between the update cycles, the parameters N.sub.unkomp, N.sub.komp and P.sub.Kompres have to be determined, as follows:
(45) The change of the total number N.sub.Ges of measuring portions of the measured signal does not influence the number N.sub.unkomp of first measuring portions of the measured signal.
(46) In case of an increase of the total number N.sub.Ges of measuring portions of the measured signal more than P.sub.Kompres second measuring portions of the measured signali.e. P.sub.Kompres second measuring portions plus the difference between the total number N.sub.Ges.sub._.sub.Akt of measuring portions in the actual update cycle and the total number N.sub.Ges.sub._.sub.Letzt of measuring portions in the last update cycleare taken into account in the last compression with the compression factor P.sub.Kompres.
(47) In the next update cycle the compression factor P.sub.Kompres is incremented according to equation (11A) or alternatively according to equation (11B):
(48)
(49) In case of a decrease of the total number N.sub.Ges of measuring portions of the measured signal less than P.sub.Kompres second measuring portions of the measured signali.e. P.sub.Kompres second measuring portions minus the difference between the total number N.sub.Ges.sub._.sub.Letzt of measuring portions in the last update cycle and the total number N.sub.Ges.sub._.sub.Akt of measuring portions in the actual update cycleare taken into account in the last compression or in the last compressions with the compression factor P.sub.Kompres.
(50) In the next update cycle the compression factor P.sub.Kompres is decremented according to equation (12A) or alternatively according to equation (12B):
(51)
(52) The determination of the frequency value and the at least one second frequency value, which are stored in each memory cell of the display memory for an update of the corresponding pixel in the display in the following update cycle, can be performed in different timing schemes according to the three embodiments of the invention.
(53) In the first embodiment of the invention the first frequency value for each memory cell is determined in all N.sub.unkomp consecutive first measuring portions of the measured signal, whereas the at least one second frequency value for each memory cell is determined in all N.sub.komp consecutive second measuring portions of the measured signal. The N.sub.unkomp consecutive first measuring portions are disposed in cyclic change with the N.sub.komp consecutive second measuring portions.
(54) A first frequency value for a memory cell can be determined in one of the first measuring portions of the measured signal, until the counted number N.sub.Count of measuring portions of the measured signal within the actual update cycle does not reach the value according to equation (13), which is derived from equation (3).
(55)
(56) In the second embodiment of the invention each second frequency value for each memory cell is determined in the corresponding P.sub.Kompres consecutive second measuring portions of the measured signal, all of which are disposed in equal distance and separated by a reduced number .sub.unkomp of consecutive first measuring portions of the measured signal to the next N.sub.Kompres consecutive second measuring portions of the measured signal resp. to the last P.sub.Kompres consecutive second measuring portions of the measured signal. In the reduced number .sub.unkomp of consecutive first measuring portions of the measured signal a part of the first frequency value is determined. The reduced number .sub.unkomp of consecutive first measuring portions of the measured signal corresponds according to equation (14) to the quotient between the total number N.sub.unkomp of first frequency measuring portions of the measured signal and the number of compressions within one update cycle resp. the number of compressed second frequency values. The number of compressions within one update cycle resp. the number of compressed second frequency values within one update cycle corresponds to the quotient between the number N.sub.komp of second measuring portions and the compression factor P.sub.Kompres.
(57)
(58) Each compressed second frequency value is determined by compression of the corresponding uncompressed second frequency value determined in P.sub.Kompres consecutive second measuring portions with the compression factor P.sub.Kompres and results in a compressed second frequency value of one or zero.
(59) In the third embodiment of the invention each uncompressed second frequency value is determined in P.sub.Kompres second measuring portions of the measured signal within one update cycle, whereby the first frequency value is determined in a reduced number .sub.unkomp of first measuring portions of the measured signal according to equation (13). Both the P.sub.Kompres second measuring portions of the measured signal are not necessarily consecutively disposed to each other and the reduced number .sub.unkomp of first measuring portions of the measured signal are not necessarily consecutively disposed to each other. All the reduced numbered .sub.unkomp of first measuring portions of the measured signal are disposed between the P.sub.Kompres second measuring portions of the measured signal in such a way, that the determination of each compressed second frequency value is distanced from the determination of the neighbored compressed second frequency value by an equal number N.sub.Abstand of measuring portions. This number N.sub.Abstand of measuring portions corresponds according to equation (15) to the sum of the reduced number .sub.unkomp of first measuring portions of the measured signal for determining a first frequency value and the number P.sub.Kompres of second measuring portions of the measured signal for determining one second frequency value.
N.sub.Abstand=.sub.unkomp+P.sub.Kompres(15)
(60) In the following the three embodiments of inventive method for reducing a number of bits used for a frequency value of a measuring signal stored in each memory cell of a display memory in a measuring device is explained in detail on the basis of the flowcharts shown in
(61) In the first method step S10 in
(62) For different values of signal parameters of a measured signal like frequency, amplitude, signal to noise ratio and for the used parameters RecLength, N.sub.Col and N.sub.Bits of the inventive measuring device 1 optimized initial values for the parameters N.sub.Ges, N.sub.uncomp, N.sub.komp and P.sub.Kompres are determined and stored in a data base in the inventive measuring device 1 from the producer of the inventive measuring device 1 shown in
(63) In the next method step S20, a means 3 for determining frequency values determines a first frequency value for each memory cell of the display memory 2 in N.sub.unkomp consecutive first measuring portions of the measured values within one update cycle of the display 4 and stores the determined first frequency value in the corresponding memory cell of the display memory 2. Preferably, the first frequency value for a corresponding memory cell is incremented by the means 3 for determining frequency values in the corresponding memory each time, when the acquisitioned sampled value of the measured signal hit the amplitude value range and the time point resp. the frequency bin of the corresponding memory cell.
(64) Alternatively the first frequency value corresponding to a memory cell of the display memory is incremented each time in a memory cell of a memory within the means 3 for determining frequency values, which is not shown in
(65) In the next method step S30 a first inventive variant determines an uncompressed second frequency value corresponding to each memory cell of the display memory 2 in P.sub.Kompres consecutive second measuring portions of the measured signal. Each time, when a acquisitioned sampled value of the measured signal in one of the P.sub.Kompres consecutive second measuring portions hits the amplitude value range, the time point resp. the frequency bin corresponding to a memory cell of the display memory 2, a corresponding memory cell of a so called compression memory in the means 3 for determining frequency values, which is not shown in
(66) The first inventive variant results in a higher number of bits in each memory cell of the compression memory for storing an uncompressed second frequency value. For reducing the number of bits in each memory cell of the compression memory to one bit a second inventive variant only increases the corresponding memory cell in the compression memory, if a acquisitioned sampled value of the measured signal in one of the P.sub.Kompres consecutive second measuring portions hits the amplitude value range, the time point resp. the frequency bin of the corresponding memory cell and the corresponding cell in the compression memory actually stores the value zero. After P.sub.Kompres consecutive second measuring portions the compressed second frequency value for each memory cell determined in this manner is summed to the corresponding first frequency value in the corresponding memory cell of the display memory 2 and each memory cell of the compression memory in the means 3 for determining frequency values is reset.
(67) The third inventive variant uses the compression memory as bit map, whereby each memory cell of the bit map in the compression memory indicates if the corresponding memory cell in the display memory 2 is already incremented to the value one. If the corresponding memory cell in the bit map contains a value zero in case an acquisitioned sampled value of the measured signal in one of the P.sub.Kompres consecutive second measuring portions hits the amplitude value range, the time point resp. the frequency bin of the corresponding memory cell, the corresponding memory cell in the bit map in the compression memory is set and a value one is summed to the corresponding first frequency value in the corresponding memory cell of the display memory 2. Alternatively if the corresponding memory cell in the bit map contains a value one in case an acquisitioned sampled value of the measured signal in one of the P.sub.Kompres consecutive second measuring portions hits the amplitude value range, the time point resp. the frequency bin of the corresponding memory cell, the corresponding memory cell in the bit map in the compression memory remains set and the content in the corresponding memory cell in the display memory 2 remains. After consecutive second measuring portions each memory cell of the compression memory in the means 3 for determining frequency values is reset.
(68) After in total
(69)
determinations of a uncompressed second frequency value resp. of a compressed second frequency value for each memory cell of the display memory 2 in N.sub.komp consecutive second measuring portions of the measured signal and after in total
(70)
summations of the compressed second frequency value for each memory cell of the display memory 2 to the corresponding first frequency value in the corresponding memory cell of the display memory 2 an update cycle is finished.
(71) The N.sub.komp consecutive second measuring portions of the measured signal succeed the N.sub.unkomp consecutive first measuring portions of the measured values within one update cycle according to
(72) A first frequency value for each memory cell of the display memory 2 can be determined in one of the consecutive first measuring portions of the measured signal, if sampled values of a measured signal are acquisitioned in a number N.sub.Count of first measuring portions counted since the start of the actual update cycle and the counted number N.sub.Count of first measuring portions does not reach the value according to equation (13). The value according to equation (13) designates the number of first measuring portions assigned for the determination of first frequency values within one update cycle.
(73) In the following method step S40 the summed frequency value stored in each memory cell of the display memory 2, which is determined from the sum of the first frequency value and of the at least one second frequency value, is displayed in a corresponding brightness or in a corresponding color in the pixel of the display 4 corresponding to the memory cell of the display memory 2 after one update cycle time. All the memory cells in the display memory 2 and in the memory in the means 3 for determining frequency values are reset for a determination of new frequency values in a new update cycle.
(74) In the following method step S50 the total number N.sub.Ges of measuring portions of the measured signal within one update cycle, the number N.sub.unkomp of first measuring portions of the measured signal within one update cycle, the number N.sub.komp of second measuring portions of the measured signal within one update cycle and the compression factor and P.sub.Kompres are determined for the next update cycle.
(75) In case of an unchanged number N.sub.Ges of measuring portions of the measured signal per update cycle from the actual update cycle to the next update cycle, the number N.sub.unkomp of first measuring portions of the measured signal is increased in the next update cycle, if the determined maximum first frequency value of the first frequency values in all memory cells of the display memory 2 is smaller than the number of the actual first measuring portions. The number of first measuring portions in the actual update cycle corresponds to the number of bits in each cell of the display memory assigned for storing a maximum occurring first frequency value.
(76) In this case the new increased number N.sub.unkomp.sub._.sub.neu.sub._.sub.Inc of first measuring portions of the measured signal in the next update cycle is determined according to equation (4) in combination with equation (5). For avoiding an overflow in the memory cell in case of statistical deviation of the sampled values of the measured signal, the new determined number N.sub.unkomp.sub._.sub.neu.sub._.sub.Inc of first measuring portions of the measured signal has to be reduced by an appropriately selected tolerance value .sub.unkomp.sub._.sub.neu.
(77) The corresponding new number N.sub.komp.sub._.sub.neu.sub._.sub.Inc of second measuring portions of the measured signal in the next update cycle is determined according to equation (6) and the corresponding new compression factor P.sub.Kompres.sub._.sub.Neu.sub._.sub.Inc for the compression of each uncompressed second frequency value is determined according to equation (7).
(78) The number of the first measuring portions is decreased, if the determined maximum first frequency value of the first frequency values in all memory cells of the display memory 2 reaches a limit value N.sub.First.sub._.sub.Limit according to equation (8). In equation (8) a value 10 is used representing a compression of the uncompressed second frequency values with an optimal quotient
(79)
according to equation (3). Instead of an optimal value of 10 an alternative value x can be used for the quotient
(80)
and thus has to be inserted in equation (8) instead of the value 10.
(81) In this case, the number of first frequency measuring portions of the measured signal already treated within the actual update cycle is frozen as new decreased number N.sub.unkmp.sub._.sub.neu.sub._.sub.Dec of first measuring portions of the measured signal for the next update cycle. The remaining first frequency measuring portions of the measured signal of the update cycle are not considered anymore for the determination of the actual first frequency values and instead are taken into account in the determination of the actual second frequency values.
(82) The corresponding new number N.sub.kmp.sub._.sub.neu.sub._.sub.Dec of second measuring portions of the measured signal in the next update cycle is determined according to equation (9) and the corresponding new compression factor P.sub.Kompres.sub._.sub.neu.sub._.sub.Dec for the compression of each uncompressed second frequency value is determined according to equation (10).
(83) The increase in the new number N.sub.kmp.sub._.sub.neu.sub._.sub.Dec of second measuring portions of the measured signal can perhaps lead to a new compression factor P.sub.Kompres.sub._.sub.neu.sub._.sub.Dec having a fractional part according to equation (10). In this case 9 compressions of the optimal 10 compressionsor x1 compressions in case of another selected value x for the quotient
(84)
are performed with the integer part of the determined new compression factor P.sub.Kompres.sub._.sub.neu.sub._.sub.Dec and the last compression is performed with a new compression factor P.sub.Kompres.sub._.sub.neu.sub._.sub.Dec having an increased value in comparison to the new compression factor P.sub.Kompres.sub._.sub.neu.sub._.sub.Dec according to equation (10). Thus the number of compressions for the compression of the at least one uncompressed second frequency values to the corresponding at least one compressed second frequency valuesi.e. optimally the value 10 or another selected value x for the quotient
(85)
remains constant.
(86) In case of a changing total number N.sub.Ges of measuring portions of the measured signal from the actual update cycle to the next update cycle following modifications of the parameters
(87)
and P.sub.Kompres have to be performed in the actual update cycle and in the next update cycle.
(88) In case of an increase of the total number N.sub.Ges of measuring portions of the measured signal more than P.sub.Kompres second measuring portions of the measured signali.e. P.sub.Kompres second measuring portions plus the difference between the total number N.sub.Ges.sub._.sub.Akt of measuring portions in the actual update cycle and the total number N.sub.Ges.sub._.sub.Letzt of measuring portions in the last update cycleare taken into account in the last compression with the compression factor P.sub.Kompres. In the next update cycle the compression factor P.sub.Kompres is incremented according to equation (11).
(89) Alternatively the number N.sub.unkomp of first measuring portions of the measured signal can be increased by a comparable amount for avoiding an increase of the number of second measuring portions of the measured signal in the last compression with the compression factor P.sub.Kompres in the actual update cycle.
(90) In case of a decrease of the total number N.sub.Ges of measuring portions of the measured signal less than P.sub.Kompres second measuring portions of the measured signali.e. P.sub.Kompres second measuring portions minus the difference between the total number N.sub.Ges.sub._.sub.Letzt of measuring portions in the last update cycle and the total number N.sub.Ges.sub._.sub.Akt of measuring portions in the actual update cycleare taken into account in the last compression or in the last compressions with the compression factor P.sub.Kompres in the actual update cycle. In the next update cycle the compression factor P.sub.Kompres is decremented according to equation (12).
(91) Alternatively the number N.sub.unkomp of first measuring portions of the measured signal can be decreased by a comparable amount for avoiding a decrease of the number of second measuring portions of the measured signal in the last compression with the compression factor P.sub.Kompres in the actual update cycle.
(92) An increase or a decrease of the number of second measuring portions of the measured signal in the last compression with the compression factor P.sub.Kompres can be ignored, if the increase or the decrease is beyond a specified upper limit value. Multiple deviations of the number of second measuring portions of the measured signal taking into account the last compression can thus be minimized.
(93) The next method step S60 determines, if the operation of the inventive measuring device 1 is finished by the user. In this case the inventive method ends. In the other case in a new update cycle a first frequency value for each memory cell of the display memory 2 is determined in the reused method step S20 and at least one second frequency value for each memory cell of the display memory 2 is determined in the reused method step S30.
(94) The second embodiment of the inventive method shown in the flowchart of
(95) The method step S110 comprises only a reduced number .sub.unkomp of the in total N.sub.unkomp first measuring portions of the measured signal within one update cycle according to equation (14) for determining a part of the first frequency value for each memory cell of the display memory 2.
(96) In the next method step S120 only one uncompressed second frequency value for each memory cell of the display memory 2 is determined in P.sub.Kompres consecutive second measuring portions of the measured signal by incrementation of a corresponding memory cell of a memory in the means 3 for determining frequency values, which is not shown in
(97) If method step S130 determines that all measuring portions of the measured signal within one update cycle are not yet treated, the method step S110 in sequence with the method step S120 is cyclically repeated
(98)
times in total. Optionally another value x for the quotient
(99)
instead of the value 10 can be selected and is thus within the scope of the invention.
(100) In each repetition of method steps S110 and S120 a part of the first frequency value and a compressed second frequency value for each memory cell is summed to the already determined parts of the first frequency value and the already determined second frequency values both being already stored in the corresponding memory cell for determining the total frequency value for each memory cell in the actual update cycle.
(101) If method step S130 determines that all measuring portions of the measured signal within one update cycle are treated, the display of the total frequency value in each memory cell of the display memory 2 in the corresponding pixel of the display 3 is performed in the next method step S140.
(102)
(103) The better distribution of the first measuring portions over the update cycle in the second embodiment in comparison to the first embodiment results in a more realistic image of the statistical distribution of the sampled values of the measured signal in the display in case of time variant signal characteristics.
(104) The third embodiment of the inventive method in the flowchart of
(105) Method step S210 determines, if the next measuring portion of the measured signal is a first measuring portion.
(106) In case of a first measuring portion of the measured signal in the next method step S220 a part of the first frequency value for each memory cell of the display memory is determined in the first measuring portion and stored in the corresponding memory cell of the display memory 2.
(107) Alternatively, in the next method step S230 a part of at least one second frequency value for each memory cell of the display memory is determined in the second measuring portion and is stored in the corresponding memory cell of the compression memory in the first inventive variant. If at least a part of a second frequency value is already stored in a memory cell of the compression memorydetermined in a formerly performed method step S230the newly determined part of the second frequency value is added to the already stored part of the second frequency value.
(108) In the same method step S230 a counter within the means 3 for determining frequency values which is not shown in
(109) In the second inventive variant each determined second frequency value being one results in an increase of the content in the corresponding memory cell of the compression memory to a value one, if the already stored content in that memory cell has the value zero. The content of that memory cell having already stored a value one remains one, if a second frequency value of one is determined for that memory cell in a first portion of the measured signal.
(110) If the counter reaches in the second inventive variant the value P.sub.Kompres the already compressed second frequency values in all the memory cells of the compression memory are transferred from the compression memory to the display memory 2 and are summed to the already determined part of the corresponding first frequency value. Afterwards the counter and each memory cell in the compression memory are reset for a new compression phase.
(111) In the third inventive variant each determined second frequency value being one results in an increase of the content in the corresponding memory cell of the display memory 2 to a value one, if the corresponding memory cell of the compression memory indicates a value zero in the corresponding memory cell of the display memory 2. If the corresponding memory cell of the compression memory indicates a value one in the corresponding memory cell of the display memory 2, the content in the corresponding memory cell in the display memory 2 remains one in case of a determined second frequency value of one for that memory cell in the display memory 2.
(112) If the counter reaches in the third inventive variant the value P.sub.Kompres, all the bits in the bit map in the compression memory and the counter are reset for a new compression phase.
(113) The next method step S240 determines, if all measuring portions of the actual update cycle are already treated.
(114) If all measuring portions of the measured signal within the actual update cycle are not yet treated, the next performed method step S210 determines, if the next measuring portion is a first measuring portion of the measured signal.
(115) In case of a first measuring portion a next part of the first frequency value for each memory cell of the display memory 2 is determined in the first measuring portion of the measured signal and is summed to the already determined frequency value in the corresponding memory cell in the next method step S220, whereas in case of a second measuring portion a next part of at least one second frequency value for each memory cell of the display memory 2 is determined in the second measuring portion of the measured signal and is summed to the already determined frequency value in the corresponding memory cell in the next method step S230.
(116) If all measuring portions of the measured signal within the actual update cycle are treated, the frequency values in all memory cells of the display memory 2 are displayed in the corresponding pixels of the display 3 in the following method step S250.
(117) In the third embodiment of the inventive method the compressed second frequency value for each memory cell of the display memory 2 is performed in an equal distance of N.sub.Abstand measuring portions of the measured signal as shown in
(118) The better distribution of the first measuring portions over the update cycle also in the third embodiment in comparison to the first embodiment results in a more realistic image of the statistical distribution of the sampled values of the measured signal in the display in case of time variant signal characteristics.
(119) The inventive method and the corresponding inventive measurement device can be used in a so called point-mode, in which the frequency value stored in a memory cell for a display in a corresponding pixel of the display is treated separately.
(120) In the so called line-mode a simultaneous incrementation of the frequency values in several memory cells corresponding to pixels in a horizontal or in a vertical line in the display is performed. A method and an apparatus for avoiding an incrementation of all the memory cells from the start until the end of the line is shown in DE 10 2007 001 043 A1, in which only the incrementation of the frequency in the memory cell corresponding to the first pixel of the line and a decrementation of the frequency in the memory cell corresponding to the pixel succeeding the last pixel of the line is necessary. In the update process of the display an integration step over the content of all the memory cells corresponding to a row or to a column of the display enables the display of the incrementation in the frequency values of each pixel from the start until the end of the line.
(121) Using the line-mode according to DE 10 2007 001 043 A1 following modifications have to be performed in the inventive method and in the corresponding inventive measurement device:
(122) In the point-mode each compressed second frequency value has the status zeroin case of an uncompressed second frequency value of zeroor the status onein case of an uncompressed second frequency value of at least one, whereas in the line-mode each uncompressed or compressed second frequency value has an actual status zeroin case of a second frequency value determined until now without any incrementation or any decrementationor an actual status onein case of a second frequency value determined until now with at least one incrementation and without any decrementationor an actual status twoin case of a second frequency value determined until now without any incrementation and with at least one decrementationor an actual status threein case of an uncompressed second frequency value determined until now with at least one incrementation and with at least one decrementation.
(123) Firstly, in each second measuring portion the inventive method using the line-mode identifies, in which row of the display a horizontal line between a corresponding first pixel and a corresponding last pixel and in which column of the display a vertical line between a corresponding first pixel and a corresponding last pixel occurs.
(124) Secondly, a line is taken into the account in the memory cell of the display memory 2 corresponding to the first pixel and in the memory cell of the display memory 2 corresponding to the pixel succeeding the last pixel of a line identified in a measuring portion, if the memory cell corresponding to the first pixel of the identified line does not contain any increments (status of the uncompressed or compressed second frequency value is zero or two) and if the memory cell corresponding to the pixel succeeding the last pixel of the identified line does not contain any decrements within the actual compression (status of the uncompressed or compressed second frequency value is zero or one).
(125) Thus the status of uncompressed or compressed second frequency value in the memory cell corresponding to the first pixel of the identified line is changed from zero to one resp. from two to three. The status of uncompressed or compressed second frequency value in the memory cell corresponding to the pixel succeeding the first pixel of the identified line is changed from zero to two resp. from one to three.
(126) Alternatively, a line is not taken into the account in the memory cell corresponding to the first pixel and in the memory cell corresponding to the pixel succeeding the last pixel of a line identified in a measuring portion, if both the memory cell corresponding to the first pixel of the identified line contains at least one increment (status of the uncompressed or compressed second frequency value is one or three) and the memory cell corresponding to the pixel succeeding the last pixel of the identified line contain at least one decrement within the actual compression (status of the uncompressed or compressed second frequency value is zero or one).
(127) In this manner each spike is taken into account in the compressed second frequency value of the memory cells corresponding to the first pixel of the identified line and in the memory cells corresponding to the pixel succeeding the last pixel of the identified line, if the memory cell corresponding to the first pixel of the identified line was not yet any start pixel of an identified line and the memory cell corresponding to the pixel succeeding the last pixel of the identified line was not yet any end pixel an identified line within the actual compression.
(128) In the line-mode the parameters N.sub.Ges, N.sub.unkomp, N.sub.komp, P.sub.Kompres can be adaptively determined equivalently to the point-mode.
(129) Preferably the compression factor P.sub.Kompres is identical for the compression of the at least one second frequency value.
(130) Further, preferably the number N.sub.unkomp of first measuring portions corresponds to the first frequency value of the first frequency values in all memory cells, which reaches firstly the value two, which is powered with the reduced number of bits N.sub.Bits, minus the value one, minus the number
(131)
of sampled values in all memory cells of a column in the display 4 within one update cycle and minus an integer quotient
(132)
between the number N.sub.komp of the second measuring portions and the compression factor P.sub.Kompres, whereby Reclength is the number of sampled values in a measuring portion and N.sub.Col is the number of columns in the display 4.
(133) Further, preferably the reduced number .sub.unkomp of consecutive first measuring portions of the measured signal corresponds to the quotient between the number N.sub.unkomp of all first measuring portions within an update cycle and the number
(134)
of compressed second frequency values within an update cycle.
(135) Further, preferably an increased number N.sub.unkomp.sub._.sub.neu.sub._.sub.Inc of the first measuring portions corresponds to the number N.sub.unkomp of the first measuring portions in the actual update cycle multiplied by the quotient between the number N.sub.unkomp of the first measuring portions in the actual update cycle and the determined maximum first frequency value N.sub.First.sub._.sub.Max of the first frequency values in all memory cells.
(136) Further, preferably the limit value N.sub.First.sub._.sub.Limit corresponds to the value two, which is powered with the reduced number of bits N.sub.Bits, minus the number
(137)
of sampled values in all memory cells in a column of the display 4 within an update cycle minus the number
(138)
of compressed second frequency values within an update cycle.
(139) Further, preferably a decreased number N.sub.unkmp.sub._.sub.neu.sub._.sub.Dec of the first measuring portions corresponds to the determined maximum first frequency value N.sub.First.sub._.sub.Max of the first frequency values in all memory cells, which reaches the limit value N.sub.First.sub._.sub.Limit.
(140) Further, preferably the number of second measuring portions for determining a second frequency value in the latest compression with the compression factor P.sub.Kompres within the actual update cycle is increased for realizing a constant number
(141)
of compressed second frequency values in all the update cycles.
(142) Further, preferably the compression factor P.sub.Kompres is increased in the next update cycle for realizing a constant number of compressed second frequency values in all the update cycles.
(143) Further, preferably the second frequency values for each memory cell are determined in the decreased number of second measuring portions within the actual update cycle.
(144) Further, preferably the compression factor P.sub.Kompres is decreased in the next update cycle for realizing a constant number
(145)
of compressed second frequency values in all the update cycles.
(146) The invention is not limited to the described embodiments. Especially, the use of a dynamically increasing compression factor, which increases with the number of already treated uncompressed second frequency values within one update cycle, is within the scope of the invention. Additionally, the scope of the invention comprises all combinations of the all features claimed in the claims, all the features disclosed in the description and all the features shown in the figures of the drawings. Each feature of the method claims can also be a feature of the device claims.