CN111122421A - Baseline processing method and device for pulse signal and particle detection system - Google Patents

Baseline processing method and device for pulse signal and particle detection system Download PDF

Info

Publication number
CN111122421A
CN111122421A CN201811285531.4A CN201811285531A CN111122421A CN 111122421 A CN111122421 A CN 111122421A CN 201811285531 A CN201811285531 A CN 201811285531A CN 111122421 A CN111122421 A CN 111122421A
Authority
CN
China
Prior art keywords
data
pulse signal
pulse
baseline
sampling point
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.)
Pending
Application number
CN201811285531.4A
Other languages
Chinese (zh)
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.)
Shenzhen Dymind Biotechnology Co Ltd
Original Assignee
Shenzhen Dymind Biotechnology 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 Shenzhen Dymind Biotechnology Co Ltd filed Critical Shenzhen Dymind Biotechnology Co Ltd
Priority to CN201811285531.4A priority Critical patent/CN111122421A/en
Publication of CN111122421A publication Critical patent/CN111122421A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01NINVESTIGATING OR ANALYSING MATERIALS BY DETERMINING THEIR CHEMICAL OR PHYSICAL PROPERTIES
    • G01N15/00Investigating characteristics of particles; Investigating permeability, pore-volume or surface-area of porous materials
    • G01N15/10Investigating individual particles
    • G01N15/14Optical investigation techniques, e.g. flow cytometry
    • G01N15/1456Optical investigation techniques, e.g. flow cytometry without spatial resolution of the texture or inner structure of the particle, e.g. processing of pulse signals
    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03MCODING; DECODING; CODE CONVERSION IN GENERAL
    • H03M1/00Analogue/digital conversion; Digital/analogue conversion
    • H03M1/12Analogue/digital converters
    • H03M1/124Sampling or signal conditioning arrangements specially adapted for A/D converters
    • H03M1/1245Details of sampling arrangements or methods

Landscapes

  • Chemical & Material Sciences (AREA)
  • Dispersion Chemistry (AREA)
  • Physics & Mathematics (AREA)
  • Health & Medical Sciences (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Analytical Chemistry (AREA)
  • Biochemistry (AREA)
  • General Health & Medical Sciences (AREA)
  • General Physics & Mathematics (AREA)
  • Immunology (AREA)
  • Pathology (AREA)
  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Measurement Of Current Or Voltage (AREA)

Abstract

The application discloses a baseline processing method and device of a pulse signal and a particle detection system, wherein the baseline processing method of the pulse signal comprises the following steps: sequentially acquiring data of each sampling point in a pulse signal to be processed; and acquiring the average value of the data of the current sampling point and the continuous preset number of sampling points before the current sampling point as a base line value corresponding to the current sampling point. And subtracting the corresponding baseline value from the data of each sampling point to obtain the data of each sampling point after baseline removal, thereby obtaining the target pulse signal after baseline removal. By the method, the influence of baseline fluctuation on the pulse recognition accuracy can be reduced, and the accuracy of pulse signal recognition is improved.

Description

Baseline processing method and device for pulse signal and particle detection system
Technical Field
The present application relates to the field of signal processing technologies, and in particular, to a baseline processing method and device for a pulse signal, and a particle detection system.
Background
In general, when processing a pulse signal, it is necessary to obtain characteristic data such as an amplitude, a pulse width, and a shape of the pulse signal, and from the characteristic data, another characteristic corresponding to the pulse signal can be further obtained. For example, when studying pulse signals generated by particles, the characteristic data may indicate characteristics corresponding to different particles, such as peak characteristics proportional to the volume of the particles, and a peak reflecting a particle.
In the existing pulse recognition, data collected for a period of time is stored, and then uploaded to relevant equipment, and then pulse recognition is performed. This method has two disadvantages: the method has the advantages that firstly, a large storage space is needed for data storage, and the larger the acquired data is, the larger the needed storage space is, so that the cost of the instrument is increased; secondly, the processing time is increased and the processing efficiency of the device is reduced due to a large amount of data storage and reading operations and uploading operations.
Disclosure of Invention
The technical scheme adopted by the application is as follows: a baseline processing method of a pulse signal is provided, the method comprising: sequentially acquiring data of each sampling point in a pulse signal to be processed; and acquiring the average value of the current sampling point and the data of the continuous preset number of sampling points before the current sampling point as a base line value corresponding to the current sampling point. And subtracting the corresponding baseline value from the data of each sampling point to obtain the data of each sampling point after baseline removal, thereby obtaining the target pulse signal after baseline removal.
Another technical scheme adopted by the application is as follows: there is provided a baseline processing apparatus for a pulse signal, the apparatus comprising a processor and a memory, wherein the memory is used for storing a computer program, and the computer program is used for implementing the baseline processing method for a pulse signal as described above when being executed by the processor.
Another technical scheme adopted by the application is as follows: there is provided a computer storage medium for storing a computer program which, when executed by a processor, is adapted to implement the method of baseline processing of pulse signals as described above.
Another technical scheme adopted by the application is as follows: providing a particle detection system, which comprises a particle measuring device, a pulse processing device and a pulse identification device; the particle measuring device is used for generating a corresponding pulse signal based on particles to be measured, the pulse processing device is used for preprocessing the pulse signal, and the baseline processing device is used for performing baseline processing on the pulse signal, wherein the baseline processing device is the baseline processing device of the pulse signal.
The baseline processing method of the pulse signal comprises the following steps: sequentially acquiring data of each sampling point in a pulse signal to be processed; and acquiring the average value of the data of the current sampling point and the continuous preset number of sampling points before the current sampling point as a base line value corresponding to the current sampling point. And subtracting the corresponding baseline value from the data of each sampling point to obtain the data of each sampling point after baseline removal, thereby obtaining the target pulse signal after baseline removal. By the mode, the most adaptive baseline value of each sampling point can be determined through the data of the plurality of sampling points, baseline removal processing is performed on each sampling point through different baseline values, the influence of baseline fluctuation on pulse identification accuracy is reduced, and therefore the accuracy of pulse signal identification is improved.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts. Wherein:
FIG. 1 is a schematic diagram of an embodiment of a particle detection system provided herein;
FIG. 2 is a schematic diagram of a particle measurement device in an embodiment of the particle detection system provided herein;
FIG. 3 is a schematic diagram of a pulse processing apparatus in an embodiment of a particle detection system provided in the present application;
FIG. 4 is a schematic flow chart diagram illustrating an embodiment of a method for baseline processing of a pulse signal provided herein;
FIG. 5 is a schematic flowchart of an embodiment of a method for identifying a pulse signal provided in the present application;
FIG. 6 is a schematic diagram of the signals in step 51 of FIG. 5;
FIG. 7 is a signal diagram of step 52 of FIG. 5;
FIG. 8 is a schematic diagram of the signals in step 54 of FIG. 5;
FIG. 9 is a schematic diagram of a baseline processing module;
FIG. 10 is a diagram showing changes in data in the array memory 1;
FIG. 11 is a schematic diagram of a pulse recognition module;
FIG. 12 is a schematic diagram of an embodiment of a baseline processing apparatus for pulse signals provided herein;
FIG. 13 is a schematic structural diagram of an embodiment of a computer storage medium provided in the present application.
Detailed Description
Reference herein to "an embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment can be included in at least one embodiment of the application. The appearances of the phrase in various places in the specification are not necessarily all referring to the same embodiment, nor are separate or alternative embodiments mutually exclusive of other embodiments. It is explicitly and implicitly understood by one skilled in the art that the embodiments described herein can be combined with other embodiments.
Referring to fig. 1, fig. 1 is a schematic structural diagram of an embodiment of a particle detection system provided in the present application, which includes a particle measurement device 10, a pulse processing device 20, and a baseline processing device 30.
Alternatively, the particle measurement device 10, the pulse processing device 20, and the baseline processing device 30 may be connected in sequence in a wired or wireless manner for data transmission and interaction.
In particular, referring to fig. 2, fig. 2 is a schematic structural diagram of a particle measurement device in an embodiment of the particle detection system provided in the present application.
The particle measuring device 10 includes a counting cell 11, the counting cell 11 specifically includes a front cell counting cell 11a and a rear cell counting cell 11b, the front cell counting cell 11a and the rear cell counting cell 11b are filled with a diluent 12 covering front and rear cell electrodes, and the rear cell counting cell 11b also stores particles to be measured.
Wherein, be provided with precious stone hole 11c between forebay counting chamber 11a and the back pond counting chamber 11b, forebay counting chamber 11a and back pond counting chamber 11b pass through precious stone hole 11c and connect promptly. The gem hole 11c is a tiny through hole, which only allows one or more particles to pass through at the same time; in general, the diameter of the gem hole 11c is set based on the size of the particles to be measured.
The particle measuring device 10 further includes a sensor 13 for collecting a pulse signal of the particle, in this embodiment, the sensor 13 is a constant current source component, and the constant current source component includes a constant current source 13a, a front cell electrode 13b and a rear cell electrode 13 c. The constant current source 13a, the front cell electrode 13b and the rear cell electrode 13c form a closed loop circuit through which electrons can flow, and the constant current source 13a outputs a stable current so that a stable current magnetic field is formed between the front cell electrode 13b and the rear cell electrode 13 c.
The following briefly describes the generation of the following particle pulse signal: under the action of external force, the diluent 12 in the rear cell counting cell 11b flows to the front cell counting cell 11 a; in the flowing process of the diluent 12, the particles to be detected flow along with the diluent 12 and sequentially pass through the gem hole 11 c; during the process that the particles to be measured pass through the gem hole 11c, the current magnetic field in the gem hole 11c is changed, so that a pulse voltage signal is generated at two ends of the front cell electrode 13b and the rear cell electrode 13c, and the size of the pulse voltage signal is related to the size of the particles. According to ohm's law (the relationship V ═ I × R between the voltage V, the current I, and the impedance R), where the current I referred to in the present device is a constant current output by the constant current source 13a, the impedance R can be regarded as the size of the particles. It can be known that the larger the particle to be measured passing through the gem hole 11c, the larger the blocking R is, and the larger the voltage value V of the output pulse signal is.
The particle measuring device 10 sends the obtained pulse signal to the pulse processing device 20 so that the pulse processing device 20 performs preprocessing on the pulse signal.
Referring to fig. 3, fig. 3 is a schematic structural diagram of a pulse processing apparatus in an embodiment of a particle detection system provided in the present application.
The pulse processing apparatus 20 specifically includes a fixed gain amplifying circuit 21, an adjustable gain amplifying circuit 22, a band-pass filter circuit 23, a dc boost circuit 24, and an ADC (Analog-to-Digital Converter) converting circuit 25. The fixed gain amplification circuit 21 performs fixed gain amplification on the analog pulse signal output by the particle measurement device 10, and outputs an analog pulse signal with a certain amplitude; the adjustable gain amplifying circuit 22 is used for performing gain adjustable operation within a certain range on the analog pulse signal output by the fixed gain amplifying circuit 21, and outputting the analog pulse signal of which the signal amplitude can be changed within a certain range; together, fixed gain amplifier circuit 21 and adjustable gain amplifier circuit 22 may dynamically adjust the amplitude of the analog signal such that the amplitude of the signal meets the amplitude range sampled by ADC conversion circuit 25. The band-pass filter circuit 23 filters the analog signal output from the variable gain amplifier circuit 22 to remove noise included in the analog signal, and the low-frequency cutoff frequency and the high-frequency cutoff frequency of the band-pass filter circuit 23 are determined by the bandwidth of the analog pulse signal. The dc boost circuit 24 boosts the voltage of the analog pulse signal output from the band-pass filter circuit 23 in its entirety, in order to reduce the influence of the baseline ripple of the pulse signal on the pulse recognition. The ADC conversion circuit 25 converts the analog pulse signal into digital pulse data, and outputs the digital pulse data to the baseline processing device 30 for processing.
Here, the signal output from the particle measuring device 10 is defined as a first pulse signal (analog signal), and the signal output from the pulse processing device 20 is defined as a second pulse signal (digital signal).
Then, the above-mentioned signal processing procedure may include the steps of: performing gain amplification processing on the first pulse signal; filtering the first pulse signal subjected to the gain amplification treatment; performing direct current lifting processing on the first pulse signal after filtering processing; and performing analog-to-digital conversion processing on the first pulse signal subjected to the direct current lifting processing to obtain a second pulse signal.
The baseline processing device 30 mainly includes two processes of baseline removal and pulse recognition when processing the second pulse signal, and the process of baseline removal is described below.
Referring to fig. 4, fig. 4 is a schematic flowchart of an embodiment of a method for removing a baseline of a pulse signal provided in the present application, the method including:
step 41: and sequentially acquiring data of each sampling point in the pulse signal to be processed.
Step 42: and acquiring the average value of the data of the current sampling point and the continuous preset number of sampling points before the average value of the current sampling point as a base line value corresponding to the average value of the current sampling point.
Optionally, in a specific embodiment, step 42 may include:
caching data of a continuous preset number of sampling points; calculating a first accumulated sum of the cached data of the preset number of sampling points; and taking the average value of the first accumulated sum of the average values as a baseline value corresponding to the foremost sampling point in the average value preset number of sampling points.
In addition, after the above steps, the method may further include:
deleting the data of the foremost sampling point in the average value preset number of sampling points, and caching the data of the newly input sampling point at the tail end of the sampling point queue. In the following steps, due to the change of the cached data, the steps are repeated, and the average value of the new accumulated values is calculated and obtained to be used as the base line value corresponding to the sampling point at the forefront in the current cached data.
Step 43: and subtracting the corresponding baseline value from the data of each sampling point to obtain the data of each sampling point after baseline removal, thereby obtaining the target pulse signal after baseline removal.
In the following embodiments, the calculation of the baseline value will be described in detail, and will not be described herein.
The baseline processing method of the pulse signal provided by the embodiment comprises the following steps: sequentially acquiring data of each sampling point in a pulse signal to be processed; and acquiring the average value of the data of the current sampling point and the continuous preset number of sampling points before the current sampling point as a base line value corresponding to the current sampling point. And subtracting the corresponding baseline value from the data of each sampling point to obtain the data of each sampling point after baseline removal, thereby obtaining the target pulse signal after baseline removal. By the mode, the most adaptive baseline value of each sampling point can be determined through the data of the plurality of sampling points, baseline removal processing is performed on each sampling point through different baseline values, the influence of baseline fluctuation on pulse identification accuracy is reduced, and therefore the accuracy of pulse signal identification is improved.
Referring to fig. 5, fig. 5 is a schematic flowchart of an embodiment of a method for identifying a pulse signal provided in the present application, where the method includes:
step 51: and acquiring the initial position of the target pulse signal.
Optionally, the starting position of the target pulse signal may be determined based on a change of the amplitude of the pulse signal, for example, a threshold may be set, the amplitude of each sampling point of the pulse signal may be sequentially obtained, and when the amplitude of the pulse signal is greater than the set threshold, the point is used as the starting position of the pulse signal. Of course, in other embodiments, the amplitude values of the multiple sampling points may also be obtained continuously, and when the amplitude values of the multiple continuous sampling points all satisfy the above requirement, one of the multiple sampling points may be used as the starting position, for example, the amplitude values of 3 continuous sampling points are greater than the set threshold, and any one of the three sampling points may be used as the starting position.
Optionally, in a specific embodiment, step 51 may specifically include:
and acquiring first data, second data and third data of three continuous sampling points in the target pulse signal. And when the difference value between the second data and the first data is greater than a first set threshold, the difference value between the third data and the second data is greater than a second set threshold, and the third data is greater than a third set threshold, determining the sampling point corresponding to the first data as the initial position.
As shown in fig. 6, fig. 6 is a schematic diagram of the signal in step 51 in fig. 5, where the abscissa is time, the ordinate is pulse amplitude (voltage value), M1, M2, and M3 are three consecutive sample points, data corresponding to M1 is a, data corresponding to M2 is B, and data corresponding to M3 is C.
In the present embodiment, the starting point is determined by judging the size of data of three consecutive sampling points, three thresholds, namely, a first set threshold Th1, a second set threshold Th2, and a third set threshold Th3, which are positive numbers, may be set in advance, and the three thresholds may be set according to the amplitude condition of the entire signal.
Optionally, when B-a > Th1, C-B > Th2, and C > Th3 are simultaneously satisfied, the sampling point M1 corresponding to a is determined to be the starting point of the pulse.
Step 52: acquiring pulse peak data of the target pulse signal based on the initial position; the pulse peak data is data corresponding to the pulse peak position.
The pulse peak data is obtained from the start position obtained in step 51, and optionally, a threshold value may be set, and when the amplitude of the pulse is greater than the set threshold value, the amplitude is considered as the pulse peak.
Optionally, in a specific embodiment, step 52 may specifically include:
acquiring fourth data, fifth data and sixth data of three continuous sampling points after the initial position; and when the fifth data is larger than the fourth data and the fifth data is larger than the sixth data, the fifth data is taken as pulse peak data.
As shown in fig. 7, fig. 7 is a schematic diagram of the signal in step 52 in fig. 5, where the abscissa is time, the ordinate is pulse amplitude (voltage value), M4, M5, and M6 are three consecutive sample points, data corresponding to M4 is D, data corresponding to M5 is E, and data corresponding to M6 is F.
In the present embodiment, the peak value is determined by determining the magnitude of data of three consecutive sampling points, and if D < E and E > F are satisfied, it is determined that E is the peak value.
Step 53: and acquiring the end position of the target pulse signal.
The end position of the pulse signal is started to be acquired after the peak data is acquired, specifically, a threshold value is set, and when the amplitude is smaller than the amplitude, the technical position of the pulse is determined.
For example, a fourth set threshold Th4 may be set, and it is sequentially determined whether or not data at each sample point subsequent to the sample point corresponding to the pulse peak data is smaller than the fourth set threshold Th 4; when the data of the current sampling point is smaller than the fourth set threshold Th4, the current sampling point is determined to be the end position.
Step 54: and obtaining pulse width data of the target pulse signal based on the starting position and the ending position.
It is understood that in the above-mentioned steps 51 to 53, the start position, peak data, and end position of the target pulse signal are acquired, respectively, and then in this step, the pulse width data can be obtained from the above-mentioned three data.
As shown in fig. 8, fig. 8 is a schematic diagram of the signal in step 54 in fig. 5, where the abscissa is time, the ordinate is pulse amplitude (voltage value), N1 is the starting point, N2 is the sampling point corresponding to the pulse peak data, and N3 is the ending point.
Optionally, step 54 may specifically include:
determining front peak width data of the target pulse signal based on the number of sampling points between the starting position N1 and the pulse peak position N2; and/or
Determining post-peak width data of the target pulse signal based on the number of sampling points between the pulse peak position N2 and the end position N3; and/or
Full pulse width data of the target pulse signal is determined based on the number of sampling points between the start position N1 and the end position N2.
Optionally, after the above steps, the method may further include:
judging whether the pulse peak data and the pulse width data are valid; and if so, storing the pulse peak data and the pulse width data.
When judging whether the pulse judgment peak value data and the pulse width data are effective, judging whether the pulse peak value of the target pulse signal is larger than a set peak value threshold value; and judging whether the pulse width of the target pulse signal is larger than a set pulse width threshold value or not.
For example, according to the set threshold values of the minimum amplitude and the maximum amplitude of the effective pulse, the pulse amplitude meeting the range of the amplitude threshold value is taken as the effective pulse amplitude; according to the set minimum front width value and the maximum front threshold value of the effective pulse, taking the current pulse front width within the range meeting the front width threshold value as the effective pulse front width; according to the set effective minimum rear peak width and maximum rear peak width threshold, taking the current pulse rear peak width within the range meeting the rear peak width threshold as the effective pulse rear peak width; according to the set minimum full peak width and the maximum full peak width threshold value; and taking the current pulse full peak width within the range meeting the full peak width threshold value as the effective pulse full peak width. According to the method, the current pulse can be judged to be the effective pulse under the conditions of the effective pulse amplitude, the effective front peak width, the effective rear peak width and the effective full peak width.
Since the baseline removing processing is performed in the previous step, after the pulse signal is judged to be valid, the previously removed baseline value is added to obtain the actual pulse data.
Specifically, a baseline value corresponding to each sampling point in the effective pulse signal is obtained; adding the corresponding baseline value to the data of each sampling point to obtain the actual data of each sampling point; storing the pulse peak data and the pulse width data after the addition of the baseline value.
The method for identifying the pulse signal provided by the embodiment comprises the following steps: acquiring the initial position of a target pulse signal; acquiring pulse peak data of the target pulse signal based on the initial position; acquiring the end position of a target pulse signal; and obtaining pulse width data of the target pulse signal based on the starting position and the ending position. Through the mode, the starting position, the peak value data, the ending position and the pulse width data of the pulse signal can be judged in real time based on the pulse amplitude condition of the continuous sampling points in the transmission process of the pulse signal, the pulse data do not need to be stored and then processed, so that the data meeting the requirements are selected to be stored in the subsequent storage process, on one hand, the storage space is reduced, the cost is reduced, on the other hand, the data storage, the reading operation and the uploading operation are quicker, the processing time is reduced, and the processing efficiency of the equipment is improved.
It will be appreciated that the baseline processing device 30 described above mainly includes two processes of baseline removal and pulse recognition when processing the second pulse signal, and then the baseline processing device 30 may include two separate modules, namely, a baseline processing module 31 and a pulse recognition module 32.
As shown in fig. 9, fig. 9 is a schematic structural diagram of a baseline processing module, and the baseline processing module 31 specifically includes an accumulator, a subtractor 1, an adder, a divider, a subtractor 2, an array memory 1, and an array memory 2. The process of de-baselining is illustrated by a specific example below.
Step a 1: and sequentially forming a sequence of the continuous sampling point data of the second pulse signal according to time and storing the sequence of the continuous sampling point data in a sequence memory 1. The array memory 1 stores a fixed number of sample point data, i.e., a storage depth W whose size setting is determined according to the density of the sample point data.
Step a 2: and a step a1, simultaneously, sequentially forming a sequence of the continuous sampling point data according to time and storing the data in the sequence memory 2, wherein the storage depth of the sequence memory 2 is W/2.
Step a 3: and step a2, circularly accumulating and summing W continuous sampling point data to obtain an accumulated value sum 1.
Step a 4: when a new sampling point is input, the accumulated value sum1 subtracts the data output by the array memory 1 to obtain a new accumulated value sum 2.
Step a 5: simultaneously with step a4, when a new sample data is input, the array memory 1 discards the foremost data in the stored data array, all the remaining data are shifted forward, and the newly input data is arranged at the end of the data array, as shown in fig. 10, and fig. 10 is a schematic diagram of data change in the array memory 1.
Step a 6: and adding the accumulated value sum2 to the new sampling point data in the step a5 to obtain a new accumulated value sum 3.
Step a 7: and inputting the accumulated value sum3 into a divider to obtain the average value of sum3, namely the baseline value.
It should be noted that the baseline value obtained in this step is the baseline value corresponding to the front-most data in the current array memory 1.
Step a 8: and subtracting the baseline value from the sampling point data output by the array memory 2 to obtain the sampling point data after baseline removal.
The sampling point data output by the array memory 2 is the foremost data in the array memory 1 in the step a 1.
Step a 9: repeating steps a1 through a8 to obtain new baseline values and de-baseline data.
It can be understood that, through the baseline removing process, the baseline value can be determined based on the data of a plurality of continuous sampling points, so that the accuracy of pulse signal identification is improved, and in particle detection, the accuracy of particle identification can be further improved.
As shown in fig. 11, fig. 11 is a schematic structural diagram of the pulse recognition module. The process of de-pulse identification is illustrated by a specific embodiment.
Step b 1: the data caching module 1 caches a fixed amount of pulse data after continuous baseline removal in real time; meanwhile, the data caching module 2 caches a fixed amount of continuous baseline data in real time.
Step b 2: the pulse starting point identification module identifies a starting point of a pulse and outputs a pulse starting enable signal and a pulse starting position.
Step b 3: the pulse peak point identification module starts to identify the peak value of the pulse under the condition that the pulse starting enabling signal is effective, and outputs three parameters of the pulse peak enabling signal, the pulse peak point position and the pulse peak value.
Step b 4: and c, simultaneously executing the step b3, and starting counting the number of the sampling point data by the pulse width counting module under the condition that the pulse start enabling signal is effective.
Step b 5: and the pulse end point identification module starts to identify the end point of the pulse and outputs a pulse end enable signal and the position of the pulse end point under the condition that the pulse peak point enable signal is effective.
Step b 6: and c, simultaneously performing the step b5, and obtaining a baseline value output on the time corresponding to the peak point according to the position of the pulse peak point by the effective baseline judging module.
Step b 7: the pulse effectiveness judging module judges the effectiveness of the front peak width, the rear peak width, the full peak width and the peak value under the condition that the pulse end point enable signal is effective. And if the current peak width, the rear peak width, the full peak width and the peak value all meet the set threshold range, outputting an effective enabling signal, an effective pulse front peak width, an effective pulse rear peak width, an effective pulse full peak width and an effective pulse peak value.
Step b 8: and the pulse peak value compensation module compensates the baseline value into the effective pulse peak value under the condition of the effective enabling signal and outputs a storage enabling signal and an actual pulse peak value.
Step b 9: and under the action of the storage enabling signal, storing the effective pulse front peak width, the effective pulse rear peak width, the effective pulse full peak width and the actual pulse peak value into a memory.
Step b 10: and repeating the steps b1 to b9, and identifying the front peak width, the rear peak width, the full peak width and the actual peak value of the pulse data in real time to be stored in the memory.
It can be appreciated that through the pulse recognition process described above, the data storage space can be reduced and the data processing speed can be increased, i.e., the cost of the instrument can be reduced and the rate at which the instrument processes samples can be increased.
Referring to fig. 12, fig. 12 is a schematic structural diagram of an embodiment of a pulse signal baseline processing device 120 provided in the present application, which includes a processor 121 and a memory 122. The processor 121 and the memory 122 may be connected by a bus. In addition, the baseline processing device 120 for pulse signals may further include a communication module for data interaction with other devices, for example, the communication module may be a data interface for inputting and outputting pulse signals.
The memory 122 is used for storing a computer program, and the computer program is executed by the processor 121 to implement the baseline processing method of the pulse signal as follows:
sequentially acquiring data of each sampling point in a pulse signal to be processed; and acquiring the average value of the data of the current sampling point and the continuous preset number of sampling points before the current sampling point as a base line value corresponding to the current sampling point. And subtracting the corresponding baseline value from the data of each sampling point to obtain the data of each sampling point after baseline removal, thereby obtaining the target pulse signal after baseline removal.
Optionally, the computer program is further configured to, when executed by the processor 121, implement the following pulse signal identification method: caching data of a continuous preset number of sampling points; calculating a first accumulated sum of the cached data of the preset number of sampling points; and taking the average value of the first accumulated sum as a base line value corresponding to the foremost sampling point in the preset number of sampling points.
Optionally, the computer program is further configured to, when executed by the processor 121, implement the following pulse signal identification method: deleting the data of the foremost sampling point in the preset number of sampling points, and caching the data of the newly input sampling point at the tail end of the sampling point queue.
Optionally, in the above embodiment, the three processes of preprocessing, baseline removal, and pulse recognition for the pulse signal may be all completed by one processing chip, and the chip is integrated with a processing circuit including the above functions at the same time, so as to implement the method steps in the above embodiment.
Referring to fig. 13, fig. 13 is a schematic structural diagram of an embodiment of a computer storage medium 130 provided in the present application, the computer storage medium 130 is used for storing a computer program 131, and the computer program 131 is executed by a processor to implement the following baseline processing method for pulse signals:
sequentially acquiring data of each sampling point in a pulse signal to be processed; and acquiring the average value of the data of the current sampling point and the continuous preset number of sampling points before the current sampling point as a base line value corresponding to the current sampling point. And subtracting the corresponding baseline value from the data of each sampling point to obtain the data of each sampling point after baseline removal, thereby obtaining the target pulse signal after baseline removal.
It can be understood that, for the methods executed in the embodiments of the baseline processing apparatus for pulse signals and the computer storage medium, specific reference may be made to the flow steps in the foregoing embodiments, which have similar principles and are not described herein again.
Embodiments of the present application may be implemented in software functional units and may be stored in a computer readable storage medium when sold or used as a stand-alone product. Based on such understanding, the technical solution of the present application may be substantially implemented or contributed by the prior art, or all or part of the technical solution may be embodied in a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, a network device, or the like) or a processor (processor) to execute all or part of the steps of the method according to the embodiments of the present application. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
The above description is only for the purpose of illustrating embodiments of the present application and is not intended to limit the scope of the present application, and all modifications of equivalent structures and equivalent processes, which are made by the contents of the specification and the drawings of the present application or are directly or indirectly applied to other related technical fields, are also included in the scope of the present application.

Claims (15)

1. A method for baseline processing of a pulse signal, comprising:
sequentially acquiring data of each sampling point in a pulse signal to be processed;
acquiring a current sampling point and an average value of data of a continuous preset number of sampling points before the current sampling point, wherein the average value is used as a base line value corresponding to the current sampling point;
and subtracting the corresponding baseline value from the data of each sampling point to obtain the data of each sampling point after baseline removal, thereby obtaining the target pulse signal after baseline removal.
2. The baseline processing method for a pulse signal according to claim 1,
the step of obtaining the current sampling point and the average value of the data of the continuous preset number of sampling points before the current sampling point as the base line value corresponding to the current sampling point comprises the following steps:
caching data of a continuous preset number of sampling points;
calculating a first accumulated sum of the cached data of the preset number of sampling points;
and taking the average value of the first accumulated sum as a base line value corresponding to the foremost sampling point in the preset number of sampling points.
3. The baseline processing method for a pulse signal according to claim 2,
the baseline processing method further comprises:
deleting the data of the foremost sampling point in the preset number of sampling points, and caching the data of the newly input sampling point at the tail end of the sampling point queue.
4. The baseline processing method for a pulse signal according to claim 1,
the method further comprises:
acquiring the initial position of a target pulse signal;
acquiring pulse peak data of the target pulse signal based on the starting position; wherein, the pulse peak data is data corresponding to the pulse peak position;
acquiring the end position of the target pulse signal;
and obtaining pulse width data of the target pulse signal based on the starting position and the ending position.
5. The baseline processing method for a pulse signal according to claim 4,
the step of obtaining the start position of the target pulse signal includes:
acquiring first data, second data and third data of three continuous sampling points in the target pulse signal;
and when the difference value between the second data and the first data is greater than a first set threshold, the difference value between the third data and the second data is greater than a second set threshold, and the third data is greater than a third set threshold, determining a sampling point corresponding to the first data as an initial position.
6. The baseline processing method for a pulse signal according to claim 5,
the step of acquiring pulse peak data of the target pulse signal based on the start position includes:
acquiring fourth data, fifth data and sixth data of three continuous sampling points behind the initial position;
and when the fifth data is larger than the fourth data and the fifth data is larger than the sixth data, taking the fifth data as the pulse peak data.
7. The baseline processing method for a pulse signal according to claim 6,
the step of acquiring the end position of the target pulse signal includes:
sequentially judging whether the data of each sampling point behind the sampling point corresponding to the pulse peak data is smaller than a fourth set threshold value;
and when the data of the current sampling point is smaller than the fourth set threshold, determining the current sampling point as the end position.
8. The baseline processing method for a pulse signal according to claim 7,
the step of obtaining the pulse width data of the target pulse signal based on the start position and the end position includes:
determining front peak width data of the target pulse signal based on the number of sampling points between the starting position and the pulse peak position; and/or
Determining post-peak width data of the target pulse signal based on the number of sampling points between the pulse peak position and the end position; and/or
And determining full pulse width data of the target pulse signal based on the number of sampling points between the starting position and the ending position.
9. The baseline processing method for a pulse signal according to claim 4,
after the step of obtaining the pulse width data of the target pulse signal based on the start position and the end position, the method further includes:
judging whether the pulse peak data and the pulse width data are valid;
and if so, storing the pulse peak data and the pulse width data.
10. The baseline processing method for a pulse signal according to claim 9,
the step of determining whether the pulse peak data and the pulse width data are valid includes:
judging whether the pulse peak value of the target pulse signal is larger than a set peak value threshold value or not; and
and judging whether the pulse width of the target pulse signal is greater than a set pulse width threshold value.
11. The baseline processing method for a pulse signal according to claim 9,
the step of storing the pulse peak data and the pulse width data includes:
obtaining a baseline value corresponding to each sampling point in the effective pulse signal;
adding the corresponding baseline value to the data of each sampling point to obtain the actual data of each sampling point;
storing the pulse peak data and the pulse width data after the addition of the baseline value.
12. The baseline processing method for a pulse signal according to claim 1,
before the step of obtaining the starting position of the target pulse signal, the method further includes:
acquiring a first pulse signal;
performing gain amplification processing on the first pulse signal;
filtering the first pulse signal subjected to gain amplification;
performing direct current lifting processing on the first pulse signal after filtering processing;
and performing analog-to-digital conversion processing on the first pulse signal subjected to the direct current lifting processing to obtain the pulse signal to be processed.
13. A baseline processing apparatus for a pulse signal, comprising a processor and a memory, wherein the memory is configured to store a computer program, which when executed by the processor, is configured to implement the baseline processing method for a pulse signal according to any one of claims 1 to 12.
14. A computer storage medium for storing a computer program which, when executed by a processor, is adapted to implement the method of baseline processing of a pulse signal according to any one of claims 1-12.
15. A particle detection system is characterized by comprising a particle measuring device, a pulse processing device and a baseline processing device;
the particle measurement device is configured to generate a corresponding pulse signal based on a particle to be measured, the pulse processing device is configured to perform preprocessing on the pulse signal, and the baseline processing device is configured to perform baseline processing on the pulse signal, wherein the baseline processing device is the baseline processing device according to claim 13.
CN201811285531.4A 2018-10-31 2018-10-31 Baseline processing method and device for pulse signal and particle detection system Pending CN111122421A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811285531.4A CN111122421A (en) 2018-10-31 2018-10-31 Baseline processing method and device for pulse signal and particle detection system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811285531.4A CN111122421A (en) 2018-10-31 2018-10-31 Baseline processing method and device for pulse signal and particle detection system

Publications (1)

Publication Number Publication Date
CN111122421A true CN111122421A (en) 2020-05-08

Family

ID=70485303

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811285531.4A Pending CN111122421A (en) 2018-10-31 2018-10-31 Baseline processing method and device for pulse signal and particle detection system

Country Status (1)

Country Link
CN (1) CN111122421A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112667967A (en) * 2020-12-19 2021-04-16 华中科技大学 Data preprocessing method and device for zero drift of output voltage
CN113109630A (en) * 2021-03-29 2021-07-13 深圳市科曼医疗设备有限公司 Pulse data processing method and device and blood cell analyzer
CN115980821A (en) * 2023-01-16 2023-04-18 中国科学院近代物理研究所 Self-adaptive energy spectrum measuring method and system based on FPGA

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112667967A (en) * 2020-12-19 2021-04-16 华中科技大学 Data preprocessing method and device for zero drift of output voltage
CN112667967B (en) * 2020-12-19 2024-02-09 华中科技大学 Data preprocessing method and device for zero drift of output voltage
CN113109630A (en) * 2021-03-29 2021-07-13 深圳市科曼医疗设备有限公司 Pulse data processing method and device and blood cell analyzer
CN113109630B (en) * 2021-03-29 2022-10-04 深圳市科曼医疗设备有限公司 Pulse data processing method and device and blood cell analyzer
CN115980821A (en) * 2023-01-16 2023-04-18 中国科学院近代物理研究所 Self-adaptive energy spectrum measuring method and system based on FPGA
CN115980821B (en) * 2023-01-16 2023-09-05 中国科学院近代物理研究所 Self-adaptive spectrum measurement method and system based on FPGA

Similar Documents

Publication Publication Date Title
CN111122421A (en) Baseline processing method and device for pulse signal and particle detection system
US7860688B2 (en) Signal baseline processing device and processing method thereof
CN111220839A (en) Pulse signal identification method and device and computer storage medium
CN111122420A (en) Synchronous identification method and device of multichannel pulse signals and particle detection system
JP2008501954A5 (en)
CN104614756B (en) A kind of nucleic power spectrum digital collection system and its acquisition method
CN110609050B (en) Method and system for eliminating X-ray fluorescence spectrum peak tailing
CN107622773B (en) Audio feature extraction method and device and electronic equipment
US10763976B1 (en) Digital low frequency correction circuit and method for reducing low frequency disturbances within a digital signal
JP2017528047A (en) Crest factor reduction
CN105259086B (en) The detection method and detecting system of dust concentration
JP4880077B1 (en) X-ray detection signal processing apparatus and method
CN111046836B (en) Method, system, device and storage medium for filtering, denoising and analyzing partial discharge signal
CN111122984A (en) Pulse signal identification method and apparatus, storage medium, and particle detection system
US7725281B2 (en) Method for pole-zero adjustment in radiation measurement systems
CN112269182B (en) Method and device for determining target radar signal, storage medium and electronic device
CN111839847B (en) Myoelectric prosthetic limb control method, myoelectric prosthetic limb control device, electronic equipment and computer readable medium
CN113568032A (en) Negative index nuclear pulse signal processing method and system based on z transformation
CN106802293A (en) waveform peak detection method and device
CN105099573B (en) A kind of interference signal processing method, device and medical treatment detection device
WO2017031581A1 (en) System and method for detecting spikes in noisy signals
Tulyakova et al. Adaptive algorithms for elimination of electromyographic noise in the electrocardiogram signal
CN114252899A (en) Cascade impulse convolution forming method and device for kernel signal
CN102655412A (en) A/D sampling signal filtering method
Biroth et al. A low-noise and fast pre-amplifier and readout system for SiPMs

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