# US 2024/0341286 A1 · Method and device for non-destructive sorting of fertilization information of hatching eggs before incubation

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2024/0341286 A1
- Document ID: US20240341286A1
- Status: Published application
- Kind: A1
- Application number: 18/751,241
- Filed: 2024-06-22
- Published: 2024-10-17
- Earliest claimed: 2023-02-20
- Assignees: South China Agricultural University
- Applicants: South China Agricultural University
- Inventors: DEQIN XIAO; JIAXIN ZHOU; YOUFU LIU; JIANZHAO FENG; TANYU LIN; SHENGJIE ZHOU; MIAOBIN CHEN; JUNQI KANG; XIAOHU LIU; JIANJUN YIN
- Web page: https://patentgrep.com/patent/US20240341286A1

## CPC

- A01K 43/00: Testing, sorting or cleaning eggs (investigating or analysing eggs, e.g. by candling G01N33/08); {Conveying devices (for batteries A01K31/165); Pick-up devices}
- A01K 43/04: Grading eggs
- B07C 5/342: according to optical properties, e.g. colour {(according to radiation transmittivity B07C5/3416)}
- G01N 21/359: using near infrared light
- G06F 18/241: relating to the classification model, e.g. parametric or non-parametric approaches
- G06N 3/04: Architecture, e.g. interconnection topology
- A01K: ANIMAL HUSBANDRY; AVICULTURE; APICULTURE; PISCICULTURE; FISHING; REARING OR BREEDING ANIMALS, NOT OTHERWISE PROVIDED FOR; NEW BREEDS OF ANIMALS
- B07C: POSTAL SORTING; SORTING INDIVIDUAL ARTICLES, OR BULK MATERIAL FIT TO BE SORTED PIECE-MEAL, e.g. BY PICKING (specially adapted for a specific purpose covered by another class, see the relevant place, e.g. A43D33/06, B23Q7/12)
- G01N: INVESTIGATING OR ANALYSING MATERIALS BY DETERMINING THEIR CHEMICAL OR PHYSICAL PROPERTIES (measuring or testing apparatus or processes other than immunoassay, involving enzymes or microorganisms C12M, C12Q)
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- G06N: COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS

## Abstract

The present invention discloses a method and a device for non-destructive sorting of fertilization information of hatching eggs before incubation. The method comprises the following steps: obtaining a first time sequence feature of hatching eggs and collecting spectrum data of the hatching eggs according to the first time sequence feature; preprocessing the spectrum data; selecting the preprocessed spectrum data to obtain a feature band; constructing a hatching egg classification neural network model and training the hatching egg classification neural network model; classifying the hatching egg information according to the feature band by using the trained hatching egg classification neural network model to obtain fertilization information; and obtaining a second time sequence feature of the hatching eggs, and sorting the hatching eggs. The present invention improves the precision of detecting the fertilization information of hatching eggs.

## Claims

### Claim 1

A method for non-destructive sorting of fertilization information of hatching eggs before incubation, comprising the following steps:
S1: obtaining a first time sequence feature of hatching eggs and collecting spectrum data of the hatching eggs according to the first time sequence feature;
S2: preprocessing the spectrum data in the step S1;
S3: selecting the spectrum data preprocessed in the step S2 to obtain a feature band;
S4: constructing a hatching egg classification neural network model and training the hatching egg classification neural network model; wherein the hatching egg classification neural network model comprises one position encoding layer, three encoding layers, one linear layer and one logic classification layer, the position encoding layer performs position encoding on the feature band according to a band position of the feature band in an original spectrum; the three encoding layers are configured to perform dimension increase and dimension reduction on an input feature band with position information, and perform information fusion on the input feature band with position information, the linear layer is configured to perform linear change on the feature band after information fusion output by the three encoding layers, and output a feature band with a specified dimension; and the logic classification layer is configured to classify the feature band with the specified dimension output by the linear layer;
S5: classifying the hatching egg information according to the feature band in the step S3 by using the hatching egg classification neural network model trained in the step S4 to obtain fertilization information; and
S6: obtaining a second time sequence feature of the hatching eggs, and sorting the hatching eggs according to the second time sequence feature, the first time sequence feature in the step S1 and the fertilization information obtained in the step S5.

### Claim 2 (depends on 1)

The method for non-destructive sorting of fertilization information of hatching eggs before incubation according to claim 1, wherein the step S2 comprises the following substeps:
S21: performing standard normal variable transformation processing on the spectrum data; and
S22: processing the spectrum data after the standard normal variable transformation processing obtained in the step S21 by using a linear filtering algorithm.

### Claim 3 (depends on 2)

The method for non-destructive sorting of fertilization information of hatching eggs before incubation according to claim 2, wherein the step S21 comprises the following substeps:
S211: calculating an average value of the spectrum data in the step S1, which is represented as:
x
_
=
∑
k
=
1
m
⁢
x
k
m
wherein x is an average value of a piece of spectrum data, x is a piece of spectrum data, m is the number of wavelength points, k=1, 2, . . . , m; and
S212: performing standard normal variable transformation processing on the spectrum data according to the average value of the spectrum data in the substep S211, which is represented as:
x
snv
=
x
-
x
¯
∑
k
=
1
m
⁢
(
x
k
-
x
_
)
2
m
-
1
wherein xsnv is data of a piece of spectrum data after standard normal variable transformation processing.

### Claim 4 (depends on 2)

The method for non-destructive sorting of fertilization information of hatching eggs before incubation according to claim 2, wherein the step S22 comprises the following substeps:
S221: determining a size of a filtering window using a linear filtering algorithm; and
S222: shifting the spectrum data after the standard normal variable transformation processing obtained in the step S21 by using the filtering window in the smoothing substep S221, fitting the spectrum data in the window, and outputting the fitted data, which is represented as:
x
¯
k
=
1
2
⁢
w
+
1
⁢
∑
i
=
-
w
+
w
x
snv
(
k
+
i
)
wherein xk is a value after the spectrum data are fitted, xsnv(k+i) is data after the spectrum data are subjected to standard normal variable transformation, k is a spectrum band position, and 2w+1 is a window size.

### Claim 5 (depends on 1)

The method for non-destructive sorting of fertilization information of hatching eggs before incubation according to claim 1, wherein the step S3 comprises the following substeps:
S31: extracting bands from the spectrum data by using bootstrap sampling and weighted sampling to construct and store a submodel;
S32: calculating a prediction error of the submodel;
S33: calculating a regression coefficient of the submodel according to the prediction error;
S34: weighting the bands in the submodel according to the regression coefficient to obtain band weights;
S35: extracting a band of the submodel according to the band weights, and constructing and storing a next submodel;
S36: judging whether the submodel in the step S35 is a band; if yes, performing substep S37; otherwise, jumping to the substep S32; and
S37: performing cross validation on root mean square errors of the submodel stored in the substep S31 and the submodel stored in the substep S36, selecting a submodel with a minimum root mean square error, and determining a band in a subset as the feature band.

### Claim 6 (depends on 1)

The method for non-destructive sorting of fertilization information of hatching eggs before incubation according to claim 1, wherein the step S6 comprises the following substeps:
S61: obtaining a second time sequence feature of the hatching eggs;
S62: according to the second time sequence feature in the substep S61 and the first time sequence feature in the step S1, matching the hatching eggs to be sorted and the self-fertilization information thereof; and
S63: judging whether the fertilization information of the hatching eggs to be sorted is fertilization; if yes, skipping performing egg removing operation; otherwise, performing egg removing operation.

### Claim 7 (depends on 1)

A device for non-destructive sorting of fertilization information of hatching eggs before incubation applied to the method according to claim 1, comprising:
a sensor module, wherein the sensor module comprises a first position sensor, an integrator and a second position sensor, the first position sensor is configured to collect a first time sequence feature of hatching eggs and transmit the first time sequence feature to a core processing module, the integrator is configured to receive a collection instruction of the core processing module to collect spectrum information of hatching eggs and transmit the spectrum information to a detection device module through optical fibers, and the second position sensor is configured to collect a second time sequence feature of hatching eggs and transmit the second time sequence feature to the core processing module;
a motor module, wherein the motor module comprises a feeding conveyor belt motor, a fertilized egg sending conveyor belt motor and an infertile egg sending conveyor belt motor, the feeding conveyor belt motor is configured to receive a first instruction of the core processing module and feed the fertilized eggs into the sensor module to collect spectrum information of the fertilized eggs, the fertilized egg sending conveyor belt motor is configured to receive a second instruction of the core processing module and feed the fertilized eggs to a fertilized egg area, and the infertile egg sending conveyor belt motor is configured to receive a third transmission instruction of the core processing module and feed the infertile eggs to an infertile egg area;
a detection device module, wherein the detection device module comprises a near-infrared spectrometer, a halogen lamp light source and a display screen, the near-infrared spectrometer is configured to receive spectrum information transmitted by the sensor module to generate spectrum data and transmit the spectrum data to the core processing module, the halogen lamp light source is configured to provide a transmission light source, and the display screen is configured to display the working state of the entire device;
a core processing module, wherein the core processing module is configured to receive the first time sequence feature and the second time sequence feature collected by the sensor module, generate a first instruction according to the first time sequence feature and transmit the first instruction to the motor module, generate a collection instruction according to the first time sequence feature and transmit the collection instruction to the integrator in the sensor module and the near-infrared spectrometer in the detection device module, generate a second instruction or a third instruction according to the second time sequence feature and transmit the second instruction or the third instruction to the motor module, receive the spectrum data generated by the detection device module, obtain fertilization information according to the first time sequence feature, the second time sequence feature and the spectrum data by using the method according to claim 1, and send a fourth instruction to control an egg removing device; and
an egg removing device, wherein the egg removing device is configured to receive the fourth instruction of the core processing module and send infertile eggs into the infertile egg sending conveyor belt motor in the motor module according to the fourth instruction.
