Object state detection system and method
By setting up detection modules, control modules and switch modules in the object state detection system, and using interrupt signals and timers to manage the working state of accelerometers and microcontrollers, the problem of high energy consumption of object state detection equipment in the prior art is solved, and the Low power consumption object state detection.
Patent Information
- Application Number
- CN202210051812.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-01-17
- Publication Date
- 2024-12-06
- Estimated Expiration
- 2042-01-17
AI Technical Summary
The existing object state detection equipment has high standby energy consumption of inertial devices, resulting in frequent wake-up of microcontrollers to increase energy consumption.
An object state detection system is designed, including a detection module, control module and switch module. The accelerometer is controlled through interrupt signals, and the timer wakes up the microcontroller to achieve a low-power mode and turn off unnecessary modules when the object is stationary. To reduce standby power consumption.
It effectively reduces the system's standby energy consumption, reduces power consumption, and improves the battery life of the equipment.
Smart Images

Figure CN114543792B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of state detection, and in particular to an object state detection system and method. Background Art
[0002] The existing method for detecting the state of an object is to detect the change in the motion state of the object through an inertial device. When the object changes from stationary to moving, the acceleration value of the object is detected and an interrupt signal is sent to control the single-chip microcomputer to process related information. The inertial device is an energy-consuming device and needs to consume electrical energy during operation, which increases the standby energy consumption of the equipment. The interrupt signal sent by the inertial device continuously wakes up the single-chip microcomputer to enter the normal working mode, increasing the energy consumption of the single-chip microcomputer.
[0003] The above contents are only used to assist in understanding the technical solution of the present invention and do not constitute an admission that the above contents are prior art. Summary of the invention
[0004] The main purpose of the present invention is to provide an object state detection system and method, aiming to solve the technical problem of high energy consumption of object state detection equipment in the prior art.
[0005] To achieve the above object, the present invention provides an object state detection system, the system comprising: the object state detection system comprising: a detection module, a control module, a switch module and a processing module, the control module is respectively connected to the detection module and the switch module, the processing module and the detection module are also respectively connected to the corresponding switch modules;
[0006] The detection module is used to detect the state of the object and generate a corresponding control signal according to the state;
[0007] The control module is used to generate a switch instruction to the switch module;
[0008] The control module is further used to switch the mode according to the control signal;
[0009] The switch module is used to control the detection module and the processing module to be powered on or off according to the switch instruction;
[0010] The processing module is used to process the object when powered on.
[0011] Optionally, the detection module includes: an accelerometer;
[0012] The accelerometer is used to detect the state of the object, and when the object changes from a static state to a moving state, sends an interrupt control signal to the control module according to the moving state.
[0013] Optionally, the switch module includes: a load switch;
[0014] The control module is used to send a closing instruction to the load switch when receiving the interrupt control signal;
[0015] The load switch is used to control the accelerometer to remove power according to the shutdown instruction.
[0016] Optionally, the control module includes: a single chip microcomputer, and the single chip microcomputer includes: a timer, an interrupt unit and a controller;
[0017] The timer is used to send a wake-up instruction to the interrupt unit in a preset time period;
[0018] The interrupt unit is used to wake up the controller to exit the low power consumption mode according to the wake-up instruction, so that the controller enters the working mode;
[0019] The controller is used to send a switch instruction to the switch module in the working mode.
[0020] Optionally, the interrupt unit is further used to obtain the control signal, and control the controller to perform mode switching according to the control signal.
[0021] Optionally, the timer is also used to shut down when the object is in a stationary state.
[0022] Optionally, the single chip microcomputer further comprises: an output instruction unit, wherein the output instruction unit is connected to the controller;
[0023] The output instruction unit is used to receive the switch instruction and output the switch instruction to the switch module.
[0024] Optionally, the processing module includes: a positioning unit and a communication unit;
[0025] The positioning unit is used to obtain the position data of the object when powered on;
[0026] The communication unit is used to send the location data to a remote server.
[0027] Optionally, the object state detection system further includes: a power supply module, the power supply module is connected to the control module and the switch module respectively;
[0028] The power supply module is used to provide power to the control module, the processing module and the detection module;
[0029] The switch module is used to turn on or off the power provided by the power module to the processing module and the detection module according to the switch instruction.
[0030] In addition, to achieve the above object, the present invention also provides an object state detection method, the object state detection method is applied to the object state detection system as described above, the object state detection system comprises: a detection module, a control module and a processing module, the method comprises the following steps:
[0031] The detection module detects the state of the object and generates a corresponding control signal according to the state;
[0032] The control module generates a switch instruction to the switch module, and controls the processing module to work according to the control signal;
[0033] The switch module controls the detection module and the processing module to be powered on or off according to the switch instruction;
[0034] The processing module processes the object when powered on.
[0035] The present invention sets a detection module, a control module, a processing module and a switch module in an object state detection system, wherein the control module is respectively connected to the detection module and the switch module, and the processing module and the detection module are also respectively connected to the corresponding switch modules; the detection module is used to detect the state of the object and generate a corresponding control signal according to the state; the control module is used to generate a switch instruction to the switch module; the control module is also used to control the processing module to work according to the control signal; the switch module is used to control the detection module and the processing module to power on or off according to the switch instruction; the processing module is used to process the object when powered on, and the detection module and the processing module are individually controlled to power on or off through the switch module, thereby greatly reducing the standby energy consumption of the system and reducing the energy consumed by the system. BRIEF DESCRIPTION OF THE DRAWINGS
[0036] Figure 1 is a schematic structural diagram of a first embodiment of an object state detection system of the present invention;
[0037] Figure 2 It is a structural schematic diagram of a second embodiment of the object state detection system of the present invention;
[0038] Figure 3 It is a structural schematic diagram of a third embodiment of the object state detection system of the present invention;
[0039] Figure 4 FIG. 4 is a flow chart of a first embodiment of an object state detection method according to the present invention.
[0040] 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.
[0041] Description of Figure Numbers:
[0042] Label name Label name 10 Detection module 30 Processing Module 101 Accelerometer 301 Positioning unit 20 Control Module 302 Communication unit A Microcontroller 40 Switch module 201 Timer 401 Load Switch 202 Interrupt Unit S1 First load switch 203 Controller S2 Second load switch 204 Output command unit 50 Power Module DETAILED DESCRIPTION
[0043] It should be understood that the specific embodiments described herein are only used to explain the present invention, and are not used to limit the present invention.
[0044] Reference Figure 1 , Figure 1 FIG. 4 is a schematic structural diagram of a first embodiment of an object state detection system according to the present invention.
[0045] like Figure 1 As shown, the object state detection system includes: a detection module 10, a control module 20, a processing module 30 and a switch module 40, the control module 20 is connected to the detection module 10 and the switch module 40 respectively, and the processing module 30 and the detection module 10 are also connected to the corresponding switch modules 40 respectively.
[0046] It should be understood that the object status detection system is mainly used in the field of detecting the position of objects for long-term endurance work, such as monitoring and detection of unpowered equipment in airports, and can also be used for status detection of other objects or equipment, which is not limited in this embodiment.
[0047] The detection module 10 is used to detect the state of an object and generate a corresponding control signal according to the state; the control module 20 is also used to switch modes according to the control signal.
[0048] In a specific implementation, the detection module 10 is connected to the control module 20. The detection module 10 is used to detect the state of an object. The object may include a vehicle or a person, or other objects; the state of the object includes a moving state and a stationary state. When the detection module 10 detects that the state of the object is a stationary state, a corresponding stationary state control signal may be generated. The control module 20 receives the stationary state control signal sent by the detection module 10, and performs a corresponding mode switch according to the stationary state control signal. When the detection module 10 detects that the state of the object is a moving state, a corresponding moving state control signal may be generated. The control module 20 receives the moving state control signal sent by the detection module 10, and performs a corresponding mode switch according to the moving state control signal.
[0049] The control module 20 is used to generate a switch instruction to the switch module 40; the switch module 40 is used to control the detection module 10 and the processing module 30 to power on or off according to the switch instruction, and the processing module 30 is used to process the object when powered on.
[0050] In this embodiment, the control module 20 is also connected to the switch module 40, and the control module 20 can generate a switch instruction to the switch module 40. After receiving the switch instruction, the switch module 40 controls the power on or off of the detection module 10 and the processing module 30 connected thereto through the switch instruction. When the detection module 10 or the processing module 30 is powered on, the object can be detected or processed; when the detection module 10 or the processing module 30 is powered off, the power of the object state detection system does not need to be consumed, thereby reducing the standby energy consumption of the system. When the processing module 30 is powered on, the object can be processed, including obtaining the location data of the object and sending the location data to a remote server, etc., and can also include other ways of processing the object. The control module 20 and the processing module 30 are also connected via a serial port or other means.
[0051] This embodiment sets a detection module, a control module, a processing module and a switch module in the object state detection system, wherein the control module is respectively connected to the detection module and the switch module, and the processing module and the detection module are also respectively connected to the corresponding switch modules; the detection module is used to detect the state of the object and generate a corresponding control signal according to the state; the control module is used to generate a switch instruction to the switch module; the control module is also used to control the processing module to work according to the control signal; the switch module is used to control the detection module and the processing module to power on or off according to the switch instruction; the processing module is used to process the object when powered on, and the detection module and the processing module are individually controlled to power on or off through the switch module, which greatly reduces the standby energy consumption of the system and reduces the energy consumed by the system.
[0052] Reference Figure 2 , Figure 2 Schematic diagram of the structure of the second embodiment of the object state detection system of the present invention.
[0053] Based on the above first embodiment, Figure 2 As shown, the detection module 10 in this embodiment includes: an accelerometer 101;
[0054] The accelerometer 101 is used to detect the state of the object, and when the object changes from a static state to a moving state, sends an interrupt control signal to the control module 20 according to the moving state.
[0055] It should be understood that the accelerometer 101 is used to detect the state of an object, and the state of the object is determined by detecting the acceleration of the object. The accelerometer 101 can be a linear accelerometer, a pendulum accelerometer, etc., and can also be other types of accelerometers that can detect the state of an object. This embodiment does not limit this. The accelerometer 101 detects the acceleration of the object. When the accelerometer 101 detects a change in the acceleration of the object, it is confirmed that the object has changed from a static state to a moving state. When the object changes from a static state to a moving state, the accelerometer 101 generates an interrupt control signal and sends the interrupt control signal to the control module 20.
[0056] In this embodiment, the switch module 40 includes: a load switch 401; the control module 20 is used to send a shutdown instruction to the load switch 401 when receiving the interrupt control signal; the load switch 401 is used to control the accelerometer 101 to remove power according to the shutdown instruction.
[0057] When the control module 20 does not receive the interrupt control signal of the accelerometer 101, it is in low power consumption mode and does not control the related modules to work. In low power consumption mode, only the accelerometer 101 works, and the processing module 30 is powered off and does not work. When the control module 20 receives the interrupt control signal of the accelerometer 101, it exits the low power consumption mode, enters the normal working mode, and generates a shutdown instruction according to the interrupt control signal. The control module 20 sends the shutdown instruction to the switch module 40, and the switch module 40 can turn off the power of the accelerometer 101 according to the shutdown instruction, and control the accelerometer 101 to power off.
[0058] It is understandable that the switch module 40 includes a load switch 401 , and the load switch 401 is used to control the power on or off of the accelerometer 101 and the processing module 30 , and control the working states of the accelerometer 101 and the processing module 30 .
[0059] The load switch 401 includes a first load switch S1 and a second load switch S2. The control module 20 is connected to the first load switch S1 and the second load switch S2 respectively. The first load switch S1 is connected to the accelerometer 101, and the second load switch S2 is connected to the processing module 30. The first load switch S1 and the second load switch S2 are used to control the power-on or power-off of the corresponding accelerometer 101 and the processing module 30. When the control module 20 receives the interrupt control signal, it enters the normal working mode. At this time, it sends a shutdown instruction to the first load switch S1, and controls the accelerometer 101 to be powered off and not work through the first load switch S1, thereby reducing the standby energy consumption of the accelerometer 101. When the control module 20 enters the normal working mode, it issues an instruction to process an object, and can send an opening instruction to the second load switch S2. The second load switch S2 powers on the processing module 30 through the opening instruction, and controls the processing module 30 to perform relevant processing on the object.
[0060] In this embodiment, the object state detection system also includes: a power supply module 50, which is connected to the control module 20 and the switch module 40 respectively; the power supply module 50 is used to provide power to the control module 20, the processing module 30 and the detection module 10; the switch module 40 is used to turn on or off the power provided by the power supply module 50 to the processing module 30 and the detection module 10 according to the switch instruction.
[0061] It should be noted that the power supply module 50 is used to power the control module 20, the accelerometer 101 in the detection module 10 and the processing module 30. The switch module 40 is respectively connected to the power supply module 50 and the accelerometer 101, and the power supply of the power supply module 50 to the accelerometer 101 is controlled by the first load switch S1. The second load switch S2 in the switch module 40 is respectively connected to the power supply module 50 and the processing module 30, and the power supply of the power supply module 50 to the processing module 30 is controlled by the second load switch S2.
[0062] The power module 50 can provide an external power source to power the control module 20 , the detection module 10 and the processing module 30 , so as to meet the power demand of the object state detection system.
[0063] In a specific implementation, the processing module 30 includes: a positioning unit 301 and a communication unit 302; the positioning unit 301 is used to obtain the position data of the object when powered on; the communication unit 302 is used to send the position data to a remote server.
[0064] It should be understood that the processing module 30 is connected to the second load switch S2. When the control module 20 is in the normal working mode and needs to process the object, the control module 20 sends an opening instruction to the second load switch S2. The second load switch S2 turns on the power supply module 50 to supply power to the processing module 30 through the opening instruction. The processing module 30 includes a positioning unit 301 and a communication unit 302. When the processing module 30 is powered on, the positioning unit 301 starts to work. The positioning unit 301 can be a GNSS (Global Navigation Satellite System) positioning unit or other locator capable of positioning. The real-time position data of the object is obtained through the positioning unit 301, and the position data is sent to the communication unit 302. The communication unit 302 sends the position data of the object to the remote server. The user can obtain the position data of the object in real time through the remote server, which is convenient and fast.
[0065] This embodiment sets an accelerometer in the detection module; the accelerometer is used to detect the state of the object, and when the object changes from a static state to a moving state, sends an interrupt control signal to the control module according to the moving state. The accelerometer sends an interrupt control signal to make the control module exit the low power consumption mode and enter the normal working mode, and makes the control module send a shutdown instruction to the load switch, and the accelerometer is powered off through the load switch, thereby reducing the standby energy consumption of the accelerometer and saving the overall energy consumption of the object state detection system.
[0066] Reference Figure 3 , Figure 3 FIG. 4 is a schematic structural diagram of a third embodiment of an object state detection system according to the present invention.
[0067] Based on the above first and second embodiments, Figure 3 As shown, the control module 20 in this embodiment includes: a single chip microcomputer A, and the single chip microcomputer A includes: a timer 201, an interrupt unit 202, a controller 203 and an output instruction unit 204.
[0068] In this embodiment, the control module 20 includes a single-chip microcomputer A, which controls the power-on and power-off of the accelerometer 101 and the positioning unit 301 and the communication unit 302 in the processing module 30 through a load switch 401. The single-chip microcomputer A generates a switch instruction to the load switch 401, and the load switch 401 includes a first load switch S1 and a second load switch S2. The first load switch S1 is connected to the accelerometer 101, and the second load switch S2 is connected to the positioning unit 301 and the communication unit 302. The first load switch S1 and the second load switch S2 control the power-on or power-off of the accelerometer 101, the positioning unit 301, and the communication unit 302 by receiving the switch instruction of the single-chip microcomputer A.
[0069] The timer 201 is used to send a wake-up instruction to the interrupt unit 202 in a preset time period; the interrupt unit 202 is used to wake up the controller 203 according to the wake-up instruction to exit the low power mode and enable the controller 203 to enter the working mode; the controller 203 is used to send a switch instruction to the first load switch S1 and the second load switch S2 in the switch module 40 in the working mode. The interrupt unit 202 is also used to obtain the control signal and control the controller 203 to switch the mode according to the control signal. The timer 201 is also used to shut down when the object is in a stationary state. The output instruction unit 204 is used to receive the switch instruction and output the switch instruction to the first load switch S1 and the second load switch S2 in the switch module 40.
[0070] The single-chip microcomputer A includes: a timer 201, an interrupt unit 202, a controller 203, and an output instruction unit 204. The timer 201 sends a wake-up instruction to the interrupt unit 202 in a preset time period. The preset time period can be set in advance according to the application scenario, such as 10s, 60s, etc. The timer 201 sends a wake-up instruction to the controller 203 in the single-chip microcomputer A at a set time period, so that the controller 203 in the single-chip microcomputer A exits the low power mode. The timer 201 sends the wake-up instruction to the interrupt unit 202, and the interrupt unit 202 wakes up the controller 203 through the wake-up instruction, so that the controller 203 in the single-chip microcomputer A exits the low power mode and enters the normal working mode. When the controller 203 is in the working mode, a switch instruction can be generated to the output instruction unit 204, and the output instruction unit 204 outputs the switch instruction to the first load switch S1 and the second load switch S2, and controls the power on or off of the accelerometer 101 through the first load switch S1, and controls the power on or off of the positioning unit 301 and the communication unit 302 through the second load switch S2. The output instruction module 204 can output an opening instruction to the first load switch S1, turn on the power output of the first load switch S1 to the accelerometer 101, detect the acceleration change of the object through the accelerometer 101, and determine whether the current state of the object is in motion or static state. The output instruction module 204 can output an opening instruction to the second load switch S2, turn on the power output of the second load switch S2 to the positioning unit 301 and the communication unit 302, and process the position of the object through the positioning unit 301 and the communication unit 302.
[0071] In a specific implementation, the single-chip computer A is in a low-power mode most of the time. In the low-power mode, only the accelerometer 101 or the timer 201 works to reduce the energy consumption of the system. When the accelerometer 101 detects that the object changes from a static state to a moving state, the accelerometer 101 sends an interrupt control signal to the interrupt unit 202 of the single-chip computer A. The interrupt unit 202 wakes up the controller 203 according to the interrupt control signal to exit the low-power mode and enter the working mode. When the accelerometer 101 detects that the object is in a moving state, it can be powered off and not work. The controller 203 sends a shutdown command to the output command module 204. The output command module 204 transmits the shutdown command to the first load switch S1. The first load switch S1 shuts down the power output of the load to the accelerometer 101 according to the shutdown command, and the accelerometer 101 stops working. When the object is in motion, the controller 203 in the microcontroller A is controlled to enter a low power consumption mode. When the accelerometer 101 stops working, the timer 201 is started, and the timer 201 starts working. Within a preset time period, a wake-up instruction is sent to the interrupt unit 202, and the controller 203 is periodically awakened by the wake-up instruction to enter the working mode.
[0072] When it is detected that the device is in a stationary state, the timer 201 can be turned off, and the controller 203 sends an on command to the second load switch S2, and the power of the positioning unit 301 and the communication module 302 in the processing module 30 is turned on through the second load switch S2. The location data of the object is obtained through the positioning unit 301 and the location data is transmitted to the communication unit 302. The communication unit 302 sends the location data to the remote server for the user to query the location of the object through the remote server. After completing the acquisition and transmission of the location of the object, the controller 203 sends a shutdown command to the output command unit 204, and the output command unit 204 transmits the shutdown command to the second load switch S2. The second load switch S2 turns off the power output to the processing module 30 according to the shutdown command. When the object is in a stationary state, the controller 203 generates an on command to the first load switch S1, and turns on the power output of the power module 50 to the accelerometer 101 through the first load switch S1, and the single-chip microcomputer A enters a low power consumption mode.
[0073] In this embodiment, a single-chip microcomputer is set in the control module, and the single-chip microcomputer includes: a timer, an interrupt unit and a controller; the timer is used to send a wake-up instruction to the interrupt unit in a preset time period; the interrupt unit is used to wake up the controller according to the wake-up instruction to exit the low-power mode and enter the working mode; the controller is used to send a switch instruction to the switch module in the working mode, and the controller is periodically woken up by the timer to enter the working mode, thereby reducing the energy consumption of the single-chip microcomputer during operation and improving the processing efficiency of the single-chip microcomputer.
[0074] In addition, the present invention also provides an object state detection method, referring to Figure 4 , Figure 4 FIG. 4 is a flow chart of a first embodiment of an object state detection method according to the present invention.
[0075] In this embodiment, the object state detection method is applied to the object state detection system as described above, and the object state detection system includes: a detection module, a control module and a processing module. The object state detection method includes the following steps:
[0076] Step S10: The detection module detects the state of the object and generates a corresponding control signal according to the state.
[0077] Step S20: the control module generates a switch instruction to the switch module, and controls the processing module to work according to the control signal.
[0078] It should be noted that the detection module is used to detect the state of the object and generate a corresponding control signal according to the state; the control module is also used to switch the mode according to the control signal.
[0079] In a specific implementation, the detection module is connected to the control module. The detection module is used to detect the state of an object. The object may include a vehicle or a person, or other objects. The state of the object includes a moving state and a stationary state. When the detection module detects that the state of the object is a stationary state, it can generate a corresponding stationary state control signal. The control module receives the stationary state control signal sent by the detection module, and performs corresponding mode switching according to the stationary state control signal. When the detection module detects that the state of the object is a moving state, it can generate a corresponding moving state control signal. The control module receives the moving state control signal sent by the detection module, and performs corresponding mode switching according to the moving state control signal.
[0080] Step S30: the switch module controls the detection module and the processing module to be powered on or powered off according to the switch instruction.
[0081] Step S40: the processing module processes the object when powered on.
[0082] In this embodiment, the control module is also connected to the switch module, and the control module can generate a switch instruction to the switch module. After receiving the switch instruction, the switch module controls the power on or off of the detection module and the processing module connected thereto through the switch instruction. When the detection module or the processing module is powered on, the object can be detected or processed. When the detection module or the processing module is powered off, the power of the object state detection system does not need to be consumed, thereby reducing the standby energy consumption of the system. When the processing module is powered on, the object can be processed, including obtaining the location data of the object and sending the location data to a remote server, etc., and other methods of processing the object can also be included.
[0083] This embodiment sets a detection module, a control module, a processing module and a switch module in the object state detection system, wherein the control module is respectively connected to the detection module and the switch module, and the processing module and the detection module are also respectively connected to the corresponding switch modules; the detection module is used to detect the state of the object and generate a corresponding control signal according to the state; the control module is used to generate a switch instruction to the switch module; the control module is also used to control the processing module to work according to the control signal; the switch module is used to control the detection module and the processing module to power on or off according to the switch instruction; the processing module is used to process the object when powered on, and the detection module and the processing module are individually controlled to power on or off through the switch module, which greatly reduces the standby energy consumption of the system and reduces the energy consumed by the system.
[0084] It should be understood that the above is only an example and does not constitute any limitation on the technical solution of the present invention. In specific applications, technicians in this field can make settings as needed, and the present invention does not limit this.
[0085] It should be noted that the workflow described above is merely illustrative and does not limit the scope of protection of the present invention. In practical applications, technicians in this field can select part or all of them according to actual needs to achieve the purpose of the present embodiment, and no limitation is made here.
[0086] In addition, for technical details not fully described in this embodiment, reference can be made to the object state detection method provided in any embodiment of the present invention, and will not be repeated here.
[0087] In addition, it should be noted that, in this article, the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article or system including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or system. In the absence of further restrictions, an element defined by the sentence "comprises a ..." does not exclude the existence of other identical elements in the process, method, article or system including the element.
[0088] The serial numbers of the above embodiments of the present invention are only for description and do not represent the advantages or disadvantages of the embodiments.
[0089] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present invention, or the part that contributes to the prior art, can be embodied in the form of a software product, which is stored in a storage medium (such as a read-only memory (ROM) / RAM, a magnetic disk, or an optical disk), and includes a number of instructions for a terminal device (which can be a mobile phone, a computer, a server, or a network device, etc.) to execute the methods described in each embodiment of the present invention.
[0090] The above are only preferred embodiments of the present invention, and are not intended to limit the patent scope of the present invention. Any equivalent structure or equivalent process transformation made using the contents of the present invention specification and drawings, or directly or indirectly applied in other related technical fields, are also included in the patent protection scope of the present invention.
Claims
1. An object state detection system, It is characterized in that The object state detection system comprises: a detection module, a control module, a switch module and a processing module, wherein the control module is connected to the detection module and the switch module respectively, and the processing module and the detection module are also connected to the corresponding switch modules respectively; The detection module is used to detect the state of the object and generate a corresponding control signal according to the state; The control module is used to generate a switch instruction to the switch module; The control module is further used to switch the mode according to the control signal; The switch module is used to control the detection module and the processing module to be powered on or off according to the switch instruction; The detection module includes: an accelerometer; The accelerometer is used to detect the state of the object and send an interrupt control signal to the control module according to the motion state when the object changes from a static state to a motion state; The switch module includes: a load switch; The control module is used to send a closing instruction to the load switch when receiving the interrupt control signal; The load switch is used to control the accelerometer to be powered off according to the shutdown instruction; The processing module is used to process the object when powered on; The control module includes: a single chip microcomputer, and the single chip microcomputer includes: a timer, an interrupt unit and a controller; The timer is used to send a wake-up instruction to the interrupt unit in a preset time period; The interrupt unit is used to wake up the controller to exit the low power consumption mode according to the wake-up instruction, so that the controller enters the working mode; The controller is used to send a switch instruction to the switch module in the working mode; The interrupt unit is further used to obtain the control signal and control the controller to switch the mode according to the control signal; The timer is also used to shut down when the object is in a stationary state; The single chip microcomputer further comprises: an output instruction unit, wherein the output instruction unit is connected to the controller; The output instruction unit is used to receive the switch instruction and output the switch instruction to the switch module.
2. The object state detection system according to claim 1, It is characterized in that The object state detection system further includes: a power supply module, the power supply module being connected to the control module and the switch module respectively; The power supply module is used to provide power to the control module, the processing module and the detection module; The switch module is used to turn on or off the power provided by the power module to the processing module and the detection module according to the switch instruction.
3. A method for detecting an object state, It is characterized in that The object state detection method is applied to the object state detection system according to any one of claims 1 to 2, the object state detection system comprising: a detection module, a control module and a processing module, and the object state detection method comprises: The detection module detects the state of the object and generates a corresponding control signal according to the state; The control module generates a switch instruction to the switch module, and controls the processing module to work according to the control signal; The switch module controls the detection module and the processing module to be powered on or off according to the switch instruction; The detection module includes: an accelerometer; The accelerometer is used to detect the state of the object and send an interrupt control signal to the control module according to the motion state when the object changes from a static state to a motion state; The switch module includes: a load switch; The control module is used to send a closing instruction to the load switch when receiving the interrupt control signal; The load switch is used to control the accelerometer to be powered off according to the shutdown instruction; The processing module processes the object when powered on; The control module includes: a single chip microcomputer, and the single chip microcomputer includes: a timer, an interrupt unit and a controller; The timer sends a wake-up instruction to the interrupt unit in a preset time period; The interrupt unit wakes up the controller to exit the low power consumption mode according to the wake-up instruction, so that the controller enters the working mode; The controller sends a switch instruction to the switch module when in working mode; The interrupt unit acquires the control signal, and controls the controller to switch the mode according to the control signal; The timer is turned off when the object is in a stationary state; The single chip microcomputer further comprises: an output instruction unit, wherein the output instruction unit is connected to the controller; The output instruction unit receives the switch instruction and outputs the switch instruction to the switch module.
