Priority is claimed on Japanese Patent Application No. 2004-121216, filed Apr. 16, 2004, the content of which is incorporated herein by reference.
1. Field of the Invention
This invention relates to a waveform measuring apparatus that writes measurement data to a memory for waveform data acquisition (hereinafter “acquisition memory”) based on a trigger signal. In a waveform measurement instrument that can write multiple acquisition results by dividing the acquisition memory, such as a digital oscilloscope, this invention provides devices for sequentially referring to measurement data in multiple acquisition memories after the acquisition stops.
2. Description of the Related Art
Related art regarding a waveform measuring apparatus that writes measurement data to an acquisition memory based on a trigger signal is disclosed in publications such as Japanese Unexamined Patent Application, First publication No. 5-119069.
Reference numeral 3 represents a trigger signal generation unit that generates a trigger signal by using an analog signal Ei, that is input to the apparatus, and preset conditions. Reference numeral 4 is an AD conversion unit that adjusts the analog signal Ei input to the apparatus to an appropriate level, samples it, digitizes it, and creates measurement data to be written in the acquisition memory.
Reference numeral 5 represents an acquisition control unit that is controlled by a control signal from the processor 1. Reference numeral 6 represents an acquisition memory having addresses of (n1+n2) bits and a data width of n3 bits. The acquisition memory 6 reads/writes measurement data based on the trigger signal.
In accordance with the control signal from the processor 1, the acquisition control unit 5 executes processing to write measurement data from the AD conversion unit 4 to the acquisition memory 6, and to pass measurement data that is read to the display unit 2.
An upper bit counter 7 and a lower bit counter 8 manage addresses for reading and writing to/from the acquisition memory 6, and are controlled by the acquisition control unit 5.
The upper bit counter 7 specifies the upper n1 bits of an address in the acquisition memory 6; an initial value of the upper bit counter 7 is set by the processor 1 via the acquisition control unit 5, and is incremented by 1 each time the trigger signal is generated.
The lower bit counter 8 specifies the lower n2 bits of an address in the acquisition memory 6; a clock signal is applied to the lower bit counter 8 from the processor 1 via the acquisition control unit 5, shifting the specified address.
When acquiring and writing measurement data, the processor 1 presets an initial value in the upper bit counter 7 via the acquisition control unit 5, and acquisition starts when a trigger signal is input. After acquisition starts, the acquisition control unit 5 supplies a clock to the lower bit counter 8, and the lower bit counter 8 sequentially generates addresses for storing the measurement data in the acquisition memory 6.
The output of the upper bit counter 7 is constant until the trigger signal generation unit 3 outputs the next trigger signal, so that the measurement data is stored within a range where the upper n1 bits of the address in the acquisition memory 6 are determined by the output of the upper bit counter 7.
When the trigger signal generation unit 3 outputs the next trigger signal, the acquisition control unit 5 adds 1 to the set value of the upper bit counter 7, thereby shifting the storage range in the acquisition memory 6 to another area.
If address management in the acquisition memory 6 is executed so that (n1+n2)=10, n1=3, and n2=7, the total number of addresses is 1024; these can be divided into areas of eight groups, each containing 128 addresses, by controlling the upper three bits.
To read and display the measurement data, the upper n1 bits of an address that corresponds to an area being read in the upper bit counter 7 are set by the processor 1 via the acquisition control unit 5, a clock signal of n2 bits is applied to the lower bit counter 8 via the acquisition control unit 5, and the measurement data in that area is read and passed to the display unit 2.
When the set value of the upper bit counter 7 is incremented, the measurement data displayed by the display unit 2 is initialized and new data is displayed. Data can also be overwritten by changing the setting of the display unit 2.
In conventional waveform measuring apparatuses, to read and display measurement data that is obtained by multiple acquisitions and written and stored in multiple areas of an acquisition memory, after acquisition stops, the user must either specify an area for display, then read and display data of one acquisition at a time, or overlap all the data and display them simultaneously.
This makes it impossible to reproduce waveforms that change at high speed with each acquisition, such as switching waveforms that change when a switching regulator circuit activates.
Accordingly, it is an object of this invention to realize a waveform measuring apparatus that can sequentially and continuously read measurement data from an acquisition memory, where the measurement data has been written in multiple acquisitions, after acquisition stops.
In order to achieve the above objects, the present invention is configured as follows.
In the first aspect of the present invention, a waveform measuring apparatus that writes measurement data to an acquisition memory based on a trigger signal, comprises a pseudo trigger signal generation unit that continuously reads measurement data that is written in the acquisition memory.
In the second aspect of the present invention, the waveform measuring apparatus according to the first aspect, further comprises a switch unit that switches the trigger signal and the pseudo trigger signal.
In the third aspect of the present invention, the waveform measuring apparatus according to the first and second aspects, further comprises a write prohibit unit that prevents overwriting to the acquisition memory while measurement data is being read from the acquisition memory in accordance with the pseudo trigger signal.
In the fourth aspect of the present invention, in the waveform measuring apparatus according to one of the first to the third aspects, addresses in the acquisition memory are managed by an upper bit counter and a lower bit counter; a set value of the upper bit counter is incremented and a clock signal is supplied to the lower bit counter each time the trigger signal or the pseudo trigger signal is input.
In the fifth aspect of the present invention, in the waveform measuring apparatus according to one of the first to the fourth, the pseudo trigger signal is created by a processor.
The present invention will be explained in detail using the drawings.
In
The write prohibit unit 101 prevents overwriting of acquired measurement data by masking write control signals to the acquisition memory 6 while a pseudo trigger signal is being input.
Reference numeral 200 represents a pseudo trigger generation unit 200 that creates a fixed-cycle pseudo trigger signal based on a setting made by the processor 1. Reference numeral 300 represents a switch unit that selectively connects the output from the trigger signal generation unit 3 or the output from the pseudo trigger generation unit 200 to the acquisition control unit 100, in compliance with a manual operation that is performed as necessary.
In an acquisition mode for writing measurement data to the acquisition memory, the switch unit 300 operates in the same manner as a conventional apparatus by connecting the output of the trigger signal generation unit 3 to the acquisition control unit 100. While acquisition is stopped, the switch unit 300 operates in the same manner as a conventional apparatus if the output of the trigger signal generation unit 3 is connected to the acquisition control unit 100.
When an acquisition is executed while the switch unit 300 is connecting the output of the pseudo trigger generation unit 200 to the acquisition control unit 100, the write prohibit unit 101 prevents the acquisition control unit 100 from sending write control signals to the acquisition memory 6 as mentioned above, protecting acquired measurement data from being overwritten.
Therefore, measurement data that is stored in areas of the acquisition memory 6 is sequentially read in synchronism with the pseudo trigger signal as though it were acquired data, making it possible to continuously reproduce the waveforms of different measurement data in each acquisition.
While the pseudo trigger signal is generated by the pseudo trigger generation unit 200 in the embodiment described above, it can be created by the processor 1 instead.
Number | Date | Country | Kind |
---|---|---|---|
2004-121216 | Apr 2004 | JP | national |
Number | Name | Date | Kind |
---|---|---|---|
5929838 | Hall | Jul 1999 | A |
6271773 | Kobayashi | Aug 2001 | B1 |
6279130 | Moser | Aug 2001 | B1 |
6459256 | Pickerd | Oct 2002 | B1 |
6892150 | Pickerd et al. | May 2005 | B2 |
6909979 | Saitou et al. | Jun 2005 | B2 |
20020147554 | Pickerd | Oct 2002 | A1 |
20060020407 | Montijo et al. | Jan 2006 | A1 |
Number | Date | Country |
---|---|---|
5-119069 | May 1993 | JP |
Number | Date | Country | |
---|---|---|---|
20050234665 A1 | Oct 2005 | US |