Disclosure of Invention
The embodiment of the invention provides a transient signal measurement method, which aims to solve the problem of low measurement accuracy of the existing measurement method, and processes a first signal to be measured acquired in a first preset time period through a first signal processing branch to obtain a first transient signal, and processes a second signal to be measured acquired in a second preset time period through a second signal processing branch to obtain a second transient signal, so that the signal to be measured can be divided into two sections for processing, partial signals are not required to be discarded, and the measurement accuracy of the transient signal is improved.
In a first aspect, an embodiment of the present invention provides a transient signal measurement method, including the steps of:
In a first preset period, a control signal acquisition circuit acquires a first signal to be measured, and performs first signal processing on the first signal to be measured through a first signal processing branch to acquire a first transient signal;
in a second preset period, a control signal acquisition circuit acquires a second signal to be measured, and performs second signal processing on the second signal to be measured through a second signal processing branch to acquire a second transient signal, wherein the starting time point of the second preset period is later than the starting time point of the first preset period;
and obtaining a measurement result of the transient signal to be measured based on the first transient signal and the second transient signal.
Optionally, before the step of acquiring the second signal to be measured by the control signal acquisition circuit, the method further includes:
Acquiring a preset waveform;
and determining the starting time point of the second preset period according to the preset waveform.
Optionally, the second signal processing branch includes an analog switch, in a second preset period, the step of controlling the signal acquisition circuit to acquire a second signal to be measured, and performing second signal processing on the second signal to be measured through the second signal processing branch, so as to acquire a second transient signal includes:
And at the starting time point of the second preset period, controlling the analog switch to switch on the second signal processing branch and the signal acquisition circuit so that the signal acquisition circuit acquires a second signal to be measured in the second prediction period, and performing second signal processing on the second signal to be measured through the second signal processing branch to obtain a second transient signal.
Optionally, the second signal processing branch further includes a relay and a second signal amplifying circuit, where the relay is electrically connected to the second signal amplifying circuit, and before the step of performing second signal processing on the second signal to be measured through the second signal processing branch to obtain a second transient signal, the method further includes:
and controlling the relay to adjust the second signal amplifying circuit so that the second signal amplifying circuit works at a preset amplifying time.
Optionally, the first signal processing branch includes a first signal amplifying circuit and an attenuating circuit, and the step of performing first signal processing on the first signal to be measured through the first signal processing branch to obtain a first transient signal includes:
amplifying the first signal to be measured through the first signal amplifying circuit to obtain an amplified signal corresponding to the first signal to be measured;
and carrying out attenuation processing on the amplified signal through the attenuation circuit to obtain the first transient signal.
Optionally, the step of obtaining the measurement result of the transient signal to be measured based on the first transient signal and the second transient signal includes:
converting the first transient signal and the second transient signal into corresponding digital signals;
and obtaining a measurement result of the transient signal to be measured based on the digital signal corresponding to the first transient signal and the second transient signal.
In a second aspect, an embodiment of the present invention provides a transient signal measurement apparatus, including:
the first processing module is used for controlling the signal acquisition circuit to acquire a first signal to be measured in a first preset period, and performing first signal processing on the first signal to be measured through the first signal processing branch circuit to acquire a first transient signal;
The second processing module is used for controlling the signal acquisition circuit to acquire a second signal to be measured in a second preset time period, and performing second signal processing on the second signal to be measured through a second signal processing branch circuit to acquire a second transient signal, wherein the starting time point of the second preset time period is later than the starting time point of the first preset time period;
And the third processing module is used for obtaining a measurement result of the transient signal to be measured based on the first transient signal and the second transient signal.
In a third aspect, an embodiment of the present invention provides a transient signal measurement system, including a signal acquisition circuit, a first signal processing branch, a second signal processing branch, and a data processing and circuit control system;
The signal acquisition circuit is used for acquiring a first signal to be measured in a first preset period and acquiring a second signal to be measured in a second preset period;
The first signal processing branch is used for performing first signal processing on the first signal to be measured to obtain a first transient signal;
The second signal processing branch is used for performing second signal processing on the second signal to be measured to obtain a second transient signal;
The data processing and circuit control system is used for obtaining a measurement result of the transient signal to be measured based on the first transient signal and the second transient signal.
In a fourth aspect, an embodiment of the present invention provides an electronic device, including a memory, a processor, and a computer program stored in the memory and capable of running on the processor, where the processor implements the steps in the transient signal measurement method provided by the embodiment of the present invention when executing the computer program.
In a fifth aspect, embodiments of the present invention provide a computer readable storage medium, on which a computer program is stored, which when executed by a processor implements the steps in the transient signal measurement method provided by the embodiments of the present invention.
In the embodiment of the invention, a signal acquisition circuit is controlled to acquire a first signal to be measured in a first preset period, a first signal processing branch is used for carrying out first signal processing on the first signal to be measured to acquire a first transient signal, a signal acquisition circuit is controlled to acquire a second signal to be measured in a second preset period, a second signal processing is carried out on the second signal to be measured through the second signal processing branch to acquire a second transient signal, wherein the starting time point of the second preset period is later than the starting time point of the first preset period, and a measurement result of the transient signal to be measured is acquired based on the first transient signal and the second transient signal. The first signal processing branch is used for processing the first signal to be measured acquired in the first preset time period to obtain a first transient signal, the second signal processing branch is used for processing the second signal to be measured acquired in the second preset time period to obtain a second transient signal, and therefore the signal to be measured can be divided into two sections for processing, partial signals do not need to be discarded, and the measurement accuracy of the transient signal is improved.
Detailed Description
The following description of the embodiments of the present invention will be made clearly and completely with reference to the accompanying drawings, in which it is apparent that the embodiments described are only some embodiments of the present invention, but not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
The transient signal measurement system provided by the embodiment of the invention comprises a signal acquisition circuit, a first signal processing branch, a second signal processing branch and a data processing and circuit control system.
In the embodiment of the invention, the signal acquisition circuit is used for acquiring a first signal to be measured in a first preset period and acquiring a second signal to be measured in a second preset period, the first signal processing branch is used for performing first signal processing on the first signal to be measured to obtain a first transient signal, the second signal processing branch is used for performing second signal processing on the second signal to be measured to obtain a second transient signal, and the data processing and circuit control system is used for obtaining a measurement result of the transient signal to be measured based on the first transient signal and the second transient signal.
Furthermore, the signal acquisition circuit can comprise a sensor and a protection circuit, wherein the sensor can be a coil and is used for receiving transient electromagnetic signals, and the protection circuit is used for preventing the system from being damaged due to the fact that the system receives signals with excessive intensity. The coil is electrically connected with the first signal processing circuit and the second signal processing circuit through the protection circuit, and the output end of the coil is electrically connected with the input end of the protection circuit.
The first signal processing branch circuit comprises a first signal amplifying circuit and an attenuation circuit, wherein the first signal amplifying circuit can be a single-stage amplifying circuit, the corresponding amplification factor is doubled, and the attenuation circuit is used for attenuating an output signal of the first signal amplifying circuit and is combined with the first signal amplifying circuit to be called as a first signal processing circuit. The input end of the first signal amplifying circuit is electrically connected with the output end of the protection circuit, and the input end of the attenuation circuit is electrically connected with the output end of the first signal amplifying circuit.
The second signal processing branch circuit comprises an analog switch, a second signal amplifying circuit and a gain control circuit, wherein the analog switch is used for controlling the access time of the second signal processing circuit, the second signal amplifying circuit can be a multi-stage amplifying circuit, the corresponding amplifying times are multiple, the amplifying times can be determined through a resistor value, the gain control circuit can be a relay, and the gain control circuit is used for controlling the gain of the second signal amplifying circuit. The input end of the analog switch is electrically connected with the output end of the protection circuit, the output end of the analog switch is electrically connected with the input end of the second signal processing circuit, and the relay is electrically connected with the second signal processing circuit.
The data processing and circuit control system comprises an ADC circuit, a timing and control logic unit and a processing unit, wherein the ADC circuit is used for converting an analog signal (a first transient signal and a second transient signal) subjected to pre-processing into a digital signal, the timing and control logic unit is used for receiving the digital signal output by the ADC and sending a control command, and the processing unit is used for receiving the data signal uploaded by the timing and control logic unit and controlling the timing and control logic unit to command the whole instrument.
It should be noted that, the attenuation speed of the transient electromagnetic signal is extremely fast, the signal intensity can be from tens of volts to several microvolts, and the transient electromagnetic signal can be divided into early signal and late signal, the intensity of the early signal is large, and the intensity of the late signal is small. If the gain of the signal amplifying circuit is large enough to concentrate on the early signal, the gain of the signal amplifying circuit is not large enough to receive the late signal for subsequent data processing, and if the gain of the circuit is large enough to amplify the early signal with considerable signal strength, the range of the receiving system is far exceeded. To prevent instrument damage, only early signals can be discarded. The first signal processing branch may be referred to as an early signal processing branch, the first signal amplifying circuit may be referred to as an early signal amplifying circuit, the second signal processing branch may be referred to as a late signal processing branch, and the second signal amplifying circuit may be referred to as a late signal amplifying circuit.
In the embodiment of the invention, the timing and control logic unit sends a command to control the opening and closing of the relay so as to select the gain of the advanced signal processing circuit, an ADC configuration command is sent, the specific gain value is determined by the processing unit, the timing and control logic unit sends a command to control the analog switch to ground the advanced signal processing circuit, the related switching time point can be determined after the pre-acquisition is carried out, one to two preset waveforms are input in advance, the timing and control logic unit is used for sending the waveform to the processing unit, the optimal switching time is obtained after the analysis of the processing unit, and the timing and control logic unit is controlled to finish the switching. The method comprises the steps of starting to collect signals, outputting output signals of an early signal processing circuit to a timing and control logic unit after processing the output signals, outputting the obtained results to the processing unit after simple operation, controlling an analog switch by the timing and control logic unit under the command of the processing unit, enabling the input end of a late signal processing circuit to be connected with the output end of a protection circuit, enabling two groups of ADC circuits to work simultaneously, enabling the timing and control logic unit to process two groups of data, and sending the data to the processing unit.
Further, the timing and control logic unit may be an FPGA (field programmable gate array), and the processing unit may be an ARM control board.
Referring to fig. 1, fig. 1 is a schematic diagram of a transient signal measurement system according to an embodiment of the present invention, where the transient signal measurement system includes a signal processing branch 1 and a data processing and circuit control system 2, the signal processing branch 1 and the data processing and circuit control system 2 are connected through a circuit board, the signal processing branch 1 includes a coil 3 for receiving a transient electromagnetic signal, a protection circuit 4 for preventing the system from receiving a signal with excessive intensity and damaging the signal, an early signal amplifying circuit 5 having a single stage with a single amplification factor of one time, a late signal amplifying circuit 8 having a four stage with a single amplification factor of five times, an analog switch 7 for determining an access timing of the late signal processing circuit, a relay circuit 9 for controlling a gain of the late signal amplifying circuit, and the relay circuit and the late signal amplifying circuit are combined to be called as the late signal processing circuit, and an attenuation circuit 6 for attenuating an output signal of the early signal amplifying circuit and the early signal amplifying circuit.
The data processing and circuit control system comprises a 2:ADC circuit 10 for converting the analog signals subjected to pre-processing into digital signals, an FPGA circuit 11 for receiving the digital signals output by the ADC and sending control commands, an ARM control board 12 for receiving the data signals of the FPGA and controlling the FPGA, and a host computer 13 mainly used for mobile equipment such as a mobile phone and the like for receiving the data signals uploaded by the ARM control board and controlling the ARM control board to command the whole instrument.
The host computer 13 is mainly a mobile device such as a mobile phone, and transmits and receives signal data by using an APP. The host computer is connected with the ARM control board 12 through Bluetooth and a wireless network.
In the transient signal measurement system, the control command of the upper computer comprises controlling the amplification factor of the late signal processing circuit before starting measurement and controlling the switching time of the analog switch in the measurement process.
Further, referring to fig. 2, fig. 2 is a block diagram of a protection circuit according to an embodiment of the present invention, as shown in fig. 2, a detonator 14 is used to prevent a device from being damaged due to strong signal input such as lightning strike, current limiting resistors 15 and 19 and TVS16 and 20 are used for transient suppression to roughly limit the input signal amplitude below 15V, current limiting resistors 17 and 21 and clamping diodes 18 and 22 are used for clamping to more precisely limit the signal amplitude below 15V.
Further, referring to fig. 3, fig. 3 is a block diagram of an early signal processing circuit according to an embodiment of the present invention, as shown in fig. 3, two operational amplifiers are built in the operational amplifier chip 23, and one chip can meet the requirement of a differential circuit. The operational amplifier is arranged into a voltage follower or buffer circuit, the amplification factor is doubled, so that the characteristic of the strength of early signals is dealt with, the resistors 26, 27, 30 and 31 together form the attenuation circuit 6, and the strength of the early signals is further reduced, so that the range requirement of the ADC circuit 10 is met. The gain of the attenuation circuit can be determined by the values of the resistors 26, 27, 30, 31.
Further, referring to fig. 4, fig. 4 is a block diagram of an analog switch according to an embodiment of the present invention, as shown in fig. 4, the resistors 32 and 34 are current limiting resistors, when the control signals received by the analog switches 33 and 35 are at a low level, the late stage signal processing circuit is grounded through the resistors 32 and 34, and when the control signals are at a high level, the input terminal of the late stage signal processing circuit is connected to the output terminal of the protection circuit 4 through the analog switch.
Further, referring to fig. 5, fig. 5 is a block diagram of a late signal processing circuit according to an embodiment of the present invention, as shown in fig. 5, four single-stage amplifying circuits are provided in total in the late signal processing circuit, wherein the two latter single-stage amplifying circuits are collocated with the relay circuit. Relays 36, 37, 38, 39 are turned on or off in pairs to control whether the differential signal enters op amp 40. The amplification circuit built with the operational amplifier 40 as a core uses resistors 41, 42, 43 to set the amplification factor to 5.
Further, referring to fig. 6, fig. 6 is a flowchart of a transient signal measurement method according to an embodiment of the invention, as shown in fig. 6, the method includes the following steps:
S1, the FPGA11 sends a command to control the opening and closing of the relay so as to select the gain of the late signal processing circuit and sends an ADC10 configuration command.
S2, the FPGA11 sends a command to control the analog switch 7 to connect the late signal processing circuit to the ground.
S3, starting to collect signals.
And S4, the ADC circuit 10 processes the output signal of the early signal processing circuit and outputs the processed output signal to the FPGA11, and after simple operation, the obtained result is output to the ARM control board 12 through an SPI interface and is transmitted to the upper computer 13.
S5, under the command of the upper computer 13, the FPGA11 sends a command to control the analog switch 7, and the input end of the late signal processing circuit is connected to the output end of the protection circuit 4.
S6, two groups of ADC circuits 10 work simultaneously, the FPGA11 processes two groups of data, the results are respectively transmitted to the ARM control board 12, and the results are transmitted to the upper computer 13 after being processed by the control board.
In step S1 of the embodiment of the present invention, a specific gain gear (25,125,625) is determined by the upper computer 13, and the ARM control board 12 is used to send a command to the FPGA 11.
In step S5 of the embodiment of the present invention, the timing at which the upper computer 13 instructs the FPGA11 to control the analog switch 7 needs to be determined by pre-acquisition. The pre-acquisition can be that one to two preset waveforms are input in advance, the waveforms are sent to an ARM control board by using an FPGA, an optimal switching time is obtained after the analysis of an upper computer, and the FPGA is controlled to finish switching.
By implementing the embodiment of the invention, the two signal processing circuits can be used for respectively processing the early signal and the late signal of the transient electromagnetic method, so that two periods are considered, and the transient electromagnetic method data is more comprehensively acquired. The amplification factor of the early signal processing circuit is smaller, and the early signal with larger intensity can be received. After passing through the attenuation circuit, the early signal can be controlled within the range. The amplification factor of the advanced signal processing circuit is multi-stage selectable, and can receive the advanced signal with smaller intensity. In addition, through pre-acquisition processing, the processing unit can obtain proper switching time according to actual conditions, and the control timing and control logic unit completes configuration of the analog switch, so that more ideal data are acquired.
Referring to fig. 7, fig. 7 is a flowchart of another transient signal measurement method according to an embodiment of the invention, as shown in fig. 7, the transient signal measurement method is applied to a data processing and circuit control system or a transient signal measurement device or an electronic apparatus, and the transient signal measurement method includes:
701. And in a first preset period, the control signal acquisition circuit acquires a first signal to be measured, and performs first signal processing on the first signal to be measured through the first signal processing branch circuit to acquire a first transient signal.
In the embodiment of the present invention, the first preset period may be a period corresponding to a first signal to be measured, and the first signal to be measured may also be referred to as an early signal. The first signal processing may include signal amplification processing and signal attenuation processing, and the first transient signal may be obtained by subjecting the first signal to be measured to signal amplification processing and signal attenuation processing.
702. And in a second preset period, controlling the signal acquisition circuit to acquire a second signal to be measured, and performing second signal processing on the second signal to be measured through a second signal processing branch to acquire a second transient signal.
In this embodiment of the present invention, the start time point of the second preset period is later than the start time point of the first preset period.
The second preset period may be a period corresponding to a second signal to be measured, and the second signal to be measured may also be referred to as a late signal. The second signal processing may include signal amplification processing, and the second transient signal may be obtained by performing signal amplification processing on the second signal to be measured.
703. And obtaining a measurement result of the transient signal to be measured based on the first transient signal and the second transient signal.
In the embodiment of the invention, after the first transient signal and the second transient signal are obtained, all signals (including early signals and late signals) of the signal to be measured are obtained, and data processing can be performed through a transient electromagnetic method, so that a measurement result of the transient signal to be measured is obtained. The transient electromagnetic method is a time domain detection method, uses transient signals emitted to the underground to induce a medium to generate a secondary field, and receives the secondary field by a receiving instrument for data processing, so as to obtain the distribution condition of the underground medium.
In the embodiment of the invention, a signal acquisition circuit is controlled to acquire a first signal to be measured in a first preset period, a first signal processing branch is used for carrying out first signal processing on the first signal to be measured to acquire a first transient signal, a signal acquisition circuit is controlled to acquire a second signal to be measured in a second preset period, a second signal processing is used for carrying out second signal processing on the second signal to be measured to acquire a second transient signal, wherein the starting time point of the second preset period is later than the starting time point of the first preset period, and a measurement result of the transient signal to be measured is acquired based on the first transient signal and the second transient signal. The first signal processing branch is used for processing the first signal to be measured acquired in the first preset time period to obtain a first transient signal, the second signal processing branch is used for processing the second signal to be measured acquired in the second preset time period to obtain a second transient signal, and therefore the signal to be measured can be divided into two sections for processing, partial signals do not need to be discarded, and the measurement accuracy of the transient signal is improved.
Optionally, before the step of acquiring the second signal to be measured by the control signal acquisition circuit, a preset waveform may be acquired, and a starting time point of the second preset period is determined according to the preset waveform.
In an embodiment of the present invention, the preset waveform may be a pre-acquired waveform. Specifically, one to two preset waveforms may be input in advance, and the waveforms are sent to the processing unit by using the timing and control logic unit, and an optimal switching time is obtained as a starting time point of the second preset period after the analysis of the processing unit, and the timing and control logic unit is controlled to complete the switching. More specifically, one to two preset waveforms can be input in advance, the waveforms are sent to the ARM control board by using the FPGA, an optimal switching time is obtained after the analysis of the upper computer and is used as a starting time point of a second preset period, and the FPGA is controlled to finish switching.
Optionally, in the step of obtaining the second transient signal by controlling the analog switch Guan Jietong at a starting time point of the second preset period, the second signal processing branch and the signal acquisition circuit so that the signal acquisition circuit acquires the second signal to be measured in the second preset period, and performs second signal processing on the second signal to be measured through the second signal processing branch, so as to obtain the second transient signal.
In the embodiment of the invention, after the optimal switching time is obtained after the analysis of the upper computer, the timing and control logic unit sends a command to control the analog switch to ground the second signal processing circuit. Specifically, under the control of the upper computer, the FPGA sends a command to control the analog switch, and the input end of the second signal processing circuit is connected to the output end of the protection circuit.
Optionally, the second signal processing branch further includes a relay and a second signal amplifying circuit, where the relay is electrically connected to the second signal amplifying circuit, and before the step of performing second signal processing on the second signal to be measured through the second signal processing branch to obtain the second transient signal, the relay may be further controlled to adjust the second signal amplifying circuit, so that the second signal amplifying circuit works at a preset amplification factor.
In the embodiment of the invention, the timing and control logic unit sends a command to control the opening and closing of the relay to select the gain of the second signal processing circuit and send an ADC configuration command. Specifically, the FPGA sends a command to control the opening and closing of the relay to select the gain of the second signal processing circuit, and sends an ADC configuration command. More specifically, the second signal processing circuit comprises a second signal amplifying circuit, the second signal amplifying circuit comprises a plurality of single-stage amplifying circuits, the total number of the single-stage amplifying circuits is four in the second signal processing circuit, and the two latter single-stage amplifying circuits are matched with a relay circuit. The relays are turned on or off every two to control whether the differential signals enter the operational amplifier. The amplifying circuit built by taking the operational amplifier as a core uses a resistor to set the amplifying power to be N.
Optionally, the first signal processing branch circuit includes a first signal amplifying circuit and an attenuation circuit, and in the step of obtaining the first transient signal by performing first signal processing on the first signal to be measured through the first signal processing branch circuit, the first signal to be measured can be amplified through the first signal amplifying circuit to obtain an amplified signal corresponding to the first signal to be measured, and the first transient signal is obtained by performing attenuation processing on the amplified signal through the attenuation circuit.
In the embodiment of the invention, the first signal amplifying circuit is a single-stage amplifying circuit, the amplification factor is doubled, and the attenuation circuit attenuates the output signal of the early signal amplifying circuit. Specifically, in the first signal processing circuit, an operational amplifier is used to form a voltage follower or a buffer circuit, and the amplification factor is doubled, so that the strength characteristics of early signals can be dealt with.
Optionally, in the step of obtaining the measurement result of the transient signal to be measured based on the first transient signal and the second transient signal, the first transient signal and the second transient signal may be converted into corresponding digital signals, and the measurement result of the transient signal to be measured may be obtained based on the digital signals corresponding to the first transient signal and the second transient signal.
In the embodiment of the invention, the ADC circuit processes the output signal of the early signal processing circuit and outputs the processed output signal to the timing and control logic unit, the result is output to the processing unit after simple operation, the timing and control logic unit sends a command to control the analog switch and accesses the input end of the late signal processing circuit to the output end of the protection circuit under the command of the processing unit, and the two groups of ADC circuits work simultaneously, and the timing and control logic unit processes the two groups of data and sends the processed data to the processing unit. Specifically, the two groups of ADC circuits work simultaneously, the FPGA processes the two groups of data, the results are respectively transmitted to the ARM control board, and the results are transmitted to the upper computer after being processed by the control board.
It should be noted that the transient signal measurement method provided by the embodiment of the invention can be applied to devices such as smart phones, computers, servers and the like.
Optionally, referring to fig. 8, fig. 8 is a schematic structural diagram of a transient signal measurement apparatus according to an embodiment of the present invention, as shown in fig. 8, the apparatus includes:
The first processing module 801 is configured to control the signal acquisition circuit to acquire a first signal to be measured in a first preset period, and perform first signal processing on the first signal to be measured through a first signal processing branch to acquire a first transient signal;
The second processing module 802 is configured to control the signal acquisition circuit to acquire a second signal to be measured in a second preset period, and perform second signal processing on the second signal to be measured through a second signal processing branch to acquire a second transient signal, where a start time point of the second preset period is later than a start time point of the first preset period;
And a third processing module 803, configured to obtain a measurement result of the transient signal to be measured based on the first transient signal and the second transient signal.
Optionally, before the second processing module 802, the apparatus further includes:
The acquisition module is used for acquiring a preset waveform;
And the determining module is used for determining the starting time point of the second preset period according to the preset waveform.
Optionally, the second signal processing branch includes an analog switch, and the second processing module 802 includes:
The first processing sub-module is used for controlling the analog switch to be connected with the second signal processing branch and the signal acquisition circuit at the starting time point of the second preset period, so that the signal acquisition circuit acquires a second signal to be measured in the second prediction period, and performs second signal processing on the second signal to be measured through the second signal processing branch to obtain a second transient signal.
Optionally, the apparatus further includes:
And the adjusting module is used for controlling the relay to adjust the second signal amplifying circuit so that the second signal amplifying circuit works at a preset amplifying multiple.
Optionally, the first signal processing branch includes a first signal amplifying circuit and an attenuating circuit, and the first processing module 801 includes:
the second processing submodule is used for amplifying the first signal to be measured through the first signal amplifying circuit to obtain an amplified signal corresponding to the first signal to be measured;
And the third processing submodule is used for carrying out attenuation processing on the amplified signal through the attenuation circuit to obtain the first transient signal.
Optionally, the third processing module 803 includes:
A conversion sub-module, configured to convert the first transient signal and the second transient signal into corresponding digital signals;
and the fourth processing submodule is used for obtaining a measurement result of the transient signal to be measured based on the digital signal corresponding to the first transient signal and the second transient signal.
It should be noted that, the transient signal measurement device provided by the embodiment of the invention can be applied to devices such as a smart phone, a computer, a server and the like which can perform business analysis at a graph level.
The transient signal measuring device provided by the embodiment of the invention can realize each process realized by the transient signal measuring method in the embodiment of the method, and can achieve the same beneficial effects. In order to avoid repetition, a description thereof is omitted.
Referring to fig. 9, fig. 9 is a schematic structural diagram of an electronic device according to an embodiment of the present invention, as shown in fig. 9, including a memory 902, a processor 901, and a computer program for a transient signal measurement method stored in the memory 902 and executable on the processor 901, wherein:
the processor 901 is configured to call a computer program stored in the memory 902, and perform the following steps:
In a first preset period, a control signal acquisition circuit acquires a first signal to be measured, and performs first signal processing on the first signal to be measured through a first signal processing branch to acquire a first transient signal;
in a second preset period, a control signal acquisition circuit acquires a second signal to be measured, and performs second signal processing on the second signal to be measured through a second signal processing branch to acquire a second transient signal, wherein the starting time point of the second preset period is later than the starting time point of the first preset period;
and obtaining a measurement result of the transient signal to be measured based on the first transient signal and the second transient signal.
Optionally, before the step of acquiring the second signal to be measured by the control signal acquisition circuit, the processor 901 further includes:
Acquiring a preset waveform;
and determining the starting time point of the second preset period according to the preset waveform.
Optionally, the second signal processing branch executed by the processor 901 includes an analog switch, and in a second preset period, the step of controlling the signal acquisition circuit to acquire a second signal to be measured, and performing second signal processing on the second signal to be measured through the second signal processing branch, to acquire a second transient signal includes:
And at the starting time point of the second preset period, controlling the analog switch to switch on the second signal processing branch and the signal acquisition circuit so that the signal acquisition circuit acquires a second signal to be measured in the second prediction period, and performing second signal processing on the second signal to be measured through the second signal processing branch to obtain a second transient signal.
Optionally, the second signal processing branch executed by the processor 901 further includes a relay and a second signal amplifying circuit, where the relay is electrically connected to the second signal amplifying circuit, and before the step of performing second signal processing on the second signal to be measured by the second signal processing branch to obtain a second transient signal, the method further includes:
and controlling the relay to adjust the second signal amplifying circuit so that the second signal amplifying circuit works at a preset amplifying time.
Optionally, the first signal processing branch executed by the processor 901 includes a first signal amplifying circuit and an attenuating circuit, and the step of performing first signal processing on the first signal to be measured by using the first signal processing branch to obtain a first transient signal includes:
amplifying the first signal to be measured through the first signal amplifying circuit to obtain an amplified signal corresponding to the first signal to be measured;
and carrying out attenuation processing on the amplified signal through the attenuation circuit to obtain the first transient signal.
Optionally, the step of obtaining the measurement result of the transient signal to be measured, which is performed by the processor 901 and is based on the first transient signal and the second transient signal, includes:
converting the first transient signal and the second transient signal into corresponding digital signals;
and obtaining a measurement result of the transient signal to be measured based on the digital signal corresponding to the first transient signal and the second transient signal.
It should be noted that, the electronic device provided by the embodiment of the invention can be applied to devices such as a smart phone, a computer, a server and the like which can perform transient signal measurement.
The electronic equipment provided by the embodiment of the invention can realize each process realized by the transient signal measurement method in the embodiment of the method, and can achieve the same beneficial effects. In order to avoid repetition, a description thereof is omitted.
The embodiment of the invention also provides a computer readable storage medium, on which a computer program is stored, which when executed by a processor, implements each process of the transient signal measurement method or the application-side transient signal measurement method provided by the embodiment of the invention, and can achieve the same technical effect, so that repetition is avoided, and no further description is provided here.
Those skilled in the art will appreciate that the processes implementing all or part of the methods of the above embodiments may be implemented by a computer program for instructing relevant hardware, and the program may be stored in a computer readable storage medium, and the program may include the processes of the embodiments of the methods as above when executed. The storage medium may be a magnetic disk, an optical disk, a Read-only memory (ROM), a Random Access Memory (RAM), or the like.
The foregoing disclosure is illustrative of the present invention and is not to be construed as limiting the scope of the invention, which is defined by the appended claims.