Pet feeder and feeding control method and device therefor, and storage medium
By adopting the turntable structure and food tank design in the pet feeder, combined with the drive motor and feeding plan, the problem of low food control accuracy of the existing pet feeder is solved, and the precise feeding and convenient operation of food is achieved.
Patent Information
- Application Number
- PCT/CN2023/141227
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2023-10-20
- Filing Date
- 2023-12-22
- Publication Date
- 2025-04-24
AI Technical Summary
Existing pet feeders require more portions of food to be placed on the meal plate, and it is not convenient to separate dry and wet food, resulting in low control accuracy of food feeding.
A pet feeder is designed, adopting a rotary dial structure, with a food tank divided according to a predetermined angle, and the rotary dial is driven to rotate by a driving motor. According to the preset feeding plan, the rotation of the turntable is controlled to make the corresponding food tank unblocked during the feeding time.
Through this device, the dry and wet separation of food can be effectively controlled, the control accuracy of food feeding can be improved, and the convenience of user feeding can be improved.
Smart Images

Figure CN2023141227_24042025_PF_FP_ABST
Abstract
Description
Pet feeder and feeding control method, device and storage medium thereof
[0001] This application claims priority to the Chinese patent application filed with the China Patent Office on October 20, 2023, with application number 202311375984.7 and invention name “Pet feeder and feeding control method, device and storage medium thereof”, the entire contents of which are incorporated by reference into this application. Technical Field
[0002] The present application relates to the field of pet feeders, and in particular to a pet feeder and a feeding control method, device, and storage medium thereof. Background Art
[0003] As people's material living standards improve, their pursuit of spiritual life is also increasing. Raising pets can enrich people's spiritual life and bring them happiness and companionship. Therefore, raising pets has become the choice of more and more people.
[0004] When feeding pets, food is usually placed in a pet tray before the pet eats, meaning the food in the tray must be changed frequently manually. To improve operational convenience, larger portions of food must be placed in the tray, including feeding a single food or mixing multiple foods. This makes it difficult to separate dry and wet food, hindering feeding accuracy. Technical issues
[0005] In view of this, the embodiments of the present application provide a pet feeder and its feeding control method, device and storage medium to solve the problem that pet feeders in the prior art require a large amount of food to be placed on the plate, which is inconvenient to separate dry and wet food and is not conducive to improving the control accuracy of food feeding. Technical Solutions
[0006] A first aspect of an embodiment of the present application provides a feeding control method for a pet feeder, wherein the pet feeder includes a turntable for holding food, the turntable is provided with food slots divided according to predetermined angles, and a shielding member is provided on the upper portion of the turntable for shielding a predetermined number of food slots. The turntable is driven by a drive motor and positioned. The method includes:
[0007] Obtaining a preset feeding plan, wherein the feeding plan includes a correspondence between food types and feeding times;
[0008] According to the feeding plan, combined with the pre-set correspondence between food types and rotation angles, determining the correspondence between the rotation angle of the turntable and the feeding time;
[0009] The turntable is controlled to rotate according to the corresponding relationship between the rotation angle of the turntable and the feeding time, so that the turntable is rotated until the food slot of the food type corresponding to the feeding time is in an unblocked state.
[0010] In combination with the first aspect, in a first possible implementation manner of the first aspect, the method further includes:
[0011] receiving a feeding instruction including a food type, and controlling the turntable to rotate to a target rotation angle corresponding to the feeding instruction according to a preset correspondence between the food type and the rotation angle;
[0012] Alternatively, a turntable rotation instruction including a rotation angle is received, and the turntable is controlled to rotate according to the rotation angle.
[0013] In combination with the first aspect, in a second possible implementation of the first aspect, controlling the rotation of the turntable according to the correspondence between the rotation angle of the turntable and the feeding time includes:
[0014] When the turntable is controlled to rotate according to the corresponding relationship between the rotation angle of the turntable and the feeding time, the operating current of the driving motor is detected;
[0015] If, within a predetermined detection period, a predetermined proportion of the operating current exceeds a predetermined current threshold, it is determined that the rotary disk is in a stalled state.
[0016] In combination with the first aspect, in a third possible implementation of the first aspect, controlling the rotation of the turntable according to the correspondence between the rotation angle of the turntable and the feeding time includes:
[0017] If the turntable is not detected at the target rotation angle corresponding to the feeding time within a predetermined time period after the turntable starts to rotate according to the correspondence between the rotation angle of the turntable and the feeding time, it is determined that the turntable is in a stalled state.
[0018] In combination with the second possible implementation manner of the first aspect or the third possible implementation manner of the first aspect, in a fourth possible implementation manner of the first aspect, after determining that the turntable is in a stalled state, the method further includes:
[0019] generating a stall elimination instruction at a predetermined time interval;
[0020] According to the stall elimination instruction, the turntable is controlled to rotate toward the target rotation angle in a predetermined rotation direction, or is controlled to rotate toward the target rotation angle in a direction opposite to the predetermined rotation direction, or is controlled to retreat a predetermined angle and then rotate toward the target rotation angle.
[0021] With reference to the first aspect, in a fifth possible implementation of the first aspect, after controlling the turntable to rotate toward the target rotation angle in a predetermined rotation direction according to the jam elimination instruction, or controlling the turntable to rotate toward the target rotation angle in a direction opposite to the predetermined rotation direction, or controlling the turntable to retreat a predetermined angle and then rotate toward the target rotation angle, the method further includes:
[0022] When the number of attempts according to the stall elimination instruction exceeds a predetermined number threshold, a stall state reminder message is generated.
[0023] In combination with any one of the first aspect to the third possible implementation manner of the first aspect or the fifth possible implementation manner of the first aspect, in a sixth possible implementation manner of the first aspect, the method further includes:
[0024] Detecting the position and posture of the turntable according to a predetermined detection period;
[0025] Determining a deviation between the detected posture and the standard posture, wherein the deviation includes a deviation angle and a deviation direction;
[0026] The turntable is controlled to reset according to the deviation angle and the deviation direction.
[0027] A second aspect of an embodiment of the present application provides a feeding control device for a pet feeder, the pet feeder comprising a turntable for holding food, the turntable being provided with food slots divided according to predetermined angles, a shielding member being provided on the upper portion of the turntable for shielding a predetermined number of food slots, the turntable being driven by a drive motor, the device comprising:
[0028] A feeding plan acquisition unit, configured to acquire a preset feeding plan, wherein the feeding plan includes a correspondence between food types and feeding times;
[0029] a correspondence determination unit, configured to determine a correspondence between the rotation angle of the turntable and the feeding time according to the feeding plan and in combination with a preset correspondence between food types and rotation angles;
[0030] The rotation control unit is used to control the rotation of the turntable according to the corresponding relationship between the rotation angle of the turntable and the feeding time, so that the turntable rotates until the food slot of the food type corresponding to the feeding time is in an unblocked state.
[0031] A third aspect of an embodiment of the present application provides a pet feeder, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the computer program, the steps of the method described in any one of the first aspects are implemented.
[0032] A fourth aspect of an embodiment of the present application provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the method described in any one of the first aspects are implemented. Beneficial effects
[0033] Compared with the prior art, the present embodiment has the following advantages: by placing pet food on a turntable with food troughs, the present embodiment facilitates the control of dry and wet food separation. Based on the predetermined correspondence between food types and rotation angles, combined with the correspondence between food types and feeding times in the feeding plan, the turntable's rotation angles at different times are determined, and the turntable's rotation is controlled based on the determined rotation angles, so that food of the corresponding type in the feeding plan is rotated out at the corresponding time. This facilitates precise control of the pet's meal times, food types, and food quantities for different types of food, thereby improving the user's feeding convenience. BRIEF DESCRIPTION OF THE DRAWINGS
[0034] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the following briefly introduces the drawings required for use in the embodiments or descriptions of the prior art. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without any creative work.
[0035] FIG1 is a schematic structural diagram of a pet feeder provided in an embodiment of the present application;
[0036] FIG2 is a schematic diagram of a flow chart of a feeding control method for a pet feeder according to an embodiment of the present application;
[0037] FIG3 is a schematic diagram of a food trough provided in an embodiment of the present application;
[0038] FIG4 is a schematic diagram of an implementation flow of a method for screening abnormal states of a rotation process provided by an embodiment of the present application;
[0039] FIG5 is a schematic diagram of a flow chart of a method for eliminating stalling provided in an embodiment of the present application;
[0040] FIG6 is a schematic diagram of a process flow for implementing a turntable resetting method provided in an embodiment of the present application;
[0041] FIG7 is a schematic diagram of a turntable reset provided in an embodiment of the present application;
[0042] FIG8 is a schematic diagram of a feeding control device of a pet feeder provided in an embodiment of the present application;
[0043] FIG9 is a schematic diagram of a pet feeder provided in an embodiment of the present application. Modes for Carrying Out the Invention
[0044] In the following description, specific details such as specific system structures and techniques are provided for purposes of illustration rather than limitation to facilitate a thorough understanding of the embodiments of the present application. However, it will be apparent to those skilled in the art that the present application may be implemented in other embodiments without these specific details. In other cases, detailed descriptions of well-known systems, devices, circuits, and methods are omitted to avoid obscuring the description of the present application with unnecessary detail.
[0045] In order to illustrate the technical solution described in this application, specific embodiments are provided below.
[0046] As people's material living standards improve, their pursuit of spiritual life is also increasing. Raising pets can enrich people's spiritual life and bring them happiness and companionship. Therefore, raising pets has become the choice of more and more people, and the convenience of feeding has become a concern for people when raising pets.
[0047] Typically, pets are fed a single serving of food, which is a portion of food delivered to the pet at each meal. This method requires manual feeding at each meal, which is cumbersome. Furthermore, it is difficult to separate wet and dry food during feeding, hindering accurate feeding control.
[0048] Based on this, an embodiment of the present application proposes a pet feeder. FIG1 is a schematic structural diagram of a pet feeder provided by an embodiment of the present application. As shown in FIG1 , the pet feeder includes a turntable 10, a drive motor 20, a shielding component 30, and a control module 40. Specifically, more than two food troughs 101 can be provided on the turntable 10, and the food troughs 101 can be divided according to the angle of the turntable 10. For example, when there are five food troughs 101 on the turntable 10, the food troughs can be respectively provided in the ranges of 0-72 degrees, 72-144 degrees, 144-216 degrees, 216-288 degrees, and 288-360 degrees in the turntable.
[0049] The shielding portion 30 is used to shield a portion of the food trough 101 in the turntable 10, temporarily preventing the pet from eating the food in the food trough 101. The food trough 101 that is not shielded can be used for the pet to eat. In general, the number of unshielded food troughs 101 can be one or two.
[0050] The drive motor 20 is used to drive the turntable 10 to rotate. The drive motor 20 can be a stepper motor or a DC motor. The drive motor 20 can receive a control signal from the control module 40 to drive the turntable to rotate to a desired rotation angle, thereby facilitating the control of the states of different food troughs 101 at different times. In the timing control process, the time for controlling the rotation of the turntable can be determined by a crystal oscillator and a real-time clock (RTC in English). The control module 40 is responsible for the control of the entire pet feeder, as well as the signal processing and logical judgment of the feedback, and the logic output. The control module 40 includes but is not limited to a microcontroller (MCU), a central processing unit (SOC), a logic circuit, etc.
[0051] FIG2 is a schematic diagram of a process flow for implementing a control method for a pet feeder according to an embodiment of the present application, which is described in detail as follows:
[0052] In S201, a preset feeding plan is obtained, where the feeding plan includes a correspondence between food types and feeding times.
[0053] The feeding plan in the embodiment of the present application can include the types of food that need to be fed, and the feeding times of different types of food. For example, when the types of food that need to be fed include A, B, and C, it can be set to feed Class A food in the morning, Class B food at noon, and Class C food in the evening. Or, at the same time, when the number of food troughs in the turntable that are not blocked is 2 (such as two adjacent food troughs), the feeding plan can be set to a combination of different foods at the same time, including a combination of dry and wet foods. For example, the feeding plan can include feeding Class A food and Class B food in the morning, feeding Class A food and Class C food at noon, and feeding Class B food and Class C food in the evening. Since different foods are in different food troughs, the dry and wet separation of pet food can be effectively achieved.
[0054] In the feeding plan of the present application, the correspondence between food troughs and feeding times can be pre-set. For example, if the turntable includes N food troughs, and the number of food troughs in a feedable state (unblocked) at any one time is 1, then the correspondence between food types and feeding times can be determined by placing the food items in the food troughs in order.
[0055] In one possible implementation, the pet feeder can communicate with a smart terminal, allowing the smart terminal to set the mapping between food types and feeding times. For example, after a user places food in a food trough, the user can use the smart terminal to select the mapping between each food trough and the food type, and set the mapping between different food types and feeding times. Once the smart terminal completes the settings, the configured feeding plan can be sent to the pet feeder. Alternatively, the user can set the feeding plan using the pet feeder's setting buttons and prompts on the display.
[0056] In order to facilitate setting the corresponding relationship between the food types and the food troughs in the feeding plan, food trough identifiers can be set on the food troughs, and the positions of the food troughs can be determined according to the food trough identifiers. For example, the food trough identifiers can include digital identifiers.
[0057] In S202, the corresponding relationship between the rotation angle of the turntable and the feeding time is determined according to the feeding plan and in combination with the pre-set corresponding relationship between the food types and the rotation angles.
[0058] The types of food in the embodiment of the present application can be set in the food troughs in the turntable in sequence according to the order of feeding time. In this case, combined with the correspondence between the food types and the rotation angles, the correspondence between the determined rotation angles and the feeding times, as time goes by, it is only necessary to rotate the predetermined angle at the set time to switch the turntable to the next food trough for feeding, which can improve the convenience of feeding control.
[0059] For example, in the turntable schematic diagram shown in FIG3 , the turntable includes 6 food troughs, the feeding plan includes six types of food, A, B, C, D, E, and F, and the feeding order of the feeding plan is A, B, C, D, E, and F. Then, according to the feeding order, A, B, C, D, E, and F can be placed in food troughs 1, 2, 3, 4, 5, and 6 in sequence. The determined corresponding relationship between the rotation angle and the feeding time can be: the first moment corresponds to a rotation angle of 0 degrees, the second moment corresponds to a rotation angle of 60 degrees, the third moment corresponds to a rotation angle of 120 degrees, the fourth moment corresponds to a rotation angle of 180 degrees, the fifth moment corresponds to a rotation angle of 240 degrees, and the sixth moment corresponds to a rotation angle of 300 degrees. Among them, the first moment to the sixth moment are different sequential feeding times.
[0060] In a possible implementation, the correspondence between the food types in the food trough and the rotation angle (the correspondence between the food types and the rotation angle is the angle at which the turntable rotates from the initial state to the state at which the food type is feedable. The same food type can be placed in multiple food troughs and can correspond to multiple rotation angles) can be arbitrarily configured, and the correspondence between the food types and the feeding time in the feeding plan can also be arbitrarily configured. For example, the food types include two types, A and B, and the feeding plan is to feed types A and B alternately. In a turntable including N food troughs, the food troughs where type A food is located can be set to be the 1st to |N / 2|th food troughs configured with type A food, and the |N / 2|+1th food trough to the Nth food trough are configured with type B food. Alternatively, type A food and type B food can also be alternately arranged in the food troughs.
[0061] In S203, the turntable is controlled to rotate according to the corresponding relationship between the rotation angle of the turntable and the feeding time, so that the turntable rotates until the food slot of the food type corresponding to the feeding time is in an unblocked state.
[0062] After determining the correspondence between the turntable's rotation angle and the feeding time, when the corresponding feeding time arrives, control the turntable to the corresponding rotation angle. The turntable's rotation angle is the angle the turntable needs to rotate to reach the target position from the initial state. When determining the required rotation amplitude at the current time, the required rotation amplitude can be determined based on the position before rotation and the target position corresponding to the rotation angle. For example, if the position before rotation is 180 degrees and the target position corresponding to the rotation angle is 300 degrees, then the rotation amplitude is 300-180=120 degrees. You only need to rotate 120 degrees in the predetermined rotation direction based on the current position to make the target food trough in a feedable state.
[0063] In the embodiment of the present application, in addition to pre-setting a feeding plan for feeding, feeding instructions can also be received for feeding.
[0064] For example, the feeding instruction may be a feeding instruction including specific types of food. For example, the types of food include A, B, and C types of food. When a feeding instruction for type A food is received, the turntable can be controlled to rotate so that the food trough containing type A food is in a feedable state. When the same type of food is contained in more than two food troughs, a selection can be made based on the number of times the food trough is opened (or the number of times it is in a feedable state) and the size of the food trough. For example, when it is detected that the number of times a food trough is in a feedable state reaches a predetermined number, the food in the food trough may have been consumed, and the next food trough containing the same type of food can be controlled to be in a feedable state by rotation. Alternatively, the amount of food remaining in the food trough can be determined by weight detection or other methods. When the amount of food remaining in the food trough is less than a predetermined food amount threshold, the turntable is controlled to rotate until the next food trough containing the same type of food is in a feedable state.
[0065] During the operation of the pet feeder, food residue or other objects may clog the turntable, causing it to be stuck. In order to promptly detect whether the turntable is abnormal, the abnormal state screening during the rotation process and the abnormal state screening based on the duration can be used to determine whether the turntable is abnormal.
[0066] As shown in Figure 4, abnormal status screening of the rotation process may include:
[0067] In S401, the operating current of the driving motor is detected while the rotation of the turntable is controlled according to the corresponding relationship between the rotation angle of the turntable and the feeding time.
[0068] Based on the corresponding relationship between feeding time and rotation angle, the turntable is controlled to rotate when the set time is reached. At this time, the operating current of the drive motor can be sampled according to the pre-set sampling time. The operating current can be sampled using a current sensor such as a Dürer sensor.
[0069] In S402 , if, within a predetermined detection period, the operating current exceeding a predetermined proportion is greater than a predetermined current threshold, it is determined that the turntable is in a stalled state.
[0070] The sampled current can be converted into a digital current signal through analog-to-digital conversion, and the current of the digital signal can be compared with a predetermined current threshold to determine whether the sampled current is greater than the current threshold. Alternatively, the analog current signal can be directly compared with a comparator to determine whether the sampled current is greater than the current threshold.
[0071] The detection period can be shorter than the time it takes for the turntable to complete a single rotation. By monitoring the operating current (i.e., the current required to drive the motor) during the turntable's rotation, if a predetermined proportion of the detected current exceeds a current threshold within a predetermined period, the turntable is determined to be in a stalled state. Since a predetermined proportion of the sampled values within the detection period are all greater than the current threshold, the impact of interference signals on the detection results can be effectively reduced, improving detection accuracy.
[0072] In a possible implementation, abnormal states can be filtered based on duration to determine whether the turntable is in an abnormal state of stalling. For example, based on the correspondence between rotation angle and feeding time, the turntable can be controlled to rotate after a predetermined time has elapsed. Within a predetermined period of time after the turntable begins rotating or after a control command is issued, the turntable is checked to determine whether it has reached the target position corresponding to the feeding time.
[0073] The predetermined duration may be greater than the duration required for the turntable to complete a single rotation under standard conditions. For example, if the duration for completing a single rotation under standard conditions is 2-3 seconds, the predetermined duration may be 5 seconds, 7 seconds, or the like.
[0074] When detecting whether the turntable has rotated to the target position, the real-time angle of the turntable can be determined by using infrared sensors, duplex sensors, ultrasonic sensors or encoders, and the real-time angle of the turntable is compared with the angle of the target position to determine whether the turntable has completed the rotation task.
[0075] When the rotation process screening or the time length screening determines that the turntable is in a stalled state, a stall prompt may be output, or the stall may be eliminated according to a predetermined stall elimination method.
[0076] The method for eliminating stalling may be as shown in FIG5 , including:
[0077] In S501 , a stall elimination instruction is generated at a predetermined time interval.
[0078] When it is determined that the turntable is in a stalled state, stall elimination processing can be performed at predetermined time intervals, that is, stall elimination instructions are periodically generated to eliminate the stall, thereby reducing the probability of damage to the motor or other equipment due to continued stalling.
[0079] In S502, according to the stall elimination instruction, the turntable is controlled to rotate toward the target rotation angle in a predetermined rotation direction, or is controlled to rotate toward the target rotation angle in a direction opposite to the predetermined rotation direction, or is controlled to move back a predetermined angle and then rotate toward the target rotation angle.
[0080] When a stall is eliminated according to a stall elimination instruction, the stall can be eliminated by switching the rotation direction. For example, before the stall occurs, the turntable rotates in a first direction (clockwise or counterclockwise). When the turntable is detected to be in a stalled state, the turntable is controlled to rotate in a second direction (opposite to the first direction) to try to eliminate the stall.
[0081] Alternatively, the system may rotate toward the target rotation angle of the current rotation task according to the stall elimination instruction at a predetermined time interval, and determine whether the stall state can be eliminated by making several attempts at a predetermined time interval.
[0082] Alternatively, the motor can be controlled to rotate in a first direction by a predetermined angle and then in a second direction. The second direction can be the direction that completes the current rotation task, and the first and second directions are parallel. The stalled state can be eliminated by backing off and trying again.
[0083] When the number of attempts reaches a predetermined threshold and the jam still cannot be eliminated, a prompt message indicating that the jam elimination attempt failed may be generated, for example, a prompt message may be sent to a bound smart terminal.
[0084] During the use of the pet feeder, the angle of the turntable may deviate due to improper use by the pet or other reasons. In order to improve the reliability of the pet feeder, a process of resetting the turntable may be included, as shown in Figure 6. The process includes:
[0085] In S601, the position and posture of the turntable is detected according to a predetermined detection period.
[0086] The predetermined detection period can be determined based on the usage time of the pet feeder and the frequency of malfunctions. For example, the longer the pet feeder is used, the shorter the detection period can be. The more frequently the turntable position anomalies occur, the shorter the detection period can be.
[0087] The position of the turntable can be expressed as the rotation angle of the turntable, which can be detected by any one of an infrared sensor, a Hall sensor, an ultrasonic sensor, or an encoder.
[0088] In S602 , a deviation between the detected posture and the standard posture is determined, where the deviation includes a deviation angle and a deviation direction.
[0089] Based on the corresponding relationship between feeding time and rotation angle, combined with the feeding time determined at the current time, the standard position of the turntable, that is, the standard rotation angle, can be obtained. The deviation between the detected position and the standard position can be expressed as the deviation between the standard rotation angle and the current rotation angle.
[0090] For example, based on the corresponding relationship between feeding time and rotation angle, if the current rotation angle is 270 degrees and the actual rotation angle is 280 degrees, the deviation is 10 degrees. If the rotation direction is set to counterclockwise, the turntable can be controlled to rotate 10 degrees in the same direction or 350 degrees clockwise.
[0091] In S603, the turntable is controlled to reset according to the deviation angle and the deviation direction.
[0092] After determining the deviation between the standard posture and the detection posture, the turntable can be controlled to rotate and return to the standard posture.
[0093] Figure 7 shows a schematic diagram of the turntable's deviation reset. The reset direction can be set to a predetermined direction, such as counterclockwise. As shown in the upper portion of Figure 7, when the turntable deviates counterclockwise, it can be rotated a larger angle counterclockwise to return to its standard position. As shown in the lower portion of Figure 7, when the turntable deviates clockwise, it can be rotated a smaller angle counterclockwise to return to its standard position.
[0094] It should be understood that the size of the serial numbers of the steps in the above embodiments does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of this application.
[0095] FIG8 is a schematic diagram of a feeding control device for a pet feeder provided in an embodiment of the present application. The pet feeder includes a turntable for holding food, the turntable being provided with food slots divided according to predetermined angles, and a shielding member for shielding a predetermined number of food slots being provided on the upper portion of the turntable. The turntable is driven by a drive motor. The device includes:
[0096] The feeding plan acquiring unit 801 is configured to acquire a preset feeding plan, wherein the feeding plan includes a correspondence between food types and feeding times.
[0097] The correspondence determination unit 802 is configured to determine the correspondence between the rotation angle of the turntable and the feeding time according to the feeding plan and the pre-set correspondence between the food types and the rotation angles.
[0098] The rotation control unit 803 is used to control the rotation of the turntable according to the corresponding relationship between the rotation angle of the turntable and the feeding time, so that the turntable rotates until the food slot of the food type corresponding to the feeding time is unblocked.
[0099] In a possible implementation, the device further includes:
[0100] The first instruction receiving unit is used to receive a feeding instruction including a food type, and control the turntable to rotate to a target rotation angle corresponding to the feeding instruction according to a preset correspondence between the food type and the rotation angle.
[0101] Alternatively, the second instruction receiving unit is configured to receive a turntable rotation instruction including a rotation angle, and control the rotation of the turntable according to the rotation angle.
[0102] In a possible implementation, the rotation control unit includes:
[0103] a working current detection subunit, configured to detect the working current of the driving motor when controlling the rotation of the turntable according to the corresponding relationship between the rotation angle of the turntable and the feeding time;
[0104] The first state determining unit is configured to determine that the rotary disk is in a stalled state if, within a predetermined detection period, a working current exceeding a predetermined proportion is greater than a predetermined current threshold.
[0105] In a possible implementation, the rotation control unit includes:
[0106] The second state determination unit is used to determine that the turntable is in a stalled state if the turntable is not detected to be at the target rotation angle corresponding to the feeding time within a predetermined time period after the turntable starts to rotate according to the correspondence between the rotation angle of the turntable and the feeding time.
[0107] In a possible implementation, the device further includes:
[0108] An instruction generating unit, configured to generate a stall elimination instruction at a predetermined time interval;
[0109] A rotation control unit is used to control the turntable to rotate toward a target rotation angle in a predetermined rotation direction according to the jam elimination instruction, or to control the turntable to rotate toward the target rotation angle in a direction opposite to the predetermined rotation direction, or to control the turntable to retreat a predetermined angle and then rotate toward the target rotation angle.
[0110] In a possible implementation, the device further includes:
[0111] The reminder unit is configured to generate a stall status reminder message when the number of attempts according to the stall elimination instruction exceeds a predetermined number threshold.
[0112] In a possible implementation, the device further includes:
[0113] A posture detection unit, configured to detect the posture of the turntable according to a predetermined detection period;
[0114] A posture deviation determining unit, configured to determine a deviation between the detected posture and a standard posture, wherein the deviation includes a deviation angle and a deviation direction;
[0115] A reset unit is used to control the reset of the turntable according to the deviation angle and the deviation direction.
[0116] The control device of the pet feeder shown in FIG. 8 corresponds to the feeding control method of the pet feeder shown in FIG. 2 .
[0117] Figure 9 is a schematic diagram of a pet feeder provided in an embodiment of the present application. As shown in Figure 9 , the pet feeder 9 of this embodiment includes a processor 90, a memory 91, and a computer program 92 stored in the memory 91 and executable on the processor 90, such as a pet feeder feeding control program. When the processor 90 executes the computer program 92, it implements the steps described in the various pet feeder feeding control method embodiments described above. Alternatively, when the processor 90 executes the computer program 92, it implements the functions of the various modules / units described in the various device embodiments described above.
[0118] For example, the computer program 92 may be divided into one or more modules / units, which are stored in the memory 91 and executed by the processor 90 to implement the present application. The one or more modules / units may be a series of computer program instruction segments capable of performing specific functions, and the instruction segments are used to describe the execution process of the computer program 92 in the pet feeder 9.
[0119] The pet feeder may include, but is not limited to, a processor 90 and a memory 91. Those skilled in the art will appreciate that FIG9 is merely an example of a pet feeder 9 and does not limit the pet feeder 9. The pet feeder 9 may include more or fewer components than shown, or may combine certain components or different components. For example, the pet feeder may further include input and output devices, network access devices, buses, and the like.
[0120] The processor 90 may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. The general-purpose processor may be a microprocessor or any conventional processor.
[0121] The memory 91 can be an internal storage unit of the pet feeder 9, such as a hard drive or memory of the pet feeder 9. The memory 91 can also be an external storage device of the pet feeder 9, such as a plug-in hard drive, a Smart Media Card (SMC), a Secure Digital (SD) card, a flash memory card, etc. Furthermore, the memory 91 can include both the internal storage unit of the pet feeder 9 and an external storage device. The memory 91 is used to store the computer program and other programs and data required by the pet feeder. The memory 91 can also be used to temporarily store data that has been output or is about to be output.
[0122] Those skilled in the art can clearly understand that, for the convenience and brevity of description, only the division of the above-mentioned functional units and modules is used as an example for illustration. In actual applications, the above-mentioned functions can be distributed and completed by different functional units and modules as needed, that is, the internal structure of the device can be divided into different functional units or modules to complete all or part of the functions described above. The functional units and modules in the embodiment can be integrated into one processing unit, or each unit can exist physically alone, or two or more units can be integrated into one unit. The above-mentioned integrated unit can be implemented in the form of hardware or in the form of software functional units. In addition, the specific names of the functional units and modules are only for the convenience of distinguishing each other, and are not used to limit the scope of protection of this application. The specific working process of the units and modules in the above-mentioned system can refer to the corresponding process in the aforementioned method embodiment, and will not be repeated here.
[0123] In the above embodiments, the description of each embodiment has its own focus. For parts that are not described or recorded in detail in a certain embodiment, reference can be made to the relevant description of other embodiments.
[0124] Those skilled in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this application.
[0125] In the embodiments provided in this application, it should be understood that the disclosed devices / terminal equipment and methods can be implemented in other ways. For example, the device / terminal equipment embodiments described above are merely illustrative. For example, the division of the modules or units is merely a logical function division. In actual implementation, there may be other division methods, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.
[0126] The units described as separate components may or may not be physically separate, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed across multiple network units. Some or all of these units may be selected to achieve the purpose of this embodiment according to actual needs.
[0127] In addition, the functional units in the various embodiments of the present application may be integrated into a single processing unit, or each unit may exist physically separately, or two or more units may be integrated into a single unit. The aforementioned integrated units may be implemented in the form of hardware or software functional units.
[0128] If the integrated module / unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the present application implements all or part of the process in the above-mentioned embodiment method, which can also be completed by hardware related to computer program instructions. The computer program can be stored in a computer-readable storage medium, and when the computer program is executed by the processor, it can implement the steps of the above-mentioned various method embodiments. Among them, the computer program includes computer program code, and the computer program code can be in source code form, object code form, executable file or some intermediate form. The computer-readable medium may include: any entity or device capable of carrying the computer program code, recording medium, USB flash drive, mobile hard disk, magnetic disk, optical disk, computer memory, read-only memory (ROM), random access memory (RAM), electric carrier signal, telecommunication signal and software distribution medium. It should be noted that the content contained in the computer-readable medium can be appropriately increased or decreased according to the requirements of legislation and patent practice in the jurisdiction. For example, in some jurisdictions, according to legislation and patent practice, computer-readable media do not include electric carrier signals and telecommunication signals.
[0129] The above-described embodiments are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. These modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the various embodiments of the present application, and should all be included in the scope of protection of the present application.
Claims
1. A feeding control method for a pet feeder, characterized in that: The pet feeder comprises a turntable for holding food, the turntable is provided with food slots divided according to predetermined angles, a shielding component for shielding a predetermined number of food slots is provided on the upper part of the turntable, the turntable is driven by a driving motor, and the method comprises: Obtaining a preset feeding plan, wherein the feeding plan includes a correspondence between food types and feeding times; According to the feeding plan, in combination with the preset correspondence between the food type and the rotation angle, determining the correspondence between the rotation angle of the turntable and the feeding time; The rotation of the turntable is controlled according to the corresponding relationship between the rotation angle of the turntable and the feeding time, so that the turntable is rotated until the food slot of the food type corresponding to the feeding time is in an unblocked state.
2. The method according to claim 1, characterized in that The method further comprises: receiving a feeding instruction including a food type, and controlling the turntable to rotate to a target rotation angle corresponding to the feeding instruction according to a preset correspondence between the food type and the rotation angle; Alternatively, a turntable rotation instruction including a rotation angle is received, and the turntable is controlled to rotate according to the rotation angle.
3. The method according to claim 1, characterized in that Controlling the rotation of the turntable according to the corresponding relationship between the rotation angle of the turntable and the feeding time includes: When the rotating disk is controlled to rotate according to the corresponding relationship between the rotating angle of the rotating disk and the feeding time, the working current of the driving motor is detected; If, within a predetermined detection period, a predetermined proportion of the operating current is greater than a predetermined current threshold, it is determined that the rotating disk is in a stalled state.
4. The method according to claim 1, characterized in that: Controlling the rotation of the turntable according to the corresponding relationship between the rotation angle of the turntable and the feeding time includes: If the turntable is not detected to be at the target rotation angle corresponding to the feeding time within a predetermined time after the turntable is controlled to start rotating according to the correspondence between the rotation angle of the turntable and the feeding time, it is determined that the turntable is in a stalled state.
5. The method according to claim 3 or 4, characterized in that: After determining that the turntable is in a stalled state, the method further includes: generating a stall elimination instruction at a predetermined time interval; According to the jam elimination instruction, the turntable is controlled to rotate toward a target rotation angle in a predetermined rotation direction, or is controlled to rotate toward a target rotation angle in a direction opposite to the predetermined rotation direction, or is controlled to retreat a predetermined angle and then rotate toward the target rotation angle.
6. The method according to claim 5, characterized in that After controlling the turntable to rotate toward the target rotation angle in a predetermined rotation direction according to the jam elimination instruction, or controlling the turntable to rotate toward the target rotation angle in a direction opposite to the predetermined rotation direction, or controlling the turntable to retreat a predetermined angle and then rotate toward the target rotation angle, the method further includes: When the number of attempts according to the stall elimination instruction exceeds a predetermined number threshold, a stall state reminder message is generated.
7. The method according to any one of claims 1 to 4 and 6, characterized in that The method further comprises: Detecting the position and posture of the turntable according to a predetermined detection period; Determine a deviation between the detected posture and the standard posture, wherein the deviation includes a deviation angle and a deviation direction; The turntable is controlled to reset according to the deviation angle and the deviation direction.
8. A feeding control device for a pet feeder, characterized in that: The pet feeder comprises a turntable for holding food, the turntable is provided with food slots divided according to predetermined angles, a shielding member for shielding a predetermined number of food slots is provided on the upper part of the turntable, the turntable is driven by a driving motor, and the device comprises: A feeding plan acquisition unit, used to acquire a preset feeding plan, wherein the feeding plan includes a correspondence between food types and feeding times; a corresponding relationship determining unit, configured to determine the corresponding relationship between the rotation angle of the turntable and the feeding time according to the feeding plan and in combination with the preset corresponding relationship between the food type and the rotation angle; The rotation control unit is used to control the rotation of the turntable according to the corresponding relationship between the rotation angle of the turntable and the feeding time, so that the turntable rotates until the food slot of the food type corresponding to the feeding time is in an unblocked state.
9. A pet feeder, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 7 are implemented.
10. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 7 are implemented.
Citation Information
Patent Citations
Timing feeder
CN206658787U
Rotating disc type pet feeder
CN215582880U
Rotating disc type pet feeder
CN217089105U
Rotatable plastic pet feeder
CN217546977U
Automatic food feeder
TWM470513U