Animal behavior detection method and device based on electric signals and electronic equipment
By using induction rods and electrical signal processing technology in animal behavior detection systems, the problem of low accuracy of animal behavior detection data in the prior art is solved, and high sensitivity and accurate animal behavior detection are achieved.
Patent Information
- Application Number
- CN202411552910.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-01
- Publication Date
- 2025-02-11
- Estimated Expiration
- 2044-11-01
AI Technical Summary
In the prior art, the data accuracy of animal behavior detection results is low.
An animal behavior detection method based on electrical signals is adopted to detect the animal's drinking water behavior by setting in the animal's box with induction rods, hysteresis circuits, amplification circuits, induction detection circuits and integrated Can module data acquisition boards. The method includes in response to the signal change detected by the induction rod, performing signal suppression, amplification and filtering processing, converting it into a TTL level signal, and analyzing the signal characteristics through the induction detection circuit to determine whether the animal is drinking water.
The data accuracy of animal behavior detection is improved, the sensitivity and accuracy of the sensing of animal drinking water behavior is enhanced, and high sensitivity, low interference, and non-invasive detection is achieved.
Smart Images

Figure CN119404773A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of circuit technology, and in particular to an animal behavior detection method, device and electronic equipment based on electrical signals. Background Art
[0002] At present, in the field of biomedical research, the detection of experimental animal behavior is critical for collecting scientific data. For example, the results of animal behavior detection can be used to detect sugar water preference, analyze depression, and test certain drugs. However, the data accuracy of animal behavior detection results obtained by the existing animal behavior detection methods is low. Summary of the invention
[0003] The object of the present invention is to provide an animal behavior detection method, device and electronic equipment based on electrical signals to solve the technical problem of low data accuracy of animal behavior detection results.
[0004] In a first aspect, the present application provides an animal behavior detection method based on electrical signals, which is applied to a detection component, wherein the detection component comprises a sensing rod, a hysteresis circuit, an amplifying circuit, a sensing detection circuit and an integrated CAN module data acquisition board, wherein the sensing rod is arranged in a container containing a liquid and in contact with the liquid, the container is arranged on a box containing an animal, and a conductive device that can contact the animal is arranged on one side of the box near the container; the method comprises:
[0005] In response to the change of the original equilibrium state triggered by the sensing rod, determining the signal detected by the sensing rod as a signal to be detected;
[0006] Based on the signal to be detected, the common mode signal is suppressed and the differential differential film signal is amplified, and when the differential differential film signal is amplified to a first specified voltage value, the signal to be detected is filtered through the hysteresis circuit to maintain the current state and eliminate the interference signal in the signal to be detected, so as to obtain the target signal to be detected;
[0007] The target signal to be detected is amplified by the amplifier circuit and the hysteresis circuit, and when the target signal to be detected is amplified to a second specified voltage value, the target signal to be detected is converted into a TTL level signal within a specified voltage value range; wherein the second specified voltage value is greater than the first specified voltage;
[0008] The voltage and frequency characteristics of the TTL level signal and the feedback signal transmitted by the sensing rod are analyzed by the sensing detection circuit to obtain a signal analysis result, and based on the signal analysis result, it is detected whether the animal has drinking behavior that causes the signal change;
[0009] When it is detected that the animal's drinking behavior causes a signal change, the information of the signal change is converted into a high-level output signal through the induction detection circuit, and the high-level output signal is subjected to signal processing and data analysis to obtain a data analysis result;
[0010] According to the data analysis result, it is determined whether the signal to be detected at that time is caused by the effective animal drinking behavior. If it is caused by the effective animal drinking behavior, the number of times the animal drinks water is accumulated and calculated, and the drinking time of the animal drinking behavior at that time is determined. The detection result of the animal drinking behavior is obtained based on the number of times and the drinking time.
[0011] In a possible implementation, the sensing rod is disposed in the container and placed in any of the following positions in the water:
[0012] The container plug of the container, the bottom of the container, and the side portion of the container.
[0013] In a possible implementation, a resistor is provided in the sensor rod. After the resistor is charged and filtered by capacitors at both ends, the sensor rod maintains the original balanced state of the circuit output and feedback signal. In the original balanced state, it is determined that the animal is not drinking water.
[0014] In a possible implementation, an interference source shielding and detection circuit is provided at the front end of the sensor rod, and the interference source shielding and detection circuit is used to identify and respond to signal leakage caused by external environmental interference sources. When the interference signal is detected, the differential balance circuit transmitted by the sensor rod to the inside of the sensor board processes and eliminates the common-mode interference of the interference signal.
[0015] In a possible implementation, the differential balance circuit and the signal amplification function, filtering function and processing function are integrated through the induction circuit communication board in the detection component;
[0016] The conductive device and the sensing rod are respectively connected to the IO port of the sensing circuit communication board, so that when the animal drinks water and contacts the conductive device, a signal closed loop is formed with the sensing rod through the intervention of the animal's body;
[0017] The induction circuit communication board has a reserved TTL output signal, and the TTL output signal is used for connection with external equipment.
[0018] In a possible implementation, the step of amplifying the target signal to be detected by the amplifying circuit includes:
[0019] The target signal to be detected is amplified by the amplifying circuit based on the target signal to be detected after the interference elimination processing to obtain the amplified target signal to be detected, and the amplified target signal to be detected is fed back to the induction detection circuit to maintain the signal amplitude below a preset level.
[0020] In a possible implementation, the step of amplifying the target signal to be detected by the amplifier circuit and the hysteresis circuit includes:
[0021] The target signal to be detected is filtered and amplified by the amplifier circuit and the hysteresis circuit.
[0022] In a second aspect, an animal behavior detection device based on electrical signals is provided, which is applied to a detection component, wherein the detection component comprises a sensing rod, a hysteresis circuit, an amplifying circuit, a sensing detection circuit and an integrated CAN module data acquisition board, wherein the sensing rod is arranged in a container containing a liquid and in contact with the liquid, wherein the container is arranged on a box containing an animal, wherein a conductive device that can contact the animal is arranged on one side of the box near the container, and the conductive device is connected to the sensing board GND; wherein the device comprises:
[0023] a determination module, configured to determine the signal detected by the sensing rod as a signal to be detected in response to the change of the original equilibrium state triggered by the sensing rod;
[0024] A processing module, used for suppressing the common mode signal and amplifying the differential differential film signal based on the signal to be detected, and when the differential differential film signal is amplified to a first specified voltage value, filtering the signal to be detected through the hysteresis circuit to maintain a current state and eliminate interference signals in the signal to be detected, so as to obtain a target signal to be detected;
[0025] a conversion module, configured to amplify the target signal to be detected through the amplification circuit and the hysteresis circuit, and convert the target signal to be detected into a TTL level signal within a specified voltage value range when the target signal to be detected is amplified to a second specified voltage value; wherein the second specified voltage value is greater than the first specified voltage value;
[0026] A detection module, used to analyze the voltage and frequency characteristics of the TTL level signal and the feedback signal transmitted by the sensing rod through the sensing detection circuit to obtain a signal analysis result, and detect whether the animal has animal drinking behavior that causes the signal change according to the signal analysis result;
[0027] An analysis module, for converting information of the signal change into a high-level output signal through the induction detection circuit when detecting that the animal's drinking behavior causes a signal change, and performing signal processing and data analysis on the high-level output signal to obtain a data analysis result;
[0028] A calculation module is used to determine whether the signal to be detected at that time is caused by effective animal drinking behavior based on the data analysis result. If it is caused by the effective animal drinking behavior, the number of times the animal drinks water is accumulated and calculated, and the drinking time of the animal drinking behavior at that time is determined. The detection result of the animal drinking behavior is obtained based on the number of times and the drinking time, and the detection result is uploaded through the integrated CAN module data acquisition board.
[0029] In a third aspect, the present application provides an electronic device, comprising a memory and a processor, wherein the memory stores a computer program executable on the processor, and when the processor executes the computer program, the method described in the first aspect is implemented.
[0030] In a fourth aspect, the present application further provides a computer-readable storage medium, which stores computer-executable instructions. When the computer-executable instructions are called and executed by a processor, the computer-executable instructions prompt the processor to execute the method described in the first aspect.
[0031] This application brings the following beneficial effects:
[0032] The present application provides an animal behavior detection method, device and electronic device based on electrical signals. The method is applied to a detection component, which includes a sensing rod, a hysteresis circuit, an amplifying circuit, a sensing detection circuit and an integrated CAN module data acquisition board. The sensing rod is arranged in a container filled with liquid and in contact with the liquid. The container is arranged on a box body with an animal inside. A conductive device that can contact with the animal is arranged on a side of the box body close to the container. The method can respond to the change of the original equilibrium state triggered by the sensing rod, determine the signal detected by the sensing rod as a signal to be detected, suppress the common mode signal based on the signal to be detected, and amplify the differential differential film signal, and when the differential differential film signal is amplified to a first specified voltage value, filter the signal to be detected by the hysteresis circuit to maintain the current state and eliminate the interference signal in the signal to be detected, so as to obtain the target signal to be detected, amplify the target signal to be detected by the amplifying circuit and the hysteresis circuit, and When the target signal to be detected is amplified to a second specified voltage value, the target signal to be detected is converted into a TTL level signal within the specified voltage value range, wherein the second specified voltage value is greater than the first specified voltage value, and the voltage and frequency characteristics of the TTL level signal and the feedback signal transmitted by the sensing rod are analyzed by the sensing detection circuit to obtain a signal analysis result, and based on the signal analysis result, it is detected whether the animal has animal drinking behavior that causes the signal change, and when it is detected that the animal drinking behavior causes the signal change, the information of the signal change is converted into a high-level output signal by the sensing detection circuit, and the high-level output signal is signal processed and data analyzed to obtain a data analysis result, and based on the data analysis result, it is determined whether the current signal to be detected is caused by effective animal drinking behavior, and if it is caused by effective animal drinking behavior, the number of times the animal drinks is accumulated and calculated, and the drinking time of the current animal drinking behavior is determined, and the detection result of the animal drinking behavior is obtained based on the number of drinking times and the drinking time. In this solution, the sensitivity and accuracy of the animal drinking behavior are improved through the collaborative design of the special water bottle and the sensor rod, and the drinking behavior of the experimental animals is accurately detected. Moreover, the accurate recognition and processing of weak signals are realized through the inductive detection circuit. Furthermore, the design of this solution takes into account the minimum impact on the animal behavior and physiological state, and realizes non-intrusive detection. This solution realizes high-sensitivity, low-interference, and non-intrusive detection of the drinking behavior of experimental animals, so that the accuracy of animal behavior detection data, interference control, and intrusiveness to animals are improved, and the technical problem of low data accuracy of animal behavior detection results is solved.
[0033] In order to make the above-mentioned objects, features and advantages of the present application more obvious and easy to understand, preferred embodiments are specifically cited below and described in detail with reference to the attached drawings. BRIEF DESCRIPTION OF THE DRAWINGS
[0034] In order to more clearly illustrate the specific implementation methods of the present application or the technical solutions in the prior art, the drawings required for use in the specific implementation methods or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are some implementation methods of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.
[0035] Figure 1 A schematic diagram of a flow chart of an animal behavior detection method based on electrical signals provided in an embodiment of the present application;
[0036] Figure 2 An exemplary diagram of an animal drinking water box structure in the animal behavior detection method based on electrical signals provided in an embodiment of the present application;
[0037] Figure 3 Another example diagram of the structure of an animal drinking water box in the animal behavior detection method based on electrical signals provided in an embodiment of the present application;
[0038] Figure 4 An example of multiple animal drinking water boxes in the animal behavior detection method based on electrical signals provided in an embodiment of the present application;
[0039] Figure 5 An example diagram of a special water bottle in the animal behavior detection method based on electrical signals provided in an embodiment of the present application;
[0040] Figure 6 Another example diagram of a dedicated water bottle in the animal behavior detection method based on electrical signals provided in an embodiment of the present application;
[0041] Figure 7 Another schematic diagram of the process of the animal behavior detection method based on electrical signals provided in an embodiment of the present application;
[0042] Figure 8 Another example of the location of the sensor rod in the animal behavior detection method based on electrical signals provided in the embodiment of the present application;
[0043] Fig. 9 An example of a water bottle limiter in the animal behavior detection method based on electrical signals provided in an embodiment of the present application;
[0044] Fig.10 An example of the location of the aluminum plate or aluminum mesh in the animal behavior detection method based on electrical signals provided in an embodiment of the present application;
[0045] Fig.11 A partial interception example of a hysteresis circuit in the animal behavior detection method based on electrical signals provided in an embodiment of the present application;
[0046] Fig.12 An example of a differential amplifier circuit in the animal behavior detection method based on electrical signals provided in an embodiment of the present application;
[0047] Fig.13 An example of a sensor rod (placed in a water bottle) in the animal behavior detection method based on electrical signals provided in an embodiment of the present application;
[0048] Fig.14 An example of an inductive detection circuit in the animal behavior detection method based on electrical signals provided in an embodiment of the present application;
[0049] Fig.15 An example of the data of drinking frequency and drinking duration in the animal behavior detection method based on electrical signals provided in the embodiment of the present application;
[0050] Fig.16 An example diagram of an induction circuit communication board in the animal behavior detection method based on electrical signals provided in an embodiment of the present application;
[0051] Fig.17 Another example diagram of the induction circuit communication board in the animal behavior detection method based on electrical signals provided in an embodiment of the present application;
[0052] Fig.18 A schematic diagram of the structure of an animal behavior detection device based on electrical signals provided in an embodiment of the present application;
[0053] Fig.19 A schematic structural diagram of an electronic device provided in an embodiment of the present application is shown. DETAILED DESCRIPTION
[0054] In order to make the purpose, technical solution and advantages of the embodiments of the present application clearer, the technical solution of the present application will be clearly and completely described below in conjunction with the accompanying drawings. Obviously, the described embodiments are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present application.
[0055] The terms "including" and "having" and any variations thereof mentioned in the embodiments of the present application are intended to cover non-exclusive inclusions. For example, a process, method, system, product or device including a series of steps or units is not limited to the listed steps or units, but may optionally include other steps or units that are not listed, or may optionally include other steps or units that are inherent to these processes, methods, products or devices.
[0056] At present, the data accuracy of the animal behavior detection results obtained by the existing animal behavior detection method is low. Based on this, the embodiment of the present application provides an animal behavior detection method, device and electronic device based on electrical signals, which can solve the technical problem of low data accuracy of animal behavior detection results.
[0057] The embodiments of the present invention are further described below in conjunction with the accompanying drawings.
[0058] Figure 1 A flow chart of an animal behavior detection method based on electrical signals provided in an embodiment of the present application. The method is applied to a detection component, which includes a sensor rod, a hysteresis circuit, an amplifier circuit, a sensor detection circuit, and an integrated CAN module data acquisition board. The sensor rod is set in a container filled with liquid and in contact with the liquid. The container is set on a box with an animal inside. A conductive device that can contact the animal is set on the side of the box close to the container. Figure 1 As shown, the method includes:
[0059] Step S110: in response to the change of the original equilibrium state triggered by the sensing rod, determining the signal detected by the sensing rod as a signal to be detected.
[0060] In one possible implementation, the sensor rod is composed of a 1MΩ resistor, a 47uf electrolytic capacitor, and a 0.1nf ordinary capacitor. Normally, the resistance value of a mouse is considered to be 50kΩ, so the current passing through the body of a mouse when drinking water is very weak. Depending on individual differences, the current of the entire circuit will be controlled between 1uA and 15uA.
[0061] For example, Figure 2 and Figure 3 The content shown in Figure 4 A cell in a drinking water tank for an animal (such as a mouse, which is described below using a mouse as an example) as shown. Figure 2 As shown, it includes: a central control motherboard, that is, an integrated circuit communication motherboard, on which 10 small sensing boards are integrated, so a single board can control ten water bottles; a conductive device (such as an aluminum plate, an aluminum mesh, etc.) that is in direct contact with the mouse's paw, embedded in the box (such as Figure 2 On the steps on both sides of the water bottle, close to the mouth of the water bottle, and can be removed at any time); a compartment in the drinking water box; a sensor rod; a water bottle; a water bottle buckle.
[0062] for Figure 3 It should be noted that when the mouse drinks water, it steps on the mesh grid. Every time the tongue touches the liquid surface of the water bottle, the signal will be transmitted back to the communication board through the sensor rod, amplified, processed and recorded by the hysteresis circuit, and then to the central CAN module, and then reported to the software end to obtain real-time monitoring data. The white area is the hollow area, which is the drawer position, and the drawer is the black part above.
[0063] like Figure 5 and Figure 6 As shown, the container containing the liquid can be a special water bottle, such as a drinking water container designed for experimental animals, which is connected to the sensor rod to form the core part of the signal closed loop. The sensor rod can be built into the bottle stopper of the special water bottle, and the sensor rod is used to sense the subtle impact on the signal when the experimental animal drinks water.
[0064] As a possible implementation, the sensor bar is set at any position in the container that is not above the water surface. If the top cover is inserted, it still needs to be below the water surface. Exemplarily, the sensor bar is set in the container and placed in the water at any of the following positions: in the container plug of the container, at the bottom of the container, and at the side of the container. The sensor bar position can be moved downward, that is, placed at the bottom and side of the bottle body, such as Figure 8 The arrow points to the position shown. In the water bottle, Fig. 9 As shown, this component is a water bottle limiter, and its size is 104*35*30mm, that is, the size of the water bottle fixing block is 104*35*30mm. The purpose is to control the mouse to effectively clear the air in the glass tube after drinking water, so that the water can smoothly stay at the water spout.
[0065] The conductive device can be an aluminum plate device or other conductive grid-like objects. The aluminum plate is embedded in the box, and a sensor rod needs to be built into the bottle stopper of the water bottle (it can also be installed at the bottom of the water bottle). The aluminum plate and the sensor rod are respectively connected to the IO port of the communication board to form a loop. In this way, when the mouse steps on the aluminum plate to drink water, it will form a loop with the sensor rod in the bottle stopper of the water bottle, and then detect the number and duration of drinking water. After collecting the data, it can be summarized to the software end through the CAN bus to observe the real-time data.
[0066] For example, Fig.10 As shown, the aluminum plate is installed inside the mouse drinking water box, and the sensor rod is installed on the water bottle stopper or the sensor rod is installed on the bottom of the water bottle. The purpose is to form a complete loop with the aluminum plate, that is, the circuit device adopts a closed-loop signal detection mechanism, so as to use the CAN bus to receive valid signals and summarize them to the software end.
[0067] In an optional embodiment, a resistor with a resistance of 1 MΩ is provided in the sensing rod. After the resistor is charged and filtered by capacitors at both ends (electrolytic capacitor 47 uf, ordinary capacitor 0.1 nf), the sensing rod maintains the original balance state between the circuit output and the feedback signal, and it is determined that the animal has not drunk water in the original balance state.
[0068] In practical applications, an electrolytic capacitor of 47uf and a common capacitor of 0.1nf are connected in parallel at both ends to charge and filter the resistor, so that the induction rod maintains the original balance state of the circuit output and feedback signal.
[0069] When there is no external influence, the circuit output and feedback signal remain balanced, and the system determines that the animal has not drunk water. At this time, the signal is in a balanced state. For example, there is a 1MΩ chip resistor in the front-end sensor rod. After the capacitors at both ends charge it, it will remain in a stable state (the original balanced state). When the mouse is triggered, this balanced state is broken, and the back-end circuit detects, amplifies, and processes its state. The action signal of detecting the mouse drinking water is very small, that is, 1 microampere current, which is easily interfered, so the differential is added to optimize the signal.
[0070] In practical applications, such as Figure 7 As shown in the figure, when the animal steps on the aluminum plate to drink water, it will trigger the induction rod detection circuit to break the original balance state and flow to the back-end circuit for detection. That is, when the mouse drinks water, its body intervenes in the closed loop, and its resistance and capacitance characteristics change the signal balance, triggering the detection mechanism, causing the mouse behavior to intervene and the signal to change. Specifically, when the mouse drinks water inside the box, it will step on the aluminum plate. Every time the mouse drinks water, its tongue will touch the liquid surface of the water bottle spout. The signal passes through the water in the water bottle to the induction rod in the bottle stopper. At this time, the induction rod and the aluminum plate form a complete loop. The induction rod then transmits the signal back to the communication board. After signal processing, the collected data is given to the CAN bus. The data is summarized and real-time data can be observed through the software end.
[0071] As an optional implementation, the signal detected by the induction rod is designed to be a weak signal. By designing the signal in the embodiment of the present application to be a weak signal, the impact on animals can be reduced while being susceptible to environmental electromagnetic interference.
[0072] In step S120, the common mode signal is suppressed and the differential differential film signal is amplified based on the signal to be detected. When the differential differential film signal is amplified to a first specified voltage value (1v), the signal to be detected is filtered through a hysteresis circuit to maintain the current state and eliminate the interference signal in the signal to be detected, thereby obtaining the target signal to be detected.
[0073] For the signal to be detected, for example, when the mouse drinks water, its tongue contacts the surface of the water bottle, and its paw contacts the external metal mesh, forming a loop to generate a valid signal, which is the duration of a single drinking session.
[0074] It should be noted that the signal to be detected by the sensor rod includes external interference signals (such as human hands touching the bottle body). In the detection process, the common mode signal is first suppressed. Figure 7As shown, the differential differential film signal is amplified, that is, the differential balance circuit starts to work. After the common mode suppression is taken at the front end, the differential differential film signal is amplified to about 1 volt (the first specified voltage value) as the entire process of the circuit increases step by step. When the differential differential film signal is amplified to 1v (the first specified voltage value), the detection signal is filtered through the hysteresis circuit, that is, it is transferred to the hysteresis circuit to filter and eliminate the interference signal. It should be noted that when the differential differential film signal is amplified (the mouse resistance is set to 50kΩ), the voltage signal amplitude is 1v at this time. Furthermore, in the process of filtering the detection signal, the low-frequency signal and the high-frequency signal are removed. The low-frequency signal is the weak signal generated when the experimenter touches the water bottle, and the high-frequency signal is the behavioral signal of the mouse sniffing when it touches the water bottle but does not drink water.
[0075] Among them, the hysteresis circuit is as follows Fig.11 As shown, the hysteresis comparator circuit (hysteresis circuit) is used to increase system stability, improve the trigger threshold of the interference signal, and ensure the effectiveness of the signal. Specifically, the filtering of the hysteresis comparator circuit is to achieve state maintenance. For example, when an animal (such as a mouse) drinks water, this state is broken. For a moment after the breaking, it needs to be maintained. The hysteresis circuit is aimed at maintaining this state. At the same time, the hysteresis circuit further improves the anti-interference ability.
[0076] In one possible implementation, an interference source shielding and detection circuit is provided at the front end of the sensing rod, and the interference source shielding and detection circuit is used to identify and respond to signal leakage caused by external environmental interference sources. When an interference signal is detected, the interference signal is transmitted through the sensing rod to the differential balance circuit inside the sensing board to process and eliminate the common-mode interference of the interference signal.
[0077] For interference source shielding and detection, the inductive metal rod device has built-in interference shielding and detection circuits to identify and eliminate interference signals. For differential balanced circuits, it is designed to eliminate common mode interference and improve the signal's anti-interference ability. For example, the differential amplifier circuit is Fig.12 shown.
[0078] The sensor bar integrates interference source shielding and detection circuits. This design enables the sensor bar to accurately identify and respond to signal leakage that may be caused by external environmental interference sources (such as 50Hz AC power, WiFi, mobile phones, etc.). Once an interference signal is detected, the differential balance circuit inside the sensor bar starts working. Fig.13As shown, these common-mode interferences are effectively processed and eliminated. This processing method not only improves the anti-interference ability of the circuit, but also significantly improves the common-mode rejection ratio (CMRR), thereby ensuring the purity and reliability of the signal. The signal after interference elimination processing is amplified by a carefully designed amplifier circuit and then fed back to the main detection circuit (sensing detection circuit module). This step not only maximizes the sensing efficiency of the signal, but also effectively reduces the interference to the experimental animals by maintaining the signal amplitude at an extremely low level, ensuring the non-intrusiveness of the detection process. Such a design not only ensures the accuracy of the detection data, but also takes into account the welfare of experimental animals, reflecting the dual advantages of the present invention in terms of technological innovation and ethical considerations.
[0079] Step S130, amplifying the target signal to be detected by the amplifier circuit and the hysteresis circuit, and converting the target signal to be detected into a TTL level signal within the specified voltage value range (TTL output signal is 5V) when the target signal to be detected is amplified to a second specified voltage value (2.27~3V).
[0080] The second specified voltage value is greater than the first specified voltage value, the maximum value in the specified voltage value range is greater than the second specified voltage value, and the minimum value in the specified voltage value range is less than the first specified voltage value. It should be noted that the output specified voltage value should be controlled at 5V, otherwise the detection is invalid.
[0081] like Figure 7 As shown, the target signal to be detected is amplified by an amplifier circuit and a hysteresis circuit. At this time, the voltage amplitude is amplified to between 2.27v and 3v, and when the target signal to be detected is amplified to 2.27v to 5v and close to 5v, the target signal to be detected is converted into a TTL level signal (5v) within the specified voltage value range, and finally converted into a TTL level signal of zero to five volts (specified voltage value range) for external output.
[0082] As an example, the above-mentioned process of amplifying the target signal to be detected through an amplifying circuit can specifically include the following steps: based on the target signal to be detected after interference elimination processing (less than 1v, the actual test amplitude is 0.6~0.8v, depending on external environmental factors), the target signal to be detected is amplified through an amplifying circuit, at which time the voltage amplitude reaches about 1v, and a 1v amplified target signal to be detected is obtained, and the amplified target signal to be detected is fed back to the induction detection circuit to maintain the signal amplitude below the preset level.
[0083] For the inductive detection circuit, for example, Fig.14As shown in the figure, the module of the induction detection circuit bears the dual responsibilities of outputting preset signals to the induction rod and synchronously receiving its feedback signals, realizing signal interaction. This process is the core link to achieve accurate detection. Fig.14 It should be noted that the signal is transmitted to the sensing board and suppressed by R4 27k, R11 100k and R6 2k, and flows to the A1 amplifier unit. Finally, the signal is determined to be 2.27~3v by R7 and GND, and further stabilized at 5v voltage to U2.
[0084] In a possible implementation, the process of amplifying the target signal to be detected by the amplifying circuit and the hysteresis circuit may specifically include the following steps: filtering and amplifying the target signal to be detected by the amplifying circuit and the hysteresis circuit, at which time the amplified voltage amplitude is between 2.27v and 3v, that is, the effective signal is amplified to 2.27~3v. Exemplarily, for signal amplification and feedback, the signal after interference elimination is amplified and fed back to the main detection circuit for further filtering and amplification.
[0085] Step S140, analyzing the voltage and frequency characteristics of the TTL level signal and the feedback signal transmitted by the sensing rod through the sensing detection circuit to obtain a signal analysis result, and detecting whether the animal has drinking behavior that causes the signal change based on the signal analysis result.
[0086] By accurately analyzing the voltage and frequency characteristics of the output TTL high and low level signals and the feedback signals, the signal changes caused by the animal's drinking behavior can be detected. It should be noted that the induction detection circuit module (induction detection circuit) has a high-speed real-time comparison function, which realizes real-time detection and comparison, and can accurately analyze the key characteristics of the output signal and the feedback signal, such as the voltage and frequency, to detect and capture the subtle changes in the drinking behavior of experimental animals.
[0087] Step S150, when it is detected that there is an animal drinking behavior causing a signal change, the information of the signal change is converted into a high-level output signal through the induction detection circuit, and the high-level output signal is signal processed and data analyzed to obtain a data analysis result.
[0088] For the high-level output signal, illustratively, the high-level output signal at 2.27~3v is valid drinking water data. It should be noted that the signal processing module identifies signal changes, converts them into high-level outputs, provides a trigger signal to the processor, and determines the animal's drinking behavior. Specifically, when signal changes caused by the animal's drinking behavior are detected, the induction detection circuit module can quickly identify these changes and convert these changes into TTL high-level output signals (high-level output signals). The induction detection circuit module provides a clear trigger signal for subsequent signal processing and data analysis, that is, signal processing and data analysis are performed based on the high-level output signal.
[0089] Step S160, determine whether the signal to be detected is caused by valid animal drinking behavior based on the data analysis results. If it is caused by valid animal drinking behavior (the signal is only valid when it reaches 2.27~3v when touched), the number of times the animal drinks is accumulated and calculated, and the drinking time of the animal's drinking behavior is determined. The detection result of the animal drinking behavior is obtained based on the number of drinking times and the drinking time.
[0090] In practical applications, the data analysis results can be used to determine whether the signal is caused by effective animal drinking behavior. If so, the number of times the animal drinks is accumulated and the duration of the animal drinking behavior is determined to improve the detection accuracy of the animal drinking behavior. Fig.15 shown.
[0091] In an optional embodiment, the detection component corresponding to the animal behavior detection method provided in the embodiment of the present application can be attached to the original sugar water drinking box for matching use, and the number of times and duration of drinking of mice can be detected through electrical signals.
[0092] The collaboratively designed special water bottle and sensor rod improve the sensitivity and accuracy of the animal drinking behavior, and achieve accurate detection of the experimental animal's drinking behavior. In addition, the accurate recognition and processing of weak signals are achieved through the inductive detection circuit. Furthermore, the design of this solution takes into account the minimum impact on the animal's behavior and physiological state, and achieves non-intrusive detection. This solution achieves high-sensitivity, low-interference, and non-intrusive detection of the experimental animal's drinking behavior, which improves the detection accuracy, interference control, and intrusiveness to animals.
[0093] The above steps are described in detail below.
[0094] In some embodiments, the differential balance circuit and the signal amplification, filtering and processing functions are integrated through the sensing circuit communication board (sensing board) in the detection component; the conductive device (aluminum mesh) and the sensing rod are respectively connected to the IO port of the sensing circuit communication board, so that when the animal drinks water and contacts the conductive device, a signal closed loop is formed with the sensing rod through the intervention of the animal's body; a TTL output signal is reserved in the sensing circuit communication board, and the amplitude of the TTL output signal is 5V for use with external equipment.
[0095] As an optional implementation, a TTL output signal can be reserved in the sensing circuit communication baseboard to facilitate later use with other devices. For example, it can stimulate optogenetics to control the amount and frequency of water drinking in mice.
[0096] For example, Fig.16 and Fig.17 The component shown in the figure is an inductive circuit communication board, the finished product of which is packaged in a control box. The multifunctional circuit communication baseboard integrates key functions and improves system stability and anti-interference. Specifically, the circuit communication baseboard acts as the nerve center of the entire circuit device, highly integrating multiple key functions such as signal processing, amplification, filtering, and differential balance circuits, and can realize a functional integration center, providing a solid hardware foundation for accurate signal capture and processing. Fig.16 It should be noted that 10 sensing boards detect the signals of 10 water bottles. The amplified signals in the sensing board are transmitted to the main board for further sorting and then received and stored by the microcontroller (the two 40-pin pins on the right), calculated, and processed, and then flow through the CAN (lower right corner) module to upload the software end. The microcontroller and CAN are not plugged in in the picture.
[0097] Through the differential balanced circuit, the baseboard can efficiently identify and eliminate common-mode interference, significantly improve the common-mode rejection ratio (CMRR), and optimize the anti-interference performance, thereby ensuring the stability and reliability of the signal in a complex electromagnetic environment.
[0098] In the embodiment of the present application, the robustness of the system is further improved by introducing a hysteresis comparison circuit mechanism. This mechanism effectively avoids false triggering by setting a reasonable trigger threshold, enhances the stability of the system, and ensures that the system only responds to signals with practical significance, thereby improving the accuracy and credibility of the detection results.
[0099] Fig.18A schematic diagram of the structure of an animal behavior detection device based on electrical signals is provided. The device can be applied to a detection component, which includes a sensor rod, a hysteresis circuit, an amplification circuit, a sensor detection circuit and an integrated CAN module data acquisition board. The sensor rod is set in a container filled with liquid and in contact with the liquid. The container is set on a box with an animal inside. A conductive device (aluminum mesh) that can contact the animal is set on one side of the box close to the container. The conductive device (aluminum mesh) is connected to the sensor board GND. Fig.18 As shown, the animal behavior detection device 1800 based on electrical signals includes:
[0100] A determination module 1801 is used for determining the signal detected by the sensing rod as a signal to be detected in response to the change of the original balance state triggered by the sensing rod;
[0101] The processing module 1802 is used to suppress the common mode signal and amplify the differential differential film signal based on the signal to be detected, and when the differential differential film signal is amplified to a first specified voltage value (1v), filter the signal to be detected through the hysteresis circuit to maintain the current state and eliminate the interference signal in the signal to be detected, so as to obtain the target signal to be detected;
[0102] The conversion module 1803 is used to amplify the target signal to be detected through the amplification circuit and the hysteresis circuit, and convert the target signal to be detected into a TTL level signal within a specified voltage value range (TTL level signal is 5V) when the target signal to be detected is amplified to a second specified voltage value (2.27V to 3V); wherein the second specified voltage value is greater than the first specified voltage value;
[0103] The detection module 1804 is used to analyze the voltage and frequency characteristics of the TTL level signal and the feedback signal transmitted by the sensing rod through the sensing detection circuit to obtain a signal analysis result, and detect whether the animal has animal drinking behavior that causes the signal change according to the signal analysis result;
[0104] The analysis module 1805 is used for, when detecting that the animal drinking behavior causes a signal change, converting the information of the signal change into a high-level output signal through the induction detection circuit, and performing signal processing and data analysis on the high-level output signal to obtain a data analysis result;
[0105] The calculation module 1806 is used to determine whether the signal to be detected at that time is caused by effective animal drinking behavior according to the data analysis result. If it is caused by the effective animal drinking behavior, the number of times the animal drinks water is accumulated and calculated, and the drinking time of the animal drinking behavior at that time is determined. The detection result of the animal drinking behavior is obtained based on the number of times and the drinking time, and the detection result is uploaded through the integrated CAN module data acquisition board. It should be noted that the reason for using the integrated CAN module data acquisition board is that CAN transmission is accurate and has the ability to receive 5000+ processing units at the same time.
[0106] The animal behavior detection device based on electric signals provided in the embodiment of the present application has the same technical features as the animal behavior detection method based on electric signals provided in the above-mentioned embodiment, so it can also solve the same technical problems and achieve the same technical effects.
[0107] An electronic device provided in an embodiment of the present application is Fig.19 As shown, the electronic device 1900 includes a processor 1902 and a memory 1901, wherein the memory stores a computer program that can be run on the processor, and the processor implements the steps of the method provided in the above embodiment when executing the computer program.
[0108] See also Fig.19 The electronic device further includes: a bus 1903 and a communication interface 1904, a processor 1902, a communication interface 1904 and a memory 1901 are connected via the bus 1903; the processor 1902 is used to execute an executable module stored in the memory 1901, such as a computer program.
[0109] The memory 1901 may include a high-speed random access memory (RAM), and may also include a non-volatile memory, such as at least one disk storage. The communication connection between the system network element and at least one other network element is realized through at least one communication interface 1904 (which may be wired or wireless), and the Internet, wide area network, local area network, metropolitan area network, etc. may be used.
[0110] The bus 1903 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. For ease of representation, Fig.19 Only one bidirectional arrow is used in the diagram, but this does not mean that there is only one bus or only one type of bus.
[0111] Among them, the memory 1901 is used to store programs, and the processor 1902 executes the program after receiving the execution instruction. The method executed by the device defined by the process disclosed in any embodiment of the present application can be applied to the processor 1902 or implemented by the processor 1902.
[0112] Processor 1902 may be an integrated circuit chip with signal processing capabilities. In the implementation process, each step of the above method can be completed by an integrated logic circuit of hardware or software instructions in processor 1902. The above processor 1902 may be a general-purpose processor, including a central processing unit (CPU), a network processor (NP), etc.; it may 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 may be a microprocessor or the processor may 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. The software module may be located in a storage medium mature in the art, such as a random access memory, a flash memory, a read-only memory, a programmable read-only memory, or an electrically erasable programmable memory, a register, etc. The storage medium is located in the memory 1901, and the processor 1902 reads the information in the memory 1901 and completes the steps of the above method in combination with its hardware.
[0113] Corresponding to the above-mentioned animal behavior detection method based on electrical signals, an embodiment of the present application also provides a computer-readable storage medium, which stores computer-executable instructions. When the computer-executable instructions are called and executed by a processor, the computer-executable instructions prompt the processor to execute the steps of the above-mentioned animal behavior detection method based on electrical signals.
[0114] The animal behavior detection device based on electric signals provided in the embodiment of the present application can be specific hardware on the device or software or firmware installed on the device. The device provided in the embodiment of the present application has the same implementation principle and technical effects as the aforementioned method embodiment. For the sake of brief description, the parts not mentioned in the device embodiment can refer to the corresponding contents in the aforementioned method embodiment. Those skilled in the art can clearly understand that for the convenience and simplicity of description, the specific working processes of the systems, devices and units described above can all refer to the corresponding processes in the aforementioned method embodiment, and will not be repeated here.
[0115] In the embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. The device embodiments described above are merely schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation. For example, 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 communication interfaces, and the indirect coupling or communication connection of the devices or units can be electrical, mechanical or other forms.
[0116] For another example, the flowchart and block diagram in the accompanying drawings show the possible architecture, function and operation of the device, method and computer program product according to multiple embodiments of the present application. In this regard, each box in the flowchart or block diagram can represent a module, a program segment or a part of the code, and the module, the program segment or a part of the code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a different order from the order marked in the accompanying drawings. For example, two consecutive boxes can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram and / or the flowchart, and the combination of the boxes in the block diagram and / or the flowchart can be implemented with a dedicated hardware-based system that performs a specified function or action, or can be implemented with a combination of dedicated hardware and computer instructions.
[0117] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0118] In addition, each functional unit in the embodiments provided in the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
[0119] If the function 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 technical solution of the present application, or the part that contributes to the prior art or the part of the technical solution, can be embodied in the form of a software product. The computer software product is stored in a storage medium, including a number of instructions to enable a computer device (which can be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the animal behavior detection method based on electrical signals described in each embodiment of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (Read-Only Memory, referred to as ROM), random access memory (Random Access Memory, referred to as RAM), disk or optical disk and other media that can store program codes.
[0120] It should be noted that similar numbers and letters represent similar items in the following figures. Therefore, once an item is defined in one figure, it does not need to be further defined and explained in subsequent figures. In addition, the terms "first", "second", "third", etc. are only used to distinguish the description and are not to be understood as indicating or implying relative importance.
[0121] Finally, it should be noted that the above-described embodiments are only specific implementation methods of the present application, which are used to illustrate the technical solution of the present application, rather than to limit it. The protection scope of the present application is not limited thereto. Although the present application is described in detail with reference to the aforementioned embodiments, ordinary technicians in the field should understand that any technician familiar with the technical field can still modify the technical solution recorded in the aforementioned embodiments within the technical scope disclosed in the present application, or can easily think of changes, or make equivalent replacements for some of the technical features therein; and these modifications, changes or replacements do not make the essence of the corresponding technical solution deviate from the scope of the technical solution of the embodiment of the present application. They should all be included in the protection scope of the present application. Therefore, the protection scope of the present application shall be based on the protection scope of the claims.
Claims
1. An animal behavior detection method based on electrical signals, characterized in that: The invention is applied to a detection component, the detection component comprises a sensing rod, a hysteresis circuit, an amplifying circuit, a sensing detection circuit and an integrated CAN module data acquisition board, the sensing rod is arranged in a container containing liquid and in contact with the liquid, the container is arranged on a box containing an animal, and a conductive device that can contact with the animal is arranged on one side of the box close to the container; the method comprises: In response to the change of the original equilibrium state triggered by the sensing rod, determining the signal detected by the sensing rod as a signal to be detected; Based on the signal to be detected, the common mode signal is suppressed and the differential differential film signal is amplified, and when the differential differential film signal is amplified to a first specified voltage value, the signal to be detected is filtered through the hysteresis circuit to maintain the current state and eliminate the interference signal in the signal to be detected, so as to obtain the target signal to be detected; The target signal to be detected is amplified by the amplifier circuit and the hysteresis circuit, and when the target signal to be detected is amplified to a second specified voltage value, the target signal to be detected is converted into a TTL level signal within a specified voltage value range; wherein the second specified voltage value is greater than the first specified voltage value; The voltage and frequency characteristics of the TTL level signal and the feedback signal transmitted by the sensing rod are analyzed by the sensing detection circuit to obtain a signal analysis result, and based on the signal analysis result, it is detected whether the animal has drinking behavior that causes the signal change; When it is detected that the animal's drinking behavior causes a signal change, the information of the signal change is converted into a high-level output signal through the induction detection circuit, and the high-level output signal is subjected to signal processing and data analysis to obtain a data analysis result; According to the data analysis result, it is determined whether the signal to be detected at that time is caused by the effective animal drinking behavior. If it is caused by the effective animal drinking behavior, the number of times the animal drinks water is accumulated and calculated, and the drinking time of the animal drinking behavior at that time is determined. The detection result of the animal drinking behavior is obtained based on the number of times and the drinking time.
2. The method according to claim 1, characterized in that The sensor rod is arranged in the container and placed in any of the following positions in the water: The container plug of the container, the bottom of the container, and the side portion of the container.
3. The method according to claim 1, characterized in that The sensor rod is provided with a resistor. After the resistor is charged and filtered by capacitors at both ends, the sensor rod maintains the original balanced state of the circuit output and feedback signal. In the original balanced state, it is determined that the animal does not drink water.
4. The method according to claim 1, characterized in that: An interference source shielding and detection circuit is provided at the front end of the sensing rod. The interference source shielding and detection circuit is used to identify and respond to signal leakage caused by external environmental interference sources. When the interference signal is detected, the differential balance circuit transmitted to the sensing board through the sensing rod processes and eliminates the common-mode interference of the interference signal.
5. The method according to claim 4, characterized in that The differential balance circuit and the signal amplification, filtering and processing functions are integrated through the induction circuit communication board in the detection component; The conductive device and the sensing rod are respectively connected to the IO port of the sensing circuit communication board, so that when the animal drinks water and contacts the conductive device, a signal closed loop is formed with the sensing rod through the intervention of the animal's body; The induction circuit communication board has a reserved TTL output signal, and the TTL output signal is used for connection with external equipment.
6. The method according to claim 1, characterized in that The step of amplifying the target signal to be detected by the amplifying circuit includes: The target signal to be detected is amplified by the amplifying circuit based on the target signal to be detected after the interference elimination processing to obtain the amplified target signal to be detected, and the amplified target signal to be detected is fed back to the induction detection circuit to maintain the signal amplitude below a preset level.
7. The method according to claim 1, characterized in that The step of amplifying the target signal to be detected by the amplifying circuit and the hysteresis circuit includes: The target signal to be detected is filtered and amplified by the amplifier circuit and the hysteresis circuit.
8. An animal behavior detection device based on electrical signals, characterized in that: Applied to a detection component, the detection component includes a sensing rod, a hysteresis circuit, an amplification circuit, a sensing detection circuit and an integrated CAN module data acquisition board, the sensing rod is arranged in a container containing a liquid and in contact with the liquid, the container is arranged on a box containing an animal, a conductive device that can contact the animal is arranged on one side of the box close to the container, and the conductive device is connected to the sensing board GND; the device includes: a determination module, configured to determine the signal detected by the sensing rod as a signal to be detected in response to the change of the original equilibrium state triggered by the sensing rod; A processing module, used for suppressing the common mode signal and amplifying the differential differential film signal based on the signal to be detected, and when the differential differential film signal is amplified to a first specified voltage value, filtering the signal to be detected through the hysteresis circuit to maintain a current state and eliminate interference signals in the signal to be detected, so as to obtain a target signal to be detected; a conversion module, configured to amplify the target signal to be detected through the amplification circuit and the hysteresis circuit, and convert the target signal to be detected into a TTL level signal within a specified voltage value range when the target signal to be detected is amplified to a second specified voltage value; wherein the second specified voltage value is greater than the first specified voltage value, and a maximum value in the specified voltage value range is greater than the second specified voltage value; A detection module, used to analyze the voltage and frequency characteristics of the TTL level signal and the feedback signal transmitted by the sensing rod through the sensing detection circuit to obtain a signal analysis result, and detect whether the animal has animal drinking behavior that causes the signal change according to the signal analysis result; An analysis module, for converting information of the signal change into a high-level output signal through the induction detection circuit when detecting that the animal's drinking behavior causes a signal change, and performing signal processing and data analysis on the high-level output signal to obtain a data analysis result; A calculation module is used to determine whether the signal to be detected at that time is caused by effective animal drinking behavior based on the data analysis result. If it is caused by the effective animal drinking behavior, the number of times the animal drinks water is accumulated and calculated, and the drinking time of the animal drinking behavior at that time is determined. The detection result of the animal drinking behavior is obtained based on the number of times and the drinking time, and the detection result is uploaded through the integrated CAN module data acquisition board.
9. An electronic device comprising a memory and a processor, wherein the memory stores a computer program that can be run 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.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer-executable instructions. When the computer-executable instructions are called and executed by a processor, the computer-executable instructions prompt the processor to execute the method according to any one of claims 1 to 7.
Citation Information
Patent Citations
Device and equipment for detecting saliva impedance
CN107024515A
Water drinking rhythm behavior recording device
CN107751005A
Animal depression behavior detection method and device based on sugar water preference
CN109288529A
Experimental mouse drinking water monitoring method and system
CN110263027A
System and method for processing signals of jet water meter at low flow speed
CN112945317A
Cited By
Animal behavior detection method and apparatus based on electrical signals, and electronic device
WO2026091750A1