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

By determining the target CDS frequency of the image sensor and optimizing the configuration parameters of the PMIC, the problem that the power supply in the prior art cannot meet the needs of image sensors of different parameters is solved, and efficient power supply and image quality improvement is achieved.

CN119729197AActive Publication Date: 2025-03-28GUANGDONG OPPO MOBILE TELECOMMUNICATIONS CORP LTD
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202311253834.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-09-26
Publication Date
2025-03-28
Estimated Expiration
2043-09-26

Smart Images

  • Figure CN119729197A_ABST
    Figure CN119729197A_ABST
Patent Text Reader

Abstract

The invention provides a charging control method. The charging control method 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 used for supplying 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. The invention further provides charging control equipment, computer equipment 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 field of power supply technology, and in particular to a charging control method, a charging control device, a computer device and a storage medium. Background Art

[0002] At present, the power quality of the 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 for image sensors with different parameters to charge the image sensor in the camera. However, since the camera is equipped with image sensors with different parameters, this method at least has the problem of poor image quality. Summary of the invention

[0003] Embodiments of the present application provide a charging control method, a charging control device, a computer device, and a storage medium.

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

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

[0006] Determine the target correlated double sampling (CDS) frequency of the image sensor;

[0007] Determining target configuration parameters of a power management integrated circuit PMIC based on the target CDS frequency; the PMIC is used to supply power to the image sensor; wherein a power supply rejection ratio of the PMIC that supplies power to the image sensor based on the target configuration parameters is greater than a power supply rejection ratio of the PMIC that supplies power to the image sensor based on other configuration parameters;

[0008] The PMIC is controlled to supply power to the image sensor based on the target configuration parameters.

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

[0010] An image sensor, for determining a target correlated double sampling (CDS) frequency of the image sensor;

[0011] A PMIC is used 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 that supplies power to the image sensor based on the target configuration parameter is greater than a power supply rejection ratio of the PMIC that supplies 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, wherein the memory is used to store a computer program, and the processor is used to call and run the computer program stored in the memory to implement the charging control method as described in the first aspect.

[0013] In a fourth aspect, the present application provides a computer-readable storage medium for storing a computer program, wherein the computer program enables a computer to execute the charging control method as described in the first aspect.

[0014] The embodiment of the present application provides a charging control method, a charging control device, a computer device and a storage medium, by determining the target correlated double sampling (CDS) frequency of the image sensor; determining the target configuration parameters of the power management integrated circuit (PMIC) based on the target CDS frequency; the PMIC is used to supply power to the image sensor; wherein the power supply rejection ratio of the PMIC that supplies power to the image sensor based on the target configuration parameters is greater than the power supply rejection ratio of the PMIC that supplies 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 parameters. In this way, the target configuration parameters of the PMIC are determined by the target CDS frequency of the target sensor, and the PMIC supplies power to the image sensor based on the target configuration parameters, so that the power supply rejection ratio of the PMIC is maximized when the PMIC supplies power to the image sensor based on the power supply noise frequency curve corresponding to the target CDS frequency, thereby meeting the image sensor's requirements for power quality with high performance and ensuring the image sensor's image quality. BRIEF DESCRIPTION OF THE DRAWINGS

[0015] Figure 1 A charging control method provided in the present application is shown in FIG. Figure 1 ;

[0016] Figure 2 A schematic diagram of a power supply noise frequency curve set at different CDS frequencies for a PMIC provided in an embodiment of the present application;

[0017] Figure 3 A charging control method provided in the present application is shown in FIG. Figure 2 ;

[0018] Figure 4 A charging control method provided in the present application is shown in FIG. Figure 3 ;

[0019] Figure 5 A circuit diagram of a current acquisition circuit provided in an embodiment 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 provided by an embodiment of the present application;

[0021] Figure 7 A charging control method provided in the present application is shown in FIG. Figure 4 ;

[0022] Figure 8 A structural block diagram of a PMIC power supply and image sensor dynamic adjustment matching solution provided in an embodiment of the present application;

[0023] Fig. 9 A schematic diagram of the structure of a charging control device provided in an embodiment of the present application;

[0024] Fig.10 A schematic diagram of the structure of a computer device provided in an embodiment of the present application. DETAILED DESCRIPTION

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

[0026] It should be understood that the "embodiments of the present application" or "the aforementioned embodiments" mentioned throughout the specification mean that 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 aforementioned embodiments" appearing throughout the specification may not necessarily refer to the same embodiment. In addition, these specific features, structures or characteristics can be combined in one or more embodiments in any suitable manner. In the various embodiments of the present application, the size of the sequence number of the above-mentioned processes does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present application. The above-mentioned sequence numbers of the embodiments of the present application are for description only and do not represent the advantages and disadvantages of the embodiments.

[0027] To facilitate understanding of the technical solutions of the embodiments of the present application, the technical solutions of the present application are described in detail below through specific embodiments. The above related technologies can be combined arbitrarily with the technical solutions of the embodiments of the present application as optional solutions, and they 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] Reference Figure 1 , Figure 1 The flow chart of the charging control method provided in the embodiment of the present application can be applied to the charging control device. Figure 1 As shown, the charging control method can be implemented by the following steps:

[0029] Step 101: Determine a target correlated double sampling (CDS) frequency of an image sensor.

[0030] In the embodiment of the present application, Correlated Double Sample (CDS) is used for an image sensor. It should be noted that, since the output signal of each pixel in the image sensor contains both a photosensitive signal and a 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 correlated double sampling, that is, at the beginning and ending time of the integration of the photoelectric signal, the output signal is sampled respectively, that is, within one signal output cycle, two sampling pulses are generated to sample the two levels of the output signal respectively, that is, one is to sample the reset signal level, and the other is to sample the photosensitive signal level, and the interval between the two sampling times is much smaller than the time constant; further, since the noise voltages of the two samples are almost the same and the time of the two samples is correlated, the two sampling values ​​are subtracted to eliminate the interference of the reset noise and obtain the actual effective amplitude of the photosensitive signal level.

[0031] In the embodiment of the present application, the CDS frequency is used to adjust the power supply rejection ratio of the frequency point output by the PIMC. Here, the determination of the CDS frequency is related to the parameters of the image sensor, and the parameters of the image sensor include but are 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 utilizes the photoelectric conversion function of the photoelectric device to convert the light image on the photosensitive surface into an electrical signal that is proportional to the light image. The image sensor is a functional device that divides the light image on its light-receiving surface into many small units and converts them into usable electrical signals. Image sensors can be divided into complementary metal oxide semiconductor (CMOS) sensors, charge coupled device (CCD) sensors, back-illuminated sensors and other types of sensors, and the present application does not make specific restrictions on this.

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

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

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

[0036] In addition to the three common image sensors mentioned above, there are 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 parameters such as distance and speed, and can also be used for image acquisition; photodiode array sensors are a type of sensor used for high-speed, low-noise optical measurements, etc.

[0037] It should be noted that image sensors are an important photoelectric conversion device with the characteristics of high resolution, high sensitivity, fast response, low noise, flexibility and miniaturization. These characteristics make image sensors widely used in digital cameras, mobile phone cameras, security monitoring and other fields, and have great development potential.

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

[0039] Step 102: Determine target configuration parameters of a power management integrated circuit PMIC based on a target CDS frequency, where the PMIC is used to power the image sensor, wherein a power supply rejection ratio of the PMIC that powers the image sensor based on the target configuration parameters is greater than a power supply rejection ratio of the PMIC that powers the image sensor based on other configuration parameters.

[0040] In the embodiment of the present application, the power management integrated circuit (Power Management Integrated Circuits, PMIC) is used to manage and control the integrated circuit of the power supply device. PMIC integrates multiple power management functions, including but not limited to power supply, battery management, charging management, power consumption management, etc., to provide a stable power supply for electronic devices and manage and control the battery. In practical applications, PMIC is often used in mobile phones and various mobile terminal devices.

[0041] In the embodiment of the present application, the configuration parameters of the PMIC are register parameters set by the PMIC at different CDS frequencies, and the register parameters set by the PMIC at different frequencies are different. In the embodiment of the present application, the target configuration parameters of the PMIC are register parameters set by the PMIC at the target CDS frequency. Here, the register parameters are 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 supply quality corresponding to the CDS frequency is better, and the power supply rejection ratios corresponding to other frequencies are smaller. Figure 2 As shown, Figure 2 The power supply noise frequency curves set by 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 PMIC at a CDS frequency of 400 kilohertz (Khz), and S2 is the power supply noise frequency curve set by PMIC at a CDS frequency of 500Khz.

[0043] In the embodiment 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 image sensor's ability to resist PMIC power supply noise. The power supply rejection ratio is the ratio of the input power supply voltage change to the converter output voltage change, in decibels (dB). The power supply rejection ratio is also called the power supply ripple rejection ratio.

[0044] In the embodiment of the present application, the power supply rejection ratio of the PMIC that powers the image sensor based on the target configuration parameters is greater than the power supply rejection ratio of the PMIC that powers the image sensor based on other configuration parameters. It can be understood that the power supply rejection ratio of the PMIC that powers the image sensor based on the target configuration parameters is the largest.

[0045] Step 103: Control the PMIC to supply power to the image sensor based on the target configuration parameters.

[0046] In the embodiment of the present application, the charging control device determines the target configuration parameters 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 parameters.

[0047] The embodiment of the present application provides a charging control method, which determines the target correlated double sampling (CDS) frequency of the image sensor; determines the target configuration parameters of the power management integrated circuit (PMIC) based on the target CDS frequency; the PMIC is used to supply power to the image sensor; wherein the power supply rejection ratio of the PMIC that supplies power to the image sensor based on the target configuration parameters is greater than the power supply rejection ratio of the PMIC that supplies power to the image sensor based on other configuration parameters; and controls the PMIC to supply power to the image sensor based on the target configuration parameters. In this way, the target configuration parameters of the PMIC are determined by the target CDS frequency of the target sensor, and the PMIC supplies power to the image sensor based on the target configuration parameters, so that the power supply rejection ratio of the PMIC is maximized when the PMIC supplies power to the image sensor based on the power supply noise frequency curve corresponding to the target CDS frequency, thereby meeting the image sensor's requirements for power quality with high performance and ensuring the image sensor's image quality.

[0048] In some embodiments, step 101 determines the target correlated double sampling (CDS) frequency of the image sensor, combined with Figure 3 The steps shown are implemented,

[0049] Step 110: 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.

[0050] In the embodiment of the present application, the parameter set of the image sensor includes 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] Among them, the synchronization signal output by the image sensor is a declaration signal sent by the image sensor to its signal receiving end. The level value of the synchronization signal output by the image sensor includes a high level value and a low level value. Exemplarily, 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. This application does not make any specific restrictions on this.

[0052] Among them, the image acquisition mode configured for the image sensor can be a photo mode or a preview mode. This application does not make any specific limitations on this. It should be noted that the sizes of images captured in different image acquisition modes can be the same or different.

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

[0054] In an 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] Step 111: Search a pre-established mapping relationship table for a target CDS frequency corresponding to the first parameter set, wherein the mapping relationship table includes a mapping relationship between a synchronization signal, an image acquisition mode, a frame rate, and a CDS frequency.

[0056] In the embodiment of the present application, the three parameters of the synchronization signal, image acquisition mode and frame rate in the image sensor determine the CDS frequency of the image sensor. Therefore, the mapping relationship table pre-established in the embodiment of the present application contains 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, image acquisition mode and frame rate corresponding to the synchronization signal, and the CDS frequency of the matching image sensor by establishing a mapping relationship table between the level value, image acquisition mode, frame rate and CDS frequency corresponding to the synchronization signal, which greatly improves the response speed. At the same time, the power output characteristics of the PMIC can also be adjusted according to the CDS frequency matching the current parameter set of the image sensor, thereby improving the power matching quality and ensuring the output image quality of the image sensor.

[0058] In some embodiments, the process of establishing the mapping relationship table in step 111 is combined with Figure 4 The steps shown are explained below.

[0059] Step 1111 , pre-set multiple parameter sets, wherein the value of at least one parameter in the multiple parameter sets is different.

[0060] It should be noted that, for an image sensor, the CDS frequency is an internal characteristic of the image sensor, and this frequency is only related to the synchronization signal, image acquisition mode, and frame rate output by the image sensor, that is, the CDS frequency is fixed when the synchronization signal, image acquisition mode, and frame rate output by the image sensor are set. Therefore, the embodiment of the present application pre-sets multiple sets of parameter sets.

[0061] In an embodiment of the present application, multiple parameter sets can be obtained by adjusting the level value of the synchronization signal in the image sensor, the image acquisition mode, and one or more parameters in the frame rate, that is, the parameter values ​​corresponding to at least one of the three parameters in the synchronization signal, image acquisition mode, and frame rate in the multiple parameter sets are different. Exemplarily, referring to Table 1, Table 1 shows multiple parameter sets. It should be noted that the level value of the synchronization signal in Table 1 is 1 for high level, 0 for low level, 1 in the image acquisition mode represents the photo mode, and 2 represents the preview mode.

[0062]

[0063]

[0064] Table 1

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

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

[0067] Therefore, in an embodiment of the present application, a current acquisition circuit is provided between the image sensor and the PMIC in the charging control device, 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 having a preset resistance value. Step 1112 detects a current signal in the current acquisition circuit disposed between the image sensor and the PMIC for the image sensor configured with each parameter set, including: obtaining a voltage signal of the resistor within a target time period; and obtaining a current signal of the resistor within the target time period based on the voltage signal and the preset resistance value.

[0069] In the embodiment of the present application, the resistance value of the resistor in the current acquisition circuit may be a preset resistance value. Exemplarily, the preset resistance value may be 0.05 ohms.

[0070] In one possible scenario, refer to Figure 5 As shown, Figure 5 : is a circuit diagram of a current acquisition circuit. A current acquisition circuit 53 is arranged between the image sensor 51 and the 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 in 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 in 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 the embodiment of the present application, 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 transformation, the CDS frequency of the image sensor under each parameter set of the image sensor can be obtained, thereby obtaining the CDS frequency of the image sensor corresponding to all parameter sets. Figure 6 As shown, Figure 6 The CDS frequency curves of the fitted image sensor when the image sensor is configured 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, a mapping relationship table among the synchronization signal, the image acquisition mode, the frame rate and the CDS frequency is established.

[0074] In the embodiment 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, image acquisition mode, frame rate and CDS frequency is established for each parameter set and the CDS frequency of the image sensor configured with each parameter set, as shown in Table 2, which shows a mapping relationship table between the synchronization signal, image acquisition mode, frame rate and CDS frequency. As can be seen from Table 2, changes in any of the parameters of the synchronization signal, image acquisition mode and frame rate output by the image sensor will cause the CDS frequency to change. In this way, the embodiment of the present application can obtain the CDS frequency corresponding to the image sensors with different configurations in real time by establishing a mapping relationship table between the synchronization signal, image acquisition mode, frame rate and CDS frequency. At the same time, the CDS frequency of the image sensor matching it is statistically calculated through the level values, image acquisition modes and frame rates corresponding to different synchronization signals, thereby improving the control efficiency and accuracy of the charging control device.

[0075] time The level 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 target configuration parameters of the power management integrated circuit PMIC based on the target CDS frequency can be implemented in combination with the following steps:

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

[0079] In an embodiment of the present application, the PMIC includes multiple registers, and the charging control device selects a target register corresponding to the target CDS frequency from the multiple registers, and adjusts the power supply noise frequency curve corresponding to the target CDS frequency through the target register, so that the power supply rejection ratio corresponding to the target CDS frequency in the power supply noise frequency curve is the power supply rejection ratio peak in the power supply noise frequency curve, ensuring that the power supply rejection ratio of the PMIC is maximized when the PMIC supplies power to the image sensor based on the power supply noise frequency curve corresponding to the target CDS frequency, thereby meeting the image sensor's requirements for power quality with high performance and ensuring the image sensor's output quality.

[0080] In some embodiments, step 103 controls the PMIC to supply power to the image sensor based on the target configuration parameters, including: controlling the PMIC to supply power to the image sensor based on the power supply noise frequency curve corresponding to the target CDS frequency, thereby ensuring that the power supply rejection ratio of the PMIC is maximized; in this way, the image sensor's requirements for power quality are met with high performance, thereby ensuring the image sensor's output quality.

[0081] Reference Figure 7 , Figure 7 The flow chart of the charging control method provided in the embodiment of the present application can be applied to the charging control device. Figure 7 As shown, the charging control method can be implemented by the following steps:

[0082] Step 201: Obtain 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: searching a pre-established mapping relationship table for a target CDS frequency of the image sensor corresponding to the first parameter set, wherein the mapping relationship table includes a mapping relationship between a synchronization signal, an image acquisition mode, a frame rate, and a CDS frequency;

[0084] Step 203: determining target configuration parameters 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 a power supply rejection ratio of the PMIC that supplies power to the image sensor based on the target configuration parameters is greater than a power supply rejection ratio of the PMIC that supplies power to the image sensor based on other configuration parameters;

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

[0086] Step 205: Search the mapping relationship table for the 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 a power supply rejection ratio of the PMIC that powers the image sensor based on the adjusted target configuration parameter is greater than a power supply rejection ratio of the PMIC that powers the image sensor based on other configuration parameters;

[0088] Step 207: Control the PMIC to supply power to the image sensor based on the adjusted target configuration parameters.

[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; secondly, the charging control device searches for 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 parameters 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 parameters. At this time, the charging control device adjusts at least one parameter in the first parameter set of the image sensor to obtain the second parameter set; searches for the adjusted target CDS frequency corresponding to the second parameter set in the mapping relationship table, and determines the adjusted target configuration parameters of the PMIC based on the adjusted target CDS frequency; and controls the PMIC to supply power to the image sensor based on the adjusted target configuration parameters.

[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 parameters of the PMIC corresponding to the current CDS frequency, the PMIC is controlled to supply power to the image sensor based on the current configuration parameters, so as to ensure that the power supply rejection ratio of the PMIC is maximized, thereby meeting the image sensor's requirements for power quality with high performance, and ensuring the image sensor's image quality. In this way, the power supply output characteristics are adjusted in full accordance with the CDS frequency characteristics of the image sensor, and the power supply matching quality is improved; the CDS frequency is counted through the synchronization signal, image acquisition mode and frame rate output by the image sensor, and the mapping relationship between the synchronization signal, image acquisition mode, frame rate and CDS frequency output by the image sensor is established, thereby improving the efficiency and accuracy of system control; a database is established through actual measurement, and a relationship network is established between the CDS frequency characteristics of the image sensor and the PMIC characteristics, thereby greatly improving the response speed.

[0091] The charging control method provided in the embodiment of the present application is described in detail below in combination with specific application scenarios.

[0092] Currently, the power quality of mobile phone cameras is an important guarantee for camera images. Different image sensors have different power frequency suppression ratios. If a fixed frequency bandwidth design is used, it will not only be costly but may not meet the power requirements of new image sensors.

[0093] In view of the above problems, the present application embodiment proposes a set of PMIC power supply and image sensor dynamic adjustment matching solutions, referring to Figure 8 As shown, Figure 8 A structural block diagram of the PMIC power supply and image sensor dynamic adjustment matching solution provided in an embodiment of the present application.

[0094] Among them, in this solution, it mainly includes two parts: a CDS signal collection module 81 and a performance optimization module 82.

[0095] Reference Figure 8 As shown, the CDS signal collection module 81 mainly performs CDS signal modeling 814 through the synchronization signal (vsys) 811, image acquisition mode (setting) 812 and frame rate 813 output by the image sensor, obtains the CDS frequency of the image sensor, and then outputs a CDS vector L1815 composed of the 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 and frame rate of the image sensor, providing support for subsequent performance optimization, that is, the frequency power supply rejection ratio setting of the PMIC.

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

[0097] Here, when performing CDS signal modeling, a current acquisition circuit is set between the image sensor and the PMIC, the vsys, setting, and frame rate of the image sensor are set, and the current signal in the current acquisition circuit is collected to determine the CDS frequency corresponding to different vsys, setting, and frame rates. Figure 5 As shown in the figure, for image sensors configured with different vsys, settings and frame rates, a high-precision current acquisition circuit including a 0.05 ohm resistor is added between the image sensor and the PMIC power supply. By acquiring the voltages VN and VP across the resistor R and using I = (VN-VP) / R, the current signal in the output image sensor can be detected in real time. By analyzing the waveform of the current signal and after Fourier transformation, 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. This frequency is only related to the vsys, setting, and frame rate of the sensor. That is, if vsys, setting, and frame rate are set, the CDS frequency of the image sensor is fixed. Compared with other parameters, the CDS frequency must be obtained through hardware testing, and cannot be obtained in real time like the vsys, setting, and frame rate of the sensor. Therefore, the three parameters of the sensor, vsys, setting, and frame rate determine the CDS frequency, and this scheme fits the CDS vector through this parameter. The correlation diagram is shown in Figure 6. The change curve of the sensor's vsys, setting, and frame rate is measured through these three parameters to collect the current signal, confirm the CDS frequency, and fit the CDS curve. Of course, the sensor's vsys, setting, frame rate, and the corresponding image sensor's CDS frequency can also be stored in a data list. Referring to Table 2, it can be seen that any change in the sensor's vsys, setting, and frame rate will cause the CDS frequency to change. The CDS signal collection of this solution is to establish a CDS vector database (corresponding to the above-mentioned mapping relationship table) for all combinations of VSYS, setting, and frame rate, that is, the CDS vector includes vsys, setting, frame rate, and CDS frequency. Setting and frame rate are sent down in real time by the processor in the charging control device, and VSYS can be obtained in real time through the sensor synchronization signal. In this way, using the established CDS vector database, the CDS frequency can be obtained in real time by data search.

[0099] Continue to refer to Figure 8 As shown, 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 this solution, after determining the CDS frequency of the image sensor through the three parameters of vsys, setting, and 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 are adjusted through the register corresponding to the CDS frequency inside the PMIC, that is, the logic circuit inside the PMIC is controlled through the register setting corresponding to the CDS frequency, that is, the internal circuit filtering capability is set, so that the peak area in the power supply noise frequency curve of the PMIC is moved to the frequency point corresponding to the CDS frequency, so as to achieve the effect of enhancing the power supply rejection ratio PSRR of the sensitive frequency band 823 and reducing other frequency points, thereby improving the power supply rejection capability of the CDS frequency. Exemplarily, referring to Figure 2As shown, when the CDS frequency is 400KHZ, the register setting of S1 is adopted; when the CDS frequency is 500KHZ, 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 expanded 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 the address information of the register, so as to realize dynamic adjustment and further realize performance optimization.

[0100] From the above, it can be seen that the embodiment of the present application fully adjusts the power supply output characteristics according to the sensor characteristics, thereby improving the power supply matching quality; for the first time, the vsys, setting, and frame rate statistics of the image sensor CDS frequency solution are introduced to improve the efficiency and accuracy of system control; a vector database is established through actual measurement, and a relationship network is established between the sensor characteristics and the PMIC characteristics, thereby greatly improving the response speed.

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

[0102] Image sensor 901, used to determine the target correlated double sampling CDS frequency of the image sensor;

[0103] PMIC902 is used to determine the target configuration parameters based on the target CDS frequency, and to supply power to the image sensor based on the target configuration parameters; wherein the power supply rejection ratio of the PMIC that supplies power to the image sensor based on the target configuration parameters is greater than the power supply rejection ratio of the PMIC that supplies power to the image sensor based on other configuration parameters.

[0104] In some embodiments, the image sensor 901 is also used 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; in a pre-established mapping relationship table, searching for a target CDS frequency corresponding to the first parameter set, wherein the mapping relationship table includes a 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 also includes a current acquisition circuit arranged between the image sensor and the PMIC, and the image sensor 901 is also used to pre-set multiple groups of parameter sets, wherein there is a different value of at least one parameter in the multiple groups of parameter sets; for the image sensor configured with each parameter set, the current acquisition circuit is used to collect the current signal; the image sensor 901 is also used to analyze and process the current signal to obtain the CDS frequency of the image sensor configured with each parameter set; for each parameter set and the CDS frequency of the image sensor configured with each parameter set, a mapping relationship table between the synchronization signal, image acquisition mode, frame rate and CDS frequency is established.

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

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

[0108] In some embodiments, PMIC902 is further used to determine a target register corresponding to a 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 parameters include a 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 a power supply noise frequency curve corresponding to the target CDS frequency.

[0110] The present application embodiment provides a computer device, Fig.10 A schematic diagram of the structure of an optional computer device provided in an embodiment of the present application, such as Fig.10 As shown, the embodiment of the present application provides a computer device 10, including: a memory 1001, a processor 1002, and a computer program stored in the memory 1001 and executable on the processor 1002, when the processor executes the computer program, Figure 1 , Figure 3 Figure 4and Figure 7 The charging control method.

[0111] The processor of the embodiment of the present application may be an integrated circuit chip with signal processing capabilities. In the implementation process, each step of the above method embodiment can be completed by the hardware integrated logic circuit or software instructions in the processor. The above processor may include any one or more of the following integrations: general-purpose processor, application-specific integrated circuit (Application Specific Integrated Circuit, ASIC), digital signal processor (Digital Signal Processor, DSP), digital signal processing device (Digital Signal Processing Device, DSPD), programmable logic device (Programmable Logic Device, PLD), field programmable gate array (Field Programmable Gate Array, FPGA), central processing unit (Central Processing Unit, CPU), graphics processing unit (Graphics Processing Unit, GPU), embedded neural network processor (neural-network processing units, NPU), controller, microcontroller, microprocessor, programmable logic device, discrete gate or transistor logic device, discrete hardware component. The disclosed methods, steps and logic block diagrams in the embodiment 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, etc. The steps of the method disclosed in the embodiments of the present application can be directly embodied as being executed by a hardware decoding processor, or can be executed by a combination of hardware and software modules in the decoding processor. The software module can be located in a storage medium mature in the art such as a random access memory, a flash memory, a read-only memory, a programmable read-only memory, or an electrically erasable programmable memory, a register, etc. The storage medium is located in a memory, and the processor reads the information in the memory and completes the steps of the above method in combination with its hardware.

[0112] It is understood that the memory or computer storage medium in the embodiments of the present application may be a volatile memory or a non-volatile memory, or may include both volatile and non-volatile memories. Among them, the non-volatile memory may be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), or a flash memory. The volatile memory may be a random access memory (RAM), which is used as an external cache. By way of example and not limitation, many forms of RAM are available, such as static random access memory (SRAM), dynamic random access memory (DRAM), synchronous dynamic random access memory (SDRAM), double data rate synchronous dynamic random access memory (DDR SDRAM), enhanced synchronous dynamic random access memory (ESDRAM), synchronous link dynamic random access memory (SLDRAM), and direct memory bus random access memory (DR RAM). It should be noted that the memory of the systems and methods described herein is intended to include, but is not limited to, these and any other suitable types of memory.

[0113] It should be understood that the above-mentioned memory or computer storage medium is exemplary but not restrictive. For example, the memory in the embodiments of the present application may also be static random access memory (static RAM, SRAM), dynamic random access memory (dynamic RAM, DRAM), synchronous dynamic random access memory (synchronous DRAM, SDRAM), double data rate synchronous dynamic random access memory (double data rate SDRAM, DDR SDRAM), enhanced synchronous dynamic random access memory (enhanced SDRAM, ESDRAM), synchronous link dynamic random access memory (synch linkDRAM, SLDRAM) and direct memory bus random access memory (Direct Rambus RAM, DR RAM), etc. That is to say, the memory in the embodiments of the present application is intended to include but not 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, on which computer instructions are stored, and 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 of the embodiment of the present application.

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

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

[0117] In addition, all functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may be separately configured as a unit, or at least two units may be integrated into one unit; the above-mentioned integrated units may be implemented in the form of hardware or in the form of hardware plus software functional units.

[0118] A person of ordinary skill in the art can understand that: all or part of the steps of implementing the above-mentioned method embodiment can be completed by hardware related to program instructions, and the aforementioned program can be stored in a computer-readable storage medium, which, when executed, executes the steps of the above-mentioned method embodiment; and the aforementioned storage medium includes: various media that can store program codes, such as mobile storage devices, ROM, RAM, disks or optical disks.

[0119] Alternatively, if the above-mentioned integrated unit of the present application is implemented in the form of a software function module and sold or used as an independent product, it can also be stored in a computer-readable storage medium. Based on such an understanding, the technical solution of the embodiment of the present application can be essentially or partly embodied in the form of a software product that contributes to the prior art. The computer software product is stored in a storage medium, including several instructions to enable 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 each embodiment of the present application. The aforementioned storage medium includes: various media that can store program codes, such as mobile storage devices, ROM, RAM, magnetic disks or optical disks.

[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 only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art who is familiar with the present technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.

Claims

1. A charging control method, characterized in that: The method comprises: Determine the target correlated double sampling (CDS) frequency of the image sensor; Determining target configuration parameters of a power management integrated circuit PMIC based on the target CDS frequency; the PMIC is used to supply power to the image sensor; wherein a power supply rejection ratio of the PMIC that supplies power to the image sensor based on the target configuration parameters is greater than a power supply rejection ratio of the PMIC that supplies 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 parameters.

2. The method according to claim 1, characterized in that: The determining of the correlated double sampling (CDS) frequency of the image sensor comprises: Obtaining 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; The target CDS frequency corresponding to the first parameter set is searched in a pre-established mapping relationship table, wherein the mapping relationship table includes a mapping relationship between a synchronization signal, an image acquisition mode, a frame rate and a CDS frequency.

3. The method according to claim 2, characterized in that Before searching the target CDS frequency corresponding to the first parameter set in the pre-established mapping relationship table, the method includes: Presetting a plurality of parameter sets, wherein at least one parameter in the plurality of parameter sets has a different value; For an image sensor configured with each parameter set, detecting a current signal in a current acquisition circuit disposed between the image sensor and the PMIC; Analyzing and processing the current signal to obtain a CDS frequency of the image sensor configured with each parameter set; For each parameter set and the CDS frequency of the image sensor configured with each parameter set, the mapping relationship table among the synchronization signal, the image acquisition mode, the frame rate and the CDS frequency is established.

4. The method according to claim 3, characterized in that The current acquisition circuit includes a resistor having a preset resistance value, and the detecting a current signal in the current acquisition circuit disposed between the image sensor and the PMIC for the image sensor configured with each parameter set includes: Obtaining a voltage signal of the resistor within a target time period; Based on the voltage signal and the preset resistance value, a current signal of the resistor within the target time period is obtained.

5. The method according to claim 2, characterized in that: The method also includes: Adjusting at least one parameter in the first parameter set to obtain a second parameter set; In the mapping relationship table, searching for the adjusted target CDS frequency corresponding to the second parameter set; Determining an adjusted target configuration parameter of the PMIC based on the adjusted target CDS frequency; wherein a power supply rejection ratio of the PMIC that powers the image sensor based on the adjusted target configuration parameter is greater than a power supply rejection ratio of the PMIC that powers the image sensor based on other configuration parameters; The PMIC is controlled to supply power to the image sensor based on the adjusted target configuration parameter.

6. The method according to claims 1 to 5, characterized in that The step of determining target configuration parameters of a power management integrated circuit PMIC based on the target CDS frequency includes: Determining a target register corresponding to the target CDS frequency from a plurality of registers included in the PMIC; The power supply noise frequency curve corresponding to the target CDS frequency is adjusted through the target register, wherein the target configuration parameter includes the power supply noise frequency curve corresponding to the target CDS frequency.

7. The method according to claim 6, characterized in that The controlling the PMIC to supply power to the image sensor based on the target configuration parameter includes: The PMIC is controlled to supply power to the image sensor based on a power supply noise frequency curve corresponding to the target CDS frequency.

8. A charging control device, characterized in that: The device comprises: An image sensor, for determining a target correlated double sampling (CDS) frequency of the image sensor; A PMIC is used 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 that supplies power to the image sensor based on the target configuration parameter is greater than a power supply rejection ratio of the PMIC that supplies power to the image sensor based on other configuration parameters.

9. A computer device, characterized in that: The method comprises a processor and a memory, wherein the memory is used to store a computer program, and the processor is used to call and run the computer program stored in the memory to execute the method according to any one of claims 1 to 7.

10. A computer-readable storage medium, characterized in that: Used to store a computer program, wherein the computer program causes a computer to execute the method according to 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

  • Pixel and image sensor including same

    CN115580785A