Disclosure of Invention
In order to solve the above technical problems or at least partially solve the above technical problems, the present application provides an egg weight measuring device, an egg weight measuring system, an egg weight data processing method, and an egg weight data processing device.
In a first aspect, an embodiment of the present application provides an egg weight measuring device, including: the device comprises a gravity sensor, a gyroscope and a control module;
the control module is electrically connected with the gravity sensor and the gyroscope respectively;
and the gravity sensor and the gyroscope are relatively and fixedly arranged.
Further, the egg weight measuring device as described above further includes: a support bracket for holding a hatching egg;
the gravity sensor is arranged on the supporting bracket.
In a second aspect, an embodiment of the present application provides an egg weight measuring system, including: the system comprises a gravity sensor, a gyroscope, a control module and a gateway;
the gravity sensor is used for collecting the gravity data of the hatching eggs;
the gyroscope is used for acquiring angle data of the current inclination angle of the system;
the control module is used for controlling the gravity sensor to collect gravity data of hatching eggs, controlling the gyroscope to collect angle data and acquiring the gravity data and the angle data;
the gateway is used for receiving the gravity data and the angle data acquired by the control module and analyzing in real time according to the gravity data and the angle data to obtain the weight data of the hatching eggs.
Further, the egg weight measuring system as described above further includes: an Internet of things platform;
the Internet of things platform is in communication connection with the gateway and is used for driving the gateway to perform data analysis and storing the data uploaded by the gateway.
Further, the egg weight measuring system as described above further includes: a SaaS platform;
the SaaS platform is in communication connection with the Internet of things platform and used for receiving the data transferred by the Internet of things platform and uploaded by the gateway and displaying the data uploaded by the gateway.
In a third aspect, an embodiment of the present application provides a hatching egg data processing method, including:
acquiring gravity data detected by a gravity sensor and angle data detected by a gyroscope;
obtaining the deflection angle of the stress direction of the gravity sensor relative to the gravity direction of the hatching egg according to the angle data;
determining the gravity borne by the hatching egg according to the gravity data and the deflection angle;
and calculating the weight of the hatching egg according to the gravity borne by the hatching egg.
Further, the hatching egg data processing method as described above further includes:
determining a first corresponding relation between the weight and time information of the hatching eggs at different hatching moments;
when the difference degree between the first corresponding relation and the preset second corresponding relation is within a preset difference degree range, judging the hatching egg to be a normal hatching egg;
and when the difference degree between the first corresponding relation and the preset second corresponding relation is not within the difference degree interval, judging that the hatching egg is an abnormal hatching egg.
Further, the hatching egg data processing method as described above further includes:
after the hatching egg is judged to be abnormal, acquiring position information of the hatching egg;
generating an incubation stopping instruction according to the position information;
and sending the hatching stopping instruction to a specified terminal.
In a fourth aspect, embodiments of the present application provide an egg data processing apparatus, comprising:
the data acquisition module is used for acquiring gravity data and angle data;
the deflection angle module is used for obtaining the deflection angle of the stress direction relative to the gravity direction borne by the hatching egg when the gravity data is detected according to the deflection angle;
the gravity size module is used for determining the gravity size borne by the hatching egg according to the gravity data and the deflection angle;
and the weight module is used for calculating the weight of the hatching egg according to the gravity borne by the hatching egg.
In a fifth aspect, an embodiment of the present application provides an electronic device, including: the system comprises a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory are communicated with each other through the communication bus;
the memory is used for storing a computer program;
the processor is configured to, when executing the computer program, implement the processing method according to any one of the third aspects.
In a sixth aspect, the present embodiments provide a non-transitory computer-readable storage medium storing computer instructions that cause the computer to perform the processing method according to any one of the third aspects.
The embodiment of the application provides a hatching egg weight measuring device, a hatching egg weight measuring system, a hatching egg data processing method and a hatching egg weight measuring device, wherein the data processing method comprises the following steps: acquiring gravity data detected by a gravity sensor and angle data detected by a gyroscope; obtaining the deflection angle of the stress direction of the gravity sensor relative to the gravity direction of the hatching egg according to the angle data; determining the gravity borne by the hatching egg according to the gravity data and the deflection angle; and calculating the weight of the hatching egg according to the gravity borne by the hatching egg. Compared with the prior art, the technical scheme provided by the embodiment of the application has the following advantages: even if the measuring device is inclined, the weight of the hatching egg can be accurately monitored in real time by detecting the deflection angle of the measuring device; in addition, by adopting the method, the complex work task of manually weighing the eggs can be avoided, and the work efficiency is effectively improved.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some embodiments of the present application, but not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
Fig. 1 and 2 show an egg weight measuring device according to an embodiment of the present application, including: the gravity sensor 1, the gyroscope 2 and the control module 3;
the control module 3 is respectively and electrically connected with the gravity sensor 1 and the gyroscope 2;
the gravity sensor 1 and the gyroscope 2 are fixedly arranged relative to each other.
Specifically, when hatching eggs are hatched, the egg carts in the incubator can turn the eggs regularly, and in the egg turning process, data obtained by the gravity sensors are component force in a certain direction and are not the actual weight of the hatching eggs, so that the accurate value of the real-time weight of the hatching eggs can be obtained through calculation by combining angle data measured by the gyroscope 2.
Typically, it also comprises a housing 13, that is to say, the gravity sensor 1, the gyroscope 2 and the control module 3 are all directly or indirectly (fixed by means of intermediate pieces) inside the housing 7; further, the control module 3 and the gyroscope 2 may be integrated on a main control board, and the main control board is fixedly disposed inside the housing 13; in addition, the shell can be provided with a plurality of small air holes so as to facilitate the mutual circulation of air inside and outside the shell and facilitate the hatching of hatching eggs.
As shown in fig. 1 and 3, in some embodiments, the aforementioned egg weight measuring device further includes: a support bracket 4 for holding a hatching egg;
the gravity sensor 1 is arranged on the support bracket 4.
In some alternatives, the method can further comprise: the system comprises an image acquisition module 81, a lighting module (not shown in the figure), a rotation module 9, an environment monitoring sensor module 10, an egg surface temperature sensor 14, a zero clearing module 15, a calibration module 16, a power supply module 11, a shell 13 and a numbering module 12;
the image acquisition module 81 is arranged towards the support bracket 4;
the image acquisition module 81 and the illumination module are oppositely arranged at two sides of the support bracket 4; or, the lighting module is arranged on the bottom surface of the support bracket 4;
the image acquisition module 81 and the illumination module are respectively electrically connected with the control module 3; the illumination module is used for illuminating the hatching eggs under the control of the control module 3, transmitting the shapes of the embryos in the hatching eggs and collecting the embryo development images of the hatching eggs through the image collection module 81;
the rotating module 9 is electrically connected with the control module 3; the rotation module 9 is in driving connection with the support carrier 4.
The rotating module 9 further comprises: a motor 91 and a transmission 92; the motor 91 is electrically connected with the control module 3; one end of the transmission mechanism 92 is in driving connection with the output end of the motor 91, and the other end of the transmission mechanism 92 is in driving connection with the support bracket 4.
The environment monitoring sensor module 10 is electrically connected with the control module 3; the environmental monitoring sensor module 10 includes at least one type of sensor: temperature and humidity sensor, carbon dioxide sensor.
The egg meter temperature sensor 14 is arranged at one side of the supporting bracket 4; the egg meter temperature sensor 14 is electrically connected to the control module 4.
The zero clearing module 15 and the calibration module 16 are respectively electrically connected with the control module 3.
The power module 11 is electrically connected with the gravity sensor 1 and the control module 4.
The numbering module 12 is provided on the outer surface of the housing 13.
Further, the method can also comprise the following steps: the system comprises a router 17, a switch 18 and a display screen 19, wherein the display screen 19 is arranged on the outer surface of the shell 13 and is electrically connected with the control module 3, and is used for displaying detection data (including environment temperature and humidity, egg surface temperature, carbon dioxide concentration, egg weight and the like) of each sensor, the position (such as No. 1 to No. 6 parking spaces) of an egg vehicle in the incubator and the like; the router 17 and the switch 18 are respectively electrically connected with the control module 3; data received by the control module 3 can be sent outwards through the router 17, and the switch 18 can control the on and off of the intelligent monitoring device.
Specifically, the supporting bracket 4 is a structure capable of supporting hatching eggs and ensuring the stability of the hatching eggs to prevent the hatching eggs from rolling off, for example, the supporting bracket 4 may be a hemisphere or be composed of more than three curved supporting rods;
specifically, since the support bracket 4 is for fixing the hatching egg, the gravity sensor 1 may be provided at the bottom of the inner surface of the support bracket 4 (only the weight of the hatching egg is measured), or at the bottom of the support bracket 4 (the weight of the support bracket 4 and the hatching egg is measured, and the weight of the support bracket 4 needs to be removed at the time of approval).
According to another aspect of the present application, as shown in fig. 3, there is provided an egg weight measuring system, comprising: the system comprises a gravity sensor 1, a gyroscope 2, a control module 3 and a gateway 5;
the gravity sensor 1 is used for collecting the gravity data of hatching eggs;
the gyroscope 2 is used for acquiring angle data of the current inclination angle of the system;
the control module 3 is used for controlling the gravity sensor 1 to collect gravity data of hatching eggs, controlling the gyroscope 2 to collect angle data, and acquiring the gravity data and the angle data;
the gateway 5 is used for receiving the gravity data and the angle data acquired by the control module 3, and performing real-time analysis according to the gravity data and the angle data to obtain the weight data of the hatching eggs.
Specifically, the gateway 5 and the control module 3 can be in communication connection through WiFi, Bluetooth, ZigBee and lora networks; preferably, because of the characteristics of low power consumption, low cost, support of a large number of nodes on the network, support of various topologies on the network, low complexity, rapidness, reliability and safety of the ZigBee network, the communication between the control module 3 and the gateway 4 is preferably established through the ZigBee network; as can be seen from the above, the gateway 5 mainly undertakes the tasks of calculation and data analysis, the scheme adopts an edge calculation mode to write an algorithm into the gateway 5, and the gateway 5 receives data reported by the control module 3 through the ZigBee, thereby realizing real-time data analysis (environmental data analysis, water loss rate analysis, embryo development condition analysis); and after the water loss rate is obtained, the water loss rate can be used as a basis for adjusting the air humidity, and whether the current environment humidity is suitable for the growth of the hatching eggs is judged.
As shown in fig. 2, in some embodiments, the egg weight measuring system as described above, further comprises: an Internet of things platform 6;
the internet of things platform 6 is in communication connection with the gateway 5 and is used for driving the gateway 5 to perform data analysis and storing data uploaded by the gateway 6.
Specifically, the internet of things platform 6, i.e., the IoT platform, may perform rule configuration, monitoring, alarming, device communication, data storage analysis, and the like of hardware. The field devices are managed by the internet of things platform 6 in a unified mode, and data returned by the field devices are stored on the internet of things platform 6. Under this scheme, the internet of things platform 6 drives the gateway 5 to perform data analysis.
In some embodiments, an egg weight measurement system as described above, further comprising: a SaaS platform 7;
the SaaS platform 7 is in communication connection with the Internet of things platform 6 and is used for receiving data uploaded by the gateway 5 transferred by the Internet of things platform 6 and displaying the data uploaded by the gateway 5.
SaaS platform 7 and thing networking platform 6 communication connection for receive by the data that the intelligent monitoring device of thing networking platform 6 transfer uploaded, wherein include at least: angle data and weight data, and displaying the data uploaded by the intelligent monitoring device.
Specifically, the analysis result is transferred to the SaaS platform 7 through the internet of things platform 6, and is displayed on the SaaS platform 7, preferably, the SaaS platform 7 is a user-oriented operating system, can bind the hatching egg weight measurement system, and displays the collected sensor data and the electric quantity of the hatching monitoring system.
According to another embodiment of the present application, as shown in fig. 4, the embodiment of the present application provides an egg data processing method, including the following steps S1 to S4:
s1, acquiring gravity data detected by a gravity sensor and angle data detected by a gyroscope;
specifically, the embodiment of the method may be a method executed on the gateway in the foregoing embodiment, and the gravity data and the angle data are obtained after the control module controls the gravity sensor and the gyroscope to perform detection, and then are transmitted to the gateway through the corresponding communication module by the control module;
s2, obtaining a deflection angle of the stress direction of the gravity sensor relative to the gravity direction of the hatching egg according to the angle data;
specifically, as the egg vehicle in the incubator can turn eggs regularly, and the incubation device may have a certain inclination angle when turning eggs, the force-bearing point of the gravity sensor may not be in the direction of the gravity borne by the eggs, so that the gravity borne by the eggs is not completely applied to the gravity sensor (the force borne by the gravity sensor is only one component of the eggs in the direction), the data obtained by the gravity sensor is not the gravity of the eggs, and the accurate value of the real-time weight of the eggs is obtained by calculation in combination with the angle data measured by the gyroscope; moreover, one of the optional technical solutions may be: when the angle information is 0 degrees, the stress direction of the gravity sensor is vertically arranged, so that the corresponding deflection angle is N degrees when the angle information is N degrees;
s3, determining the gravity borne by the hatching eggs according to the gravity data and the deflection angle;
specifically, in order to accurately know the direction of the force component, an optional technical solution is as follows: the gravity sensor is arranged at the bottom of the support bracket 4, so that the problem that the stress direction of the hatching egg is difficult to judge due to the fact that the contact relation between the hatching egg and the support bracket is not known when the hatching egg is inclined can be prevented; and the adoption is located the bottom of support bracket with gravity sensor, then support bracket 4 (including hatching egg) the atress be: gravity, a first supporting force of a stress surface of the gravity sensor 1 and a second supporting force in the vertical direction of the connecting rod of the supporting bracket; the direction of the second supporting force is downward in an inclined manner and is on the same plane with the direction of the gravity and the direction of the first supporting force, and the supporting rods are generally vertically arranged, so that the direction of the force bearing surface of the gravity sensor 1 is always the same as the length direction of the connecting rod, and the directions of the first supporting force and the second supporting force are always vertical to each other; therefore, the gravity of the hatching egg can be obtained only by the parallelogram rule of the force (rectangular in the present case) and the magnitude of the first supporting force (when calculating, the component force of the supporting bracket on the angle is subtracted);
s4, calculating the weight of the hatching eggs according to the gravity borne by the hatching eggs;
specifically, since the gravity and the weight are not equal, the weight of the hatching egg needs to be obtained according to a formula m ═ F/g, where F is the gravity borne by the hatching egg, and g is the local gravity coefficient; wherein the gravity coefficient can be obtained by pre-configuration;
therefore, by the method, the accurate value of the real-time weight of the hatching egg can be calculated according to the angle measured by the gyroscope and the data obtained by the gravity sensor even when the hatching equipment has a deflection angle.
In some embodiments, as shown in fig. 5, the hatching egg data processing method further includes the following steps S5 to S7:
s5, determining a first corresponding relation between the weight and time information of the hatching eggs at different hatching moments;
specifically, the time information in the first corresponding relationship is a time point at which the gravity data and the deflection angle used for calculating the weight are obtained;
s6, when the difference degree between the first corresponding relation and the preset second corresponding relation is within a preset difference degree range, judging that the hatching egg is a normal hatching egg;
the second corresponding relation is the corresponding relation between the weight and the time information at the hatching stage of the hatching egg in a normal state, and can be generally embodied in a form of a change curve; in some optional applications, calculating the difference between the first corresponding relationship and the preset second corresponding relationship may be performed by: calculating the weight change number of the first corresponding relation and the weight change number of the second corresponding relation in a time period, or the difference degree between the weight change rate of the first corresponding relation and the weight change rate of the second corresponding relation in a time period; the difference degree interval is an interval which can be set randomly, and the size of the interval can be obtained according to the actual judgment requirement or historical experience data; for example, when the weight change rate is taken as a criterion, when the difference degree interval is [ 60%, 140% ], the change rate in the first corresponding relationship is b1, the change rate in the first corresponding relationship is b2, and when b1/b2 is 110%, the value is within the difference degree interval of [ 60%, 140% ], the hatching egg is determined to be a normally-developing hatching egg, i.e., a normal hatching egg; generally, the normal hatching egg is a fertilized egg;
s7, when the difference degree between the first corresponding relation and the preset second corresponding relation is not within the difference degree range, judging that the hatching egg is an abnormal hatching egg;
specifically, for the same example as in step S6: when b1/b2 is 10%, the difference is not within the difference range of [ 60%, 140% ], and therefore the difference from the difference range is extremely large, and the hatching egg is determined to be an abnormal hatching egg which cannot normally develop because the hatching egg has a high probability of not being fertilized and cannot develop.
In some embodiments, as shown in fig. 6, the hatching egg data processing method further includes the following steps S8 to S10:
s8, after the hatching eggs are judged to be abnormal hatching eggs, acquiring position information of the hatching eggs;
specifically, the device for hatching the hatching eggs may be provided with corresponding position information, which may be information that can be accurately positioned to the position of the hatching egg, such as number information, setting location information, ID corresponding to the device, and the like;
s9, generating an incubation stopping instruction according to the position information;
specifically, the hatching stopping instruction may be: information for reminding a manager to take out hatching eggs, information for stopping the hatching equipment from hatching the hatching eggs, and the like; the incubation stopping instruction is generated according to the position information, and can be realized by writing corresponding position information in the incubation stopping instruction and the like, so that when the incubation stopping instruction is sent, the incubation stopping instruction can be positioned to the corresponding position to be sent in a targeted manner;
s10, sending an incubation stopping instruction to a specified terminal;
specifically, the designated terminal may be a terminal for receiving information by a manager, or may be a terminal device for hatching eggs; when appointed terminal is the terminal equipment of hatching egg, the terminal equipment of hatching egg can realize stopping hatching even the action such as discharge to the hatching egg automatically, when the terminal that sends receives the terminal of information for the managers, the realization that stops hatching the instruction can be: e.g. mail notification, short message notification, instant message notification, etc.
According to another aspect of the present application, as shown in fig. 7, an embodiment of the present application provides a hatching data processing apparatus including:
a data acquisition module 21, configured to acquire gravity data and angle data;
the deflection angle module 22 is used for obtaining the deflection angle of the stress direction relative to the gravity direction borne by the hatching egg when the gravity data is detected according to the deflection angle;
the gravity size module 23 is used for determining the gravity size borne by the hatching eggs according to the gravity data and the deflection angle;
and the weight module 24 is used for calculating the weight of the hatching egg according to the gravity borne by the hatching egg.
Specifically, the specific process of implementing the functions of each module in the apparatus according to the embodiment of the present invention may refer to the related description in the method embodiment, and is not described herein again.
According to another embodiment of the present application, there is also provided an electronic apparatus including: as shown in fig. 8, the electronic device may include: the system comprises a processor 1501, a communication interface 1502, a memory 1503 and a communication bus 1504, wherein the processor 1501, the communication interface 1502 and the memory 1503 complete communication with each other through the communication bus 1504.
A memory 1503 for storing a computer program;
the processor 1501 is configured to implement the steps of the above-described method embodiments when executing the program stored in the memory 1503.
The bus mentioned in the electronic device may be a Peripheral Component Interconnect (PCI) bus, an Extended Industry Standard Architecture (EISA) bus, or the like. The bus may be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, only one thick line is shown, but this does not mean that there is only one bus or one type of bus.
The communication interface is used for communication between the electronic equipment and other equipment.
The Memory may include a Random Access Memory (RAM) or a Non-Volatile Memory (NVM), such as at least one disk Memory. Optionally, the memory may also be at least one memory device located remotely from the processor.
The Processor may be a general-purpose Processor, including a Central Processing Unit (CPU), a Network Processor (NP), and the like; but also Digital Signal Processors (DSPs), Application Specific Integrated Circuits (ASICs), Field Programmable Gate Arrays (FPGAs) or other Programmable logic devices, discrete Gate or transistor logic devices, discrete hardware components.
Embodiments of the present application also provide a non-transitory computer-readable storage medium storing computer instructions for causing a computer to perform the steps of the above-described method embodiments.
It is noted that, in this document, relational terms such as "first" and "second," and the like, may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
The foregoing are merely exemplary embodiments of the present invention, which enable those skilled in the art to understand or practice the present invention. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the invention. Thus, the present invention is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.