CN114845263B - Sheep neck clamp device and method for data acquisition of milk goats - Google Patents

Sheep neck clamp device and method for data acquisition of milk goats Download PDF

Info

Publication number
CN114845263B
CN114845263B CN202210512802.5A CN202210512802A CN114845263B CN 114845263 B CN114845263 B CN 114845263B CN 202210512802 A CN202210512802 A CN 202210512802A CN 114845263 B CN114845263 B CN 114845263B
Authority
CN
China
Prior art keywords
acquisition
galvanized
node
antenna
data
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202210512802.5A
Other languages
Chinese (zh)
Other versions
CN114845263A (en
Inventor
牛毅
屈康
宋卓琛
李甫
张伟
王铠
李宝富
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Xidian University
Original Assignee
Xidian University
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Xidian University filed Critical Xidian University
Priority to CN202210512802.5A priority Critical patent/CN114845263B/en
Publication of CN114845263A publication Critical patent/CN114845263A/en
Application granted granted Critical
Publication of CN114845263B publication Critical patent/CN114845263B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/30Services specially adapted for particular environments, situations or purposes
    • H04W4/38Services specially adapted for particular environments, situations or purposes for collecting sensor information
    • EFIXED CONSTRUCTIONS
    • E05LOCKS; KEYS; WINDOW OR DOOR FITTINGS; SAFES
    • E05CBOLTS OR FASTENING DEVICES FOR WINGS, SPECIALLY FOR DOORS OR WINDOWS
    • E05C19/00Other devices specially designed for securing wings, e.g. with suction cups
    • E05C19/16Devices holding the wing by magnetic or electromagnetic attraction
    • E05C19/166Devices holding the wing by magnetic or electromagnetic attraction electromagnetic

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Electromagnetism (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Mechanical Engineering (AREA)
  • Arrangements For Transmission Of Measured Signals (AREA)

Abstract

The invention discloses a sheep neck clamp device for data acquisition of milk goats, which comprises a galvanized square pipe A I and a galvanized square pipe A III, wherein a galvanized square pipe B I is arranged between the galvanized square pipe A I and the galvanized square pipe A III, the galvanized square pipe B I divides the galvanized square pipe A I and the galvanized square pipe A III into eight acquisition devices to form a sheep neck clamp acquisition array, the leftmost acquisition unit of a unit is provided with an antenna housing assembly II, the rest acquisition units are mutually provided with an antenna housing assembly I, the top of the galvanized square pipe A III is provided with a galvanized round pipe C II, and a galvanized lock is arranged on the galvanized round pipe C II; the galvanized lockset is arranged above the acquisition device, the antenna housing assembly II and the antenna housing assembly I comprise acquisition units and door magnetic switches, the door magnetic switches and the acquisition units in each acquisition unit are connected through cables in pipes, and a communication system is arranged on the antenna housing assembly II and the antenna housing assembly I. The invention has the characteristics of high automation level, strong stability and flexible assembly.

Description

Sheep neck clamp device and method for data acquisition of milk goats
Technical Field
The invention belongs to the technical field of data acquisition, and particularly relates to a sheep neck clamp device for data acquisition of milk goats.
Background
In the aspect of drinking water and diet data acquisition, a manual measurement and experience estimation method is mainly adopted, the daily eating and drinking amount of the dairy goats are estimated by a visual method, especially, the measurement relative errors of sheep of different ages and different varieties are large, all-weather detection cannot be carried out, the acquired information is corresponding to individual dairy goats, and the drinking water condition of the whole group of dairy goats can only be roughly estimated;
In the aspect of body temperature measurement, rough measurement mainly depends on measurement of an electronic temperature measuring gun, accurate measurement mainly depends on measurement of the anal temperature of a mercury thermometer, and as the fur of a milk goat is thicker and wool is white, most of measurement infrared rays can be reflected, so that measurement data are very rough, the mercury thermometer can obtain accurate temperature during measurement, but the operation difficulty is high, the manual operation procedure is complex, meanwhile, the problem of fragmentation of the mercury thermometer can occur in the measurement process, and great potential safety hazards exist;
In the aspect of RFID measurement, the handheld device and the large-scale RFID antenna are mainly adopted for measurement, the handheld device needs manual operation, the efficiency is low, the large-scale RFID antenna can rapidly and massively measure the ear tag, but only can detect in a large scale, the measured RFID number cannot be corresponding to a milk goat individual, and the effect on fine large-scale cultivation is small;
In the aspect of module communication, mainly adopt wired mode to connect, because traditional sensor data volume is less gather the density lower, must on-the-spot operation wiring time consuming and laborious in the aspect of the construction moreover, also have some modules in recent years to adopt wireless communication mode simultaneously, just can directly use after the module is installed, need not complicated wiring, also only need simple replacement or maintenance module after the module damages can, need not maintain the wiring, nevertheless have the unstable problem of connection after the wireless device is more yet.
Disclosure of Invention
In order to overcome the defects in the prior art, the invention aims to provide the sheep neck clamp device and the method for acquiring the data of the milk goats, which have the characteristics of high automation level, strong stability and flexible assembly.
In order to achieve the above purpose, the technical scheme adopted by the invention is as follows:
The utility model provides a goat neck clamp device of milk goat data acquisition, includes galvanized square pipe A1 and galvanized square pipe A three 11 at top of bottom, and galvanized square pipe A1 and galvanized square pipe A three 11 level and parallel arrangement are provided with a plurality of vertical galvanized square pipe B one 2 between the two, galvanized square pipe B one 2 divides into a plurality of collection areas between galvanized square pipe A1 and the galvanized square pipe A three 11, forms goat neck clamp and gathers the array, and leftmost collection unit in the array is provided with antenna housing assembly two 24, and the other collection units are provided with antenna housing assembly one 23 each other, galvanized square pipe A three 11 top is provided with galvanized pipe C two 7, all be provided with a galvanized lock 19 above every collection device on galvanized pipe C two 7; the second antenna housing assembly 24, the first antenna housing assembly 23 and the door magnetic switch 12 together form an acquisition system, acquisition units in the second antenna housing assembly 24 and the first antenna housing assembly 23 are connected through in-pipe cables, the acquisition units are connected through in-pipe cables, and a communication system is installed on the second antenna housing assembly 24 and the first antenna housing assembly 23.
The door magnetic switch 12 is used for detecting whether two objects are contacted, and consists of a wireless transmitter and a magnetic block, and the two parts send out an open signal when being separated, otherwise send out a close signal, and the state of the door magnetic switch 12 is converted to detect the drinking time of the milk goats.
The end part of the galvanized round tube C II 7 is provided with a fitting galvanized D II 9 and a galvanized round tube-baffle C III 14, and the galvanized round tube-baffle C III 14 is used for fixing the galvanized round tube C II 7 between the fitting galvanized D II 9 and preventing the galvanized round tube C II from falling off from two sides.
The acquisition unit comprises a power supply circuit board module 26, a control circuit board module 27, an antenna protection cover plate I28, an antenna protection cover plate II 29, an acquisition module shell I30, an RFID antenna and a door magnetic switch 12;
The first antenna protection cover plate 28 and the first acquisition module shell 30 are integrally fixed on the sheep neck clamp acquisition array through screws, the control circuit board module 27 is connected with the RFID antenna and the second antenna protection cover plate 29, the RFID antenna is positioned between the first antenna protection cover plate 28 and the second antenna protection cover plate 29, the second antenna protection cover plate 12 obtains the action switching value of the sheep neck clamp, the RFID antenna obtains the RFID number of the milk goat and the current body temperature of the milk goat through an implanted temperature electronic tag in the milk goat body, and the power circuit board module 26 and the control circuit board module 27 are isolated and cannot be arranged on the same substrate.
The power circuit board module 26 adopts a precise 5VAC-DC power module, the control circuit board module 27 is developed based on STM32F103C8T6, the antenna protection cover plate I28 and the antenna protection cover plate II 29 are made of plane transparent acrylic materials, the acquisition module shell I30 is made of stainless steel materials and is used for protecting the internal power circuit board module 26, the control circuit board module 27, the antenna protection cover plate I28 and the antenna protection cover plate II 29, and the antenna protection cover plate I28 and the antenna protection cover plate II 29 which are used for installing acrylic materials are windowed in the middle and sunk, so that RFID signals can pass through the shell.
The first antenna protection cover plate 28 is embedded in the first acquisition module housing 30, and the optimal distance between the first antenna protection cover plate 28 and the top plate of the first acquisition module housing 30 is 7cm, the shortest distance is 5cm, and the longest distance is 10cm.
The collecting area comprises a galvanized square tube B four 8, a galvanized round tube C one 5, a fastener A one 15, a fastener A one 16, a galvanized square tube B two 4, a galvanized square tube B five 21, a galvanized square tube B three 20, a door magnetic switch bracket 13, a hexagonal bolt 18 and a galvanized square tube A two 3, wherein the fastener A one 15 is fixed above the galvanized square tube B two 4, the galvanized square tube B three 20 is connected below, the galvanized round tube C one 5 is connected at the middle upper part and used as a counterweight to jointly form a movable rod, the movable rod is under the action of the gravity of the galvanized round tube C one 5, the galvanized square tube A two 3 is welded to the galvanized square tube B five 21 as the right side of a cross beam, the lower side of the galvanized square tube A five 21 is welded to the galvanized square tube B four 8, the left side of the galvanized square tube B three 20 is connected and supports the movable rod through the hexagonal bolt 18, and the lower side of the galvanized square tube B five 21 is connected with the door magnetic switch bracket 13 through a screw.
The galvanized round pipe C5 adopts a semicircular rectangular fillet radius of 8CM.
The communication system structure comprises communication nodes arranged in an antenna housing assembly II 24, collecting nodes and collecting nodes arranged in an antenna housing assembly I23, the communication system structure comprises an upper array and a lower array, the upper array is a first array, the lower array is a second array, a leftmost first data collecting unit of the first array is the communication node, functions of the collecting nodes and the collecting nodes are combined, a leftmost first data collecting unit of the second array is the collecting nodes, functions of the collecting nodes are combined, a plurality of data collecting units on the right sides of the other first array and the second array are collecting nodes, the collecting nodes are connected with the collecting nodes through cables, and the collecting nodes are connected with the communication nodes through wireless Lora communication protocols.
The communication system comprises a Lora wireless controller, an RS485 wired controller and a total control node: the communication system adopts multistage pyramid mode communication, and a sheep neck clamp acquisition array needs to be equipped with a communication node and gathers all data, and a communication node passes through a plurality of nodes of gathering of Lora communication protocol connection, and every gathers the node and passes through a plurality of collection nodes of RS485 protocol connection, gathers node and gathers the node and use more stable wired connection, gathers node and communication node and use wireless mode to connect.
The operation method of the sheep neck clamp device for data acquisition of the milk goats comprises the following steps of;
In the system initialization state, the acquisition node and the summarizing node can send system initialization information to a unique communication node, and the communication node can return related configuration files to each node sending a request;
The time initialization state needs to periodically synchronize time, adopts daily synchronous configuration, but the secondary configuration items can be changed according to actual conditions and requirements;
The method comprises the steps of collecting states, wherein all the sending steps in the states are asynchronous information sending, only a lower node sends information to an upper node, the upper node does not return information, and after the collecting nodes collect data each time, the data processed by a software algorithm are immediately sent under the condition that two continuous messages are separated by 1 minute; after receiving the data, the summarizing node loads the data into a buffer queue, continuously reads the forefront data from the buffer data and sends the forefront data to the communication node, and the whole acquisition process is completed.
The working flow of the collection node in the collection state is as follows:
1) The milk goat enters the slot position, the electromagnetic switch of the door magnetic switch 12 is opened, and the current TIME TIME1 is recorded:
2) Reading RFID information and corresponding temperature information once per second through an RFID antenna, and marking the RFID information and the corresponding temperature information as RFID and TEMP;
3) The dairy goat leaves the slot, the electromagnetic switch of the door magnetic switch 12 is closed, and the current TIME point TIME2 is recorded;
4) The acquisition card in the acquisition unit obtains the difference TIMEDIFF between the two TIMEs TIME1 and TIME2, and if the difference between TIMEDIFF is smaller than 1S, the operation is abandoned;
5) If the acquisition is successful, recording the highest value, the lowest value and the average value of the temperature as TEMPHIGH, TEMPLOW, TEMPMID;
6) Acquiring the state of a dial switch on an acquisition board in an acquisition unit through acquiring a diet water intake constant EATCOUNT, DRINKCOUNT of a dairy goat per second in a laboratory, and recording corresponding times;
if the time from the last acquisition is more than one minute, all data in the buffer queue are sent to the summarizing node;
Otherwise, the information of the information DEVICEID, TIMI1, RFID, TEMPHIGH, TEMPLOW, TEMPMID, DEVICETYPE (the equipment model is divided into 1 and 0, which represent diet information collection and drinking water information collection) collected at this time is processed;
7) If the time of the last transmission is more than one minute, immediately transmitting the acquired information to the summarizing nodes in the acquisition array, otherwise, storing the acquired information into a queue;
8) Immediately returning to the flow 1; data is collected continuously and circularly.
The invention has the beneficial effects that:
The intelligent information acquisition system for the dairy goats, disclosed by the invention, has the advantages that a set of intelligent information acquisition system for the dairy goats is completed, the design of a mechanical structure and a complete communication grading mechanism are included, the blank of the traditional livestock information acquisition equipment is filled, the whole system can be directly connected to an intelligent analysis platform, and the intelligent information acquisition system is a data acquisition landing project for intelligent cultivation and has innovation and practicability.
Because the invention skillfully utilizes the life habit of the milk goats and simultaneously uses a specific mechanical structure and a collection module, the feeding and drinking behaviors of the milk goats are indirectly measured through the state transition of the mechanical structure and the signal change of the door magnetic switch 12. The temperature and RFID number of the sensor in the milk goat body are detected through the combined action of the RFID antenna between the first antenna protection cover plate and the second antenna protection cover plate and the control circuit board module connected with the RFID antenna.
The invention detects the drinking water and health information in the process of reading the RFID temperature chip, the acquired data can be corresponding to each milk goat through the RFID number, and the acquired data can be directly packaged for data analysis, so that the invention is more convenient than manual measurement, input and analysis.
The invention adopts a hierarchical communication structure, has the stability of wired communication and the modularization of wireless communication, and the intersecting wired communication avoids the complexity of complex wiring and maintenance, and the intersecting wireless communication ensures the stability of the acquisition node at the lower layer and increases the redundancy of data transmission. Meanwhile, the information can be calculated and summarized on each layer to decompose the calculated pressure into a plurality of modules, so that the efficiency and the utilization rate of the whole system are improved.
Drawings
Fig. 1 is a diagram of the component layout of the sheep neck cangue of the present invention.
Fig. 2 is a block diagram of a data acquisition module according to the present invention.
Fig. 3 is a diagram of a node topology according to the present invention.
FIG. 4 is a timing diagram illustrating node communication according to the present invention.
Fig. 5 is a flow chart of the collection node of the present invention.
Fig. 6 is a schematic view of an open state of the motion structure of the sheep neck clamp of the invention.
Fig. 7 is a schematic view of the motion structure of the sheep neck clamp in the closed state.
Fig. 8 is an exploded view of a collection node according to the present invention.
Fig. 9 is a schematic diagram of line connection of the acquisition module according to the present invention.
Fig. 10 is a diagram showing the structure of an antenna cover plate according to the present invention.
Fig. 11 is a schematic diagram of a communication node of a multiple set sheep neck cangue array according to the present invention.
Detailed Description
The invention is described in further detail below with reference to the accompanying drawings.
As shown in fig. 1: the final assembly structure comprises the following components: 1. galvanized square tube A I; 2. galvanized square tube B I; 3. galvanized square tube A II; 4. galvanized square tube B II; 5. galvanized round tube C I; 6. a galvanized fitting D I; 7. galvanized round pipe C II; 8. galvanized square tube B is fourth; 9. plating a fitting with zinc D II; 10. plating a fitting with zinc D III; 11. galvanized square tube A III; 12. a door magnetic switch; 13. a door magnetic switch bracket; 14. galvanized round pipe-baffle C three; 15. a first fastener A; 16. a second fastener A; 17. a rubber protective sleeve; 18. a hexagonal bolt; 19. galvanized lockset D IV; 20. galvanized square tubes B III; 21. galvanized square tubes B five; 22. galvanized square tube B six; 23. the antenna housing is assembled in a final way; 24. the antenna housing is assembled in a second mode; 25. plating zinc on the accessories;
the connection is carried out in the mode of figure 1, the total length of the sheep neck clamp acquisition array is 2976 mm 66mm, and the sheep neck clamp acquisition array comprises 8 acquisition nodes. One acquisition node in one sheep neck clamp acquisition array has the function of a summary node, and is usually positioned in the leftmost acquisition node in the sheep neck clamp acquisition array as shown in fig. 1, and the rest 7 acquisition nodes only have the function of acquisition nodes.
The single acquisition device comprises acquisition units and a door magnetic switch in an antenna housing assembly I23 and an antenna housing assembly II 24 in fig. 1, wherein the door magnetic switch 12 and the acquisition units in each unit are connected through an in-pipe cable, and the 8 acquisition units are also connected through the in-pipe cable.
The specific mechanical structure comprises a door magnet acquisition switching value 12, a door magnet switch bracket 13, an antenna shell assembly I23, an antenna shell assembly II 24, a galvanized square pipe A II 3, a galvanized round pipe C I5, a galvanized fitting D I6, a galvanized square pipe B II 4, a galvanized square pipe B III 20, a galvanized square pipe B V21, a fastener A I15, a fastener A II 16 and a galvanized fitting D I6 in the figure 1.
The antenna housing assembly one 23 and the antenna housing assembly two 24 are fixed on the galvanized square pipe B five 21 through bolts, and the door magnetic switch bracket 13 is also fixed on the galvanized square pipe B five 21 through bolts. The galvanized square tube B4, the galvanized round tube C5, the fastener A16, the galvanized square tube A3, the door magnetic switch 12 and the hexagonal bolt 18 form a movable structure together, and the hexagonal bolt 18 is rotated around the hexagonal bolt 18 to have two movement states as shown in fig. 6 and 7. The rest mechanical components are mainly mechanical supporting components, 8 mechanical collecting components are fixed between the galvanized square pipe A1 and the galvanized square pipe A three 11, and a locking structure is formed by the galvanized round pipe C two 7 above, the galvanized round pipe D four 19 of the accessory, the baffle C three 14 and the galvanized round pipe D two 9 of the accessory together to lock and release the collecting structure which is movable below.
The neck clamp is a mechanical structure commonly used in animal husbandry, the neck of livestock is fixed in a limited area, the livestock can eat food freely while fixing the neck, and the livestock can be released after the neck clamp is used. The neck clamp can enable the livestock to be orderly separated to eat so as to avoid robbing, can ensure the ingestion and milking of the livestock, and is beneficial to the veterinary treatment activities such as routine physical examination, immunity, artificial insemination, pregnancy examination, treatment, corner removal, calving and the like of the livestock. The neck clamp can effectively improve the working efficiency and save the cultivation cost. The neck clamp is mainly used for fixing the neck of the milk goat in the feeding process, so that the implanted temperature electronic tag implanted in the neck of the milk goat can be effectively detected to detect the RFID number and the body temperature, and meanwhile, the feeding and drinking time length of the milk goat is recorded by utilizing the state change of the mechanical structure of the neck clamp.
The square tube is a hollow square light thin-wall steel tube with a cross section, also called a steel refrigeration bent section, and is a standardized industrial steel tube.
Galvanization refers to an anti-rust method of spreading metallic zinc on the surface of iron or steel. The invention adopts the galvanization technology, can effectively prevent the steel from rusting, prevent the milk goats from licking the rusted steel, and prolong the service life.
A sheep hurdle is equipped with and can be equipped with a plurality of sheep neck clamp collection arrays in a flexible way, carries out data exchange through wireless connection's mode between a plurality of arrays.
As shown in fig. 2: the data acquisition unit structure is located in antenna housing assembly one 23 and antenna housing assembly two 24 in the sheep neck clamp acquisition array of fig. 1. The device comprises a power circuit board module 1, a control circuit board module 2, an antenna protection cover plate I3, an antenna protection cover plate II 4 and an acquisition module shell I5; the power circuit board module 1 adopts a precise 5VAC-DC power module, the control circuit board module 2 adopts a self-grinding module, the antenna protection cover plate I3 and the antenna protection cover plate II 4 adopt plane transparent acrylic materials, and an antenna slot is carved in the cover plate as shown in figure 10. The first acquisition module housing 5 is formed by stainless steel, is used for protecting the internal power circuit board module 1, the control circuit board module 2, the first antenna protection cover plate 3 and the second antenna protection cover plate 4, is windowed in the middle and sinks into the housing, as shown in fig. 8, and is used for installing the first antenna protection cover plate 3 and the second antenna protection cover plate 4 made of acrylic materials, so that RFID signals can pass through the housing.
The data acquisition mainly comprises two circuit boards, an antenna protection cover plate I3 and an acquisition module shell I5, and is integrally fixed on the sheep neck clamp acquisition array through screws. The control circuit board module 2 is connected with the two modules of the RFID antenna and the door magnetic switch between the two protection cover plates, and the specific connection mode is shown in fig. 9, and the RFID antenna is positioned between the first antenna protection cover plate 3 and the second antenna protection cover plate 4. The door magnetic switch 12 acquires the action switching value RFID antenna of the sheep neck clamp and acquires the RFID number of the milk goat and the current body temperature of the milk goat. Because of the high requirements for current ripple in RFID acquisition, the power circuit board module 1 and the control circuit board module 2 must be isolated, and electromagnetic interference cannot be easily generated on the same substrate.
Electromagnetic waves emitted by the RFID antenna cannot penetrate through metal, so that the material of the protective cover plate must be plastic, and the size of the metal cover plate and the size of the antenna must be strictly controlled. However, the plastic product is easy to be eaten by milk goats, and the RFID electromagnetic wave is easy to be absorbed by animal bodies, so that the protective cover plate is required to be embedded in the first acquisition module shell 5 to prevent hidden danger of production caused by false eating of the milk goats, the first antenna protective cover plate 3 is embedded in the first acquisition module shell 5, and the optimal distance between the first antenna protective cover plate 3 and the top plate of the first acquisition module shell 5 is 7cm, the nearest distance is 5cm and the farthest distance is 10 cm.
For the acquisition of diet drinking water information, sheep is an unconventional animal, and every diet and drinking water behavior have a setting, and the sliding rod can be touched regularly in the diet process, so that the aim of collecting data can be indirectly achieved by modifying the traditional sheep neck clamp. The feeding speed of the milk goats is stable, and the goats can eat or drink water every time the goats enter the goats neck clips, so that the food and drink water information of the milk goats can be indirectly measured in a software part through the opening and closing of the door magnetic switch 12, and the part is designed through a software algorithm.
As shown in fig. 3: the communication system structure comprises a Lora wireless controller, an RS485 wired controller and a total control node: the communication system adopts multi-level pyramid mode communication, a sheep house needs to be provided with a communication node to collect all data, the communication node can be connected with a plurality of collection nodes through the Lora communication protocol, each collection node is connected with 8 collection nodes through the RS485 protocol, and the overall topological structure is shown in figure 3. The collection node and the summarizing node are connected by a relatively stable wire, and meanwhile, wiring in the square steel pipe can be performed in advance in the factory production process, so that the trouble of on-site wiring is avoided. The summarizing node and the communication node are connected in a wireless mode, so that remote wiring and wiring can be avoided, meanwhile, as the summarizing node is used as a secondary node, the problem of disconnection caused by excessive wireless network connection is avoided, meanwhile, the summarizing equipment is used as an intermediate node to perform data transmission through a message queue in the design of a communication protocol, even if network disconnection is caused by unexpected accidents of a wireless network, the buffered messages can be continuously transmitted to the communication node after the network is recovered, and certain system redundancy is added.
The communication system structure comprises communication nodes, collecting nodes and collecting nodes, wherein a plurality of groups of arrays are combined to be used in actual production, the upper array is a first array, the lower array is a second array, the leftmost first data collecting unit of the first array is the communication node, the functions of the collecting nodes and the collecting nodes are combined, the leftmost first data collecting unit of the second array is the collecting node, the functions of the collecting nodes are combined, the other first array and the 7 data collecting units on the right side of the second array are the collecting nodes, the collecting nodes are connected with the collecting nodes through cables, the collecting nodes are connected with the communication nodes through wireless Lora communication protocols, and the distance connection mode is shown in fig. 3. In actual production, a plurality of second arrays shown in fig. 11 can be added as required to increase measurement points.
As shown in fig. 4: the communication system in the invention mainly comprises three states in the running process, namely a system initialization state, a time synchronization state and an acquisition state, and the time sequence relationship among the three states is shown in fig. 4:
in the system initialization state, the acquisition node and the summarizing node can send system initialization information to a unique communication node, and the communication node can return related configuration files to each node sending a request. Therefore, each time of unexpected power failure or unexpected program error can be ensured, the communication node can obtain error records and reconfigure information, and the collection and summarization nodes can be more conveniently modified and equipped at the communication node without changing a single node.
In the time initialization state, the system mainly relies on time measurement to indirectly measure the food and water intake, and time errors can be directly caused by the acquisition nodes in the long-time operation process of the acquisition nodes, so that the time synchronization is required periodically.
And acquiring a state, wherein all the transmissions in the state are asynchronous information transmissions, only the lower node transmits information to the upper node, and the upper node does not return information. After the acquisition node acquires data each time, immediately transmitting the data processed by the software algorithm under the condition of meeting the condition that two continuous messages are separated by 1 minute; after receiving the data, the summarizing node loads the data into a buffer queue, continuously reads the forefront data from the buffer data and sends the forefront data to the communication node, and the whole acquisition process is completed.
The working flow of the acquisition node is as follows:
1) The milk goat enters the groove position, an electromagnetic switch is opened, and the current TIME TIME1 is recorded:
2) Reading RFID information and corresponding temperature information once per second, and marking the RFID information and the corresponding temperature information as RFID and TEMP;
3) The milk goat leaves the slot, the electromagnetic switch is closed, and the current TIME point TIME2 is recorded;
4) The acquisition card obtains the difference TIMEDIFF between the two times, and if the difference between TIMEDIFF is smaller than 1S, the operation is abandoned;
5) If the acquisition is successful, recording the highest value, the lowest value and the average value of the temperature as TEMPHIGH, TEMPLOW, TEMPMID;
6) The state of a dial switch on a collection board is obtained through collecting a diet water intake constant EATCOUNT, DRINKCOUNT of the dairy goats per second in a laboratory, and corresponding times are recorded.
And if the time from the last acquisition is more than one minute, all the data in the buffer queue are sent to the summarizing node.
Otherwise, the information of the information DEVICEID, TIMI1, RFID, TEMPHIGH, TEMPLOW, TEMPMID, DEVICETYPE (the equipment model is divided into 1 and 0, which represent diet information collection and drinking water information collection) collected at this time is processed;
7) If the time of the last transmission is more than one minute, immediately transmitting the acquired information, otherwise, storing the acquired information into a queue;
8) Immediately returning to the flow 1; the corresponding flow is shown in fig. 5.
Description of action relationship:
The initial state of sheep neck presss from both sides is as shown in fig. 7, and the door magnetic switch that the structure can make door magnetic switch 12 contact together and reach closed state under the influence of gravity, and the state that the door magnetic switch that the structure was pushed down the motion with the neck separation reached the opening in the milk goat in-process eaten is as shown in fig. 6, and after the milk goat got into the state of eating, the neck just can be in acquisition module side just can measure sensor data.

Claims (8)

1. The utility model provides a goat neck presss from both sides device of milk goat data acquisition, its characterized in that includes galvanized square pipe A one (1) and galvanized square pipe A three (11) at top of bottom, and galvanized square pipe A one (1) and galvanized square pipe A three (11) level and parallel arrangement are provided with a plurality of vertical galvanized square pipe B one (2) between the two, galvanized square pipe B one (2) divide into a plurality of collection areas with galvanized square pipe A one (1) and galvanized square pipe A three (11) between, form goat neck presss from both sides and gathers the array, and leftmost collection unit is provided with antenna housing assembly two (24) in the array, and other collection units set up antenna housing assembly one (23) each other, galvanized square pipe A three (11) top is provided with galvanized pipe C two (7), all be provided with a galvanized lock (19) on galvanized pipe C two (7) in every collection device top; the antenna housing assembly II (24), the antenna housing assembly I (23) and the door magnetic switch (12) form an acquisition system together, acquisition units in the door magnetic switch (12) and the antenna housing assembly II (24) and the antenna housing assembly I (23) are connected through a cable in a pipe, the acquisition units are connected through the cable in the pipe, and a communication system is arranged on the antenna housing assembly II (24) and the antenna housing assembly I (23);
The acquisition unit comprises a power supply circuit board module (26), a control circuit board module (27), an antenna protection cover plate I (28), an antenna protection cover plate II (29) and an acquisition module shell I (30);
The first antenna protection cover plate (28) and the first acquisition module shell (30) are integrally fixed on the sheep neck clamp acquisition array through screws, the control circuit board module (27) is connected with the RFID antenna and the door magnetic switch (12), the RFID antenna is positioned between the first antenna protection cover plate (28) and the second antenna protection cover plate (29), the door magnetic switch (12) acquires the action switching value of the sheep neck clamp, the RFID antenna acquires the RFID number of the milk goat and the current body temperature of the milk goat through an implanted temperature electronic tag in the milk goat body, the RFID antenna acquires the RFID number of the milk goat and the current body temperature of the milk goat, and the power circuit board module (26) and the control circuit board module (27) are isolated and cannot be arranged on the same substrate;
The communication system structure comprises a communication node, a summarizing node and a collecting node, wherein the communication node is arranged in an antenna housing assembly II (24), the collecting node is arranged in an antenna housing assembly I (23), the communication system structure comprises an upper array and a lower array, the upper array is a first array, the lower array is a second array, a leftmost first data collecting unit of the first array is a communication node, functions of the collecting node and the summarizing node are combined, a leftmost first data collecting unit of the second array is a summarizing node, functions of the collecting node are combined, a plurality of data collecting units on the right sides of the other first array and the second array are collecting nodes, the collecting nodes are connected with the summarizing node through cables, and the summarizing node is connected with the communication node through a wireless Lora communication protocol;
The communication system comprises a Lora wireless controller, an RS485 wired controller and a total control node: the communication system adopts multistage pyramid mode communication, and a sheep neck clamp acquisition array needs to be equipped with a communication node and gathers all data, and a communication node passes through a plurality of nodes of gathering of Lora communication protocol connection, and every gathers the node and passes through a plurality of collection nodes of RS485 protocol connection, gathers node and gathers the node and use more stable wired connection, gathers node and communication node and use wireless mode to connect.
2. The sheep neck clamp device for data acquisition of the milk goats according to claim 1, wherein the end part of the galvanized round tube C II (7) is provided with a fitting galvanized D II (9) and a galvanized round tube-baffle C III (14), and the galvanized round tube-baffle C III (14) is used for fixing the galvanized round tube C II (7) between the fitting galvanized D II (9) and preventing the galvanized round tube C II from falling off from two sides.
3. The sheep neck clamp device for data acquisition of milk goats according to claim 1, wherein the power circuit board module (26) adopts a precise 5VAC-DC power module, the control circuit board module (27) is developed based on STM32F103C8T6, the first antenna protection cover plate (28) and the second antenna protection cover plate (29) are made of planar transparent acrylic materials, the first acquisition module shell (30) is made of stainless steel materials and is used for protecting the internal power circuit board module (26), the control circuit board module (27), the first antenna protection cover plate (28) and the second antenna protection cover plate (29), and the first antenna protection cover plate (28) and the second antenna protection cover plate (29) are windowed in the middle and sunk to install the acrylic materials, so that RFID signals can pass through the shells.
4. The sheep neck clamp device for data acquisition of milk goats according to claim 1, wherein the first antenna protection cover plate (28) is embedded in the first acquisition module housing (30), and the best distance between the first antenna protection cover plate (28) and the top plate of the first acquisition module housing (30) is 7cm, the closest distance is 5cm and the farthest distance is 10cm.
5. The sheep neck clamp device for acquiring data of the dairy goat according to claim 1, wherein the acquisition area comprises a galvanized square tube B IV (8), a galvanized round tube C I (5), a fastener A I (15), a fastener A I (16), a galvanized square tube B II (4), a galvanized square tube B V (21), a galvanized square tube B III (20), a door magnetic switch bracket (13), a hexagonal bolt (18) and a galvanized square tube A II (3), the fastener A I (15) is fixed above the galvanized square tube B II (4), the galvanized square tube B III (20) is connected below, the galvanized round tube C I (5) is connected at the middle upper part as a counterweight to form a movable rod together, the movable rod is welded to the galvanized square tube B V (21) as the right side of a cross beam under the gravity of the round tube C I (5), the galvanized square tube A II (3) is welded to the galvanized square tube B V (21), the left side is connected with the galvanized square tube B IV (8) through the hexagonal bolt (18) and supports the movable rod, and the galvanized square tube B V (21) is connected with the door magnetic switch bracket (13) through the screw;
the galvanized round pipe C one (5) adopts a semicircular rectangular fillet radius of 8CM.
6. The sheep neck clamp device for data acquisition of the milk goats according to claim 1, wherein the door magnetic switch (12) is used for detecting whether two objects are in contact or not, the door magnetic switch is composed of a wireless transmitter and a magnetic block, an open signal is sent when the two parts are separated, a close signal is sent when the two parts are separated, and the state of the door magnetic switch (12) is converted to detect the drinking time of the milk goats.
7. A method of operating a sheep neck clamp device based on data acquisition from a dairy goat as claimed in any one of claims 1 to 6, comprising the steps of;
In the system initialization state, the acquisition node and the summarizing node can send system initialization information to a unique communication node, and the communication node can return related configuration files to each node sending a request;
The time initialization state needs to periodically synchronize time, adopts daily synchronous configuration, but the secondary configuration items can be changed according to actual conditions and requirements;
The method comprises the steps of collecting states, wherein all the sending steps in the states are asynchronous information sending, only a lower node sends information to an upper node, the upper node does not return information, and after the collecting nodes collect data each time, the data processed by a software algorithm are immediately sent under the condition that two continuous messages are separated by 1 minute; after receiving the data, the summarizing node loads the data into a buffer queue, continuously reads the forefront data from the buffer data and sends the forefront data to the communication node, and the whole acquisition process is completed.
8. The method for operating a goat neck clamp device for data collection of milk goats according to claim 7, wherein the working flow of the collection node in the collection state is as follows:
1) The milk goat gets into the trench, and the electromagnetic switch of door magnetic switch (12) opens, records current TIME TIME1:
2) Reading RFID information and corresponding temperature information once per second through an RFID antenna, and marking the RFID information and the corresponding temperature information as RFID and TEMP;
3) The dairy goat leaves the slot, an electromagnetic switch of a door magnetic switch (12) is closed, and the current TIME point TIME2 is recorded;
4) The acquisition card in the acquisition unit obtains the difference TIMEDIFF between the two TIMEs TIME1 and TIME2, and if the difference between TIMEDIFF is smaller than 1S, the operation is abandoned;
5) If the acquisition is successful, the highest value, the lowest value and the average value of the temperature are recorded as TEMPHIGH,
TEMPLOW,TEMPMID;
6) Acquiring the state of a dial switch on an acquisition board in an acquisition unit through acquiring a diet water intake constant EATCOUNT, DRINKCOUNT of a dairy goat per second in a laboratory, and recording corresponding times;
if the time from the last acquisition is more than one minute, all data in the buffer queue are sent to the summarizing node;
Otherwise, the information of the information DEVICEID, TIMI1, RFID, TEMPHIGH, TEMPLOW, TEMPMID, DEVICETYPE (the equipment model is divided into 1 and 0, which represent diet information collection and drinking water information collection) collected at this time is processed;
7) If the time of the last transmission is more than one minute, immediately transmitting the acquired information to the summarizing nodes in the acquisition array, otherwise, storing the acquired information into a queue;
8) Immediately returning to the flow 1; data is collected continuously and circularly.
CN202210512802.5A 2022-05-12 2022-05-12 Sheep neck clamp device and method for data acquisition of milk goats Active CN114845263B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210512802.5A CN114845263B (en) 2022-05-12 2022-05-12 Sheep neck clamp device and method for data acquisition of milk goats

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210512802.5A CN114845263B (en) 2022-05-12 2022-05-12 Sheep neck clamp device and method for data acquisition of milk goats

Publications (2)

Publication Number Publication Date
CN114845263A CN114845263A (en) 2022-08-02
CN114845263B true CN114845263B (en) 2024-04-26

Family

ID=82571026

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210512802.5A Active CN114845263B (en) 2022-05-12 2022-05-12 Sheep neck clamp device and method for data acquisition of milk goats

Country Status (1)

Country Link
CN (1) CN114845263B (en)

Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101427656A (en) * 2008-12-25 2009-05-13 北京四方诚信畜牧科技有限公司 Self-locking head clamp for cattle
CN204907473U (en) * 2015-09-01 2015-12-30 中国农业科学院北京畜牧兽医研究所 Milk cow neck presss from both sides
CN206402884U (en) * 2017-01-17 2017-08-15 河北君光畜牧科技有限公司 A kind of liftable head clamp for cattle device
CN107155916A (en) * 2017-04-12 2017-09-15 上海大学 Automatically-monitored cow feeding device
CN207184535U (en) * 2017-06-20 2018-04-03 西北农林科技大学 A kind of information gathering and transmitting device for cow oestrus forecasting system
CN109006556A (en) * 2018-07-04 2018-12-18 哈尔滨工业大学 Pasture based on Internet of Things monitors system with intelligent necklace
CN110448304A (en) * 2019-09-06 2019-11-15 深圳市艾伯数字有限公司 The wearable smart machine of animal, animal activity monitor system and method
CN111277798A (en) * 2020-02-05 2020-06-12 上海桑锐电子科技股份有限公司 Digital management system for cattle and sheep pasture
CN112189588A (en) * 2020-10-10 2021-01-08 东北农业大学 Cow image information collecting and processing method and system
CN212520363U (en) * 2020-05-20 2021-02-12 内蒙古盛健农牧业工程技术研究有限公司 Neck clamp for milk goat
CN213603792U (en) * 2020-07-08 2021-07-06 北京海益同展信息科技有限公司 Intelligent necklace and animal monitoring system
CN114287361A (en) * 2022-01-20 2022-04-08 中国农业科学院农业信息研究所 Livestock behavior monitoring and analyzing system and method

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10660546B2 (en) * 2017-12-21 2020-05-26 Michael Saigh Human and animal physiological comparatives, communication and developers' tool kit
US11083174B2 (en) * 2017-03-24 2021-08-10 Zalliant, LLC Communication assembly for monitoring biological data of animals

Patent Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101427656A (en) * 2008-12-25 2009-05-13 北京四方诚信畜牧科技有限公司 Self-locking head clamp for cattle
CN204907473U (en) * 2015-09-01 2015-12-30 中国农业科学院北京畜牧兽医研究所 Milk cow neck presss from both sides
CN206402884U (en) * 2017-01-17 2017-08-15 河北君光畜牧科技有限公司 A kind of liftable head clamp for cattle device
CN107155916A (en) * 2017-04-12 2017-09-15 上海大学 Automatically-monitored cow feeding device
CN207184535U (en) * 2017-06-20 2018-04-03 西北农林科技大学 A kind of information gathering and transmitting device for cow oestrus forecasting system
CN109006556A (en) * 2018-07-04 2018-12-18 哈尔滨工业大学 Pasture based on Internet of Things monitors system with intelligent necklace
CN110448304A (en) * 2019-09-06 2019-11-15 深圳市艾伯数字有限公司 The wearable smart machine of animal, animal activity monitor system and method
CN111277798A (en) * 2020-02-05 2020-06-12 上海桑锐电子科技股份有限公司 Digital management system for cattle and sheep pasture
CN212520363U (en) * 2020-05-20 2021-02-12 内蒙古盛健农牧业工程技术研究有限公司 Neck clamp for milk goat
CN213603792U (en) * 2020-07-08 2021-07-06 北京海益同展信息科技有限公司 Intelligent necklace and animal monitoring system
CN112189588A (en) * 2020-10-10 2021-01-08 东北农业大学 Cow image information collecting and processing method and system
CN114287361A (en) * 2022-01-20 2022-04-08 中国农业科学院农业信息研究所 Livestock behavior monitoring and analyzing system and method

Non-Patent Citations (6)

* Cited by examiner, † Cited by third party
Title
Semtech和itk利用LoRa器件打造健康与高效的牧场;单片机与嵌入式系统应用;20191201(第12期);全文 *
基于物联网技术的奶牛成长监控管理系统建设;杨国章;;自动化与仪器仪表;20180225(第02期);全文 *
基于物联网的奶牛生长监控系统的研究设计;叶健成;;中国奶牛;20130620(第10期);全文 *
基于虚拟仪器的奶牛采食量监控系统设计;倪晓春;《计量与测试技术》;20170331;全文 *
奶牛采食行为的智能化监测方法及其应用研究进展;张永根;;饲料工业;20200510(第09期);全文 *
酮病对奶牛血液生理生化指标及生产性能影响的研究;杨舒慧;《中国优秀硕士学位论文全文数据库》;20200315;全文 *

Also Published As

Publication number Publication date
CN114845263A (en) 2022-08-02

Similar Documents

Publication Publication Date Title
CN103190365B (en) Yangtze River endemic fish oviposition habitat monitoring method and system based on Internet of things
CN101894220A (en) Livestock/poultry health condition data acquisition system
CN208708444U (en) A kind of oestrus of sow monitoring system based on acoustics
CN104396865A (en) Sow oestrus remote automatic monitoring system and method
CN101114372A (en) Milk cattle cultivating management information system based on RFID technology and working method thereof
Brown-Brandl et al. A review of passive radio frequency identification systems for animal monitoring in livestock facilities
CN107711576A (en) A kind of oestrus of sow authentication method and system
CN107771706A (en) A kind of oestrus of sow detection method and system
CN114845263B (en) Sheep neck clamp device and method for data acquisition of milk goats
CN104200623A (en) Automatic animal behavior information digitization acquisition system and method
CN113711944A (en) Sow oestrus identification method, device and system
CN106290772B (en) A kind of sewage monitoring system
CN206021115U (en) A kind of regulator control system of the poultry farms based on Internet of Things
CN107704905A (en) RFID-based individual breeding hen behavior tracking system and tracking method thereof
CN106614071A (en) System and method for monitoring pre-natal behaviors of sow
CN201681165U (en) Real-time intelligent rat density detection analyzer and system thereof
CN107168403B (en) A kind of environment of chicken house system for detecting temperature based on CAN fieldbus
CN211983156U (en) Fattening pig feeding device
CN106444537A (en) Water temperature monitoring system and method of aquaculture industry
CN202385301U (en) Outdoor environment monitoring system
CN107846444A (en) A kind of internet of things data acquisition device of colony house sheep raising drinking-water
CN201611343U (en) WSN-based holothurians culture water quality monitor system
CN107728513A (en) A kind of colony house sheep raising licks brick internet of things data acquisition device
CN109601519A (en) A kind of applicable city external environment efficiently monitors mouse device
CN109104505A (en) Agricultural land soil environment wisdom monitors system

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant