Live sheep sorting system and sorting method
By designing a live sheep sorting system, using multiple sensors to collect data and using neural network models to determine whether the sheep meets the slaughter conditions, efficient and accurate sorting of mutton is achieved, and the low sorting efficiency and accuracy in the existing technology are solved. The problem of instability has improved the quality of mutton products.
Patent Information
- Application Number
- CN202410984250.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-22
- Publication Date
- 2024-12-06
AI Technical Summary
In the prior art, the sorting of live mutton in live mutton has not been automated and intelligent, resulting in low sorting efficiency and unstable accuracy, increasing labor costs, and the quality standards of mutton in purely based on weight.
A live sheep sorting system was designed, including a data acquisition platform, a data acquisition device, a front gear device, a diversion device, a guide device and an industrial control machine, and was collected through a three-dimensional laser scanner, an infrared thermal imager, a weighing device and an industrial camera. The body size, weight, external temperature and appearance information of the sheep are used to determine whether the sheep meets the slaughtering conditions by using a pre-trained neural network model, and the sorting gate is automatically controlled to open to realize sorting.
It improves the accuracy of live sheep sorting, reduces manual participation, reduces sorting errors, ensures the quality stability of mutton products, saves labor costs and improves sorting efficiency.
Smart Images

Figure CN119076404A_ABST
Abstract
Description
Technical Field
[0001] The invention relates to the technical field of animal husbandry automation equipment, and in particular to a live sheep sorting system and a sorting method. Background Art
[0002] As one of the main meat products in Ningxia Hui Autonomous Region, the quality of mutton has attracted the attention of the general public and has been strictly supervised by relevant departments. Meat processing companies also attach great importance to the quality control of mutton products. Especially for Ningxia Tan mutton products, they are made from naturally fed lambs. Due to the special grazing form, Tan mutton needs to be sorted before production.
[0003] At present, although mechanization has been widely developed, the sorting of Tan mutton has not yet achieved automation and intelligence, especially in the live sheep sorting link, most companies still rely on manual on-site sorting. With the increase of manual time, relying on people's subjective consciousness and experience to sort live sheep is very likely to cause human eye fatigue, which will not only reduce the sorting efficiency and unstable sorting accuracy, but also increase labor costs. Although some companies use automatic grouping management systems to sort according to the quality of live sheep, which greatly reduces labor costs. However, this method is mainly based on the quality of live sheep for sorting, which is mainly used to judge whether the live sheep have reached the weight requirements for slaughter, or to group and raise according to different weights. For live sheep used to prepare Tan mutton, it is obviously not enough to simply judge whether the live sheep meet the slaughter requirements based on weight and whether the live sheep after slaughter can meet the Tan mutton standards. Therefore, the existing live sheep sorting method has low accuracy, which leads to unstable quality of mutton products. Summary of the invention
[0004] In view of this, in order to address the above shortcomings, it is necessary to propose a live sheep sorting system and sorting method to improve the accuracy of live sheep sorting, thereby improving the stability of the quality of mutton products.
[0005] In a first aspect, the present invention provides a live sheep sorting system, the system comprising: a data acquisition platform, a data acquisition device, a front blocking device, a diversion device, a guiding device and an industrial computer;
[0006] The data acquisition platform is a channel-type structure, the data acquisition device is arranged inside the channel of the data acquisition platform, the front entrance of the channel is provided with the front block device, the rear exit of the channel is provided with a diversion device, the diversion device includes two sorting gates, and the channel of the guide device is directly opposite to one of the sorting gates; the front block device, the data acquisition device and the diversion device are all electrically connected to the industrial control machine;
[0007] The front stop device is controlled by the industrial computer to be opened or closed to control the sheep to enter the channel of the data acquisition platform; the data acquisition device is used to collect data on the entering sheep, and upload the collected live sheep data information to the industrial computer; wherein the live sheep data information includes: body shape information, weight information, external temperature information and appearance information; the industrial computer is configured with a live sheep sorting model obtained by neural network training in advance, and the industrial computer is used to determine whether the current sheep in the data acquisition platform meets the slaughtering conditions according to the live sheep data information uploaded by the data acquisition device and the live sheep sorting model, and control the sorting gate corresponding to the guiding device to open when the current sheep meets the slaughtering conditions, so as to guide the current sheep to the corresponding slaughtering area through the guiding device; and, when the current sheep does not meet the slaughtering conditions, control the sorting gate corresponding to the non-guiding device to open, so that the sheep returns to the corresponding feeding area.
[0008] Preferably, the data acquisition platform includes a pedal, casters and a foot cup; the pedal is rotatably fixedly arranged at the front end entrance ground of the data acquisition platform channel, and is used to be rotated and overlapped to the ground when live sheep are sorted; the casters and foot cups each include four, which are respectively arranged at the four corners of the data acquisition platform; the casters are universal wheels, and the height of the foot cups is adjustable to adjust the stability of the data acquisition platform.
[0009] Preferably, the data acquisition device includes a three-dimensional laser scanner, an infrared thermal imager, a weighing instrument and an industrial camera, and the three-dimensional laser scanner, infrared imager, weighing instrument and industrial camera are all electrically connected to the industrial computer and are used to send the data collected by each to the industrial computer; the three-dimensional laser scanner includes two, which are respectively installed at the two top corners of the front end entrance of the data acquisition platform, and the scanning direction is toward the channel of the data acquisition platform, and is used to scan the current sheep inside the data acquisition platform to determine the body shape information of the current sheep; the infrared thermal imager is set at the top corner of the middle position of the data acquisition platform, and is used to collect the body surface temperature distribution information of the current sheep inside the data acquisition platform; the weighing instrument is set on the ground of the data acquisition platform, and is used to collect the weight information of the current sheep inside the data acquisition platform; the industrial camera is installed at the middle top position of the rear end exit of the data acquisition platform, and is used to collect the image information of the current sheep inside the data acquisition platform.
[0010] Preferably, the data acquisition device further comprises a fill light, which is arranged beside the industrial camera and is used to provide fill light for the environment inside the data acquisition platform.
[0011] Preferably, the diversion device also includes a motor, a gate driving mechanism, a track and a pulley corresponding to each sorting gate; both sorting gates are foldable doors composed of at least two door panels, and the motor and gate driving mechanism corresponding to the sorting gate on each side are arranged on the top of the data acquisition platform of the sorting gate on that side, and the track is fixedly arranged at the lower part of the rear end outlet of the data platform of the sorting gate on that side, and the pulley is fixedly arranged on the lower side of the sorting gate for sliding along the track; the motor is drivingly connected to the gate driving mechanism and electrically connected to the industrial control machine, and the front end of the gate driving mechanism is connected to a position on the current sorting gate close to the other sorting gate, so as to control the extension and retraction of the gate driving mechanism through the motor to drive the sorting gate to close and open.
[0012] Preferably, the guiding device includes a guiding corridor and a sound-generating mechanism, which is electrically connected to the industrial computer; the guiding corridor is a retractable corridor hingedly formed by the parallelogram principle, one end of the corridor is directly opposite to the sorting gate whose sorting results meet the slaughtering conditions, and the other end is connected to the slaughtering area; the sound-generating mechanism is arranged at the top position of the front entrance of the data acquisition platform, and is used for the industrial computer to control the emission of a specific driving sound when the current sheep leaves the data acquisition platform, so that the current sheep leaves the data acquisition platform.
[0013] Preferably, the system further comprises three groups of photoelectric sensors electrically connected to the industrial control computer, the three groups of photoelectric sensors being respectively installed at the front end position, the middle position and the back end position inside the data acquisition platform, each group of photoelectric sensors being used to collect optical signal data in real time and synchronously send it to the industrial control computer;
[0014] The industrial computer is used to determine whether the sheep enters the data acquisition platform according to the change rules of the optical signals uploaded by the photoelectric sensors at the front position and the middle position; and when it is determined that the sheep enters the data acquisition platform, control the front stop device to close, and control the data acquisition device to perform data acquisition;
[0015] The industrial computer is also used to determine whether the sheep has walked out of the sorting gate according to the change pattern of the light signal uploaded by the photoelectric sensor at the rear end position; and when it is determined that the sheep has walked out of the sorting gate, control the open sorting gate to close, and control the front blocking device to open, so that the next sheep can enter the data collection platform.
[0016] Preferably, the industrial computer is also used to determine whether an abnormal situation occurs when the sheep enter or leave the data acquisition platform according to the change rules of the light signals of each photoelectric sensor, and to issue an alarm prompt when an abnormal situation occurs so that the staff can take corresponding measures.
[0017] Preferably, the system also includes an RFID reader / writer communicatively connected to the industrial computer, and the RFID reader / writer is installed on the top of the data acquisition platform on the side where the sorting gate that meets the slaughtering conditions is located; the industrial computer is used to determine the three-dimensional body shape, weight, fatness and gender data of the current sheep according to the body shape information, weight information, external temperature information and appearance information collected by the acquisition device, and when it is determined that the current sheep meets the slaughtering conditions, the determined three-dimensional body shape, weight, fatness and gender data are written into the RFID tag worn by the current sheep through the RFID reader / writer.
[0018] In a second aspect, the present invention provides a live sheep sorting method, the implementation subject of the sorting method is the live sheep sorting system as described in the first aspect, and the method comprises the following steps:
[0019] Step 1: Pre-train the live sheep sorting model and configure the live sheep sorting model into the industrial computer;
[0020] Step 2: Build the live sheep sorting system in the feeding area, align the front entrance of the data acquisition platform with the door through which the sheep enter the feeding area, and guide the exit of the guiding device to the slaughtering area;
[0021] Step 3: Start the live sheep sorting system;
[0022] Step 4: The industrial computer controls the front stopper to open, allowing the sheep to enter the data collection platform. At the same time, the 3D laser scanner scans the sheep and transmits the scanning results to the industrial computer in real time.
[0023] Step 5: The industrial computer receives the optical signal data uploaded by each photoelectric sensor in real time, and determines whether the sheep has completely entered the data collection platform according to the optical signal change rules in the optical signal data uploaded by the photoelectric sensors at the front position and the middle position;
[0024] Step 6: After the industrial computer determines that the sheep has completely entered the data collection platform, it controls the front stop device to close; and controls the infrared thermal imager, weighing instrument and industrial camera to collect data, and uploads the collected data to the industrial computer in real time;
[0025] Step 7: The industrial computer uses the configured live sheep sorting model to process and analyze the data uploaded by each collection device to determine the sorting result of the current sheep;
[0026] Step 8: The industrial computer controls the corresponding sorting gate to open according to the sorting result, and emits a specific driving sound through the sound-generating mechanism to make the current sheep leave the data collection platform;
[0027] Step 9: The sheep that meet the slaughtering conditions are guided to the slaughtering area through the guiding device, and the sheep that do not meet the slaughtering conditions are returned to the feeding area through the sorting gate;
[0028] Step 10: The industrial computer determines whether the current sheep has completely left the data collection platform according to the light signal change rule in the light signal data uploaded by the photoelectric sensor at the rear position, and controls the sorting gate to close when it is determined that the current sheep has completely left the data collection platform;
[0029] Step 11: Return to step 4 above to carry out the next sorting.
[0030] It can be seen from the above technical scheme that the live sheep sorting method provided by the present invention is implemented based on the live sheep sorting system, wherein the live sheep sorting system includes a data acquisition platform, a data acquisition device, a front stop device, a diversion device, a guiding device and an industrial control computer, wherein the front stop device is arranged at the front entrance of the data acquisition platform, and can be controlled to be opened or closed by the industrial control computer, so as to control the sheep to enter the data acquisition platform. When the sheep enters the data acquisition platform, the data acquisition device arranged inside the data acquisition platform can collect the live sheep data information such as the body shape, weight, external temperature and appearance of the sheep, and upload the collected live sheep data information to the industrial control computer, and the industrial control computer can determine whether the current sheep meets the slaughtering conditions according to the pre-configured live sheep sorting model and the received live sheep data information, thereby opening the corresponding sorting gate according to the judgment result, so that the sheep that meet the slaughtering conditions are guided to the waiting slaughtering area, and the sheep that do not meet the slaughtering conditions are returned to the feeding area. It can be seen that the live sheep sorting scheme provided by the present invention does not require manual sorting, which not only saves labor costs and improves sorting efficiency, but also has low manual participation, reducing sorting errors and instability of sorting standards caused by human subjective consciousness and experience. Moreover, this scheme is based on a variety of parameters such as the body shape, weight, external temperature and appearance of the sheep, and comprehensively analyzes whether the sheep meet the slaughtering conditions, which greatly guarantees the sorting standards of the sheep. Therefore, this scheme can improve the accuracy of live sheep sorting, thereby ensuring the stability of the quality of mutton products. BRIEF DESCRIPTION OF THE DRAWINGS
[0031] Figure 1 A schematic diagram of a live sheep sorting system provided in an embodiment of the present invention.
[0032] Figure 2 A schematic diagram of a data acquisition platform provided in an embodiment of the present invention.
[0033] Figure 3 A schematic diagram of a data acquisition device provided by an embodiment of the present invention.
[0034] Figure 4 A schematic diagram of a flow diversion device provided in an embodiment of the present invention.
[0035] Figure 5 for Figure 4 Partial view at point A in the middle.
[0036] Figure 6 This is a schematic diagram of the guiding corridor.
[0037] In the figure: data acquisition platform 10, pedal 11, caster 12, foot cup 13, data acquisition device 20, three-dimensional laser scanner 21, infrared thermal imager 22, weighing instrument 23, industrial camera 24, fill light 25, front block device 30, diversion device 40, sorting gate 41, motor 42, gate driving mechanism 43, track 44, pulley 45, guide device 50, guide corridor 51, sounding mechanism 52, industrial computer 60, RFID reader 70. DETAILED DESCRIPTION
[0038] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the following briefly introduces the drawings required for use in the embodiments. Obviously, the drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0039] Ningxia Tan mutton products are made from selected naturally fed lambs. Due to the special grazing pattern, Tan mutton needs to be sorted before production. The existing sorting of live sheep is mainly based on the weight of the sheep. For example, the sheep are automatically grouped according to weight; for another example, in a disclosed automatic sheep weighing and grouping system, the sheep are sorted based on weight, and electronic ear tags are used to solve the problem of grouping errors that may occur in manual weighing and grouping.
[0040] However, in practice, grouping only by weight is difficult to meet the needs of live sheep sorting before making mutton products, especially the quality requirements of Tan mutton products. The existing scheme has low sorting accuracy, which leads to poor quality stability of mutton products. Based on this, see Figure 1-6 , This solution provides a live sheep sorting system, which includes: a data acquisition platform 10, a data acquisition device 20, a front blocking device 30, a diversion device 40, a guiding device 50 and an industrial computer 60;
[0041] The data acquisition platform 10 is a channel-type structure. The data acquisition device 20 is arranged inside the channel of the data acquisition platform 10. A front blocking device 30 is arranged at the front entrance of the channel. A diverter device 40 is arranged at the rear exit of the channel. The diverter device 40 includes two sorting gates 41. The channel of the guide device 50 faces one of the sorting gates 41. The front blocking device 30, the data acquisition device 20 and the diverter device 40 are all electrically connected to the industrial computer 60.
[0042] The front stopper 30 is used to be controlled by the industrial computer 60 to be opened or closed, so as to control the sheep to enter the channel of the data acquisition platform 10; the data acquisition device 20 is used to collect data on the entered sheep, and upload the collected live sheep data information to the industrial computer 60; wherein the live sheep data information includes: body shape information, weight information, external temperature information and appearance information; the industrial computer 60 is configured with a live sheep sorting model obtained by neural network training in advance, and the industrial computer 60 is used to determine whether the current sheep in the data acquisition platform 10 meets the slaughtering conditions according to the live sheep data information and the live sheep sorting model uploaded by the data acquisition device 20, and when the current sheep meets the slaughtering conditions, control the sorting gate 41 corresponding to the guiding device 50 to open, so as to guide the current sheep to the corresponding slaughtering area through the guiding device 50; and when the current sheep does not meet the slaughtering conditions, control the sorting gate 41 corresponding to the non-guiding device 50 to open, so that the sheep returns to the corresponding feeding area.
[0043] In this embodiment, when sorting live sheep, no manual sorting is required, which not only saves labor costs and improves sorting efficiency, but also reduces the degree of manual participation, reduces sorting errors and instability of sorting standards caused by human subjective consciousness and experience. Moreover, this solution is based on a variety of parameters such as the body shape, weight, external temperature and appearance of the sheep, and comprehensively analyzes whether the sheep meet the slaughtering conditions, thereby improving and ensuring the sorting standards of the sheep. Therefore, this solution can improve the accuracy of live sheep sorting, thereby ensuring the stability of the quality of mutton products.
[0044] The front blocking device 30 can be a fence gate, which is controlled by the industrial computer 60 to perform opening and closing operations to ensure that there is only one sheep inside the data collection platform 10, avoiding errors caused by sheep continuously entering the data collection platform 10 and causing incorrect sorting results.
[0045] The data collection platform 10 is a channel-shaped structure with openable ends and closed sides and top. The data collection platform 10 is supported by a steel structure and closed by sheet metal. The interior of the channel has a certain height, which allows sheep to stand, so as to ensure that the sheep can stay inside the data collection platform 10 for 2-5 seconds during sorting for data collection.
[0046] In addition, the data acquisition platform 10 includes a pedal 11, a caster 12 and a foot cup 13; the pedal 11 is rotatably fixedly arranged at the front end entrance ground of the channel of the data acquisition platform 10, and is used to rotate and overlap the ground when live sheep are sorted; the casters 12 and the foot cup 13 each include four, which are respectively arranged at the four corners of the data acquisition platform 10; the caster 12 is a universal wheel, and the height of the foot cup 13 is adjustable to adjust the stability of the data acquisition platform 10.
[0047] In this embodiment, the surface of the pedal 11 is set to be a non-slip material. By being rotatably connected to the data acquisition platform 10, the pedal 11 can be placed inside the channel of the data acquisition platform 10 when not in use. When sorting, the pedal 11 is reversed and overlapped between the data acquisition platform 10 and the ground. The caster 12 at the bottom of the data acquisition platform 10 is a universal wheel, so that the data acquisition platform 10 can be moved conveniently. The foot cup 13 is installed next to the caster 12. When it does not affect the rotation and movement of the caster 12, the foot cup 13 is used to adjust the height of the foot cup 13 at will when the data acquisition platform 10 is placed on an uneven ground to ensure the stability of the data acquisition platform 10. In addition, the weighing instrument 23 installed inside the data acquisition platform 10 needs to work under horizontal conditions, so the foot cup 13 can also ensure that the data acquisition platform 10 is in a horizontal state, thereby ensuring that the weighing instrument 23 can obtain more accurate weight data.
[0048] The data collection device 20 is mainly used to collect information such as the body shape, weight, external temperature and appearance of the sheep. Specifically, the data acquisition device 20 may include a three-dimensional laser scanner 21, an infrared thermal imager 22, a weighing instrument 23 and an industrial camera 24, and the three-dimensional laser scanner 21, the infrared thermal imager 22, the weighing instrument 23 and the industrial camera 24 are all electrically connected to the industrial computer 60 and used to send the data collected by each to the industrial computer 60; the three-dimensional laser scanner 21 includes two, which are respectively installed at the top two corners of the front entrance of the data acquisition platform 10, and the scanning direction is toward the channel of the data acquisition platform 10, and is used to scan the current sheep inside the data acquisition platform 10 to determine the body shape information of the current sheep; the infrared thermal imager 22 is set at the top corner of the middle position of the data acquisition platform 10, and is used to collect the body surface temperature distribution information of the current sheep inside the data acquisition platform 10; the weighing instrument 23 is set on the ground of the data acquisition platform 10, and is used to collect the weight information of the current sheep inside the data acquisition platform 10; the industrial camera 24 is installed at the middle top position of the rear end exit of the data acquisition platform 10, and is used to collect the image information of the current sheep inside the data acquisition platform 10.
[0049] The three-dimensional laser scanner 21 is mainly used to collect the body shape information of the sheep. Specifically, the three-dimensional laser scanner 21 will emit laser pulses to the sheep when it is working. When the laser pulses are irradiated on the surface of the sheep, part of the laser energy will be reflected back. The sensor inside the three-dimensional laser scanner 21 receives the laser pulses emitted back. By measuring the flight time of the laser pulse from emission to reception, the distance traveled by the laser pulse can be calculated. The emitted laser beam will scan the surface of the sheep, thereby collecting the three-dimensional coordinate information of a series of points. Through the precise timer and angle encoder inside the scanner, the angle and timestamp when the laser pulse is emitted are recorded, and combined with the flight time, emission angle and known position of the scanner, the three-dimensional coordinates of each emission point relative to the scanner can be calculated.
[0050] For example, by measuring the flight time of the laser pulse from emission to reception, The distance traveled by the laser pulse can be calculated, where R is the distance traveled by the laser pulse, c is the speed of light, and t is the flight time of the laser pulse. The precise timer and angle encoder inside the scanner can record the timestamp when the laser pulse is emitted, the horizontal angle θ, and the vertical angle Combining the distance traveled by the laser pulse, the emission angle θ and the angle and the known position of the scanner, can be calculated based on the formula The three-dimensional coordinates of each reflection point relative to the scanner can be calculated. As the scanning proceeds, the scanner collects a large number of three-dimensional coordinate data points, which are transmitted to the industrial computer 60 and processed by the industrial computer 60, that is, these point cloud data are converted into a three-dimensional model, and the body shape information of the sheep's body length, body width and body height can be obtained.
[0051] As for the infrared thermal imager 22, it receives the infrared radiation energy distribution graph emitted by the sheep through the built-in infrared detector and optical imaging objective lens. The graph is reflected on the photosensitive element of the infrared detector to form a corresponding electrical signal. After signal processing and conversion, the infrared thermal image is displayed. Since sheep are biological organisms, they will emit infrared radiation. The intensity of infrared radiation is directly related to the temperature of the sheep. The higher the temperature, the greater the radiation intensity. The fatness of the sheep, that is, the ratio of fat and muscle in its body, will indirectly affect the temperature distribution of its body surface. Different colors on the infrared thermal image represent different temperatures in different parts. In this way, by analyzing the temperature distribution of the sheep's body surface from the infrared thermal image, the fatness of the sheep can be inferred.
[0052] The weighing instrument 23 is disposed at the bottom of the data collection platform 10 , and is used to perform weight collection operations on the sheep entering the data collection platform 10 , and upload the collected data to the industrial computer 60 .
[0053] The industrial camera 24 is used to perform image acquisition operations on the sheep entering the data acquisition platform 10. The acquired images mainly include images of the wool and horns of the sheep, and the acquired image information is transmitted to the industrial computer 60, so that the industrial computer 60 analyzes the image to obtain the gender information of the sheep.
[0054] Of course, in order to provide good light conditions inside the data acquisition platform 10 for better data acquisition, the data acquisition device 20 may also include a fill light 25, which is arranged next to the industrial camera 24 and is used to fill light for the environment inside the data acquisition platform 10. The light is adjustable, which can prevent the sheep from being stressed due to the different adaptability of different breeds of sheep to light. In addition, the setting of the fill light 25 and the setting of the infrared thermal imager 22 are at a certain distance to avoid the fill light 25 generating heat due to long-term operation, which may cause errors in the data collected by the infrared thermal imager 22, thereby affecting the sorting results.
[0055] In addition, the live sheep sorting system also includes three groups of photoelectric sensors electrically connected to the industrial computer 60, and the three groups of photoelectric sensors are respectively installed at the front position, the middle position and the rear position inside the data acquisition platform 10, and each group of photoelectric sensors is used to collect light signal data in real time and send it to the industrial computer 60 synchronously;
[0056] The industrial computer 60 is used to determine whether the sheep has entered the data collection platform 10 according to the change rules of the optical signals uploaded by the photoelectric sensors at the front position and the middle position; and when it is determined that the sheep has entered the data collection platform 10, the front stop device 30 is controlled to be closed, and the data collection device 20 is controlled to collect data;
[0057] The industrial computer 60 is also used to determine whether the sheep has walked out of the sorting gate 41 according to the change pattern of the light signal uploaded by the photoelectric sensor at the rear end position; and, when it is determined that the sheep has walked out of the sorting gate 41, control the open sorting gate 41 to close, and control the front blocking device 30 to open, so that the next sheep can enter the data collection platform 10.
[0058] In this embodiment, each group of photoelectric sensors includes a transmitting end and a receiving end, which are respectively installed on the two sides of the internal channel of the data acquisition platform 10. The photoelectric sensor at the front position is used to monitor whether there are sheep entering the data acquisition channel, that is, when the transmitting end of the photoelectric sensor at the front position continuously generates a light signal, if there are sheep entering, the light signal will be blocked, and the receiving end cannot receive this section of the light signal, indicating that there are sheep entering. Because the movement of sheep cannot be controlled, in order to prevent the sheep from only staying at the front end of the data acquisition platform 10 and then exiting the data acquisition platform 10, thereby causing the monitoring data to be empty, wasting resources, and suspending the sorting work, the photoelectric sensor at the middle position is used to monitor whether the sheep has completely entered the data acquisition platform 10. When the photoelectric sensor at the middle position emits a light signal at the transmitting end, the receiving end cannot receive this section of the light signal due to the blocking of the sheep, that is, the sheep has completely entered the data acquisition platform 10. At this time, after receiving the signal changes of the photoelectric sensors at the front position and the middle position, the industrial computer 60 immediately receives the signal of the photoelectric sensor at the front position to return to normal, and when the photoelectric sensor at the middle position is still abnormal, the front block device 30 is immediately controlled to close. When the sheep leave the data collection platform 10, in order to avoid the occurrence of sheep lingering, the photoelectric sensor at the rear end position is used to detect whether the sheep has completely left the data collection channel. When the photoelectric sensor transmitting end at the rear end position emits a light signal, the light signal will be blocked by the sheep leaving the data collection platform 10, and the receiving end cannot receive this section of the light signal, and the reception will be restored after a period of time. When the industrial computer 60 detects that the photoelectric sensors at the middle position and the rear end position return to normal after experiencing the above signal changes, it proves that the sheep have completely left the data collection platform 10, and the industrial computer 60 controls the sorting gate 41 to close, and controls the front blocking device 30 to open, and performs the next sorting.
[0059] In addition, the industrial computer 60 is also used to determine whether there is an abnormal situation when the sheep enters or leaves the data collection platform 10 according to the change rules of the light signals of each photoelectric sensor, and to issue an alarm prompt when an abnormal situation occurs, so that the staff can handle it accordingly. In this embodiment, if the signal change received by the industrial computer 60 does not conform to the signal change rule, it means that an error occurs when the sheep enters or leaves the data collection platform 10. At this time, the alarm prompt can quickly remind the staff to handle it, thereby ensuring the sorting efficiency.
[0060] Specifically, during the data collection process, after the sheep begins to enter the data collection platform 10, when the photoelectric sensor receiving end at the front position receives an abnormal signal, the three-dimensional laser scanner 21 starts working, and when the photoelectric sensor receiving end at the middle position receives an abnormal signal, the three-dimensional laser scanner 21 completes the scanning operation. The data collected in this process is the overall three-dimensional data of a sheep. After the collection is completed, the data collected during this period is uploaded to the industrial computer 60. After the sheep completely enters the data collection platform 10, when the photoelectric sensor receiving end at the middle position receives an abnormal signal, the infrared thermal imager 22 starts working, infrared photography of the sheep staying on the data collection platform 10 is performed, and the presented infrared thermal imaging image is transmitted to the industrial computer 60. Among them, the shooting frequency is 5 times / second to ensure that at least one infrared thermal imaging image transmitted to the industrial computer 60 covers the complete sheep. When the sheep enters the data collection platform 10, the weighing instrument 23 detects the existence of weight, and starts to transmit the collected data to the industrial computer 60 at a certain frequency. When the sheep completely stays on the weighing instrument 23, the data recorded by the weighing instrument 23 will change within a certain range, from which the real weight of the sheep can be obtained. After the sheep completely enters the data collection platform 10, the industrial camera 24 starts working, and the pictures presented within its shooting range should be pictures of wool and sheep horns. The shooting frequency of the industrial camera 24 is 5 times / second to ensure that the complete wool and sheep horns pictures can be taken when the sheep's movements are not standardized.
[0061] In addition, the live sheep sorting system also includes an RFID reader / writer 70 that is communicatively connected to the industrial computer 60, and the RFID reader / writer 70 is installed on the top of the data acquisition platform 10 on the side where the sorting gate 41 that meets the slaughtering conditions is located; the industrial computer 60 is used to determine the three-dimensional body shape, weight, fatness and gender data of the current sheep based on the body shape information, weight information, external temperature information and appearance information collected by the acquisition device, and when it is determined that the current sheep meets the slaughtering conditions, the determined three-dimensional body shape, weight, fatness and gender data are written into the RFID tag worn by the current sheep through the RFID reader / writer 70.
[0062] When the sheep are raised, an RFID tag will be tied to it. When the sheep enter the farm, the tag will write the sheep breed, breeding time, farm and other related information. When sorting live sheep, it is necessary to monitor the sheep in more detail. This information and the sorting result page need to be written into the tag to facilitate the acid discharge control and carcass grading after slaughter. Therefore, the RFID reader 70 writes the above information into the RFID tag worn by the sheep when the sheep leaves the data acquisition platform 10 and enters the area to be slaughtered, mainly including body shape, fatness, weight, sex and sorting results. Of course, the RFID reader 70 should be electrically connected to the industrial computer 60 to receive the above information provided by the industrial computer 60 and perform the writing action. Of course, it should be pointed out that the scanning range of the RFID reader 70 is controlled within a certain range to avoid scanning other sheep that meet the slaughtering conditions except those selected by the data acquisition platform 10.
[0063] The main function of the diversion device 40 is to divert the sheep according to the sorting results. Specifically, the diversion device 40 can also include a motor 42, a gate drive mechanism 43, a track 44 and a pulley 45 corresponding to each sorting gate 41; both sorting gates 41 are foldable doors composed of at least two door panels, and the motor 42 and the gate drive mechanism 43 corresponding to each side of the sorting gate 41 are arranged on the top of the data acquisition platform 10 of the sorting gate 41 on that side, and the track 44 is fixedly arranged at the lower part of the rear end exit of the data platform of the sorting gate 41 on that side, and the pulley 45 is fixedly arranged at the lower side of the sorting gate 41 for sliding along the track 44; the motor 42 is driven and connected to the gate drive mechanism 43, and is electrically connected to the industrial computer 60, and the front end of the gate drive mechanism 43 is connected to a position on the current sorting gate 41 close to the other sorting gate 41, so as to control the extension and contraction of the gate drive mechanism 43 through the motor 42, and drive the sorting gate 41 to close and open.
[0064] In this embodiment, each sorting gate 41 can be movably connected to each door by hinges, so that the sorting gate 41 can be folded. The gate drive mechanism 43 is connected to the top of the door panel on the side of the sorting gate 41 that is not connected to the data acquisition platform 10, and the overall folding of the sorting gate 41 is achieved by moving the door panel inward or outward to achieve the opening of the sorting gate 41. The motor 42 can be a servo motor 42, which is used to provide power to the gate drive mechanism 43, so that the gate drive mechanism 43 can achieve precise control of the opening and closing of the sorting gate 41. The track 44 can be a concave track 44, which is fixed to the bottom end of the data acquisition platform 10 during installation, and the pulley 45 is placed in the track 44, which is used to provide a certain amount of power to the foldable sorting gate 41 when sliding in the track 44 to ensure its stability.
[0065] The guiding device 50 mainly guides the sheep to be slaughtered to the slaughtering area. Specifically, the guiding device 50 may include a guiding corridor 51 and a sound-generating mechanism 52, and the sound-generating mechanism 52 is electrically connected to the industrial computer 60; the guiding corridor 51 is a retractable corridor formed by hinged parallelogram principle, one end of which is directly opposite to the sorting gate 41 whose sorting result meets the slaughtering conditions, and the other end is connected to the slaughtering area; the sound-generating mechanism 52 is arranged at the top position of the front entrance of the data acquisition platform 10, and is used to control the industrial computer 60 to emit a specific driving sound when the current sheep leaves the data acquisition platform 10, so that the current sheep leaves the data acquisition platform 10.
[0066] In this embodiment, the guiding device 50 may include a guiding corridor 51 and a sound-generating mechanism 52. The guiding corridor 51 may be independent of the data acquisition platform 10 and may be a fence-shaped metal structure. Specifically, it may be formed by hingedly adopting the parallelogram principle, and has the advantages of being retractable, having a large stroke, and having high flexibility. After determining the application scenario, the installation may be reasonably adjusted according to the usage. One end of the guiding corridor 51 is connected to a sorting gate 41 that meets the slaughtering conditions, and the other end is connected to the area to be slaughtered, so that after the sheep walk out of the sorting gate 41, they can reach the area to be slaughtered along the guiding corridor 51. The sound-generating mechanism 52 can drive the sheep to walk out of the sorting gate 41 and leave the data acquisition platform 10 by emitting a preset specific driving sound when the sheep need to leave the data acquisition platform 10.
[0067] The industrial computer 60 can be placed on the top of the outer side of the data acquisition platform 10. The industrial computer 60 is equipped with a pre-trained live sheep sorting model, which can classify and distinguish the current sheep according to the input data information such as the three-dimensional coordinate information, infrared thermal imaging image, weight information and sheep horn wool image collected by the data acquisition device 20, and the judgment result is two types: meet the slaughtering conditions and do not meet the slaughtering conditions. The industrial computer 60 controls the corresponding sorting gate 41 to open according to the sorting result to achieve the sorting of live sheep.
[0068] Since the data for the preliminary training of the live sheep sorting model needs to be accumulated, in the initial stage, the system is installed on the sheep and enters the data collection platform 10. Except for the live sheep sorting model in the industrial computer 60, the other devices work normally. After the data collection is completed, manual discrimination is performed based on the collected sheep body three-dimensional data, weight data, infrared thermal imaging images, wool and sheep horn images, etc. After the sheep information has accumulated to a certain amount, model training is performed to obtain the live sheep sorting model.
[0069] Specifically, when sorting the current sheep, after the data collection device 20 completes the data collection of the current sheep and transmits it to the industrial computer 60, the current sheep is manually judged, and the information of the current sheep is classified according to the manual judgment result. It can be understood that the data in the industrial computer 60 is connected to the MySQL database inside the external computer, and the received data is synchronized to the MySQL database through SQL programming. The synchronization process is as follows: 1) If the sheep is manually judged to meet the slaughtering conditions, the staff clicks on the external computer to meet the conditions, and the data of the sheep is saved in the database of the information that meets the slaughtering conditions in MySQL. 2) If the sheep is manually judged to not meet the slaughtering conditions, the staff clicks on the external computer to not meet the conditions, and the data of the sheep is saved in the database of the information that does not meet the slaughtering conditions in MySQL. Take all the data of a sheep as a group. After the data is accumulated to more than 500 groups in each folder or the accumulation number reaches one month, use Python software on an external computer to read, clean and select features of the data in the database, select a deep learning model such as a convolutional neural network for model training, generate a live sheep sorting model, export the live sheep sorting model and deploy it on the industrial computer 60. Further, in the specific live sheep sorting process, machine sorting is used instead of manual sorting. The industrial computer 60 gives the sorting result of the current sheep, and manual verification is performed to determine the sorting result of the industrial computer 60 and improve it. By repeating the above process, over the years, the accuracy of live sheep sorting will be effectively improved, thereby improving the efficiency and accuracy of live sheep sorting.
[0070] It is understandable that in the training process of the live sheep sorting model, the processing of raw data is a relatively important step. Specifically in the present invention, after data processing, the three-dimensional data transmitted to the industrial computer 60 by the three-dimensional laser scanner 21 will be converted into body shape data, the infrared thermal image transmitted to the industrial computer 60 by the infrared thermal imager 22 will be converted into fatness and thinness for storage, and the weight will select the data closest to the weight of the sheep for storage. At the same time, the wool horn picture will be stored as male and female after feature recognition. In addition to being used for live sheep sorting, the above storage method can also be returned to the MySQL database in the external computer. When the live sheep leaves the data collection platform 10, it is written into the RFID tag carried by the sheep through the RFID reader 70, so that the subsequent information traceability system can be established and used.
[0071] In addition, the present invention also provides a live sheep sorting method, the implementation subject of the sorting method is the live sheep sorting system as described in the above embodiments, and the method comprises the following steps:
[0072] Step 1: pre-training a live sheep sorting model, and configuring the live sheep sorting model into the industrial computer 60;
[0073] Step 2: Build a live sheep sorting system in the feeding area, align the front entrance of the data acquisition platform 10 with the door where the sheep enter the feeding area, and guide the exit end of the guiding device 50 to the slaughtering area;
[0074] Step 3: Start the live sheep sorting system;
[0075] Step 4: The industrial computer 60 controls the front stopper 30 to open, so that the sheep begin to enter the data collection platform 10. At the same time, the three-dimensional laser scanner 21 scans the sheep and transmits the scanning results to the industrial computer 60 in real time.
[0076] Step 5: The industrial computer 60 receives the optical signal data uploaded by each photoelectric sensor in real time, and determines whether the sheep has completely entered the data acquisition platform 10 according to the optical signal change rule in the optical signal data uploaded by the photoelectric sensors at the front position and the middle position;
[0077] Step 6: After determining that the sheep has completely entered the data collection platform 10, the industrial computer 60 controls the front stop device 30 to close; and controls the infrared thermal imager 22, the weighing instrument 23 and the industrial camera 24 to collect data, and uploads the collected data to the industrial computer 60 in real time;
[0078] Step 7: The industrial computer 60 uses the configured live sheep sorting model to process and analyze the data uploaded by each collection device to determine the sorting result of the current sheep;
[0079] Step 8: The industrial computer 60 controls the corresponding sorting gate 41 to open according to the sorting result, and emits a specific driving sound through the sound-generating mechanism 52 to make the current sheep leave the data collection platform 10;
[0080] Step 9: The sheep that meet the slaughtering conditions are guided to the slaughtering area through the guiding device 50, and the sheep that do not meet the slaughtering conditions are returned to the feeding area through the sorting gate 41;
[0081] Step 10: The industrial computer 60 determines whether the current sheep has completely left the data collection platform 10 according to the light signal change rule in the light signal data uploaded by the photoelectric sensor at the rear position, and controls the sorting gate 41 to close when it is determined that the current sheep has completely left the data collection platform 10;
[0082] Step 11: Return to step 4 above to carry out the next sorting.
[0083] In this embodiment, after the sorting starts, the sheep begin to enter the data acquisition platform 10. When entering, the three-dimensional laser scanner 21 will scan the sheep entering the channel and transmit the scanning results to the industrial computer 60 in real time. At this time, the signal of the photoelectric sensor receiving end at the front position changes as follows: normal signal reception-abnormal signal reception-normal signal reception. When the sheep completely enters the data acquisition channel, the signal of the photoelectric sensor receiving end at the middle position changes as follows: normal signal reception-abnormal signal reception-normal signal reception. When the industrial computer 60 detects that the photoelectric sensor at the middle position conforms to the above-mentioned change rule, and the photoelectric sensor signal at the front position is normal, it is determined that the sheep has completely entered the data acquisition platform 10, and a front baffle device 30 closing command is issued to close the front baffle device 30. At this time, the infrared thermal imager 22, the industrial camera 24 and the weighing instrument 23 start to collect data, and transmit the collected data to the industrial computer 60 in real time. After receiving the data, the industrial computer 60 uses the live sheep sorting model to perform sorting processing to obtain the sorting result. Then, according to the sorting result, the corresponding sorting gate 41 is controlled to open, and the sound-generating mechanism 52 is controlled to work at the same time, and a preset specific driving sound is emitted to prompt the sheep to leave the data collection platform 10. When the sheep leave the data collection platform 10, the sheep that meet the slaughtering conditions will be guided to the slaughtering area by the guiding device 50, and those that do not meet the slaughtering conditions will be put back into the farm. In this process, the signal change of the photoelectric sensor receiving end at the rear end position is: normal signal reception-abnormal signal reception-normal signal reception. After the industrial computer 60 detects the signal change, it then detects that there is no abnormality in the photoelectric sensor signal reception at the middle position and the rear end position, which means that the sheep has completely left the data collection platform 10. At this time, the industrial computer 60 controls the sorting gate 41 to close, and opens the front blocking device 30 to allow the next sheep to enter for the next sorting.
[0084] Since the method embodiment provided by the present invention is based on the same inventive concept as the system embodiment of this specification, the specific content can be found in the description of the device embodiment of this specification and will not be repeated here.
[0085] The modules or units in the device of the embodiment of the present invention can be combined, divided and deleted according to actual needs. The above disclosure is only the preferred embodiment of the present invention, and of course it cannot be used to limit the scope of the rights of the present invention. Those skilled in the art can understand that all or part of the processes of the above embodiment are implemented, and the equivalent changes made according to the claims of the present invention still fall within the scope of the invention.
Claims
1. A live sheep sorting system, characterized in that: The system includes: a data acquisition platform, a data acquisition device, a front stop device, a diversion device, a guiding device and an industrial computer; The data acquisition platform is a channel-type structure, the data acquisition device is arranged inside the channel of the data acquisition platform, the front entrance of the channel is provided with the front block device, the rear exit of the channel is provided with a diversion device, the diversion device includes two sorting gates, and the channel of the guide device is directly opposite to one of the sorting gates; the front block device, the data acquisition device and the diversion device are all electrically connected to the industrial control machine; The front stop device is controlled by the industrial computer to be opened or closed to control the sheep to enter the channel of the data acquisition platform; the data acquisition device is used to collect data on the entering sheep, and upload the collected live sheep data information to the industrial computer; wherein the live sheep data information includes: body shape information, weight information, external temperature information and appearance information; the industrial computer is configured with a live sheep sorting model obtained by neural network training in advance, and the industrial computer is used to determine whether the current sheep in the data acquisition platform meets the slaughtering conditions according to the live sheep data information uploaded by the data acquisition device and the live sheep sorting model, and control the sorting gate corresponding to the guiding device to open when the current sheep meets the slaughtering conditions, so as to guide the current sheep to the corresponding slaughtering area through the guiding device; and, when the current sheep does not meet the slaughtering conditions, control the sorting gate corresponding to the non-guiding device to open, so that the sheep returns to the corresponding feeding area.
2. The live sheep sorting system according to claim 1, characterized in that: The data acquisition platform includes a pedal, a caster and a foot cup; the pedal is rotatably fixedly arranged at the front entrance ground of the data acquisition platform channel, and is used to rotate and overlap the ground when live sheep are sorted; the caster and the foot cup each include four, which are respectively arranged at the four corners of the data acquisition platform; The caster is a universal wheel, and the height of the foot cup is adjustable to adjust the stability of the data acquisition platform.
3. The live sheep sorting system according to claim 1, characterized in that: The data acquisition device includes a three-dimensional laser scanner, an infrared thermal imager, a weighing instrument and an industrial camera, and the three-dimensional laser scanner, infrared imager, weighing instrument and industrial camera are all electrically connected to the industrial computer and are used to send the data collected by each to the industrial computer; the three-dimensional laser scanner includes two, which are respectively installed at the two top corners of the front end entrance of the data acquisition platform, and the scanning direction is toward the channel of the data acquisition platform, and is used to scan the current sheep inside the data acquisition platform to determine the body shape information of the current sheep; the infrared thermal imager is set at the top corner in the middle position of the data acquisition platform, and is used to collect the body surface temperature distribution information of the current sheep inside the data acquisition platform; the weighing instrument is set on the ground of the data acquisition platform, and is used to collect the weight information of the current sheep inside the data acquisition platform; the industrial camera is installed at the middle top position of the rear end exit of the data acquisition platform, and is used to collect the image information of the current sheep inside the data acquisition platform.
4. The live sheep sorting system according to claim 3, characterized in that: The data acquisition device also includes a fill light, which is arranged next to the industrial camera and is used to provide fill light for the environment inside the data acquisition platform.
5. The live sheep sorting system according to claim 1, characterized in that: The diversion device also includes a motor, a gate driving mechanism, a track and a pulley corresponding to each sorting gate; both sorting gates are foldable doors composed of at least two door panels, and the motor and gate driving mechanism corresponding to the sorting gate on each side are arranged on the top of the data acquisition platform of the sorting gate on that side, and the track is fixedly arranged at the lower part of the rear end exit of the data platform of the sorting gate on that side, and the pulley is fixedly arranged on the lower side of the sorting gate for sliding along the track; the motor is drivingly connected to the gate driving mechanism and electrically connected to the industrial control machine, and the front end of the gate driving mechanism is connected to a position on the current sorting gate close to the other sorting gate, so as to control the extension and retraction of the gate driving mechanism through the motor to drive the sorting gate to close and open.
6. The live sheep sorting system according to claim 1, characterized in that: The guiding device includes a guiding corridor and a sound-generating mechanism, which is electrically connected to the industrial control computer; the guiding corridor is a retractable corridor formed by hinges using the parallelogram principle, one end of the corridor is directly opposite to the sorting gate whose sorting results meet the slaughtering conditions, and the other end is connected to the slaughtering area; the sound-generating mechanism is arranged at the top position of the front entrance of the data acquisition platform, and is used for the industrial control computer to control the emission of a specific driving sound when the current sheep leaves the data acquisition platform, so that the current sheep leaves the data acquisition platform.
7. The live sheep sorting system according to claim 1, characterized in that: The system also includes three groups of photoelectric sensors electrically connected to the industrial control computer, the three groups of photoelectric sensors are respectively installed at the front position, the middle position and the back position inside the data acquisition platform, and each group of photoelectric sensors is used to collect light signal data in real time and send it to the industrial control computer synchronously; The industrial computer is used to determine whether the sheep enters the data collection platform according to the change rules of the optical signals uploaded by the photoelectric sensors at the front position and the middle position; When it is determined that the sheep has entered the data collection platform, the front stop device is controlled to be closed, and the data collection device is controlled to collect data; The industrial computer is also used to determine whether the sheep has walked out of the sorting gate according to the change pattern of the light signal uploaded by the photoelectric sensor at the rear end position; and when it is determined that the sheep has walked out of the sorting gate, control the open sorting gate to close, and control the front blocking device to open, so that the next sheep can enter the data collection platform.
8. The live sheep sorting system according to claim 7, characterized in that: The industrial computer is also used to determine whether there is any abnormality when the sheep enter or leave the data collection platform according to the change rules of the light signals of each photoelectric sensor, and to issue an alarm prompt when an abnormality occurs so that the staff can take corresponding measures.
9. The live sheep sorting system according to claim 1, characterized in that: The system also includes an RFID reader / writer that is communicatively connected to the industrial computer, and the RFID reader / writer is installed on the top of the data acquisition platform on the side where the sorting gate that meets the slaughtering conditions is located; the industrial computer is used to determine the three-dimensional body shape, weight, fatness and gender data of the current sheep based on the body shape information, weight information, external temperature information and appearance information collected by the acquisition device, and when it is determined that the current sheep meets the slaughtering conditions, the determined three-dimensional body shape, weight, fatness and gender data are written into the RFID tag worn by the current sheep through the RFID reader / writer.
10. A method for sorting live sheep, characterized in that: The implementation subject of the sorting method is the live sheep sorting system as described in claims 1-9, and the method comprises the following steps: Step 1: Pre-train the live sheep sorting model and configure the live sheep sorting model into the industrial computer; Step 2: Build the live sheep sorting system in the feeding area, align the front entrance of the data acquisition platform with the door through which the sheep enter the feeding area, and guide the exit of the guiding device to the slaughtering area; Step 3: Start the live sheep sorting system; Step 4: The industrial computer controls the front stopper to open, allowing the sheep to enter the data collection platform. At the same time, the 3D laser scanner scans the sheep and transmits the scanning results to the industrial computer in real time. Step 5: The industrial computer receives the optical signal data uploaded by each photoelectric sensor in real time, and determines whether the sheep has completely entered the data collection platform according to the optical signal change rules in the optical signal data uploaded by the photoelectric sensors at the front position and the middle position; Step 6: After the industrial computer determines that the sheep has completely entered the data collection platform, it controls the front stop device to close; and controls the infrared thermal imager, weighing instrument and industrial camera to collect data, and uploads the collected data to the industrial computer in real time; Step 7: The industrial computer uses the configured live sheep sorting model to process and analyze the data uploaded by each collection device to determine the sorting result of the current sheep; Step 8: The industrial computer controls the corresponding sorting gate to open according to the sorting result, and emits a specific driving sound through the sound-generating mechanism to make the current sheep leave the data collection platform; Step 9: The sheep that meet the slaughtering conditions are guided to the slaughtering area through the guiding device, and the sheep that do not meet the slaughtering conditions are returned to the feeding area through the sorting gate; Step 10: The industrial computer determines whether the current sheep has completely left the data collection platform according to the light signal change rule in the light signal data uploaded by the photoelectric sensor at the rear position, and controls the sorting gate to close when it is determined that the current sheep has completely left the data collection platform; Step 11: Return to step 4 above to carry out the next sorting.
