Low-power-consumption management method and system of radar system and terminal

By copying key functional applications to Retention SRAM and executing them directly during wake-up, the problem of reloading program code after the radar system wakes up is solved, achieving fast response and low power consumption.

CN119415187AInactive Publication Date: 2025-02-11AIRTOUCH (SHANGHAI) INTELLIGENT TECHNOLOGY CO LTD
View PDF 8 Cites 0 Cited by

Patent Information

Application Number
CN202510019828.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-01-07
Publication Date
2025-02-11
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

After wake-up, existing radar systems need to reload program code from Flash, resulting in extended startup time, delayed task execution, and increased power consumption, affecting real-time response capabilities.

Method used

When the radar system is powered on, run the basic function application from Flash, and after completion, copy the key function application to the Retention SRAM, set the wake-up source to enter low-power sleep mode. When awake, perform critical functional applications directly from Retention SRAM to avoid duplicate loading.

Benefits of technology

It significantly reduces wake-up latency and power consumption, optimizes task scheduling, enhances system flexibility and processing efficiency, and extends device battery life.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119415187A_ABST
    Figure CN119415187A_ABST
Patent Text Reader

Abstract

According to the low-power-consumption management method and system of the radar system and the terminal, the starting address can be flexibly set, the specific application program can be started from the Flash or the Retention SRAM according to different task requirements, task scheduling is optimized, and the overall power consumption is effectively reduced. The application program of the key task is resident in the Retention SRAM, and the system can directly execute the application program when being awakened, so that the complexity of reloading from Flash each time is avoided, the awakening delay is obviously reduced, and the power consumption is reduced. Meanwhile, the system adopts an application program segmented storage and management mechanism, and application modules are dynamically switched according to external event triggering and task requirements, so that the flexibility and the processing efficiency of the system are enhanced, and the power consumption and performance requirements can be better balanced in a multi-task processing scene. Besides, by reducing frequent access of Flash and combining storage management and task scheduling strategies, system power consumption is remarkably reduced, equipment endurance time is prolonged, and the method has great significance in energy efficiency improvement of the Internet of Things and the wearable equipment.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of radar systems, and in particular to a low power consumption management method, system and terminal for radar systems. Background Art

[0002] Current radar systems are commonly used for object detection, target tracking, and distance measurement. Such radar systems rely on continuous high-frequency signal transmission and reception to ensure detection accuracy. However, in applications such as the Internet of Things and remote monitoring, continuously running radar systems will cause rapid battery consumption, making it difficult to maintain long-term operation of the device. There are some solutions in the prior art that reduce operating time and power consumption by low-frequency scanning or external interrupt wake-up.

[0003] For example, CN113721751A discloses a low-power management method and system based on events and sleep timers. The method creates a system sleep timer, starts the sleep timer and starts counting; if a trigger event occurs, the sleep timer count value is cleared and the counting is restarted; if a keep-alive event occurs, the sleep timer value is cleared and the counting is stopped, and the sleep timer is restarted and counted after exiting the keep-alive event; if the sleep timer reaches the set value, the peripheral module is turned off and the MCU enters a low-power mode; when the system is in sleep mode, if the peripheral module triggers an external interrupt, the MCU is awakened to exit the low-power mode, the system clock is reset and the peripheral module is initialized, the system is restored to the running state, and the sleep timer is restarted.

[0004] However, in the above scheme, each time the system is awakened, the program code needs to be reloaded from the Flash, which not only prolongs the startup time, but also delays the execution of the task. In addition, frequent Flash access further exacerbates the power consumption problem, especially in the system's frequent wake-up and sleep cycles. At the same time, although external interrupts can effectively wake up the MCU, the peripheral initialization steps after wake-up are repetitive and time-consuming. For high-performance radar systems, this delay may affect the system's real-time response capability and lead to untimely response. Therefore, how to improve the system's startup speed and responsiveness while maintaining low power consumption has become a problem that needs to be solved urgently. Summary of the invention

[0005] In view of the shortcomings of the prior art described above, the purpose of the present invention is to provide a low-power management method, system and terminal for a radar system, which are used to solve the technical problems in the prior art that the program code needs to be reloaded from the Flash after the system is awakened, which prolongs the startup time and delays the task execution, and at the same time, frequent Flash access increases power consumption, and repeated peripheral initialization after external interrupt awakening affects the real-time response capability of the high-performance radar system.

[0006] To achieve the above-mentioned purpose and other related purposes, the present invention provides a low-power management device for a radar system, which is communicatively connected to a screen, and the method includes: the radar system enters a normal mode when it is powered on, and runs basic function applications from Flash to perform basic tasks, and after the execution is completed, the basic function application copies the key function application from Flash to Retention SRAM, and sets a wake-up source, and the radar system enters a low-power sleep mode; when the radar system is awakened from the low-power sleep mode by the wake-up source, the key function application is run from the Retention SRAM to perform key tasks, and after the execution is completed, the radar system re-enters the low-power sleep mode and waits to be awakened.

[0007] In one embodiment of the present invention, the radar system loads a Flash Image file from Flash to run the basic function application; wherein the front part of the Flash Image file stores the executable program and data of the basic function application, the middle part stores the executable program and data of the key function application, and the rear part stores other data.

[0008] In one embodiment of the present invention, the basic function application executes basic tasks, and after the execution is completed, the basic function application copies the key function application from Flash to Retention SRAM, and sets the wake-up source, including: performing hardware and RF initialization; executing specific function basic tasks; after the execution is completed, copying the executable program and data of the key function application from Flash to Retention SRAM, and setting the startup address to the corresponding Retention SRAM space address; setting a wake-up source for waking up the radar system from a low-power sleep mode, so that the radar system enters a low-power sleep mode after the wake-up source is set and waits to be awakened by the wake-up source.

[0009] In one embodiment of the present invention, the key function application performs the key task including: initializing part of the hardware and part of the radio frequency based on the requirements of performing the key task; performing the key task; after the execution is completed, the radar system re-enters the low-power sleep mode in the absence of special requirements, waiting to be awakened by the wake-up source.

[0010] In one embodiment of the present invention, if there is a special need to return to normal mode, the startup address is set to the Flash space address, and after setting, the key function application software is reset or the hardware is reset so that the radar system can return to normal mode.

[0011] In one embodiment of the present invention, if there is a special need to reset the wake-up source, the wake-up source is reset so that the radar system can be woken up from the low power sleep mode through the newly set wake-up source.

[0012] In one embodiment of the present invention, the basic tasks include: one or more of initialization tasks, radio frequency calibration tasks, and production test tasks; the key tasks include: one or more of radar frequency scanning tasks, sensor data acquisition tasks, and algorithm processing and execution tasks.

[0013] In an embodiment of the present invention, the wake-up source adopts a wake-up source supported by the radar system, including: one or more of a timer, a GPIO, a button, and a light sensor.

[0014] To achieve the above-mentioned purpose and other related purposes, the present invention provides a low-power management system for a radar system, the system comprising: a basic task execution management module, which is used for the radar system to enter a normal mode when it is powered on, and to run a basic function application from a Flash to execute a basic task, and after the execution is completed, the basic function application copies a key function application from the Flash to a Retention SRAM, and sets a wake-up source, and the radar system enters a low-power sleep mode; a key task execution management module, which is connected to the basic task execution management module, and is used for when the radar system is awakened from the low-power sleep mode by a wake-up source, to run the key function application from the Retention SRAM to execute the key task, and after the execution is completed, the radar system re-enters the low-power sleep mode and waits to be awakened.

[0015] To achieve the above-mentioned purpose and other related purposes, the present invention provides an electronic terminal, comprising: one or more memories and one or more processors; the one or more memories are used to store computer programs; the one or more processors are connected to the memories and are used to run the computer programs to execute the low power consumption management device of the radar system.

[0016] As described above, the present invention is a low-power management method, system and terminal for a radar system, which has the following beneficial effects: the present invention can flexibly set the startup address to start a specific application from Flash or Retention SRAM according to different task requirements, which not only optimizes task scheduling, but also effectively reduces overall power consumption. By allowing the application of critical tasks to reside in Retention SRAM, the system can execute directly from it when it wakes up, avoiding the tediousness of reloading from Flash each time, significantly reducing the wake-up delay and reducing power consumption. At the same time, the system adopts an application segmented storage and management mechanism, dynamically switching application modules according to external event triggers and task requirements, enhancing the flexibility and processing efficiency of the system, so that it can better balance power consumption and performance requirements in multi-tasking scenarios. In addition, the present invention significantly reduces system power consumption and extends device battery life by reducing frequent access to Flash, combined with efficient storage management and task scheduling strategies, which is of great significance to improving the energy efficiency of the Internet of Things and wearable devices. BRIEF DESCRIPTION OF THE DRAWINGS

[0017] Figure 1 Shown is a flow chart of a low power consumption management method for a radar system in an embodiment of the present invention.

[0018] Figure 2 Shown is a schematic diagram of the structure of a Flash Image file in an embodiment of the present invention.

[0019] Figure 3 It is a schematic diagram of a normal mode flow chart in one embodiment of the present invention.

[0020] Figure 4 Shown is a schematic diagram of a process of a low power consumption mode in an embodiment of the present invention.

[0021] Figure 5 Shown is a low power consumption management dynamic mode diagram of a radar system in one embodiment of the present invention.

[0022] Figure 6 Shown is a schematic structural diagram of a low power consumption management system of a radar system in an embodiment of the present invention.

[0023] Figure 7 FIG. 4 is a schematic diagram showing the structure of an electronic terminal in an embodiment of the present invention. DETAILED DESCRIPTION

[0024] The following describes the embodiments of the present invention by specific examples, and those skilled in the art can easily understand other advantages and effects of the present invention from the contents disclosed in this specification. The present invention can also be implemented or applied through other different specific embodiments, and the details in this specification can also be modified or changed in various ways based on different viewpoints and applications without departing from the spirit of the present invention. It should be noted that the following embodiments and features in the embodiments can be combined with each other without conflict.

[0025] It should be noted that in the following description, reference is made to the accompanying drawings, which describe several embodiments of the present invention. It should be understood that other embodiments may also be used, and that mechanical composition, structure, electrical and operational changes may be made without departing from the spirit and scope of the present invention. The following detailed description should not be considered restrictive, and the scope of the embodiments of the present invention is limited only by the claims of the published patents. The terms used herein are only for describing specific embodiments and are not intended to limit the present invention. Spatially related terms, such as "upper", "lower", "left", "right", "below", "below", "lower", "above", "upper", etc., may be used in the text to facilitate the description of the relationship between an element or feature shown in the figure and another element or feature.

[0026] Throughout the specification, when a part is said to be "connected" to another part, this includes not only the case of "direct connection" but also the case of "indirect connection" by placing other elements therebetween. In addition, when a part is said to "include" a certain constituent element, unless otherwise stated, it does not exclude other constituent elements, but means that other constituent elements may be included.

[0027] The terms first, second and third mentioned herein are used to describe various parts, components, regions, layers and / or segments, but are not limited thereto. These terms are only used to distinguish a certain part, component, region, layer or segment from other parts, components, regions, layers or segments. Therefore, the first part, component, region, layer or segment described below may refer to the second part, component, region, layer or segment within the scope of the present invention.

[0028] Furthermore, as used herein, the singular forms "a", "an" and "the" are intended to include the plural forms as well, unless there is an indication to the contrary in the context. It should be further understood that the terms "comprise", "include" indicate the presence of the described features, operations, elements, components, items, kinds, and / or groups, but do not exclude the presence, occurrence or addition of one or more other features, operations, elements, components, items, kinds, and / or groups. The terms "or" and "and / or" used herein are interpreted as inclusive, or mean any one or any combination. Therefore, "A, B or C" or "A, B and / or C" means "any of the following: A; B; C; A and B; A and C; B and C; A, B and C". Exceptions to this definition will only occur when the combination of elements, functions or operations is inherently mutually exclusive in some way.

[0029] The present invention provides a low-power management method for a radar system, which can flexibly set the startup address to start a specific application from Flash or Retention SRAM according to different task requirements, which not only optimizes task scheduling, but also effectively reduces overall power consumption. By allowing mission-critical applications to reside in Retention SRAM, the system can execute directly from it when it wakes up, avoiding the tediousness of reloading from Flash each time, significantly reducing wake-up delays and reducing power consumption. At the same time, the system adopts an application segmented storage and management mechanism, dynamically switching application modules according to external event triggers and task requirements, enhancing the flexibility and processing efficiency of the system, so that it can better balance power consumption and performance requirements in multi-tasking scenarios. In addition, the present invention significantly reduces system power consumption and extends device battery life by reducing frequent access to Flash, combined with efficient storage management and task scheduling strategies, which is of great significance to improving the energy efficiency of the Internet of Things and wearable devices.

[0030] The following is a detailed description of the embodiments of the present invention with reference to the accompanying drawings so that those skilled in the art can easily implement the present invention. The present invention can be embodied in many different forms and is not limited to the embodiments described herein.

[0031] like Figure 1 A schematic flow chart showing a low power consumption management method for a radar system according to an embodiment of the present invention.

[0032] The present invention manages two types of applications, basic function applications and key function applications. Basic function applications are responsible for executing basic tasks of the radar system that consume relatively high power or are executed once. For example, these tasks may include initialization, RF calibration processes, or production tests. Managing these tasks separately can ensure that they are executed only when necessary, thereby avoiding unnecessary power consumption. Key function applications are responsible for executing key tasks of the radar system that are executed more times or have real-time response requirements. These tasks usually involve the core functions of the radar system, such as radar frequency scanning, sensor data acquisition, algorithm processing and other rapid responses to external events. Due to the high frequency and real-time requirements of these tasks, these tasks are managed separately to meet the real-time and accuracy requirements of the radar system.

[0033] The method comprises: Step S1: When the radar system is powered on, it enters normal mode and runs basic function applications from Flash to perform basic tasks. After the execution is completed, the basic function application copies the key function application from Flash to Retention SRAM and sets the wake-up source. The radar system enters low-power sleep mode.

[0034] Step S2: When the radar system is awakened from the low power sleep mode by the wakeup source, the key function application is run from the Retention SRAM to perform the key task, and after the execution is completed, the radar system re-enters the low power sleep mode and waits to be awakened.

[0035] In one embodiment, the radar system loads a Flash Image file from Flash to run the basic function application, and this file includes executable programs and data of the basic function application and the key function application. The basic function application is directly stored on Flash (non-volatile memory) after compilation. When the radar system is started, the basic function application will be loaded from Flash and run. Although the key function application is also compiled and stored on Flash, it will be copied to Retention SRAM (retention static random access memory) by the basic function application before running. Retention SRAM (retention static random access memory) is a special SRAM (static random access memory) that can keep the stored data from being lost in system sleep or low power mode, and has the characteristic of retaining data after the system sleeps. Because Retention SRAM has fast access capabilities, the system can resume task processing within milliseconds, which is particularly important for scenarios that require real-time response. When the system is awakened by the wake-up source, it directly resumes running key tasks from Retention SRAM, which enables the system to maintain task continuity and data integrity during sleep and wake-up cycles without reloading data from Flash. This further reduces power consumption and significantly extends the battery life of the device.

[0036] The specific compilation process of basic function applications and key function applications is as follows: First, compile the key function application to obtain its executable program and data. Then, integrate the compilation product (executable program and data) of the key function application into the project of the basic function application. Finally, compile the basic function application to obtain a complete Flash Image file. Figure 2 As shown, the Flash Image file consists of three main parts. The front part stores the executable program and data of the basic function application, the middle part stores the executable program and data of the key function application, and the back part stores other data, such as factory parameters, user data, etc.

[0037] In one embodiment, the wake-up source adopts the wake-up source supported by the radar system, including: one or more of a timer, GPIO, a button, and a photosensitive sensor. When a timer is used as the wake-up source, when the timer time reaches the set threshold, an interrupt will be triggered and the system will be woken up. GPIO is a general input and output port. When GPIO is used as the wake-up source, the GPIO edge or level can be set to trigger the interrupt, and the system will be woken up when the interrupt event occurs; when a button is used as the wake-up source, when the button is pressed, an interrupt will be triggered and the system will be woken up. A photosensitive sensor is a device that can detect light intensity and convert it into an electrical signal. When a photosensitive sensor is used, when the photosensitivity value reaches the set threshold range, an interrupt will be generated to wake up the system; in actual applications, the radar system can select one or more wake-up sources for combination use according to specific needs.

[0038] In one embodiment, the light sensor can be replaced with other environmental sensors, such as temperature, humidity, air pressure, etc., to further adapt to diverse application scenarios. Each sensor can trigger the system to wake up according to its specific environmental conditions, thereby expanding the application range of the device.

[0039] In one embodiment, in certain application scenarios, such as devices that only need to be awakened by a timer or a user button, the multi-source awakening mechanism can be simplified, and only some awakening sources (such as timers and buttons) are retained. This solution further simplifies hardware design and reduces cost and complexity by reducing the use of external sensors.

[0040] In one embodiment, the startup address is flexibly set according to different task requirements, so that the radar system starts the program from different storage areas (such as Flash or Retention SRAM). In normal mode, the startup address is in the Flash address space, that is, the basic function application is loaded and run. In the ultra-low power mode awakened from the low-power sleep mode, the startup address is set in the Retention SRAM address space, and the key function application is run from the Retention SRAM. The radar system can select different startup addresses according to the current working scenario, thereby optimizing the task execution process and reducing power consumption.

[0041] In one embodiment, the basic tasks include: one or more of initialization tasks (hardware initialization and RF initialization), RF calibration tasks, and production test tasks. Specifically, the hardware initialization step involves configuring and checking all hardware components of the radar system to ensure that they are in normal working condition. This includes power management, interface settings, and internal communications. The radio frequency (RF) part is the core of the radar system and is responsible for transmitting and receiving signals. RF initialization includes setting radar setting parameters, such as key parameters such as transmit power, receive sensitivity, and frequency range. RF calibration is to ensure the measurement accuracy of the radar system. The RF calibration task will accurately adjust the system's transmit and receive channels to eliminate hardware deviations. The production test task is to perform a series of tests during the production stage of the radar system to ensure that its performance meets the design requirements. These tests may include functional verification, performance testing, and reliability assessment.

[0042] The key tasks include: one or more of radar frequency sweeping tasks, sensor data acquisition tasks, and algorithm processing and execution tasks. Specifically, the radar frequency sweeping task is that the radar system scans the surrounding environment by changing the frequency of the transmitted signal to obtain information such as the distance, speed and direction of the target. The frequency sweeping task is the basis for the operation of the radar system. The sensor data acquisition task is the integrated sensor acquisition data of the radar system. The algorithm processing and execution task is that the data collected by the radar system needs to be processed by the algorithm. According to the processing results, the system may perform different functional tasks, such as printing output, output to the main control through UART, etc. Among them, different wake-up source conditions can be set to trigger the wake-up of different key tasks. The wake-up source condition refers to an external event that triggers the execution of a key task (such as the GPIO wake-up source taking effect, a button being pressed, or the value of the photosensitive sensor exceeding the set threshold) or the timer timeout time arriving, which will wake up the system directly from the Retention SRAM to run the key function application. By setting these conditions reasonably, the system can wake up and execute the corresponding key tasks in time when needed, and maintain a low power consumption state when not needed. By properly setting the wake-up source conditions, it is possible to ensure that the radar system wakes up in time and performs corresponding critical tasks when needed, while maintaining a low power consumption state when not needed to extend battery life.

[0043] In one embodiment, if Figure 3 In normal mode, the basic function application executes the basic task, and after the execution is completed, the basic function application copies the key function application from the Flash to the Retention SRAM, and sets the wake-up source including: Perform hardware initialization, that is, initialize basic hardware parameters; for example, set the clock, serial port, and pin level to the state determined by the protocol.

[0044] Performing RF initialization means setting radar parameters; for example, setting the transmit power, receive sensitivity, and frequency range.

[0045] Execute specific basic tasks; specifically, according to the control signal of the master control or the parameters read from the storage device such as Flash / Efuse, execute specific functions, such as production test function; after completing the specific function, other basic tasks can be continued.

[0046] After execution is completed, the executable program and data of the key function application are copied from Flash to Retention SRAM, and the startup address is set to the corresponding Retention SRAM space address.

[0047] A wakeup source is set for waking up the radar system from a low-power sleep mode, so that after the wakeup source is set, the radar system enters a low-power sleep mode and waits to be awakened by the wakeup source.

[0048] In one embodiment, if Figure 4 , the key function application resides in the Retention SRAM. When an external event triggers (such as the GPIO wake-up source takes effect, a button is pressed, or the value of the light sensor exceeds the set threshold) or the timer timeout arrives, the system will be awakened to run the key function application directly from the Retention SRAM. In low power mode, the key function application performs key tasks including: Partial hardware initialization is performed based on the need to execute key tasks; specifically, only the hardware resources necessary for the execution of key tasks are initialized. If some hardware resources are not used in ultra-low power mode, they will not be initialized, thereby further reducing power consumption.

[0049] Partial RF initialization is performed based on the need to perform key tasks. Specifically, only the RF parameters required for the execution of key tasks are initialized. Since some RF parameters are stored in the Retention power domain, they are maintained in ultra-low power mode and therefore do not need to be reconfigured each time the system is woken up.

[0050] After completing the necessary hardware and RF initialization, the system begins to perform key tasks. These tasks may include radar frequency sweeping, data acquisition, algorithm processing, and performing specific functions based on the algorithm results, such as printing output, outputting to the main control through UART, etc.

[0051] After the execution is completed, the radar system re-enters the low-power sleep mode without special requirements, waiting to be awakened by the wake-up source.

[0052] In one embodiment, after the key function application performs the key task, if there is a special need to return to the normal mode, the startup address is set to the corresponding Flash space address, and after the setting, the key function application system will perform a software reset (through a specific software instruction) or a hardware reset (through an external reset signal or an internal reset circuit). After the reset is completed, the system will return to the normal mode and run the basic function application from the Flash.

[0053] In one embodiment, if there is a special need to reset the wake-up source, the key function application will reset the wake-up source after executing the key task. After the setting is completed, the radar system enters a low-power sleep mode so that the radar system can be woken up from the low-power sleep mode by the newly set wake-up source. By resetting the wake-up source, the system can flexibly adjust its behavior according to changes in external conditions or changes in user instructions, thereby adapting to different application scenarios and needs.

[0054] In one embodiment, if there is a need for lower power consumption, when the system is awakened by a wake-up source from a low-power sleep mode, the key function application is run from the Retention SRAM, the Flash power is turned off first, and then the key task is performed. Flash is usually used to store the firmware and application programs of the system, but when the key function application has been loaded into the Retention SRAM and is running, the Flash module no longer needs to be powered, which helps to further reduce the power consumption of the system. When there is a special need to return to normal mode, the Flash power needs to be turned on before the key function application software reset or hardware reset. This is because the startup code and necessary system configuration of the normal mode are usually stored in Flash, and the radar system needs to load these codes from Flash to enter the normal mode. By turning off the Flash power after entering the low-power mode and turning on the Flash power before returning to the formal mode, the system can significantly reduce power consumption and extend battery life.

[0055] In order to better describe the low power consumption management method of the radar system, a specific description is now given in conjunction with the following embodiments.

[0056] Embodiment: A low power consumption management method for a radar system. Figure 5 Dynamic mode diagram for low power management of radar system.

[0057] After power-on, the radar system runs in normal mode. The system loads and runs basic function applications from Flash, and is responsible for performing basic tasks such as initialization, RF calibration, and production testing. When the basic function application completes the required basic tasks, the key function application is completely copied to the Retention SRAM, the wake-up source is set, and the low-power sleep mode is entered. At this time, the key function application resides in the Retention SRAM. When an external event triggers (such as the GPIO wake-up source takes effect, a button is pressed, or the value of the light sensor exceeds the set threshold) or the timer timeout arrives, the system will be awakened to run the key function application directly from the Retention SRAM. After the key function application runs, it enters the low-power sleep mode again, and continues to wait for the wake-up source to wake up. This low-power sleep mode is repeated until the key function application software is reset or the hardware is reset to enter the normal mode.

[0058] Therefore, this embodiment proposes a low-power management solution based on flexible startup address setting, application resident Retention SRAM and application segment management. The startup address can be flexibly set according to different task requirements, so that the embedded radar system can start the program from different storage areas (such as Flash or Retention SRAM). The radar system can select different startup addresses according to the current working scenario, thereby optimizing the task execution process and reducing power consumption. By storing mission-critical applications in Retention SRAM, the system can execute the program directly from Retention SRAM when waking up without reloading from Flash each time. Retention SRAM has the characteristics of fast access and low power consumption, which greatly reduces the delay and power consumption when waking up. The system stores and manages the application by functional segment, and dynamically switches different application modules in combination with external event triggers and task requirements. This segment management mechanism provides flexibility and efficiency to the system, enabling it to better cope with different power consumption and performance requirements in multi-tasking scenarios.

[0059] Similar to the principles of the above embodiments, the present invention provides a low power consumption management and control system for a radar system.

[0060] The following provides specific embodiments in conjunction with the accompanying drawings: like Figure 6 A schematic structural diagram of a low power consumption management system of a radar system in an embodiment of the present invention is shown.

[0061] The system comprises: Basic task execution management module 1, used for the radar system to enter normal mode when powered on, run basic function applications from Flash to execute basic tasks, and after the execution is completed, the basic function application copies the key function application from Flash to Retention SRAM, and sets the wake-up source, and the radar system enters low-power sleep mode; The key task execution management module 2 is connected to the basic task execution management module 2 and is used to run the key function application from the Retention SRAM to execute the key task when the radar system is awakened from the low-power sleep mode by the wake-up source, and after the execution is completed, the radar system re-enters the low-power sleep mode and waits to be awakened.

[0062] It should be understood that Figure 6 The division of each module in the system embodiment is only a division of logical functions. In actual implementation, they can be fully or partially integrated into one physical entity, or physically separated. And these units can all be implemented in the form of software calling through processing elements; they can also be all implemented in the form of hardware; some units can also be implemented in the form of processing elements calling software, and some units can be implemented in the form of hardware.

[0063] Since the implementation principle of the low power consumption management method of the radar system has been described in the aforementioned embodiment, it will not be repeated here.

[0064] The low power consumption management method of the radar system provided in the embodiment of the present invention can be implemented on the terminal side or the server side. As for the hardware structure of the electronic terminal, please refer to Figure 7 , is an optional hardware structure diagram of a low-power management terminal 1000 for a radar system provided in an embodiment of the present invention. The terminal 1000 may be a mobile phone, a computer device, a tablet device, a personal digital processing device, a factory background processing device, etc. The terminal 1000 includes: at least one processor 1001, a memory 1002, at least one network interface 10010 and a user interface 1009. The various components in the device are coupled together through a bus system 1005. It can be understood that the bus system 1005 is used to achieve connection and communication between these components. In addition to the data bus, the bus system 1005 also includes a power bus, a control bus and a status signal bus. However, for the sake of clarity, in Figure 7 In the specification, various buses are labeled as bus systems.

[0065] The user interface 1009 may include a display, a keyboard, a mouse, a trackball, a click gun, keys, buttons, a touch pad or a touch screen.

[0066] It is understood that the memory 1002 can be a volatile memory or a non-volatile memory, and can also include both volatile and non-volatile memories. Among them, the non-volatile memory can be a read-only memory (ROM), a programmable read-only memory (PROM), which is used as an external cache. By way of exemplary but not limiting explanation, many forms of RAM are available, such as static random access memory (SRAM), synchronous static random access memory (SSRAM). The memory described in the embodiments of the present invention is intended to include but is not limited to these and any other suitable categories of memory.

[0067] The memory 1002 in the embodiment of the present invention is used to store various types of data to support the operation of the terminal 1000. Examples of these data include: any executable program for operating on the terminal 1000, such as an operating system 10021 and an application 10022; the operating system 10021 includes various system programs, such as a framework layer, a core library layer, a driver layer, etc., for implementing various basic services and processing hardware-based tasks. The application 10022 may include various applications, such as a media player (MediaPlayer), a browser (Browser), etc., for implementing various application services. The low power consumption management device for implementing the radar system provided by the embodiment of the present invention may be included in the application 10022.

[0068] The method disclosed in the above embodiment of the present invention can be applied to the processor 1001, or implemented by the processor 1001. The processor 1001 may be an integrated circuit chip with signal processing capabilities. In the implementation process, each step of the above method can be completed by the hardware integrated logic circuit in the processor 1001 or the instruction in the form of software. The above processor 1001 may be a general processor, a digital signal processor (DSP, Digital Signal Processor), or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components, etc. The processor 1001 can implement or execute the various methods, steps and logic block diagrams disclosed in the embodiment of the present invention. The general processor 1001 can be a microprocessor or any conventional processor, etc. In combination with the steps of the accessory optimization method provided in the embodiment of the present invention, it can be directly embodied as a hardware decoding processor to execute, or it can be executed by a combination of hardware and software modules in the decoding processor. The software module can be located in a storage medium, which is located in a memory, and the processor reads the information in the memory and completes the steps of the above method in combination with its hardware.

[0069] In an exemplary embodiment, the terminal 1000 may be implemented by one or more application specific integrated circuits (ASIC), DSP, programmable logic device (PLD), complex programmable logic device (CPLD) to execute the aforementioned method.

[0070] Those skilled in the art can understand that all or part of the steps of implementing the above-mentioned method embodiments can be completed by hardware related to the computer program. The aforementioned computer program can be stored in a computer-readable storage medium. When the program is executed, the steps of the above-mentioned method embodiments are executed; and the aforementioned storage medium includes: ROM, RAM, magnetic disk or optical disk and other media that can store program codes.

[0071] In the embodiments provided in the present application, the computer readable and writable storage medium may include a read-only memory, a random access memory, an EEPROM, a CD-ROM or other optical disk storage device, a disk storage device or other magnetic storage device, a flash memory, a USB flash drive, a mobile hard disk, or any other medium that can be used to store the desired program code in the form of an instruction or data structure and can be accessed by a computer. In addition, any connection can be appropriately referred to as a computer-readable medium. For example, if the instruction is sent from a website, a server or other remote source using a coaxial cable, an optical fiber cable, a twisted pair, a digital subscriber line (DSL), or wireless technologies such as infrared, radio, and microwaves, the coaxial cable, optical fiber cable, twisted pair, DSL, or wireless technologies such as infrared, radio, and microwaves are included in the definition of the medium. However, it should be understood that computer readable and writable storage media and data storage media do not include connections, carriers, signals, or other temporary media, but are intended to be non-temporary, tangible storage media. Disk and disc, as used in this application, includes compact disc (CD), laser disc, optical disc, digital versatile disc (DVD), floppy disk and Blu-ray disc where disks usually reproduce data magnetically, while discs reproduce data optically with lasers.

[0072] The present invention proposes a low power management solution based on flexible startup address setting, application resident SRAM and application segment management, which has the following advantages over the prior art: (1) The present invention can flexibly set the startup address and start specific applications from Flash or Retention SRAM according to different task requirements. This flexible startup mechanism not only optimizes task scheduling, but also reduces the overall power consumption of the system and extends the battery life of the device. This power consumption optimization is of great significance to the Internet of Things and wearable devices.

[0073] (2) By placing mission-critical applications in the Retention SRAM, the system can execute programs directly from the Retention SRAM when waking up, without having to reload from the Flash each time. The Retention SRAM has the characteristics of fast access and low power consumption, which greatly reduces the latency and power consumption when waking up.

[0074] (2) Since the key tasks of the system reside in the Retention SRAM, the system can respond quickly and execute tasks when external events trigger. This fast response mechanism is particularly suitable for scenarios with frequent wake-up and execution of real-time tasks, such as radar frequency scanning and signal analysis.

[0075] (3) The system stores and manages application programs by functional segment, and dynamically switches between different application modules based on external event triggers and task requirements. This segment management mechanism provides flexibility and efficiency to the system, enabling it to better cope with different power consumption and performance requirements in multi-tasking scenarios.

[0076] (3) By reducing the frequent access to Flash and utilizing efficient storage management and task scheduling mechanisms, the present invention significantly reduces the overall power consumption of the system and prolongs the battery life of the device. This power consumption optimization is of great significance to the Internet of Things and wearable devices.

[0077] In summary, the low-power management method, system and terminal of the radar system of the present invention can flexibly set the startup address to start a specific application from Flash or Retention SRAM according to different task requirements, which not only optimizes task scheduling, but also effectively reduces overall power consumption. By allowing the application of critical tasks to reside in Retention SRAM, the system can be directly executed from it when it wakes up, avoiding the tediousness of reloading from Flash each time, significantly reducing the wake-up delay and reducing power consumption. At the same time, the system adopts an application segmented storage and management mechanism, dynamically switches application modules according to external event triggers and task requirements, enhances the flexibility and processing efficiency of the system, and enables it to better balance power consumption and performance requirements in multi-tasking scenarios. In addition, the present invention significantly reduces system power consumption and extends device battery life by reducing frequent access to Flash, combined with efficient storage management and task scheduling strategies, which is of great significance to the energy efficiency improvement of the Internet of Things and wearable devices. Therefore, the present invention effectively overcomes the various shortcomings in the prior art and has a high industrial utilization value.

[0078] The above embodiments are merely illustrative of the principles and effects of the present invention, and are not intended to limit the present invention. Anyone familiar with the technology may modify or change the above embodiments without violating the spirit and scope of the present invention. Therefore, all equivalent modifications or changes made by a person of ordinary skill in the art without departing from the spirit and technical ideas disclosed by the present invention shall still be covered by the claims of the present invention.

Claims

1. A low power consumption management method for a radar system, characterized in that: The method comprises: When the radar system is powered on, it enters the normal mode, runs the basic function application from the Flash to perform the basic tasks, and after the execution is completed, the basic function application copies the key function application from the Flash to the Retention SRAM, and sets the wake-up source, and the radar system enters the low-power sleep mode; When the radar system is awakened from the low power sleep mode by the wakeup source, the key function application is run from the Retention SRAM to perform the key task, and after the execution is completed, the radar system re-enters the low power sleep mode and waits to be awakened.

2. The low power consumption management method of the radar system according to claim 1, characterized in that: The radar system loads the Flash Image file from the Flash to run the basic function application; wherein the front part of the Flash Image file stores the executable program and data of the basic function application, the middle part stores the executable program and data of the key function application, and the rear part stores other data.

3. The low power consumption management method of the radar system according to claim 2, characterized in that: The basic function application executes the basic task, and after the execution is completed, the basic function application copies the key function application from the Flash to the Retention SRAM, and sets the wake-up source, including: Perform hardware and RF initialization; Perform specific functional basic tasks; After execution is completed, the executable program and data of the key function application are copied from Flash to Retention SRAM, and the startup address is set to the corresponding Retention SRAM space address; A wakeup source for waking up the radar system from a low-power sleep mode is set, so that the radar system enters a low-power sleep mode and waits to be awakened by the wakeup source after the wakeup source is set.

4. The low power consumption management method of the radar system according to claim 2, characterized in that: The key functional applications perform key tasks including: Initialize some hardware and some RF based on the needs of performing key tasks; Perform critical tasks; After the execution is completed, the radar system re-enters the low-power sleep mode without special requirements, waiting to be awakened by the wake-up source.

5. The low power consumption management method of the radar system according to claim 4, characterized in that: If there is a special need to return to normal mode, the startup address is set to the Flash space address. After setting, the key function application software reset or hardware reset is performed to allow the radar system to return to normal mode.

6. The low power consumption management method of the radar system according to claim 4, characterized in that: If there is a special need to reset the wake-up source, the wake-up source is reset so that the radar system can be woken up from the low power sleep mode through the newly set wake-up source.

7. The low power consumption management method of the radar system according to claim 1, characterized in that: The basic tasks include: one or more of initialization tasks, radio frequency calibration tasks, and production test tasks; the key tasks include: one or more of radar frequency scanning tasks, sensor data acquisition tasks, and algorithm processing and execution tasks.

8. The low power consumption management method of the radar system according to claim 1, characterized in that: The wake-up source adopts the wake-up source supported by the radar system, including: one or more of a timer, a GPIO, a button, and a light sensor.

9. A low power consumption management system for a radar system, characterized in that: The system comprises: The basic task execution management module is used to enter the normal mode when the radar system is powered on, run the basic function application from the Flash to execute the basic task, and after the execution is completed, the basic function application copies the key function application from the Flash to the Retention SRAM, and sets the wake-up source, and the radar system enters the low-power sleep mode; The key task execution management module is connected to the basic task execution management module and is used to run the key function application from the Retention SRAM to execute the key task when the radar system is awakened from the low-power sleep mode by the wake-up source, and after the execution is completed, the radar system re-enters the low-power sleep mode and waits to be awakened.

10. An electronic terminal, characterized in that: include: one or more memories and one or more processors; The one or more memories are used to store computer programs; The one or more processors, connected to the memory, are configured to run the computer program to perform the method according to any one of claims 1 to 8.

Citation Information

Patent Citations

  • Low-power-consumption management method and system based on event and dormancy timer

    CN113721751A

  • Low-power wearable equipment and multi-operation system switching, communication and management method thereof

    CN105204931A

  • Chip system, starting method thereof and electronic equipment

    CN116243997A

  • Working state control system and method, electronic equipment and storage medium

    CN117111712A

  • Chip power consumption control method and device, equipment and storage medium

    CN117453035A