1.Weighing sensor 2.Ear loading sensor 3.Ear unloading 
motor 4.Cameras for ear images 5.Ear unloading sensor 6. 
Load bearing steel wire 7. Corn ear carrying device 
8.bearing bracket 9.Sample under test 
Ear testing unit mainly includes weighing sensor, 
cameras, and ear bearing mechanism, the ear bearing 
mechanism consists of a bearing bracket and an ear 
bearing device. The whole ear bearing mechanism is 
placed above the weighing senor with a range of 0~10 
kg and a precision of 0.1 g. The ear bearing device 
adopts two Tungsten wires with high hardness and a 
diameter of 1.5 mm. Those two wires are installed in 
parallel with adjustable space. During work, the 
sample ear is placed above two wires. Four high-
resolution color cameras are evenly distributed 
around the ear with an interval of 90° to acquire corn 
ear images in four directions. In this study, ear images 
are taken using a high-resolution color CMOS 
industrial digital camera and the lens with a focal 
length of 5 mm. In addition, four 12 V bar LED white 
light sources are distributed in the middle of the 
adjacent cameras to guarantee uniform illumination. 
Ear loading sensor detects ear feeding, which triggers 
four cameras to acquire ear images and record ear 
weights simultaneously. Then, ear unloading motor 
drives the ear carrying device to revolve round the 
axis. The ears slide down to the threshing unit under 
the effect of gravity, which resets both the unloading 
motor and the bearing device, waiting for the feeding 
of the next ear. The ear unloading sensor is installed 
at the discharge outlet to detect whether the corn ear 
is successfully discharged to the kernel threshing unit. 
3.2 Kernel Testing Unit 
When the testing system works, corn kernels after 
being threshed and cleaned are randomly scattered in 
the kernel testing unit under the effect of gravity. At 
this time, the industrial camera is used to acquire 
kernel images and then obtain the kernel parameters, 
including kernel number, kernel shape, length, width, 
and color. Corn kernels, which are scattered in the 
kernel testing unit after being threshed and cleaned, 
are easily adhered and accumulated. Thus, 
guaranteeing the accuracy of the kernel parameters is 
difficult if the images to process are directly acquired. 
To solve the problem, the kernel testing unit consists 
of three parts: (1) image acquisition device for 
collecting kernel images; (2) automatic spreading 
mechanism for reducing kernel adhesion and 
accumulation and obtaining high-quality kernel 
images; and (3) kernel discharging mechanism for 
ensuring the smooth implementation of high-
throughput assembly line operation and allowing the 
discharge of kernels whose test parameters have been 
measured into the next link. The structure of the 
kernel testing unit is shown in Fig. 3.  
 
Fig.3 Structure of corn kernels testing unit 
1. Vibration platform 2. Kernel layer board 3. Threshing 
unload sensor 4. Strip source 5. Camera for kernels image 
The camera of the kernel image acquisition device 
adopts a high-resolution color CMOS industrial 
digital camera. The CMOS size of the camera is 1/2.5 
inch with an imaging resolution of 2592 × 1944 
pixels. After the test, the corn kernel distribution area 
is designed to 50 cm × 40 cm to improve the pixel 
utilization rate of the camera and meet the testing 
demands of single-corn ear kernels of different 
specifications. 
The automatic spreading mechanism vibrates the 
plate containing corn kernels under the drive of the 
vibrating platform before the acquisition of corn 
kernel images to avoid corn kernel accumulation. 
After spreading, it triggers the camera to acquire 
kernel images. The kernel discharging mechanism 
uses the linear motor to drive the kernel plate to form 
a certain angle and make the kernels slide down under 
the effect of gravity.  
3.3 System Control Unit  
The Kunluntongtai TPC7062K industrial control 
tablet and the Modbus input–output module comprise 
the control system. The Modbus module uses the 
RS485/RS232-based Modbus RTU standard 
communication protocol with 16 photoelectric 
isolating switch input channels and 16 photoelectric 
isolating relay output channels. 
After corn ear feeding, the ear loading and 
unloading sensors are installed at the ear processing 
unit, the kernel threshing detection senor at the outlet 
of the threshing unit, and the kernel discharging 
sensor at the outlet of the kernel testing unit. This 
procedure realizes the automation of ear image 
acquisition and analysis, discharging, kernel 
threshing and spreading, kernel image acquisition and 
analysis, as well as lifting, packaging and label 
printing. The output signals of the sensors are all 
switch quantities, which are taken as the input signals 
to control the testing system according to the