Oscilloscope signal waveform display processing method and apparatus, and oscilloscope
By realizing the function of automatically adjusting channel parameters in the oscilloscope, the inefficiency of measurement and the AUTO function consumes resources caused by manual adjustment of parameters are solved, which improves measurement efficiency and reduces resource load.
Patent Information
- Application Number
- PCT/CN2023/138321
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2023-08-29
- Filing Date
- 2023-12-13
- Publication Date
- 2025-03-06
AI Technical Summary
Existing oscilloscopes need to manually adjust channel parameters when measuring different signals, resulting in inefficient measurements. At the same time, the AUTO function consumes a lot of resources when inputting multi-channel signals, resulting in a long wait time for measurement results.
By turning on the automatic AUTO function of the oscilloscope channel, it detects whether the channel has signal access, and automatically adjusts the channel's time base, vertical gear and offset parameters when there is signal access to generate an input signal display suitable for observation.
It improves the efficiency of signal measurement, reduces the resource use of the oscilloscope processing module when adjusting multiple channels, and shortens the waiting time of the measurement results.
Smart Images

Figure CN2023138321_06032025_PF_FP_ABST
Abstract
Description
Oscilloscope signal waveform display processing method, device and oscilloscope
[0001] This application claims priority to the Chinese patent application filed with the China Patent Office on August 29, 2023, with application number 202311099324.0, the entire contents of which are incorporated by reference into this application. Technical Field
[0002] The embodiments of the present application relate to the field of electronics and communications technology, and for example, relate to an oscilloscope signal waveform display processing method, device, and oscilloscope. Background Art
[0003] An oscilloscope is an instrument that visually displays waveforms that change signal amplitude over time. The basic operation of an oscilloscope consists of four steps: acquisition, storage, plotting, and display. When the user changes the oscilloscope's hardware configuration—for example, adjusting the timebase, horizontal position, voltage offset, or voltage range—the oscilloscope must re-execute these four steps using the new configuration parameters. After displaying the last waveform frame under the previously adjusted parameters, the oscilloscope clears its storage space, configures the new parameters, and begins acquiring signal data. The newly acquired data is then stored, plotted, and displayed.
[0004] When an oscilloscope is measuring an unknown signal, the time base, vertical scale, and offset of the oscilloscope are not appropriate in most measurement situations. The tester needs to manually adjust the time base, vertical scale, offset and other parameters of the oscilloscope channel according to the amplitude and position of the signal displayed on the oscilloscope screen, or use the physical automatic (AUTO) mode button to make the size and position of the waveform of the signal to be measured at a suitable position for the tester to observe the waveform.
[0005] However, this method requires the tester to manually readjust the oscilloscope to complete the measurement of another signal when the oscilloscope uses the same channel to test the signal, resulting in low measurement efficiency.
[0006] Alternatively, you can use the oscilloscope's Auto function to complete this signal measurement. When the oscilloscope has multiple channels of signal input, pressing the Auto button simultaneously activates the Auto function for all channels. This means the oscilloscope's processing module automatically sets parameters such as the time base, horizontal position, and voltage offset for each channel based on the multiple input signals, providing a clear and stable display. Therefore, the more channels of input signal there are, the more resources the processing module uses to calculate and adjust these multiple channels, resulting in a longer wait time for display results.
[0007] Summary of the Invention
[0008] The present application provides an oscilloscope signal waveform display processing method, device and oscilloscope to solve the problems of low measurement efficiency caused by related technologies, excessive resource usage caused by the processing module calculating and adjusting multiple oscilloscope channels, and long waiting time for measurement results.
[0009] According to one aspect of the present application, a method for displaying and processing an oscilloscope signal waveform is provided, comprising: turning on automatic AUTO functions corresponding to some oscilloscope channels; detecting whether signals are connected to the some oscilloscope channels; and when it is detected that at least one of the some oscilloscope channels has a signal connected, using the AUTO function of the oscilloscope channel with the signal connected, automatically adjusting the time base, vertical scale, and offset parameters of the oscilloscope channel with the signal connected, so as to generate an input signal display suitable for observation.
[0010] According to another aspect of the present application, an oscilloscope signal waveform display processing device is provided, including: a switch module, configured to turn on the AUTO function of some oscilloscope channels; a first detection module, configured to detect whether there is a signal access to the said part of the oscilloscope channels; and a use module, configured to use the AUTO function of the oscilloscope channel with the signal access when detecting that at least one oscilloscope channel among the said part of the oscilloscope channels has a signal access, to automatically adjust the time base, vertical scale and offset parameters of the oscilloscope channel with the signal access, so as to generate an input signal display suitable for observation.
[0011] According to another aspect of the present application, an oscilloscope is provided, wherein each oscilloscope channel of the oscilloscope corresponds to an AUTO button, and the oscilloscope executes the signal waveform display processing method of the oscilloscope described in one aspect of the present application. BRIEF DESCRIPTION OF THE DRAWINGS
[0012] FIG1 is a flow chart of a method for displaying and processing an oscilloscope signal waveform according to a first embodiment of the present application;
[0013] FIG2 is a schematic diagram illustrating an implementation method of an oscilloscope signal waveform display processing method provided in Example 1 of the present application;
[0014] FIG3 is a flow chart of a method for displaying and processing an oscilloscope signal waveform according to a second embodiment of the present application;
[0015] FIG4 is a flow chart of a method for displaying and processing an oscilloscope signal waveform according to a second embodiment of the present application;
[0016] FIG5 is a flowchart of an oscilloscope signal waveform display processing method provided by an exemplary embodiment of the present application;
[0017] FIG6 is a schematic structural diagram of an oscilloscope signal waveform display processing device provided in a fourth embodiment of the present application. DETAILED DESCRIPTION
[0018] The technical solutions in the embodiments of the present application will be described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only embodiments of a part of the present application. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without making creative work should fall within the scope of protection of this application. It should be understood that the multiple steps described in the method implementation mode of the present application can be performed in different orders and / or in parallel. In addition, the method implementation mode may include additional steps and / or omit the steps shown. The scope of the present application is not limited in this respect.
[0019] As used herein, the term "including" and its variations are open-ended, i.e., "including but not limited to." The term "based on" means "based, at least in part, on." The term "one embodiment" means "at least one embodiment," the term "another embodiment" means "at least one additional embodiment," and the term "some embodiments" means "at least some embodiments." Other terms are defined in the following description.
[0020] It should be noted that the terms "first", "second", etc. in the specification and claims of the present application and the above-mentioned drawings are used to distinguish similar objects and are not necessarily used to describe a specific order or sequential order. It should be understood that the data used in this way can be interchangeable where appropriate, so that the embodiments of the present application described herein can be implemented in a sequence other than those illustrated or described herein. In addition, the terms "including" and "having" and any of their variations are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device comprising a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0021] It should be noted that the modifications of "one" and "multiple" mentioned in this application are illustrative rather than restrictive. Those skilled in the art should understand that unless otherwise clearly indicated in the context, they should be understood as "one or more".
[0022] The names of the messages or information exchanged between multiple devices in the embodiments of the present application are only used for illustrative purposes and are not used to limit the scope of these messages or information.
[0023] Example 1
[0024] FIG1 is a flow chart of a method for displaying and processing a signal waveform on an oscilloscope provided in Example 1 of the present application. The method is applicable to signal measurement situations, and is applicable to situations where a single channel of an oscilloscope needs to measure multiple different signals. The method can be executed by an oscilloscope.
[0025] As shown in FIG1 , a method for displaying and processing an oscilloscope signal waveform provided in a first embodiment of the present application includes the following steps.
[0026] S110. Turn on the AUTO function of some oscilloscope channels.
[0027] An oscilloscope channel is the input channel for the oscilloscope's test signal, receiving it. When testing different signals with an oscilloscope, testers can pre-configure the oscilloscope's auto mode for all channels. This means each channel has auto mode. The auto mode automatically adjusts various control values to produce a display suitable for observation. After enabling the auto mode, perform the following three steps.
[0028] Step 1: Scan the oscilloscope's channels. If a channel is open, only the signal in that channel will be scanned, and the final display will only show the waveform of that channel. If no channel is open, all channels of the oscilloscope will be scanned, and any channel with a signal input will be turned on and the waveform will be displayed.
[0029] Step 2: Determine the appropriate vertical viewing scale by calculating the waveform amplitude. The vertical scale is appropriate when the signal is greater than 2.5 divisions and less than 7 divisions. For example, if the waveform amplitude is 5V, the appropriate vertical scale is 1V / div, with an offset of -2.5V.
[0030] Step 3: Determine the appropriate horizontal viewing scale by calculating the waveform frequency. The appropriate horizontal scale is based on the screen display of 2 to 4 cycles. For example, if the waveform frequency is 1K, the appropriate horizontal scale is 200us / div.
[0031] In this embodiment, the oscilloscope may be of different models. The number of channels of the oscilloscope is not limited, and the oscilloscope may be a single-channel oscilloscope, a dual-channel oscilloscope, a four-channel oscilloscope, or an eight-channel oscilloscope.
[0032] The oscilloscope can turn on the AUTO function of some oscilloscope channels when it detects a user command. The user command can be triggered when the tester presses the AUTO button on the oscilloscope. The AUTO button can be a physical button or a touch screen button. When the oscilloscope detects the user command, it can turn on the AUTO function of the corresponding oscilloscope channel indicated by the command. For example, if the user command is to turn on the AUTO function of channel 1 and channel 3, when the oscilloscope detects the user command, the AUTO function of channel 1 and channel 3 can be turned on; if the user command is to turn on the AUTO function of channel 2, when the oscilloscope detects the user command, the AUTO function of channel 2 can be turned on.
[0033] The oscilloscope can also automatically turn on the AUTO function of some oscilloscope channels by default when it is turned on. For example, the oscilloscope can automatically turn on the AUTO function of channel 1 and channel 2 by default when it is turned on, or automatically turn on the AUTO function of only channel 1 by default.
[0034] S120: Detect whether some of the oscilloscope channels have signals connected.
[0035] The oscilloscope can be connected to the device under test through an oscilloscope probe to allow signal access. The oscilloscope in this embodiment has an input signal detection function. Since the AUTO function of the oscilloscope channel can only be used when a signal is detected to be connected in the channel, the oscilloscope needs to detect whether there is a signal connected to the oscilloscope channel after turning on the AUTO function of the oscilloscope channel.
[0036] It is understood that if a signal input is detected on an oscilloscope channel, the AUTO function of that channel is used to automatically adjust the channel's time base, vertical scale, offset, etc. If a signal input is detected on multiple oscilloscope channels, the AUTO functions of each of the multiple channels can be used to automatically adjust the channel's time base, vertical scale, offset, etc. For example, if the AUTO function of channel 1 and channel 2 is turned on, and a signal input is detected on channel 1 and channel 2, the AUTO function of channel 1 and channel 2 can be used to automatically adjust the channel's time base, vertical scale, offset, etc.
[0037] There are several ways to detect whether an oscilloscope channel has a signal. You can use the oscilloscope's internal detection conditions or user-preset detection conditions to detect whether an oscilloscope channel has a signal. The internal detection conditions can be the oscilloscope's built-in signal detection method, while the user-preset detection conditions can be a signal detection method pre-set by the user.
[0038] Exemplarily, the detection conditions set inside the oscilloscope may include multiple ones, and the following are listed for reference only: Method 1, compare the input port level of the oscilloscope channel with the preset voltage value, and determine whether there is a signal access to the oscilloscope channel based on the comparison result; Method 2, determine whether there is a signal access to the oscilloscope channel based on whether the oscilloscope channel can detect a rising edge or a falling edge.
[0039] Exemplarily, the detection condition preset by the user may be: determining whether a signal is connected to the oscilloscope channel when a signal access instruction is detected, and the signal access instruction is triggered when a signal source is connected to an input channel of the oscilloscope.
[0040] In this embodiment, multiple other methods can be used to detect whether a signal is connected to the oscilloscope channel. They are not listed here one by one. You can adaptively select a method to detect whether a signal is connected to the oscilloscope channel.
[0041] S130: When it is detected that a signal is connected to at least one of the oscilloscope channels, the AUTO function of the oscilloscope channel with the signal is used to automatically adjust the time base, vertical scale, and offset parameters of the oscilloscope channel with the signal to generate an input signal display suitable for observation.
[0042] Using the AUTO function in the corresponding channel can automatically adjust the channel's time base, vertical scale, offset and other parameters to make the size and position of the signal waveform under test at a position suitable for the tester to observe the waveform.
[0043] It can be understood that adjusting the vertical gear, that is, the vertical scale, can adjust the waveform height in units of volts / grid, and adjust the upper and lower positions of the waveform; when adjusting horizontally, the oscilloscope display can display multiple cycles of waveforms.
[0044] An oscilloscope signal waveform display processing method provided in the first embodiment of the present application first turns on the AUTO function of some oscilloscope channels; then detects whether there is a signal access to the said part of the oscilloscope channels; finally, when it is detected that there is a signal access to the oscilloscope channel, the AUTO function of the oscilloscope channel is used to automatically adjust the time base and vertical gear and offset parameters of the corresponding oscilloscope channel to produce an input signal display suitable for observation. The above method automatically adjusts the oscilloscope channel parameters through the AUTO function of the oscilloscope channel. When the signal is connected to the oscilloscope channel, the oscilloscope will automatically adjust the channel gear and offset and other parameters to make the waveform easy to observe, without the need to manually adjust the relevant channel parameters according to the changes in the test signal each time; the above method can selectively turn on the AUTO function of some oscilloscope channels, which can reduce the resources used by the processing module to calculate and adjust the channel.
[0045] Figure 2 is a schematic diagram of an implementation of an oscilloscope signal waveform display processing method provided in Example 1 of the present application. As shown in Figure 2, the oscilloscope has multiple channels: CH1 (channel 1), CH2 (channel 2), CH3 (channel 3) and CH4 (channel 4). CH1 to CH4 are respectively provided with an automatic AUTO function. As shown in Figure 2, the AUTO function of CH1 is in the off state, and the AUTO functions of CH2, CH3 and CH4 are in the on state.
[0046] Based on the above embodiment, a modified embodiment of the above embodiment is proposed. It should be noted that, in order to simplify the description, only the differences from the above embodiment are described in the modified embodiment.
[0047] The AUTO function of the oscilloscope channel is controlled by the AUTO button corresponding to the oscilloscope channel. One AUTO button controls the AUTO function of one oscilloscope channel, or one AUTO button controls the AUTO function of at least two oscilloscope channels.
[0048] The AUTO button can control the opening or closing of the AUTO function of the oscilloscope channel. When an AUTO button is pressed, an opening command can be sent to the oscilloscope channel corresponding to the AUTO button to turn on the AUTO function of the oscilloscope channel.
[0049] Optionally, each oscilloscope channel has its own corresponding AUTO button, i.e., one AUTO button controls one oscilloscope channel. Alternatively, two or more oscilloscope channels can be controlled by one AUTO button, i.e., one AUTO button controls the AUTO function of at least two oscilloscope channels. For example, the first AUTO button controls the AUTO function of channels 1 and 2, the second AUTO button controls the AUTO function of channels 3 and 4, the third AUTO button controls the AUTO function of channel 5, and the fourth AUTO button controls the AUTO function of channel 6.
[0050] When the AUTO function corresponding to one or more oscilloscope channels is turned on, when another signal is connected after one or more oscilloscope channels complete measuring the current signal, the AUTO function can be used to measure the other signal directly.
[0051] In this embodiment, after the AUTO function of a channel is turned on, when using the channel to test a different signal, the signal can be directly measured without having to start the AUTO function of the channel again.
[0052] The oscilloscope channel with the AUTO function turned on automatically adjusts the time base, vertical scale, and offset parameters of the oscilloscope channel; the oscilloscope channel with the AUTO function not turned on manually adjusts the time base, vertical scale, and offset parameters of the oscilloscope channel.
[0053] In the related art, since the AUTO function of the existing oscilloscope acts on multiple channels at the same time, if the user has adjusted one of the multiple channels to an ideal state by manually adjusting the channel parameters, and then the user presses the AUTO function button, the oscilloscope will readjust the channel parameters of all channels to the default parameters of the AUTO function. This will cause the parameters of the channels for which the user has previously set the parameters to also become the default parameters of the AUTO function, making the adjustment effect of the channel worse. In the present application, since the AUTO function of each channel of the oscilloscope is set separately, the user can choose to manually adjust one or more channel parameters and select the AUTO function to automatically adjust other channels with the default parameter settings of the system AUTO function. In addition, the channel parameters for which the user has previously set the parameters will not be changed, making it more convenient and flexible for the user to set the channel parameters.
[0054] In one embodiment, when it is detected that there is no signal access to the oscilloscope channel, the detection of whether there is a signal access to the oscilloscope channel is stopped within a preset time, and after the preset time, the detection of whether there is a signal access to the oscilloscope channel is continued.
[0055] When the oscilloscope detects whether there is a signal connected to the oscilloscope channel, it involves actions such as closing / opening the oscilloscope channel and switching gears. To prevent the oscilloscope from turning on the AUTO function of the oscilloscope channel and other actions such as closing / opening the oscilloscope channel and switching gears from falling into an infinite loop due to no signal input, the oscilloscope can turn on the AUTO function of the oscilloscope channel and determine that there is no signal connected to the oscilloscope channel. Then, the input signal detection function is turned off or put into sleep for a preset time. This can effectively prevent the oscilloscope channel from being closed / opened and switching gears due to no signal input and other actions from falling into an infinite loop.
[0056] The preset time can be set by the tester based on experience. For example, the preset time can be set to 5 seconds, after which the oscilloscope channel can be re-checked for signal access. There are many ways to check whether an oscilloscope channel has a signal access, some of which are listed above and will not be repeated here.
[0057] In one embodiment, when the number of times the oscilloscope channel is detected to see whether a signal is connected is greater than a preset value, the AUTO function of the oscilloscope channel is turned off or enters sleep mode, and a corresponding prompt message pops up on the display screen of the oscilloscope to prompt the user that the AUTO function of the oscilloscope channel is turned off or enters sleep mode.
[0058] To prevent the AUTO function of a channel from being turned on for a long time, when the number of times the channel is detected to see if there is a signal access is greater than a preset value, the AUTO function of the oscilloscope channel can be turned off or enter sleep mode. In order to let the user know that the AUTO function of the channel is turned off or enters sleep mode, a prompt message can be popped up on the oscilloscope's display screen. The content of the prompt message can be customized and can be represented by text or icons. There is no limitation here. For example, when the AUTO function of channel 1 is turned off, the prompt message can be "The AUTO function of channel 1 is turned off". The prompt message can also be an icon of the AUTO button of channel 1 being turned off; when the AUTO function of channel 2 is in sleep mode, the prompt message can be "The AUTO function of channel 2 is in sleep mode".
[0059] After the oscilloscope channel's AUTO function is turned off or enters sleep mode, the oscilloscope channel's AUTO function is re-enabled according to user instructions.
[0060] After the AUTO function of an oscilloscope channel is turned off or the oscilloscope enters sleep mode, the user sees a prompt message on the oscilloscope screen indicating that the AUTO function of the oscilloscope channel is turned off. The user needs to press the AUTO button to re-enable the AUTO function of the oscilloscope channel.
[0061] The user command can be understood as a command from the user to turn on the AUTO function of the oscilloscope channel. The user command can be triggered when the user presses the AUTO button.
[0062] Example 2
[0063] FIG3 is a flow chart of a method for displaying and processing an oscilloscope signal waveform according to a second embodiment of the present invention. This second embodiment is described based on the above embodiments. For details not yet provided in this embodiment, please refer to the first embodiment.
[0064] As shown in FIG3 , a method for displaying and processing an oscilloscope signal waveform provided in the second embodiment of the present application includes the following steps.
[0065] S210. Turn on the AUTO function of some oscilloscope channels.
[0066] S220 : Compare the input port level of at least one oscilloscope channel among some oscilloscope channels with an input voltage threshold set inside the oscilloscope.
[0067] S230: If the input port level is greater than the input voltage threshold, determine that a signal is connected to the oscilloscope channel whose input port level is greater than the input voltage threshold.
[0068] When a signal is connected to an oscilloscope channel, the level of the oscilloscope channel's input port will increase. At this time, the input port level of the oscilloscope channel is compared with the input voltage threshold set inside the oscilloscope. If the input port level is greater than the input voltage threshold, it means that a signal is connected to the oscilloscope channel.
[0069] S240: When it is detected that a signal is connected to at least one of the oscilloscope channels, the AUTO function of the oscilloscope channel with the signal is used to automatically adjust the time base, vertical scale, and offset parameters of the oscilloscope channel with the signal to generate an input signal display suitable for observation.
[0070] Using the AUTO function in each channel can automatically adjust the channel's time base, vertical scale, offset and other parameters to ensure that the size and position of the signal waveform to be tested are at a position suitable for the tester to observe the waveform.
[0071] The second embodiment of the present application provides an oscilloscope signal waveform display processing method, which first turns on the AUTO function of some oscilloscope channels; then compares the input port level of the oscilloscope channel with the input voltage threshold set inside the oscilloscope; if the input port level is greater than the input voltage threshold, it is determined that there is a signal access to the oscilloscope channel; finally, when it is detected that there is a signal access to the oscilloscope channel, the AUTO function of the oscilloscope channel is used to automatically adjust the time base and vertical scale and offset parameters of the corresponding oscilloscope channel to produce an input signal display suitable for observation. The method provides an input signal detection function, that is, detecting whether there is a signal access, which can accurately detect whether there is a signal access to the oscilloscope channel based on the input port level of the oscilloscope channel.
[0072] Example 3
[0073] FIG4 is a flow chart of a method for displaying and processing an oscilloscope signal waveform according to a second embodiment of the present invention. This second embodiment is described based on the above embodiments. For details not yet provided in this embodiment, please refer to the first embodiment.
[0074] As shown in FIG4 , a method for displaying and processing an oscilloscope signal waveform provided in the second embodiment of the present application includes the following steps.
[0075] S310. Turn on the AUTO function of some oscilloscope channels.
[0076] S320: When a rising edge or a falling edge is detected in at least one oscilloscope channel among some oscilloscope channels, determine that a signal is connected to the at least one oscilloscope channel.
[0077] Since the signal has a rising edge and a falling edge, if a rising edge or a falling edge is detected on an oscilloscope channel, it means that there is an input signal on the oscilloscope channel.
[0078] S330: When it is detected that a signal is connected to at least one of the oscilloscope channels, the AUTO function of the oscilloscope channel to which the signal is connected is used to automatically adjust the time base, vertical scale, and offset parameters of the oscilloscope channel to which the signal is connected, so as to generate an input signal display suitable for observation.
[0079] Using the AUTO function in each channel can automatically adjust the channel's time base, vertical scale, offset and other parameters to ensure that the size and position of the signal waveform to be tested are at a position suitable for the tester to observe the waveform.
[0080] The third embodiment of the present application provides an oscilloscope signal waveform display processing method, which first turns on the AUTO function of one or more oscilloscope channels; then, when the oscilloscope channel detects a rising edge or a falling edge, determines that a signal is connected to the oscilloscope channel; finally, when it is detected that a signal is connected to the oscilloscope channel, the AUTO function of the oscilloscope channel is used to automatically adjust the time base and vertical scale and offset parameters of the corresponding oscilloscope channel to produce an input signal display suitable for observation. The method provides an input signal detection function, that is, detecting whether a signal is connected to the oscilloscope channel. This function can accurately detect whether a signal is connected to the oscilloscope channel based on whether the oscilloscope channel can detect a rising edge or a falling edge.
[0081] The embodiment of the present application provides an implementation method based on the technical solutions of the above-mentioned multiple embodiments.
[0082] As an implementation method of this embodiment, Figure 5 is a flowchart of an oscilloscope signal waveform display processing method provided in an exemplary embodiment of this application. As shown in Figure 5, it includes the following process.
[0083] Select some oscilloscope channels and turn on the AUTO function of some oscilloscope channels; obtain the input signal detection conditions set by the system default or the input signal detection conditions defined by the user; detect whether there is a signal input to the oscilloscope channel according to the input signal detection conditions; if there is a signal input to the oscilloscope channel, use the AUTO function of the corresponding oscilloscope channel to automatically adjust the horizontal time base, vertical scale, offset and other parameters of the oscilloscope channel according to the input signal amplitude, frequency and other parameters; display the adjusted waveform on the oscilloscope screen.
[0084] If no signal is detected input to the oscilloscope channel according to the input signal detection conditions, the AUTO function of the oscilloscope channel is turned off or the channel enters sleep mode; it is detected whether the number of times a signal is accessed is greater than a preset number. If it is detected that the number of times a signal is accessed is greater than a preset number, the AUTO function of the oscilloscope channel is turned off or the channel enters sleep mode, and a corresponding prompt message pops up on the display screen of the oscilloscope to prompt the user to turn off the AUTO function of the oscilloscope channel or enter sleep mode; if it is detected that the number of times a signal is accessed is not greater than a preset number, the oscilloscope channel continues to be detected whether a signal is input to the channel.
[0085] In this embodiment, by adding an input signal detection function and an AUTO function to the oscilloscope data processing module, when the tester uses the oscilloscope to test different signals, after setting one or more channels of the oscilloscope to AUTO mode, the oscilloscope channel will automatically adjust the channel time base, vertical scale, offset, etc. each time a signal is detected, so that the size and position of the waveform of the signal to be tested are at a position suitable for the tester to observe the waveform, without the tester having to manually adjust the relevant parameters of the oscilloscope channel.
[0086] The implementation methods of input signal detection include but are not limited to the following methods: 1. The input threshold voltage is set inside the oscilloscope system. When the level of the channel input port exceeds the threshold voltage, it is considered that a signal is connected to the channel; 2. When a valid signal is connected to the oscilloscope channel, due to the change in the channel port level, an instantaneous rising edge or falling edge will be generated. When the channel detects the rising edge or falling edge, it is considered that a signal is connected to the channel; 3. The user presets the oscilloscope trigger conditions. When the external signal meets the user-preset trigger conditions, it is considered that a signal is connected to the channel.
[0087] When the AUTO function is turned on for an oscilloscope channel, the channel can automatically adjust the horizontal time base, vertical scale, offset, etc. of the channel after detecting the signal input through different methods, so that the size and position of the waveform of the signal to be tested are at a position suitable for the tester to observe the waveform.
[0088] During the input signal detection process of the oscilloscope, actions such as closing / opening the oscilloscope channel and switching gears are involved. To prevent the oscilloscope channel from falling into an infinite loop due to no signal input after the oscilloscope turns on the AUTO function, after the oscilloscope turns on the channel's AUTO function and the system determines that there is no valid signal input to the oscilloscope channel, the input signal detection function will go into sleep for a certain period of time (set by the user), and then re-determine whether the oscilloscope channel has a valid signal access based on the input signal detection conditions. When the number of detections is greater than the user-set value N, the AUTO function of this channel goes into sleep / shutdown, and a corresponding prompt pops up on the oscilloscope human-computer interaction interface. The AUTO function requires user operation to wake up / turn on again.
[0089] In a general measurement scenario of an oscilloscope, when a single channel of an oscilloscope needs to measure multiple different signals, the oscilloscope signal waveform display processing method provided by any embodiment of the present application can automatically adjust the oscilloscope channel parameters after the signal is connected, so that the size and position of the waveform of the signal to be measured are at a position suitable for the tester to observe the waveform, reducing the time for the tester to adjust the oscilloscope channel parameters and improving measurement efficiency.
[0090] Example 4
[0091] Figure 6 is a structural schematic diagram of an oscilloscope signal waveform display and processing device provided in Example 4 of the present application. The device can be used in signal measurement situations, and is suitable for situations where a single channel of an oscilloscope needs to measure multiple different signals. The device can be implemented by software and is generally integrated on an oscilloscope.
[0092] As shown in FIG6 , the device includes: a switch module 110 , a first detection module 120 and a use module 130 .
[0093] The switch module 110 is configured to turn on the automatic AUTO function of some oscilloscope channels; the first detection module 120 is configured to detect whether there is a signal input to the said part of the oscilloscope channels; the use module 130 is configured to use the AUTO function of the oscilloscope channel with the signal input when it is detected that a signal is input to at least one oscilloscope channel among the said part of the oscilloscope channels, and automatically adjust the time base, vertical scale and offset parameters of the oscilloscope channel with the signal input to generate an input signal display suitable for observation.
[0094] In this embodiment, the device first turns on the AUTO function of some oscilloscope channels by opening the module 110; then detects whether there is a signal access to the said part of the oscilloscope channels by the first detection module 120; finally, when it is detected by using the module 130 that there is a signal access to the oscilloscope channel, the AUTO function of the oscilloscope channel is used to automatically adjust the time base, vertical scale and offset parameters of the corresponding oscilloscope channel to generate an input signal display suitable for observation.
[0095] This embodiment provides an oscilloscope signal waveform display processing device, which can reduce the time testers spend adjusting oscilloscope channel parameters, improve measurement efficiency, and reduce the resources used by the processing module to calculate and adjust the channel.
[0096] The AUTO function of the oscilloscope channel is controlled by the AUTO button corresponding to the oscilloscope channel. One AUTO button controls the AUTO function of one oscilloscope channel, or one AUTO button controls the AUTO function of at least two oscilloscope channels.
[0097] When the AUTO function corresponding to one or more oscilloscope channels is turned on, when another signal is connected after one or more oscilloscope channels complete measuring the current signal, the AUTO function can be used to measure the other signal directly.
[0098] The oscilloscope channel with the AUTO function turned on automatically adjusts the time base, vertical scale, and offset parameters of the oscilloscope channel; the oscilloscope channel with the AUTO function not turned on manually adjusts the time base, vertical scale, and offset parameters of the oscilloscope channel.
[0099] The first detection module 120 is configured to detect whether some of the oscilloscope channels have signal input according to a detection condition set inside the oscilloscope, or detect whether some of the oscilloscope channels have signal access according to a detection condition preset by a user.
[0100] Based on the above, the first detection module 120 is configured to: compare the input port level of at least one oscilloscope channel among the said part of the oscilloscope channels with the input voltage threshold set inside the oscilloscope; if the input port level is greater than the input voltage threshold, it is determined that the oscilloscope channel whose input port level is greater than the input voltage threshold has a signal connected.
[0101] The first detection module 120 is configured to determine that a signal is connected to at least one oscilloscope channel in the part of the oscilloscope channels when a rising edge or a falling edge is detected in the at least one oscilloscope channel.
[0102] The device also includes a second detection module, which is configured to stop detecting whether there is signal access to the oscilloscope channel without signal access within a preset time when it is detected that there is at least one oscilloscope channel without signal access in the part of the oscilloscope channels, and continue to detect whether there is signal access to the oscilloscope channel without signal access after the preset time.
[0103] The device also includes a shutdown module, which is configured to shut down the AUTO function of the oscilloscope channel that has detected whether a signal has been accessed more than the preset value or enter a sleep mode when the number of times the signal has been accessed is greater than a preset value, and pop up a corresponding prompt message on the display screen of the oscilloscope to prompt the user that the AUTO function of the oscilloscope channel that has detected whether a signal has been accessed more than the preset value is shut down or enters a sleep mode.
[0104] Based on the above, the device also includes an activation module, which is configured to reopen the AUTO function of some of the oscilloscope channels among all the oscilloscope channels according to user instructions after the AUTO function of the oscilloscope channel whose number of signal access detections is greater than a preset value is turned off or enters sleep mode.
[0105] The above-mentioned oscilloscope signal waveform display processing device can execute the oscilloscope signal waveform display processing method provided by any embodiment of the present application, and has functional modules corresponding to the execution method.
[0106] Example 4
[0107] A fourth embodiment of the present application provides an oscilloscope, wherein each oscilloscope channel of the oscilloscope corresponds to an AUTO button, and the AUTO button can be a physical button or a virtual button on a touch screen.
[0108] The AUTO function of the oscilloscope channel is controlled by the AUTO button corresponding to the oscilloscope channel. One AUTO button controls the AUTO function of one oscilloscope channel, or one AUTO button controls the AUTO function of at least two oscilloscope channels.
[0109] When the AUTO function of some oscilloscope channels is turned on, when another signal is connected after some oscilloscope channels complete measuring the current signal, the AUTO function is directly used to measure the other signal.
[0110] The oscilloscope channel with the AUTO function turned on automatically adjusts the time base, vertical scale, and offset parameters of the oscilloscope channel; the oscilloscope channel with the AUTO function not turned on manually adjusts the time base, vertical scale, and offset parameters of the oscilloscope channel.
[0111] The above-mentioned oscilloscope can execute the oscilloscope signal waveform display processing method provided in any embodiment of the present application, and has a functional module corresponding to the execution method.
[0112] The technical solution of the embodiment of the present application turns on the automatic AUTO function of some oscilloscope channels; detects whether there is a signal access to the said part of the oscilloscope channels; when it is detected that a signal is accessed to the oscilloscope channel, uses the AUTO function of the oscilloscope channel to automatically adjust the time base, vertical scale and offset parameters of the corresponding oscilloscope channel to produce an input signal display suitable for observation. This solves the problems of low signal measurement efficiency caused by related technologies and excessive resource usage and long waiting time for measurement results caused by the oscilloscope processing module calculating and adjusting multiple channels. It improves signal measurement efficiency, reduces the resource load of the oscilloscope processing module, and shortens the waiting time for measurement results.
Claims
1. An oscilloscope signal waveform display processing method, comprising: Turn on the AUTO function of some oscilloscope channels; Detecting whether some of the oscilloscope channels have signal access; When it is detected that at least one of the oscilloscope channels has a signal connected, the AUTO function of the oscilloscope channel with the signal connected is used to automatically adjust the time base, vertical scale and offset parameters of the oscilloscope channel with the signal connected to generate an input signal display suitable for observation.
2. The method according to claim 1, wherein: The AUTO functions of some of the oscilloscope channels are controlled by their respective AUTO buttons. One AUTO button controls the AUTO function of one oscilloscope channel, or one AUTO button controls the AUTO functions of at least two oscilloscope channels.
3. The method according to claim 1, wherein: After the AUTO function of some of the oscilloscope channels is turned on, when at least one of the some of the oscilloscope channels completes measurement of a current signal and then accesses another signal, the AUTO function is directly used to measure the other signal.
4. The method according to claim 1, wherein: The oscilloscope channel with the AUTO function turned on automatically adjusts the time base, vertical scale and offset parameters of the oscilloscope channel with the AUTO function turned on; the oscilloscope channel with the AUTO function not turned on manually adjusts the time base, vertical scale and offset parameters of the oscilloscope channel with the AUTO function not turned on.
5. The method according to claim 1, wherein: The detecting whether some of the oscilloscope channels have signal access includes: Whether signals are connected to some of the oscilloscope channels is detected according to detection conditions set inside the oscilloscope, or whether signals are connected to some of the oscilloscope channels is detected according to detection conditions preset by the user.
6. The method according to claim 5, wherein: The detecting whether some of the oscilloscope channels have signal access according to the detection conditions set inside the oscilloscope includes: Comparing the input port level of at least one oscilloscope channel among the part of oscilloscope channels with an input voltage threshold value set inside the oscilloscope; When the input port level is greater than the input voltage threshold, it is determined that a signal is connected to the oscilloscope channel whose input port level is greater than the input voltage threshold.
7. The method according to claim 5, wherein: The detecting whether some of the oscilloscope channels have signal access according to the detection conditions set inside the oscilloscope includes: When at least one oscilloscope channel among the part of the oscilloscope channels detects a rising edge or a falling edge, it is determined that a signal is connected to the at least one oscilloscope channel.
8. The method according to claim 1, further comprising: When it is detected that at least one of the oscilloscope channels has no signal access, the detection of whether the oscilloscope channels with no signal access have signal access is stopped within a preset time, and after the preset time, the detection of whether the oscilloscope channels with no signal access have signal access is continued.
9. The method according to claim 1 or 8, further comprising: When the number of times of detecting whether there is signal access is greater than a preset value, the AUTO function of the oscilloscope channel that detects whether there is signal access greater than the preset value will be turned off or enter sleep mode, and a corresponding prompt message will pop up on the display screen of the oscilloscope to prompt the user that the AUTO function of the oscilloscope channel that detects whether there is signal access greater than the preset value will be turned off or enter sleep mode.
10. The method according to claim 9, further comprising: After the AUTO function of the oscilloscope channel whose number of signal access detections is greater than a preset value is turned off or enters a sleep mode, the AUTO function of some oscilloscope channels among all oscilloscope channels is reopened according to a user instruction.
11. An oscilloscope signal waveform display processing device, comprising: The switch module is set to turn on the automatic AUTO function of some oscilloscope channels; A first detection module is configured to detect whether some of the oscilloscope channels have signal access; A use module is configured to, when it is detected that at least one of the oscilloscope channels has a signal connected, use the AUTO function of the oscilloscope channel with the signal connected to automatically adjust the time base, vertical scale and offset parameters of the oscilloscope channel with the signal connected to generate an input signal display suitable for observation.
12. An oscilloscope, wherein: Each oscilloscope channel of the oscilloscope corresponds to an automatic AUTO button, and the oscilloscope executes the oscilloscope signal waveform display processing method according to any one of claims 1 to 10.
Citation Information
Patent Citations
Control method for automatic setting of digital fluorescence oscilloscope
CN103809002A
Automatic setting method of digital oscilloscope
CN105510664A
Digital oscilloscope quick and automatic setting method based on hardware centralized setting
CN106597048A
Oscilloscope signal waveform display processing method and device and oscilloscope
CN117074749A
Waveform measuring device
JP2003344455A