CN113890674A - Packet coding method, device, equipment and computer storage medium - Google Patents

Packet coding method, device, equipment and computer storage medium Download PDF

Info

Publication number
CN113890674A
CN113890674A CN202111054682.0A CN202111054682A CN113890674A CN 113890674 A CN113890674 A CN 113890674A CN 202111054682 A CN202111054682 A CN 202111054682A CN 113890674 A CN113890674 A CN 113890674A
Authority
CN
China
Prior art keywords
reading
groups
units
encoding
unit
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
CN202111054682.0A
Other languages
Chinese (zh)
Other versions
CN113890674B (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.)
China Institute of Atomic of Energy
Original Assignee
China Institute of Atomic of Energy
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 China Institute of Atomic of Energy filed Critical China Institute of Atomic of Energy
Priority to CN202111054682.0A priority Critical patent/CN113890674B/en
Publication of CN113890674A publication Critical patent/CN113890674A/en
Application granted granted Critical
Publication of CN113890674B publication Critical patent/CN113890674B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/004Arrangements for detecting or preventing errors in the information received by using forward error control
    • H04L1/0056Systems characterized by the type of code used
    • H04L1/0057Block codes

Abstract

The embodiment of the application discloses a packet coding method, a device, equipment and a computer storage medium, wherein the method comprises the following steps: determining the number n of reading units included in the reading electrode; wherein n is an integer greater than zero; dividing the n reading units into K groups, and respectively encoding the reading units in each group in the K groups to obtain respective encoding results of the K groups; k is an integer larger than zero, and the value of K is in an incidence relation with a reading unit threshold value which can be triggered by a reading electrode in a single event; and respectively carrying out position decoding according to the respective encoding results of the K groups, and determining the physical position of each group of the K groups for triggering the reading unit. Thus, the block coding reading mode can be used for identifying the triggering of a plurality of reading units in one event, and meanwhile, the position resolution capability of the gas detection equipment can be guaranteed.

Description

Packet coding method, device, equipment and computer storage medium
Technical Field
The present application relates to the field of signal readout technologies, and in particular, to a packet coding method, apparatus, device, and computer storage medium.
Background
A Micro-Pattern gas Detector (MPGD) is a novel position sensitive proportional counter and is read out by adopting a microelectrode. At present, a MICRO-Mesh gas detector (MICROMEGAS) is developed more mature and has good position resolution capability.
In the event of detection by MICROMEGAS, MICROMEGAS detectors tend to have multiple read-out units triggered in one event; but conventional coding schemes only recognize that one read element is triggered for one event. Another conventional connection is one in which one read-out unit is connected using one electronics channel, and this requires a large number of electronics channels, resulting in a high cost of the detection system.
Disclosure of Invention
The application provides a block coding method, a block coding device, a block coding equipment and a computer storage medium, which can have the capability of identifying the triggering of a plurality of reading units in one event and can ensure the position resolution capability of a gas detection device.
The technical scheme of the application is realized as follows:
in a first aspect, an embodiment of the present application provides a packet coding method, where the method includes:
determining the number n of reading units included in the reading electrode; wherein n is an integer greater than zero;
dividing the n reading units into K groups, and respectively encoding the reading units in each group of the K groups to obtain respective encoding results of the K groups; k is an integer larger than zero, and the value of K is in an incidence relation with a reading unit threshold value which can be triggered by the reading electrode in a single event;
and respectively carrying out position decoding according to the respective encoding results of the K groups, and determining the physical position of each group of the K groups for triggering the reading unit.
In some embodiments, the determining the number of readout cells n included in the readout electrode comprises:
acquiring the readout electrode;
and analyzing the reading electrode according to a preset reading mode, and determining the number n of reading units of the reading electrode in the current reading plane.
In some embodiments, the preset readout mode includes at least one of: a one-dimensional strip-like readout mode and a two-dimensional block-like readout mode.
In some embodiments, the method further comprises:
determining a threshold value N of a sensing unit which can be triggered in a single event of the sensing electrode;
setting the value of K to be larger than or equal to the threshold value N of the reading unit; wherein N is an integer greater than zero;
correspondingly, when the value of K is equal to N, the dividing the N readout units into K groups includes: and determining that the number of the read-out units in each group in the K groups is equal to N/N.
In some embodiments, the encoding the readout units in each of the K groups to obtain the respective encoding results of the K groups includes:
based on the ith group in the K groups, coding N/N reading units in the ith group by using a preset coding mode to obtain a coding result of the ith group; wherein i is an integer greater than zero and less than or equal to K.
In some embodiments, the encoding N/N readout units in the ith group by using a preset encoding method to obtain the encoding result of the ith group includes:
encoding the N/N reading units in the ith group by using a preset encoding mode, and outputting m paths of electronic signals; wherein m is an integer greater than zero and less than N/N;
amplifying the m paths of electronic signals through an amplifier module to obtain m paths of amplified signals;
and sampling the m paths of amplified signals through an analog-to-digital conversion module to obtain m paths of sampling signals, and determining the m paths of sampling signals as the coding result of the ith group.
In some embodiments, the separately performing position decoding according to the respective encoding results of the K groups to determine the physical position of each of the K groups that triggers the readout unit includes:
determining the m paths of sampling signals according to the coding result of the ith group;
and determining a target physical position corresponding to the m paths of sampling signals according to the m paths of sampling signals and the mapping relation between the physical positions and the electronic signals, and determining the target physical position as the physical position of the ith group of trigger reading units.
In a second aspect, an embodiment of the present application provides a block coding apparatus, including a determining unit, a grouping unit, an encoding unit, and a decoding unit; wherein the content of the first and second substances,
the determining unit is configured to determine the number n of the reading units included in the reading electrode; wherein n is an integer greater than zero;
the encoding unit is configured to divide the n reading units into K groups by the grouping unit, and then encode the reading units in each of the K groups to obtain respective encoding results of the K groups; k is an integer larger than zero, and the value of K is in an incidence relation with a reading unit threshold value which can be triggered by the reading electrode in a single event;
and the decoding unit is configured to perform position decoding respectively according to the respective encoding results of the K groups, and determine the physical position of each group of the K groups for triggering the reading unit.
In a third aspect, embodiments of the present application provide a gas detection apparatus comprising a memory and a processor; wherein the content of the first and second substances,
the memory for storing a computer program operable on the processor;
the processor, when executing the computer program, is configured to perform the method according to any of the first aspects.
In a fourth aspect, the present application provides a computer storage medium storing a computer program, which when executed by at least one processor implements the method according to any one of the first aspect.
According to the group coding method, the device, the equipment and the computer storage medium provided by the embodiment of the application, the number n of the reading units included in the reading electrode is determined; wherein n is an integer greater than zero; dividing the n reading units into K groups, and respectively encoding the reading units in each group in the K groups to obtain respective encoding results of the K groups; k is an integer larger than zero, and the value of K is in an incidence relation with a reading unit threshold value which can be triggered by a reading electrode in a single event; and respectively carrying out position decoding according to the respective encoding results of the K groups, and determining the physical position of each group of the K groups for triggering the reading unit. Therefore, by using a block coding reading mode, the capacity of identifying the triggering of a plurality of reading units can be realized in one event, the number of electronic reading channels can be reduced by matching with a corresponding coding scheme, the detection cost is reduced, and the position resolution capacity of the gas detection equipment can be ensured.
Drawings
Fig. 1 is a schematic flowchart of a block coding method according to an embodiment of the present application;
fig. 2 is a schematic diagram of a dichotomy coding according to an embodiment of the present application;
fig. 3 is a detailed flowchart of a block coding method according to an embodiment of the present application;
fig. 4 is a schematic diagram of a one-dimensional block coding readout technique according to an embodiment of the present application;
fig. 5 is a schematic structural diagram of a block coding apparatus according to an embodiment of the present disclosure;
fig. 6 is a schematic structural diagram of a gas detection apparatus according to an embodiment of the present disclosure;
fig. 7 is a schematic structural diagram of another gas detection apparatus according to an embodiment of the present disclosure.
Detailed Description
So that the manner in which the features and elements of the present embodiments can be understood in detail, a more particular description of the embodiments, briefly summarized above, may be had by reference to embodiments, some of which are illustrated in the appended drawings.
Unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this application belongs. The terminology used herein is for the purpose of describing embodiments of the present application only and is not intended to be limiting of the application.
In the following description, reference is made to "some embodiments" which describe a subset of all possible embodiments, but it is understood that "some embodiments" may be the same subset or different subsets of all possible embodiments, and may be combined with each other without conflict. It should also be noted that reference to the terms "first \ second \ third" in the embodiments of the present application is only used for distinguishing similar objects and does not represent a specific ordering for the objects, and it should be understood that "first \ second \ third" may be interchanged with a specific order or sequence where possible so that the embodiments of the present application described herein can be implemented in an order other than that shown or described herein.
It should be understood that Micro-patterned gas detectors (MPGD), which are a new type of position sensitive proportional counter and read out using Micro-electrodes, have become the focus of international gas Detector research. MPGD is generally composed of an ionization transition drift region, an avalanche amplification region, and a micro readout electrode. In addition, it is mature to adopt MICRO-Mesh-gas detector (MICROMEGAS), which is a MICRO-structured parallel plate gas detector operating in the proportional range, and the Structure can be regarded as that the gas detector is divided into two asymmetric parts by a Mesh grid film: the region with larger gap is called drift region, and the region with smaller gap is called avalanche amplification region. Thus, since the gas detector has good spatial and temporal resolutions, it is widely used in various application fields such as high-energy physics, nuclear detection, national economy, and the like as a charged particle detector.
In the case of a microstructure gas detector with position resolution (such as MICROMEGAS), binary encoding can be used for encoding readout, and although this encoding scheme can save a large number of electronic channels, it can only recognize that one readout unit is triggered in one event/case. However, in general, in the event detected by using MICROMEGAS, several readout units near the triggered readout unit often have small signals with certain amplitudes, so that MICROMEGAS with a large area often has a plurality of readout units triggered in one event, while the conventional coding scheme is that only one readout unit can be triggered in one event. Thus, the conventional connection of one readout unit using one electronic channel results in a large number of electronic channels, and the use of a large number of multi-channel integrated electronics results in high detection cost.
Based on this, the embodiments of the present application provide a packet coding method, and the basic idea of the method is: determining the number n of reading units included in the reading electrode; wherein n is an integer greater than zero; dividing the n reading units into K groups, and respectively encoding the reading units in each group of the K groups to obtain respective encoding results of the K groups; k is an integer larger than zero, and the value of K is in an incidence relation with a reading unit threshold value which can be triggered by the reading electrode in a single event; and respectively carrying out position decoding according to the respective encoding results of the K groups, and determining the physical position of each group of the K groups for triggering the reading unit. Therefore, by using a block coding reading mode, the capacity of identifying the triggering of a plurality of reading units can be realized in one event, the number of electronic reading channels can be reduced by matching with a corresponding coding scheme, the detection cost is reduced, and the position resolution capacity of the gas detection equipment can be ensured.
Embodiments of the present application will be described in detail below with reference to the accompanying drawings.
In an embodiment of the present application, referring to fig. 1, a flowchart of a block coding method provided in an embodiment of the present application is shown. As shown in fig. 1, the method may include:
s101: the number n of read-out elements comprised by the read-out electrode is determined.
It should be noted that the block coding method provided by the embodiment of the present application may be applied to a block coding apparatus, or a gas detection device integrated with the apparatus. In the embodiments of the present application, the gas detection device may also be referred to as a gas detector; in one particular example, the gas detection device may be referred to as MICROMEGAS, but is not particularly limited.
It should also be noted that for the gas detection device, it is first necessary to determine the number n of sensing cells in the sensing electrode. In some embodiments, the determining the number of readout cells n included in the readout electrode may include: acquiring a reading electrode; and analyzing the reading electrode according to a preset reading mode, and determining the number n of the reading units of the reading electrode in the current reading plane.
In the embodiment of the application, n is an integer greater than zero.
Further, in some embodiments, the preset readout mode may include at least one of the following: a one-dimensional strip-like readout mode and a two-dimensional block-like readout mode.
That is, the readout electrode can perform readout in a one-dimensional stripe readout manner, where each anode stripe can be regarded as a readout unit; in addition, the readout electrode can also be read out in a two-dimensional block readout manner, and each square dot or Pixel (Pixel) can be regarded as a readout unit. For example, a one-dimensional stripe readout mode is taken as an example, the typical electrode width of the one-dimensional stripe readout mode is 200-400 um, and the gap between the electrodes is 80-100 um. For example, for a readout electrode with an active area of 10cm × 10cm, in the case of an electrode width of 250um and a gap of 100um, the number n of readout cells that can be determined at this time will be 280.
In this way, a demand analysis for the readout electrodes can determine the number n of readout cells in the current readout plane, where n is an integer greater than zero.
S102: dividing the n reading units into K groups, and respectively encoding the reading units in each group in the K groups to obtain respective encoding results of the K groups; and K is an integer larger than zero, and the value of K is associated with the threshold value of the reading unit which can be triggered by the reading electrode in a single event.
It should be noted that, in the related art, only one readout unit can be recognized to be triggered in one event, that is, only one readout unit can be triggered in one event; in order to increase the number of the readout units that can be triggered in one event, the embodiment of the present application provides a block coding method, specifically, n readout units are grouped, and are divided into K groups, and then the readout units in each of the K groups are respectively coded.
It should be noted that, if the upper limit of the number of the sensing units that can be triggered in one encoding method in one event is 1, and the n sensing units are divided into K groups, the number of the sensing units that can be triggered in one event is increased to K. In other words, the value of K is correlated to the threshold value of the sense unit that the sense electrode can trigger in a single event. Thus, in some embodiments, the method may further comprise:
determining a threshold value N of a sensing unit which can be triggered in a single event of a sensing electrode;
setting the value of K to be larger than or equal to a threshold value N of a reading unit; wherein N is an integer greater than zero.
That is, first, the upper limit value of the readout units, that is, the value of N, that the readout electrodes can trigger simultaneously in a single event can be determined, and then the number K of groups into which the N readout units are divided is further determined, and accordingly, the number of readout units in each group can also be determined.
In some embodiments, when the value of K is equal to N, the dividing the N readout units into K groups may further include: the number of read-out units in each of the K groups is determined to be equal to N/N. Thus, if the value of N is equal to 1, the N readout units may be divided into 1 group at this time, that is, the N readout units in the group are encoded; or, if the value of n is equal to 1, only one readout unit exists at this time, and the readout unit threshold value that can be triggered simultaneously in a single event is also 1, then it can be regarded as a case that the one readout unit is divided into 1 group; therefore, the block coding method of the embodiment of the present application can also be applied to an application scenario with only one readout unit.
Further, in some embodiments, the encoding the readout units in each of the K groups to obtain the respective encoding results of the K groups respectively may include:
based on the ith group in the K groups, coding N/N reading units in the ith group by using a preset coding mode to obtain a coding result of the ith group; wherein i is an integer greater than zero and less than or equal to K.
In a specific example, the encoding N/N readout units in the ith group by using a preset encoding method to obtain an encoding result of the ith group may include:
and encoding the N/N reading units in the ith group by using a preset encoding mode, outputting m paths of electronic signals, and determining the m paths of electronic signals as the encoding result of the ith group.
In another specific example, the encoding N/N readout units in the ith group by using a preset encoding method to obtain an encoding result of the ith group may include:
encoding the N/N reading units in the ith group by using a preset encoding mode, and outputting m paths of electronic signals;
amplifying the m paths of electronic signals through an amplifier module to obtain m paths of amplified signals;
and sampling the m paths of amplified signals through an analog-to-digital conversion module to obtain m paths of sampling signals, and determining the m paths of sampling signals as the coding result of the ith group.
The preset encoding method may be a dichotomy encoding method, or may be other encoding methods, and the embodiment of the present application is not particularly limited. In addition, for the K groups of reading units, the encoding modes used by each group may be the same or different, that is, the K groups of reading units after grouping are not limited to one encoding mode, and the encoding mode of each group is optional.
It should be further noted that, in the embodiments of the present application, m is an integer greater than zero and less than N/N. In this way, after grouping the n read-out cells, a preset encoding scheme can be used for the read-out cells within each group. Taking the ith group as an example, and assuming that the preset coding mode of the ith group is a dichotomy coding mode, dichotomy coding is performed on N/N reading units in the ith group, and the output electronic signal is m paths at this time; since m is smaller than N/N, the purpose of reducing the number of electronic read-out channels can be achieved.
Exemplarily, assuming that the number of the readout units in the ith group is 4, the binary code can be output by 2 electronic signals; assuming that the number of the readout units in the ith group is 6, the readout units can be output through 3 paths of electronic signals after binary coding; in the encoding process, each path of electronic signal carries the original physical position information of the reading unit, so that the physical position of the triggering reading unit in the ith group can be derived by reverse estimation according to the electronic signals.
It should be noted that, for the gas detection device, it may further include an amplifier (Amplifiers) module and an Analog to Digital Conversion (ADC) module. Therefore, for the electronic signals output after being coded, the electronic signals can be amplified by the amplifier module firstly, and then the sizes of the electronic signals are recorded by sampling of the analog-to-digital conversion module, so that the coding result of each group is obtained.
S103: and respectively carrying out position decoding according to the respective encoding results of the K groups, and determining the physical position of each group of the K groups for triggering the reading unit.
It should be noted that after the coding results of each group are obtained, the physical positions of the trigger readout units in each group can be reversely deduced by performing position decoding according to the coding results. Specifically, in some embodiments, the separately performing position decoding according to the respective encoding results of the K groups to determine the physical position of each group of the K groups triggering the readout unit may include:
determining m paths of sampling signals according to the coding result of the ith group;
and determining a target physical position corresponding to the m paths of sampling signals according to the m paths of sampling signals and the mapping relation between the physical positions and the electronic signals, and determining the target physical position as the physical position of the ith group of trigger reading units.
That is, taking the ith group as an example, according to the encoding result of the ith group, m paths of encoded sampling signals, that is, m paths of encoded electronic signals, may be determined, and then according to the mapping relationship between the physical position and the electronic signals, the corresponding target physical position may be determined, where the target physical position is the physical position where the ith group triggers the readout unit.
For example, as shown in fig. 2, assuming that the number of readout units in the ith group is 4, the dichotomy coding can be performed using 2 electronic signals. The four readout cells are arranged in a2 × 2 array, and have position numbers of 1, 2, 3, and 4, respectively. According to the coding scheme of the dichotomy, a first path of electronics is connected with two reading units with the numbers of 1 and 3, and a second path of electronics is connected with two reading units with the numbers of 1 and 2. If the first path of electronics has signals and the second path of electronics does not have signals, the hitting position is a reading unit with the code of 3; if neither the first nor the second path has a signal, at this point depending on the specifics of the MICROMEGAS gas detector, an over-threshold signal may be present on other structures (e.g. a wire mesh), but since the electronic channel does not detect the over-threshold signal, it may be concluded that the hit location is the read-out unit numbered 4 (which is not connected to any electronic channel).
The embodiment provides a group coding method which is applied to a gas detection device. Determining the number n of reading units included in the reading electrode; wherein n is an integer greater than zero; dividing the n reading units into K groups, and respectively encoding the reading units in each group in the K groups to obtain respective encoding results of the K groups; k is an integer larger than zero, and the value of K is in an incidence relation with a reading unit threshold value which can be triggered by a reading electrode in a single event; and respectively carrying out position decoding according to the respective encoding results of the K groups, and determining the physical position of each group of the K groups for triggering the reading unit. Therefore, by using a block coding reading mode, the capacity of identifying the triggering of a plurality of reading units can be realized in one event, the number of electronic reading channels can be reduced by matching with a corresponding coding scheme, the detection cost is reduced, and the position resolution capacity of the gas detection equipment can be ensured.
In another embodiment of the present application, based on the same inventive concept as the foregoing embodiment, refer to fig. 3, which shows a detailed flowchart of a block coding method provided in an embodiment of the present application. As shown in fig. 3, the detailed flow includes:
s301: the number n of read-out elements comprised by the read-out electrode is determined.
S302: a threshold value N of the sense unit that can be triggered in a single event is determined.
S303: and (3) coding the N/N reading units in each group by using a dichotomy coding mode to obtain a coding result of each group.
S304: and decoding to obtain the physical position of each group of trigger reading units according to the encoding result of each group.
It is understood that the read method using block coding of the embodiments of the present application may be capable of identifying multiple read unit triggers in one event. Specifically, taking a dichotomy coding method as an example, first, an upper limit value (or referred to as "threshold value") N for simultaneously triggering a plurality of readout units in an experiment is estimated; all the read-out units (N total) using the binary coding are then divided into N groups, and the number of read-out units using the binary coding within each group is then N/N. In addition, in the embodiment of the application, the reading units can be properly arranged according to actual requirements, so that a better reading effect is obtained.
Specifically, for the binary encoding, refer to fig. 4, which shows a schematic diagram of a one-dimensional block encoding readout technology provided in the embodiment of the present application. As shown in fig. 4, this coding scheme is more suitable for asymmetric binary coding scheme, rather than the binary coding scheme mentioned in the foregoing embodiments, fig. 4 may be used to illustrate a block coding scheme, but not a binary coding scheme, and the coding scheme of each group is arbitrarily selectable, and is not limited to one coding scheme. In fig. 4, the stripe (clip) above the sense electrode is a sense unit, such as sense unit (clip) a1, sense unit (clip) B1, sense unit (clip) C1, sense unit (clip) a2, …, sense unit (clip) An, sense unit (clip) Bn, sense unit (clip) Cn; here it is divided into three groups: the reading unit (Strip) A1, the reading units (Strip) A2, … and the reading unit (Strip) An form a first group (group A) for coding and merging, the reading unit (Strip) B1, the reading units (Strip) B2, … and the reading unit (Strip) Bn form a second group (group B) for coding and merging, the reading unit (Strip) C1, the reading units (Strip) C2, … and the reading unit (Strip) Cn form a third group (group C) for coding and merging, the coded electronic signals enter An amplifier (Amplifiers) module through An electronic channel, and then the size of the signals is recorded through An Analog Digital Conversion (ADC) module. In addition, it is required toIt is noted that the curve above the read-out unit represents electrons (e)-) Under the action of a strong electric field, the physical distribution curve of the signal amplitude when the gas detection device generates electron avalanche is exemplified.
In one possible implementation, assuming that the readout electrode has a total of 12 readout cells, two sensing bars with different widths can be added on the back of each readout cell to divide the signal of each readout cell into two unequally. At this time, the 12 reading units are divided into two groups, namely the odd numbers of the reading units are one group, and the even numbers of the reading units are the other group; the odd-numbered groups can be coded and combined through three electronic signals of x1, x2, x3 and the like, and the even-numbered groups can be coded and combined through three electronic signals of y1, y2, y3 and the like. Thus, in the case of at most two adjacent read-out units being triggered simultaneously, there are only two output signals per set of electrical signals at this time. Specifically, by comparing the magnitude relationship of two paths of signals in x1, x2 and x3, the physical position of the trigger reading unit in the 6 paths of odd-numbered numbers can be determined; by comparing the magnitude relationship of the two signals in y1, y2 and y3, the physical position of the trigger readout unit in the 6 even-numbered channels can be determined.
It should be noted that, in the above implementation, although the packet coding method can also reduce the number of electronic readout channels, a plurality of readout units that are triggered simultaneously need to be consecutive, and the highest triggered readout unit threshold value needs to be greater than 1. In the embodiment of the present application, another possible implementation manner is also provided, and the specific implementation steps are as follows:
(a) determining the number n of read-out units in the current read-out plane of the read-out electrode through demand analysis;
(b) determining the number N of the highest triggerable reading units in a single event in an experiment;
(c) encoding the N/N read-out units in each group by using a dichotomy;
(d) the physical position of each group of trigger readout units is derived from the corresponding physical position map and the electrical signal back-extrapolation.
It is noted that in this implementation a plurality of read-out elements that are triggered simultaneously need not be consecutive, and that only one read-out element may trigger. In addition, the dichotomy coding reading mode of the original N reading units is divided into N groups, so that the number of the reading units which are triggered simultaneously in one event can be increased to N. Thus, for N read units, the dichotomy coding is used and the division into N groups is required (N log)2 n-N log2N) electronic channels.
Illustratively, if the readout electrodes have a total of 12 readout cells, the 12 readout cells can be divided into two groups; then, position bisection is carried out on 6 reading units in each group, and the coded signals are output through 3 paths of electronic signals. Because each path of electronic signal carries the original physical position information of the reading unit, the physical position of the triggering reading unit in the group can be derived by reverse estimation according to the 3 paths of electronic signals and the mapping relation between the physical position and the electronic signal.
The specific implementation of the foregoing embodiment is elaborated through the foregoing embodiment, and it can be seen that through the technical solution of the foregoing embodiment, a block coding read-out manner is used, which not only can have the capability of identifying the trigger of multiple read-out units in one event, but also can reduce the number of electronic read-out channels in cooperation with a corresponding coding scheme, thereby reducing the detection cost, and meanwhile, can ensure the position resolution capability of the gas detection device.
In another embodiment of the present application, based on the same inventive concept as the previous embodiment, referring to fig. 5, a schematic structural diagram of a block coding apparatus 50 provided in an embodiment of the present application is shown. As shown in fig. 5, the block encoding apparatus 50 may include a determination unit 501, a grouping unit 502, an encoding unit 503, and a decoding unit 504; wherein the content of the first and second substances,
a determining unit 501 configured to determine the number n of readout units included in the readout electrode; wherein n is an integer greater than zero;
the encoding unit 503 is configured to divide the n readout units into K groups by the grouping unit 502, and then encode the readout units in each of the K groups to obtain respective encoding results of the K groups; k is an integer larger than zero, and the value of K is in an incidence relation with a reading unit threshold value which can be triggered by the reading electrode in a single event;
the decoding unit 504 is configured to perform position decoding according to the respective encoding results of the K groups, and determine the physical position of each of the K groups of trigger reading units.
In some embodiments, the determining unit 501 is specifically configured to acquire the readout electrodes; and analyzing the reading electrode according to a preset reading mode, and determining the number n of the reading units of the reading electrode in the current reading plane.
In some embodiments, the preset readout mode includes at least one of: a one-dimensional strip-like readout mode and a two-dimensional block-like readout mode.
In some embodiments, referring to fig. 5, the block coding apparatus 50 may further include a setting unit 505 configured to, after determining the threshold value N of the sensing unit that can be triggered in a single event of the sensing electrode, set the value of K to be greater than or equal to the threshold value N of the sensing unit; wherein N is an integer greater than zero;
correspondingly, the determining unit 501 is further configured to determine that the number of readout units in each of the K groups is equal to N/N when the value of K is equal to N.
In some embodiments, the encoding unit 503 is further configured to encode N/N readout units in the ith group by using a preset encoding manner based on the ith group in the K groups, so as to obtain an encoding result of the ith group; wherein i is an integer greater than zero and less than or equal to K.
In some embodiments, the encoding unit 503 is further configured to encode the N/N readout units in the ith group by using a preset encoding manner, and output m electronic signals; wherein m is an integer greater than zero and less than N/N; amplifying the m paths of electronic signals through an amplifier module to obtain m paths of amplified signals; and sampling the m paths of amplified signals through an analog-to-digital conversion module to obtain m paths of sampling signals, and determining the m paths of sampling signals as the coding result of the ith group.
In some embodiments, the decoding unit 504 is specifically configured to determine the m sampled signals according to the encoding result of the ith group; and determining a target physical position corresponding to the m paths of sampling signals according to the m paths of sampling signals and the mapping relation between the physical position and the electronic signal, and determining the target physical position as the physical position of the ith group of trigger reading units.
It is understood that in this embodiment, a "unit" may be a part of a circuit, a part of a processor, a part of a program or software, etc., and may also be a module, or may also be non-modular. Moreover, each component in the embodiment may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware or a form of a software functional module.
Based on the understanding that the technical solution of the present embodiment essentially or a part contributing to the prior art, or all or part of the technical solution may be embodied in the form of a software product stored in a storage medium, and include several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) or a processor (processor) to execute all or part of the steps of the method of the present embodiment. And the aforementioned storage medium includes: various media capable of storing program codes, such as a usb disk, a removable hard disk, a Read Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk.
Accordingly, the present embodiments provide a computer storage medium storing a computer program which, when executed by at least one processor, performs the steps of the method of any of the preceding embodiments.
Based on the composition of the block coding device 50 and the computer storage medium, refer to fig. 6, which shows a schematic structural diagram of a gas detection apparatus 60 provided in an embodiment of the present application. As shown in fig. 6, the gas detection apparatus 60 may include: a communication interface 601, a memory 602, and a processor 603; the various components are coupled together by a bus system 604. It is understood that the bus system 604 is used to enable communications among the components. The bus system 604 includes a power bus, a control bus, and a status signal bus in addition to a data bus. For clarity of illustration, however, the various buses are labeled as bus system 604 in fig. 6. The communication interface 601 is used for receiving and sending signals in the process of receiving and sending information with other external network elements;
a memory 602 for storing a computer program capable of running on the processor 603;
a processor 603 for, when running the computer program, performing:
determining the number n of reading units included in the reading electrode; wherein n is an integer greater than zero;
dividing the n reading units into K groups, and respectively encoding the reading units in each group of the K groups to obtain respective encoding results of the K groups; k is an integer larger than zero, and the value of K is in an incidence relation with a reading unit threshold value which can be triggered by the reading electrode in a single event;
and respectively carrying out position decoding according to the respective encoding results of the K groups, and determining the physical position of each group of the K groups for triggering the reading unit.
It will be appreciated that the memory 602 in the subject embodiment can be either volatile memory or nonvolatile memory, or can include both volatile and nonvolatile memory. The non-volatile Memory may be a Read-Only Memory (ROM), a Programmable ROM (PROM), an Erasable PROM (EPROM), an Electrically Erasable PROM (EEPROM), or a flash Memory. Volatile Memory can be Random Access Memory (RAM), which acts as external cache Memory. By way of example, but not limitation, many forms of RAM are available, such as Static random access memory (Static RAM, SRAM), Dynamic Random Access Memory (DRAM), Synchronous Dynamic random access memory (Synchronous DRAM, SDRAM), Double Data Rate Synchronous Dynamic random access memory (ddr Data Rate SDRAM, ddr SDRAM), Enhanced Synchronous SDRAM (ESDRAM), Synchronous chained SDRAM (Synchronous link DRAM, SLDRAM), and Direct memory bus RAM (DRRAM). The memory 602 of the systems and methods described herein is intended to comprise, without being limited to, these and any other suitable types of memory.
And the processor 603 may be an integrated circuit chip having signal processing capabilities. In implementation, the steps of the above method may be performed by integrated logic circuits of hardware or instructions in the form of software in the processor 603. The Processor 603 may be a general purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA) or other Programmable logic device, discrete Gate or transistor logic device, discrete hardware component. The various methods, steps, and logic blocks disclosed in the embodiments of the present application may be implemented or performed. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like. The steps of the method disclosed in connection with the embodiments of the present application may be directly implemented by a hardware decoding processor, or implemented by a combination of hardware and software modules in the decoding processor. The software module may be located in ram, flash memory, rom, prom, or eprom, registers, etc. storage media as is well known in the art. The storage medium is located in the memory 602, and the processor 603 reads the information in the memory 602, and performs the steps of the above method in combination with the hardware thereof.
It is to be understood that the embodiments described herein may be implemented in hardware, software, firmware, middleware, microcode, or any combination thereof. For a hardware implementation, the Processing units may be implemented within one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Digital Signal Processing Devices (DSPDs), Programmable Logic Devices (PLDs), Field Programmable Gate Arrays (FPGAs), general purpose processors, controllers, micro-controllers, microprocessors, other electronic units configured to perform the functions described herein, or a combination thereof.
For a software implementation, the techniques described herein may be implemented with modules (e.g., procedures, functions, and so on) that perform the functions described herein. The software codes may be stored in a memory and executed by a processor. The memory may be implemented within the processor or external to the processor.
Optionally, as another embodiment, the processor 603 is further configured to perform the steps of the method of any of the previous embodiments when running the computer program.
Based on the composition of the block coding device 50 and the computer storage medium, refer to fig. 7, which shows a schematic structural diagram of another gas detection apparatus 60 provided in the embodiment of the present application. As shown in fig. 7, the gas detection device 60 may include at least a readout electrode 601 and the block encoding apparatus 50 according to any one of the previous embodiments.
In the embodiment of the present application, for the gas detection device 60, the block coding device 50 can use a block coding readout mode for the readout electrode 601, so that not only the capability of recognizing the trigger of a plurality of readout units can be achieved in one event, but also the number of electronic readout channels can be reduced, the detection cost can be reduced, and meanwhile, the position resolution capability of the gas detection device can be ensured.
It should be noted that, in the present application, 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. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
The above-mentioned serial numbers of the embodiments of the present application are merely for description and do not represent the merits of the embodiments.
The methods disclosed in the several method embodiments provided in the present application may be combined arbitrarily without conflict to obtain new method embodiments.
Features disclosed in several of the product embodiments provided in the present application may be combined in any combination to yield new product embodiments without conflict.
The features disclosed in the several method or apparatus embodiments provided in the present application may be combined arbitrarily, without conflict, to arrive at new method embodiments or apparatus embodiments.
The above description is only for the specific embodiments of the present application, but the scope of the present application is not limited thereto, and any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present application, and shall be covered by the scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.

Claims (10)

1. A method of block coding, the method comprising:
determining the number n of reading units included in the reading electrode; wherein n is an integer greater than zero;
dividing the n reading units into K groups, and respectively encoding the reading units in each group of the K groups to obtain respective encoding results of the K groups; k is an integer larger than zero, and the value of K is in an incidence relation with a reading unit threshold value which can be triggered by the reading electrode in a single event;
and respectively carrying out position decoding according to the respective encoding results of the K groups, and determining the physical position of each group of the K groups for triggering the reading unit.
2. The method of claim 1, wherein determining the number n of sense cells included in the sense electrode comprises:
acquiring the readout electrode;
and analyzing the reading electrode according to a preset reading mode, and determining the number n of reading units of the reading electrode in the current reading plane.
3. The method of claim 2, wherein the predetermined readout mode comprises at least one of: a one-dimensional strip-like readout mode and a two-dimensional block-like readout mode.
4. The method of claim 1, further comprising:
determining a threshold value N of a sensing unit which can be triggered in a single event of the sensing electrode;
setting the value of K to be larger than or equal to the threshold value N of the reading unit; wherein N is an integer greater than zero;
correspondingly, when the value of K is equal to N, the dividing the N readout units into K groups includes: and determining that the number of the read-out units in each group in the K groups is equal to N/N.
5. The method of claim 4, wherein said encoding the read-out units in each of the K groups to obtain the respective encoding results of the K groups comprises:
based on the ith group in the K groups, coding N/N reading units in the ith group by using a preset coding mode to obtain a coding result of the ith group; wherein i is an integer greater than zero and less than or equal to K.
6. The method according to claim 5, wherein the encoding the N/N readout units in the ith group by using a preset encoding mode to obtain the encoding result of the ith group comprises:
encoding the N/N reading units in the ith group by using a preset encoding mode, and outputting m paths of electronic signals; wherein m is an integer greater than zero and less than N/N;
amplifying the m paths of electronic signals through an amplifier module to obtain m paths of amplified signals;
and sampling the m paths of amplified signals through an analog-to-digital conversion module to obtain m paths of sampling signals, and determining the m paths of sampling signals as the coding result of the ith group.
7. The method of claim 6, wherein the determining the physical location of each of the K groups of trigger readout units by separately performing location decoding according to the respective encoding results of the K groups comprises:
determining the m paths of sampling signals according to the coding result of the ith group;
and determining a target physical position corresponding to the m paths of sampling signals according to the m paths of sampling signals and the mapping relation between the physical positions and the electronic signals, and determining the target physical position as the physical position of the ith group of trigger reading units.
8. A block encoding apparatus, characterized in that the block encoding apparatus includes a determination unit, a block unit, an encoding unit, and a decoding unit; wherein the content of the first and second substances,
the determining unit is configured to determine the number n of the reading units included in the reading electrode; wherein n is an integer greater than zero;
the encoding unit is configured to divide the n reading units into K groups by the grouping unit, and then encode the reading units in each of the K groups to obtain respective encoding results of the K groups; k is an integer larger than zero, and the value of K is in an incidence relation with a reading unit threshold value which can be triggered by the reading electrode in a single event;
and the decoding unit is configured to perform position decoding respectively according to the respective encoding results of the K groups, and determine the physical position of each group of the K groups for triggering the reading unit.
9. A gas detection apparatus, characterized in that the gas detection apparatus comprises a memory and a processor; wherein the content of the first and second substances,
the memory for storing a computer program operable on the processor;
the processor, when running the computer program, is configured to perform the method of any of claims 1 to 7.
10. A computer storage medium, characterized in that the computer storage medium stores a computer program which, when executed by at least one processor, implements the method of any one of claims 1 to 7.
CN202111054682.0A 2021-09-09 2021-09-09 Packet coding method, device, equipment and computer storage medium Active CN113890674B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111054682.0A CN113890674B (en) 2021-09-09 2021-09-09 Packet coding method, device, equipment and computer storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111054682.0A CN113890674B (en) 2021-09-09 2021-09-09 Packet coding method, device, equipment and computer storage medium

Publications (2)

Publication Number Publication Date
CN113890674A true CN113890674A (en) 2022-01-04
CN113890674B CN113890674B (en) 2023-03-07

Family

ID=79008828

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111054682.0A Active CN113890674B (en) 2021-09-09 2021-09-09 Packet coding method, device, equipment and computer storage medium

Country Status (1)

Country Link
CN (1) CN113890674B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113114277A (en) * 2021-04-13 2021-07-13 中国科学技术大学 Gas detector coding processing method and device

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102111163A (en) * 2009-12-25 2011-06-29 中兴通讯股份有限公司 Turbo encoder and encoding method
US20140372411A1 (en) * 2013-06-14 2014-12-18 International Business Machines Corporation On-the-fly encoding method for efficient grouping and aggregation
CN110890894A (en) * 2018-09-07 2020-03-17 华为技术有限公司 Method and apparatus for concatenated coding

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102111163A (en) * 2009-12-25 2011-06-29 中兴通讯股份有限公司 Turbo encoder and encoding method
US20140372411A1 (en) * 2013-06-14 2014-12-18 International Business Machines Corporation On-the-fly encoding method for efficient grouping and aggregation
CN110890894A (en) * 2018-09-07 2020-03-17 华为技术有限公司 Method and apparatus for concatenated coding

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
祁宾祥: "微结构气体探测器位置编码读出方法研究", 《中国博士学位论文全文数据库(电子期刊)》 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113114277A (en) * 2021-04-13 2021-07-13 中国科学技术大学 Gas detector coding processing method and device
CN113114277B (en) * 2021-04-13 2022-10-28 中国科学技术大学 Gas detector coding processing method and device

Also Published As

Publication number Publication date
CN113890674B (en) 2023-03-07

Similar Documents

Publication Publication Date Title
CN113890674B (en) Packet coding method, device, equipment and computer storage medium
Giomataris Development and prospects of the new gaseous detector “Micromegas”
TW200721177A (en) Semiconductor memory device
CN112447224A (en) Row hammer mitigation
JP2007127632A (en) Acquisition of intelligent sim (single ion monitoring)
Breskin et al. Detection of single electrons and low ionization radiation with low-pressure multistep chambers
Breskin et al. Heavy particle timing and imaging with low-pressure MWPCs
US7796722B2 (en) Quantum detector module, quantum detector, method for determining quantum absorption events, computer program product and radiation detection device
Frimout et al. Parallel architecture for a pel-recursive motion estimation algorithm
Abate et al. GaAs pixel arrays for β imaging in medicine and biology
CN103364820B (en) Shared anode-based MCP (micro-channel plate) spliced X-ray detection device
De Nardo et al. Simulation of the measured ionisation-cluster distributions of alpha-particles in nanometric volumes of propane
US6781426B2 (en) Nanosecond monolithic CMOS readout cell
Leadbeater et al. A high speed PC-based data acquisition and control system for positron imaging
Crespi et al. Application of the Recursive Subtraction Pulse Shape Analysis algorithm to in-beam HPGe signals
EP3063559B1 (en) Solid-state photomultiplier device with high spatial resolution and control method for said photomultiplier device.
Ball Multiwire proportional chamber focal plane detector systems with digital readout
US11894061B2 (en) Non-volatile memory programming circuit and a method of programming non-volatile memory devices
US10746885B2 (en) Radiation detector
CN111433731A (en) Data movement operations in non-volatile memory
CN117080043A (en) Microchannel plate detector
CN113407409B (en) Node state detection method and device of distributed storage system
CN114422041B (en) Nuclear signal simulation method, device, terminal and storage medium
Petriş et al. Two-dimensional position sensitive transition radiation detector
CN117080045A (en) Multi-click response microchannel plate detector and detection method thereof

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