Charging control method, charging control device, computer device, and storage medium

By determining the target CDS frequency of the image sensor and the target configuration parameters of the PMIC, the problem of poor image quality caused by the fixed frequency bandwidth design of the camera image sensor was solved, high-performance power quality was achieved, and the output quality of the image sensor was improved.

CN119729197BActive Publication Date: 2026-04-10GUANGDONG OPPO MOBILE TELECOMMUNICATIONS CORP LTD
View PDF 2 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-09-26
Publication Date
2026-04-10

AI Technical Summary

Technical Problem

In existing technologies, image sensors configured with different parameters in cameras use a fixed frequency bandwidth design, which leads to poor image quality.

Method used

By determining the target correlated double sampling CDS frequency of the image sensor, the target configuration parameters of the power management integrated circuit (PMIC) are determined based on this frequency, and the PMIC is controlled to maximize the power supply rejection ratio to power the image sensor.

Benefits of technology

It improves the power quality of the image sensor, ensures the image output quality of the image sensor, and meets the power requirements of image sensors with different parameters.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119729197B_ABST
    Figure CN119729197B_ABST
Patent Text Reader

Abstract

The application provides a charging control method, including: determining a target correlated double sampling (CDS) frequency of an image sensor; determining a target configuration parameter of a power management integrated circuit (PMIC) based on the target CDS frequency, the PMIC being configured to supply power to the image sensor; wherein a power supply rejection ratio of the PMIC supplying power to the image sensor based on the target configuration parameter is greater than a power supply rejection ratio of the PMIC supplying power to the image sensor based on other configuration parameters; and controlling the PMIC to supply power to the image sensor based on the target configuration parameter. The application also provides a charging control device, a computer device and a storage medium.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to the technical field of power supply, and in particular to a charging control method, a charging control device, a computer device and a storage medium. BACKGROUND

[0002] At present, the power quality of a camera is an important guarantee for the image quality of the camera. In the related art, the power supply of the camera adopts a fixed frequency bandwidth design to charge the image sensor in the camera, aiming at the image sensor with different parameters. However, since the camera is configured with the image sensor with different parameters, the method at least has the problem of poor image quality. SUMMARY

[0003] The present application provides a charging control method, a charging control device, a computer device and a storage medium.

[0004] The technical solution of the present application is implemented as follows:

[0005] In a first aspect, the present application provides a charging control method, which comprises:

[0006] determining a target correlated double sampling (CDS) frequency of an image sensor;

[0007] based on the target CDS frequency, determining a target configuration parameter of a power management integrated circuit (PMIC); the PMIC is used to supply power to the image sensor; wherein the power supply rejection ratio of the PMIC for supplying power to the image sensor based on the target configuration parameter is greater than the power supply rejection ratio of the PMIC for supplying power to the image sensor based on other configuration parameters;

[0008] controlling the PMIC to supply power to the image sensor based on the target configuration parameter.

[0009] In a second aspect, the present application provides a charging control device, which comprises:

[0010] an image sensor, configured to determine a target CDS frequency of the image sensor;

[0011] a PMIC, configured to determine a target configuration parameter based on the target CDS frequency, and supply power to the image sensor based on the target configuration parameter; wherein the power supply rejection ratio of the PMIC for supplying power to the image sensor based on the target configuration parameter is greater than the power supply rejection ratio of the PMIC for supplying power to the image sensor based on other configuration parameters.

[0012] In a third aspect, the present application provides a computer device, comprising a processor and a memory, the memory being configured to store a computer program, and the processor being configured to invoke and run the computer program stored in the memory to implement the charging control method according to the first aspect.

[0013] In a fourth aspect, the present application provides a computer readable storage medium configured to store a computer program, and the computer program is configured to enable a computer to execute the charging control method according to the first aspect.

[0014] The embodiments of the present application provide a charging control method, a charging control device, a computer device and a storage medium. The target correlated double sampling (CDS) frequency of an image sensor is determined. Based on the target CDS frequency, a target configuration parameter of a power management integrated circuit (PMIC) is determined. The PMIC is configured to supply power to the image sensor. The power supply rejection ratio of the PMIC for supplying power to the image sensor based on the target configuration parameter is greater than the power supply rejection ratio of the PMIC for supplying power to the image sensor based on other configuration parameters. The PMIC is controlled to supply power to the image sensor based on the target configuration parameter. In this way, the target configuration parameter of the PMIC is determined based on the target CDS frequency of the target sensor, and the PMIC supplies power to the image sensor based on the target configuration parameter. In this way, the power supply rejection ratio of the PMIC is maximized when the PMIC supplies power to the image sensor based on the power noise frequency curve corresponding to the target CDS frequency, so that the high performance of the image sensor meets the requirement of the image sensor for power quality, and the image quality of the image sensor is ensured. BRIEF DESCRIPTION OF DRAWINGS

[0015] Figure 1 A charging control method flowchart provided by the embodiments of the present application Figure 1 ;

[0016] Figure 2 A schematic diagram of the power noise frequency curve set by the PMIC under different CDS frequencies provided by the embodiments of the present application;

[0017] Figure 3 A charging control method flowchart provided by the embodiments of the present application Figure 2 ;

[0018] Figure 4 A charging control method flowchart provided by the embodiments of the present application Figure 3 ;

[0019] Figure 5 A circuit schematic diagram of a current acquisition circuit provided by the embodiments of the present application;

[0020] Figure 6A schematic diagram of a CDS frequency curve of an image sensor fitted when the image sensor is configured with different parameter sets is provided for an embodiment of the present application.

[0021] Figure 7 A flowchart of a charging control method is provided for an embodiment of the present application Figure 4 .

[0022] Figure 8 A structural block diagram of a PMIC power supply and image sensor dynamic adjustment matching scheme is provided for an embodiment of the present application.

[0023] Figure 9 A structural diagram of a charging control device is provided for an embodiment of the present application.

[0024] Figure 10 A structural diagram of a computer device is provided for an embodiment of the present application. DETAILED DESCRIPTION

[0025] The technical solutions in the embodiments of the present application will be described clearly and completely below with reference to the drawings in the embodiments of the present application.

[0026] It should be understood that the "embodiments of the present application" or "the foregoing embodiments" mentioned throughout the specification mean that the specific features, structures or characteristics related to the embodiments are included in at least one embodiment of the present application. Therefore, "in the embodiments of the present application" or "in the foregoing embodiments" appearing throughout the specification do not necessarily refer to the same embodiment. In addition, these specific features, structures or characteristics can be applied in one or more embodiments in any suitable manner. In various embodiments of the present application, the size of the serial number of each process does not mean the order of execution, and the execution order of each process should be determined according to its function and inherent logic, and should not constitute any limitation on the implementation process of the embodiments of the present application. The serial number of the above embodiments of the present application is only for description, not representing the advantages and disadvantages of the embodiments.

[0027] In order to facilitate the understanding of the technical solutions of the embodiments of the present application, the technical solutions of the present application will be described in detail below through specific embodiments. The above related technologies can be combined with the technical solutions of the embodiments of the present application in any way as an optional scheme, which all belong to the protection scope of the embodiments of the present application. The embodiments of the present application include at least part of the following contents.

[0028] Referring to Figure 1 , Figure 1 A flowchart of a charging control method is provided for an embodiment of the present application, which can be applied in a charging control device. As shown in Figure 1 , the charging control method can be implemented by the following steps,

[0029] Step 101, determine a target correlated double sampling CDS frequency of the image sensor.

[0030] In the embodiment of the present application, the correlated double sampling (CDS) is used for the image sensor. It should be noted that, since the output signal of each pixel in the image sensor contains both the photosensitive signal and the reset pulse voltage signal, in order to eliminate the interference of the reset noise and obtain the actual effective amplitude of the photosensitive signal level, the image sensor adopts the correlated double sampling, that is, the output signal is sampled at the start time and the end time of the integration of the photoelectric signal. In other words, two sampling pulses are generated in one signal output period, and two levels of the output signal are sampled, that is, the reset signal level is sampled once, and the photosensitive signal level is sampled once, and the interval between the two sampling times is much smaller than the time constant. Further, since the noise voltages of the two samplings are almost the same, and the two sampling times are related, the actual effective amplitude of the photosensitive signal level is obtained by subtracting the two sampling values to eliminate the interference of the reset noise.

[0031] In the embodiment of the present application, the CDS frequency is used to adjust the power supply rejection ratio of the frequency point of the PIMC output. Here, the determination of the CDS frequency is related to the parameters of the image sensor, which includes but is not limited to the synchronization signal output by the image sensor, the image acquisition mode configured for the image sensor, and the frame rate configured for the image sensor. Here, the target CDS frequency is the CDS frequency corresponding to the current parameters of the image sensor.

[0032] In the embodiment of the present application, the image sensor is a functional device that converts the light image on the photosensitive surface into an electric signal in a corresponding proportional relationship by using the photoelectric conversion function of the photoelectric device. The image sensor is a functional device that converts the light image on its light receiving surface into a usable electric signal by dividing it into many small units. The image sensor can be divided into complementary metal oxide semiconductor (CMOS) sensors, charge coupled device (CCD) sensors, back-illuminated sensors, and other types of sensors, which are not specifically limited by the present application.

[0033] The above-mentioned CMOS sensor is a common image sensor, which is manufactured by using CMOS technology and has the advantages of low power consumption, low cost, high integration, etc. Each pixel in the CMOS sensor includes a photosensitive element and a group of transistors, which can convert the optical signal into an electrical signal and output the signal to the outside through the output circuit. The CMOS sensor is suitable for high-speed, multi-functional, low-power image acquisition systems.

[0034] The above-mentioned CCD sensor is another common image sensor, which is manufactured using CCD technology. Each pixel in the CCD sensor is composed of a pair of metal-oxide semiconductor field effect transistors (MOSFET), which can convert optical signals into charge signals and amplify and process them inside the chip. CCD sensors have high sensitivity and noise performance, and are suitable for high-quality image acquisition applications.

[0035] The above-mentioned back-illuminated sensor is a new type of image sensor, which places optical elements and circuit elements on both sides of the chip. Compared with traditional front-illuminated sensors, back-illuminated sensors can better collect light signals and improve the sensitivity and noise performance of the sensor. Back-illuminated sensors are suitable for applications that require high image quality, such as digital cameras, mobile phone cameras, etc.

[0036] In addition to the above-mentioned three common image sensors, there are also some other types of sensors. For example, infrared sensors can detect infrared signals emitted by objects and convert them into electrical signals; ultrasonic sensors can measure distance, speed, etc. Parameters can also be used for image acquisition; photodiode array sensors are a type of sensor for high-speed, low-noise optical measurement, etc.

[0037] It should be noted that image sensors are an important optoelectronic conversion device with high resolution, high sensitivity, fast response, low noise, flexibility and miniaturization, etc. These features make image sensors widely used in digital cameras, mobile phone cameras, security monitoring, etc. And have high development potential.

[0038] It can be understood that the charge control device determines the target CDS frequency of the image sensor corresponding to the current parameter of the image sensor according to the current parameter of the image sensor.

[0039] Step 102, determine the target configuration parameter of the power management integrated circuit PMIC based on the target CDS frequency, the PMIC is used to power the image sensor, wherein the power supply rejection ratio of the PMIC for powering the image sensor based on the target configuration parameter is greater than the power supply rejection ratio of the PMIC for powering the image sensor based on other configuration parameters.

[0040] In the embodiments of the present application, the power management integrated circuit (PMIC) is used for managing and controlling the integrated circuit of the power supply device. The PMIC integrates various power management functions, including but not limited to power supply, battery management, charging management, power consumption management, etc., to provide stable power supply for electronic devices and manage and control the battery. In practical applications, the PMIC is commonly used in mobile phones and various mobile terminal devices.

[0041] In the embodiments of the present application, the configuration parameters of the PMIC are the register parameters set by the PMIC at different CDS frequencies. The register parameters set by the PMIC at different frequencies are different. In the embodiments of the present application, the target configuration parameters of the PMIC are the register parameters set by the PMIC at the target CDS frequency. Here, the register parameters are the power supply noise frequency curves set by the PMIC at different CDS frequencies.

[0042] It should be noted that in the power supply noise frequency curve corresponding to any CDS frequency, the power supply rejection ratio corresponding to the CDS frequency is the largest, indicating that the power quality corresponding to the CDS frequency is better, and the power supply rejection ratios corresponding to other frequencies are smaller. For example, as shown in Figure 2 Figure 2 The power supply noise frequency curves set by the PMIC at different CDS frequencies; wherein the horizontal axis represents the frequency, and the vertical axis represents the power supply rejection ratio. Among them, S1 is the power supply noise frequency curve set by the PMIC at the CDS frequency of 400 kilohertz (Khz), and S2 is the power supply noise frequency curve set by the PMIC at the CDS frequency of 500 Khz.

[0043] In the embodiments of the present application, the power supply rejection ratio (PSRR) is used to measure the power quality at different frequency points. The power supply rejection ratio can also be understood as a measure of the ability of the image sensor to resist PMIC power noise. The power supply rejection ratio is the ratio of the input power voltage variation to the converter output voltage variation, and the unit is decibel (dB). The power supply rejection ratio is also called power ripple rejection ratio.

[0044] In the embodiments of the present application, the power supply rejection ratio of the PMIC based on the target configuration parameters for powering the image sensor is greater than the power supply rejection ratio of the PMIC based on other configuration parameters for powering the image sensor, which can be understood as the power supply rejection ratio of the PMIC based on the target configuration parameters for powering the image sensor is the largest.

[0045] Step 103, controlling the PMIC to supply power to the image sensor based on the target configuration parameters. ​

[0046] In the embodiments of the present application, the charging control device determines the target configuration parameter corresponding to the target CDS frequency in the PMIC based on the target CDS frequency, and then controls the PMIC to supply power to the image sensor based on the target configuration parameter.

[0047] The embodiments of the present application provide a charging control method, which comprises the following steps: determining a target correlated double sampling (CDS) frequency of an image sensor; determining a target configuration parameter of a power management integrated circuit (PMIC) based on the target CDS frequency; the PMIC is configured to supply power to the image sensor; wherein the power supply rejection ratio of the PMIC for supplying power to the image sensor based on the target configuration parameter is greater than the power supply rejection ratio of the PMIC for supplying power to the image sensor based on other configuration parameters; and controlling the PMIC to supply power to the image sensor based on the target configuration parameter. In this way, the target configuration parameter of the PMIC is determined based on the target CDS frequency of the target sensor, and the PMIC supplies power to the image sensor based on the target configuration parameter. In this way, the power supply rejection ratio of the PMIC is maximized when the PMIC supplies power to the image sensor based on the power noise frequency curve corresponding to the target CDS frequency, so that the high performance of the image sensor meets the requirement of the image sensor for the power quality, and the image quality of the image sensor is ensured.

[0048] In some embodiments, the process of determining the target CDS frequency of the image sensor in step 101 is combined with Figure 3 The steps shown in the figure are implemented,

[0049] Step 110, obtaining a first parameter set of the image sensor, wherein the first parameter set comprises a first synchronization signal, a first image acquisition mode and a first frame rate.

[0050] In the embodiments of the present application, the parameter set of the image sensor comprises a synchronization signal output by the image sensor, an image acquisition mode configured for the image sensor, and a frame rate configured for the image sensor.

[0051] The synchronization signal output by the image sensor is a declaration signal sent by the image sensor to its signal receiving end, and the level value of the synchronization signal output by the image sensor comprises a high level value and a low level value. For example, the high level value can be 1 and the low level value can be 1. Of course, the high level value can be 0 and the low level value can be -1. The present application does not make specific limitations in this regard.

[0052] The image acquisition mode configured for the image sensor can be a shooting mode or a preview mode, and the present application does not make specific limitations in this regard. It should be noted that the size of the image acquired in different image acquisition modes can be the same or different.

[0053] The frame rate is the number of pictures recorded or played per unit of time, and the frame rate per second indicates the number of times the image sensor can be updated per second when processing a field. The frame rate is used to indicate the video smoothness. The higher the frame rate value, the better the video smoothness, and the smoother the displayed picture.

[0054] In the embodiment of the present application, the charging control device obtains the first image acquisition mode and the first frame rate currently set by the image sensor, and acquires the synchronization signal output by the image sensor in real time to obtain the first synchronization signal, thereby obtaining the first parameter set of the image sensor.

[0055] In step 111, the target CDS frequency corresponding to the first parameter set is searched in the pre-established mapping relationship table. The mapping relationship table includes the mapping relationship between the synchronization signal, the image acquisition mode, the frame rate, and the CDS frequency.

[0056] In the embodiment of the present application, the three parameters of the synchronization signal, the image acquisition mode, and the frame rate in the image sensor determine the CDS frequency of the image sensor. Therefore, the pre-established mapping relationship table in the embodiment of the present application includes the mapping relationship between the level value corresponding to the synchronization signal, the image acquisition mode, the frame rate, and the CDS frequency.

[0057] In the embodiment of the present application, after obtaining the first parameter set of the image sensor, the charging control device can search for the CDS frequency corresponding to the first parameter set in the pre-established mapping relationship table, thereby obtaining the target CDS frequency. In this way, the charging control device can quickly obtain the level value corresponding to the synchronization signal, the image acquisition mode, and the frame rate by using the mapping relationship table established between the level value corresponding to the synchronization signal, the image acquisition mode, the frame rate, and the CDS frequency, and match the CDS frequency of the image sensor, thereby greatly improving the response speed. In addition, the power supply output characteristics of the PMIC can be adjusted according to the CDS frequency matched with the current parameter set of the image sensor, thereby improving the power supply matching quality and ensuring the output image quality of the image sensor.

[0058] In some embodiments, the establishment process of the mapping relationship table in step 111 is described in combination with the steps shown in Figure 4

[0059] In step 1111, a plurality of parameter sets are pre-set. The values of at least one parameter in the plurality of parameter sets are different.

[0060] ​It should be noted that for the image sensor, the CDS frequency is an internal characteristic of the image sensor, and the frequency is only related to the synchronization signal output by the image sensor, the image acquisition mode and the frame rate, that is, the synchronization signal output by the image sensor, the image acquisition mode and the frame rate are set, and the CDS frequency is fixed. Therefore, the embodiment of the application sets a plurality of parameter sets in advance.

[0061] In the embodiment of the application, the plurality of parameter sets can be obtained by adjusting one or more of the level value of the synchronization signal in the image sensor, the image acquisition mode and the frame rate, that is, at least one parameter value corresponding to the three parameters of the synchronization signal, the image acquisition mode and the frame rate in the plurality of parameter sets is different. For example, referring to Table 1, Table 1 shows a plurality of parameter sets. It should be noted that the level value of the synchronization signal in Table 1 is 1, indicating high level, and 0, indicating low level. In the image acquisition mode, 1 indicates the shooting mode, and 2 indicates the preview mode.

[0062]

[0063]

[0064] Table 1

[0065] Step 1112, for the image sensor configured with each parameter set, detecting the current signal in the current acquisition circuit arranged between the image sensor and the PMIC.

[0066] It should be noted that for the fixed image sensor, the CDS frequency is an internal characteristic of the image sensor, and the frequency is only related to the synchronization signal output by the image sensor, the image acquisition mode and the frame rate, and the level value of the synchronization signal output by the image sensor can be acquired in real time, and the image acquisition mode and the frame rate can be obtained in real time. Compared with other parameters, the CDS frequency cannot be directly obtained by software, and must be obtained by hardware testing, that is, the synchronization signal output by the image sensor, the image acquisition mode and the frame rate cannot be acquired in real time.

[0067] Therefore, in the embodiment of the application, the charging control device is arranged with a current acquisition circuit between the image sensor and the PMIC, and the charging control device detects and acquires the current signal in the current acquisition circuit in real time, so as to obtain the CDS frequency of the image sensor according to the current signal.

[0068] In some embodiments, the current acquisition circuit includes a resistor with a preset resistance value. Step 1112, for an image sensor configured with each parameter set, detects the current signal in the current acquisition circuit disposed between the image sensor and the PMIC, including: obtaining the voltage signal of the resistor within a target time period; and obtaining the current signal of the resistor within the target time period based on the voltage signal and the preset resistance value.

[0069] In this embodiment of the application, the resistance value of the resistor in the current acquisition circuit can be a preset resistance value. For example, the preset resistance value can be 0.05 ohms.

[0070] In one feasible scenario, refer to Figure 5 As shown, Figure 5 The circuit diagram shows the current acquisition circuit. A current acquisition circuit 53 is set between the image sensor 51 and PMIC 52 in the charging control device. The processor 54 in the charging device controls the current acquisition circuit to acquire the voltage signals VP and VN across the resistor R during the target time period. Based on the voltage signals VP and VN across the resistor R and the preset resistance value of the resistor R, the current signal of the resistor R during the target time period is obtained through the preset formula I = (VN - VP) / R, thereby obtaining the current signal in the current acquisition circuit.

[0071] Step 1113: Analyze and process the current signal to obtain the CDS frequency of the image sensor configured with each parameter set.

[0072] In this embodiment, after obtaining the current signal in the current acquisition circuit within the target time period, the current waveform of the current signal is analyzed, and after Fourier transform, the CDS frequency of the image sensor under each configured parameter set can be obtained, thus obtaining the CDS frequency of the image sensor corresponding to each parameter set. For example, refer to... Figure 6 As shown, Figure 6 The CDS frequency curves of the image sensor fitted with different parameter sets are shown.

[0073] Step 1114: For each parameter set and the CDS frequency of the image sensor configured with each parameter set, establish a mapping table between the synchronization signal, image acquisition mode, frame rate and CDS frequency.

[0074] In the embodiments of the present application, after obtaining the CDS frequencies of the image sensors corresponding to all parameter sets, a mapping relationship table between the synchronization signal, the image acquisition mode, the frame rate and the CDS frequency is established for each parameter set and the CDS frequency of the image sensor configured with each parameter set. Referring to Table 2, Table 2 shows the mapping relationship table between the synchronization signal, the image acquisition mode, the frame rate and the CDS frequency. As can be seen from Table 2, the change of any one of the synchronization signal, the image acquisition mode and the frame rate output by the image sensor will cause the change of the CDS frequency. In this way, the mapping relationship table between the synchronization signal, the image acquisition mode, the frame rate and the CDS frequency can be established to obtain the CDS frequency corresponding to the image sensor with different configurations in real time. At the same time, the CDS frequency of the image sensor matched with the level value corresponding to the different synchronization signals, the image acquisition mode and the frame rate is counted, thereby improving the control efficiency and accuracy of the charging control device.

[0075] Time Level value of the synchronization signal Image acquisition mode Frame rate CDS frequency 1 0 1 30 400k ± 10k 2 1 1 30 400k ± 10k 3 0 1 24 300k ± 10k 4 1 1 24 300k ± 10k 5 0 2 30 600k ± 10k 6 0 2 30 600k ± 10k 7 1 2 30 600k ± 10k 8 0 1 30 400k ± 10k 9 1 1 30 400k ± 10k 10 0 2 24 500k ± 10k 11 0 2 24 500k ± 10k 12 1 2 24 500k ± 10k 13 0 2 24 500k ± 10k 14 0 2 24 500k ± 10k 15 1 2 24 500k ± 10k 16 0 2 30 600k ± 10k 17 0 2 30 600k ± 10k 18 1 2 30 600k ± 10k

[0076] Table 2

[0077] In some embodiments, step 102 of determining the target configuration parameter of the power management integrated circuit (PMIC) based on the target CDS frequency can be implemented in combination with the following steps,

[0078] The target register corresponding to the target CDS frequency is determined from a plurality of registers included in the PMIC, and the power noise frequency curve corresponding to the target CDS frequency is adjusted through the target register, wherein the target configuration parameter includes the power noise frequency curve corresponding to the target CDS frequency.

[0079] In the embodiments of the present application, the PMIC includes a plurality of registers, and the charging control device screens the target register corresponding to the target CDS frequency from the plurality of registers and adjusts the power noise frequency curve corresponding to the target CDS frequency through the target register, so that the power suppression ratio corresponding to the target CDS frequency in the power noise frequency curve is the peak value of the power suppression ratio in the power noise frequency curve, ensuring that the power suppression ratio of the PMIC is maximum when the PMIC supplies power to the image sensor based on the power noise frequency curve corresponding to the target CDS frequency, thereby high-performance meeting the requirements of the image sensor for power quality and ensuring the image quality of the image sensor.

[0080] In some embodiments, step 103 of controlling the PMIC to supply power to the image sensor based on the target configuration parameter includes: controlling the PMIC to supply power to the image sensor based on the power noise frequency curve corresponding to the target CDS frequency, thereby ensuring that the power suppression ratio of the PMIC is maximum; in this way, high-performance meeting the requirements of the image sensor for power quality ensures the image quality of the image sensor.

[0081] Referring to Figure 7 , Figure 7 A flowchart of a charging control method provided by an embodiment of the present application can be applied to a charging control device. As shown in Figure 7 , the charging control method can be implemented by the following steps,

[0082] Step 201, obtaining a first parameter set of an image sensor, wherein the first parameter set includes a first synchronization signal, a first image acquisition mode and a first frame rate;

[0083] Step 202, in a pre-established mapping relationship table, searching for a target CDS frequency of the image sensor corresponding to the first parameter set, wherein the mapping relationship table includes the mapping relationship between the synchronization signal, the image acquisition mode, the frame rate and the CDS frequency;

[0084] Step 203, determining a target configuration parameter of a power management integrated circuit (PMIC) based on the target CDS frequency, wherein the PMIC is used to supply power to the image sensor, and the power supply rejection ratio of the PMIC for supplying power to the image sensor based on the target configuration parameter is greater than the power supply rejection ratio of the PMIC for supplying power to the image sensor based on other configuration parameters;

[0085] Step 204, adjusting at least one parameter in the first parameter set to obtain a second parameter set;

[0086] Step 205, in the mapping relationship table, searching for an adjusted target CDS frequency corresponding to the second parameter set;

[0087] Step 206, determining an adjusted target configuration parameter of the PMIC based on the adjusted target CDS frequency, wherein the power supply rejection ratio of the PMIC for supplying power to the image sensor based on the adjusted target configuration parameter is greater than the power supply rejection ratio of the PMIC for supplying power to the image sensor based on other configuration parameters;

[0088] Step 207, controlling the PMIC to supply power to the image sensor based on the adjusted target configuration parameter.

[0089] In the embodiment of the present application, first, the charging control device obtains the first image acquisition mode and the first frame rate currently set by the image sensor, and acquires the synchronization signal output by the image sensor in real time to obtain the first synchronization signal, thereby obtaining the first parameter set of the image sensor; second, the charging control device looks up the CDS frequency corresponding to the first parameter set in the pre-established mapping relationship table, thereby obtaining the target CDS frequency; then, the charging control device determines the target configuration parameter of the PMIC based on the target CDS frequency; further, the charging control device controls the PMIC to supply power to the image sensor based on the target configuration parameter. At this time, the charging control device adjusts at least one parameter in the first parameter set of the image sensor to obtain a second parameter set; in the mapping relationship table, the adjusted target CDS frequency corresponding to the second parameter set is looked up, and the adjusted target configuration parameter of the PMIC is determined based on the adjusted target CDS frequency; the PMIC is controlled to supply power to the image sensor based on the adjusted target configuration parameter.

[0090] As can be seen from the above, in the embodiment of the present application, for the same image sensor, by adjusting the value of at least one parameter in the parameter set of the image sensor, a plurality of different CDS frequencies corresponding to the same image sensor can be obtained; further, by selecting the current CDS frequency corresponding to the current parameter set of the image sensor, and determining the current configuration parameter of the PMIC corresponding to the current CDS frequency, the power supply rejection ratio of the PMIC is maximized by controlling the PMIC to supply power to the image sensor based on the current configuration parameter, thereby high-performance meeting the requirements of the image sensor for power quality and ensuring the output quality of the image sensor. In this way, the power output characteristics are fully adjusted according to the CDS frequency characteristics of the image sensor, and the power matching quality is improved; by the synchronization signal, image acquisition mode and frame rate output by the image sensor, the CDS frequency is counted, and the mapping relationship between the synchronization signal, image acquisition mode, frame rate output by the image sensor and CDS frequency is established, thereby improving the efficiency and accuracy of system control; by establishing a database through actual measurement, the CDS frequency characteristics of the image sensor and the PMIC characteristics are related to form a network, thereby greatly improving the response speed.

[0091] The charging control method provided by the embodiment of the present application will be described in detail below in combination with a specific application scenario.

[0092] At present, the power quality of a mobile phone camera is an important guarantee for camera images, and different image sensors have different power frequency point rejection ratios. If a fixed frequency point bandwidth design is adopted, not only the cost is high, but also the power requirements of new image sensors may not be met.

[0093] To solve the above problems, the embodiment of the present application proposes a PMIC power and image sensor dynamic adjustment and matching scheme, which is described with reference toFigure 8 As shown, Figure 8 The structural block diagram of the PMIC power supply and image sensor dynamic adjustment matching scheme provided by the embodiment of the present application.

[0094] In the scheme, mainly includes CDS signal collection module 81 and performance optimization module 82 two parts.

[0095] Referring to Figure 8 As shown, CDS signal collection module 81 mainly through the synchronization signal (vsys) 811, image acquisition mode (setting) 812 and frame rate 813 output by the image sensor, CDS signal modeling 814, get the CDS frequency of the image sensor, and then output the CDS vector L1 815 composed of synchronization signal, setting, frame rate and CDS frequency. It should be noted that the CDS vector L1 locks the CDS frequency through the synchronization signal, setting, frame rate of the image sensor, which provides support for subsequent performance optimization, that is, the frequency power supply rejection ratio of PMIC.

[0096] Here, CDS signal modeling can be understood as retaining different CDS vectors in the form of database or mapping relationship table, and the output is the data form of CDS vector composed of vsys, setting, frame rate and CDS frequency.

[0097] Here, when performing CDS signal modeling, by setting current collection circuit between image sensor and PMIC, setting vsys, setting, frame rate of image sensor, and collecting current signal in current collection circuit, CDS frequency corresponding to different vsys, setting, frame rate is determined. Among them, the current collection circuit is as shown in Figure 5 As shown, for the image sensor configured with different vsys, setting and frame rate, a high-precision current collection circuit containing 0.05 ohm resistor is added between the image sensor and the PMIC power supply, the voltage VN and VP at both ends of the collection resistor R is collected, and I=(VN-VP) / R is used, the current signal in the output image sensor can be detected in real time. By waveform analysis of the current signal, and after Fourier transform, the CDS frequency of the sensor under the vsys, setting and frame rate can be confirmed.

[0098] It should be noted that for a fixed sensor, the CDS frequency is an internal characteristic of the sensor, which is only related to the sensor's vsys, setting, frame rate, i.e. when the vsys, setting, frame rate are set, the CDS frequency of the image sensor is also fixed. Compared with other parameters, the CDS frequency must be obtained through hardware testing, and cannot be obtained in real time like the sensor's vsys, setting, frame rate. Therefore, the sensor's vsys, setting, frame rate determines the CDS frequency, and the present scheme fits the CDS vector through the parameters. The correlation diagram is shown in FIG. 6, the change curve of the sensor's vsys, setting, frame rate, through the three parameters, the current signal is collected and measured to confirm the CDS frequency, and the CDS curve is fitted. Of course, the sensor's vsys, setting, frame rate and the corresponding CDS frequency of the image sensor can also be stored in a data list. As shown in Table 2, it can be seen that any change of the sensor's vsys, setting, frame rate will cause the CDS frequency to change. The CDS signal collection of the present scheme is to establish a CDS vector database (corresponding to the mapping relationship table described above) for all combinations of VSYS, setting, frame rate, i.e. the CDS vector includes vsys, setting, frame rate, CDS frequency. The setting and frame rate are real-time issued by the processor in the charge control device, and the VSYS can be obtained in real time through the sensor synchronization signal. In this way, by using the established CDS vector database, the CDS frequency can be obtained in real time through data lookup.

[0099] With continued reference to Figure 8 As shown in FIG. 8, the performance optimization module 82 adjusts the power supply rejection ratio capability of the frequency point corresponding to the CDS frequency output by the PIMC according to the CDS frequency. In the present scheme, after the CDS frequency of the image sensor is determined through the three parameters of vsys, setting, frame rate, the frequency point or sensitive frequency band 821 corresponding to the CDS frequency in the power supply noise frequency curve of the PMIC is determined according to the CDS frequency of the image sensor, and then the bandwidth and gain 822 of the PMIC are adjusted through the register corresponding to the CDS frequency, i.e. the logic circuit inside the PMIC is controlled through the register corresponding to the CDS frequency, i.e. the internal circuit filtering capability is set, so as to move the peak area in the power supply noise frequency curve of the PMIC to the frequency point corresponding to the CDS frequency, achieve the effect of reducing other frequency points and enhancing the power supply rejection ratio PSRR of the sensitive frequency band 823, so as to improve the power supply rejection capability of the CDS frequency. Exemplarily, with reference to Figure 2As shown, when the CDS frequency is 400 KHZ, the register setting of S1 is adopted; when the CDS frequency is 500 KHZ, the register setting of S2 is adopted. Further, the address information L2824 of the register corresponding to the CDS frequency is recorded, and finally, the CDS vector is extended to obtain an extended vector (L1, L2) 825 composed of the CDS vector L1 and the address information L2 of the register, that is, the extended vector includes vsys, setting, frame rate, CDS, and address information of the register, so as to realize dynamic adjustment and further realize performance optimization.

[0100] As known from the above, the embodiment of the application adjusts the power supply output characteristics according to the sensor characteristics, improves the power supply matching quality, introduces the scheme of vsys, setting, frame rate, and CDS frequency of the image sensor for the first time, improves the efficiency and accuracy of system control, establishes the vector database through actual measurement, establishes the relationship network between the sensor characteristics and the PMIC characteristics, and greatly improves the response speed.

[0101] The embodiment of the application provides a charging control device, Figure 9 is a structural schematic diagram of an optional charging control device provided by the embodiment of the application. As shown in Figure 9 The embodiment of the application provides a charging control device 9 including an image sensor 901 and a PMIC 902, wherein,

[0102] The image sensor 901 is configured to determine a target correlated double sampling (CDS) frequency of the image sensor.

[0103] The PMIC 902 is configured to determine a target configuration parameter based on the target CDS frequency, and supply power to the image sensor based on the target configuration parameter; wherein the power supply rejection ratio of the PMIC based on the target configuration parameter for supplying power to the image sensor is greater than the power supply rejection ratio of the PMIC based on other configuration parameters for supplying power to the image sensor.

[0104] In some embodiments, the image sensor 901 is further configured to obtain a first parameter set of the image sensor, wherein the first parameter set includes a first synchronization signal, a first image acquisition mode, and a first frame rate; and find a target CDS frequency corresponding to the first parameter set in a pre-established mapping relationship table, wherein the mapping relationship table includes the mapping relationship between the synchronization signal, the image acquisition mode, the frame rate, and the CDS frequency.

[0105] In some embodiments, the charging control device 9 further comprises a current acquisition circuit arranged between the image sensor and the PMIC, the image sensor 901 is further configured to preset a plurality of parameter sets, wherein at least one parameter in the plurality of parameter sets is different; the current acquisition circuit is configured to acquire a current signal for the image sensor configured with each parameter set; the image sensor 901 is further configured to analyze and process the current signal to obtain a CDS frequency of the image sensor configured with each parameter set; and a mapping relationship table between a synchronization signal, an image acquisition mode, a frame rate and the CDS frequency is established for each parameter set and the CDS frequency of the image sensor configured with each parameter set.

[0106] In some embodiments, the current acquisition circuit is further configured to obtain a voltage signal of the resistor in a target period; and obtain a current signal of the resistor in the target period based on the voltage signal and a preset resistor value.

[0107] In some embodiments, the image sensor 901 is further configured to adjust at least one parameter in the first parameter set to obtain a second parameter set; and find an adjusted target CDS frequency corresponding to the second parameter set in the mapping relationship table; the PMIC 902 is further configured to determine an adjusted target configuration parameter of the PMIC based on the adjusted target CDS frequency, and supply power to the image sensor based on the adjusted target configuration parameter; and a power supply rejection ratio of the PMIC for supplying power to the image sensor based on the adjusted target configuration parameter is greater than a power supply rejection ratio of the PMIC for supplying power to the image sensor based on other configuration parameters.

[0108] In some embodiments, the PMIC 902 is further configured to determine a target register corresponding to the target CDS frequency from a plurality of registers included in the PMIC; and adjust a power supply noise frequency curve corresponding to the target CDS frequency through the target register, wherein the target configuration parameter comprises the power supply noise frequency curve corresponding to the target CDS frequency.

[0109] In some embodiments, the PMIC 902 is further configured to control the PMIC to supply power to the image sensor based on the power supply noise frequency curve corresponding to the target CDS frequency.

[0110] Embodiments of the present application provide a computer device, Figure 10 An optional computer device structure schematic diagram provided by embodiments of the present application is shown in Figure 10 As shown in the figure, the computer device 10 provided by embodiments of the present application comprises a memory 1001, a processor 1002, and a computer program stored in the memory 1001 and executable on the processor 1002, wherein the processor implements Figure 1 、 Figure 3 Figure 4and Figure 7 The charging control method.

[0111] The processor of the embodiments of the present application can be an integrated circuit chip with signal processing capability. In the implementation process, each step of the method embodiments described above can be completed by integrated logic circuits or instructions in the form of software in the processor. The processor described above can include the following one or more integrated: general-purpose processor, application specific integrated circuit (ASIC), digital signal processor (DSP), digital signal processing device (DSPD), programmable logic device (PLD), field programmable gate array (FPGA), central processing unit (CPU), graphics processing unit (GPU), embedded neural network processing unit (NPU), controller, microcontroller, microprocessor, programmable logic device, discrete gate or transistor logic device, discrete hardware component. The methods, steps and logic block diagrams disclosed in the embodiments of the present application can be implemented or executed. The general-purpose processor can be a microprocessor or the processor can also be any conventional processor. The steps of the method disclosed in combination with the embodiments of the present application can be directly embodied as hardware code processor execution, or executed by a combination of hardware and software modules in the code processor. The software module can be located in a random memory, a flash memory, a read-only memory, a programmable read-only memory, an electrically erasable programmable memory, a register, and other mature storage media in the art. The storage medium is located in the memory, and the processor reads the information in the memory, and combines the hardware to complete the steps of the above method.

[0112] It is to be appreciated that the memory or computer storage medium of the embodiments herein can be volatile or nonvolatile, or can include both volatile and nonvolatile memory. In various embodiments, nonvolatile memory can be read-only memory (ROM), programmable ROM (PROM), erasable PROM (EPROM), electrically EPROM (EEPROM), or flash memory. Volatile memory can be random access memory (RAM), which acts as external cache. By way of example and not limitation, many forms of RAM are available, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDR SDRAM), enhanced SDRAM (ESDRAM), Synchlink DRAM (SLDRAM), and direct Rambus RAM (DR RAM). It is to be appreciated that the memory or computer storage medium of the embodiments herein is intended to include, without being limited to, these and any other suitable types of memory.

[0113] It is to be appreciated that the memory or computer storage medium of the embodiments herein is by way of example and not limitation, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDR SDRAM), enhanced SDRAM (ESDRAM), synchlink DRAM (SLDRAM), and direct Rambus RAM (DR RAM). That is, the memory of the embodiments herein is intended to include, without being limited to, these and any other suitable types of memory.

[0114] The embodiment of the present application further provides a computer storage medium, specifically, a computer readable storage medium. Computer instructions are stored in the computer storage medium. When the computer storage medium is located in an electronic device, the computer instructions are executed by a processor to implement any step of the charging control method provided in the embodiment of the present application.

[0115] In several embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other manners. The above described device embodiments are merely schematic. For example, the division of the units is only a logical function division. There can be another division manner for the actual implementation. For example, a plurality of units or components can be combined or integrated into another system, or some features can be ignored or not executed. In addition, the displayed or discussed coupling, or direct coupling or communication connection between the components can be indirect coupling or communication connection through some interfaces, devices or units, and can be electrical, mechanical or in other forms.

[0116] The units described as separate components can or can not be physically separate, and the components displayed as units can or can not be physical units, that is, can be located in one place, or can be distributed on a plurality of network units; some or all of the units can be selected according to actual needs to achieve the purpose of the embodiment.

[0117] In addition, each functional unit in each embodiment of the present application can be integrated into one processing unit, or each unit can be a separate unit, or at least two units can be integrated into one unit; the integrated unit can be realized in the form of hardware, or in the form of hardware plus software functional unit.

[0118] Those skilled in the art can understand that all or part of the steps of the above method embodiments can be completed by program instruction related hardware, and the foregoing program can be stored in a computer readable storage medium. When the program is executed, the steps of the method embodiments are executed. The foregoing storage medium includes mobile storage devices, ROM, RAM, magnetic discs or optical discs and various storage media that can store program codes.

[0119] Alternatively, the above-mentioned integrated units of the present application, if realized in the form of software function modules and sold or used as independent products, can also be stored in a computer readable storage medium. Based on such understanding, the technical solutions of the embodiments of the present application can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a plurality of instructions for causing a computer device (which can be a personal computer, a server, or a network device, etc.) to execute all or part of the methods described in the embodiments of the present application. The aforementioned storage medium includes: mobile storage devices, ROM, RAM, magnetic disks or optical disks, and various media that can store program codes.

[0120] It should be noted that the technical solutions described in the embodiments of the present application can be combined arbitrarily without conflict.

[0121] The above is merely specific embodiments of the present application, but the protection scope of the present application is not limited thereto, and any person skilled in the art can easily think of changes or replacements within the technical scope disclosed in the present application, which should be covered within the protection scope of the present application. Therefore, the protection scope of the present application should be subject to the protection scope of the claims.

Claims

1. A charge control method characterized by, The method comprises: determining a target correlated double sampling (CDS) frequency of an image sensor; based on the target CDS frequency, determining a target configuration parameter of a power management integrated circuit (PMIC) for supplying power to the image sensor; wherein a power supply rejection ratio of the PMIC for supplying power to the image sensor based on the target configuration parameter is greater than a power supply rejection ratio of the PMIC for supplying power to the image sensor based on other configuration parameters; controlling the PMIC to supply power to the image sensor based on the target configuration parameter.

2. The method of claim 1, wherein, The determination of the CDS frequency of the image sensor comprises: obtaining a first parameter set of the image sensor, wherein the first parameter set comprises a first synchronization signal, a first image acquisition mode, and a first frame rate; in a pre-established mapping relationship table, searching for the target CDS frequency corresponding to the first parameter set, wherein the mapping relationship table comprises a mapping relationship between a synchronization signal, an image acquisition mode, a frame rate, and a CDS frequency.

3. The method of claim 2, wherein, Before searching for the target CDS frequency corresponding to the first parameter set in the pre-established mapping relationship table, the method comprises: pre-setting a plurality of parameter sets, wherein at least one parameter in the plurality of parameter sets is different in value; for each image sensor configured with a parameter set, detecting a current signal in a current acquisition circuit arranged between the image sensor and the PMIC; analyzing and processing the current signal to obtain a CDS frequency of the image sensor configured with the parameter set; for each parameter set and the CDS frequency of the image sensor configured with the parameter set, establishing the mapping relationship table between the synchronization signal, the image acquisition mode, the frame rate, and the CDS frequency.

4. The method of claim 3, wherein, The current acquisition circuit comprises a resistor with a preset resistance value, and the detection of the current signal in the current acquisition circuit arranged between the image sensor and the PMIC for each image sensor configured with a parameter set comprises: obtaining a voltage signal of the resistor within a target period; based on the voltage signal and the preset resistance value, obtaining a current signal of the resistor within the target period.

5. The method of claim 2, wherein, The method further comprises: adjusting at least one parameter in the first parameter set to obtain a second parameter set; in the mapping relationship table, searching for an adjusted target CDS frequency corresponding to the second parameter set; based on the adjusted target CDS frequency, determining an adjusted target configuration parameter of the PMIC; wherein a power supply rejection ratio of the PMIC for supplying power to the image sensor based on the adjusted target configuration parameter is greater than a power supply rejection ratio of the PMIC for supplying power to the image sensor based on other configuration parameters; controlling the PMIC to supply power to the image sensor based on the adjusted target configuration parameter.

6. The method according to any one of claims 1 to 5, characterized in that, The determination of the target configuration parameter of the PMIC based on the target CDS frequency comprises: determining a target register corresponding to the target CDS frequency from a plurality of registers included in the PMIC; adjusting a power supply noise frequency curve corresponding to the target CDS frequency through the target register, wherein the target configuration parameter comprises the power supply noise frequency curve corresponding to the target CDS frequency.

7. The method of claim 6, wherein, The controlling the PMIC to supply power to the image sensor based on the target configuration parameter comprises: controlling the PMIC to supply power to the image sensor based on the power supply noise frequency curve corresponding to the target CDS frequency.

8. A charge control device, characterized by comprising: The device comprises: an image sensor configured to determine a target correlated double sampling (CDS) frequency of the image sensor; a PMIC configured to determine a target configuration parameter based on the target CDS frequency, and to supply power to the image sensor based on the target configuration parameter, wherein a power supply rejection ratio of the PMIC for supplying power to the image sensor based on the target configuration parameter is greater than a power supply rejection ratio of the PMIC for supplying power to the image sensor based on other configuration parameters.

9. A computer device, comprising: a processor and a memory for storing a computer program, the processor being configured to invoke and run the computer program stored in the memory to perform the method of any one of claims 1 to 7.

10. A computer-readable storage medium, characterized in that, a computer program for causing a computer to perform the method of any one of claims 1 to 7.

Citation Information

Patent Citations

  • Related double-sampling circuit, control method of related double-sampling circuit, image sensor system and control method of image sensor system

    CN104092964A

  • Test system and method for power supply rejection ratio of CMOS image sensor

    CN113014910A