A hierarchical hibernation and wake-up method for a low-power consumption camera ultra-long standby system
By employing dual-core heterogeneous power domain management and hierarchical sleep-wake methods, combined with dynamic coding scheduling and battery management, the power consumption waste and wake-up stability issues of low-power cameras in scenarios without mains power are resolved, achieving ultra-long standby time and high reliability, and adapting to diverse monitoring needs.
Patent Information
- Application Number
- CN202611351900.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-09-02
- Publication Date
- 2026-11-27
AI Technical Summary
Existing low-power cameras suffer from problems such as static leakage, serious power waste, poor wake-up stability, fixed encoding strategies, and improper battery management in scenarios without mains power, resulting in short battery life and low reliability.
It adopts dual-core heterogeneous power domain management, hierarchical sleep and wake-up, dynamic coding scheduling and full-process anomaly protection. Through hardware hierarchical sleep, hierarchical coding and battery management, it achieves ultra-low power consumption, high reliability and long battery life of the camera.
It achieves ultra-low power consumption, long battery life, and high reliability operation of cameras in scenarios without mains power, is compatible with new and old equipment, reduces maintenance frequency, and extends equipment life.
Smart Images

Figure CN123177901A_ABST
Abstract
Description
Technical Field
[0001] This invention belongs to the field of low-power control technology for security monitoring equipment, and in particular relates to a hierarchical sleep and wake-up method for a low-power camera ultra-long standby system. Background Technology
[0002] Currently, in scenarios without mains power, such as fishponds, forests, construction sites, photovoltaic parks, and remote farmhouses, 4G security cameras powered by solar lithium batteries are commonly used for monitoring. The industry's demands for ultra-long standby time, low maintenance, and high reliability of these devices are becoming increasingly stringent. Existing low-power camera sleep technologies generally employ a deep sleep mode in the video control software, which has inherent technical flaws. It cannot achieve complete hardware-level power-off, leaving the video control kernel, clock tree, registers, and DDR memory constantly powered, continuously generating static leakage. Software-level power optimization has reached its limit, making it difficult for conventional devices to achieve a lithium battery life exceeding 40 days.
[0003] Meanwhile, existing technologies have several shortcomings: 1. In traditional single-master architecture, all detection, timing, and monitoring tasks are handled by a high-performance video master controller. During idle periods, the master controller still operates at a low frequency, resulting in over 60% of power consumption being wasted due to ineffective computing power. 2. DDR memory always performs high-frequency refresh across the entire domain. There is no hierarchical power consumption control in sleep mode. Static memory power consumption accounts for about 30% of the total standby power consumption, resulting in a high proportion of ineffective power consumption. 3. Video encoding strategies are fixed, mostly using fixed frame rate encoding. In unmanned, empty scenes, continuous high-frequency encoding and frequent reading and writing of storage media lead to significant power consumption losses in both computing power and storage, making it impossible to dynamically adjust to different scenarios. 4. Peripherals are only shut down through software registers, without disconnecting the hardware power supply. The superposition of idle leakage current increases the overall standby power consumption. 5. The simple power-off sleep scheme lacks a timing compensation mechanism. Under high and low temperature and low voltage conditions, it is prone to wake-up stuttering, missed captures, and device crashes, failing to balance low power consumption and security reliability. 6. The sleep strategy is decoupled from the battery management system. High-frequency wake-up is still performed when the battery is low, which can easily cause over-discharge damage to the lithium battery, resulting in device bulging and high offline failure rates. Summary of the Invention
[0004] The purpose of this invention is to provide a hierarchical sleep and wake-up method for a low-power camera with ultra-long standby time. To solve the problems of incomplete power consumption optimization, poor wake-up stability, fixed coding strategies, lack of battery protection, and poor compatibility with existing equipment in the prior art, this invention achieves ultra-low power consumption, high reliability, and long battery life operation of the camera through dual-core heterogeneous power domain management, hierarchical sleep and wake-up, dynamic coding scheduling, and full-process anomaly protection, and is compatible with new mass production and the upgrading of existing equipment.
[0005] To achieve the above objectives, the present invention provides a hierarchical sleep and wake-up method for a low-power camera ultra-long standby system, comprising the following steps: S1. The system initializes and performs hardware hierarchical hibernation standby when there are no valid triggering events, timed tasks, or remote commands, retaining only the core monitoring loop for operation. S2. After detecting a valid wake-up signal, the power domain is powered on, hardware is initialized and working mode is switched step by step through the full temperature range timing fault-tolerant compensation mechanism to trigger fault-tolerant wake-up. S3. Combining the PIR human body movement level and the BMS battery SOC power, it adaptively matches the encoding level to complete the entire business process of image acquisition, encoding, recording and alarm push, and performs hierarchical encoding business processing. S4. After the business is completed, delay debouncing is performed, the power supply to the power consumption hardware is automatically cut off, and the system is reset to the hierarchical sleep standby state.
[0006] Preferably, the process of S1 is as follows: S11. Initialize the ultra-long standby system of the low-power camera; S12, the microcontroller outputs a constant low level to control the PMOS power gate switch, hardware-cutting off all power supply circuits in the power domain that can be turned off. S13. After the power outage is completed, the guard microcontroller shuts down the redundant peripheral clock and IO port, and enables the RTC timing, PIR interrupt wake-up and BMS power sampling functions. It then enters the RTC linkage deep sleep mode to maintain the microampere-level guard current. S14. Perform DDR hierarchical low power consumption management: Based on the JEDEC JESD79-3 standard, disable the DDR3 memory full-domain Auto-Refresh high-frequency refresh mechanism, only retain the minimum Bank block required for image capture cache to enable low-speed Self-Refresh, and completely power off and hibernate the remaining idle Bank blocks. S15. Only the PIR sensing circuit, RTC timing circuit and BMS power sampling circuit of the always-on power domain are kept working continuously. The microcontroller silently samples the system status at a 100ms cycle. If there is no effective trigger, it will continue to maintain an ultra-low power sleep state.
[0007] Preferably, in S14, the power consumption reduction rate of DDR memory is calculated using a power consumption reduction calculation formula. The process is as follows: ; in This indicates the power consumption of the global Auto-Refresh high-frequency refresh operation; This indicates the power consumption of the local Bank during low-speed Self-Refresh in hierarchical sleep mode.
[0008] Preferably, when maintaining an ultra-low power sleep state in S15, a microampere-level superimposed power consumption model is followed, at which point the overall static standby power consumption is... The calculation process is as follows: ; in This represents the total standby current of the always-on power domain; This indicates the system's rated operating voltage.
[0009] Preferably, the process of S2 is as follows: S21. When a valid trigger is detected, a wake-up source anti-shake verification is performed. The wake-up source anti-shake verification process is to determine a valid trigger only when the duration of a single signal is not less than the preset trigger signal, and to filter out instantaneous interference false triggers. S22. Based on the full temperature range adaptation algorithm, the PMOS power supply gate regulation is executed in segments, the main control core is powered on in a stepped manner, the DDR clock is preloaded and the image sensor is initialized in sequence, and the standard power-on slope of the chip is matched. With the help of the external voltage regulation compensation circuit, the abnormal power-on at high and low temperatures is avoided. S23. The microcontroller outputs a high level to turn on the PMOS power gate, which can shut down the power domain and power on the whole. The video main controller, DDR memory, 4G module and various peripherals complete hardware initialization in sequence and power on the whole power domain. If the device fails to start up for 3 consecutive times, it will automatically cut off the power of the shut-off power domain and retry to wake up according to the preset interval. S24, in accordance with the JEDEC JESD79-3 standard SRE / SRX timing constraints, smoothly switches DDR memory from low-speed Self-Refresh mode to full-domain high-frequency Auto-Refresh mode through a frame buffer transition mechanism; S25. After power-on, automatically establish a UART communication link between the microcontroller and the video controller, enable CRC-16 check, command debouncing and packet loss re-detection mechanism, and synchronize system status.
[0010] The preferred full-temperature-zone adaptation algorithm establishes a total wake-up latency timing superposition model to ensure wake-up reliability across all temperature zones, as follows: ; in Indicates the total wake-up delay; Indicates the delay in responding to external interrupts; Indicates the power-on timing delay in the power domain; Indicates the DDR self-refresh exit timing delay; This indicates the initialization delay between the sensor and the main controller.
[0011] Preferably, the full-temperature adaptation algorithm executes the delay in segments according to the sequence of PMOS power gate activation, main control core power-on, DDR clock preloading, and image sensor power-on; at the same time, it is combined with the power-on voltage regulation compensation peripheral circuit to ensure that the power supply rise slope meets the device datasheet specifications. When the power-on handshake fails, a retry protection is implemented to resolve the main controller wake-up failure problem caused by threshold drift and capacitor charging / discharging speed deviation at low temperatures.
[0012] Preferably, the process of S3 is as follows: S31, the microcontroller unit acquires the open-circuit voltage (OCV) of the lithium battery through a 12-bit analog-to-digital converter. Accurately calculate the remaining battery capacity percentage by comparing with the S-type OCV-SOC discharge curve of lithium battery. It can also identify the PIR signal strength and duration, and classify the abnormal movement mode into three levels: normal unmanned, low-frequency abnormal movement, and high-frequency human and vehicle abnormal movement. S32. Working mode based on SOC power threshold and abnormality level linkage matching; when The time will completely follow the anomaly level adjustment; when The coding interval for unmanned scenarios is forcibly lengthened. when Locking in low-power core guard mode; S33. Perform hierarchical coding execution, the process is as follows: For normal unmanned mode, I-frame sampling is used at 3-5s intervals, with no continuous P-frame output, to reduce computing power and storage power consumption. For low-frequency abnormal patterns, a fixed 1-second encoding interval is used; For high-frequency human and vehicle movement modes, switch to full frame rate H.265 real-time encoding, and support APP to customize 1s / 3s / 5s encoding interval; S34. The video controller completes a full set of security services, including image acquisition, video compression, local TF card recording, network alarm push, and cloud message reporting, according to the encoded instructions.
[0013] Preferably, the process of S4 is as follows: S41. After receiving the video master control feedback signal, the microcontroller unit verifies whether the capture, recording and alarm push have been completed, and whether there are any non-continuous abnormalities and unprocessed instructions. S42. Activate the fixed delay mechanism for delay-based anti-shake protection; S43. After the delay ends, the microcontroller pulls the PMOS enable pin low, the hardware cuts off all power supply to the power-off domain, and the main controller, DDR and peripherals are powered off simultaneously. S44. The system switches to the always-on power domain single microcontroller control mode. The microcontroller re-enters deep sleep, restarts the loop monitoring logic, and realizes sleep-wake closed-loop operation.
[0014] Preferably, the linkage hierarchical hibernation strategy in S32 is as follows: when Time-adaptive encoding mode switching; when The coding interval for unmanned scenarios is forcibly adjusted to extend the sleep duration. when Reduce wake-up frequency and retain only the PIR alarm function; When the battery voltage drops to the discharge cutoff voltage, power should not be applied to the power-off domain to prevent over-discharge.
[0015] Therefore, the present invention employs the above-mentioned hierarchical sleep and wake-up method for a low-power camera ultra-long standby system, which has the following advantages: 1. Abandoning the traditional software hibernation mode, the video main controller and all power-consuming hardware are completely physically powered off in standby mode, eliminating no-load leakage current of chip core, clock, and peripherals, and controlling the static standby current of the whole machine within the set threshold, greatly reducing the frequency of maintenance of field equipment.
[0016] 2. Implemented DDR memory hierarchical self-refresh control, dynamically switching refresh modes according to power domain status, retaining only necessary memory blocks for operation during hibernation, reducing standby power consumption, and simultaneously addressing screen flickering issues during mode switching through a frame buffer transition timing mechanism, while balancing low power consumption and screen stability.
[0017] 3. Adopting a dual-dimensional hierarchical coding strategy of anomaly and power consumption, it dynamically adapts the coding frequency to different scenarios, avoids invalid coding in empty scenarios and storage read / write losses, and supports user-defined coding intervals to adapt to diverse monitoring needs, achieving the optimal balance between power consumption and security performance.
[0018] 4. It achieves synchronous power-off of all peripheral hardware, reduces the power consumption of peripheral leakage current, and, together with the full-temperature-zone power-on timing fault-tolerant compensation technology, can stably wake up under the set operating conditions, solving the problems of low temperature and low voltage wake-up failure and missed capture.
[0019] 5. The configured BMS power linkage protection mechanism adaptively adjusts the sleep strategy and wake-up frequency according to the remaining battery power, effectively preventing lithium battery over-discharge damage, reducing battery degradation, bulging and equipment offline failure rate, and extending equipment life.
[0020] 6. Minimal hardware modifications and strong adaptability; can be directly mass-produced without altering motherboard wiring or cloud backend; low modification cost and strong feasibility; compatible with all existing equipment business functions.
[0021] The technical solution of the present invention will be further described in detail below with reference to the accompanying drawings and embodiments. Attached Figure Description
[0022] Figure 1 This is an overall flowchart of a hierarchical sleep and wake-up method for a low-power camera ultra-long standby system according to the present invention; Figure 2 This is a system diagram illustrating the implementation of a hierarchical sleep and wake-up method for a low-power camera ultra-long standby system according to the present invention. Detailed Implementation
[0023] To make the objectives, technical solutions, and advantages of the embodiments of the present invention clearer, the technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, not all embodiments. The components of the embodiments of the present invention described and shown in the accompanying drawings can generally be arranged and designed in various different configurations. Specific model specifications need to be selected and determined according to the actual specifications of the device, etc. The specific selection calculation method adopts existing technology in the art, and therefore will not be described in detail.
[0024] Example 1; like Figure 1 and Figure 2 As shown, this invention provides a graded sleep and wake-up method for a low-power camera ultra-long standby system, comprising the following steps: S1. The system initializes and performs hardware hierarchical hibernation standby when there are no valid triggering events, timed tasks, or remote commands, retaining only the core monitoring loop for operation. S11. Initialize the ultra-long standby system of the low-power camera; S12, the micro-controller unit (MCU) outputs a constant low level to control the PMOS (P-type metal-oxide-semiconductor transistor used as a power gate switch) power gate switch, hardware cuts off all power supply circuits of the power-off domain (PD), realizes full hardware power-down of the video main control, and eliminates the inherent leakage of the chip; The power-off domains include the video main control SoC, DDR memory, image sensor, infrared fill light, speaker and 4G-Cat1 module; S13. After the power outage is completed, the duty microcontroller disables redundant peripheral clocks and I / O ports, enables 32.768kHz RTC (Real-Time Clock) timing, PIR (Passive Infrared) interrupt wake-up, and BMS power sampling functions, and enters RTC-linked deep sleep mode to maintain... 3V microampere level guard current; S14. Implement DDR tiered low-power management: Based on the JEDEC JESD79-3 standard, disable the full-domain Auto-Refresh high-frequency refresh mechanism of DDR3 (third-generation double-rate synchronous dynamic random access memory), only retain the minimum Bank block required for image capture buffer to enable low-speed Self-Refresh, and completely power off and hibernate the remaining idle Bank (DDR memory internal storage block); The power consumption reduction rate of DDR memory is calculated using the power consumption reduction formula. The process is as follows: ; in This indicates the power consumption of the global Auto-Refresh high-frequency refresh operation; This indicates the power consumption of the local Bank during low-speed Self-Refresh in hierarchical sleep mode.
[0025] S15. Only the PIR sensing circuit, RTC timing circuit, and BMS power sampling circuit in the always-on power domain (AON) are kept running continuously, completely eliminating the superposition loss of no-load leakage current of all peripherals. The microcontroller silently samples the system status at a 100ms cycle. If there is no effective trigger, it continues to maintain an ultra-low power sleep state, while ensuring the stability of the static standby current of the whole machine. .
[0026] When maintaining an ultra-low power sleep state, the system follows a microampere-level superimposed power consumption model, at which point the overall static standby power consumption is... The calculation process is as follows: ; in This represents the total standby current of the always-on power domain; This indicates the system's rated operating voltage.
[0027] S2. After detecting a valid wake-up signal, the power domain is powered on, hardware is initialized and working mode is switched step by step through the full temperature range timing fault-tolerant compensation mechanism to trigger fault-tolerant wake-up. S21. When a valid trigger is detected, a wake-up source anti-shake verification is performed. The wake-up source anti-shake verification process is to determine a valid trigger only when the duration of a single signal is not less than the preset trigger signal, and to filter out instantaneous interference false triggers. Effective triggers include PIR human body sensor external interrupt, RTC timer event, and cloud-based remote level wake-up command; S22, based on the full temperature range adaptation algorithm of -20℃ to +70℃, executes the PMOS power gate regulation start-up, main control core step power-up, DDR clock preloading and image sensor initialization timing in segments, and matches the standard power-up slope of the chip, and avoids high and low temperature power-up abnormalities with the help of the external voltage regulation compensation circuit. The full-temperature-range adaptation algorithm targets the industrial temperature range of -20℃ to +70℃, solving problems such as MOSFET threshold drift, changes in capacitor charging and discharging speed, SoC / DDR initialization time deviation, and startup failure and wake-up timeout in fixed-delay power-on sequences at low temperatures. The principle is as follows: The MCU reads the onboard temperature sample, divides the working environment into multiple temperature ranges, and dynamically outputs segmented power-on delay parameters by looking up a table. It strictly follows the sequence of PMOS power gate activation → main control core power-on → DDR clock preloading → image sensor power-on. Simultaneously, it coordinates with external power-on voltage regulation and compensation hardware circuitry to ensure the power rise rate meets the chip datasheet requirements. A retry mechanism is provided after a power-on failure, and the total wake-up delay constraint is minimized while meeting the device datasheet timing constraints. .
[0028] The execution process is as follows: After the wake-up event is triggered, the monitoring MCU first reads the onboard NTC temperature sample to obtain the ambient temperature. .
[0029] The temperature-delay lookup table pre-stored in the MCU's internal Flash memory is shown in Table 1, providing the corresponding power-up delay at the current temperature. DDR exit self-refresh latency Peripheral initialization delay ; Table 1 Temperature-Delay Lookup Table
[0030] MCU output control level to enable PMOS power gate, start. Delay, wait for the PD power domain voltage ramp to complete.
[0031] After power-on is complete, execute DDR to exit Self-Refresh, then execute... A delay is applied while a frame buffer transition mechanism is executed to prevent screen flickering.
[0032] Execute again Delay, waiting for the video controller and image sensor to complete hardware initialization.
[0033] Once all delays have ended, establish a UART serial communication link; calculate the total wake-up delay. Check whether the constraint of ≤280ms is met.
[0034] If the communication handshake fails, the power-on is deemed abnormal; the abnormality protection logic is executed, and if it fails 3 times in a row, the retry interval is extended to 30 seconds to avoid system crashes.
[0035] To ensure wake-up reliability across all temperature zones, the full-temperature-zone adaptation algorithm establishes a total wake-up latency timing superposition model, as follows: ; in Indicates the total wake-up delay; Indicates the delay in responding to external interrupts; Indicates the power-on timing delay in the power domain; Indicates the DDR self-refresh exit timing delay; This indicates the initialization delay between the sensor and the main controller.
[0036] The full-temperature adaptation algorithm executes the delay in segments according to the sequence of PMOS power gate activation, main control core power-on, DDR clock preloading, and image sensor power-on; at the same time, it works with the power-on voltage regulation and compensation peripheral circuit to ensure that the power supply rise slope meets the device datasheet specifications. When the power-on handshake fails, a retry protection is implemented to resolve the main controller wake-up failure problem caused by threshold drift and capacitor charging / discharging speed deviation at low temperatures.
[0037] S23. The microcontroller outputs a high level to turn on the PMOS power gate, which can shut down the power domain and power on the whole. The video main controller, DDR memory, 4G module and various peripherals complete hardware initialization in sequence and power on the whole power domain. If the device fails to start up for 3 consecutive times, it will automatically cut off the power of the shut-off power domain and retry to wake up according to the preset interval. S24. Adhering to the JEDEC JESD79-3 standard SRE / SRX timing constraints, it smoothly switches DDR memory from a low-speed Self-Refresh mode to a full-domain high-frequency Auto-Refresh mode through a frame buffer transition mechanism, with a fixed refresh cycle. Eliminate screen flickering; S25. After power-on, the microcontroller and the video controller automatically establish a UART communication link, enable CRC-16 check, command debouncing and packet loss re-detection mechanism, and synchronize system status to ensure that the total wake-up latency is ≤280ms and the human-vehicle wake-up success rate is ≥99%.
[0038] S3. Combining the PIR human body movement level and the BMS battery SOC power, it adaptively matches the encoding level to complete the entire business process of image acquisition, encoding, recording and alarm push, and performs hierarchical encoding business processing. S31, the microcontroller unit acquires the open-circuit voltage (OCV) of the lithium battery through a 12-bit analog-to-digital converter (ADC). Accurately calculate the remaining battery capacity percentage by comparing with the S-type OCV-SOC discharge curve of lithium battery. It can also identify the PIR signal strength and duration, and classify the abnormal movement mode into three levels: normal unmanned, low-frequency abnormal movement, and high-frequency human and vehicle abnormal movement. S32. Working mode based on SOC power threshold and abnormality level linkage matching; when The time will completely follow the anomaly level adjustment; when The coding interval for unmanned scenarios is forcibly lengthened. when Locking in low-power core guard mode; The hierarchical hibernation strategy is as follows: when Time-adaptive encoding mode switching; when The coding interval for unmanned scenarios is forcibly adjusted to extend the sleep duration. when Reduce wake-up frequency and retain only the PIR alarm function; When the battery voltage drops to the discharge cutoff voltage, power should not be applied to the power-off domain to prevent over-discharge.
[0039] S33. Perform hierarchical coding execution, the process is as follows: For normal unmanned mode, keyframe sampling is performed at 3-5 second intervals using I-frames (H.265 encoded frame type), without continuous P-frame (H.265 encoded frame type) output, reducing computing power and storage power consumption; For low-frequency abnormal patterns, a fixed 1-second encoding interval is used; For high-frequency human and vehicle movement modes, switch to full frame rate H.265 real-time encoding, and support APP to customize 1s / 3s / 5s encoding interval; S34. The video controller completes a full set of security services, including image acquisition, video compression, local TF card recording, network alarm push, and cloud message reporting, according to the encoded instructions.
[0040] S4. After the business is completed, delay debouncing is performed, the power supply to the power consumption hardware is automatically cut off, and the system is reset to the hierarchical sleep standby state.
[0041] S41. After receiving the video master control feedback signal, the microcontroller unit verifies whether the capture, recording and alarm push have been completed, and whether there are any non-continuous abnormalities and unprocessed instructions. S42. Activate the fixed delay mechanism for delay-based anti-shake protection; S43. After the delay ends, the microcontroller pulls the PMOS enable pin low, the hardware cuts off all power supply to the power-off domain, and the main controller, DDR and peripherals are powered off simultaneously. S44. The system switches to the always-on power domain single microcontroller control mode. The microcontroller re-enters deep sleep, restarts the loop monitoring logic, and realizes sleep-wake closed-loop operation.
[0042] This method is compatible with both new and old equipment. New machines can be mass-produced by directly soldering the minimum peripheral circuit of the MCU. Existing equipment can have hardware modules added using the reserved solder pads on the motherboard, and the power scheduling firmware can be upgraded remotely via OTA without changing the motherboard wiring. It is also compatible with the original AOV mode and timed recording mode.
[0043] Example 2; The device monitors the battery SOC at 42% in real time, which is within the 20% < SOC ≤ 50% range, and there are no abnormal PIR signals. The monitor MCU triggers a low-power adaptation strategy, forcibly extending the encoding interval for unattended scenarios to 4 seconds, prolonging the PD power domain sleep time, and reducing power consumption from frequent main controller power-ups. When the battery SOC drops to 18%, the system locks into core monitor mode, only responding to PIR alarm triggers and disabling invalid timed wake-ups; when the battery voltage drops to the 3.0V cutoff voltage, the MCU disables PD domain power-up, achieving over-discharge protection for the battery.
[0044] Example 3; For existing, outdated camera equipment, the minimum peripheral circuitry for the MCU (32.768K RTC crystal oscillator, PMOS gated resistors and capacitors) is added using the HC32L110C6UA solder pad reserved on the motherboard. The video controller can be remotely upgraded with power scheduling firmware via cloud OTA, without modifying the motherboard wiring, replacing the BMS power supply, or the cloud-based APP backend. After the upgrade, the equipment can fully implement all the functions of this invention, including hierarchical sleep mode, fault-tolerant wake-up, dynamic encoding, and battery protection, while also being compatible with the original AOV recording and timed monitoring modes.
[0045] Example 4; When the device fails to start up on the PD domain for the first time under the low temperature condition of -20℃, the monitoring MCU detects the hardware startup abnormality in real time, immediately cuts off the power supply of the PD domain, and retryes powering up after an interval of 2 seconds. After three consecutive startup failures, the system automatically extends the retry interval to 30 seconds to avoid the device getting stuck due to repeated startups and to ensure the stability of the device operation under extreme low temperature conditions.
[0046] Therefore, the present invention employs a hierarchical sleep and wake-up method for a low-power camera ultra-long standby system, which has the following advantages: 1. Abandoning the traditional software hibernation mode, the video main controller and all power-consuming hardware are completely physically powered off in standby mode, eliminating no-load leakage current of chip core, clock, and peripherals, and controlling the static standby current of the whole machine within the set threshold, greatly reducing the frequency of maintenance of field equipment.
[0047] 2. Implemented DDR memory hierarchical self-refresh control, dynamically switching refresh modes according to power domain status, retaining only necessary memory blocks for operation during hibernation, reducing standby power consumption, and simultaneously addressing screen flickering issues during mode switching through a frame buffer transition timing mechanism, while balancing low power consumption and screen stability.
[0048] 3. Adopting a dual-dimensional hierarchical coding strategy of anomaly and power consumption, it dynamically adapts the coding frequency to different scenarios, avoids invalid coding in empty scenarios and storage read / write losses, and supports user-defined coding intervals to adapt to diverse monitoring needs, achieving the optimal balance between power consumption and security performance.
[0049] 4. It achieves synchronous power-off of all peripheral hardware, reduces the power consumption of peripheral leakage current, and, together with the full-temperature-zone power-on timing fault-tolerant compensation technology, can stably wake up under the set operating conditions, solving the problems of low temperature and low voltage wake-up failure and missed capture.
[0050] 5. The configured BMS power linkage protection mechanism adaptively adjusts the sleep strategy and wake-up frequency according to the remaining battery power, effectively preventing lithium battery over-discharge damage, reducing battery degradation, bulging and equipment offline failure rate, and extending equipment life.
[0051] 6. Minimal hardware modifications and strong adaptability; can be directly mass-produced without altering motherboard wiring or cloud backend; low modification cost and strong feasibility; compatible with all existing equipment business functions.
[0052] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention and not to limit them. Although the present invention has been described in detail with reference to preferred embodiments, those skilled in the art should understand that modifications or equivalent substitutions can still be made to the technical solutions of the present invention, and these modifications or equivalent substitutions cannot cause the modified technical solutions to deviate from the spirit and scope of the technical solutions of the present invention.
Claims
1. A hierarchical sleep and wake-up method for a low-power camera ultra-long standby system, characterized in that, Includes the following steps: S1. The system initializes and performs hardware hierarchical hibernation standby when there are no valid triggering events, timed tasks, or remote commands, retaining only the core monitoring loop for operation. S2. After detecting a valid wake-up signal, the power domain is powered on, hardware is initialized and working mode is switched step by step through the full temperature range timing fault-tolerant compensation mechanism to trigger fault-tolerant wake-up. S3. Combining the PIR human body movement level and the BMS battery SOC power, it adaptively matches the encoding level to complete the entire business process of image acquisition, encoding, recording and alarm push, and performs hierarchical encoding business processing. S4. After the business is completed, delay debouncing is performed, the power supply to the power consumption hardware is automatically cut off, and the system is reset to the hierarchical sleep standby state.
2. The hierarchical sleep and wake-up method for a low-power camera ultra-long standby system according to claim 1, characterized in that, The process of S1 is as follows: S11. Initialize the ultra-long standby system of the low-power camera; S12, the microcontroller outputs a constant low level to control the PMOS power gate switch, hardware-cutting off all power supply circuits in the power domain that can be turned off. S13. After the power outage is completed, the guard microcontroller shuts down the redundant peripheral clock and IO port, and enables the RTC timing, PIR interrupt wake-up and BMS power sampling functions. It then enters the RTC linkage deep sleep mode to maintain the microampere-level guard current. S14. Perform DDR hierarchical low power consumption management: Based on the JEDEC JESD79-3 standard, disable the DDR3 memory full-domain Auto-Refresh high-frequency refresh mechanism, only retain the minimum Bank block required for image capture cache to enable low-speed Self-Refresh, and completely power off and hibernate the remaining idle Bank blocks. S15. Only the PIR sensing circuit, RTC timing circuit and BMS power sampling circuit of the always-on power domain are kept working continuously. The microcontroller silently samples the system status at a 100ms cycle. If there is no effective trigger, it will continue to maintain an ultra-low power sleep state.
3. The hierarchical sleep and wake-up method for a low-power camera ultra-long standby system according to claim 2, characterized in that: S14 uses a power reduction calculation formula to calculate the DDR memory power reduction rate. The process is as follows: ; in This indicates the power consumption of the global Auto-Refresh high-frequency refresh operation; This indicates the power consumption of the local Bank during low-speed Self-Refresh in hierarchical sleep mode.
4. The hierarchical sleep and wake-up method for a low-power camera ultra-long standby system according to claim 3, characterized in that: When the S15 maintains an ultra-low power sleep state, it follows a microampere-level superimposed power consumption model, at which point the overall static standby power consumption is... The calculation process is as follows: ; in This represents the total standby current of the always-on power domain; This indicates the system's rated operating voltage.
5. The hierarchical sleep and wake-up method for a low-power camera ultra-long standby system according to claim 4, characterized in that, The process of S2 is as follows: S21. When a valid trigger is detected, a wake-up source anti-shake verification is performed. The wake-up source anti-shake verification process is to determine a valid trigger only when the duration of a single signal is not less than the preset trigger signal, and to filter out instantaneous interference false triggers. S22. Based on the full temperature range adaptation algorithm, the PMOS power supply gate regulation is executed in segments, the main control core is powered on in a stepped manner, the DDR clock is preloaded and the image sensor is initialized in sequence, and the standard power-on slope of the chip is matched. With the help of the external voltage regulation compensation circuit, the abnormal power-on at high and low temperatures is avoided. S23. The microcontroller outputs a high level to turn on the PMOS power gate, which can shut down the power domain and power on the whole. The video main controller, DDR memory, 4G module and various peripherals complete hardware initialization in sequence and power on the whole power domain. If the device fails to start up for 3 consecutive times, it will automatically cut off the power of the shut-off power domain and retry to wake up according to the preset interval. S24, in accordance with the JEDEC JESD79-3 standard SRE / SRX timing constraints, smoothly switches DDR memory from low-speed Self-Refresh mode to full-domain high-frequency Auto-Refresh mode through a frame buffer transition mechanism; S25. After power-on, the microcontroller and the video controller automatically establish a UART communication link, enable CRC-16 check, command debouncing and packet loss re-detection mechanism, and synchronize system status.
6. The hierarchical sleep and wake-up method for a low-power camera ultra-long standby system according to claim 5, characterized in that, To ensure wake-up reliability across all temperature zones, the full-temperature-zone adaptation algorithm establishes a total wake-up latency timing superposition model, as follows: ; in Indicates the total wake-up delay; Indicates the delay in responding to external interrupts; Indicates the power-on timing delay in the power domain; Indicates the DDR self-refresh exit timing delay; This indicates the initialization delay between the sensor and the main controller.
7. The hierarchical sleep and wake-up method for a low-power camera ultra-long standby system according to claim 6, characterized in that: The full-temperature adaptation algorithm executes the delay in segments according to the sequence of PMOS power gate activation, main control core power-on, DDR clock preloading, and image sensor power-on; at the same time, it works with the power-on voltage regulation and compensation peripheral circuit to ensure that the power supply rise slope meets the device datasheet specifications. When the power-on handshake fails, a retry protection is implemented to resolve the main controller wake-up failure problem caused by threshold drift and capacitor charging / discharging speed deviation at low temperatures.
8. The hierarchical sleep and wake-up method for a low-power camera ultra-long standby system according to claim 7, characterized in that, The process of S3 is as follows: S31, the microcontroller unit acquires the open-circuit voltage (OCV) of the lithium battery through a 12-bit analog-to-digital converter. Accurately calculate the remaining battery capacity percentage by referring to the S-type OCV-SOC discharge curve of lithium battery. It can also identify the PIR signal strength and duration, and classify the abnormal mode into three levels: normal unmanned, low-frequency abnormal movement, and high-frequency human and vehicle abnormal movement. S32. Working mode based on SOC power threshold and abnormality level linkage matching; when The adjustment will completely follow the anomaly level; when The coding interval for unmanned scenarios is forcibly lengthened. when Locking in low-power core guard mode; S33. Perform hierarchical coding execution, the process is as follows: For normal unmanned mode, I-frame sampling is used at 3-5s intervals, with no continuous P-frame output, to reduce computing power and storage power consumption. For low-frequency abnormal patterns, a fixed 1-second encoding interval is used; For high-frequency human and vehicle movement modes, switch to full frame rate H.265 real-time encoding, and support APP to customize 1s / 3s / 5s encoding interval; S34. The video controller completes a full set of security services, including image acquisition, video compression, local TF card recording, network alarm push, and cloud message reporting, according to the encoded instructions.
9. A hierarchical sleep and wake-up method for a low-power camera ultra-long standby system according to claim 8, characterized in that, The process of S4 is as follows: S41. After receiving the video master control feedback signal, the microcontroller unit verifies whether the capture, recording and alarm push have been completed, and whether there are any non-continuous abnormalities and unprocessed instructions. S42. Activate the fixed delay mechanism for delay-based anti-shake protection; S43. After the delay ends, the microcontroller pulls the PMOS enable pin low, the hardware cuts off all power supply to the power-off domain, and the main controller, DDR and peripherals are powered off simultaneously. S44. The system switches to the always-on power domain single microcontroller control mode. The microcontroller re-enters deep sleep, restarts the loop monitoring logic, and realizes sleep-wake closed-loop operation.
10. A hierarchical sleep and wake-up method for a low-power camera ultra-long standby system according to claim 8, characterized in that, The linked hierarchical hierarchical sleep strategy in S32 is as follows: when Time-adaptive encoding mode switching; when The coding interval for unmanned scenarios is forcibly adjusted to extend the sleep duration. when Reduce wake-up frequency and retain only the PIR alarm function; When the battery voltage drops to the discharge cutoff voltage, power should not be applied to the power-off domain to prevent over-discharge.
