1. Introduction
Eggs, which are one of the livestock products in high demand around the world, are an excellent complete food that is not only rich in high quality protein but also contains a variety of nutrients such as vitamins, minerals, and essential amino acids [
1,
2]. Since eggs are fragile and prone to external and internal defects, careful attention is required during the sorting, packaging, and distribution processes [
3,
4]. The bloody eggs, cracked eggs, and dirty eggs can be considered abnormal eggs [
5]. Dirt and dust on the eggshell can be washed and removed; however, the cracked egg that cannot be restored must be discarded to prevent cross-contamination. If a hairline crack (also known as a “micro-crack”) in the eggshell is not detected during the egg sorting process, this crack can be expanded during distribution [
6]. As a result, foodborne pathogens such as
Salmonella can be penetrated through the expanded crack [
7,
8]. This poses a significant risk of bacterial contamination and can cause economic losses in the poultry industry [
9,
10]. In the past, skilled egg inspectors strived to sort the eggs with defects. This inefficient and subjective inspection could incur the distribution of abnormal eggs to consumers [
11,
12].
As an alternative to human inspection, the mechanical, machine vision, and acoustic response technologies have been widely applied to detect the cracks in the eggshell. In a machine vision system, the images of the eggs are captured by computer vision, and the obtained images are analyzed using an imaging process to identify cracks or dirt [
13]. In order to improve the detection accuracy of egg cracks, the machine vision systems have been combined with several technologies, such as artificial intelligence and modified pressure [
14]. The acoustic response method is a method for detecting the cracks in the eggshell by analyzing the vibration or sound generated by impacting the eggs with small, striking balls [
15]. Recently, it has become possible to quickly detect cracks in continuously transported eggs using the acoustic response method combined with the advanced signal processing technology [
16]. The majority of global abnormal egg detection manufacturing companies have adopted and applied the acoustic response method [
17]. However, the aforementioned detection methods required the complicated processing technologies to recognize the crack in the eggshell and could not detect the processed eggs, such as hardboiled eggs and baked eggs [
18].
In particular, the cracks in the processed eggs cannot be detected by current normal egg detection technologies because the physical properties of eggs are significantly changed during thermal processing [
19,
20]. It can be assumed that the processed egg with a crack in the eggshell has been deemed normal by current egg detection technologies. In this case, the cracks can be expanded by the physical damages occurring in various processes (i.e., physical shock during distribution, moisture movement and stagnation in the egg during storage, and thermal stress by the cooling process). This can significantly reduce the marketability of processed eggs and result in an adverse effect on public health safety. According to Market Data Forecast, Research & Markets, and Spherical Insights, the global processed egg market is expected to experience steady growth in the coming years. The market size is projected to reach approximately
$29.45 billion in 2024, with a compound annual growth rate (CAGR) of about 4.8%, potentially reaching around
$34.77 billion by 2028. By 2033, the market size is expected to reach approximately
$51.5 billion. Therefore, it is essential to develop novel technology that can detect cracks in the processed eggs.
Since eggshell is mostly composed of calcium carbonate, which can be a good candidate for high-power insulation, several studies have been conducted to develop new polymeric insulation using eggshells [
21]. The eggshell containing a tiny pore has high electrical resistivity under the atmospheric condition; however, the other whole egg components, such as the yolk, albumen, and membrane, can be considered dielectrics because their molecules are partially aligned with the applied external electric field [
22]. The eggshell membrane exposed by a crack may be more electrically conductive than the eggshell. Therefore, it was hypothesized that the electric discharge would only be observed at the crack in the eggshell when the egg was placed between high electric fields. As shown in
Figure 1a, when the sound eggshell was located between the non-uniform high electric field, the electric discharge was observed all over the surface of the eggshell. On the other hand, the electric discharge was observed at only one crack in the eggshell (
Figure 1b), and the trace of electrical discharge appeared in the crack.
The objectives of this study were to (1) evaluate the effect of electric field for detecting the crack in the eggshell, (2) validate the ES model developed for electric discharge on the crack in the applied electric field, and (3) design and fabricate the cracked egg (including cracks in processed egg) detection system using electric field. The developed crack detection system was expected to be practical for detecting cracks in the processed eggs.
2. Materials and Methods
2.1. Design and Fabrication of Egg Crack Detection System
An experimental system was developed for detecting cracks in eggs. This system consisted of a crack generation device, a detection unit equipped with electrode pins, a high-voltage power supply, a rotation controller, a detection monitoring device, and a PC (personal computer) for data acquisition and system control. Eggshells, primarily composed of calcium carbonate, were found to exhibit high electrical resistance, rendering them nearly insulative [
23]. Conversely, the inner membrane of the eggshell, composed of keratin, was determined to form an organic fiber network that, along with the egg liquid, could act as a conductor [
24]. When an electrode with a sufficiently high electric field momentarily passed through a crack, an electrical connection was established between the electrodes, resulting in rapid energy discharge and the generation of an electric spark.
To generate a sufficient electric field for the electric field overshoot phenomenon (electrical spark), a high-voltage power supply utilizing an Insulated Gate Bipolar Transistor (IGBT) module was developed and implemented. The system ensured that the egg rotated and passed the detection unit, enabling the inspection of the entire 360-degree surface of the egg. In actual egg production and sorting facilities, conveyor belts dedicated to eggs facilitated simultaneous rotation and movement. The detection platform used in this experiment was designed for batch processing, where eggs continuously rotated at a fixed position while the detection unit, equipped with electrodes, moved forward for inspection. The detection platform consisted of nine lines, each accommodating six eggs. The detection unit was comprised of six parts, each containing six electrode pins.
A custom load cell system was created to generate eggs with cracks of varying positions, directions, and sizes. Cracked eggs were placed among normal eggs on the detection platform, and experiments were conducted by adjusting the ratio of normal to cracked eggs per line. Current change data resulting from electrical discharge at the cracks were collected through the monitoring system. The light generated by the sparks was converted into data, which then triggered an LED bulb located at the top of the detection unit, indicating the position of the cracked eggs.
2.1.1. Electrode Pins
Eggs are not perfect ellipsoids or spheres and vary slightly in size and shape [
25]. Previous studies reported that the thickness of medium, large, extra-large, and jumbo eggs was approximately 0.40 ± 0.02 mm with geometric mean diameters of 44.77 ± 0.59 mm, 46.66 ± 0.62 mm, 48.36 ± 0.62 mm, and 49.83 ± 0.83 mm, respectively.
Figure 2a illustrates the size difference between commercially available jumbo and medium-grade eggs. The electrodes had to be arranged in such a way that a uniform high electric field could be applied to the entire surface of the eggs, even when eggs were randomly inserted regardless of their grade. Based on size data for different egg grades obtained from previous research, a set of six electrode pins was used, with each pin spaced 1 cm apart. As shown in
Figure 2b, 5 to 6 pins make contact with jumbo eggs, while 4 to 5 pins make contact with smaller eggs.
During the continuous detection process, when the preceding egg passed through the electrode, the electrode lifted and dropped, potentially impacting and occasionally damaging the following egg. Multi-jointed electrodes, as shown in
Figure 2c, were found to be more flexible than single-type electrodes, reducing the impact on the eggs and broadening the crack detection range by adhering more widely to the egg surface. To minimize egg damage, the tips of the electrodes, which contact the eggs the most, were rounded and designed to be wider at the contact points. The electrodes were made of stainless steel (SUS 304), which is lightweight, highly conductive, and resistant to corrosion. The electrode pins were connected by donut-shaped aluminum bases and spacers, with 2 mm thick, 40 mm diameter circular acrylic plates installed between the aluminum bases to prevent interference between the electrodes.
2.1.2. Power Supply
As shown in
Figure 3a–d, the power supply system was comprised of a programmable DC power supply (EX300-12, ODA Technologies, Bupyeong, Incheon, Republic of Korea), a custom IGBT module, a high-voltage switching transformer (30 kv, 15 k–70 kHz, Information Unlimited, Mont Vernon, NH, USA), and an arbitrary waveform generator (Agilent 33220A, Keysight Technologies, Colorado Springs, CO, USA). The IGBT module could be operated in a frequency range between 1 Hz and 20 kHz with an on/off duty cycle of 0.2 to 0.8 and was technically feasible to generate up to 3 kW of pulsed AC. Using a high-voltage switching transformer with an operating frequency range above 15 kHz required waveform conversion using high-speed switching devices, but it was found to be suitable for the high-voltage power supply configuration as it could step up the input voltage by approximately 18.5 times.
Eggshells were determined to be almost insulative, requiring high voltage for micro-crack detection using electrical discharge. The voltage supplied by the DC power supply was converted into square pulses up to 20 kHz through the IGBT module and pulse generator. In the experiment, a 15 kHz frequency was used, and the voltage, transformed into a square pulse, was amplified to a maximum of 3000 V through a flyback circuit before being supplied to the electrodes. Moreover, with the spark generated during micro-crack detection, phenomena such as voltage and current changes were observed. Monitoring devices were essential for measuring these data and ensuring proper voltage supply.
All voltage and current data points were monitored and recorded using a differential probe (PR-60, BK Precision, Yorba Linda, CA, USA), broadband current monitor (169820, Pearson Electronics, Palo Alto, CA, USA), oscilloscope (DPO 4034, Tektronix, Beaverton, OR, USA), and data acquisition device (39704A, Agilent, Palo Alto, CA, USA) as shown in
Figure 3e–h. The current and voltage meters were connected to the oscilloscope and data logger to measure the voltage and current supplied to the electrodes from the IGBT-based power supply. The data logger collected the measured voltage and current intensity, while the oscilloscope visually displayed the waveform and magnitude of the measured voltage and current.
2.1.3. Rotation System
The egg rotation system consisted of a step motor (57HBM100-1000, Leadshine, California, CA, USA) and motor drive (HBS57H, Leadshine, California, CA, USA), a linear actuator module (LSM5-NK173117-0808, Guro, Seoul, Republic of Korea) for moving the detection unit back and forth, and a custom egg rotation roller. The egg rotation roller was designed to ideally contact the egg surface, preventing ejection during rotation due to the non-perfect ellipsoid shape of the eggs. Made of rubber to increase friction and reduce slip, the rollers provided consistent rotation. Despite the tilting phenomenon during rotation due to the non-ellipsoid shape, the elasticity of the rubber prevented breakage. Eleven egg rollers were connected to the step motor. Initially, a fan belt was used to ensure consistent rotation by accurately transmitting the motor’s power, but slip occurred depending on the tension adjustment. This was improved by using gears, as shown in
Figure 4a, to ensure consistent rotation across the 11 rollers.
The linear actuator module comprised a linear stage combined with a bipolar motor. The detection unit, with electrode pins, was connected to two linear stages, allowing movement back and forth as illustrated in
Figure 4b. While the eggs were continuously rotated by the step motor and egg roller, the detection device with electrode pins was passed over the eggs. Although the electrode pins were placed in the fixed position, the continuous rotation of the eggs on the rollers allowed for the inspection of the entire outer surface of the eggs. By adjusting the rotation ratio of the linear actuator module’s motor and the step motor driving the rollers, the eggs rotated four times while the detection unit passed over them.
2.2. Egg Sample Preparation
The medium, large, extra-large, and jumbo-sized brown eggs and the processed eggs were employed in this study. Each 100 eggs (total 500 eggs) were purchased from the local market. The purchased samples were stored at a refrigerated temperature of 4 °C for a maximum of 3 days before being used in the experiments.
An egg crack striking device was designed and fabricated to obtain the uniform crack in eggshell (
Figure 5a). When a flat hammerhead stroked an eggshell, which has a rounded shape, there was a high likelihood of inducing a fracturing effect at the point of contact. Therefore, a hammer with a rounded, striking surface was employed in this study to artificially make the cracks on the surface of eggs. The rounded head allows for the precise application of force at a single point when it comes into contact with the curved surface of the eggshell. The egg was located in the holder and a 100 g impact hammer stroked the surface of the egg. The impacting hammer swing angle was able to be controlled. The impacting force corresponding to the kinetic energy that the egg received was calculated using the following equation [
26]:
where
is the impacting force (N),
is the mass (kg) of the impacting hammer,
is the acceleration of gravity (9.81 m/s
2),
is the drop height (m) of the impacting hammer, and
is the mass (kg) of the egg.
In addition, the impacting force was measured by using the customized load cell system, which consisted of an Arduino Uno R3, load cell, HX711 module, and Python UDF. The impacting force and time were recorded and graphed as indicated in
Figure 5b. When the impacting hammer swing angle was 30°, the eggshell was cracked, and the impacting force and time were 0.374 N and approximately 0.3 s, respectively. Using a striking machine, it was possible to create not only in the latitudinal and longitudinal directions of the eggshell but also the tip of the egg (
Figure 5d).
2.3. Mathematical Modeling
The inner membrane of the eggshell, made of keratin, formed an organic fiber network and acted as a conductor along with the egg liquid under normal conditions. Cracked eggs had a short air path connecting the shell to the inner membrane along the crack. For dielectric materials like air, when the electric field strength exceeded a certain value, the binding charges were forced to flow, causing insulation breakdown [
27]. To understand this behavior, a simulation based on mathematical modeling was performed. Numerical studies of the model and identification of related equations revealed the fundamental interactions between the electric field, charged particles, and neutral particles.
The numerical modeling of electric field and charge density distribution in COMSOL Multiphysics involved coupling two physical phenomena (electromagnetic and electrostatic models), achieved by solving the following governing equations. The modeling process included creating the geometric model, assigning initial and boundary conditions, generating and optimizing the mesh, selecting the solver, setting tolerance and time steps, and achieving a built-in convergence solution [
28,
29].
where
is electric displacement (C/m
2),
is space charge density,
is electric field strength (V/m), and
is the electrical potential (V).
In the case of linear materials, E is directly proportional to D, which is presented as:
where
is the vacuum dielectric constant (
, F/m) and
is known as relative permittivity, and it is one of the materials’ properties. But in the case of nonlinear material, this relationship is presented as:
is known as remanent displacement, and it is the displacement at the absence of the electric field. In order to find a distinctive solution, it is necessary to consider the boundary conditions as well. The boundary conditions, would represent the interface between different media and follow the following equations:
In which is the outward normal from medium two. Different mediums behave differently when it comes to electric charges. In dielectric materials, charges can displace within atoms or molecules, although this displacement is not nowhere near charges’ movements in conductors. By applying an external electric field to a dielectric material, the positive charges of its molecule are displaced along the field and negative charges are displaced in the opposite direction of the field.
2.4. Mathematical Modeling Setup
The electromagnetic field and charge density distribution were analyzed in two forms: a static 3D type with an air layer between the electrode and membrane and a dynamic 2D type with the electrode directly contacting the membrane. The boundary conditions of the electromagnetic equations assumed insulation from all external geometries, with an initial temperature T
0 = 303.15 K and an initial potential V
0 = 0 V. Stainless steel used for the electrodes had a relative permittivity of 1 and an electrical conductivity of 1.45 × 10
6 S/m, as per the material library. The relative permittivity and electrical conductivity values for the eggshell and membrane were set based on previous studies. The eggshell had a relative permittivity of 15 and an electrical conductivity of 0.5 S/m, while the membrane had a relative permittivity of 3.6 and an electrical conductivity of 1.5 S/m [
30,
31]. The air had a relative permittivity of 1 and an electrical conductivity of 0 S/m. During dielectric breakdown, the air layer’s conductivity matched that of the membrane. The computational domain was discretized using tetrahedral mesh to enhance mesh quality. The direct linear system solver (PARDISO) was used to increase convergence rates, with relative and absolute tolerances set to 0.5 each. The simulation geometry is schematically shown in
Figure 6.
4. Discussion
The primary focus of this study was to propose a novel method for detecting cracks in eggshells based on discharge analysis. The method developed in this study offered high precision, stability, and low dependency on environmental conditions. This section will further discuss the electrical properties of poultry eggs and explore the generalization and universality of the proposed method.
The system developed in this study could be directly attached to egg crack detection conveyors, providing greater convenience compared to existing detection devices and systems. At a roller speed of 120 RPM and 1.8 m/min, the eggs contacted the electrodes an average of four times, resulting in spark generation regardless of crack location. This enabled the detection of approximately 6000 eggs per hour. With optimized voltage and advanced detection methods, accurate crack detection could be achieved with only two contacts, significantly increasing processing speed and potentially replacing existing detection devices.
Crack detection technology based on electrical properties held significant research value and market potential for future agricultural product quality inspection. Although this study focused on eggs, the method could be applied to various poultry products, demonstrating its versatility and generalizability [
35]. Additionally, the system maintained consistent detection accuracy regardless of the egg’s processing state, overcoming the limitations of current commercial technologies. Cracks in eggs posed a risk of contamination by harmful microorganisms, including
E. coli. The high heat generated by electrical sparks may aid in sterilization, which warrants further investigation. While the current spark response detection relies on IR sensors to detect wavelengths, future studies will explore using current changes as trigger signals. This method would not be affected by environmental light conditions and is considered optimal for field applications.