Charge pump automatic generation method and device, storage medium and electronic equipment

By using a method to automatically generate charge pumps, and by leveraging template libraries and parameterization techniques, the problems of long design time and high cost in traditional charge pump design are solved, and efficient charge pump generation is achieved.

CN121389936APending Publication Date: 2026-01-23PRIMARIUS TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202511545222.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-10-28
Publication Date
2026-01-23

AI Technical Summary

Technical Problem

Traditional charge pump design processes are time-consuming and costly, relying on manual design and experience accumulation, resulting in low production efficiency.

Method used

By obtaining design parameters, determining the target number of stages, calling and parameterizing the single-stage pump template in the template library, generating the main circuit, selecting matching peripheral circuit templates and parameterizing them, and finally merging them according to the interface specifications to generate the charge pump.

Benefits of technology

It enables automatic generation of charge pumps without human intervention, thus improving generation efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121389936A_ABST
    Figure CN121389936A_ABST
Patent Text Reader

Abstract

The invention discloses a charge pump automatic generation method and device, a storage medium and electronic equipment, and the method comprises the steps: obtaining design parameters which comprise an input voltage, a target output voltage, a target load capacitor and a target load current; determining the target series of the charge pump to be generated according to the design parameters; calling a single-stage pump template from a template library based on the target stage number, and parameterizing the single-stage pump template according to the design parameters to generate a main circuit; selecting a peripheral circuit template matched with the design parameters from a template library, and parameterizing the peripheral circuit template according to the design parameters to generate a peripheral circuit; and combining the main body circuit and the peripheral circuit according to an interface specification to generate the charge pump. The embodiment of the invention can improve the generation efficiency of the charge pump.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] Embodiments of the present application relate to the technical field of integrated circuits, and particularly relate to a charge pump automatic generation method and device, a storage medium and an electronic device. BACKGROUND

[0002] With the continuous development of electronic technology, as an important voltage conversion circuit, charge pumps are widely used in various integrated circuits (ICs). Charge pumps can effectively convert input voltage into the required output voltage, and have the advantages of small size, high efficiency, high integration, etc., and are widely used in memory, battery-powered devices, communication systems, etc. In particular, in modern memory and portable electronic devices, charge pumps are used to provide the required boost or buck power supply to support high performance.

[0003] The traditional charge pump design process usually requires the designer to select the appropriate charge pump structure according to the specific application requirements and perform detailed circuit design, which is time-consuming and results in low efficiency of generating charge pumps. SUMMARY

[0004] Embodiments of the present application provide a charge pump automatic generation method and device, a storage medium and an electronic device, which can improve the generation efficiency of charge pumps.

[0005] In a first aspect, embodiments of the present application provide a charge pump automatic generation method, comprising: obtaining design parameters, the design parameters including input voltage, target output voltage, target load capacitance and target load current; determining the target number of stages of the charge pump to be generated according to the design parameters; calling a single-stage pump template from a template library based on the target number of stages, and parameterizing the single-stage pump template according to the design parameters to generate a main circuit; selecting a peripheral circuit template matching the design parameters from the template library, and parameterizing the peripheral circuit template according to the design parameters to generate a peripheral circuit; merging the main circuit and the peripheral circuit according to an interface specification to generate a charge pump.

[0006] In the charge pump automatic generation method provided by the embodiments of the present application, the target number of stages of the charge pump to be generated is determined according to the design parameters, comprising: calculating an initial number of stages according to the ratio of the target output voltage to the input voltage; correcting the initial number of stages using a transmission efficiency model or a table lookup correction result to obtain the target number of stages.

[0007] In the charge pump automatic generation method provided in the embodiments of the present application, the single-stage pump template is called from the template library based on the target stage number, and the single-stage pump template is parameterized according to the design parameters to generate a main circuit, including: determining the number of single-stage pump templates to be called according to the target stage number; sequentially calling corresponding single-stage pump templates from the template library according to the number; parameterizing the single-stage pump templates according to the design parameters to generate a main circuit.

[0008] In the charge pump automatic generation method provided in the embodiments of the present application, the single-stage pump template is called from the template library based on the target stage number, and the single-stage pump template is parameterized according to the design parameters to generate a main circuit, including: adjusting device parameters in each of the single-stage pump templates according to the design parameters; establishing a cross-stage electrical connection relationship between the adjusted single-stage pump templates to generate a main circuit.

[0009] In the charge pump automatic generation method provided in the embodiments of the present application, the single-stage pump template is called from the template library based on the target stage number, and the single-stage pump template is parameterized according to the design parameters to generate a main circuit, including: calculating and setting size parameters of switch devices in each of the single-stage pump templates according to the target load current and the target output voltage; determining the number and capacity specifications of capacitor units in each of the single-stage pump templates based on the target load current and the target output voltage.

[0010] In the charge pump automatic generation method provided in the embodiments of the present application, the peripheral circuit template includes a selection bandgap reference module, a comparator module, a voltage divider module, a clock generation module, an output buffer module, and a load capacitor unit.

[0011] In the charge pump automatic generation method provided in the embodiments of the present application, the single-stage pump template is called from the template library based on the target stage number, and the single-stage pump template is parameterized according to the design parameters to generate a main circuit, including: parameterizing and configuring the reference voltage output of the bandgap reference module, the threshold voltage of the comparator module, the voltage division ratio of the voltage divider module, and the working frequency of the clock generation module according to the design parameters; calculating and instantiating the required number of load capacitor units based on the target load capacitor to combine to form the target load capacitor.

[0012] In a second aspect, the embodiments of the present application provide a charge pump automatic generation device, including: An acquisition unit is configured to acquire design parameters, including an input voltage, a target output voltage, a target load capacitor, and a target load current. determining unit configured to determine a target number of stages of a charge pump to be generated according to the design parameters; a calling unit configured to call a single-stage pump template from a template library based on the target number of stages, and parameterize the single-stage pump template according to the design parameters to generate a main circuit; a selecting unit configured to select a peripheral circuit template matching the design parameters from the template library, and parameterize the peripheral circuit template according to the design parameters to generate a peripheral circuit; a merging unit configured to merge the main circuit and the peripheral circuit according to an interface specification to generate the charge pump.

[0013] In a third aspect, a storage medium is provided, which stores a plurality of instructions adapted to be loaded by a processor to execute the charge pump automatic generation method according to any one of the preceding aspects.

[0014] In a fourth aspect, an electronic device is provided, which includes a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the charge pump automatic generation method according to any one of the preceding aspects when executing the computer program.

[0015] To sum up, the charge pump automatic generation method provided by the embodiments of the present application includes obtaining design parameters, the design parameters including an input voltage, a target output voltage, a target load capacitance, and a target load current; determining a target number of stages of a charge pump to be generated according to the design parameters; calling a single-stage pump template from a template library based on the target number of stages, and parameterizing the single-stage pump template according to the design parameters to generate a main circuit; selecting a peripheral circuit template matching the design parameters from the template library, and parameterizing the peripheral circuit template according to the design parameters to generate a peripheral circuit; and merging the main circuit and the peripheral circuit according to an interface specification to generate the charge pump. The embodiments of the present application can automatically generate a main circuit and a peripheral circuit according to design parameters, and merge the main circuit and the peripheral circuit into a charge pump, without the involvement of workers, thereby improving the generation efficiency of the charge pump. BRIEF DESCRIPTION OF DRAWINGS

[0016] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed in the embodiment description will be briefly introduced. Obviously, the drawings in the following description are only some embodiments of the present application, and other drawings can be obtained by those skilled in the art without creative effort.

[0017] Figure 1 is an application scenario diagram of the charge pump automatic generation method provided by the embodiments of the present application.

[0018] Figure 2 FIG. 1 is a flow diagram of a method for automatically generating a charge pump according to an embodiment of the present application.

[0019] Figure 3 FIG. 2 is a block diagram of an apparatus for automatically generating a charge pump according to an embodiment of the present application.

[0020] Figure 4 FIG. 3 is a block diagram of an electronic device according to an embodiment of the present application. DETAILED DESCRIPTION

[0021] The exemplary embodiments will now be described in detail with reference to the accompanying drawings. The following description is made with reference to the accompanying drawings, in which like reference numerals in different drawings designate identical or similar elements. The following exemplary embodiments are described in order to explain the present application more completely. Therefore, the present application is not limited to the exemplary embodiments. Rather, the exemplary embodiments are provided to more completely explain the present application, as set forth in the appended claims.

[0022] It is to be understood that the terms "including", "comprising", "consisting" and their conjugates, as used herein, are meant to be inclusive and not exclusive. That is, the process, method, article, or apparatus that includes a series of elements is not limited to those elements but can include other elements not expressly listed or inherent to such process, method, article, or apparatus. Unless otherwise expressly stated, the use of "a" or "an" is not intended to be limiting of a claimed element to a single such element, but rather is intended to mean "one or more". It is further understood that the use of relational terms, if any, such as "first", "second", "third", and the like, are used solely to distinguish one from another entity or action without necessarily giving rise to order of importance or order of creation.

[0023] It is to be understood that the specific embodiments described herein are merely exemplary and do not limit the scope of the present application.

[0024] In the following description, the suffixes "module", "part" or "unit" used for components are merely intended for facilitating description of the specification, and are not intended to limit the application. Therefore, "module", "part" or "unit" can be mixedly used.

[0025] In the description of the present application, it should be noted that the terms "upper", "lower", "left", "right", "inner", "outer" and the like indicate the orientation or positional relationship shown in the drawings, and are only for the convenience of describing the present application and simplifying the description, and do not indicate or imply that the devices or elements referred to must have a particular orientation, be constructed and operated in a particular orientation, and therefore cannot be understood as limiting the present application. In addition, the terms "first", "second" and the like are only for descriptive purposes and cannot be understood as indicating or implying relative importance.

[0026] Currently, the design method of charge pumps mainly relies on manual design and experience accumulation. The traditional charge pump design process usually requires the designer to select a suitable charge pump structure according to the specific application requirements and perform detailed circuit design. This process not only takes a long time and is costly, but also requires a high level of professional experience for the designer.

[0027] Based on this, the embodiments of the present application provide a charge pump automatic generation method, device, storage medium and electronic equipment. Specifically, the charge pump automatic generation device can be integrated in an electronic equipment, which can be a server or a terminal and the like. The terminal can include a mobile phone, a wearable smart device, a tablet computer, a notebook computer, and a personal computer (PC) and the like. The server can be a single server or a server cluster composed of multiple servers, and can be a physical server or a virtual server.

[0028] For example, as shown in Figure 1 , the electronic equipment can obtain design parameters, including input voltage, target output voltage, target load capacitance and target load current; determine the target stage number of the charge pump to be generated according to the design parameters; call a single-stage pump template from a template library based on the target stage number, and parameterize the single-stage pump template according to the design parameters to generate a main circuit; select a peripheral circuit template matching the design parameters from the template library, and parameterize the peripheral circuit template according to the design parameters to generate a peripheral circuit; and merge the main circuit and the peripheral circuit according to the interface specification to generate the charge pump.

[0029] The technical solutions shown in the present application will be described in detail below through specific embodiments. It should be noted that the description order of the following embodiments is not limited as the priority order of the embodiments.

[0030] Please refer to Figure 2 , Figure 2 is a flowchart of the charge pump automatic generation method provided by the embodiments of the present application. The specific process of the charge pump automatic generation method can be as follows: 101. Obtain design parameters, including input voltage, target output voltage, target load capacitance, and target load current.

[0031] In this embodiment, the design parameters can be input according to the user's requirements, or automatically generated by the superior system or design tool. The design parameters include but are not limited to input voltage (V in ), target output voltage (V out ), target load capacitance (C load ), and target load current (I load ).

[0032] Among them, the input voltage refers to the voltage provided by the input end of the charge pump. Depending on the application, the value of the input voltage may vary. In memory applications, the input voltage is determined by the power supply voltage of the overall memory system, such as the commonly used 3.3V, 5V or other voltages.

[0033] Among them, the target output voltage is the voltage required to be provided by the output end of the charge pump. The target output voltage is usually determined according to the operating voltage of the used memory cell or load device. For example, a Flash memory cell usually requires 10V for erasing and writing, so the target output voltage can be 10V.

[0034] Among them, the target load capacitance refers to the load capacitance connected to the output end of the charge pump. The size of the target load capacitance usually depends on the characteristics of the load device, the working frequency and the dynamic response requirements of the circuit. By calculating the target load capacitance, the output stability of the charge pump can be optimized.

[0035] Among them, the target load current refers to the maximum current load that the output end of the charge pump can withstand. The target load current is crucial to the design of the charge pump and directly affects the current driving capability and efficiency of the charge pump. The designer can calculate the required switch device size and current transmission capability of the charge pump according to the target load current requirement.

[0036] 102. Determine the target number of stages of the charge pump to be generated according to the design parameters.

[0037] Among them, the target number of stages of the charge pump refers to the number of single-stage pumps that need to be connected in series in the charge pump in order to achieve the target output voltage. Each single-stage pump usually includes switch devices and capacitor units, which are used to complete charge transfer under the control of the clock signal. The output voltage of the single-stage pump is usually close to the input voltage, but will be affected by non-ideal factors such as switch device on-resistance and capacitor parasitic effects, resulting in actual voltage increase slightly lower than the theoretical value.

[0038] For example, in an ideal case, if the input voltage is 1.2V and the target output voltage is 3.6V, theoretically 3 single-stage pumps (each stage increases about 1.2V) are required, so the target number of stages Nstage =3. But in actual design, the target number of stages may need to be modified based on the theory to compensate for the loss and improve the output capability.

[0039] Specifically, the initial number of stages can be calculated according to the ratio of the target output voltage to the input voltage; the initial number of stages is corrected by using a transmission efficiency model or a lookup table correction result to obtain the target number of stages. When the transmission efficiency is low or the load is large, the number of stages can be automatically increased to ensure the output stability; when the input voltage is high or the load is light, the number of stages can be reduced accordingly to reduce power consumption and area overhead.

[0040] wherein the initial number of stages N init is calculated as follows: N init = Vin / Vout . Wherein V out is the target output voltage, V in is the input voltage, · represents the upward rounding operation.

[0041] wherein the transmission efficiency model is used to describe the energy transfer efficiency of the charge pump under different number of stages and different load conditions. The transmission efficiency model takes into account the on-resistance of the switching device, the capacitance charging and discharging loss, the parasitic capacitance influence and the clock frequency, etc. It can be established by circuit simulation or empirical formula.

[0042] For an ideal multi-stage charge pump, the relationship between the target output voltage and the input voltage can be expressed as: V out =N stage ×V in ×η(N stage , I load ). Wherein η(N stage , I load ) is the transmission efficiency function, reflecting the voltage loss ratio under different number of stages and load current conditions. When the actual output voltage calculated by the transmission efficiency model is lower than the target output voltage, the number of stages can be automatically increased; otherwise, the number of stages can be reduced to optimize the area and power consumption.

[0043] wherein the lookup table correction result refers to an empirical correction table established based on historical design data or simulation results in actual chip design or testing. When the input target output voltage, input voltage, target load current and other parameters are input, the recommended stage correction value can be quickly obtained by looking up the table.

[0044] For example, when the target output voltage is high (such as >5 V) or the load current is large, the lookup table result can indicate that the number of stages is increased by 1 to 2 stages; when the target output voltage is low or the load is light, the lookup table result can indicate that the number of stages is reduced by 1 to improve efficiency.

[0045] The table lookup correction can avoid complex real-time simulation calculation, and improve the speed and stability of the automatic generation process of the charge pump.

[0046] 103、Based on the target number of stages, a single-stage pump template is called from the template library, and the single-stage pump template is parameterized according to the design parameters to generate the main circuit.

[0047] Specifically, the number of single-stage pump templates to be called can be determined according to the target number of stages; then the corresponding single-stage pump templates are sequentially called from the template library according to the number; and finally, the single-stage pump templates are parameterized according to the design parameters to generate the main circuit.

[0048] In the embodiments of the present application, the template library contains a series of standardized single-stage pump templates and peripheral circuit templates. Each template defines a specific circuit structure, component configuration and parameter setting, which is called, customized and combined by the design system according to the requirements. The role of the template library is to accelerate the design process of the charge pump and ensure that the generated circuit meets the design specifications and performance requirements.

[0049] Each single-stage pump template defines a complete charge pump unit, including switching devices, energy storage capacitors, circuit connections and timing control, etc. The single-stage pump template is usually designed as a parameterizable structure, allowing the internal device parameters to be adjusted according to the design parameters.

[0050] The peripheral circuit template can include a selection bandgap reference module, a comparator module, a voltage divider module, a clock generation module, an output buffer module, and a load capacitor unit, etc. These peripheral modules are used to provide reference voltages, clock signals, load matching and other functions required by the charge pump. Each peripheral circuit template can also be parameterized according to the design parameters.

[0051] In some embodiments, the step of "parameterizing the single-stage pump template according to the design parameters to generate the main circuit" can specifically be adjusting the device parameters in each single-stage pump template according to the design parameters; establishing a cross-stage electrical connection relationship between the adjusted single-stage pump templates to generate the main circuit.

[0052] The adjustment of the device parameters can include adjustment of the switching device parameters, adjustment of the capacitor unit parameters, adjustment of the clock frequency parameters, and adjustment of the circuit layout, etc.

[0053] The adjustment of the switching device parameters can specifically be calculating and setting the size parameters of the switching devices in each single-stage pump template according to the target load current and the target output voltage.

[0054] In some embodiments, the size parameters of the switching devices can be calculated according to the following formula:

[0055] where W / L is the width-to-length ratio of the switching device, μ n is the electron mobility, V gs is the gate-source voltage; V th is the threshold voltage of the device.

[0056] In this embodiment, the size parameters of the switching device are dynamically adjusted according to the load current, output voltage, and material characteristics, which can ensure that it has sufficient driving capability and efficiency under specified operating conditions.

[0057] In some embodiments, adjusting the parameters of the capacitor unit can specifically be determining the number and capacity specifications of the capacitor units within each single-stage pump template based on the target load current and the target output voltage.

[0058] where the capacitor unit is mainly used for storing and transferring charges. Given the target load current, the total capacity of the capacitor unit needs to be sufficient to support the current demand of the load. Generally, the larger the capacity of the capacitor unit, the more charges it can store, thereby providing more stable current output.

[0059] According to the target load current and the target output voltage, the required total capacity of the capacitor unit can be calculated by the following formula:

[0060] where C total is the required total capacity of the capacitor unit, t charget is the time for the charge pump to charge (usually related to the operating frequency), I load is the target load current, V out is the target output voltage.

[0061] The capacity of each capacitor unit determines the amount of charge that a single capacitor can store. Specifically, the number of capacitor units can be determined according to the total capacity of the capacitor unit and the capacity of each capacitor unit.

[0062] For example, assuming the capacity of each capacitor unit is C unit , the number of required capacitor units can be calculated by the following formula:

[0063] where N capacitor is the number of required capacitor units.

[0064] In addition, in actual design, the size of the capacitor unit, the parasitic effect and the influence of the equivalent series resistance (ESR) of the capacitor unit on the charge transfer efficiency also need to be considered. Therefore, in addition to the capacity, the ESR of the capacitor unit also needs to be ensured to meet the requirements of the charge pump design to avoid excessive power consumption and unstable output when selecting the specification of the capacitor unit.

[0065] The clock frequency of the single-stage pump template has an important influence on the efficiency of charge transfer and the stability of output voltage. The clock frequency of the single-stage pump template can be adjusted according to the design parameters. The clock frequency directly affects the working efficiency and output waveform of the single-stage pump template. High-frequency clock can usually improve the efficiency of the single-stage pump template, but may increase the switching loss, so it is necessary to select a suitable clock frequency according to the target load current and target load voltage.

[0066] In some embodiments, the layout of the single-stage pump template can also be fine-tuned according to the design parameters, such as adjusting the position and connection method of the device, to reduce parasitic inductance and capacitance, optimize signal transmission path and reduce noise.

[0067] The purpose of establishing the cross-stage electrical connection relationship is to connect the output end of the previous single-stage pump template to the input end of the next single-stage pump template, forming a continuous chain of charge transfer. The output voltage of each single-stage pump template will be transferred to the input end of the next single-stage pump template through the cross-stage connection, until the output end of the last single-stage pump template produces the required target output voltage. In this process, the connection between the single-stage pump templates must meet the electrical specifications to ensure accurate signal transmission and avoid reverse current or signal loss.

[0068] 104. Selecting a peripheral circuit template matching the design parameters from the template library and parameterizing the peripheral circuit template according to the design parameters to generate a peripheral circuit.

[0069] As can be seen from the above embodiments, the peripheral circuit template can include a bandgap reference module, a comparator module, a voltage divider module, a clock generation module, an output buffer module and a load capacitor unit, etc.

[0070] Among them, the bandgap reference module is used to provide a stable reference voltage, which is usually used to provide a reference voltage for the operation of the charge pump; the comparator module is used to detect the relationship between the output voltage and the reference voltage, and to control the opening and closing of the charge pump; the voltage divider module is used to divide the input voltage by a predetermined ratio, which is used to adjust the voltage output; the clock generation module is used to generate a clock signal to drive the switching action of the charge pump; the output buffer module is used to match the target output voltage and the target load current, and to improve the driving capability of the circuit; the load capacitor unit is used to match the target load capacitance.

[0071] In some embodiments, parameterizing the peripheral circuit template according to the design parameters can include: The reference voltage output of the bandgap reference module, the threshold voltage of the comparator module, the voltage division ratio of the voltage divider module, and the working frequency of the clock generation module are configured according to the design parameters. The required number of load capacitance units is calculated and instantiated based on the target load capacitance to be combined to form the target load capacitance.

[0072] It should be noted that during the construction of the peripheral circuit, it is necessary to ensure that the electrical interfaces between the modules are correctly connected and that they can work cooperatively. The specific connection mode between the modules can be referred to the prior art, which will not be described one by one here.

[0073] 105、According to the interface specification, the main circuit and the peripheral circuit are merged to generate a charge pump.

[0074] In some embodiments, the merging process can include interface matching, electrical connection, and verification steps.

[0075] Specifically, before merging the main circuit and the peripheral circuit, it is necessary to first check the interface parameters between the main circuit and the peripheral circuit to ensure that the electrical connection is correct and there is no conflict. After confirming that the interface parameters match, the main circuit and the peripheral circuit can be electrically connected according to the interface specification to form a complete charge pump circuit. After completing the electrical connection, the circuit can also be verified (such as circuit function verification, timing and signal integrity check, power and heat analysis, etc.) to ensure that the circuit functions normally and works stably.

[0076] After verification, a complete charge pump circuit netlist and layout file can be generated. These files include the connection relationship between the modules of the charge pump, component size, layout information, etc., for subsequent layout design, simulation verification, and chip implementation.

[0077] In summary, the charge pump automatic generation method provided by the embodiments of the present application includes obtaining design parameters, the design parameters including input voltage, target output voltage, target load capacitance, and target load current; determining the target stage number of the charge pump to be generated according to the design parameters; calling a single-stage pump template from a template library based on the target stage number, and parameterizing the single-stage pump template according to the design parameters to generate a main circuit; selecting a peripheral circuit template that matches the design parameters from the template library, and parameterizing the peripheral circuit template according to the design parameters to generate a peripheral circuit; and merging the main circuit and the peripheral circuit according to the interface specification to generate a charge pump. The embodiments of the present application can automatically generate a main circuit and a peripheral circuit according to design parameters, and merge the main circuit and the peripheral circuit into a charge pump without the need for human intervention, thereby improving the generation efficiency of the charge pump.

[0078] To facilitate better implementation of the charge pump automatic generation method provided in the embodiments of the present application, the embodiments of the present application further provide a charge pump automatic generation device. The meanings of the terms are the same as those in the charge pump automatic generation method described above, and the specific implementation details can be referred to the description of the method embodiments.

[0079] Please refer to Figure 3 , Figure 3 is a structural schematic diagram of the charge pump automatic generation device provided in the embodiments of the present application. The charge pump automatic generation device can include an acquisition unit 201, a determination unit 202, a calling unit 203, a selection unit 204 and a merging unit 205. Among them, The acquisition unit 201 is configured to acquire design parameters, the design parameters including an input voltage, a target output voltage, a target load capacitance and a target load current. The determination unit 202 is configured to determine a target stage number of a charge pump to be generated according to the design parameters. The calling unit 203 is configured to call a single-stage pump template from a template library based on the target stage number, and parameterize the single-stage pump template according to the design parameters, to generate a main circuit. The selection unit 204 is configured to select a peripheral circuit template matching the design parameters from the template library, and parameterize the peripheral circuit template according to the design parameters, to generate a peripheral circuit. The merging unit 205 is configured to merge the main circuit and the peripheral circuit according to an interface specification, to generate a charge pump.

[0080] The specific implementation of each unit can be referred to the embodiments of the charge pump automatic generation method described above, which will not be repeated here.

[0081] To sum up, the charge pump automatic generation device provided in the embodiments of the present application acquires design parameters through the acquisition unit 201, the design parameters including an input voltage, a target output voltage, a target load capacitance and a target load current; determines a target stage number of a charge pump to be generated according to the design parameters through the determination unit 202; calls a single-stage pump template from a template library based on the target stage number through the calling unit 203, and parameterizes the single-stage pump template according to the design parameters, to generate a main circuit; selects a peripheral circuit template matching the design parameters from the template library through the selection unit 204, and parameterizes the peripheral circuit template according to the design parameters, to generate a peripheral circuit; and merges the main circuit and the peripheral circuit according to an interface specification through the merging unit 205, to generate a charge pump. The embodiments of the present application can automatically generate a main circuit and a peripheral circuit according to design parameters, and merge the main circuit and the peripheral circuit into a charge pump, without the participation of workers, thereby improving the generation efficiency of the charge pump.

[0082] This application also provides an electronic device that may integrate the charge pump automatic generation device of this application, such as... Figure 4 As shown, it illustrates a structural schematic diagram of the electronic device involved in the embodiments of this application, specifically: The electronic device may include components such as a processor 301 with one or more processing cores and a memory 302 with one or more computer-readable storage media. Those skilled in the art will understand that... Figure 4 The electronic device structure shown does not constitute a limitation on the electronic device and may include more or fewer components than shown, or combine certain components, or have different component arrangements. Wherein: The processor 301 is the control center of the electronic device. It connects various parts of the electronic device via various interfaces and lines. By running or executing software programs stored in the memory 302 and / or this application, and by calling data stored in the memory 302, it performs various functions and processes data, thereby providing overall monitoring of the electronic device. Optionally, the processor 301 may include one or more processing cores; preferably, the processor 301 may integrate an application processor and a modem processor, wherein the application processor mainly handles the operation of the storage medium, user interface, and application programs, while the modem processor mainly handles wireless communication. It is understood that the modem processor may not be integrated into the processor 301.

[0083] The memory 302 can be used to store software programs and this application. The processor 301 executes various functional applications and data processing by running the software programs and this application stored in the memory 302. The memory 302 may mainly include a program storage area and a data storage area. The program storage area may store applications required for operating the storage medium and at least one function; the data storage area may store data created based on the use of the electronic device. In addition, the memory 302 may include high-speed random access memory and may also include non-volatile memory, such as at least one disk storage device, flash memory device, or other volatile solid-state storage device. Accordingly, the memory 302 may also include a memory controller to provide the processor 301 with access to the memory 302.

[0084] Although not shown, the electronic device may also include a display unit, an input unit, and a power supply, etc., which will not be described in detail here. Specifically, in this embodiment, the processor 301 in the electronic device loads the executable files corresponding to the processes of one or more application programs into the memory 302 according to the following instructions, and the processor 301 runs the application programs stored in the memory 302 to realize various functions, as follows: obtaining design parameters, the design parameters comprising an input voltage, a target output voltage, a target load capacitance, and a target load current; determining a target number of stages of the charge pump to be generated according to the design parameters; calling a single-stage pump template from a template library based on the target number of stages, and parameterizing the single-stage pump template according to the design parameters to generate a main circuit; selecting a peripheral circuit template matching the design parameters from the template library, and parameterizing the peripheral circuit template according to the design parameters to generate a peripheral circuit; merging the main circuit and the peripheral circuit according to an interface specification to generate the charge pump.

[0085] Those skilled in the art can understand that all or part of the steps in the various methods of the above embodiments can be completed by instructions, or by related hardware controlled by the instructions, which can be stored in a computer readable storage medium and loaded and executed by a processor.

[0086] To this end, an embodiment of the present application provides a storage medium having a plurality of instructions stored therein, which can be loaded by a processor to execute the steps in any of the methods provided by the embodiments of the present application. For example, the instructions can execute the following steps: obtaining design parameters, the design parameters comprising an input voltage, a target output voltage, a target load capacitance, and a target load current; determining a target number of stages of the charge pump to be generated according to the design parameters; calling a single-stage pump template from a template library based on the target number of stages, and parameterizing the single-stage pump template according to the design parameters to generate a main circuit; selecting a peripheral circuit template matching the design parameters from the template library, and parameterizing the peripheral circuit template according to the design parameters to generate a peripheral circuit; merging the main circuit and the peripheral circuit according to an interface specification to generate the charge pump.

[0087] The specific implementation of each of the above operations can be referred to the foregoing embodiments, which will not be described here.

[0088] The storage medium can include a Read Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, etc.

[0089] Since the instructions stored in the storage medium can execute the steps in any of the methods provided by the embodiments of the present application, the beneficial effects that can be achieved by any of the methods provided by the embodiments of the present application can be achieved, which will be described in detail in the foregoing embodiments, and will not be described here.

[0090] The charge pump automatic generation method, device, storage medium and electronic equipment provided by the present application are described in detail above, and the principles and implementation modes of the present application are described in this paper. The above example is only used to help understand the core idea of the present application; at the same time, for those skilled in the art, according to the idea of the present application, the specific implementation mode and application range will be changed, and the above description should not be understood as a limitation of the present application.

Claims

1. A method for automatically generating a charge pump, characterized in that, include: Obtain the design parameters, which include the input voltage, target output voltage, target load capacitance, and target load current; Determine the target number of stages for the charge pump to be generated based on the design parameters; Based on the target number of stages, a single-stage pump template is called from the template library, and the single-stage pump template is parameterized according to the design parameters to generate the main circuit. Select a peripheral circuit template that matches the design parameters from the template library, and parameterize the peripheral circuit template according to the design parameters to generate the peripheral circuit; The main circuit and the peripheral circuit are merged according to the interface specification to generate a charge pump.

2. The automatic charge pump generation method as described in claim 1, characterized in that, Determining the target number of stages of the charge pump to be generated based on the design parameters includes: The initial number of stages is calculated based on the ratio of the target output voltage to the input voltage; The initial number of stages is corrected using a transmission efficiency model or a lookup table correction result to obtain the target number of stages.

3. The automatic charge pump generation method as described in claim 1, characterized in that, The step of calling a single-stage pump template from the template library based on the target stage number and parameterizing the single-stage pump template according to the design parameters to generate the main circuit includes: The number of single-stage pump templates to be called is determined based on the target level; The corresponding single-stage pump templates are sequentially retrieved from the template library according to the stated quantity; The single-stage pump template is parameterized according to the design parameters to generate the main circuit.

4. The automatic charge pump generation method as described in claim 3, characterized in that, The parameterization of the single-stage pump template according to the design parameters to generate the main circuit includes: The device parameters in each of the single-stage pump templates are adjusted according to the design parameters. Establish cross-stage electrical connections between the adjusted single-stage pump templates to generate the main circuit.

5. The automatic charge pump generation method as described in claim 4, characterized in that, The adjustment of device parameters in each of the single-stage pump templates according to the design parameters includes: Calculate and set the dimensional parameters of the switching devices in each single-stage pump module based on the target load current and the target output voltage; Based on the target load current and the target output voltage, the number and capacity specifications of capacitor units in each single-stage pump module are determined.

6. The automatic charge pump generation method as described in claim 1, characterized in that, The peripheral circuit template includes a bandgap reference module, a comparator module, a voltage divider module, a clock generation module, an output buffer module, and a load capacitor unit.

7. The automatic charge pump generation method as described in claim 5, characterized in that, The peripheral circuit template is parameterized according to the design parameters, including: The reference voltage output of the bandgap reference module, the threshold voltage of the comparator module, the voltage division ratio of the voltage divider module, and the operating frequency of the clock generation module are parameterized according to the design parameters. The required number of load capacitor units is calculated and instantiated based on the target load capacitor to form the target load capacitor.

8. An automatic charge pump generation device, characterized in that, include: The acquisition unit is used to acquire design parameters, including input voltage, target output voltage, target load capacitance, and target load current. A determining unit is used to determine the target number of stages of the charge pump to be generated based on the design parameters; The calling unit is used to call a single-stage pump template from the template library based on the target number of stages, and to parameterize the single-stage pump template according to the design parameters to generate the main circuit. The selection unit is used to select a peripheral circuit template that matches the design parameters from the template library, and parameterize the peripheral circuit template according to the design parameters to generate the peripheral circuit. The merging unit is used to merge the main circuit and the peripheral circuit according to the interface specification to generate a charge pump.

9. A storage medium, characterized in that, The storage medium stores a plurality of instructions adapted for loading by a processor to execute the charge pump automatic generation method according to any one of claims 1-7.

10. An electronic device, characterized in that, The method includes a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor, when executing the computer program, implements the automatic charge pump generation method as described in any one of claims 1-7.