CN115856385A - Oscilloscope, waveform display method and storage medium - Google Patents

Oscilloscope, waveform display method and storage medium Download PDF

Info

Publication number
CN115856385A
CN115856385A CN202310063444.9A CN202310063444A CN115856385A CN 115856385 A CN115856385 A CN 115856385A CN 202310063444 A CN202310063444 A CN 202310063444A CN 115856385 A CN115856385 A CN 115856385A
Authority
CN
China
Prior art keywords
waveform
display state
display
waveform data
data
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
CN202310063444.9A
Other languages
Chinese (zh)
Other versions
CN115856385B (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.)
Shenzhen Siglent Technologies Co Ltd
Original Assignee
Shenzhen Siglent Technologies Co Ltd
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 Shenzhen Siglent Technologies Co Ltd filed Critical Shenzhen Siglent Technologies Co Ltd
Priority to CN202310063444.9A priority Critical patent/CN115856385B/en
Publication of CN115856385A publication Critical patent/CN115856385A/en
Application granted granted Critical
Publication of CN115856385B publication Critical patent/CN115856385B/en
Priority to PCT/CN2023/109133 priority patent/WO2024164501A1/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Controls And Circuits For Display Device (AREA)

Abstract

An oscilloscope, comprising: an analog-to-digital conversion unit which converts the analog waveform signal into a digital waveform signal; a display unit including a display area; a detection unit for detecting a display state of the display area; the preprocessing unit is used for responding to the horizontal display state, compressing the digital waveform signal and then preprocessing the compressed digital waveform signal to obtain first waveform data; responding to the vertical display state, and preprocessing the digital waveform signal to obtain second waveform data; a waveform processing unit that selects waveform data satisfying a preset condition from the first waveform data; selecting waveform data satisfying a preset condition from the second waveform data; mapping and storing the waveform data meeting the preset conditions and the display state; the controller controls the display unit to display the waveform in the display area. Since there are more pixels in the vertical direction for displaying the waveform in the vertical display state, more information of the waveform in the vertical direction can be displayed. The invention also provides a waveform display method and a medium.

Description

Oscilloscope, waveform display method and storage medium
Technical Field
The invention relates to the technical field of oscilloscopes, in particular to an oscilloscope, a waveform display method and a storage medium.
Background
An oscilloscope is an instrument for measuring waveforms of electronic signals, and is generally used for detecting and researching electronic signals and characteristic curves of electronic components, and displaying signal waveforms through a display screen thereof.
However, the display screen is usually a horizontal screen in order to match the viewing angle of human eyes, i.e. the width of the display screen is larger than the height of the display screen, so the horizontal pixels of the display screen are also larger than the vertical pixels of the display screen, for example, 1920 × 1080 or 1280 × 720. The more pixels, the more information they can display, so that the horizontal pixels of the display screen can display more information than the vertical pixels, thereby causing the information in the vertical direction of the display screen to be unable to meet the user's demand when the display screen displays the signal waveform.
At present, with the improvement of the performance of an oscilloscope, the number of bits of an analog-to-digital converter is gradually increased, so that the information of a signal waveform in the vertical direction is more abundant, when an 8-bit analog-to-digital converter is used, the information in the vertical direction is only 256, and the display screen can be displayed without distortion when the number of pixels in the vertical direction is more than 256, but when a 12-bit analog-to-digital converter is used, 4096 pieces of information in the vertical direction are available, and if the number of pixels in the vertical direction of the display screen is less than 4096, the waveform can be restored only by compressing the information in the vertical direction, so that the waveform distortion is caused. Therefore, for an oscilloscope, when a high-resolution analog-to-digital converter is used, how to improve the problem that pixels of a display screen of the oscilloscope are insufficient in the vertical direction needs to provide a new technical scheme.
Disclosure of Invention
The invention mainly solves the technical problem of how to display more information of the waveform in the vertical direction.
According to a first aspect, there is provided in an embodiment an oscilloscope, comprising:
the input end of the analog-to-digital conversion unit is used for inputting an analog waveform signal, converting the analog waveform signal into a digital waveform signal and then outputting the digital waveform signal;
a display unit including a display area for displaying a waveform;
the detection unit is used for detecting the display state of the display area, and when the pixel in the horizontal direction in the display area is larger than the pixel in the vertical direction, the display state is a horizontal display state, otherwise, the display state is a vertical display state;
a pre-processing unit to: responding to the horizontal display state, compressing the digital waveform signal and then preprocessing the compressed digital waveform signal to obtain first waveform data, wherein the first waveform data are matched with pixels in the vertical direction in the horizontal display state; responding to the vertical display state, and preprocessing the digital waveform signal to obtain second waveform data, wherein the second waveform data is matched with pixels in the vertical direction in the vertical display state;
a waveform processing unit to: responding to the horizontal display state, and selecting waveform data meeting preset conditions from the first waveform data; responding to the vertical display state, and selecting waveform data meeting preset conditions from the second waveform data; mapping and storing the waveform data meeting the preset conditions and the display state;
and the controller is used for controlling the display unit to display the waveform in the display area according to the waveform data stored by the waveform processing unit.
In some embodiments, the pre-processing unit comprises:
the first decoding module is used for decoding first preset high-order data in the digital waveform signal in response to the horizontal display state to obtain first waveform data;
and the second decoding module is used for decoding second preset high-order data in the digital waveform signal in response to the vertical display state to obtain second waveform data, wherein the second preset high-order data is more than the first preset high-order data.
In some embodiments, the first decoding module includes cascaded X-level decoders, and the X-level decoders are configured to sequentially decode first preset high-level data in the digital waveform signal; the second decoding module comprises a cascaded Y-level decoder, and the Y-level decoder is used for sequentially decoding second preset high-level data in the digital waveform signal;
wherein X and Y are integers greater than or equal to 1.
In some embodiments, the first coding module and the second coding module share at least one level of decoders therebetween.
In some embodiments, the Y is greater than the X, the first coding module and second coding module sharing the X-level coder.
In some embodiments, the detection unit includes a detection sensor configured to acquire a placement state of the display unit and detect a display state of the display area according to the placement state;
when the display unit is placed horizontally, the display state is a horizontal display state, and when the display unit is placed vertically, the display state is a vertical display state;
or,
when the display unit is placed vertically, the display state is a horizontal display state, and when the display unit is placed horizontally, the display state is a vertical display state.
In some embodiments, the waveform processing unit includes:
the trigger module is used for generating a trigger instruction according to the preset condition;
the pre-triggering module is used for responding to the triggering instruction and the horizontal display state and selecting waveform data meeting the preset conditions from the first waveform data; and the display device is used for responding to the trigger instruction and the vertical display state and selecting the waveform data meeting the preset condition from the second waveform data.
In some embodiments, the waveform processing unit further comprises:
the first waveform storage module is used for responding to the horizontal display state, mapping the waveform data meeting the preset condition with the display area of the horizontal display state and then storing the waveform data;
and the storage structure of the waveform data of the second waveform storage module is respectively matched with pixels in the vertical direction and pixels in the horizontal direction in the vertical display state, and the second waveform storage module is used for responding to the vertical display state, mapping and storing the waveform data meeting the preset condition and the display area in the vertical display state.
According to a second aspect, an embodiment provides a waveform display method, comprising:
acquiring an analog waveform signal, and converting the analog waveform signal into a digital waveform signal;
acquiring a display state of a display area, wherein when the pixel in the horizontal direction in the display area is larger than the pixel in the vertical direction, the display state is a horizontal display state, and otherwise, the display state is a vertical display state;
if the display state is the horizontal display state, compressing the digital waveform signal, preprocessing the compressed digital waveform signal to obtain first waveform data, matching the first waveform data with pixels in the vertical direction in the horizontal display state, and selecting the waveform data meeting preset conditions from the first waveform data;
if the display state is the vertical display state, preprocessing the digital waveform signal to obtain second waveform data, wherein the second waveform data is matched with pixels in the vertical direction in the vertical display state, and selecting the waveform data meeting preset conditions from the second waveform data;
and mapping and storing the waveform data meeting the preset conditions and the display state, and displaying the waveform in the display area according to the stored waveform data.
According to a third aspect, an embodiment provides a computer readable storage medium having a program stored thereon, the program being executable by a processor to implement the method according to the second aspect.
According to the oscilloscope of the embodiment, when the display area is in the horizontal display state, the preprocessing unit compresses the digital waveform signal and then preprocesses the compressed digital waveform signal to obtain the first waveform data matched with the pixels in the vertical direction in the horizontal display state, and when the display area is in the vertical display state, the preprocessing unit preprocesses the digital waveform signal to obtain the second waveform data matched with the pixels in the vertical direction in the vertical display state. Because more pixels are arranged in the vertical direction in the vertical display state for displaying the waveform, and the data volume of the second waveform data is larger than that of the first waveform data, when more pixels are used for displaying the information of the waveform in the vertical direction, the data volume of the waveform data is increased, so that the pixels in the vertical direction are matched with the data volume of the waveform data, and the information of the waveform in the vertical direction can be displayed more in the vertical display state of the display area, so that the problem of insufficient vertical pixels of the oscilloscope is solved.
Drawings
FIG. 1 is a schematic diagram of an oscilloscope according to an embodiment;
FIG. 2 is a schematic diagram of an oscilloscope according to another embodiment;
FIG. 3 is a schematic diagram of an oscilloscope according to yet another embodiment;
FIG. 4 is a schematic diagram of a first waveform storage module according to an embodiment;
FIG. 5 is a diagram illustrating a second waveform storage module according to an embodiment;
FIG. 6 is a flowchart of a waveform display method according to an embodiment.
Detailed Description
The present invention will be described in further detail with reference to the following detailed description and accompanying drawings. Wherein like elements in different embodiments are numbered with like associated elements. In the following description, numerous details are set forth in order to provide a better understanding of the present application. However, those skilled in the art will readily recognize that some of the features may be omitted or replaced with other elements, materials, methods in different instances. In some instances, certain operations related to the present application have not been shown or described in detail in order to avoid obscuring the core of the present application from excessive description, and it is not necessary for those skilled in the art to describe these operations in detail, so that they may be fully understood from the description in the specification and the general knowledge in the art.
Furthermore, the features, operations, or characteristics described in the specification may be combined in any suitable manner to form various embodiments. Also, the various steps or actions in the method descriptions may be transposed or transposed in order, as will be apparent to one of ordinary skill in the art. Thus, the various sequences in the specification and drawings are for the purpose of describing certain embodiments only and are not intended to imply a required sequence unless otherwise indicated where such sequence must be followed.
The numbering of the components as such, e.g., "first", "second", etc., is used herein only to distinguish the objects as described, and does not have any sequential or technical meaning. The term "connected" and "coupled" when used in this application, unless otherwise indicated, includes both direct and indirect connections (couplings).
In the prior art, the display screen of the oscilloscope is usually rotated to make the pixels in the original horizontal direction display the information of the signal waveform in the vertical direction, for example, when the oscilloscope is horizontally placed, the waveform data is stored in the X-Y direction, and when the oscilloscope is vertically placed, the waveform data is stored in the Y-X direction. And finally, generating a display waveform according to the stored waveform data, wherein the waveform data is not changed in data volume before being stored in different directions, so that the waveform data is greatly distorted when being stored in different directions, and information of the waveform in the vertical direction is not more, so that the display waveform only uses more pixels to display the information of the waveform in the vertical direction visually.
In the embodiment of the invention, the data volume of the waveform data is adjusted according to the display state of the display area, so that when the display area is in a horizontal display state, the digital waveform signal is compressed and then preprocessed to obtain the first waveform data matched with the pixel in the vertical direction in the horizontal display state, and when the display area is in a vertical display state, the digital waveform signal is preprocessed to obtain the second waveform data matched with the pixel in the vertical direction in the vertical display state. When fewer pixels display the information of the waveform in the vertical direction, the data amount of the waveform data is reduced, so that the waveform signal is not distorted.
In some embodiments, an oscilloscope is provided for acquiring a signal waveform and displaying the waveform. Referring to fig. 1, the oscilloscope includes an analog-to-digital conversion unit 10, a display unit 20, a detection unit 30, a preprocessing unit 40, a waveform processing unit 50, and a controller 60, which are respectively described in detail below.
The analog-to-digital conversion unit 10 is configured to perform analog-to-digital conversion on an input analog signal and output a digital signal. The input end of the analog-to-digital conversion unit 10 is used for inputting an analog waveform signal, the analog waveform signal can be obtained by collecting a waveform to be displayed, and then the analog-to-digital conversion unit 10 samples and quantizes the analog waveform signal to obtain a digital waveform signal. In this embodiment, the higher the number of bits of the analog-to-digital conversion unit 10, the higher the resolution thereof, and the richer the information displayed. For example 256 for an 8-bit analog-to-digital converter and 4096 for a 12-bit analog-to-digital converter.
The display unit 20 is used to display the waveform through its display area. The display unit 20 may be a display or a display screen, which generally has a fixed display area for displaying, and the display area of the display unit 20 for displaying the waveform may be all or part of the fixed display area.
The detection unit 30 is used to detect the display state of the display region displaying the waveform. When the pixels in the horizontal direction in the display area are larger than the pixels in the vertical direction, the display state is a horizontal display state, that is, the display area of the display unit 20 is a landscape display, and at this time, the pixels in the horizontal direction in the display area can display more information. When the pixels in the horizontal direction in the display area are smaller than the pixels in the vertical direction, the display state is a vertical display state, that is, the display area of the display unit 20 is displayed in a vertical screen mode, and at this time, the pixels in the vertical direction in the display area can display more information.
In some embodiments, the detection unit 30 includes a detection sensor for acquiring the placement state of the display unit 20 and detecting the display state of the display area according to the placement state. In some embodiments, the detection sensor includes a gyroscope, or other sensor capable of detecting motion, which is disposed on the housing of the oscilloscope with the display unit 20, such that when the housing of the oscilloscope is rotated as a whole, for example, by ninety degrees, the display unit 20 is rotated accordingly, such that when the housing of the oscilloscope is rotated from a horizontal position to a vertical position, the display unit 20 is also rotated from a horizontal position to a vertical position. And the gyroscope may detect the placement state of the display unit 20 by detecting the placement state of the housing of the oscilloscope. In some embodiments, when the placement state of the display unit 20 is horizontal placement, the display state of the display area is default to horizontal display state, i.e. the pixels in the horizontal direction in the display area are larger than the pixels in the vertical direction, therefore, when the placement state of the display unit 20 is vertical placement, the display state of the display area is vertical display state, i.e. the pixels in the horizontal direction are larger than the pixels in the vertical direction after the display area is rotated. In some embodiments, when the placement state of the display unit 20 is horizontal placement, the display state of the display area thereof is a vertical display state by default, that is, the pixels in the horizontal direction in the display area are smaller than the pixels in the vertical direction, and therefore, when the placement state of the display unit 20 is vertical placement, the display state of the display area thereof is a horizontal display state, that is, the pixels in the horizontal direction are smaller than the pixels in the vertical direction after the display area is rotated.
The preprocessing unit 40 is configured to respond to a horizontal display state of the display area, compress the digital waveform signal, and perform preprocessing to obtain first waveform data, where the first waveform data matches with pixels in a vertical direction in the display area in the horizontal display state. Alternatively, the preprocessing unit 40 is configured to respond to the vertical display state of the display area and preprocess the digital waveform signal to obtain second waveform data, where the second waveform data matches with pixels in the vertical direction in the display area in the vertical display state. In this embodiment, when the display area is in the vertical display state, the number of pixels in the vertical direction is large, and thus the digital waveform signal can be directly preprocessed to obtain the second waveform data, so that the display area in the vertical display state can display more information in the vertical direction.
Referring to fig. 2, in some embodiments, the preprocessing unit 40 includes a first decoding module 42 and a second decoding module 44, and the preprocessing unit 40 can select the first decoding module 42 or the second decoding module 44 for decoding through a switch device after responding to the display state. The first decoding module 42 is configured to decode first preset high-order data in the digital waveform signal in response to the horizontal display state to obtain first waveform data. The second decoding module 44 is configured to decode a second preset high-order data in the digital waveform signal in response to the vertical display state to obtain a second waveform data, where the second preset high-order data is greater than the first preset high-order data. In this embodiment, the digital waveform signal may be decoded to display the waveform, and the bit number of the digital waveform signal matches the bit number of the analog-to-digital conversion unit 10, for example, for an 8-bit analog-to-digital conversion unit 10, the converted digital waveform signal is also 8-bit data, and for a 12-bit analog-to-digital converter, the converted digital waveform signal is also 12-bit data. In this embodiment, the resolution of the analog-to-digital conversion unit 10 may be matched with the pixels in the vertical direction in the display area in the vertical display state, or may be greater than the pixels in the vertical direction, for example, the pixels in the vertical direction in the display area in the vertical display state are 4096, and the analog-to-digital converter matched with the pixels in the vertical direction is 12 bits. In this embodiment, the second preset high-order data in the digital waveform signal may be all data or partial data thereof, and therefore, the second waveform data may also be obtained by compressing the digital waveform signal and then preprocessing the compressed digital waveform signal, and only needs to be matched with the vertical pixels in the vertical display state, for example, when the digital waveform signal is 12-order data, the first preset high-order data is 11-order data, the matched vertical pixels are 2048-order data, the second preset high-order data is all data, the matched vertical pixels are 4096-order data, and when the digital waveform signal is 13-order data, the second preset high-order data is 12-order data. In this embodiment, the maximum pixel of the display unit 20 in the vertical direction is determined by the pixel in the vertical direction in the display area in the vertical display state, so that the pixel is greatly improved compared with the pixel in the vertical direction in the display area in the horizontal display state, and thus, the display unit 20 can be used for displaying more information of the waveform in the vertical direction, and therefore, the display unit 20 can be matched with the analog-to-digital conversion unit 10 with higher resolution, so as to embody the advantages of the analog-to-digital conversion unit 10 with higher resolution. And at the same time, the second preset high-order data in the digital waveform signal of the second decoding module 44 is decoded to increase the data volume of the waveform data, so as to realize more information of the displayed waveform in the vertical direction, thereby improving the problem of insufficient vertical pixels of the oscilloscope.
In some embodiments, the first decoding module 42 includes a cascade of X-stage decoders, and the X-stage decoders are used for sequentially decoding the first preset high-order data in the digital waveform signal. The second decoding module 44 includes cascaded Y-stage decoders, and the Y-stage decoders are configured to sequentially decode second preset high-order data in the digital waveform signal. Wherein X and Y are both integers greater than or equal to 1, for example, when the digital waveform signal is 12 bits of data, the first preset high bit data is 11 bits of data, the second preset high bit data is all data, if X and Y are both equal to 2, the first decoding module 42 includes two cascaded blocksA stage decoder for decoding 11 bits of data, wherein the first stage decoder is required for decoding X of higher bits of the 11 bits of data 1 The data of bits is decoded, and the second-stage decoder needs to decode the X of lower bits in the 11-bit data 2 The data of the bits is decoded, and X 1 +X 2 For example, the first-stage decoder bit decodes the data of the upper 3 bits, the second-stage decoder bit decodes the data of the lower 8 bits, and the two-stage decoders are cascade-connected to sequentially decode the 11-bit data in the digital waveform signal. At this time, the first-stage decoder includes a 3-8 decoder which decodes the upper 3-bit data of the 11-bit data input at the input terminal, outputs the parallel 8-bit data at the output terminal, and keeps the enable terminal enabled. The second-stage decoder comprises 8-256 decoders, wherein the decoding input end of the second-stage decoder inputs low 8-bit data in 11-bit data, the output end of the second-stage decoder outputs parallel 256-bit data, and the enabling ends of the 8-256 decoders are sequentially input into the output end of the first-stage decoder to output one bit in the parallel 8-bit data. Like the first decoding module 42, the second decoding module 44 also includes a cascaded two-stage decoder, which needs to decode 12-bit data, wherein the first-stage decoder needs to decode Y, which is the higher bit of the 12-bit data 1 The data of bits is decoded, and the second-level decoder needs to decode Y of lower bits in the 12-bit data 2 The data of the bits is decoded, and Y 1 +Y 2 And (4) = 12. Therefore, when X and Y can be other integers, it is only necessary to decode different bits of data in the digital waveform signal after the decoders of each stage are cascaded. In this embodiment, the decoder may be a hardware chip or may be implemented by programming an FPGA, for example, the oscilloscope generally includes an FPGA, so the FPGA may be used to implement the function of the decoder, and the commonly used decoder includes a 3-8 decoder or a 4-16 decoder, and when a large decoder is formed by cascading a plurality of small decoders, the implementation is simpler and more convenient.
In some embodiments, the first decoding module 42 and the second decoding module 44 may share a first-level decoder. For example, when X and Y are equal to 3, at least one of the first decoder, the second decoder, or the third decoder may be shared between the first decoding module 42 and the second decoding module 44, and the shared first decoder may be connected to the other decoders of the first decoding module 42 and the second decoding module 44 through a switch array, for example, when the first decoder is shared between the first decoding module 42 and the second decoding module 44, an input end of the switch array is connected to an output end of the first decoder, a first output end of the switch array is connected to an input end of the second decoder of the first decoding module 42, a second output end of the switch array is connected to an input end of the second decoder of the second decoding module 44, and the switch array connects the input end and the first output end when responding to the horizontal display state, so that the first decoding module 42 decodes the first preset high-bit data in the digital waveform signal, and connects the input end and the second output end of the switch array when responding to the vertical display state, so that the second decoding module 44 decodes the second high-bit data in the digital waveform signal. In some embodiments, when Y is greater than X, e.g., when X =3,y =4, the first and second decoding modules 42, 44 may share a three-stage decoder of the first decoding module 42. In this embodiment, at least one stage of decoder can be shared between the first decoding module 42 and the second decoding module 44, so as to reduce the implementation cost of the first decoding module 42 and the second decoding module 44.
The waveform processing unit 50 is configured to select, in response to the horizontal display state, waveform data satisfying a preset condition from the first waveform data, and then map and store the waveform data satisfying the preset condition with the display state. Or the waveform processing unit 50 is configured to select, in response to the vertical display state, waveform data satisfying a preset condition from the second waveform data, and then map and store the waveform data satisfying the preset condition with the display state.
Referring to fig. 3, in some embodiments, the waveform processing unit 50 includes a trigger module 52, a pre-trigger module 54, a first waveform storage module 56, and a second waveform storage module 58. The triggering module 52 is configured to generate a triggering instruction according to a preset condition, for example, the preset condition is a preset level or a preset pulse width set by a user, and the triggering module 52 generates a corresponding triggering instruction according to the preset level or the preset pulse width. The pre-trigger module 54 is configured to store all waveform data output by the pre-processing unit 40, and select waveform data satisfying a preset level or a preset pulse width from the first waveform data in response to a trigger instruction and a horizontal display state, and select waveform data satisfying a preset level or a preset pulse width from the second waveform data in response to a trigger instruction and a vertical display state. The first waveform storage module 56 is configured to respond to the horizontal display state, and map and store the waveform data meeting the preset condition in the first waveform data with the display area of the horizontal display state. The second waveform storage module 58 is configured to respond to the vertical display state, and map and store the waveform data meeting the preset condition in the second waveform data with the display area in the vertical display state. In this embodiment, the waveform data storage structure of the first waveform storage module 56 is respectively matched with the pixels in the vertical direction and the pixels in the horizontal direction in the horizontal display state, and the waveform data storage structure of the second waveform storage module 58 is respectively matched with the pixels in the vertical direction and the pixels in the horizontal direction in the vertical display state, please refer to fig. 4 and 5, for example, if there are I columns and J rows of pixels in the horizontal display state, there are J columns and I rows of pixels in the vertical display state, at this time, the waveform data storage structure of the first waveform storage module 56 includes I J bits of data, and the waveform data storage structure of the second waveform storage module 58 includes J bits of data, and since I is larger than J, finer waveform amplitude information can be displayed in the vertical display state.
The controller 60 is configured to control the display unit 20 to display the corresponding waveform in the display area according to the waveform data stored in the first waveform storage module 56 or the second waveform storage module 58.
As can be seen from the above embodiments, when the oscilloscope is in different placement states, the detection unit 30 may detect the display state of the display area of the display unit 20, and the preprocessing unit 40 may select the first decoding module 42 or the second decoding module 44 to decode the digital waveform signal according to the display state, so as to obtain first waveform data matching with the pixels in the vertical direction in the horizontal display state, or obtain second waveform data matching with the pixels in the vertical direction in the vertical display state, then the waveform processing unit 50 may select the first waveform storage module 56 matching with the first waveform data to map and store the waveform data meeting the preset condition, or select the second waveform storage module 58 matching with the second waveform data to map and store the waveform data meeting the preset condition, and finally the controller 60 may control the display unit 20 to display the waveform in the display area according to the waveform data stored by the waveform processing unit 50, so that more information of the waveform in the vertical direction may be displayed because the data amount may match with the corresponding pixels.
The following description is given by way of a specific example.
For example, if the analog-to-digital converter of the oscilloscope is 12 bits, and the display adopts a display screen with 4K resolution, the pixels in the display area of the display screen in the horizontal display state are 4000 columns by 2000 rows, and the pixels in the display area of the display screen in the vertical display state are 2000 columns by 4000 rows.
Since the display area in the horizontal display state requires 4000 waveform data of 2000 bits and 2^11=2048, we only need to convert the upper eleven bits of data of the analog-to-digital converter into parallel data Q [ n ]. For example, the first decoding module 42 may employ three-level decoders, wherein the first-level decoder is 1 4-16 decoders, the two-level decoder array is composed of 16 4-16 decoders, and the three-level decoder array is composed of 256 3-8 decoders, so that the three-level decoder can output 2048Q (n). When data equal to or greater than 1999 considers that the display area is beyond the range of the display area, which can be normalized to 1999, i.e. Q (n) max, then 2000 different Q (n) s can correspond to a certain pixel of a certain column, so that the display area of the horizontal display state can display 11-bit waveform amplitude information of the analog-to-digital converter. Referring to fig. 4 again, when I =4000 and j =2000, the waveform data storage structure of the first waveform storage module 56 includes 4000 2000 bits of data.
Since the display area for the vertical display state requires 2000 waveform data of 4000 bits and 2^12=4096, we need to convert all twelve bits of the analog-to-digital converter into parallel data Q [ n ]. For example, the second decoding module 44 may also adopt three-level decoders, wherein the first-level decoder is 1 4-16 decoder, the second-level decoder array is composed of 16 4-16 decoders, and the third-level decoder array is composed of 256 4-16 decoders, so that the third-level decoder can output 4096Q (n). When data greater than or equal to 3999 is considered to exceed the display area, the data can be normalized to 3999, i.e. Q (n) max, then 4000 different Q (n) s can correspond to a certain pixel of a certain column, so that the display area in the vertical display state can display 12-bit waveform amplitude information of the analog-to-digital converter. Wherein, Q [ n ] is an array and is a set of a plurality of numbers, and Q (n) is a certain number in the array Q [ n ]. Referring again to fig. 5, when I =2000 and j =4000, the waveform data storage structure of the second waveform storage module 58 includes 2000 4000 bits of data.
Referring to fig. 6, some embodiments provide a waveform display method, which is described in detail below.
Step 100: acquiring an analog waveform signal, and converting the analog waveform signal into a digital waveform signal.
Step 200: and acquiring the display state of a display area, wherein when the pixel in the horizontal direction in the display area is larger than the pixel in the vertical direction, the display state is the horizontal display state, and otherwise, the display state is the vertical display state.
Step 300: and if the display state is the horizontal display state, compressing the digital waveform signal, preprocessing the compressed digital waveform signal to obtain first waveform data, matching the first waveform data with pixels in the vertical direction in the horizontal display state, and selecting the waveform data meeting preset conditions from the first waveform data.
Step 400: and if the display state is the vertical display state, preprocessing the digital waveform signal to obtain second waveform data, wherein the second waveform data is matched with pixels in the vertical direction in the vertical display state, and selecting the waveform data meeting preset conditions from the second waveform data.
Step 500: and mapping and storing the waveform data meeting the preset conditions and the display state, and displaying the waveform in the display area according to the stored waveform data.
In some embodiments, when acquiring the display state of the display area, the controller is configured to acquire the placement state of the display unit 20 and detect the display state of the display area according to the placement state; when the placement state of the display unit 20 is horizontal placement, the display state is a horizontal display state, and when the placement state of the display unit 20 is vertical placement, the display state is a vertical display state; alternatively, when the placement state of the display unit 20 is the vertical placement, the display state is the horizontal display state, and when the placement state of the display unit 20 is the horizontal placement, the display state is the vertical display state.
In some embodiments, if the display state is the horizontal display state, the compressing the digital waveform signal and then preprocessing the compressed digital waveform signal to obtain first waveform data specifically includes: and decoding first preset high-order data in the digital waveform signal to obtain the first waveform data.
In some embodiments, if the display state is the vertical display state, the preprocessing is performed on the digital waveform signal to obtain second waveform data, which specifically includes: and decoding second preset high-order data in the digital waveform signal to obtain second waveform data.
In some embodiments, a computer-readable storage medium has a program stored thereon, the program being executable by a processor to implement the waveform display method described above.
Those skilled in the art will appreciate that all or part of the functions of the methods in the above embodiments may be implemented by hardware, or may be implemented by a computer program. When all or part of the functions of the above embodiments are implemented by a computer program, the program may be stored in a computer-readable storage medium, and the storage medium may include: a read only memory, a random access memory, a magnetic disk, an optical disk, a hard disk, etc., and the program is executed by a computer to realize the above functions. For example, the program may be stored in a memory of the device, and when the program in the memory is executed by the processor, all or part of the functions described above may be implemented. In addition, when all or part of the functions in the above embodiments are implemented by a computer program, the program may be stored in a storage medium such as a server, another computer, a magnetic disk, an optical disk, a flash disk, or a portable hard disk, and may be downloaded or copied to a memory of a local device, or may be version-updated in a system of the local device, and when the program in the memory is executed by a processor, all or part of the functions in the above embodiments may be implemented.
The present invention has been described in terms of specific examples, which are provided to aid understanding of the invention and are not intended to be limiting. For a person skilled in the art to which the invention pertains, several simple deductions, modifications or substitutions may be made according to the idea of the invention.

Claims (10)

1. An oscilloscope, comprising:
the input end of the analog-to-digital conversion unit is used for inputting an analog waveform signal, converting the analog waveform signal into a digital waveform signal and then outputting the digital waveform signal;
a display unit including a display area for displaying a waveform;
the detection unit is used for detecting the display state of the display area, and when the pixel in the horizontal direction in the display area is larger than the pixel in the vertical direction, the display state is a horizontal display state, otherwise, the display state is a vertical display state;
a pre-processing unit to: responding to the horizontal display state, compressing the digital waveform signal, and then preprocessing the compressed digital waveform signal to obtain first waveform data, wherein the first waveform data is matched with pixels in the vertical direction in the horizontal display state; responding to the vertical display state, preprocessing the digital waveform signal to obtain second waveform data, wherein the second waveform data is matched with pixels in the vertical direction in the vertical display state;
a waveform processing unit to: responding to the horizontal display state, and selecting waveform data meeting preset conditions from the first waveform data; responding to the vertical display state, and selecting waveform data meeting preset conditions from the second waveform data; mapping the waveform data meeting the preset conditions with the display state and then storing the mapped waveform data;
and the controller is used for controlling the display unit to display the waveform in the display area according to the waveform data stored by the waveform processing unit.
2. The oscilloscope of claim 1, wherein the preprocessing unit comprises:
the first decoding module is used for decoding first preset high-order data in the digital waveform signal in response to the horizontal display state to obtain first waveform data;
and the second decoding module is used for decoding second preset high-order data in the digital waveform signal in response to the vertical display state to obtain second waveform data, wherein the second preset high-order data is more than the first preset high-order data.
3. The oscilloscope of claim 2, wherein the first decoding module comprises a cascade of X-stage decoders, the X-stage decoders being configured to sequentially decode first preset high-order data in the digital waveform signal; the second decoding module comprises a cascaded Y-level decoder, and the Y-level decoder is used for sequentially decoding second preset high-level data in the digital waveform signal;
wherein X and Y are integers greater than or equal to 1.
4. The oscilloscope of claim 3, wherein at least one stage of decoder is shared between said first decoding module and said second decoding module.
5. The oscilloscope of claim 3, wherein said Y is greater than said X, said first decoding module and second decoding module sharing said X-level decoder.
6. The oscilloscope according to claim 1, wherein the detection unit comprises a detection sensor for acquiring a placement state of a display unit and detecting a display state of the display area according to the placement state;
when the display unit is placed horizontally, the display state is a horizontal display state, and when the display unit is placed vertically, the display state is a vertical display state;
or,
when the display unit is placed vertically, the display state is a horizontal display state, and when the display unit is placed horizontally, the display state is a vertical display state.
7. The oscilloscope of claim 1, wherein the waveform processing unit comprises:
the trigger module is used for generating a trigger instruction according to the preset condition;
the pre-triggering module is used for responding to the triggering instruction and the horizontal display state and selecting waveform data meeting the preset conditions from the first waveform data; and the display device is used for responding to the trigger instruction and the vertical display state and selecting the waveform data meeting the preset condition from the second waveform data.
8. The oscilloscope of any of claims 1-7, wherein said waveform processing unit further comprises:
the first waveform storage module is used for responding to the horizontal display state, mapping the waveform data meeting the preset condition with the display area of the horizontal display state and then storing the waveform data;
and the storage structure of the waveform data of the second waveform storage module is respectively matched with pixels in the vertical direction and pixels in the horizontal direction in the vertical display state, and the second waveform storage module is used for responding to the vertical display state, mapping the waveform data meeting the preset condition with the display area in the vertical display state and then storing the mapped waveform data.
9. A waveform display method, comprising:
acquiring an analog waveform signal, and converting the analog waveform signal into a digital waveform signal;
acquiring a display state of a display area, wherein when the pixel in the horizontal direction in the display area is larger than the pixel in the vertical direction, the display state is a horizontal display state, and otherwise, the display state is a vertical display state;
if the display state is the horizontal display state, compressing the digital waveform signal, preprocessing the compressed digital waveform signal to obtain first waveform data, matching the first waveform data with pixels in the vertical direction in the horizontal display state, and selecting the waveform data meeting preset conditions from the first waveform data;
if the display state is the vertical display state, preprocessing the digital waveform signal to obtain second waveform data, wherein the second waveform data is matched with pixels in the vertical direction in the vertical display state, and selecting the waveform data meeting preset conditions from the second waveform data;
and mapping and storing the waveform data meeting the preset conditions and the display state, and displaying the waveform in the display area according to the stored waveform data.
10. A computer-readable storage medium, characterized in that the medium has stored thereon a program which is executable by a processor to implement the method of claim 9.
CN202310063444.9A 2023-02-06 2023-02-06 Oscilloscope, waveform display method and storage medium Active CN115856385B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202310063444.9A CN115856385B (en) 2023-02-06 2023-02-06 Oscilloscope, waveform display method and storage medium
PCT/CN2023/109133 WO2024164501A1 (en) 2023-02-06 2023-07-25 Oscilloscope, waveform display method, and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310063444.9A CN115856385B (en) 2023-02-06 2023-02-06 Oscilloscope, waveform display method and storage medium

Publications (2)

Publication Number Publication Date
CN115856385A true CN115856385A (en) 2023-03-28
CN115856385B CN115856385B (en) 2023-07-04

Family

ID=85657612

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310063444.9A Active CN115856385B (en) 2023-02-06 2023-02-06 Oscilloscope, waveform display method and storage medium

Country Status (2)

Country Link
CN (1) CN115856385B (en)
WO (1) WO2024164501A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2024164501A1 (en) * 2023-02-06 2024-08-15 深圳市鼎阳科技股份有限公司 Oscilloscope, waveform display method, and storage medium

Citations (18)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US3795834A (en) * 1972-07-05 1974-03-05 Tektronix Inc Oscilloscope having external trigger display mode
JPS61105467A (en) * 1984-10-29 1986-05-23 Shin Kobe Electric Mach Co Ltd Waveform observing device
JPH0271290A (en) * 1988-09-06 1990-03-09 Nec Corp High definition display system for display device
US4961112A (en) * 1988-10-22 1990-10-02 Nippon Television Network Corporation Television system
US5027058A (en) * 1990-02-26 1991-06-25 Tektronix, Inc. Multi-standard video option for oscilloscope
EP0514819A2 (en) * 1991-05-23 1992-11-25 Hitachi, Ltd. Wide-screen television receiver with aspect ratio conversion function and method of displaying a magnified range
US5223929A (en) * 1990-03-24 1993-06-29 Nippon Television Network Corporation Television system
US5517105A (en) * 1994-10-25 1996-05-14 Tektronix, Inc. Dual linked zoom boxes for instrument display
US20110115470A1 (en) * 2009-11-13 2011-05-19 Lecroy Corporation Rotatable Display for Test and Measurement Apparatus
CN104142415A (en) * 2013-05-08 2014-11-12 固纬电子实业股份有限公司 Oscilloscope capable of rotating to display picture
EP3104181A1 (en) * 2015-06-12 2016-12-14 Tektronix, Inc. Circulating resampling digitizer
CN111290725A (en) * 2020-03-13 2020-06-16 深圳市腾讯信息技术有限公司 Screen projection method, equipment and storage medium
CN111414204A (en) * 2020-03-19 2020-07-14 京东方科技集团股份有限公司 Startup display method and device and electronic equipment
CN111880869A (en) * 2020-06-17 2020-11-03 西安万像电子科技有限公司 Picture adjusting method, device and system
CN112051427A (en) * 2020-08-13 2020-12-08 中电科仪器仪表有限公司 High-resolution oscilloscope vertical scaling circuit and method
CN112946337A (en) * 2021-05-13 2021-06-11 深圳市鼎阳科技股份有限公司 High-precision signal measuring method and digital oscilloscope
CN215493781U (en) * 2021-06-25 2022-01-11 深圳市鼎阳科技股份有限公司 Digital oscilloscope supporting extended analog front end
WO2022193475A1 (en) * 2021-03-19 2022-09-22 青岛海信传媒网络技术有限公司 Display device, method for receiving screen projection content, and screen projection method

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5939877A (en) * 1997-05-27 1999-08-17 Hewlett-Packard Company Graphical system and method for automatically scaling waveforms in a signal measurement system
KR100263168B1 (en) * 1997-12-30 2000-08-01 윤종용 Multi-storing apparatus for a digital camera
US6222521B1 (en) * 1998-04-03 2001-04-24 Tektronix, Inc. High waveform throughput digital oscilloscope with variable intensity rasterizer and variable intensity or color display
CN101131403B (en) * 2006-08-23 2011-06-08 王悦 Digital oscillograph and its waveshape displaying method
CN215678519U (en) * 2021-05-27 2022-01-28 深圳麦科信科技有限公司 Oscilloscope and oscilloscope component
CN113433367B (en) * 2021-08-25 2021-11-02 深圳市鼎阳科技股份有限公司 Display control device and method for digital oscilloscope and digital oscilloscope
CN115856385B (en) * 2023-02-06 2023-07-04 深圳市鼎阳科技股份有限公司 Oscilloscope, waveform display method and storage medium

Patent Citations (18)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US3795834A (en) * 1972-07-05 1974-03-05 Tektronix Inc Oscilloscope having external trigger display mode
JPS61105467A (en) * 1984-10-29 1986-05-23 Shin Kobe Electric Mach Co Ltd Waveform observing device
JPH0271290A (en) * 1988-09-06 1990-03-09 Nec Corp High definition display system for display device
US4961112A (en) * 1988-10-22 1990-10-02 Nippon Television Network Corporation Television system
US5027058A (en) * 1990-02-26 1991-06-25 Tektronix, Inc. Multi-standard video option for oscilloscope
US5223929A (en) * 1990-03-24 1993-06-29 Nippon Television Network Corporation Television system
EP0514819A2 (en) * 1991-05-23 1992-11-25 Hitachi, Ltd. Wide-screen television receiver with aspect ratio conversion function and method of displaying a magnified range
US5517105A (en) * 1994-10-25 1996-05-14 Tektronix, Inc. Dual linked zoom boxes for instrument display
US20110115470A1 (en) * 2009-11-13 2011-05-19 Lecroy Corporation Rotatable Display for Test and Measurement Apparatus
CN104142415A (en) * 2013-05-08 2014-11-12 固纬电子实业股份有限公司 Oscilloscope capable of rotating to display picture
EP3104181A1 (en) * 2015-06-12 2016-12-14 Tektronix, Inc. Circulating resampling digitizer
CN111290725A (en) * 2020-03-13 2020-06-16 深圳市腾讯信息技术有限公司 Screen projection method, equipment and storage medium
CN111414204A (en) * 2020-03-19 2020-07-14 京东方科技集团股份有限公司 Startup display method and device and electronic equipment
CN111880869A (en) * 2020-06-17 2020-11-03 西安万像电子科技有限公司 Picture adjusting method, device and system
CN112051427A (en) * 2020-08-13 2020-12-08 中电科仪器仪表有限公司 High-resolution oscilloscope vertical scaling circuit and method
WO2022193475A1 (en) * 2021-03-19 2022-09-22 青岛海信传媒网络技术有限公司 Display device, method for receiving screen projection content, and screen projection method
CN112946337A (en) * 2021-05-13 2021-06-11 深圳市鼎阳科技股份有限公司 High-precision signal measuring method and digital oscilloscope
CN215493781U (en) * 2021-06-25 2022-01-11 深圳市鼎阳科技股份有限公司 Digital oscilloscope supporting extended analog front end

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
安捷伦公司: "最低可以达到多低?——提高示波器垂直分辨率的 7 大技巧" *
安捷伦公司: "最低可以达到多低?————提高示波器垂直分辨率的7大技巧" *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2024164501A1 (en) * 2023-02-06 2024-08-15 深圳市鼎阳科技股份有限公司 Oscilloscope, waveform display method, and storage medium

Also Published As

Publication number Publication date
WO2024164501A1 (en) 2024-08-15
CN115856385B (en) 2023-07-04

Similar Documents

Publication Publication Date Title
CN115856385B (en) Oscilloscope, waveform display method and storage medium
JPS6223504B2 (en)
JPS62159178A (en) Adaptive line interpolation of sequential scan display
US6335760B1 (en) Image signal reproduction device
US5877754A (en) Process, apparatus, and system for color conversion of image signals
US20140133580A1 (en) Video decoding method and system thereof
US4928258A (en) Recursive median filtering
EP0753218A1 (en) Fixed quality source coder
CN111105375A (en) Image generation method, model training method and device thereof, and electronic equipment
CN102214452B (en) Image processing apparatus and image processing method
US4755960A (en) Waveform data compressing circuit
US4858018A (en) Image processing apparatus
US20030063216A1 (en) Information signal processing device, information signal processing method, image signal processing device, image display comprising the same, coefficient type data creating device and method used for the same, and information providing medium
CN1302662C (en) Display equipment and image processing method thereof
US20020109702A1 (en) Color display method and semiconductor integrated circuit using the same
CN109996085B (en) Model training method, image processing method and device and electronic equipment
CN1459636A (en) Double time base device for oscillograph
CN103262123A (en) Tile encoding and decoding
CN110944129B (en) Multiplexing type pixel control circuit
CN101029919A (en) Compressed logic sample storage
WO2002052836A2 (en) Graphic image coding
US20040105336A1 (en) Range selectable address decoder and frame memory device for processing graphic data at high speed using the same
CN1321527C (en) Method and device for displaying character on screen
US8244071B2 (en) Non-dyadic spatial scalable wavelet transform
JP2006504183A (en) Logic analyzer and logic analyzer data processing method

Legal Events

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