CN112189578A - Pet centralized intelligent feeding control system based on upper computer and control method thereof - Google Patents

Pet centralized intelligent feeding control system based on upper computer and control method thereof Download PDF

Info

Publication number
CN112189578A
CN112189578A CN202011026427.0A CN202011026427A CN112189578A CN 112189578 A CN112189578 A CN 112189578A CN 202011026427 A CN202011026427 A CN 202011026427A CN 112189578 A CN112189578 A CN 112189578A
Authority
CN
China
Prior art keywords
feeding
module
pet
control
node
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.)
Pending
Application number
CN202011026427.0A
Other languages
Chinese (zh)
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.)
JINCHENG COLLEGE NANJING UNIVERSITY OF AERONAUTICS AND ASTRONAUTICS
Original Assignee
JINCHENG COLLEGE NANJING UNIVERSITY OF AERONAUTICS AND ASTRONAUTICS
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 JINCHENG COLLEGE NANJING UNIVERSITY OF AERONAUTICS AND ASTRONAUTICS filed Critical JINCHENG COLLEGE NANJING UNIVERSITY OF AERONAUTICS AND ASTRONAUTICS
Priority to CN202011026427.0A priority Critical patent/CN112189578A/en
Publication of CN112189578A publication Critical patent/CN112189578A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • AHUMAN NECESSITIES
    • A01AGRICULTURE; FORESTRY; ANIMAL HUSBANDRY; HUNTING; TRAPPING; FISHING
    • A01KANIMAL HUSBANDRY; AVICULTURE; APICULTURE; PISCICULTURE; FISHING; REARING OR BREEDING ANIMALS, NOT OTHERWISE PROVIDED FOR; NEW BREEDS OF ANIMALS
    • A01K5/00Feeding devices for stock or game ; Feeding wagons; Feeding stacks
    • A01K5/02Automatic devices
    • AHUMAN NECESSITIES
    • A01AGRICULTURE; FORESTRY; ANIMAL HUSBANDRY; HUNTING; TRAPPING; FISHING
    • A01KANIMAL HUSBANDRY; AVICULTURE; APICULTURE; PISCICULTURE; FISHING; REARING OR BREEDING ANIMALS, NOT OTHERWISE PROVIDED FOR; NEW BREEDS OF ANIMALS
    • A01K7/00Watering equipment for stock or game
    • A01K7/02Automatic devices ; Medication dispensers
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/04Programme control other than numerical control, i.e. in sequence controllers or logic controllers
    • G05B19/042Programme control other than numerical control, i.e. in sequence controllers or logic controllers using digital processors
    • G05B19/0423Input/output
    • GPHYSICS
    • G16INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR SPECIFIC APPLICATION FIELDS
    • G16YINFORMATION AND COMMUNICATION TECHNOLOGY SPECIALLY ADAPTED FOR THE INTERNET OF THINGS [IoT]
    • G16Y10/00Economic sectors
    • G16Y10/05Agriculture

Landscapes

  • Life Sciences & Earth Sciences (AREA)
  • Environmental Sciences (AREA)
  • Engineering & Computer Science (AREA)
  • Animal Husbandry (AREA)
  • Biodiversity & Conservation Biology (AREA)
  • Birds (AREA)
  • General Physics & Mathematics (AREA)
  • Automation & Control Theory (AREA)
  • Physics & Mathematics (AREA)
  • Agronomy & Crop Science (AREA)
  • Business, Economics & Management (AREA)
  • Accounting & Taxation (AREA)
  • Development Economics (AREA)
  • Economics (AREA)
  • General Business, Economics & Management (AREA)
  • Computing Systems (AREA)
  • Arrangements For Transmission Of Measured Signals (AREA)

Abstract

The invention discloses a pet centralized intelligent feeding control system based on an upper computer and a control method thereof, wherein the pet centralized intelligent feeding control system comprises the following steps: the system comprises a LabVIEW pet feeding upper computer system, a wireless transmission module and a pet feeding system hardware circuit module; the upper pet feeding computer system of the LabVIEW comprises a user login module, a switch control module, a data transmission module and an upper pet feeding computer system; the wireless transmission module realizes wireless data transmission with the lower computer; the pet feeding system hardware circuit module comprises a switch control module, a feeding control module, a water feeding control module, a feeding alarm control module, a water feeding alarm control module, a data analysis module and a video acquisition module; the invention centrally controls each pet feeding device through the wireless transmission module to carry out intelligent feeding, and selects multi-machine work or single-machine work according to the number of pets in the pet store, thereby improving the flexibility of the system and saving energy.

Description

Pet centralized intelligent feeding control system based on upper computer and control method thereof
Technical Field
The invention relates to the technology of Internet of things, in particular to a centralized intelligent pet feeding control system based on an upper computer and a control method thereof.
Background
With the continuous development of the internet of things technology, the sensor network is widely applied and becomes an important infrastructure in the field of information technology, and particularly, the real-time sensing information provided by the sensor network provides sufficient information support and necessary decision basis for many intelligent applications.
With the improvement of living standard of people, the number of pets is more and more, and for various reasons, when a master is not at home for a long time or a short time, the problem of pet fostering is particularly obvious to solve, pet store fostering becomes the first choice, and therefore the pet fostering number of the pet store is remarkably increased.
At present, most pet stores still adopt separated manual feeding and water feeding for feeding pets, obviously, with the increase of the number of pets kept, the feeding in such a way can cause the problems that the hands of the pet stores are insufficient and the pets cannot take care of the pets in place, and especially in the holiday tour peak period, the problem is particularly prominent, and the food intake of the pets can not be accurately judged in the face of pets with different body types, and for small pets, the pets have no satiety during feeding, so that a large amount of food is caused, and further the diseases of the pet bodies are caused.
Disclosure of Invention
The purpose of the invention is as follows: the pet centralized intelligent feeding control system based on the upper computer is provided to solve the problems.
The technical scheme is as follows: a pet centralized intelligent feeding control system based on an upper computer is characterized by comprising
The pet feeding upper computer system is used for managing user information login and sending out a control command LabVIEW;
the wireless transmission module is used for establishing a star topology wireless communication network;
and the pet feeding system hardware circuit module is used for realizing the operation of the control equipment under the command transmission of the wireless transmission module.
According to one aspect of the invention, the upper computer system for feeding the pet of the LabVIEW comprises a user login module, a switch control module, a data transmission module and an upper computer system for feeding the pet; the user login module comprises a user name, a password and an administrator; the switch is controlled to be a main switch, so that the working mode of pet feeding is switched; the data transmission realizes wireless data transmission between the unit I pet feeding upper computer system and the unit III and unit IV pet feeding system hardware circuit modules; the pet feeding upper computer system controls hardware circuits of pets of different body types;
the wireless transmission module realizes wireless data transmission with the lower computer; the wireless transmission module adopts a Zigbee wireless communication protocol and a star topology structure and comprises a main node wireless transceiver module and a pet feeding system sub-node wireless transceiver module;
the pet feeding system hardware circuit module comprises a switch control module, a feeding control module, a water feeding control module, a feeding alarm control module, a water feeding alarm control module, a data analysis module and a video acquisition module; the feeding circuit in the execution module of the No. 1 pet feeding system hardware circuit module in the feeding control implementation unit III works to further realize the extension and retraction of the feeding groove; the water feeding circuit in the execution module of the No. 1 pet feeding system hardware circuit module in the water feeding control realization unit III works, so that the stretching out and the retraction of the drinking trough are realized; the feeding alarm control monitors the weight of the tray food in real time through the pressure sensor module, gives an alarm prompt when the food in the feeding groove before feeding is lower than the food quantity of a pet, detects the height of the liquid level in the water tank through the liquid level sensor module, and gives an alarm when the food in the feeding groove before feeding is lower than a water quantity set value; the data analysis realizes the feeding and drinking times and quantity of the pet No. 1, the feeding and drinking times and quantity are displayed in the form of digital quantity and curve, and the data storage is completed in the SD card mode; the video acquisition is real-time to carry out video and picture acquisition and realize the transmission to the real-time status of No. 1 pet, guarantees that host computer system can observe the running condition of pet in real time.
According to one aspect of the invention, the hardware circuit module of the pet feeding system further comprises a controller unit, a pressure sensor module, a liquid level sensor module, a camera module, an execution module, an alarm module and a storage module, wherein the controller unit adopts an STM32 chip as a control core; the pressure sensor module adopts an HX711 module to realize the detection of the weight of the pet dinner plate; the liquid level sensor module adopts a probe type ultrasonic sensor to realize the measurement of the liquid level of the pet drinking cup; the camera module realizes the acquisition of videos; the execution module comprises a driving module and a power module, wherein the driving module drives the power module in a PWM control mode; the alarm module realizes sound-light alarm; and the storage module adopts an SD card mode to further finish the storage of data.
According to one aspect of the present invention, the star topology is connected to a central node in a point-to-point manner, the central node transmits information to a destination node, and the central node executes a centralized communication control strategy, and further obtains a detection method of the wireless sensor according to the star topology, which includes the following steps:
step 1, obtaining the following mode according to the signal received by the central node:
Figure BDA0002702244850000021
in the formula, ncRepresenting white gaussian noise; hcRepresenting a channel matrix; x represents a transmission signal; y iscRepresenting a plurality of system models;
step 2, converting the plurality of system models into real system models, and further obtaining the following mode:
y=HC+n
wherein y represents a received vector;
step 3, transpose H of channel matrixTAnd (3) carrying out left multiplication on the received vector y, and further converting the mode in the step 2 into the following mode:
b=RX+n
wherein R is HTH;n=HTn;
Step 31, according to the method of step 3, the ith element b of biFurther, the following modes are obtained:
bi=rij+∑rijxj+ni
in the formula, xjAnd niRespectively representing the ith element in x and n; r isijRepresenting the i-th row and j-th column of r;
And 4, obtaining the following mode according to the symbol detected by the central node:
xl(1)=sng(hl(1)y)=sgn(bl(1))
in the formula (hi)(1)L < th > representing a channel matrix(1)Columns; sgn denotes a sign function; l(1)Representing a first iteration index;
step 41, further pass y ═ y(1)Removal of xl(1)The following further follows:
y(2)=y(1)-xl(1)hl(1)
in the formula, the first signal is obtained by dividing the first signal of the channel matrix(1)And (4) setting columns to zero to obtain an updated channel matrix, repeating the operation process in the step (41) to obtain a determined point of the central node, and further detecting a transmission symbol to further remove interference data and improve the accuracy of the wireless sensing data.
According to one aspect of the invention, the LabVIEW pet feeding upper computer system sends a data acquisition control command to the lower computer, receives the acquired data of the lower computer, displays, stores and analyzes the acquired data, and further drives the hardware control equipment to operate according to the real-time acquired data, thereby completing the data acquisition command.
According to one aspect of the invention, the liquid level sensor module detects the water level in a middle distance measuring stage through ultrasonic ranging, ultrasonic distance detection is realized by utilizing the reflection principle of sound waves, the time difference is multiplied by the propagation speed of the sound waves in a medium by calculating the time difference between the emission time of the ultrasonic waves and the receiving time of the reflected waves, the distance of a target point is further obtained, and the position of the water level target point is further adjusted according to the water intake of pets of different body types.
According to one aspect of the invention, the control method of the pet centralized intelligent feeding control system based on the upper computer is characterized by comprising the following steps:
step 1, after sending a command to a communication node, correctly receiving two return commands, wherein the feedback command comprises a report network state and a return device information, and returns a network state report under the condition of error, and further after sending n test commands to the communication node, returning n network state reports, wherein the difference between the total number of the returned commands and the number of times of sending the commands is the number of the commands correctly returned at present;
and 2, accurately analyzing the returned and transmitted commands, reducing the fault tolerance rate of communication information, and further obtaining the accuracy rate of the communication transmission commands according to the total number of returned commands and the total number of command sending, wherein the representation mode is as follows:
Figure BDA0002702244850000041
wherein, P represents the accuracy; m represents the total number of return commands; n represents the total number of command transmissions;
and 3, defining according to the available communication nodes, and dividing the node ID into:
2001. 2002, 2003, 2005, 2007 are all accessed into the serial communication device of the device address;
step 4, sending a command to the 2002 node according to the node ID, and testing the communication accuracy in different time intervals T and sending times N; further reducing errors of node commands, thereby effectively managing and monitoring the operation of the centralized intelligent feeding control system;
step 5, sending commands to nodes 2001, 2002, 2003, 2005 and 2007 in turn according to the node IDs, and testing the communication accuracy rate in different time intervals T and sending times N; furthermore, the accurate pet food feeding amount is obtained through the command calculation of the multi-channel ID, and the condition that the feeding amount is inconsistent with the pet intake amount is reduced.
Has the advantages that: the invention designs a pet centralized intelligent feeding control system based on an upper computer and a control method thereof, which are used for carrying out intelligent feeding by intensively controlling each pet feeding device through a wireless transmission module, so that the problems of insufficient hands and careless care of pets caused by excessive pet feeding in a pet store can be solved, and each pet feeding device can work alone at the same time, so that whether a plurality of pets work or a single pet work can be selected according to the number of pets in the pet store, the flexibility of the system is improved, and the energy is saved; the fault-tolerant rate of the feeding amount is reduced through the operation of multiple communication nodes;
innovation point 1, a LabVIEW-based pet feeding upper computer system is provided, remote intelligent control of pet feeding is achieved, and pet feeding efficiency of a pet shop is improved.
And 2, the pet feeding upper computer system can realize the feeding and drinking functions of the pet through the communication with the pet feeding system hardware circuit module.
And 3, a Zigbee wireless communication mode is adopted for communication between the pet feeding upper computer system and the pet feeding system hardware circuit module, so that wired transmission is avoided, and the reasons of wire layout, wire aging, excessive wires and the like are not considered.
Innovation point 4. wireless communication adopts star type topological structure, can realize the independent control that every pet was raised, also can be through the increase or reduction of wireless transmission node simultaneously, the quantity that the nimble pet was raised of control.
And 5, an STM32F103C8T6 chip is adopted as a control core in a pet feeding system hardware circuit module, so that the speed is high, the precision is high, and the requirement on the control function of the pet feeding system can be met.
And an innovation point 6 is that the eating amount and the drinking amount of each time of the pet are recorded through the SD card, so that the pet can communicate with the owner conveniently.
Drawings
FIG. 1 is a block diagram of the structure of the present invention.
Fig. 2 is a diagram of a structure of the upper computer system of the present invention.
Fig. 3 is a structure diagram of the pet breeding host computer of the present invention.
Fig. 4 is a block diagram of a hardware circuit configuration and a data transmission diagram of the present invention.
FIG. 5 is a schematic diagram of the star topology wireless sensing of the present invention.
The reference signs are: the system comprises a user 1, a main node 2, a sub-node 13, a sub-node 2 4, a switch control 5, a data transmission 6, a pet 1 feeding upper computer 7, a pet 2 feeding upper computer 8, a switch control 9, a feeding control 10, a water feeding control 11, a feeding alarm control 12, a water feeding alarm control 13, a data analysis 14, a video acquisition 15, a controller unit 16, a pressure sensor module 17, a liquid level sensor module 18, a camera module 19, an execution module 20, an alarm module 21, a storage module 22, a data transmission module,
Detailed Description
In the embodiment, as shown in fig. 1, the pet centralized intelligent feeding control system based on the upper computer is characterized by comprising
The pet feeding upper computer system is used for managing user information login and sending out a control command LabVIEW;
the wireless transmission module is used for establishing a star topology wireless communication network;
and the pet feeding system hardware circuit module is used for realizing the operation of the control equipment under the command transmission of the wireless transmission module.
In a further embodiment, the pet breeding upper computer system of LabVIEW comprises a user login module, a switch control module, a data transmission module and a pet breeding upper computer system; the user login module comprises a user name, a password and an administrator; the switch is controlled to be a main switch, so that the working mode of pet feeding is switched; the data transmission realizes wireless data transmission between the unit I pet feeding upper computer system and the unit III and unit IV pet feeding system hardware circuit modules; the pet feeding upper computer system controls hardware circuits of pets of different body types;
the wireless transmission module realizes wireless data transmission with the lower computer; the wireless transmission module adopts a Zigbee wireless communication protocol and a star topology structure and comprises a main node wireless transceiver module and a pet feeding system sub-node wireless transceiver module;
the pet feeding system hardware circuit module comprises a switch control module, a feeding control module, a water feeding control module, a feeding alarm control module, a water feeding alarm control module, a data analysis module and a video acquisition module; the feeding circuit in the execution module of the No. 1 pet feeding system hardware circuit module in the feeding control implementation unit III works to further realize the extension and retraction of the feeding groove; the water feeding circuit in the execution module of the No. 1 pet feeding system hardware circuit module in the water feeding control realization unit III works, so that the stretching out and the retraction of the drinking trough are realized; the feeding alarm control monitors the weight of the tray food in real time through the pressure sensor module, gives an alarm prompt when the food in the feeding groove before feeding is lower than the food quantity of a pet, detects the height of the liquid level in the water tank through the liquid level sensor module, and gives an alarm when the food in the feeding groove before feeding is lower than a water quantity set value; the data analysis realizes the feeding and drinking times and quantity of the pet No. 1, the feeding and drinking times and quantity are displayed in the form of digital quantity and curve, and the data storage is completed in the SD card mode; the video acquisition is real-time to carry out video and picture acquisition and realize the transmission to the real-time status of No. 1 pet, guarantees that host computer system can observe the running condition of pet in real time.
In a further embodiment, the hardware circuit module of the pet feeding system further comprises a controller unit, a pressure sensor module, a liquid level sensor module, a camera module, an execution module, an alarm module and a storage module, wherein the controller unit adopts an STM32 chip as a control core; the pressure sensor module adopts an HX711 module to realize the detection of the weight of the pet dinner plate; the liquid level sensor module adopts a probe type ultrasonic sensor to realize the measurement of the liquid level of the pet drinking cup; the camera module realizes the acquisition of videos; the execution module comprises a driving module and a power module, wherein the driving module drives the power module in a PWM control mode; the alarm module realizes sound-light alarm; and the storage module adopts an SD card mode to further finish the storage of data.
In a further embodiment, the star topology is connected to a central node in a point-to-point manner, the central node transmits information to a destination node, and the central node executes a centralized communication control strategy, and further obtains a detection method of the wireless sensor according to the star topology, which includes the following specific steps:
step 1, obtaining the following mode according to the signal received by the central node:
Figure BDA0002702244850000061
in the formula, ncRepresenting white gaussian noise; hCRepresenting a channel matrix; x represents a transmission signal; y iscRepresenting a plurality of system models;
step 2, converting the plurality of system models into real system models, and further obtaining the following mode:
y=HC+n
wherein y represents a received vector;
step 3, transpose H of channel matrixTAnd (3) carrying out left multiplication on the received vector y, and further converting the mode in the step 2 into the following mode:
b=RX+n
wherein R is HTH;n=HTn;
Step 31, according to the method of step 3, the ith element b of biFurther, the following modes are obtained:
bi=rij+∑rijxj+ni
in the formula, xjAnd niRespectively representing the ith element in x and n; r isijThe element of the ith row and the jth column in r is represented;
and 4, obtaining the following mode according to the symbol detected by the central node:
xl(1)=sng(hl(1)y)=sgn(bl(1))
in the formula (hi)(1)L < th > representing a channel matrix(1)Columns; sgn denotes a sign function; l(1)Representing a first iteration index;
step 41, further pass y ═ y(1)Removal of xl(1)The following further follows:
y(2)=y(1)-xl(1)hl(1)
in the formula, the first signal is obtained by dividing the first signal of the channel matrix(1)And (4) setting columns to zero to obtain an updated channel matrix, repeating the operation process in the step (41) to obtain a determined point of the central node, and further detecting a transmission symbol to further remove interference data and improve the accuracy of the wireless sensing data.
In a further embodiment, the LabVIEW pet feeding upper computer system sends a data acquisition control command to the lower computer, receives the acquired data of the lower computer, displays, stores and analyzes the acquired data, and further drives the hardware control equipment to operate according to the real-time acquired data, thereby completing the data acquisition command.
In a further embodiment, the liquid level sensor module detects the water level in a middle distance measuring stage through ultrasonic ranging, ultrasonic distance detection is realized by using a reflection principle of sound waves, the time difference is multiplied by the propagation speed of the sound waves in a medium by calculating the time difference between the emission time of the ultrasonic waves and the receiving time of the reflected waves, the distance of a target point is further obtained, and the position of the water level target point is further adjusted according to the water intake of pets of different body types.
In a further embodiment, a control method of the pet centralized intelligent feeding control system based on the upper computer is characterized by comprising the following steps:
step 1, after sending a command to a communication node, correctly receiving two return commands, wherein the feedback command comprises a report network state and a return device information, and returns a network state report under the condition of error, and further after sending n test commands to the communication node, returning n network state reports, wherein the difference between the total number of the returned commands and the number of times of sending the commands is the number of the commands correctly returned at present;
and 2, accurately analyzing the returned and transmitted commands, reducing the fault tolerance rate of communication information, and further obtaining the accuracy rate of the communication transmission commands according to the total number of returned commands and the total number of command sending, wherein the representation mode is as follows:
Figure BDA0002702244850000081
wherein, P represents the accuracy; m represents the total number of return commands; n represents the total number of command transmissions;
and 3, defining according to the available communication nodes, and dividing the node ID into:
2001. 2002, 2003, 2005, 2007 are all accessed into the serial communication device of the device address;
step 4, sending a command to the 2002 node according to the node ID, and testing the communication accuracy in different time intervals T and sending times N; further reducing errors of node commands, thereby effectively managing and monitoring the operation of the centralized intelligent feeding control system;
step 5, sending commands to nodes 2001, 2002, 2003, 2005 and 2007 in turn according to the node IDs, and testing the communication accuracy rate in different time intervals T and sending times N; furthermore, the accurate pet food feeding amount is obtained through the command calculation of the multi-channel ID, and the condition that the feeding amount is inconsistent with the pet intake amount is reduced.
The working principle is as follows: firstly, a user 1 login module of a unit I pet feeding upper computer system based on LabVIEW realizes login of the upper computer system, an administrator can realize password reset, then pet feeding is realized through a switch control 5, the working mode is single machine or online, a data transmission 6 realizes wireless data transmission between the unit I pet feeding upper computer system and unit III and unit IV pet feeding system hardware circuit modules, a No. 1 pet feeding upper computer 7 and a No. 2 pet feeding upper computer 8 have the same structure and only respectively control different pet feeding hardware circuits, the pet feeding upper computer modules can be increased or reduced according to actual requirements or the number of pets, the single machine work or the online work of the No. 1 pet feeding system of the unit III is realized through the switch control 9, the feeding circuit work in an execution module 20 of the No. 1 pet feeding system hardware circuit module in the unit III is realized through the feeding control 10, the pet feeding system comprises a feeding trough, a water feeding control unit 11, a water feeding control unit 12, a water feeding control unit 13, a water feeding control unit and a water feeding control unit, wherein the water feeding control unit 11 is used for realizing the work of a water feeding circuit in an execution module 20 of a No. 1 pet feeding system hardware circuit module in a unit III and realizing the extension and retraction of a drinking trough, the feeding alarm control unit 12 is used for realizing the alarm when the food in the feeding trough before feeding is lower than the food quantity set value of a pet, the alarm is carried out by a red light, the alarm is carried out by a green light is normal, the data analysis 14 is used for realizing the times and the quantity of feeding and drinking of the No. 1 pet and displaying the times and the quantity in the forms of digital quantity and curve, meanwhile, the data are stored, the video acquisition 15 is used for carrying out video or picture acquisition; the wireless transmission module of the unit II realizes the bidirectional transmission of data between the unit I and the unit III and between the unit IV, the unit I transmits the instruction of the switch control 9 and the instructions of the feeding control 10 and the water feeding control 11 to the general node 2 of the unit II through the data transmission 6 module, the general node 2 then wirelessly transmits the instructions to the No. 1 subnode 3 and the No. 2 subnode 4 of the unit II, and finally the instructions are transmitted to the controller unit 16 of the pet feeding system hardware circuit of the unit III and the unit IV through the serial port; the controller units 16 of the unit III and the unit IV respectively transmit the data of the storage module 22 and the camera module 19 to the No. 1 subnode 3 and the No. 2 subnode 4 of the unit II through serial ports, and the No. 1 subnode 3 and the No. 2 subnode 4 are uploaded to the main node 2 through a wireless transmission mode, and finally uploaded to the data analysis 14 module and the video acquisition 15 module of the unit I through serial ports; the unit III and the unit IV are respectively No. 1 and No. 2 pet feeding hardware circuit modules, the structures of the units are the same, the only different places are that the data communication is carried out with the main node 2 through No. 1 sub-nodes 3 and No. 2 sub-nodes 4 respectively, and the number of the sub-nodes in the unit II is required to be the same as the number of the pet feeding upper computers in the unit I and the number of the pet feeding hardware circuit modules; wherein the unit III and the unit IV have the same structure, and describe the working principle of the pet feeding hardware circuit for example according to the unit III, the controller unit 16 adopts an ARM32 control chip, the pressure sensor module 17 adopts an HX711 module to realize the detection of the weight of the pet dinner plate, and sends a dinner plate weight signal to the controller unit 16, the controller unit 16 can judge the weight relationship between the weight of the dinner plate and the empty dinner plate given in the program, when the difference between the detected weight of the dinner plate and the empty dinner plate weight is less than the set value, the food in the dinner plate is determined to be insufficient, the controller unit 16 respectively sends a command to the execution module 20 to control the motor to rotate to drive the dinner plate to stretch out, waits for the feeding, sends a command to the alarm module 21 to carry out acousto-optic alarm, and sends a command to the feeding alarm control 12 of the No. 1 pet in the unit I through the unit II wireless transmission module until the food is, the feeding tank retracts, the red light turns green, the liquid level sensor module 18 adopts a probe type structure to realize real-time measurement of the liquid level in the drinking water tank, and sends signals to the controller unit 16, the controller unit 16 can judge the height of the liquid level in the water tank, when the liquid level is lower than a set value in a program, the controller unit 16 sends instructions to the execution module 20 respectively to control the water tank to extend out, wait for adding water, send instructions to the alarm module 21 to carry out sound-light alarm, and send instructions to the water feeding alarm control 13 of the No. 1 pet in the unit I through the unit II wireless transmission module to light the red light until the water amount is larger than the set value, the drinking water tank retracts, the red light turns green, the camera 19 collects videos or pictures through the video collection 15 instruction of the No. 1 pet in the unit I, and stores the videos or pictures in the storage module 22 and the video collection 15 module of the No. 1 pet in the unit I through the controller unit 16, the storage module 22 realizes the storage function of weight information, pictures and videos of food and water in the feeding trough and the drinking trough.
In summary, the present invention has the following advantages: the intelligent feeding is carried out by intensively controlling each pet feeding device through the wireless transmission module, so that the problems that too many pets are kept in a pet store and the hands are insufficient and the pets are not cared for carelessly can be solved, meanwhile, each pet feeding device can work alone, whether multi-machine work or single-machine work can be selected according to the number of the pets in the pet store, a star-shaped rubbing structure is adopted in wireless communication, the feeding of each pet can be independently controlled, meanwhile, the number of the pets to be fed can be flexibly controlled through the increase or decrease of wireless transmission nodes, and the fault-tolerant rate of the feeding amount is reduced through the operation of multiple communication nodes; therefore, when the data sensor changes, accurate food feeding can be obtained through calculation; the normal operation of the pet feeding control system is ensured.
It should be noted that the various features described in the above embodiments may be combined in any suitable manner without departing from the scope of the invention. The invention is not described in detail in order to avoid unnecessary repetition.

Claims (7)

1. A pet centralized intelligent feeding control system based on an upper computer is characterized by comprising
The pet feeding upper computer system is used for managing user information login and sending out a control command LabVIEW;
the wireless transmission module is used for establishing a star topology wireless communication network;
and the pet feeding system hardware circuit module is used for realizing the operation of the control equipment under the command transmission of the wireless transmission module.
2. The centralized intelligent pet feeding control system based on the upper computer as claimed in claim 1, wherein the upper pet feeding computer system of LabVIEW comprises a user login module, a switch control module, a data transmission module and an upper pet feeding computer system; the user login module comprises a user name, a password and an administrator; the switch is controlled to be a main switch, so that the working mode of pet feeding is switched; the data transmission realizes wireless data transmission between the unit I pet feeding upper computer system and the unit III and unit IV pet feeding system hardware circuit modules; the pet feeding upper computer system controls hardware circuits of pets of different body types;
the wireless transmission module realizes wireless data transmission with the lower computer; the wireless transmission module adopts a Zigbee wireless communication protocol and a star topology structure and comprises a main node wireless transceiver module and a pet feeding system sub-node wireless transceiver module;
the pet feeding system hardware circuit module comprises a switch control module, a feeding control module, a water feeding control module, a feeding alarm control module, a water feeding alarm control module, a data analysis module and a video acquisition module; the feeding circuit in the execution module of the No. 1 pet feeding system hardware circuit module in the feeding control implementation unit III works to further realize the extension and retraction of the feeding groove; the water feeding circuit in the execution module of the No. 1 pet feeding system hardware circuit module in the water feeding control realization unit III works, so that the stretching out and the retraction of the drinking trough are realized; the feeding alarm control monitors the weight of the tray food in real time through the pressure sensor module, gives an alarm prompt when the food in the feeding groove before feeding is lower than the food quantity of a pet, detects the height of the liquid level in the water tank through the liquid level sensor module, and gives an alarm when the food in the feeding groove before feeding is lower than a water quantity set value; the data analysis realizes the feeding and drinking times and quantity of the pet No. 1, the feeding and drinking times and quantity are displayed in the form of digital quantity and curve, and the data storage is completed in the SD card mode; the video acquisition is real-time to carry out video and picture acquisition and realize the transmission to the real-time status of No. 1 pet, guarantees that host computer system can observe the running condition of pet in real time.
3. The centralized intelligent pet feeding control system based on the upper computer as claimed in claim 2, wherein the hardware circuit module of the pet feeding system further comprises a controller unit, a pressure sensor module, a liquid level sensor module, a camera module, an execution module, an alarm module and a storage module, wherein the controller unit adopts an STM32 chip as a control core; the pressure sensor module adopts an HX711 module to realize the detection of the weight of the pet dinner plate; the liquid level sensor module adopts a probe type ultrasonic sensor to realize the measurement of the liquid level of the pet drinking cup; the camera module realizes the acquisition of videos; the execution module comprises a driving module and a power module, wherein the driving module drives the power module in a PWM control mode; the alarm module realizes sound-light alarm; and the storage module adopts an SD card mode to further finish the storage of data.
4. The pet centralized intelligent feeding control system based on the upper computer according to claim 1, wherein the star topology is connected to a central node in a point-to-point manner, the central node transmits information to a destination node, the central node executes a centralized communication control strategy, and further a detection method of the wireless sensor is obtained according to the star topology, and the specific steps are as follows:
step 1, obtaining the following mode according to the signal received by the central node:
Figure FDA0002702244840000021
in the formula, ncRepresenting white gaussian noise; hCRepresenting a channel matrix; x represents a transmission signal; y iscRepresenting a plurality of system models;
step 2, converting the plurality of system models into real system models, and further obtaining the following mode:
y=HC+n
wherein y represents a received vector;
step 3, transpose H of channel matrixTAnd (3) carrying out left multiplication on the received vector y, and further converting the mode in the step 2 into the following mode:
b=RX+n
wherein R is HTH;n=HTn;
Step 31, according to the method of step 3, the ith element b of biFurther, the following modes are obtained:
bi=rij+∑rijxj+ni
in the formula, xjAnd niRespectively representing the ith element in x and n; r isijThe element of the ith row and the jth column in r is represented;
and 4, obtaining the following mode according to the symbol detected by the central node:
xl(1)=sng(hl(1)y)=sgn(bl(1))
in the formula (hi)(1)Representing a channel matrixL. 1(1)Columns; sgn denotes a sign function; l(1)Representing a first iteration index;
step 41, further pass y ═ y(1)Removal of xl(1)The following further follows:
y(2)=y(1)-xl(1)hl(1)
in the formula, the first signal is obtained by dividing the first signal of the channel matrix(1)And (4) setting columns to zero to obtain an updated channel matrix, repeating the operation process in the step (41) to obtain a determined point of the central node, and further detecting a transmission symbol to further remove interference data and improve the accuracy of the wireless sensing data.
5. The centralized intelligent pet feeding control system based on the upper computer as claimed in claim 1, wherein the LabVIEW pet feeding upper computer system sends a data acquisition control command to the lower computer, receives the acquired data of the lower computer, displays, stores and analyzes the acquired data, and further drives a hardware control device to operate according to the real-time acquired data, thereby completing the data acquisition command.
6. The pet centralized intelligent feeding control system based on the upper computer as claimed in claim 3, wherein the liquid level sensor module detects the water level at a middle distance measuring stage through ultrasonic ranging, the ultrasonic distance detection is realized by using a reflection principle of sound waves, the time difference is multiplied by the propagation speed of the sound waves in a medium by calculating the time difference between the transmission time of the ultrasonic waves and the receiving time of the reflected waves, the distance of a target point is further obtained, and the position of the water level target point is further adjusted according to the water intake of pets of different body types.
7. A control method of the pet centralized intelligent feeding control system based on the upper computer of any one of claims 1 to 6 is characterized by comprising the following steps:
step 1, after sending a command to a communication node, correctly receiving two return commands, wherein the feedback command comprises a report network state and a return device information, and returns a network state report under the condition of error, and further after sending n test commands to the communication node, returning n network state reports, wherein the difference between the total number of the returned commands and the number of times of sending the commands is the number of the commands correctly returned at present;
and 2, accurately analyzing the returned and transmitted commands, reducing the fault tolerance rate of communication information, and further obtaining the accuracy rate of the communication transmission commands according to the total number of returned commands and the total number of command sending, wherein the representation mode is as follows:
Figure FDA0002702244840000031
wherein, P represents the accuracy; m represents the total number of return commands; n represents the total number of command transmissions;
and 3, defining according to the available communication nodes, and dividing the node ID into:
2001. 2002, 2003, 2005, 2007 are all accessed into the serial communication device of the device address;
step 4, sending a command to the 2002 node according to the node ID, and testing the communication accuracy in different time intervals T and sending times N; further reducing errors of node commands, thereby effectively managing and monitoring the operation of the centralized intelligent feeding control system;
step 5, sending commands to nodes 2001, 2002, 2003, 2005 and 2007 in turn according to the node IDs, and testing the communication accuracy rate in different time intervals T and sending times N; furthermore, the accurate pet food feeding amount is obtained through the command calculation of the multi-channel ID, and the condition that the feeding amount is inconsistent with the pet intake amount is reduced.
CN202011026427.0A 2020-09-25 2020-09-25 Pet centralized intelligent feeding control system based on upper computer and control method thereof Pending CN112189578A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011026427.0A CN112189578A (en) 2020-09-25 2020-09-25 Pet centralized intelligent feeding control system based on upper computer and control method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011026427.0A CN112189578A (en) 2020-09-25 2020-09-25 Pet centralized intelligent feeding control system based on upper computer and control method thereof

Publications (1)

Publication Number Publication Date
CN112189578A true CN112189578A (en) 2021-01-08

Family

ID=74007287

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011026427.0A Pending CN112189578A (en) 2020-09-25 2020-09-25 Pet centralized intelligent feeding control system based on upper computer and control method thereof

Country Status (1)

Country Link
CN (1) CN112189578A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113985766A (en) * 2021-10-15 2022-01-28 中山市海宝电器有限公司 Water pump online regulation and control management system based on remote control

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20030081965A (en) * 2002-04-15 2003-10-22 박대진 Remote breeding method and system using wire/wireless communication
CN104908785A (en) * 2015-06-24 2015-09-16 北京世纪东方国铁科技股份有限公司 Test method and apparatus for train end
CN107357191A (en) * 2016-05-09 2017-11-17 深圳市石牛生态农业发展有限公司 A kind of chicken intelligence cultural method and its system
KR20180000509A (en) * 2016-06-23 2018-01-03 주식회사 연합축산 method of control feeder suppling
CN207252500U (en) * 2016-10-27 2018-04-20 重庆掌中花园科技有限公司 A kind of intelligent pet feeder
CN207992747U (en) * 2018-02-06 2018-10-19 天津理工大学中环信息学院 A kind of mini pet wisdom feeding system based on Internet of Things cloud framework
JP2019195325A (en) * 2019-04-08 2019-11-14 株式会社電通 Pet management system, pet management method, pet management device, and pet management program

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20030081965A (en) * 2002-04-15 2003-10-22 박대진 Remote breeding method and system using wire/wireless communication
CN104908785A (en) * 2015-06-24 2015-09-16 北京世纪东方国铁科技股份有限公司 Test method and apparatus for train end
CN107357191A (en) * 2016-05-09 2017-11-17 深圳市石牛生态农业发展有限公司 A kind of chicken intelligence cultural method and its system
KR20180000509A (en) * 2016-06-23 2018-01-03 주식회사 연합축산 method of control feeder suppling
CN207252500U (en) * 2016-10-27 2018-04-20 重庆掌中花园科技有限公司 A kind of intelligent pet feeder
CN207992747U (en) * 2018-02-06 2018-10-19 天津理工大学中环信息学院 A kind of mini pet wisdom feeding system based on Internet of Things cloud framework
JP2019195325A (en) * 2019-04-08 2019-11-14 株式会社電通 Pet management system, pet management method, pet management device, and pet management program

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
张国华 等: "基于压缩感知的星型拓扑结构无线传感网络信号检测算法", 《太原理工大学学报》 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113985766A (en) * 2021-10-15 2022-01-28 中山市海宝电器有限公司 Water pump online regulation and control management system based on remote control
CN113985766B (en) * 2021-10-15 2022-06-17 中山市海宝电器有限公司 Water pump online regulation and control management system based on remote control

Similar Documents

Publication Publication Date Title
CN102681511B (en) Data information acquisition intelligent managing and controlling system based on Internet of things
Chen et al. Implementation of an IoT based pet care system
CN101894220A (en) Livestock/poultry health condition data acquisition system
CN206835259U (en) Aquaculture remote monitoring system based on 4G and technology of Internet of things
CN102589504B (en) Online measuring device for diameter of tree in growth
RU2008108965A (en) FIELD-BASED ARCHITECTURE AND RESOURCE MANAGEMENT DEVICE
CN104035755B (en) A kind of general development device of greenhouse remote intelligent control system and development approach
CN112189578A (en) Pet centralized intelligent feeding control system based on upper computer and control method thereof
CN103823437A (en) Aquaculture intelligent control system with portable monitoring device
CN101780909A (en) Detection and diagnosis system for elevator without machine room
Khan Wireless sensor network based water well management system for precision agriculture
CN115499521A (en) Multi-channel multi-interface protocol digital acquisition control system for bottom layer equipment
CN2935795Y (en) Central controller for milking table
CN205880649U (en) Servo driver aging test system
CN115134428B (en) Automatic protocol switching method and system for communication manager
CN101369925A (en) Wireless network monitoring system for running state of watercraft cabinet equipment
CN102508486A (en) Method and device for diagnosing excitation fault by using controller area network (CAN) communication data protocol
CN212486542U (en) Electric energy meter calibrating device and system for cloud communication of Internet of things
CN201229673Y (en) Electric experiment process monitoring terminal apparatus based on network technology
CN205507766U (en) Birds animal house air current state real -time simulation device based on CFD
CN213279723U (en) Welding robot output statistical system
CN113156982A (en) Underwater robot control system and control method thereof
CN111917184B (en) Power consumption monitoring method and system based on BP neural network
CN202025226U (en) Remote management system for RS-485 bus equipment
Paul et al. Green IoT and sustainability in the UAE post pandemic for an eco-friendly and sustainable smart agriculture

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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20210108