CN112564705B - Multi-channel data acquisition method for radon measuring instrument - Google Patents

Multi-channel data acquisition method for radon measuring instrument Download PDF

Info

Publication number
CN112564705B
CN112564705B CN202011386041.0A CN202011386041A CN112564705B CN 112564705 B CN112564705 B CN 112564705B CN 202011386041 A CN202011386041 A CN 202011386041A CN 112564705 B CN112564705 B CN 112564705B
Authority
CN
China
Prior art keywords
mcu
limit voltage
data
sampling
moment
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.)
Active
Application number
CN202011386041.0A
Other languages
Chinese (zh)
Other versions
CN112564705A (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 CN202011386041.0A priority Critical patent/CN112564705B/en
Publication of CN112564705A publication Critical patent/CN112564705A/en
Application granted granted Critical
Publication of CN112564705B publication Critical patent/CN112564705B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03MCODING; DECODING; CODE CONVERSION IN GENERAL
    • H03M1/00Analogue/digital conversion; Digital/analogue conversion
    • H03M1/12Analogue/digital converters
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01TMEASUREMENT OF NUCLEAR OR X-RADIATION
    • G01T1/00Measuring X-radiation, gamma radiation, corpuscular radiation, or cosmic radiation
    • G01T1/16Measuring radiation intensity
    • G01T1/17Circuit arrangements not adapted to a particular type of detector
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01TMEASUREMENT OF NUCLEAR OR X-RADIATION
    • G01T1/00Measuring X-radiation, gamma radiation, corpuscular radiation, or cosmic radiation
    • G01T1/29Measurement performed on radiation beams, e.g. position or section of the beam; Measurement of spatial distribution of radiation
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/04Programme control other than numerical control, i.e. in sequence controllers or logic controllers
    • G05B19/042Programme control other than numerical control, i.e. in sequence controllers or logic controllers using digital processors
    • G05B19/0423Input/output
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/20Pc systems
    • G05B2219/24Pc safety
    • G05B2219/24215Scada supervisory control and data acquisition

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Health & Medical Sciences (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • High Energy & Nuclear Physics (AREA)
  • Molecular Biology (AREA)
  • Spectroscopy & Molecular Physics (AREA)
  • Theoretical Computer Science (AREA)
  • Automation & Control Theory (AREA)
  • Measurement Of Radiation (AREA)
  • Nuclear Medicine (AREA)

Abstract

The invention provides a multi-channel data acquisition method for a radon meter, which conditions the output signal of a detector of the radon meter to obtain a conditioned output signal V1The analog watchdog monitoring of MCU is utilized, and the ADC controller of MCU adopts multiple ADC modes to output signal V1Sampling, storing in an annular storage queue in a DMA mode, triggering and recording the rising edge and the falling edge of an alpha particle peak by simulating a watchdog, and taking out corresponding position data in the annular storage queue as all peak shape data to realize real-time detection. According to the multi-channel data acquisition method for the emanometer, provided by the invention, simultaneous sampling storage of multiple acquisition ends is realized by using a DMA (direct memory access) annular storage technology, and MCU sampling is triggered by using the MCU to simulate a watchdog, so that the sampling efficiency is greatly improved, the operation is convenient, and the cost is reduced.

Description

Multi-channel data acquisition method for radon measuring instrument
Technical Field
The invention relates to a multi-channel data acquisition method for a radon measuring instrument, and belongs to the technical field of signal sampling.
Background
Referring to fig. 2, the conventional radon measuring instrument signal sampling process is as follows: an Input alpha particle detector signal is subjected to preamplification circuit, shaping circuit and amplification processing, the amplified signal is Input to an ADC (analog to digital converter) port of an MCU (micro controller Unit), and a signal Output by a comparator is Output to an I/O (Input/Output) port of the MCU. When the alpha particles form an electric pulse signal on the detector, the electric pulse signal is conditioned, a jump signal is output from the comparator to trigger the I/O interruption of the MCU, the MCU starts the single-path ADC to work, the signal is sampled, and the peak searching is carried out to calculate the energy of the alpha particles.
The traditional radon detector signal sampling mode has the following defects:
firstly, an output jump signal of a comparator triggers an MCU to start analog-to-digital conversion, the MCU has time delay from triggering to data sampling, peak sampling is easy to miss, and sampling accuracy and efficiency are reduced;
secondly, because the sampling rate of the single-channel ADC is not high, the width of the signal which is widened is large in order to collect the wave crest, so that the dead time is large, and when the activity of alpha particles is large, the detection efficiency of the alpha particles can be reduced;
and thirdly, an additional comparator circuit is needed, and the threshold value of the comparator needs to be set by a D/A or a potentiometer, so that the noise source of the signal is increased.
Disclosure of Invention
In order to solve the defects of the prior art, the invention provides a multi-channel data acquisition method of a radon measuring instrument, which utilizes triple ADC (analog to digital converter) and DMA (Direct memory access) technologies to sample signal data in real time and store the signal data in an annular storage queue, simultaneously simulates a watchdog to monitor the signal in real time, and when a set threshold value is reached, a MCU (micro control unit) is triggered to read corresponding peak data in the annular storage queue, and the energy of alpha particles is searched and calculated.
The technical scheme adopted by the invention for solving the technical problem is as follows: the utility model provides a radon measuring instrument multichannel data acquisition method, which comprises the following steps:
(1) conditioning the output signal of the detector of the emanometer to obtain conditioned output signal V1
(2) Analog watchdog using MCU larger than upper limit voltage VHOr less than the lower limit voltage VLI.e. interrupt-generating characteristic monitoring of the output signal V of the ADC controller access1Setting its upper limit voltage VHAnd a lower limit voltage VL
(3) The ADC controller of the MCU adopts a double or triple ADC mode to output a signal V1Sampling, storing the sampled data in an annular storage queue in a DMA mode, and waiting for MCU processing;
(4) upper limit voltage VHSet as the threshold value to be detected by the analog watchdog, namely the rising edge threshold value of the alpha particle peak, and set the lower limit voltage VLSet to 0 when the sampled data is greater than the upper limit voltage VHWhen the watch dog is simulated, the MCU is triggered by the watch dog and the current first moment t is recorded1And the data position of the current annular storage queue which is sampled and stored at the moment is recorded as a first data sampling position Addr1, and the first moment t1Namely the moment of the rising edge of the alpha particle peak;
(5) lower limit voltage VLIs set as the threshold value to be detected by the analog watchdog, namely the falling edge threshold value of the alpha particle peak, and the upper limit voltage V is setHSetting the value as the full scale value of ADC sampling when the sampled data is less than the lower limit voltage VLWhen the watch dog is simulated, the MCU is triggered and the current second moment t is recorded2And the data position of the current annular storage queue which is sampled and stored at the moment is recorded as a second data sampling position Addr2 and a second moment t2Namely the moment of the falling edge of the alpha particle peak;
(6) determining the time delay from the monitoring of the rising edge by the analog watchdog to the data sampling position Addr1 of the recording annular storage queue, converting the time delay into the storage interval n of the annular storage queue, taking the starting point of peak searching calculation as the storage position Addr1-n of the annular storage queue, and taking the data between the storage position Addr1-n of the annular storage queue and the storage position Addr2 as the total peak shape data of the current alpha particle peak;
(7) and (5) repeating the steps (4) to (6) to sample each section of alpha particle peak, so as to realize the real-time detection of the alpha particle energy by the radon detector.
The output signal V of the step (1)1The pre-conditioning is obtained by the following processes:
(a) using a pre-amplifier circuit to amplify the initial input signal ViPre-amplifying to output pre-amplified signal Va
(b) Pre-amplified signal VaOutput signal V via signal conditioning circuit1
The MCU adopts an STM32F407 chip.
The invention has the beneficial effects based on the technical scheme that:
(1) according to the multi-channel data acquisition method of the emanometer, the internal simulation watchdog of the MCU replaces an external comparison circuit, the circuit is simple, the noise is reduced, the cost is saved, the upper limit value and the lower limit value of the simulation watchdog can be set through conventional setting software, and the operation is convenient;
(2) the multi-channel data acquisition method of the emanometer provided by the invention adopts multiple ADC assembly line sampling, the maximum sampling rate can reach N times of single-channel sampling, N is the number of the ADC controllers of the MCU, and the sampling rate is improved, so that the widening time of a shaping widening circuit in a signal conditioning circuit can be shortened, the sampling dead time is reduced, and the alpha particle acquisition efficiency is improved;
(3) the multi-channel data acquisition method of the emanometer provided by the invention adopts the DMA annular storage queue, samples and stores in real time, and can sample data in real time without being influenced by other tasks of the MCU.
(4) The radon detector multichannel data acquisition method provided by the invention acquires the full peak of alpha particles by simulating the rising edge of a watchdog monitoring input signal and compensating data of n forward moving periods, so that the wave peak of the alpha particles can be accurately acquired, and the energy peak of the alpha particles can be correctly calculated.
Drawings
FIG. 1 is a schematic diagram of a sampling circuit adopted by the multi-channel data acquisition method of the radon meter provided by the invention.
Fig. 2 is a schematic diagram of a conventional signal sampling circuit.
Detailed Description
The invention is further illustrated by the following figures and examples.
The invention provides a multi-channel data acquisition method of a radon measuring instrument, which comprises the following steps with reference to fig. 1:
(1) conditioning the output signal of the detector of the emanometer to obtain conditioned output signal V1
(2) Analog watchdog using MCU larger than upper limit voltage VHOr less than the lower limit voltage VLOutput signal V for monitoring ADC channel access by characteristic of generating interrupt1Setting its upper limit voltage VHAnd a lower limit voltage VL
(3) The ADC controller of the MCU adopts a double or triple ADC mode to output a signal V1Sampling, storing the sampled data in an annular storage queue in a DMA mode, and waiting for MCU processing; in this embodiment, triple ADC sampling is adopted, which is ADC1, ADC2, and ADC 3;
(4) upper limit voltage VHSet as the threshold value to be detected by the analog watchdog, namely the rising edge threshold value of the alpha particle peak, and set the lower limit voltage VLSet to 0 when the sampled data is greater than the upper limit voltage VHWhen the watch dog is simulated, the MCU is triggered by the watch dog and the current first moment t is recorded1And the data position of the current annular storage queue which is sampled and stored at the moment is recorded as a first data sampling position Addr1, and the first moment t1Namely the moment of the rising edge of the alpha particle peak;
(5) lower limit voltage VLIs set as the threshold value to be detected by the analog watchdog, namely the falling edge threshold value of the alpha particle peak, and the upper limit voltage V is setHSetting the value as the full scale value of ADC sampling when the sampled data is less than the lower limit voltage VLWhen the watch dog is simulated, the MCU is triggered by the watch dog and the current second moment t is recorded2And the number of currently sampled deposits of the current circular store queue at that timeThe data location is denoted as a second data sample location Addr2 at a second time t2Namely the moment of the falling edge of the alpha particle peak;
(6) determining the time delay from the monitoring of the rising edge by the analog watchdog to the data sampling position Addr1 of the recording annular storage queue, converting the time delay into the storage interval n of the annular storage queue, taking the starting point of peak searching calculation as the storage position Addr1-n of the annular storage queue, and taking the data between the storage position Addr1-n of the annular storage queue and the storage position Addr2 as the total peak shape data of the current alpha particle peak;
(7) and (5) repeating the steps (4) to (6) to sample each section of alpha particle peak, so as to realize the real-time detection of the alpha particle energy by the radon detector.
The output signal V of the step (1)1The pre-conditioning is obtained by the following processes:
(a) using a pre-amplifier circuit to amplify the initial input signal ViPre-amplifying to output pre-amplified signal Va
(b) Pre-amplified signal VaOutput signal V via signal conditioning circuit1
The MCU adopts an STM32F407 chip.
According to the radon measuring instrument multichannel data acquisition method, simultaneous sampling and storage of multiple acquisition ends are achieved through a DMA (direct memory access) annular storage technology, and MCU (micro control unit) is used for simulating a watchdog to trigger MCU sampling, so that the sampling efficiency is greatly improved, the operation is convenient, and the cost is reduced.

Claims (3)

1. A multi-channel data acquisition method for a radon measuring instrument is characterized by comprising the following steps:
(1) conditioning the output signal of the detector of the emanometer to obtain conditioned output signal V1
(2) Analog watchdog using MCU larger than upper limit voltage VHOr less than the lower limit voltage VLI.e. interrupt-generating characteristic monitoring of the output signal V of the ADC controller access1Setting its upper limit voltage VHAnd a lower limit voltage VL
(3) ADC control of MCUThe device adopts double or triple ADC modes to output signals V1Sampling, storing the sampled data in an annular storage queue in a DMA mode, and waiting for MCU processing;
(4) upper limit voltage VHSet as the threshold value to be detected by the analog watchdog, namely the rising edge threshold value of the alpha particle peak, and set the lower limit voltage VLSet to 0 when the sampled data is greater than the upper limit voltage VHWhen the watch dog is simulated, the MCU is triggered by the watch dog and the current first moment t is recorded1And the data position of the current annular storage queue which is sampled and stored at the moment is recorded as a first data sampling position Addr1, and the first moment t1Namely the moment of the rising edge of the alpha particle peak;
(5) lower limit voltage VLIs set as a threshold value to be detected by the analog watchdog, namely a falling edge threshold value of an alpha particle peak, and an upper limit voltage VHSetting the value as the full scale value of ADC sampling when the sampled data is less than the lower limit voltage VLWhen the watch dog is simulated, the MCU is triggered by the watch dog and the current second moment t is recorded2And the data position of the current annular storage queue which is sampled and stored at the moment is recorded as a second data sampling position Addr2 and a second moment t2Namely the moment of the falling edge of the alpha particle peak;
(6) determining the time delay from the monitoring of the rising edge by the analog watchdog to the data sampling position Addr1 of the recording annular storage queue, converting the time delay into the storage interval n of the annular storage queue, taking the starting point of peak searching calculation as the storage position Addr1-n of the annular storage queue, and taking the data between the storage position Addr1-n of the annular storage queue and the storage position Addr2 as the total peak shape data of the current alpha particle peak;
(7) and (5) repeating the steps (4) to (6) to sample each section of alpha particle peak, so as to realize the real-time detection of the alpha particle energy by the radon detector.
2. The multi-channel data acquisition method for the emanometer according to claim 1, wherein: the output signal V of the step (1)1The pre-conditioning is obtained by the following processes:
(a) using preamplification circuit to pairInitial input signal ViPre-amplifying to output pre-amplified signal Va
(b) Pre-amplified signal VaOutput signal V via signal conditioning circuit1
3. The multi-channel data acquisition method for the emanometer according to claim 1, wherein: the MCU adopts an STM32F407 chip.
CN202011386041.0A 2020-12-02 2020-12-02 Multi-channel data acquisition method for radon measuring instrument Active CN112564705B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011386041.0A CN112564705B (en) 2020-12-02 2020-12-02 Multi-channel data acquisition method for radon measuring instrument

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011386041.0A CN112564705B (en) 2020-12-02 2020-12-02 Multi-channel data acquisition method for radon measuring instrument

Publications (2)

Publication Number Publication Date
CN112564705A CN112564705A (en) 2021-03-26
CN112564705B true CN112564705B (en) 2022-07-01

Family

ID=75046997

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011386041.0A Active CN112564705B (en) 2020-12-02 2020-12-02 Multi-channel data acquisition method for radon measuring instrument

Country Status (1)

Country Link
CN (1) CN112564705B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114035220A (en) * 2021-11-30 2022-02-11 成都天核科技有限公司 Portable energy spectrum type n-gamma personal dose equivalent measuring instrument and method thereof
CN115015618B (en) * 2022-08-08 2022-10-14 深圳市恒运昌真空技术有限公司 Radio frequency power supply signal acquisition method and device

Family Cites Families (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102087312A (en) * 2010-11-29 2011-06-08 哈尔滨工程大学 Automatically controlled peak detector for signal
CN102512759B (en) * 2011-12-29 2015-06-03 华南理工大学 Pacemaker system for treating laryngeal muscular paralysis and operating method thereof
CN203025502U (en) * 2012-11-16 2013-06-26 湖北方圆环保科技有限公司 Low background alpha and beta measurement instrument control device
JP2015102052A (en) * 2013-11-26 2015-06-04 株式会社デンソー Fuel injection control device
CN103793287B (en) * 2014-01-14 2017-04-19 深圳市文鼎创数据科技有限公司 Method and system for capturing analog signal cycles
CN104614756B (en) * 2015-01-19 2017-09-01 中国船舶重工集团公司第七一九研究所 A kind of nucleic power spectrum digital collection system and its acquisition method
CN108897264B (en) * 2018-09-27 2020-06-16 浙江大学 Analog-digital converter control device for general system chip
CN109521413A (en) * 2018-10-22 2019-03-26 天津大学 Full wave shape suitable for laser radar obtains circuit
CN109298670B (en) * 2018-11-13 2020-09-01 北京四方继保自动化股份有限公司 Multisource data fusion acquisition device and system
CN111400074A (en) * 2019-01-02 2020-07-10 珠海格力电器股份有限公司 Watchdog simulating device and control method thereof
CN109819512B (en) * 2019-03-18 2020-12-08 云南航天工程物探检测股份有限公司 Engineering CT wireless distributed multi-path ADC high-precision synchronization system and method
CN110244345B (en) * 2019-07-31 2021-06-08 云南航天工程物探检测股份有限公司 Three-dimensional imaging tunnel geology advanced predictor and prediction method

Also Published As

Publication number Publication date
CN112564705A (en) 2021-03-26

Similar Documents

Publication Publication Date Title
CN112564705B (en) Multi-channel data acquisition method for radon measuring instrument
CN105445514A (en) FPGA-based multiprocessor digital storage oscilloscope
CN101710183B (en) Digital coincidence multichannel system for nuclear spectroscopy and nuclear electronics
US8627723B2 (en) Digital sampling and zero crossing of acoustic signals of animals
CN103048508A (en) Method for improving trigger level precision of digital oscilloscope, device and digital oscilloscope
CN206975227U (en) A kind of multichannel pulse size analyzer
CN2781396Y (en) Nuclear signal collecting and buffer storage
CN111413725A (en) System and method for realizing gamma-gamma digital coincidence measurement by using virtual instrument technology
CN114614825B (en) Low-cost high-speed pulse signal data sampling and peak value detection method
CN103197030A (en) Atmospheric negative oxygen ion monitoring system and monitoring method thereof
CN211669266U (en) Multichannel waveform acquisition device
CN108089222A (en) A kind of multichannel pulse scope-analyzer circuit based on LPC1764
CN209446663U (en) A kind of analog signal monitoring of peak device
CN202454068U (en) High-speed data acquisition system based on gigabit Ethernet
CN206056770U (en) Check valve acoustic emission signal acquisition system
CN101915864B (en) Vector oscilloscope device
CN110246319A (en) 16 high-speed synchronous ADC distributed wireless acquisition systems of multichannel and method
CN211374999U (en) Multi-channel battery noise testing device
CN104931588A (en) kilomega network communication-based multichannel ultrasonic parallel high-speed acquisition hardware system
CN102621572A (en) Radioactive pulse amplitude digital discriminator
CN218866102U (en) High-speed acquisition module of ultrasonic wave icing detector based on FPGA and DSP
CN203792346U (en) Control system of underwater operation mechanical arm probe
NL2032794B1 (en) On-line magnetic memory stress detection system
CN216285472U (en) Online tester of rail train energy consumption metering equipment
CN220344406U (en) Structure for improving dynamic range of oximeter measured value

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