Anti-pinch device control method, device and storage medium for cat litter box
By using two sets of vertical anti-pinch devices in the cat litter box to respectively monitor the clockwise or counterclockwise rotation direction of the cat litter box, the problem of unclear cleaning caused by misjudgment of obstructions in the existing technology is solved, and a more efficient The safety of excrement cleaning and cat litter box rotation.
Patent Information
- Application Number
- CN202110939545.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-08-16
- Publication Date
- 2024-08-23
- Estimated Expiration
- 2041-08-16
AI Technical Summary
The anti-pinch device of the existing cat litter box is prone to stop rotating due to misjudgment of obstructions during the cleaning process of excrement, resulting in the excrement not being completely cleaned, causing the problem of incomplete cleaning.
Two sets of vertical anti-pinch devices are used to monitor the left and right edges of the cat litter box base window respectively. According to the clockwise or counterclockwise rotation direction of the cat litter box, the corresponding anti-pinch device is selected to monitor the obstruction to ensure that the excrement can completely fall into the garbage. barrel and reduce unnecessary stopping motions.
It improves the automatic cleaning efficiency of the cat litter box, ensures that excrement is completely cleaned, and protects cats from being pinched. At the same time, it optimizes the use logic of the anti-pinch device and reduces unnecessary stopping actions.
Smart Images

Figure CN115885864B
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of pet breeding equipment control, and in particular to a control method, a device and a storage medium for an anti-pinch device of a cat litter box. Background Art
[0002] Since cats have the physiological habit of burying their excrement by stirring up the cat litter after defecation, breeders will equip their pet cats with a special cat toilet, namely a cat litter box. A cat litter box usually includes a cat litter tube and a base. The cat litter tube is provided with a pouring port, and the base is provided with a window opposite to the built-in trash can. When cleaning the excrement, the cat litter tube starts to rotate. When the pouring port of the cat litter tube rotates to the position of the window on the base, the excrement wrapped in the cat litter falls from the pouring port into the built-in trash can under the action of gravity, completing the automatic cleaning process of the cat litter tube.
[0003] At present, in order to avoid the problem that the cat's feet or other objects are inserted into the window of the base when the cat litter barrel rotates and the cat is inside the barrel, and the cat's feet or other objects are clamped in the barrel when the cat litter barrel rotates, two sets of anti-pinch devices are installed on the left and right edges near the base window, which respectively monitor whether there are any obstructions near the left and right walls of the built-in trash can. When any set of anti-pinch devices detects an obstruction, the cat litter barrel is controlled to stop rotating to prevent the cat from being clamped during the rotation of the cat litter barrel.
[0004] However, although the anti-pinch device set at the edge of the base window can prevent the cat from being pinched during the rotation of the cat litter barrel, when the excrement has not completely fallen into the trash can from the dumping port, it is sometimes detected by the anti-pinch device as an obstruction, causing the cat litter barrel to stop rotating, and then causing the excrement to be pinched at the dumping port and unable to complete the automatic cleaning of the cat litter barrel, resulting in the phenomenon of incomplete excrement cleaning. Summary of the invention
[0005] The purpose of the present invention is to propose a control method, device and storage medium for an anti-pinch device of a cat litter box in view of the above-mentioned deficiencies in the prior art. This purpose is achieved through the following technical solutions.
[0006] A first aspect of the present invention provides a method for controlling an anti-pinch device for a cat litter box, the method comprising:
[0007] When the cat litter box rotates clockwise, if the first anti-pinch device detects that there is an obstruction on the base window of the cat litter box, the cat litter tube is controlled to stop rotating;
[0008] When the cat litter box rotates counterclockwise, if the second anti-pinch device detects that there is an obstruction on the base window of the cat litter box, the cat litter tube is controlled to stop rotating;
[0009] The first anti-pinch device and the second anti-pinch device are respectively used to monitor obstructions located at two opposite edges of the base window, and the two opposite edges are perpendicular to the rotation direction.
[0010] In some embodiments of the present application, before obtaining the rotation direction of the cat litter tube in the cat litter box, the method further includes:
[0011] When a cat is detected entering or exiting the cat litter cylinder, a first weight of the cat litter cylinder before the cat enters and a second weight of the cat litter cylinder after the cat exits are obtained; and according to the difference between the first weight and the second weight exceeding a threshold value, the cat litter cylinder is controlled to rotate according to the automatic cleaning control logic of the cat litter cylinder.
[0012] In some embodiments of the present application, the method also includes a process of obtaining the rotation direction of the cat litter tube in the cat litter box: determining the rotation direction of the cat litter tube according to the rotation direction of the motor in the cat litter box; the rotation direction includes clockwise rotation and counterclockwise rotation.
[0013] In some embodiments of the present application, the first anti-pinch device is a first infrared pair tube; the method of monitoring the base window of the cat litter box by the first anti-pinch device for an obstruction includes:
[0014] The receiving and sending data between the first infrared tubes are monitored in real time; when the receiving and sending data is interrupted, it is determined that there is an obstruction on the base window.
[0015] In some embodiments of the present application, the second anti-pinch device is a second infrared pair tube; the method of monitoring the base window of the cat litter box for obstructions by the second anti-pinch device includes:
[0016] The receiving and sending data between the second infrared tubes are monitored in real time; when the receiving and sending data is interrupted, it is determined that there is an obstruction on the base window.
[0017] In some embodiments of the present application, the rotation direction is clockwise, and the method further includes:
[0018] According to the edge monitored by the first anti-pinch device on the base window being tangent to the first edge of the pouring port on the cat litter tube, the first anti-pinch device monitors that there is an obstruction on the base window of the cat litter box, and the cat litter tube is controlled to stop rotating.
[0019] In some embodiments of the present application, the rotation direction is counterclockwise, and the method further includes:
[0020] According to the edge monitored by the second anti-pinch device on the base window being tangent to the second edge of the pouring port on the cat litter tube, the second anti-pinch device monitors whether there is an obstruction on the base window of the cat litter box, and controls the cat litter tube to stop rotating.
[0021] The second aspect of the present invention provides an anti-pinch device control device for a cat litter box, the device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, and the processor implements the steps of the method described in the first aspect when executing the computer program.
[0022] A third aspect of the present invention provides a cat litter box, comprising:
[0023] The anti-pinch device control device for a cat litter box as described in the second aspect above;
[0024] A cat litter cylinder and a base, wherein the cat litter cylinder is arranged above the base, the cat litter cylinder is provided with a pouring port for discharging excrement, the base is provided with a window for receiving excrement, and the edge of the window is provided with a first anti-clamping device and a second anti-clamping device;
[0025] The first anti-pinch device and the second anti-pinch device are respectively used to monitor obstructions located at two opposite edges of the base window, and the two opposite edges are perpendicular to the rotation direction.
[0026] A fourth aspect of the present invention provides a computer-readable storage medium having a computer program stored thereon, wherein the program, when executed by a processor, implements the steps of the method described in the first aspect above.
[0027] Based on the control method of the anti-pinch device for a cat litter box described in the first aspect above, the technical solution of the present invention has the following beneficial effects or advantages:
[0028] The present invention optimizes the use logic of the anti-pinch device without changing the overall structure of the cat litter box and the original control logic. That is, when the cat litter tube rotates in a clockwise direction, the first anti-pinch device (used to monitor the obstruction at the left edge of the base window) monitors whether there is an obstruction on the base window of the cat litter box, and controls the cat litter tube to stop rotating. In this way, it can be ensured that when the pouring port of the cat litter tube is turned to the base window position, the excrement wrapped in cat litter can be completely discharged from the cat litter tube to the trash can built into the base; and when the cat litter tube rotates in a counterclockwise direction, the second anti-pinch device (used to monitor the obstruction at the right edge of the base window) monitors whether there is an obstruction on the base window of the cat litter box, and controls the cat litter tube to stop rotating. In this way, it can also be ensured that when the pouring port of the cat litter tube is turned to the base window position, the excrement wrapped in cat litter can be completely discharged from the cat litter tube to the trash can built into the base.
[0029] It can be seen that according to the different rotation directions of the cat litter cylinder, different anti-pinch devices are selected to monitor the obstructions near the edge of the corresponding base window as a condition for the cat litter cylinder to stop rotating, thereby reducing unnecessary stopping actions, which is conducive to the excrement falling into the trash can and improving the operating efficiency of the cat litter box. At the same time, it can also protect the cat from being pinched when the cat's feet are extended into the base window when the cat is in the rotating cat litter cylinder. It is worth noting that for the unselected anti-pinch devices, obstruction monitoring can be performed or not. BRIEF DESCRIPTION OF THE DRAWINGS
[0030] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on the structures shown in these drawings without paying creative work.
[0031] Figure 1 A schematic diagram of the structure of a cat litter box shown in the present invention;
[0032] Figure 2 A schematic top view of a base shown in the present invention;
[0033] Figure 3 The figure is a schematic flow chart of an embodiment of a method for controlling an anti-pinch device for a cat litter box according to an exemplary embodiment of the present invention;
[0034] Figure 4 The present invention is based on Figure 3 The illustrated embodiment shows a schematic diagram of a first edge of a pouring port on a cat litter tube being tangent to an edge of a window monitored by a first anti-pinch device;
[0035] Figure 5 The present invention is based on Figure 3 The illustrated embodiment shows a schematic diagram of a second edge of a pouring port on a cat litter tube being tangent to an edge of a window monitored by a second anti-pinch device;
[0036] Figure 6 It is a structural schematic diagram of a control device for an anti-pinch device for a cat litter box according to an exemplary embodiment of the present invention;
[0037] Figure 7 The figure is a schematic diagram of the structure of a storage medium according to an exemplary embodiment of the present invention.
[0038] The realization of the purpose, functional features and advantages of the present invention will be further explained in conjunction with embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION
[0039] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0040] It should be noted that all directional indications (such as up, down, left, right, front, back, etc.) in the embodiments of the present invention are only used to explain the relative position relationship, movement status, etc. between the components under a certain specific posture (as shown in the accompanying drawings). If the specific posture changes, the directional indication will also change accordingly.
[0041] In addition, in the present invention, descriptions such as "first", "second", etc. are only used for descriptive purposes and cannot be understood as indicating or implying their relative importance or implicitly indicating the number of the indicated technical features. Therefore, the features defined as "first" or "second" may explicitly or implicitly include at least one of the features. In the description of the present invention, the meaning of "plurality" is at least two, such as two, three, etc., unless otherwise clearly and specifically defined.
[0042] In the present invention, unless otherwise clearly specified and limited, the terms "connection", "fixation", etc. should be understood in a broad sense. For example, "fixation" can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection or an indirect connection through an intermediate medium, it can be the internal connection of two elements or the interaction relationship between two elements, unless otherwise clearly defined. For ordinary technicians in this field, the specific meanings of the above terms in the present invention can be understood according to specific circumstances.
[0043] In addition, the technical solutions between the various embodiments of the present invention can be combined with each other, but it must be based on the fact that ordinary technicians in the field can implement it. When the combination of technical solutions is contradictory or cannot be implemented, it should be deemed that such combination of technical solutions does not exist and is not within the scope of protection required by the present invention.
[0044] See also Figure 1 The cat litter box structure shown and Figure 2 As shown in the top view of the base, the cat litter box generally includes a cat litter tube 10 and a base 20.
[0045] The cat litter cylinder 10 is provided with a pouring port 101 for discharging excrement, and a screen plate 102 for separating cat litter and excrement wrapped in cat litter is also provided inside the cat litter cylinder 10. Furthermore, an anti-pinch device control device for the cat litter box is also provided inside the cat litter cylinder 10 ( Figure 1 not shown).
[0046] The base 20 is provided with a window 201 for receiving excrement, and a trash can ( Figure 1 and Figure 2 A set of anti-pinch devices AA' (hereinafter referred to as the first anti-pinch device) is installed at the left edge of the window 201 to monitor obstructions near the left edge of the window 201, and a set of anti-pinch devices BB' (hereinafter referred to as the second anti-pinch device) is installed at the right edge of the window 201 to monitor obstructions near the right edge of the window 201.
[0047] As can be seen from the above, the window edge monitored by the anti-pinch device AA and the window edge monitored by the anti-pinch device BB' are two opposite edges, and combined with Figure 1 and Figure 2 As shown, the two opposite edges are perpendicular to the rotation direction of the cat litter cylinder 10.
[0048] During the automatic cleaning process, the cat litter barrel 10 continues to rotate, and the screen plate 102 separates the cat litter from the excrement wrapped in the cat litter. When the pouring port 101 of the cat litter barrel 10 is rotated to the position of the window 201 of the base 20, the excrement wrapped in the cat litter is discharged into the trash can of the base. When the pouring port 101 completely leaves the window 201, the excretion process ends.
[0049] At present, in order to prevent the cat's feet from being clamped by the cat's feet when the cat litter tube 10 is in the cat litter tube 10 and extending into the base window, during the rotation of the cat litter tube 10, the anti-pinch device AA' monitors in real time whether there are any obstructions near the left edge of the window 201, and the anti-pinch device BB' monitors in real time whether there are any obstructions near the right edge of the window 201. When any of the anti-pinch devices detects an obstruction, the cat litter tube 10 is controlled to stop rotating to prevent the cat from being clamped.
[0050] However, although the anti-pinch device AA' and the anti-pinch device BB' can prevent the cat from being pinched during the rotation of the cat litter barrel 10, if the excrement has not completely fallen into the trash can from the dumping port 101, it may sometimes be caught on the edge of the window due to its high stickiness, or be pinched between the edge of the dumping port 101 and the edge of the window 201, and be detected by the anti-pinch device as an obstruction, causing the cat litter barrel to stop rotating, thereby resulting in the excrement being unable to be automatically cleaned, and the machine stopping rotating if the excrement is not cleaned thoroughly.
[0051] In order to solve the above-mentioned problem of incomplete excrement cleaning, the present invention optimizes the control logic of the anti-pinch device control device for the cat litter box without changing the overall structure of the cat litter box. The optimized control logic is:
[0052] During the automatic cleaning process of the cat litter barrel 10 rotating, if the first anti-pinch device detects that there is an obstruction in the window 201 of the base when the cat litter barrel 10 rotates clockwise, the cat litter barrel 10 is controlled to stop rotating; if the second anti-pinch device detects that there is an obstruction in the window 201 of the base when the cat litter barrel 10 rotates counterclockwise, the cat litter barrel is controlled to stop rotating.
[0053] Among them, the obstruction monitored by the first anti-pinch device or the second anti-pinch device refers to an object hanging on the edge of the base window, or clamped between the edge of the cat litter tube pouring port and the edge of the base window.
[0054] The technical effects that can be achieved based on the above description are:
[0055] The present invention does not change the overall structure of the cat litter box and the original control logic, but optimizes the use logic of the anti-pinch device, that is, when the cat litter tube rotates in the clockwise direction, the first anti-pinch device (used to monitor the obstruction at the left edge of the base window) monitors whether there is an obstruction on the base window of the cat litter box, and controls the cat litter tube to stop rotating, so that when the dumping port of the cat litter tube just starts to rotate to the base window position, the excrement wrapped in cat litter can be more efficiently discharged from the cat litter tube to the garbage can built into the base, and the cat litter tube can be prevented from dumping. When the pouring opening of the cat litter tube gradually rotates away from the base window, the pet cat will be pinched and injured; when the cat litter tube rotates counterclockwise, the second anti-pinch device (used to monitor the obstruction at the right edge of the base window) detects that there is an obstruction on the base window of the cat litter box, and controls the cat litter tube to stop rotating. This can also ensure that when the pouring opening of the cat litter tube just starts to turn to the base window position, the excrement wrapped in cat litter can be more efficiently discharged from the cat litter tube to the trash can built into the base, and at the same time, it can prevent the cat litter tube from pinching and injuring the pet cat when the pouring opening of the cat litter tube gradually rotates away from the base window.
[0056] It can be seen that according to the different rotation directions of the cat litter cylinder, different anti-pinch devices are selected to monitor the obstructions near the edge of the corresponding base window as a condition for the cat litter cylinder to stop rotating, thereby reducing the phenomenon of incomplete discharge of excrement in the cat litter cylinder, avoiding unnecessary stopping, and improving the operating efficiency of the cat litter box. At the same time, it can also protect the cat from being pinched when the cat's feet are extended into the base window when the cat is in the rotating cat litter cylinder. It is worth noting that the unselected anti-pinch device can monitor the obstruction or not.
[0057] In order to enable those skilled in the art to better understand the solution of the present application, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Embodiment 1
[0058] Figure 3The present invention is a schematic flow chart of an embodiment of a method for controlling an anti-pinch device for a cat litter box according to an exemplary embodiment of the present invention. The method of use is applicable to the above Figure 1 and Figure 2 The cat litter box structure shown, such as Figure 3 As shown, the control method of the anti-pinch device for a cat litter box comprises the following steps:
[0059] Step 301: When the cat litter box rotates clockwise, if the first anti-pinch device detects that there is an obstruction on the base window of the cat litter box, the cat litter tube is controlled to stop rotating.
[0060] Step 302: When the cat litter box rotates counterclockwise, if the second anti-pinch device detects that there is an obstruction on the base window of the cat litter box, the cat litter tube is controlled to stop rotating.
[0061] Those skilled in the art can understand that the above-mentioned step 302 and step 303 are two parallel steps, and there is no restriction on the order of execution.
[0062] It should be noted that before executing step 301 or step 302, the triggering process of the automatic cleaning control logic of the cat litter tube may include:
[0063] After the cat litter box is connected to a power source, it detects in real time whether a cat enters or exits the cat litter tube. When a cat is detected entering or exiting, a first weight of the cat litter tube before the cat enters and a second weight of the cat litter tube after the cat exits are obtained, and the difference between the first weight and the second weight is obtained, and then the difference is compared with a threshold value. If the threshold value is exceeded, it means that the cat has left excrement (including feces, urine, etc.) in the cat litter tube. Then, the cat litter tube is controlled to start rotating according to the automatic cleaning control logic of the cat litter tube to realize the automatic cleaning function of the cat litter tube.
[0064] Optionally, a gravity sensing element may be provided on the cat litter cylinder to detect the movement of a cat entering or exiting the cat litter cylinder, as well as the weight of the cat litter cylinder before the cat enters or after the cat exits.
[0065] Furthermore, an infrared sensing element may be arranged near the entrance of the cat litter tube to detect the entry and exit movements of the cat in combination with the gravity sensing element.
[0066] In an optional embodiment, the rotation direction of the cat litter cylinder can be obtained according to the rotation direction of the motor in the cat litter box.
[0067] For example, if the motor rotates clockwise, the cat litter barrel will also rotate clockwise; if the motor rotates counterclockwise, the cat litter barrel will also rotate clockwise.
[0068] In some optional embodiments, the cat litter box automatic cleaning control logic includes:
[0069] Firstly, the position of the cat litter cylinder is determined, then the rotation direction and rotation time of the cat litter cylinder are calculated according to the position of the cat litter cylinder, and the cat litter cylinder is controlled according to the calculated rotation direction and rotation time.
[0070] The position of the cat litter bin refers to the angle of the entrance on the cat litter bin relative to the base. After the cat litter bin has rotated in the right direction and for the right time, that is, after the automatic cleaning is finished, the entrance to the cat litter bin must be parallel to the base so that the cat can freely enter and exit the cat litter bin. In this process, in order to dump the excrement into the trash can on the base, the dumping port of the cat litter bin must be completely overlapped with the base window at least once.
[0071] Furthermore, in order to ensure that the excrement is completely dumped into the trash can of the base, the pouring port of the cat litter tube can be completely overlapped with the base window twice.
[0072] That is to say, the cat litter barrel is first controlled to rotate in one direction so that the pouring port and the base window are completely overlapped once. After the pouring port of the cat litter barrel leaves the base window as it rotates, the cat litter barrel is controlled to rotate in the opposite direction so that the pouring port and the base window are completely overlapped again. The cat litter barrel stops rotating when the entrance is parallel to the base.
[0073] From the above description, it can be seen that the cat litter barrel will rotate in different directions during the automatic cleaning process, namely clockwise and counterclockwise. Therefore, during the automatic cleaning process of the cat litter barrel, it is necessary to select the corresponding anti-pinch device for real-time monitoring according to the rotation direction.
[0074] Those skilled in the art will appreciate that the process of determining the position of the cat litter tube can be implemented using relevant technologies, and this application does not specifically limit this. For example, a pair of magnets with opposite polarities and a Hall element can be provided on the cat litter tube, and during the rotation of the cat litter tube, the Hall element will output the position of the cat litter tube according to the position and time of the two magnets with opposite polarities detected.
[0075] At this point, the above Figure 3As shown in the control flow, the present invention optimizes the use logic of the anti-pinch device without changing the overall structure of the cat litter box and the original control logic, that is, when the cat litter tube rotates in the clockwise direction, the first anti-pinch device (used to monitor the obstruction at the left edge of the base window) monitors whether there is an obstruction on the base window of the cat litter box, and controls the cat litter tube to stop rotating, so that it can be ensured that when the pouring port of the cat litter tube is turned to the base window position, the excrement wrapped in cat litter is more efficiently discharged from the cat litter tube to the trash can built into the base; and when the cat litter tube rotates in the counterclockwise direction, the second anti-pinch device (used to monitor the obstruction at the right edge of the base window) monitors whether there is an obstruction on the base window of the cat litter box, and controls the cat litter tube to stop rotating, so that it can also be ensured that when the pouring port of the cat litter tube is turned to the base window position, the excrement wrapped in cat litter can be more efficiently discharged from the cat litter tube to the trash can built into the base.
[0076] It can be seen that according to the different rotation directions of the cat litter cylinder, different anti-pinch devices are selected to monitor the obstructions near the edge of the corresponding base window as a condition for the cat litter cylinder to stop rotating, thereby reducing the phenomenon of incomplete discharge of excrement in the cat litter cylinder, avoiding unnecessary stopping, and improving the operating efficiency of the cat litter box. At the same time, it can also protect the cat from being pinched when the cat's feet are extended into the base window when the cat is in the rotating cat litter cylinder. It is worth noting that the unselected anti-pinch device can monitor the obstruction or not.
[0077] The following is a detailed description of step 301 of selecting the first anti-pinch device to detect the shielding situation:
[0078] See above Figure 1 and Figure 2 As shown, the initial position of the cat litter tube when it is powered on is usually that the pouring spout is located directly above, which is convenient for users to add cat litter. At this time, the right edge of the pouring spout is defined as the first edge, the left edge of the pouring spout is defined as the second edge, and the first anti-clamping device is used to monitor the obstructions near the left edge of the base window, and the second anti-clamping device is used to monitor the obstructions near the right edge of the base window. When the cat litter tube rotates in a clockwise direction, the first edge of the pouring spout is first tangent to the right edge of the base window, and then as the cat litter tube rotates, the overlapping area between the pouring spout and the base window gradually increases until the overlapping area is the largest, and when the first edge of the pouring spout is tangent to the left edge of the base window, as the cat litter tube rotates, the overlapping area between the pouring spout and the base window will gradually decrease until there is no overlapping area at all.
[0079] From the above description, it can be seen that the first edge of the pouring port is first tangent to the right edge of the base window, and then as the cat litter tube rotates, the overlapping area between the pouring port and the base window gradually increases until the overlapping area is the largest. In fact, even if a cat's feet are inserted into the base window, they will not be clamped. The overlapping area between the pouring port and the base window gradually increases until the overlapping area is the largest. This is also the best time for the excrement in the cat litter tube to be discharged under the action of gravity. At this time, the excrement at the pouring port can easily block the vicinity of the right edge of the base window. Therefore, the obstruction detected by the second anti-clamping device used to monitor the obstruction near the right edge of the base window is not necessary as a judgment condition for stopping the rotation of the cat litter tube.
[0080] When the first edge of the pouring spout is tangent to the left edge of the base window, as the cat litter barrel rotates, the overlapping area between the pouring spout and the base window will gradually decrease until there is no overlapping area. Since the overlapping area between the pouring spout and the base window is gradually decreasing, if objects such as cat feet are inserted into the base window, they will be pinched. Therefore, it is necessary to use the first anti-pinch device for monitoring the obstruction near the left edge of the base window as a judgment condition for stopping the rotation of the cat litter barrel. In addition, the pouring spout and the base window have overlapped for a period of time. At this time, the excrement in the cat litter barrel has enough time to be discharged into the trash can in the base window.
[0081] Furthermore, when the cat litter cylinder rotates clockwise, the second anti-pinch device can be turned off to reduce system energy consumption.
[0082] In an optional specific embodiment, when the first anti-pinch device is specifically a first infrared pair of tubes, the process of monitoring the base window of the cat litter box for obstructions through the first anti-pinch device can be monitored in real time by monitoring the receiving and sending data between the first infrared pair of tubes. If the receiving and sending data is interrupted, it means that there is an object blocking the left edge of the base window, and it is determined that there is an obstruction on the base window.
[0083] The interruption of receiving and sending data refers to the situation that the data sent by one of the infrared tubes is blocked by an object, and the other infrared tube on the other side cannot receive the data, resulting in an interruption.
[0084] It should be noted that the use of the infrared tube in the first anti-pinch device described above is only an exemplary description and does not constitute a limitation on the protection scope of the present application. The anti-pinch device may also be other sensing devices that can detect obstructions.
[0085] In some optional embodiments, it can be seen from the above analysis that the effective monitoring process of the first anti-pinch device should start from the time when the first edge of the pouring spout is tangent to the left edge of the base window, and the overlapping area between the pouring spout and the base window will gradually decrease until there is no overlap at all. In other processes, there will be no objects blocking the left edge of the base window.
[0086] Based on this, Figure 4 As shown, when the edge monitored by the first anti-pinch device on the base window (i.e., the left edge of the base window) is tangent to the first edge of the pouring spout (i.e., the right edge of the pouring spout), the first anti-pinch device starts to monitor whether there is any obstruction on the base window of the cat litter box, so as to further reduce the energy consumption of the system.
[0087] Among them, a monitoring element can be set at the first edge of the pouring spout, and a preset mark can be set at the left edge of the base window. When the cat litter tube rotates clockwise, when the monitoring element at the first edge of the pouring spout detects the preset mark, it is determined that the left edge of the base window is tangent to the first edge of the pouring spout.
[0088] The following is a detailed description of step 302 of selecting the second anti-pinch device to detect the shielding situation:
[0089] See above Figure 1 and Figure 2 As shown, when the cat litter tube rotates counterclockwise, the second edge of the pouring spout is first tangent to the left edge of the base window, and then as the cat litter tube rotates, the overlapping area between the pouring spout and the base window gradually increases until the overlapping area is maximum, and when the second edge of the pouring spout is tangent to the right edge of the base window, as the cat litter tube rotates, the overlapping area between the pouring spout and the base window gradually decreases until there is no overlapping area.
[0090] From the above description, it can be seen that the second edge of the pouring spout is first tangent to the left edge of the base window, and then as the cat litter tube rotates, the overlapping area between the pouring spout and the base window gradually increases until the overlapping area is the largest. In fact, even if a cat's feet are inserted into the base window, they will not be clamped. The overlapping area between the pouring spout and the base window gradually increases until the overlapping area is the largest. This is also the best time for the excrement in the cat litter tube to be discharged under the action of gravity. At this time, the excrement at the pouring spout can easily block the vicinity of the left edge of the base window. Therefore, the obstruction detected by the first anti-clamping device used to monitor the obstruction near the left edge of the base window is not necessary as a judgment condition for stopping the rotation of the cat litter tube.
[0091] When the second edge of the pouring spout is tangent to the right edge of the base window, as the cat litter barrel rotates, the overlapping area between the pouring spout and the base window will gradually decrease until there is no overlapping area. Since the overlapping area between the pouring spout and the base window is gradually decreasing, if objects such as cat feet are inserted into the base window, they will be pinched. Therefore, it is necessary to use the second anti-pinch device to monitor the obstruction near the right edge of the base window to detect the obstruction. It is necessary to use it as a judgment condition for stopping the rotation of the cat litter barrel. The pouring spout and the base window have overlapped for a period of time. At this time, the excrement in the cat litter barrel has enough time to be discharged into the trash can at the base window.
[0092] Furthermore, when the cat litter barrel rotates counterclockwise, the first anti-pinch device can be turned off to reduce system energy consumption.
[0093] In an optional specific embodiment, when the second anti-pinch device is specifically a second infrared pair of tubes, the process of monitoring the base window of the cat litter box by the second anti-pinch device for obstructions can be monitored by monitoring the receiving and sending data between the second infrared pair of tubes in real time. If the receiving and sending data is interrupted, it means that there is an object blocking the right edge of the base window, and it is determined that there is an obstruction on the base window.
[0094] The interruption of receiving and sending data refers to the situation that the data sent by one of the infrared tubes is blocked by an object, and the other infrared tube on the other side cannot receive the data, resulting in an interruption.
[0095] It should be noted that the use of the infrared tube in the second anti-pinch device described above is only an exemplary description and does not constitute a limitation on the protection scope of the present application. The anti-pinch device may also be other sensing devices that can detect obstructions.
[0096] In some optional embodiments, it can be seen from the above analysis that the effective monitoring process of the second anti-pinch device should start from the time when the second edge of the pouring spout is tangent to the right edge of the base window, and the overlapping area between the pouring spout and the base window will gradually decrease until there is no overlapping area. In other processes, there will be no objects blocking the right edge of the base window.
[0097] Based on this, Figure 5 As shown, when the edge monitored by the second anti-pinch device on the base window (i.e., the right edge of the base window) is tangent to the second edge of the pouring spout (i.e., the left edge of the pouring spout), the second anti-pinch device can be used to monitor whether there is any obstruction on the base window of the cat litter box to further reduce the energy consumption of the system.
[0098] Among them, a monitoring element can be set at the second edge of the pouring spout and a preset mark can be set at the right edge of the base window. When the cat litter tube rotates counterclockwise, when the monitoring element at the second edge of the pouring spout detects the preset mark, it is determined that the right edge of the base window is tangent to the second edge of the pouring spout.
[0099] The embodiment of the present invention further provides an anti-pinch device control device for a cat litter box corresponding to the anti-pinch device control method for a cat litter box provided in the aforementioned embodiment, so as to execute the aforementioned anti-pinch device control method for a cat litter box.
[0100] Figure 6 The hardware structure diagram of a control device for an anti-pinch device for a cat litter box according to an exemplary embodiment of the present invention is shown, and the control device for an anti-pinch device for a cat litter box includes: a communication interface 701, a processor 702, a memory 703 and a bus 704; wherein the communication interface 701, the processor 702 and the memory 703 communicate with each other through the bus 704. The processor 702 can execute the anti-pinch device control method for a cat litter box described above by reading and executing machine executable instructions corresponding to the control logic of the anti-pinch device control method for a cat litter box in the memory 703. The specific content of the method is referred to the above embodiment, and will not be repeated here.
[0101] The memory 703 mentioned in the present invention can be any electronic, magnetic, optical or other physical storage device, and can contain storage information, such as executable instructions, data, etc. Specifically, the memory 703 can be RAM (Random Access Memory), flash memory, storage drive (such as hard disk drive), any type of storage disk (such as optical disk, DVD, etc.), or similar storage medium, or a combination thereof. The communication connection between the system network element and at least one other network element is realized through at least one communication interface 701 (which can be wired or wireless), and the Internet, wide area network, local area network, metropolitan area network, etc. can be used.
[0102] The bus 704 may be an ISA bus, a PCI bus or an EISA bus, etc. The bus may be divided into an address bus, a data bus, a control bus, etc. The memory 703 is used to store programs, and the processor 702 executes the programs after receiving execution instructions.
[0103] The processor 702 may be an integrated circuit chip with signal processing capabilities. In the implementation process, each step of the above method can be completed by the hardware integrated logic circuit or software instructions in the processor 702. The above processor 702 can be a general-purpose processor, including a central processing unit (CPU), a network processor (NP), etc.; it can also be a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field-programmable gate array (FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components. The methods, steps and logic block diagrams disclosed in the embodiments of the present application can be implemented or executed. The general-purpose processor can be a microprocessor or the processor can also be any conventional processor, etc. The steps of the method disclosed in conjunction with the embodiments of the present application can be directly embodied as a hardware decoding processor for execution, or a combination of hardware and software modules in the decoding processor for execution.
[0104] The anti-pinch device control device for a cat litter box provided in the embodiment of the present application and the anti-pinch device control method for a cat litter box provided in the embodiment of the present application are based on the same inventive concept and have the same beneficial effects as the methods adopted, operated or implemented therein.
[0105] The present application also provides a computer-readable storage medium corresponding to the anti-pinch device control method for a cat litter box provided in the above embodiment. Please refer to Figure 7 As shown, the computer-readable storage medium shown is a CD 30 on which a computer program (ie, a program product) is stored. When the computer program is run by a processor, the anti-pinch device control method for a cat litter box provided in any of the aforementioned embodiments will be executed.
[0106] It should be noted that examples of the computer-readable storage medium may also include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other optical or magnetic storage media, which are not listed here one by one.
[0107] The computer-readable storage medium provided in the above-mentioned embodiments of the present application and the anti-pinch device control method for a cat litter box provided in the embodiments of the present application are based on the same inventive concept and have the same beneficial effects as the method adopted, run or implemented by the application program stored therein.
[0108] Those skilled in the art will readily appreciate other embodiments of the present invention after considering the specification and practicing the invention disclosed herein. The present invention is intended to cover any variations, uses or adaptations of the present invention that follow the general principles of the present invention and include common knowledge or customary techniques in the art not disclosed by the present invention. The description and examples are to be regarded as exemplary only, and the true scope and spirit of the present invention is indicated by the following claims.
[0109] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present invention should be included in the scope of protection of the present invention.
Claims
1. A control method for an anti-pinch device for a cat litter box, characterized in that: The method comprises: When the cat litter tube on the cat litter box rotates clockwise, if the first anti-pinch device detects that there is an obstruction on the base window of the cat litter box, the cat litter tube is controlled to stop rotating; When the cat litter tube on the cat litter box rotates counterclockwise, if the second anti-pinch device detects that there is an obstruction on the base window of the cat litter box, the cat litter tube is controlled to stop rotating; The first anti-pinch device and the second anti-pinch device are respectively used to monitor obstructions located at two opposite edges of the base window, and the extension directions of the two opposite edges are perpendicular to the rotation direction of the cat litter tube.
2. The method according to claim 1, characterized in that Before obtaining the rotation direction of the cat litter tube in the cat litter box, the method further includes: When a cat enters or exits the cat litter cylinder, obtaining a first weight of the cat litter cylinder before the cat enters or exits the cat litter cylinder and a second weight of the cat litter cylinder after the cat exits or exits the cat litter cylinder; According to the difference between the first weight and the second weight exceeding a threshold value, the cat litter cylinder is controlled to rotate according to the automatic cleaning control logic of the cat litter cylinder.
3. The method according to claim 1, characterized in that The method also includes a process of obtaining the rotation direction of the cat litter tube in the cat litter box: Determining the rotation direction of the cat litter tube according to the rotation direction of the motor in the cat litter box; The rotation direction includes clockwise rotation and counterclockwise rotation.
4. The method according to claim 1, characterized in that The first anti-pinch device is a first infrared pair tube; The first anti-pinch device monitors whether there is an obstruction on the base window of the cat litter box, including: Real-time monitoring of the data sent and received between the first infrared tube pair; When the data transmission and reception is interrupted, it is determined that there is an obstruction on the base window.
5. The method according to claim 1, characterized in that The second anti-pinch device is a second infrared pair tube; The second anti-pinch device monitors whether there is an obstruction on the base window of the cat litter box, including: Real-time monitoring of the data sent and received between the second infrared pair of tubes; When the data transmission and reception is interrupted, it is determined that there is an obstruction on the base window.
6. The method according to claim 1, characterized in that The rotation direction is clockwise, and the method further comprises: According to the edge monitored by the first anti-pinch device on the base window being tangent to the first edge of the pouring port on the cat litter tube, the first anti-pinch device monitors that there is an obstruction on the base window of the cat litter box, and the cat litter tube is controlled to stop rotating.
7. The method according to claim 1, characterized in that The rotation direction is counterclockwise, and the method further comprises: According to the edge monitored by the second anti-pinch device on the base window being tangent to the second edge of the pouring port on the cat litter tube, the second anti-pinch device monitors whether there is an obstruction on the base window of the cat litter box, and controls the cat litter tube to stop rotating.
8. A control device for an anti-pinch device of a cat litter box, the device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 7 are implemented.
9. A cat litter box, characterized in that: include: The anti-pinch device control device for a cat litter box as described in claim 8 above; A cat litter cylinder and a base, wherein the cat litter cylinder is arranged above the base, the cat litter cylinder is provided with a pouring port for discharging excrement, the base is provided with a window for receiving excrement, and the edge position of the window is provided with a first anti-clamping device and a second anti-clamping device; The first anti-pinch device and the second anti-pinch device are respectively used to monitor obstructions located at two opposite edges of the base window, and the extension directions of the two opposite edges are perpendicular to the rotation direction of the cat litter tube.
10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, the steps of the method according to any one of claims 1 to 7 are implemented.
