CN114608705A - Spectral signal data sampling and peak value detection method - Google Patents

Spectral signal data sampling and peak value detection method Download PDF

Info

Publication number
CN114608705A
CN114608705A CN202210496492.2A CN202210496492A CN114608705A CN 114608705 A CN114608705 A CN 114608705A CN 202210496492 A CN202210496492 A CN 202210496492A CN 114608705 A CN114608705 A CN 114608705A
Authority
CN
China
Prior art keywords
signal
data
sampling data
value
watchdog
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202210496492.2A
Other languages
Chinese (zh)
Other versions
CN114608705B (en
Inventor
魏烈祥
汪天照
陈荷香
张晶
文富春
阳琴
罗静
贾伟强
张威
汤涛
皮春辉
廖辉
秦鸣东
秦笑儒
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hubei Fangyuan Environmental Protection Science & Technology Co ltd
Original Assignee
Hubei Fangyuan Environmental Protection Science & Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hubei Fangyuan Environmental Protection Science & Technology Co ltd filed Critical Hubei Fangyuan Environmental Protection Science & Technology Co ltd
Priority to CN202210496492.2A priority Critical patent/CN114608705B/en
Publication of CN114608705A publication Critical patent/CN114608705A/en
Application granted granted Critical
Publication of CN114608705B publication Critical patent/CN114608705B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01JMEASUREMENT OF INTENSITY, VELOCITY, SPECTRAL CONTENT, POLARISATION, PHASE OR PULSE CHARACTERISTICS OF INFRARED, VISIBLE OR ULTRAVIOLET LIGHT; COLORIMETRY; RADIATION PYROMETRY
    • G01J3/00Spectrometry; Spectrophotometry; Monochromators; Measuring colours
    • G01J3/28Investigating the spectrum
    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03MCODING; DECODING; CODE CONVERSION IN GENERAL
    • H03M3/00Conversion of analogue values to or from differential modulation
    • H03M3/30Delta-sigma modulation
    • H03M3/38Calibration
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01JMEASUREMENT OF INTENSITY, VELOCITY, SPECTRAL CONTENT, POLARISATION, PHASE OR PULSE CHARACTERISTICS OF INFRARED, VISIBLE OR ULTRAVIOLET LIGHT; COLORIMETRY; RADIATION PYROMETRY
    • G01J3/00Spectrometry; Spectrophotometry; Monochromators; Measuring colours
    • G01J3/28Investigating the spectrum
    • G01J2003/2859Peak detecting in spectrum

Landscapes

  • Physics & Mathematics (AREA)
  • Spectroscopy & Molecular Physics (AREA)
  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Analogue/Digital Conversion (AREA)

Abstract

The invention provides a spectral signal data sampling and peak value detection method, which comprises the following steps: acquiring an optical signal, generating an electrical signal by the optical signal through a detector, and acquiring a first voltage signal by the electrical signal through a pre-amplification circuit; the first voltage signal passes through an amplifying and filtering conditioning circuit to obtain a second voltage signal; performing analog-to-digital conversion on the second voltage signal through a sigma delta ADC analog-to-digital conversion module to obtain a first serial digital signal; electrically isolating the first serial digital signal to obtain a second serial digital signal; passing the second serial digital signal through the first SincxFiltering by a filter to obtain first-level sampling data; calibrating zero offset error and linear error of the primary sampling data through a data calibration register to obtain secondary sampling data, monitoring an extreme value of the secondary sampling data through an extreme value register, and determining a maximum value and a minimum value corresponding to the secondary sampling data; outputting the second-level sampled data to storageThe unit performs data saving.

Description

Spectral signal data sampling and peak value detection method
Technical Field
The invention relates to the technical field of signal sampling and signal processing, in particular to a spectral signal data sampling and peak value detection method.
Background
At present, with the development of photoelectronic technology, the spectrum detection technology is greatly improved. However, the spectrum detection instrument and equipment in the market mainly adopt two modes: the first one is that an upper computer and a lower computer structure are adopted in a fluorescence spectrum detection system based on negative feedback regulation as in patent CN201910704105, sampling data is collected by the lower computer, the sampling data is sent to the upper computer through a communication interface, signal processing and data analysis are carried out on the upper computer, the system circuit is complex, the cost is high, the other one is that the sampling data is sent to an MCU through AD conversion as shown in patent CN201810535990, and the peak value of the signal is calculated through MCU software filtering and software peak searching processing.
Disclosure of Invention
The invention provides a spectral signal data sampling and peak value detection method, which is used for solving the problem.
A method of spectral signal data sampling and peak detection, comprising:
acquiring an optical signal, generating an electrical signal Vi by the optical signal through a detector, and acquiring a first voltage signal Va by the electrical signal through a pre-amplification circuit;
amplifying and filtering the first voltage signal Va through an amplifying and filtering conditioning circuit to obtain a second voltage signal Vb;
performing analog-to-digital conversion on the second voltage signal Vb through a sigma delta ADC analog-to-digital conversion module to obtain a first serial digital signal D1 at an analog side after conversion;
electrically isolating the first serial digital signal D1 through an electrical isolation circuit to obtain a second serial digital signal D2 on the digital circuit side;
passing the second serial digital signal D2 through a first SincxFiltering by using a filter to obtain primary sampling data D3;
calibrating zero offset error and linear error of the primary sampling data D3 through a data calibration register to obtain secondary sampling data D5, monitoring an extreme value of the secondary sampling data D5 through an extreme value register, and determining a maximum value and a minimum value corresponding to the secondary sampling data D5;
and outputting the two-level sampling data D5 to a storage unit through a DMA controller for data storage.
As an embodiment of the present invention: the second serial digital signal D2 is passed through a first SincxThe filter filters to obtain first-stage sampling data D3, and the method further comprises:
passing the second serial digital signal D2 through an analog watch gateSecond Sinc in dogxFiltering by using a filter to obtain three-level sampling data D4;
setting an upper threshold and a lower threshold according to the three-level sampling data D4; wherein the lower threshold corresponds to a minimum scale value of the three-level sampled data D4, the upper threshold is set as a sampled data value at an effective rising edge of the spectral signal, and the three-level sampled data D4 of the spectral signal is monitored through the upper threshold;
when the three-level sampling data D4 is greater than the upper threshold value, determining that a rising edge of the spectral signal is monitored, and generating a first interrupt signal by the analog watchdog.
As an embodiment of the present invention: when the three-level sampling data D4 is greater than the upper threshold, determining that a rising edge of a spectral signal is monitored, and the analog watchdog generating a first interrupt signal, further comprising:
when the analog watchdog generates the first interrupt signal, acquiring a maximum value and a minimum value in an extremum register, and carrying out zero clearing processing on the maximum value and the minimum value;
carrying out secondary extremum monitoring on the secondary sampling data D5 through an extremum register, and determining the maximum value and the minimum value of the secondary extremum monitoring;
updating the maximum value and the minimum value of the secondary monitoring into a maximum value and a minimum value, setting the maximum value as a maximum scale value corresponding to the three-level sampling data D4, and setting the minimum value as a sampling data value at the falling edge of the spectrum signal;
and monitoring the three-level sampling data D4 of the spectral signal through the analog watchdog based on the minimum value, indicating that the falling edge of the spectral signal is monitored when the three-level sampling data D4 of the spectral signal is monitored to be less than the lower limit threshold, and generating a second interrupt signal by the analog watchdog.
As an embodiment of the present invention: the monitoring the three-level sampling data D4 of the spectrum signal by the analog watchdog based on the minimum value, indicating that the monitored three-level sampling data D4 of the spectrum signal is less than the lower threshold, and the analog watchdog generating a second interrupt signal, further comprising:
reading the maximum value and the minimum value of the extreme value register based on the second interrupt signal, and determining the peak value of the spectrum signal according to the maximum value;
and setting the lower threshold as a minimum scale value corresponding to the three-level sampling data D4, setting the upper threshold as a sampling data value at the rising edge of the spectrum signal, monitoring the three-level sampling data D4 of the pulse signal through the upper threshold, and determining the maximum peak value of the pulse.
Additional features and advantages of the invention will be set forth in the description which follows, and in part will be obvious from the description, or may be learned by practice of the invention. The objectives and other advantages of the invention will be realized and attained by the structure particularly pointed out in the written description and drawings.
The technical solution of the present invention is further described in detail by the accompanying drawings and embodiments.
Drawings
The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this specification, illustrate embodiments of the invention and together with the description serve to explain the principles of the invention and not to limit the invention. In the drawings:
fig. 1 is a schematic circuit diagram of a spectral signal data sampling and peak detection method according to an embodiment of the present invention;
FIG. 2 is a schematic flow chart of a method for sampling spectral signal data and detecting a peak value according to an embodiment of the present invention;
in FIG. 1, probe-1000; preamplifier-2000; an amplifying and filtering conditioning circuit-3000; a sigma delta ADC analog-to-digital conversion module-4000; electrical isolation circuit-5000; MCU-6000; DFSDM module-6100; first SincxFilter-6110; data alignment register-6140; extremum register-6130; maximum-6131; minimum value-6132; DMA controller-6200; memory cell-6300; simulating a watchdog-6120; second SincxFilter-6121; lower threshold-6122; the upper threshold 6123.
Detailed Description
The preferred embodiments of the present invention will be described in conjunction with the accompanying drawings, and it will be understood that they are described herein for the purpose of illustration and explanation and not limitation.
It is noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions, and "plurality" means two or more unless specifically limited otherwise. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus.
Although embodiments of the present invention have been shown and described, it will be appreciated by those skilled in the art that changes, modifications, substitutions and alterations can be made in these embodiments without departing from the principles and spirit of the invention, the scope of which is defined in the appended claims and their equivalents.
Example 1:
the embodiment of the invention provides a method for sampling spectral signal data and detecting a peak value, which comprises the following steps:
acquiring an optical signal, generating an electrical signal Vi by passing the optical signal through a detector 1000, and acquiring a first voltage signal Va by passing the electrical signal through a pre-amplification circuit 2000;
amplifying and filtering the first voltage signal Va by an amplifying and filtering conditioning circuit 3000 to obtain a second voltage signal Vb;
performing analog-to-digital conversion on the second voltage signal Vb through a sigma delta ADC analog-to-digital conversion module 4000 to obtain a first serial digital signal D1 at an analog side after conversion;
electrically isolating the first serial digital signal D1 through an electrical isolation circuit 5000 to obtain a second serial digital signal D2 on the digital circuit side;
passing the second serial digital signal D2 through a first SincxThe filter 6110 performs filtering to obtain first-stage sample data D3;
calibrating zero offset error and linear error of the primary sampling data D3 through a data calibration register 6140 to obtain secondary sampling data D5, monitoring an extreme value of the secondary sampling data D5 through an extreme value register 6130, and determining a maximum value 6131 and a minimum value 6132 corresponding to the secondary sampling data D5;
outputting the two-level sampling data D5 to a storage unit 6300 through a DMA controller 6200 for data storage;
the principle of this technical scheme implementation: in the technical scheme, in a photovoltaic mode, an electric signal which is generated by a detector and has a linear relation with optical signal power is pre-amplified and converted into a voltage signal, the voltage signal is amplified, filtered and conditioned and enters a sigma delta ADC (analog-to-digital converter) module to be subjected to analog-to-digital conversion, and converted data are electrically isolated and sent to a DFSDM (digital distributed data management) module in an MCU (microprogrammed control unit); the DFSDM module has hardware SincxThe method comprises the following steps that a filter and hardware simulate watchdog monitoring, extremum monitoring and other functions, sampled data are subjected to filtering in a DFSDM module, signals such as watchdog monitoring and extremum monitoring and interrupt processing to obtain peak data of a spectrum signal, the rising edge and the falling edge of the sampled data are monitored through the simulated watchdog, interruption is generated during the rising edge and the falling edge, the peak of the signal is monitored when the rising edge is interrupted, the peak of the spectrum signal is read when the falling edge is interrupted, an interrupt service program occupies MCU (microprogrammed control Unit) running time except for the simulated watchdog interruption in the data sampling and peak detection process, and other data filtering, extremum detection and data storage are realized by internal hardware of the MCU;
the beneficial effects of the above technical scheme are: in the interrupt service program in the technical scheme, only simple operations such as setting of watchdog upper and lower limit threshold registers, reading of extreme value registers, peak value calculation processing and the like are performed, the MCU occupies very short time, a digital partial DFSDM module built in the MCU provides a serial connection external sigma delta ADC (analog-to-digital converter) module, SPI and Manchester protocols are supported, 20MHz serial data input is supported, the speed is high, andfacilitating electrical isolation of digital and analog circuits, and SincxFilter technologies, including FastSinc, Sinc1、Sinc2、Sinc3、Sinc4And Sinc5Six filtering algorithms and 1-1024 over-sampling rates can be set by software according to the type, signal frequency and signal bandwidth of the spectral signal to be detected, so that the general type of the hardware of the spectral signal detection circuit is increased, and the hardware Sinc in the MCU is adoptedxThe filter technology does not need MCU, is favorable for accelerating the signal processing speed, and carries out real-time hardware automatic calibration on the sampling data of the pulse signal through the zero offset error and the linear error value in the data calibration register, so that the sampling data is more accurate.
Example 2:
in one embodiment, the second serial digital signal D2 is passed through a first SincxThe filter 6110 performs filtering to obtain first-stage sample data D3, and further includes:
passing the second serial digital signal D2 through a second Sinc in an analog watchdog 6120xThe filter 6121 filters to obtain three-level sampling data D4;
setting an upper threshold 6123 and a lower threshold 6122 according to the three-level sampling data D4; the lower threshold corresponds to the minimum scale value of the three-level sampling data D4, the upper threshold is set as the sampling data value at the effective rising edge of the spectrum signal, and the three-level sampling data D4 of the spectrum signal is monitored through the upper threshold 6123;
when the three-level sampling data D4 is greater than the upper threshold 6123, determining that a rising edge of a spectrum signal is monitored, and generating a first interrupt signal by the analog watchdog 6120;
the principle of this technical scheme implementation: the serial digital signal is divided into two paths, wherein one path passes through the first SincxThe filter and the data calibration register are respectively used for filtering and calibrating, and the other path of the filtered signal enters a second Sinc of the analog watchdogxThe filter performs filtering, wherein the first SincxFilter and second SincxThe filter is of the same type and mode, passing through a second SincxFilteringThe device carries out serial-to-parallel conversion on serial data to generate parallel sampling data D4, the characteristic that when an analog watchdog of the DFSDM module is larger than an upper threshold or smaller than a lower threshold, an interruption is generated is used for monitoring the sampling data D4, the lower threshold is set to be a minimum scale value of the sampling data D4, the upper threshold is set to be a sampling data value at an effective rising edge of a spectrum signal, the sampling data D4 of the spectrum signal is monitored through the upper threshold, the upper threshold and the lower threshold of the analog watchdog can be calibrated through data of a data calibration register during program setting, and at the moment, the second-level sampling data D5 can be monitored through the upper threshold and the lower threshold;
the beneficial effects of the above technical scheme are: in the technical scheme, two Sinc types are adopted when serial digital signals are transmittedxThe filter filters and simulates a second Sinc inside the watchdogxThe filter can quickly monitor data and generate interrupts, and SincxFilter technologies, including FastSinc, Sinc1、Sinc2、Sinc3、Sinc4And Sinc5The six filtering algorithms and the 1-1024 oversampling rates can perform different filtering processes through software setting according to the type, the signal frequency and the signal bandwidth of the spectral signal to be detected, increase the general type of the hardware of the spectral signal detection circuit and reduce noise interference, and monitor the secondary sampling data D4 through setting an upper threshold and a lower threshold, so that the maximum value of three-level sampling data D5 from the rising edge to the falling edge of the spectral signal can be acquired, and the peak value of the spectral signal can be further determined.
Example 3:
in one embodiment, the determining that a rising edge of a spectrum signal is monitored when the three-level sampling data D4 is greater than the upper threshold 6123, the generating a first interrupt signal by the analog watchdog 6120, further includes:
when the analog watchdog 6120 generates the first interrupt signal, a maximum value 6131 and a minimum value 6132 in the extremum register 6130 are obtained, and the maximum value and the minimum value are cleared;
performing secondary extremum monitoring on the secondary sampled data D5 through an extremum register 6130, and determining the maximum value and the minimum value of the secondary extremum monitoring;
updating the maximum value and the minimum value of the secondary monitoring to a maximum value 6131 and a minimum value 6132, setting the maximum value to be a maximum scale value corresponding to the three-level sampling data D4, and setting the minimum value to be a sampling data value at the falling edge of the spectrum signal;
monitoring the three-level sampling data D4 of the spectral signal through the simulated watchdog 6120 based on the minimum value, indicating that the falling edge of the spectral signal is monitored when the three-level sampling data D4 of the spectral signal is monitored to be smaller than the lower threshold 6122, and generating a second interrupt signal by the simulated watchdog 6120;
the principle of this technical scheme implementation: according to the technical scheme, a watchdog is simulated to monitor the rising edge and the falling edge of sampled data, interruption is generated during the rising edge and the falling edge, the peak value of a signal is monitored during the interruption of the rising edge, the peak value of a spectrum signal is read during the interruption of the falling edge, an interruption service program occupies the running time of an MCU except the interruption of the watchdog in the data sampling and peak value detection processes, and other data filtering, extreme value detection and data storage are realized by internal hardware of the MCU;
the beneficial effects of the above technical scheme are: according to the technical scheme, the sampling resolution can be improved by adopting a hardware oversampling technology, the DFSDM module is internally provided with the simulation watchdog to replace an external comparison trigger circuit, the cost is saved, the circuit operation efficiency is improved, the maximum value and the minimum value of the sampling data are monitored in real time through the internal extremum register, MCU software intervention is not needed, peak searching calculation is realized by hardware, and the peak detection capability of the pulse signal is improved.
Example 4:
in one embodiment, the monitoring the three-level sampling data D4 of the spectral signal by the simulated watchdog 6120 based on the minimum value, and indicating that the monitored three-level sampling data D4 of the spectral signal is less than the lower threshold 6122, when the monitored three-level sampling data D4 of the spectral signal is less than the lower threshold 6122, the simulated watchdog 6120 generating a second interrupt signal, further includes:
based on the second interrupt signal, the maximum value and the minimum value of the extremum register 6130 are read, and the peak value of the spectrum signal is determined according to the maximum value;
setting the lower threshold 6122 as a minimum scale value corresponding to the three-level sampling data D4, setting the upper threshold 6123 as a sampling data value at the rising edge of the spectrum signal, monitoring the three-level sampling data D4 of the pulse signal through the upper threshold 6123, and determining the maximum peak value of the pulse;
the principle of this technical scheme implementation: in the technical scheme, the maximum value and the minimum value of an extreme value register are read through an interrupt signal received by an interrupt service program, wherein the maximum value is the maximum value of sampling data of a spectrum signal from a rising edge to a falling edge, namely the peak value of the detected spectrum signal, the interrupt service program sets a lower limit threshold value as the minimum scale value of three-level sampling data D4, the upper limit threshold value is used for monitoring three-level sampling data D4 of the pulse signal, and the steps are repeated to realize sampling processing of each pulse signal and realize real-time detection of the maximum peak value of the pulse;
the beneficial effects of the above technical scheme are: according to the technical scheme, the maximum value and the minimum value of the sampled data are monitored in real time by adopting the extreme value register in the DFSDM module, MCU software intervention is not needed, peak searching calculation is realized by hardware, the peak value detection capability of a pulse signal is improved, the signal processing speed is accelerated, an external comparison trigger circuit is replaced by the simulation watchdog, the cost is saved, and the operation efficiency of the circuit is improved.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, optical storage, and the like) having computer-usable program code embodied therein.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
It will be apparent to those skilled in the art that various changes and modifications may be made in the present invention without departing from the spirit and scope of the invention. Thus, if such modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include such modifications and variations.

Claims (4)

1. A method of spectral signal data sampling and peak detection, comprising:
acquiring an optical signal, enabling the optical signal to generate an electric signal Vi through a detector (1000), and enabling the electric signal to pass through a pre-amplification circuit (2000) to acquire a first voltage signal Va;
amplifying and filtering the first voltage signal Va through an amplifying and filtering conditioning circuit (3000) to obtain a second voltage signal Vb;
performing analog-to-digital conversion on the second voltage signal Vb through a sigma delta ADC analog-to-digital conversion module (4000) to obtain a first serial digital signal D1 at the analog side after conversion;
electrically isolating the first serial digital signal D1 through an electrical isolation circuit (5000) to obtain a second serial digital signal D2 on the digital circuit side;
passing the second serial digital signal D2 through a first SincxFiltering by a filter (6110) to obtain first-stage sampling data D3;
calibrating zero offset error and linear error of the primary sampling data D3 through a data calibration register (6140) to obtain secondary sampling data D5, monitoring extremum of the secondary sampling data D5 through an extremum register (6130), and determining a maximum value (6131) and a minimum value (6132) corresponding to the secondary sampling data D5;
and outputting the two-level sampling data D5 to a storage unit (6300) through a DMA controller (6200) for data saving.
2. A method of spectral signal data sampling and peak detection as claimed in claim 1, wherein said passing said second serial digital signal D2 through a first SincxThe filter (6110) performs filtering to obtain first-stage sample data D3, and further includes:
passing the second serial digital signal D2 through a second Sinc in an analog watchdog (6120)xFiltering by a filter (6121) to obtain three-level sampling data D4;
setting an upper limit threshold (6123) and a lower limit threshold (6122) according to the three-level sampling data D4; wherein the lower threshold corresponds to the minimum scale value of the three-level sampling data D4, the upper threshold is set as the sampling data value at the effective rising edge of the spectrum signal, and the three-level sampling data D4 of the spectrum signal is monitored through the upper threshold (6123);
when the three-level sampling data D4 is greater than the upper limit threshold (6123), determining that the rising edge of the spectrum signal is monitored, and generating a first interrupt signal by the analog watchdog (6120).
3. A method for sampling and peak detection of spectral signal data according to claim 2, wherein said determining that a rising edge of a spectral signal is monitored when said tertiary sampled data D4 is greater than said upper threshold value (6123), said analog watchdog (6120) generating a first interrupt signal, further comprises:
when the simulation watchdog (6120) generates the first interrupt signal, acquiring a maximum value (6131) and a minimum value (6132) in an extremum register (6130), and performing zero clearing processing on the maximum value and the minimum value;
carrying out secondary extremum monitoring on the secondary sampling data D5 through an extremum register (6130) to determine the maximum value and the minimum value of the secondary extremum monitoring;
updating the maximum value and the minimum value of the secondary monitoring to a maximum value (6131) and a minimum value (6132), setting the maximum value to be a maximum scale value corresponding to the three-level sampling data D4, and setting the minimum value to be a sampling data value at the falling edge of the spectrum signal;
and monitoring the three-level sampling data D4 of the spectral signal through the simulated watchdog (6120) based on the minimum value, indicating that the falling edge of the monitored spectral signal is detected when the three-level sampling data D4 of the monitored spectral signal is smaller than the lower limit threshold (6122), and generating a second interrupt signal by the simulated watchdog (6120).
4. A method for sampling and peak detection of spectral signal data according to claim 3, wherein said monitoring the three-level sampled data D4 of the spectral signal by said simulated watchdog (6120) based on said minimum value, when the three-level sampled data D4 of the spectral signal is monitored to be less than said lower threshold (6122), indicating that the spectral signal is monitored to have a falling edge, said simulated watchdog (6120) generating a second interrupt signal, further comprising:
reading the maximum value and the minimum value of the extremum register (6130) based on the second interrupt signal, and determining the peak value of the spectrum signal according to the maximum value;
and setting the lower threshold (6122) as a minimum scale value corresponding to the three-level sampling data D4, setting the upper threshold (6123) as a sampling data value at the rising edge of the spectrum signal, monitoring the three-level sampling data D4 of the pulse signal through the upper threshold (6123), and determining the maximum peak value of the pulse.
CN202210496492.2A 2022-05-09 2022-05-09 Spectral signal data sampling and peak value detection method Active CN114608705B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210496492.2A CN114608705B (en) 2022-05-09 2022-05-09 Spectral signal data sampling and peak value detection method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210496492.2A CN114608705B (en) 2022-05-09 2022-05-09 Spectral signal data sampling and peak value detection method

Publications (2)

Publication Number Publication Date
CN114608705A true CN114608705A (en) 2022-06-10
CN114608705B CN114608705B (en) 2022-07-29

Family

ID=81867961

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210496492.2A Active CN114608705B (en) 2022-05-09 2022-05-09 Spectral signal data sampling and peak value detection method

Country Status (1)

Country Link
CN (1) CN114608705B (en)

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102749137A (en) * 2011-04-21 2012-10-24 王伟兰 CCD (charge-coupled device) spectral signal universal acquisition system design based on FPGA (field programmable gate array) and USB2.0 (universal series bus) protocol interface
US20130182259A1 (en) * 2009-12-01 2013-07-18 Mark Brezinski System and method for calibrated spectral domain optical coherence tomography and low coherence interferometry
CN203178718U (en) * 2013-01-21 2013-09-04 刘淼 Novel intelligent controller of on-site near infrared spectrum detection apparatus
US20130293702A1 (en) * 2010-11-01 2013-11-07 The Hong Kong Research Institute Of Textiles And Apparel Limited Multispectral imaging color measurement system and method for processing imaging signals thereof
CN103487776A (en) * 2013-09-14 2014-01-01 西安奇维科技股份有限公司 Error correcting method based on FPGA
CN104111114A (en) * 2014-06-18 2014-10-22 中山大学 Spectrum measurement method, device and system
CN204009488U (en) * 2014-06-06 2014-12-10 苏州泽众新能源科技有限公司 A kind of data acquisition unit
CN205484178U (en) * 2016-01-04 2016-08-17 中国人民解放军后勤工程学院 A oxygen concentration detection system that is used for guard station system oxygen system of tibet frontier guards
CN109405969A (en) * 2018-12-11 2019-03-01 中国科学院合肥物质科学研究院 A kind of airborne DOAS spectrometer imaging and control circuit

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130182259A1 (en) * 2009-12-01 2013-07-18 Mark Brezinski System and method for calibrated spectral domain optical coherence tomography and low coherence interferometry
US20130293702A1 (en) * 2010-11-01 2013-11-07 The Hong Kong Research Institute Of Textiles And Apparel Limited Multispectral imaging color measurement system and method for processing imaging signals thereof
CN102749137A (en) * 2011-04-21 2012-10-24 王伟兰 CCD (charge-coupled device) spectral signal universal acquisition system design based on FPGA (field programmable gate array) and USB2.0 (universal series bus) protocol interface
CN203178718U (en) * 2013-01-21 2013-09-04 刘淼 Novel intelligent controller of on-site near infrared spectrum detection apparatus
CN103487776A (en) * 2013-09-14 2014-01-01 西安奇维科技股份有限公司 Error correcting method based on FPGA
CN204009488U (en) * 2014-06-06 2014-12-10 苏州泽众新能源科技有限公司 A kind of data acquisition unit
CN104111114A (en) * 2014-06-18 2014-10-22 中山大学 Spectrum measurement method, device and system
CN205484178U (en) * 2016-01-04 2016-08-17 中国人民解放军后勤工程学院 A oxygen concentration detection system that is used for guard station system oxygen system of tibet frontier guards
CN109405969A (en) * 2018-12-11 2019-03-01 中国科学院合肥物质科学研究院 A kind of airborne DOAS spectrometer imaging and control circuit

Also Published As

Publication number Publication date
CN114608705B (en) 2022-07-29

Similar Documents

Publication Publication Date Title
Billings et al. Piecewise linear identification of non-linear systems
CN105510049B (en) Running conditions of vehicle monitoring modular and method based on analysis of vibration signal
CN101533052B (en) Testing system and method for PWM fan electrical performance
CN102393484A (en) Device for detecting stability of current
CN111626360B (en) Method, apparatus, device and storage medium for detecting boiler fault type
CN114614825B (en) Low-cost high-speed pulse signal data sampling and peak value detection method
CN114608705B (en) Spectral signal data sampling and peak value detection method
CN117330939B (en) ATE-based switched capacitor filter adjustment and measurement method, system and storage medium
CN202693764U (en) Circuit breaker failure diagnosis device based on circuit breaker dynamic characteristic tester
CN117176199B (en) HPLC communication unit fault diagnosis method and device
CN101216993B (en) A monitoring method and device for the analog interference elimination of the device
WO2024036836A1 (en) Ultrasonic vibration fusion adaptive conditioning circuit and flexible module
JP2004340706A (en) Apparatus for diagnosing instrument
CN114034375B (en) Ultra-high voltage transmission line noise measurement system and method
Yaqub et al. Machine fault severity estimation based on adaptive wavelet nodes selection and SVM
CN110702972B (en) Adaptive sampling method and device for analog signals
US20220335964A1 (en) Model generation method, model generation apparatus, and program
US20240019281A1 (en) Information processing system, information processing method, recording medium, node device, gateway device, manufacturing system, method of manufacturing product
US8767900B2 (en) Signal transition detection circuit and method of the same
CN118259190A (en) Method and device for detecting power supply ripple waves for PCB
US11703425B2 (en) Information processing apparatus, system, production facility, information processing method, method of manufacturing products, and recording medium
KR102681097B1 (en) Diagnosis method and system by analyzing signal based on cnn
CN113607992B (en) Detection wave generation method of direct current power distribution protection device and related device
CN112230286B (en) Method and system for reducing noise of tunnel wireless seismograph
CN114915280A (en) Filter and high-frequency signal phase difference detection method

Legal Events

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