A method and device for resetting image sensor of low-power AOV camera

By calculating the composite interval time and frame rate of the image sensor, and dynamically selecting the soft reset or hard reset method, the impact of the AOV camera reset method on power consumption is solved, and power consumption optimization and battery life improvement in different scenarios are achieved.

CN118301468BActive Publication Date: 2024-10-15SHENZHEN ADDX INNOVATION TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410730757.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-06-06
Publication Date
2024-10-15
Estimated Expiration
2044-06-06

AI Technical Summary

Technical Problem

The choice of reset methods for AOV cameras in different scenarios leads to poor power consumption and lacks a dynamic switching mechanism based on actual scenarios, which affects battery life performance.

Method used

By obtaining the image output power consumption and image output time of the reset method of the image sensor at different resolutions, calculate the composite interval time of each frame, determine the frame rate as the power consumption division threshold of soft reset and hard reset, and set the frame rate according to the Compared with the threshold, soft reset or hard reset mode is dynamically selected to optimize power consumption.

Benefits of technology

It achieves power consumption optimization under different resolutions and frame rates, reduces the overall power consumption of AOV cameras and improves battery life performance.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118301468B_ABST
    Figure CN118301468B_ABST
Patent Text Reader

Abstract

The present application provides a method and device for resetting the image sensor of a low-power AOV camera. The method comprises: step S1, obtaining the image output power consumption and image output time of different reset methods of the image sensor at different resolutions; step S2, determining the composite interval time of each frame for each resolution; step S3, determining the frame rate according to the composite interval time of each frame, and using it as the power consumption segmentation threshold for soft reset and hard reset; step S4, determining the power consumption of soft reset or hard reset based on the comparison result of the set frame rate of the AOV camera in an inactive scene and the segmentation threshold. The present application reduces the power consumption of the AOV camera.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application belongs to the field of data processing technology, and in particular relates to a method and device for resetting an image sensor of a low-power AOV camera. Background Art

[0002] With the development of the security industry, a product form between normal power security and battery security has gradually become active in the security market, that is, the AOV camera. The so-called AOV camera is a 7*24h recording product derived from battery products, but different from the continuous recording of normal power cameras, the power supply of AOV cameras also comes from batteries (partly with external solar energy for continuous power replenishment). In order to meet the battery life requirements of continuous recording, AOV cameras meet the battery life requirements by reducing the frame rate of the camera in inactive scenes. At the same time, unlike low-power products that only record after detecting a trigger from a living thing, AOV cameras restore normal frame rate levels after detecting a moving object, and use low frame rate recording in other situations, such as 1fps, 1 / 2fps or even lower frame rates.

[0003] In this context, the core components in the product design of AOV cameras are ISP (image sensor processor), image sensors and other peripheral structures as well as power chips. Image sensors are divided into two types: soft reset (that is, they can be reset through ISP GPIO) and hard reset (need to power on and off to reset). The current technology for the product design of AOV cameras uses soft reset or hard reset. The reset method is specified by the user, but in fact different reset methods correspond to different camera power consumption. There is an urgent need for a reset method selection technology based on actual camera scenes to further optimize the power consumption of AOV cameras. Summary of the invention

[0004] In order to solve the above technical problems, the present application provides an image sensor reset method and device for a low-power AOV camera, so as to dynamically switch the reset mechanism in different scenarios, which is suitable for AOV products with different resolutions, different frame rates, different platforms and selections.

[0005] The first aspect of the present application is a method for resetting an image sensor of a low-power AOV camera, which mainly includes:

[0006] Step S1, obtaining the image output power consumption and image output time of different reset methods of the image sensor at different resolutions;

[0007] Step S2, determining the composite interval time of each frame of each resolution;

[0008] Step S3, determining the frame rate according to the composite interval time of each frame, and using it as the power consumption division threshold between soft reset and hard reset;

[0009] Step S4: based on the comparison result between the set frame rate of the AOV camera in the inactive scene and the segmentation threshold, determine the power consumption of the soft reset or hard reset.

[0010] Preferably, in step S2, the composite interval time T0 of each frame of each resolution is calculated by the following formula:

[0011] T0 = ​​T_soft + (P_hard * T_hard - P_soft * T_soft) / P_sleep;

[0012] Among them, P_soft is the power consumption of image output under soft reset, T_soft is the image output time under soft reset, P_sleep is the sleep power consumption under soft reset, T_hard is the image output time under hard reset, and P_hard is the power consumption of image output under hard reset.

[0013] Preferably, in step S3, the frame rate is the reciprocal of the composite interval time of each frame.

[0014] Preferably, step S4 further comprises:

[0015] When the set frame rate exceeds the segmentation threshold, the power consumption of the soft reset is lower than that of the hard reset. Conversely, when the set frame rate is lower than the segmentation threshold, the power consumption of the soft reset is higher than that of the hard reset.

[0016] Preferably, step S4 further includes:

[0017] Step S5: When the set frame rate exceeds the segmentation threshold, a soft reset is performed on the image sensor; otherwise, when the set frame rate is less than the segmentation threshold, a hard reset is performed.

[0018] In a second aspect of the present application, an image sensor reset device for a low-power AOV camera mainly comprises:

[0019] Function and image output time acquisition module, used to obtain image output power consumption and image output time of different reset methods of image sensors at different resolutions;

[0020] A composite interval time calculation module for each frame, used to determine the composite interval time for each frame of each resolution;

[0021] A power consumption segmentation threshold calculation module is used to determine the frame rate according to the composite interval time of each frame, and use it as the power consumption segmentation threshold for soft reset and hard reset;

[0022] The power consumption comparison module is used to determine the power consumption of the soft reset or hard reset based on the comparison result between the set frame rate of the AOV camera in the inactive scene and the segmentation threshold.

[0023] Preferably, in the per-frame composite interval time calculation module, the per-frame composite interval time T0 of each resolution is calculated by the following formula:

[0024] T0 = ​​T_soft + (P_hard * T_hard - P_soft * T_soft) / P_sleep;

[0025] Among them, P_soft is the power consumption of image output under soft reset, T_soft is the image output time under soft reset, P_sleep is the sleep power consumption under soft reset, T_hard is the image output time under hard reset, and P_hard is the power consumption of image output under hard reset.

[0026] Preferably, in the power consumption segmentation threshold calculation module, the frame rate is the inverse of the composite interval time of each frame.

[0027] Preferably, in the power consumption comparison module, when the set frame rate exceeds the segmentation threshold, the power consumption of soft reset is lower than that of hard reset; conversely, when the set frame rate is lower than the segmentation threshold, the power consumption of soft reset is higher than that of hard reset.

[0028] Preferably, the image sensor resetting device further comprises:

[0029] The reset selection module is used to perform a soft reset on the image sensor when the set frame rate exceeds the segmentation threshold, and conversely, perform a hard reset when the set frame rate is less than the segmentation threshold.

[0030] In a third aspect of the present application, an AOV camera comprises a processor, a memory, and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program to implement the image sensor resetting method of the low-power AOV camera as described in any one of the above items.

[0031] In a fourth aspect of the present application, a readable storage medium stores a computer program, and when the computer program is executed by a processor, it is used to implement the image sensor resetting method of the low-power AOV camera as described above.

[0032] This application further reduces the power consumption of the AOV camera. BRIEF DESCRIPTION OF THE DRAWINGS

[0033] Figure 1It is a flow chart of a preferred embodiment of the image sensor resetting method of the low-power AOV camera of the present application.

[0034] Figure 2 For this application Figure 1 A schematic diagram of the relationship between power consumption and time of a hard reset and a soft reset according to the embodiment shown.

[0035] Figure 3 For this application Figure 1 A schematic diagram of power consumption time parameters at different resolutions in the illustrated embodiment.

[0036] Figure 4 The figure is a block diagram of the soft reset and hard reset principles suitable for implementing the implementation mode of the present application. DETAILED DESCRIPTION

[0037] In order to make the purpose, technical scheme and advantages of the implementation of this application clearer, the technical scheme in the implementation of this application will be described in more detail in combination with the drawings in the implementation of this application. In the drawings, the same or similar reference numerals throughout represent the same or similar elements or elements with the same or similar functions. The described implementation is a part of the implementation of this application, not all of the implementations. The implementation described below with reference to the drawings is exemplary and is intended to be used to explain this application, and cannot be understood as a limitation on this application. Based on the implementation in this application, all other implementations obtained by ordinary technicians in this field without making creative work are within the scope of protection of this application. The implementation of this application is described in detail below in combination with the drawings.

[0038] According to a first aspect of the present application, a method for resetting an image sensor of a low-power AOV camera is provided. Figure 1 As shown, it mainly includes:

[0039] Step S1, obtaining the image output power consumption and image output time of different reset methods of the image sensor at different resolutions;

[0040] Step S2, determining the composite interval time of each frame of each resolution;

[0041] Step S3, determining the frame rate according to the composite interval time of each frame, and using it as the power consumption division threshold between soft reset and hard reset;

[0042] Step S4: based on the comparison result between the set frame rate of the AOV camera in the inactive scene and the segmentation threshold, determine the power consumption of the soft reset or hard reset.

[0043] In step S1, the present application extracts the power consumption and time parameters of different reset modes with different resolutions from the database. Based on this, the frame rate can be comprehensively calculated and used as the dividing line between the advantages and disadvantages of different reset modes, so that different reset modes can be selected according to the actual set power.

[0044] In some optional implementations, in step S2, the composite interval time T0 of each frame of each resolution is calculated by the following formula:

[0045] T0 = ​​T_soft + (P_hard * T_hard - P_soft * T_soft) / P_sleep;

[0046] Among them, P_soft is the power consumption of image output under soft reset, T_soft is the image output time under soft reset, P_sleep is the sleep power consumption under soft reset, T_hard is the image output time under hard reset, and P_hard is the power consumption of image output under hard reset.

[0047] First, the applicability of the formula cited in this embodiment is explained.

[0048] Assume that the set resolution is S, and the composite interval of each frame is T0, such as Figure 2 As shown in the figure, in a composite frame, for hard reset, the product of sleep power consumption and time plus the product of image output power consumption and image output time together constitute the total energy consumption of hard reset, that is, the total energy consumption of hard reset is: W_hard=P0*(T0-T_hard)+P_hard*T_hard=P_hard*T_hard; similarly, the total energy consumption of soft reset is: W_soft=P_sleep*(T0-T_soft)+P_soft*T_soft; the difference between the total power consumption of soft reset and hard reset is:

[0049] △W=P_sleep *(T0-T_soft)+P_soft*T_soft-P_hard*T_hard.

[0050] It can be seen from the above formula that △W is proportional to T0, assuming △W=0; that is:

[0051] T0=T_soft+(P_hard*T_hard-P_soft*T_soft) / P_sleep.

[0052] That is, if the target setting duration of each frame is less than T0, that is, △W is less than 0, the power consumption of soft reset is less than that of hard reset, and it should be set to soft reset at this time; similarly, if the target setting duration of each frame is greater than T0, that is, △W is greater than 0, the power consumption of soft reset is greater than that of hard reset, and it should be set to hard reset at this time.

[0053] It should also be noted that the above parameters at different resolutions can be collected and statistically obtained through basic tests, and then the calculation results are pre-stored in the database through the above calculations. Subsequently, in step S4, the advantages and disadvantages of the two reset methods can be directly determined according to the set frame rate to guide the user to choose the reset method, or the system can directly select the optimal reset method. Based on the above principle, in some optional implementations, step S4 further includes:

[0054] When the set frame rate exceeds the segmentation threshold, the power consumption of the soft reset is lower than that of the hard reset. Conversely, when the set frame rate is lower than the segmentation threshold, the power consumption of the soft reset is higher than that of the hard reset.

[0055] Figure 3 The power consumption and image output time parameters of the GC8513 image sensor under various reset modes are given, and the composite interval time T0 and frame rate of each frame of each resolution are calculated by these parameters. In some optional implementations, in step S3, the frame rate is the reciprocal of the composite interval time of each frame.

[0056] Depend on Figure 3 It can be seen that when the resolution is 720P, the power consumption of soft reset is lower when the frame rate is greater than about 5.5fps (the smaller T0, the larger the frame rate, the larger the absolute value of the negative power consumption difference); conversely, when the frame rate is less than about 5fps, the power consumption of soft reset is higher (the larger T0, the smaller the frame rate, the larger the positive power consumption difference). When the resolution is 1080P, the power consumption of soft reset is lower when the frame rate is greater than about 2.4fps; conversely, when the frame rate is less than about 2.4fps, the power consumption of soft reset is higher. When the resolution is 4K, the power consumption of soft reset is lower when the frame rate is greater than about 1fps; conversely, when the frame rate is less than about 1fps, the power consumption of soft reset is higher.

[0057] In some optional implementations, step S4 further includes:

[0058] Step S5: When the set frame rate exceeds the segmentation threshold, a soft reset is performed on the image sensor; otherwise, when the set frame rate is less than the segmentation threshold, a hard reset is performed.

[0059] This embodiment is used to indicate that the program can decide whether to use soft reset or hard reset according to the set frame rate. Figure 4First, the ISP of the AOV sensor obtains parameter data, including resolution, frame rate and other configuration information that affects the startup time and startup power consumption. Then, the configuration information is compared with the modeled database (the data calculated in step S3) to determine whether the sensor has lower power consumption in soft reset or hard reset mode. When the soft reset condition is met, the configuration information is changed to soft reset. At this time, Figure 4 The SWITCH LATCH in is always low, and the ISP CONTROL cannot control the state of EN SWITCH. ENSWITCH is always high, that is, the power supply (Power) always keeps supplying power to the image sensor (Image Sensor), and the ISP controls PWDN to decide the reset state of the image sensor; on the contrary, when the hard reset conditions are met, the configuration information is changed to hard reset. At this time, Figure 4 The SWITCH LATCH in is always high, ISPCONTROL can control the state of EN SWITCH, and the actual state follows the state change of ISPCONTROL, that is, EN SWITCH = ISP CONTROL, and the power of the image sensor is turned off in the sleep state. Finally, the AOV camera always maintains this configuration until the configuration information of the output image, such as resolution, frame rate, etc., changes.

[0060] The second aspect of the present application provides an image sensor reset device for a low-power AOV camera, mainly comprising:

[0061] Function and image output time acquisition module, used to obtain image output power consumption and image output time of different reset methods of image sensors at different resolutions;

[0062] A composite interval time calculation module for each frame, used to determine the composite interval time for each frame of each resolution;

[0063] A power consumption segmentation threshold calculation module is used to determine the frame rate according to the composite interval time of each frame, and use it as the power consumption segmentation threshold for soft reset and hard reset;

[0064] The power consumption comparison module is used to determine the power consumption of the soft reset or hard reset based on the comparison result between the set frame rate of the AOV camera in the inactive scene and the segmentation threshold.

[0065] In some optional implementations, in the per-frame composite interval time calculation module, the per-frame composite interval time T0 of each resolution is calculated by the following formula:

[0066] T0 = ​​T_soft + (P_hard * T_hard - P_soft * T_soft) / P_sleep;

[0067] Among them, P_soft is the power consumption of image output under soft reset, T_soft is the image output time under soft reset, P_sleep is the sleep power consumption under soft reset, T_hard is the image output time under hard reset, and P_hard is the power consumption of image output under hard reset.

[0068] In some optional implementations, in the power consumption segmentation threshold calculation module, the frame rate is the reciprocal of the composite interval time of each frame.

[0069] In some optional embodiments, in the power consumption comparison module, when the set frame rate exceeds the segmentation threshold, the power consumption of soft reset is lower than that of hard reset; conversely, when the set frame rate is lower than the segmentation threshold, the power consumption of soft reset is higher than that of hard reset.

[0070] In some optional implementations, the image sensor resetting device further includes:

[0071] The reset selection module is used to perform a soft reset on the image sensor when the set frame rate exceeds the segmentation threshold, and conversely, perform a hard reset when the set frame rate is less than the segmentation threshold.

[0072] In a third aspect of the present application, an AOV camera includes a processor, a memory, and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program to implement an image sensor reset method for a low-power AOV camera.

[0073] In a fourth aspect of the present application, a readable storage medium stores a computer program, and when the computer program is executed by a processor, it is used to implement the image sensor reset method of the low-power AOV camera as described above. The computer-readable storage medium may be included in the device described in the above embodiment; or it may exist independently without being assembled into the device. The computer-readable storage medium carries one or more programs, and when the one or more programs are executed by the device, the data is processed according to the above method.

[0074] The flow chart and block diagram in the accompanying drawings illustrate the possible architecture, function and operation of the system, method and computer program product according to various embodiments of the present application. In this regard, each square box in the flow chart or block diagram can represent a module, a program segment or a part of a code, and the module, the program segment or a part of the code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some implementations as replacements, the functions marked in the square box can also occur in a sequence different from that marked in the accompanying drawings. For example, two square boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each square box in the block diagram and / or flow chart, and the combination of the square boxes in the block diagram and / or flow chart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.

[0075] The modules or units involved in the embodiments described in this application may be implemented by software or hardware. The modules or units described may also be set in a processor, and the names of these modules or units do not constitute limitations on the modules or units themselves in some cases.

[0076] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any changes or substitutions that can be easily thought of by a person skilled in the art within the technical scope disclosed in the present application should be included in the protection scope of the present application. Therefore, the protection scope of the present application shall be based on the protection scope of the claims.

Claims

1. A method for resetting the image sensor of a low-power AOV camera. It is characterized in that include: Step S1, obtaining the image output power consumption and image output time of different reset methods of the image sensor at different resolutions; Step S2, determining the composite interval time of each frame of each resolution; Step S3, determining the frame rate according to the composite interval time of each frame, and using it as the power consumption division threshold between soft reset and hard reset; Step S4, determining the power consumption of the soft reset or hard reset based on the comparison result between the set frame rate of the AOV camera in the inactive scene and the segmentation threshold; In step S2, the composite interval time T0 of each frame of each resolution is calculated by the following formula: T0=T_soft+(P_hard*T_hard-P_soft*T_soft) / P_sleep; Among them, P_soft is the power consumption of image output under soft reset, T_soft is the image output time under soft reset, P_sleep is the sleep power consumption under soft reset, T_hard is the image output time under hard reset, and P_hard is the power consumption of image output under hard reset.

2. The image sensor reset method of the low power consumption AOV camera as claimed in claim 1, It is characterized in that In step S3, the frame rate is the reciprocal of the composite interval time of each frame.

3. The image sensor reset method of the low power consumption AOV camera as claimed in claim 1, It is characterized in that Step S4 further comprises: When the set frame rate exceeds the segmentation threshold, the power consumption of the soft reset is lower than that of the hard reset. Conversely, when the set frame rate is lower than the segmentation threshold, the power consumption of the soft reset is higher than that of the hard reset.

4. The image sensor reset method of the low power consumption AOV camera as claimed in claim 1, It is characterized in that Step S4 further includes: Step S5: When the set frame rate exceeds the segmentation threshold, a soft reset is performed on the image sensor; otherwise, when the set frame rate is less than the segmentation threshold, a hard reset is performed.

5. An image sensor reset device for a low-power AOV camera, It is characterized in that include: Function and image output time acquisition module, used to obtain image output power consumption and image output time of different reset methods of image sensors at different resolutions; A composite interval time calculation module for each frame, used to determine the composite interval time for each frame of each resolution; A power consumption segmentation threshold calculation module is used to determine the frame rate according to the composite interval time of each frame, and use it as the power consumption segmentation threshold for soft reset and hard reset; A power consumption comparison module, used to determine the power consumption of a soft reset or a hard reset based on a comparison result between a set frame rate of the AOV camera in an inactive scene and the segmentation threshold; Wherein, in the per-frame composite interval time calculation module, the per-frame composite interval time T0 of each resolution is calculated by the following formula: T0=T_soft+(P_hard*T_hard-P_soft*T_soft) / P_sleep; Among them, P_soft is the power consumption of image output under soft reset, T_soft is the image output time under soft reset, P_sleep is the sleep power consumption under soft reset, T_hard is the image output time under hard reset, and P_hard is the power consumption of image output under hard reset.

6. The image sensor resetting device of the low power consumption AOV camera as claimed in claim 5, It is characterized in that In the power consumption segmentation threshold calculation module, the frame rate is the reciprocal of the composite interval time of each frame.

7. The image sensor resetting device of the low power consumption AOV camera as claimed in claim 5, It is characterized in that In the power consumption comparison module, when the set frame rate exceeds the segmentation threshold, the power consumption of soft reset is lower than that of hard reset. Conversely, when the set frame rate is lower than the segmentation threshold, the power consumption of soft reset is higher than that of hard reset.

8. The image sensor resetting device of the low power consumption AOV camera as claimed in claim 5, It is characterized in that The image sensor resetting device further comprises: The reset selection module is used to perform a soft reset on the image sensor when the set frame rate exceeds the segmentation threshold, and conversely, perform a hard reset when the set frame rate is less than the segmentation threshold.