A power chip, a power chip reconstruction method and a storage medium
By introducing multiple programmable MTP modules and parameter converters into the power supply chip, the reconstruction and flexible configuration of the power supply chip are solved, and the problem of poor flexibility and versatility caused by the solidification of functional units in the existing technology is improved. Adaptability and development flexibility of chips.
Patent Information
- Application Number
- CN202110679058.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-06-18
- Publication Date
- 2024-11-08
- Estimated Expiration
- 2041-06-18
AI Technical Summary
The existing power chip functional units are solidified in the early stages of design, with weak software definition capabilities and cannot support flexible peripheral hardware development and on-site programmability, limiting users' flexibility and versatility during use.
Design a power chip, including multiple programmable MTP modules, parameter converters, control channel arrays and power tube arrays, and generate corresponding power parameter control signals by receiving and processing configuration parameters, and drive the power tube to output matching voltage signals. Realize the reconstruction and flexible configuration of the power chip.
By adjusting the configuration parameters, the power chip can adapt to different application scenarios, improves versatility and flexibility, supports flexible development of peripheral hardware, and enhances the adaptability of the power chip.
Smart Images

Figure CN115494902B_ABST
Abstract
Description
Technical Field
[0001] The embodiments of the present invention relate to the field of chip manufacturing technology, and in particular to a power chip, a power chip reconstruction method and a storage medium. Background Art
[0002] Power chips are widely used in electronic systems such as portable terminals and intelligent devices. They are used to provide voltage and current output for processors, digital signal processing units, memories, and peripherals. Selecting an appropriate power chip for the development system is of great significance to ensure the correct operation of the system.
[0003] Existing power chips mainly include basic power chips and power management chips; among them, Figure 1 As shown, the basic power chip is composed of functional units such as one or more switch-type regulators (e.g., BUCK DCDC) or linear regulators (e.g., low dropout regulator (LDO)), etc., and uses analog device customized logic and pins to control the output on and off. The output voltage is controlled by an external voltage divider resistor string or a pin to supply a reference voltage. Since only pin control is used, the software definition capability is very weak or even non-existent, and it is not convenient to monitor the usage status of the power chip.
[0004] As for power management chips, such as Figure 2A As shown in the figure, it is composed of one or more switch regulators or linear regulators and other functional units, and is used in complex system power supply scenarios; the power management chip adds management functions such as programming control and status reporting to the basic power chip, and the output on / off, output voltage programming, etc. can be connected to the microcontroller unit (MCU), single-chip microcomputer or central processing unit (CPU) through a universal interface to achieve program control. Some power management chips also contain a one-time programmable unit (for example, OTP (One Time Programable)), such as Figure 2B As shown, the default voltage accuracy and power-on and power-off timing can be controlled.
[0005] However, in existing power chips, the functional unit components have been fixed at the beginning of the design, and software definition only adjusts the performance characteristics inside the fixed functional units; Figure 3 As shown in the figure, components 1 and 2 are designed as two step-down switching power supplies BUCK DCDC, and components 3 and 4 are designed as linear regulators LDO. Then the peripheral application is limited to the output of components 1 and 2 must be connected to an inductor within the specified range, and the output of components 3 and 4 must be connected to a capacitor within the specified range. Figure 4 and Figure 5 The scenario shown cannot be supported by existing power chips, which limits the flexibility of users in developing peripheral hardware when using the power chip. It has poor versatility and lacks field programmability. Summary of the invention
[0006] The embodiments of the present invention provide a power chip, a power chip reconstruction method and a storage medium, which can realize the reconstruction and reuse of the power chip.
[0007] In a first aspect, an embodiment of the present invention provides a power chip, comprising a multi-time programmable MTP module, a parameter converter, a control channel array, and a power tube array connected in sequence; each power tube is connected to each control channel in a one-to-one correspondence;
[0008] The MTP module is used to receive configuration parameters corresponding to each control channel and send each configuration parameter to the parameter converter, where the configuration parameters are used to define performance parameters of the output power supply of the control channel;
[0009] The parameter converter is used to generate power parameter control signals corresponding to each configuration parameter, and send each power parameter control signal to each control channel in the control channel array;
[0010] Each control channel in the control channel array is used to generate a matching power tube drive signal according to a received power parameter control signal and send it to a connected power tube;
[0011] Each power tube in the power tube array is used to output a matching voltage signal according to a received power tube driving signal.
[0012] In a second aspect, an embodiment of the present invention provides a method for reconfiguring a power chip, which is performed by an MTP module in the power chip according to any embodiment of the present invention, and includes:
[0013] When it is detected that the power chip switches from a power-off state to a power-on state, a hardware system requirement value is obtained;
[0014] Determining whether the currently stored configuration parameters match the hardware system requirement values;
[0015] If not, the currently stored configuration parameters are rewritten according to the hardware system requirement value, and the rewritten configuration parameters are sent to the parameter converter to update the performance parameters of the output power of at least one control channel in the power chip.
[0016] In a third aspect, an embodiment of the present invention provides a computer-readable storage medium having a computer program stored thereon, wherein the program, when executed by a processor, implements a method for reconstructing a power chip as described in any embodiment of the present invention.
[0017] The power chip in the embodiment of the present invention first receives configuration parameters corresponding to each control channel through a multi-time programmable MTP module, and sends each configuration parameter to a parameter converter; secondly, generates power parameter control signals corresponding to each configuration parameter through the parameter converter, and sends each power parameter control signal to each control channel in the control channel array; thirdly, generates a matching power tube drive signal according to the received power parameter control signal through each control channel in the control channel array and sends it to the connected power tube; finally, each power tube in the power tube array outputs a matching voltage signal according to the received power tube drive signal; by adjusting the configuration parameters of the power chip through the MTP module, the power chip can be reconstructed, it can adapt to the ever-changing application scenarios, and the versatility is improved; at the same time, by obtaining different configuration parameters to obtain matching output signals, flexible development of connecting peripheral hardware can be achieved. BRIEF DESCRIPTION OF THE DRAWINGS
[0018] Figure 1 It is a structural schematic diagram of a power chip provided by the prior art;
[0019] Figure 2A It is a structural schematic diagram of a power chip provided by the prior art;
[0020] Figure 2B It is a structural schematic diagram of a power chip provided by the prior art;
[0021] Figure 3 It is a structural schematic diagram of a power chip provided by the prior art;
[0022] Figure 4 It is a structural schematic diagram of a power chip provided by the prior art;
[0023] Figure 5 It is a structural schematic diagram of a power chip provided by the prior art;
[0024] Figure 6 A schematic diagram of the structure of a power chip provided by an embodiment of the present invention;
[0025] Figure 7 A schematic diagram of the structure of a power chip provided by an embodiment of the present invention;
[0026] Figure 8 A schematic diagram of the structure of a power chip provided by an embodiment of the present invention;
[0027] Fig.9A A schematic diagram of the structure of a power chip provided by an embodiment of the present invention;
[0028] Fig. 9B A schematic diagram of the structure of a power chip provided by an embodiment of the present invention;
[0029] Fig.10 A schematic diagram of the structure of a power chip provided by an embodiment of the present invention;
[0030] Fig.11 A flowchart of a method for reconfiguring a power chip provided by an embodiment of the present invention;
[0031] Fig.12 A schematic diagram of the structure of a power chip provided by an embodiment of the present invention;
[0032] Fig.13 It is a flow chart of a method for reconfiguring a power chip provided by an embodiment of the present invention;
[0033] Fig.14 A schematic diagram of the structure of a power chip provided by an embodiment of the present invention;
[0034] Fig.15 It is a flow chart of a method for reconfiguring a power chip provided by an embodiment of the present invention;
[0035] Fig.16 A schematic structural diagram of a power chip provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0036] The present invention will be further described in detail below in conjunction with the accompanying drawings and embodiments. It is to be understood that the specific embodiments described herein are only used to explain the present invention, rather than to limit the present invention. It should also be noted that, for ease of description, only parts related to the present invention, rather than all structures, are shown in the accompanying drawings.
[0037] Figure 6 A schematic diagram of the structure of a power chip provided by an embodiment of the present invention, wherein the power chip 100 includes a multi-time programmable MTP module 101, a parameter converter 102, a control channel array 103 and a power tube array 104 connected in sequence; each power tube 105 is connected to each control channel 106 in a one-to-one correspondence;
[0038] The MTP module 101 is used to receive configuration parameters corresponding to each control channel 106, and send each configuration parameter to the parameter converter 102, where the configuration parameters are used to define the performance parameters of the output power of the control channel 106; wherein the MTP module 101 may specifically include an electrically erasable programmable read-only memory (EEPROM), which can program, modify and store the configuration parameters of the power system multiple times through a computer or a dedicated device, thereby realizing flexible definition of the configuration parameters of the power chip and improving the versatility of the power chip.
[0039] The parameter converter 102 is used to generate power parameter control signals corresponding to each configuration parameter, and send each power parameter control signal to each control channel 106 in the control channel array 103; wherein the configuration parameter is parameter information describing the performance of the power chip, and the power parameter control signal is an output control signal of the control channel 106; in the embodiment of the present invention, optionally, Figure 7 As shown, the control channel array 103 includes multiple control channels 106, and the configuration parameters include: output power type and connection relationship configuration information; the connection relationship configuration information is used to define whether the output power of the configured control channel is connected in parallel with the output power of other control channels.
[0040] The power chip may also include: a connection relationship configuration unit 107, wherein the connection relationship configuration unit 107 is respectively connected to each power tube 105 in the power tube array 104 and the parameter converter 102; the parameter converter 102 is also used to generate a connection relationship configuration signal according to the output power type and connection relationship configuration information in the configuration parameters, and send the connection relationship configuration signal to the connection relationship configuration unit 107; the connection relationship configuration unit 107 is used to match the connection configuration of the output end of each power tube 105 according to the connection relationship configuration signal.
[0041] It should be noted that when the outputs of multiple control channels 106 need to be configured in parallel, the output power types corresponding to the multiple control channels 106 need to be the same; for example, if the output power of the first control channel and the output power of the second control channel are configured in parallel, it is necessary to set the output power type of the first control channel to be the same as the output power type of the second control channel, and the connection relationship configuration information is configured as parallel; for example, if the connection relationship configuration information is 1, it means parallel with other channels, and the connection relationship is 0, which means not parallel with other channels; thus, the parameter converter 102 generates a connection relationship configuration signal corresponding to the parallel configuration according to the control channel 106 corresponding to the same output power type and connection relationship configuration information, and sends it to the connection relationship configuration unit 107; the connection relationship configuration unit 107 performs a corresponding parallel configuration on the output end of the matching power tube 105 according to the acquired connection relationship configuration signal, so as to realize the control of the connection relationship of the output power of each control channel, and realize the control of the output of the power chip according to the task requirements.
[0042] In the embodiment of the present invention, the parameter converter 102 generates a corresponding connection relationship configuration signal according to the power type and connection relationship configuration information in the configuration parameters; then the connection relationship configuration unit 107 performs a matching connection configuration on the output of the power tube 105 according to the connection relationship configuration signal, thereby achieving accurate configuration of the output connection of the power chip.
[0043] In the embodiment of the present invention, optionally, the configuration parameters may also include: output power type, connection relationship configuration information, output power connection inductance value, output power connection capacitance value, voltage feedback selection parameter and output power start-stop enable signal. Specifically, the output power type is used to define the output power type, which is a single-bit signal and can include a linear regulated power supply and a switching regulated power supply; the connection relationship configuration information is used to define whether the output participates in parallel, which is a single-bit signal; the output power connection inductance value is used to define the inductance value of the output connection, and the definition priority is lower than the output power type; when the output power type defines that the power type output of the current control channel 106 is a switching regulated power supply, the definition of the output power connection inductance value is valid, and when the output power type defines that the power type output of the current control channel is a linear regulated power supply, the definition of the output power connection inductance value is invalid; the output power connection capacitance value is used to define the capacitance value of the output connection. When the output power connection capacitance value and the output power connection inductance value are effectively defined, the output power performance can be configured on this basis through the universal serial port, such as the switching frequency, bandwidth and transient response performance; the voltage feedback selection parameter is used to define the voltage feedback source corresponding to the current control channel 106; the output power start-stop enable signal is used to define the opening and closing of the output, which can be issued after the counter, and the time difference between the opening or closing with other control channels can be achieved.
[0044] The parameter converter 102 is specifically used to: generate a first parameter control signal corresponding to each control channel 106 according to the output power type, voltage feedback selection parameters and connection relationship configuration information; and generate a second parameter control signal corresponding to each control channel 106 according to the output power type, the output power connection inductance value, the output power connection capacitance value, the output power start-stop enable signal and the connection relationship configuration information; wherein the first parameter control signal is used to determine the feedback voltage signal corresponding to each control channel 106; and the second parameter control signal is used to control each control channel 106 to generate a corresponding power tube drive signal.
[0045] In the embodiment of the present invention, optionally, the first parameter control signal is determined based on the following formula:
[0046] S x [n] = function1(T x ,M x ,S x );
[0047] Among them, S x [n] represents the first parameter control signal corresponding to the x-th control channel, n represents the first parameter control signal is n bits, T x Indicates the output power type, M x Indicates the connection relationship configuration information, S x Represents the voltage feedback selection parameter; function1 is used to configure the input parameters T corresponding to each channel. x 、M x and S x The information is used to obtain a set of n-bit control signals to control the selector to select the corresponding voltage feedback.
[0048] In one implementation of the embodiment of the present invention, T1=T2 indicates that T1 and T2 are both logic high or logic low, specifically indicating that the output power OUT1 of the first control channel and the output power OUT2 of the second control channel are of the same power type, T1≠T2 indicates that T1 and T2 are different logic values, specifically indicating that OUT1 and OUT2 are of different power types, M x =0 means that the x path is not connected in parallel with other paths, M x =1 means that the x path is connected in parallel with other paths, S x =0 means that the voltage feedback of the x-path is not selected, S x =1 indicates that the x-path selects the voltage feedback of the current path; thus, according to the logic truth table of S1[n] and S2[n] when OUT1 and OUT2 are connected in parallel (for example, the logic truth table shown in Table 1), the corresponding S1[n] and S2[n] are obtained.x The bit with 1 in [n] indicates that the voltage feedback of the corresponding path is selected, and the other bits with 0 indicate that the voltage feedback of other paths is not selected. For example, S1[n]=[1,0,0,,...,0] indicates that the voltage feedback of the first control channel output is selected.
[0049] Table 1 Logic truth table of S1[n] and S2[n] when OUT1 and OUT2 are connected in parallel
[0050]
[0051]
[0052] In an embodiment of the present invention, by generating a corresponding first parameter control signal according to the output power type, voltage feedback selection parameters and connection relationship configuration information, the selection of the voltage feedback corresponding to the current control channel 106 can be realized, thereby realizing the selection control of the voltage feedback corresponding to each control channel of the power chip.
[0053] In the embodiment of the present invention, optionally, the second parameter control signal may be determined based on the following formula:
[0054] R x =function2(T x ,M x ,L x ,C x ,En x );
[0055] Among them, R x Indicates the second parameter control signal corresponding to the x-th control channel, L x Indicates the output power connection inductance, C x Indicates the output power connection capacitance value, En x Indicates the output power on / off enable signal, function2 is used to configure the parameters T x 、M x , L x , C x and En x , generating a control signal corresponding to the control channel 106.
[0056] In one implementation of the present invention, T x =0 means the output power type is a linear regulated power supply, T x =1 indicates that the output power type is a switching regulated power supply; M x =0 means that the single channel does not participate in parallel connection, M x =1 means it is connected in parallel with other roads; En x =0 means that the output power is disabled.x =1 indicates that the output power of this path is enabled; taking the first path as a linear regulated power supply, not connected in parallel with other paths, and the output power is enabled as an example, T1=0, M1=0, L1=invalid, En1=1, then the second parameter control signal can be determined based on the following formula:
[0057]
[0058] Wherein, R1 represents the second parameter control signal corresponding to the first control channel, GBW represents the bandwidth of the control channel 106, and f p2 The secondary point representing stability, f z represents the compensation zero point, gm represents the input stage transconductance of the error amplifier in the linear regulator, Gm represents the equivalent transconductance across the Miller compensation capacitor, C c Represents the Miller compensation capacitor value.
[0059] It should be noted that the performance of the first control channel can be defined by controlling the bandwidth, the secondary point of stability and the compensation zero point of the control channel 106; specifically, the Miller compensation capacitance value C is determined according to the output power connection capacitance value in the configuration parameters and the obtained performance requirement bandwidth and stability information. c , gm and Gm; thus, the bandwidth GBW of the control channel 106 and the secondary point f of stability can be calculated p2 And the compensation zero point f z Then, the area and size of the internal capacitance of the control channel 106 and the MOS (metal oxide semiconductor) device are determined according to the determined parameters, so as to realize the control of the output signal of the control channel.
[0060] Each control channel 106 in the control channel array 103 is used to generate a matching power tube drive signal according to the received power parameter control signal and send it to the connected power tube 105. In the embodiment of the present invention, optionally, Figure 8 As shown, each control channel 106 in the control channel array 103 specifically includes: a voltage feedback unit 108, a selector 109, a driver control signal generating unit 110 and a power tube driver 111; the parameter converter 102 is respectively connected to the selector 109 and the driver control signal generating unit 110 in each control channel 106; wherein, in each control channel 106, the selector 109 is respectively connected to the driver control signal generating unit 110 and the voltage feedback unit 108, and the driver control signal generating unit 110 is connected to the power tube driver 111; the voltage feedback unit 108 of each control channel 106 in the control channel array 103 is respectively connected to the selectors 109 of other control channels.
[0061] The voltage feedback unit 108 is used to generate a feedback voltage signal corresponding to the control channel 106 according to the input voltage signal; the selector 109 is used to select a matching target feedback voltage signal from the feedback voltage signals of all control channels 106 according to the first parameter control signal sent by the parameter converter 102; for example, if the first parameter control signal is [1, 0, 0, 0], the feedback voltage signal of the first control channel is used as the target feedback voltage signal corresponding to the current control channel; the driver control signal generating unit 110 is used to generate a corresponding power tube driver control signal according to the target feedback voltage signal output by the selector 109, the preset output voltage value and the second parameter control signal sent by the parameter converter 102. By disassembling the solidified functional unit into multiple component units of the control channel, different types of output power can be obtained according to the control signal sent by the parameter converter 102.
[0062] like Fig.9A As shown, in the embodiment of the present invention, optionally, the power chip 100 also includes a voltage acquisition unit 112; the voltage acquisition unit 112 is respectively connected to the voltage feedback unit in each control channel 106; the voltage acquisition unit is used to collect the voltage signal output by each power tube 105, and send the collected voltage signal to the corresponding voltage feedback unit, so as to achieve accurate acquisition of the voltage feedback signal.
[0063] In the embodiment of the present invention, optionally, the driver control signal generating unit 110 is specifically used to, if the output power type is a linear regulated power supply, determine the voltage gain according to the second parameter control signal sent by the parameter converter 102; and generate a corresponding power tube linear feedback control signal according to the voltage difference between the target feedback voltage signal output by the selector and the preset output voltage value and the voltage gain; optionally, if the output power type is a linear regulated power supply, the power tube driver control signal can be determined based on the following formula:
[0064] E x =Av·ΔVe;
[0065] Among them, E xrepresents the power tube driver control signal, which is used to perform linear feedback control on the power tube driver, Av represents the amplification factor of the voltage difference to the gate of the power tube driver, which is determined by the second parameter control signal, and ΔVe represents the voltage difference between the target feedback voltage signal and the preset output voltage value. It should be noted that after obtaining the second parameter control signal, the composition and size of the internal circuit components of the driver control signal generating unit 110 can be determined according to the second parameter control signal, and the amplification factor of the voltage difference to the gate of the power tube driver can be determined, so Av can be determined; by obtaining the corresponding amplification factor according to the second parameter control signal, and then by the voltage difference and the amplification factor, the power tube driver control signal can be accurately obtained.
[0066] In an embodiment of the present invention, optionally, the driver control signal generating unit 110 is specifically used to, if the output power type is a switching type regulated power supply, determine the transfer function according to the second parameter control signal sent by the parameter converter 102; and generate a corresponding power tube pulse width modulation control signal according to the transfer function, a preset input voltage value, a preset output voltage value, and a voltage difference between the target feedback voltage signal output by the selector and the preset output voltage value; optionally, if the output power type is a switching type regulated power supply, the power tube driver control signal can be obtained based on the following formula:
[0067]
[0068] Among them, Ex represents the power tube driver control signal, which can specifically include a pulse width modulation signal (PWM), D represents the duty cycle of the power tube driver control signal, Δd represents the feedback control small signal of the power tube driver control signal, Vout and Vin are the output voltage and input voltage of the power chip, which are fixed values when the power chip is in use, so D is a fixed value; Fm represents the transfer function of the voltage difference between the target feedback voltage signal and the preset output voltage value to the duty cycle, which is determined by the second parameter control signal; ΔVe represents the voltage difference between the target feedback voltage signal and the preset output voltage value.
[0069] It should be noted that if the output voltage type of the current output channel is a switching type voltage-stabilized power supply; then the power tube driver control signal output by the current driver control signal generating unit 110 is a PWM signal with a duty cycle of D and a feedback control small signal of Δd, which can realize accurate acquisition of the power tube driver control signal and accurate control of the power tube driver 111; wherein, a control channel 106 and the corresponding power tube 105 form an output channel.
[0070] The power tube driver 111 is used to output a matching power tube drive signal according to an input power tube driver control signal; specifically, the power tube driver 111 buffers or performs timing processing on the acquired power tube driver control signal to determine the power tube drive signal; wherein the power tube driver control signal and the power tube drive signal can be digital signals (for example, PWM signals) or analog signals (for example, linear amplification signals), which can realize accurate acquisition of the power tube drive signal and control the power tube to output an output signal that matches the configuration parameters.
[0071] Each power tube 105 in the power tube array 104 is used to output a matching voltage signal according to the received power tube drive signal. The power tube 105 includes a unit output capacity power tube, and the unit output capacity power tube corresponds to the power tube internal resistance value of the current output channel in terms of electrical characteristic parameters (for example, in milliohms), or an equivalent indicator unit output current capacity value (for example, in amperes); it should be noted that the type of the power tube 105 in the power tube array 104 may include a P-type power tube and / or an N-type power tube, and the embodiment of the present invention does not specifically limit the type of the power tube 105. By outputting an output signal matching the configuration parameters through the power tube 105, different types of power chip outputs can be obtained by adjusting the configuration parameters, and thus different peripheral hardware devices can be flexibly adapted.
[0072] like Fig. 9B As shown, in the embodiment of the present invention, optionally, the power chip 100 may further include a register 113, and the register 113 is used to store the configuration parameters of the power chip. Among them, the register 113 may specifically include a general register, a special register and a control register, and may store the configuration parameters obtained by the MTP module 101, and modify the configuration parameters modified by the MTP module 101; through the cooperation of the register 113 and the MTP module 101, temporary or permanent storage of the configuration parameters of the power chip may be achieved.
[0073] like Fig.10As shown, in the embodiment of the present invention, optionally, the power chip 100 further includes: a programming pin 114, an output pin 115 and a feedback input pin 116; the programming pin 114 is connected to the MTP module 101; the output pin 115 is connected to the power tube array 104; the feedback input pin 116 is connected to the control channel array 103; the programming pin 114 is used to obtain configuration parameters and send the configuration parameters to the MTP module 101; the output pin 115 is used to send the voltage signal output by the power tube array 104 to an external connection unit; the feedback input pin 116 is used to obtain a feedback voltage signal and send the feedback voltage signal to the control channel array 103; wherein the pin is the connection between the internal circuit of the power chip and the peripheral circuit, and is the interface of the power chip; through various interfaces of the power chip, the connection between the power chip and the peripheral circuit can be realized.
[0074] The power chip in the embodiment of the present invention first receives configuration parameters corresponding to each control channel through a multi-time programmable MTP module, and sends each configuration parameter to a parameter converter; secondly, generates power parameter control signals corresponding to each configuration parameter through the parameter converter, and sends each power parameter control signal to each control channel in the control channel array; thirdly, generates a matching power tube drive signal according to the received power parameter control signal through each control channel in the control channel array and sends it to the connected power tube; finally, each power tube in the power tube array outputs a matching voltage signal according to the received power tube drive signal; by adjusting the configuration parameters of the power chip through the MTP module, the power chip can be reconstructed, it can adapt to the ever-changing application scenarios, and the versatility is improved; at the same time, by obtaining different configuration parameters to obtain matching output signals, flexible development of connecting peripheral hardware can be achieved.
[0075] Fig.11 A flowchart of a method for reconfiguring a power chip provided in an embodiment of the present invention. This embodiment can be applied to reprogram the current configuration parameters of the power chip according to on-site requirements to obtain a power chip that meets the requirements. The method can be executed by the MTP module in the power chip in the embodiment of the present invention, such as Fig.11 As shown, the method specifically includes:
[0076] S210: When it is detected that the power chip switches from the power-off state to the power-on state, obtain a hardware system requirement value.
[0077] It should be noted that the hardware system requirement value is the performance parameter that the power chip currently needs to achieve, for example, the output current is 5A; when the MTP module detects that the power chip switches from the power-off state to the power-on state, it obtains the current hardware system requirement value through a computer or external device, and reads the current configuration parameters of the power chip in the register.
[0078] S220: Determine whether the currently stored configuration parameters match the hardware system requirement values.
[0079] Among them, after obtaining the currently stored configuration parameters and hardware system requirement values, the MTP module determines whether the currently stored configuration parameters meet the hardware system requirement values; if it is determined that the configuration parameters meet the hardware system requirement values, it means that the current power chip meets the task requirements and there is no need to rewrite the configuration parameter programming; if it is determined that the configuration parameters do not meet the hardware system requirement values, it means that the performance parameters of the current power chip do not meet the task requirements, and it is necessary to rewrite the configuration parameters according to the hardware system requirement values to obtain a power chip that meets the task requirements.
[0080] S230: If not, rewrite the currently stored configuration parameters according to the hardware system requirement value, and send the rewritten configuration parameters to the parameter converter to update the performance parameters of the output power of at least one control channel in the power chip.
[0081] In an embodiment of the present invention, after determining that the configuration parameters do not meet the hardware system requirement values, the MTP module rewrites the stored configuration parameters according to the hardware system requirement values, and sends the rewritten configuration parameters to the parameter converter; the parameter converter generates an updated power parameter control signal according to the updated configuration parameters, and adjusts the output of the control channel through the power control signal to obtain an output power that matches the updated configuration parameters, so as to realize the programming rewriting of the configuration parameters of the power chip, and further realize the on-site reconstruction of the power chip.
[0082] In one implementation of an embodiment of the present invention, the power chip includes 4 control channels composed of the same hardware and 4 groups of power tube arrays with unit current output capability. The rated unit output current capability of each channel is the same (for example, 1 ampere, 0.5 ampere or 2 amperes). By default, the output power types of the 4 control channels are all switching-type regulated power supply outputs. During the actual system application debugging process, it is found that a certain load (for example, the second channel) has high requirements for ripple or frequency harmonics, and it is necessary to change the output power type of the second control channel to a linear regulated power supply output. The structural schematic diagram of the power chip is as follows: Fig.12 As shown, the flowchart of the power chip reconstruction method is as follows Fig.13As shown, the method specifically includes: the MTP module performs a power-on operation according to the operating specification, and reads the configuration parameters stored in the register; determines whether the stored configuration parameters are the hardware system requirement values; if it is determined that the stored configuration parameters do not meet the hardware system requirement values, the output power type parameters in the configuration parameters corresponding to the second control channel are programmed and rewritten, and power-off and re-power-on operations are performed; determines whether the configuration parameters after programming and rewriting meet the hardware system requirement values, and if it is determined that they meet, it indicates that the custom reconstruction of the power chip is completed; if it is determined that the stored configuration parameters meet the hardware system requirement values, it indicates that the custom reconstruction of the power chip is completed; and if the configuration parameters after programming and rewriting do not meet the hardware system requirement values, the configuration parameters continue to be programmed and rewritten according to the hardware system requirement values until the obtained configuration parameters after programming and rewriting meet the hardware system requirement values, and the custom reconstruction of the power chip is completed.
[0083] In another implementation of the embodiment of the present invention, the power chip includes a control channel having n identical hardware structures and a power tube array having n groups of unit current output capabilities. The rated unit output current capability of each power tube is 1 ampere, and by default, all n channels are switch-type voltage-regulated power supply outputs. If the application scenario of the current power chip requires a single-channel load current requirement of a maximum of 4 amperes, the output power supplies of the four control channels need to be connected in parallel. The structural schematic diagram of the power chip is shown in FIG. Fig.14 As shown; the flowchart of the power chip reconstruction method is as follows Fig.15 As shown, the method specifically includes: the MTP module performs a power-on operation according to the operation specification, and reads the configuration parameters stored in the register; determines whether the stored configuration parameters are the hardware system requirement values; if it is determined that the stored configuration parameters do not meet the hardware system requirement values, the connection relationship configuration information and voltage feedback selection parameters in the configuration parameters corresponding to the first, second, third and fourth paths are programmed and rewritten, the second, third and fourth paths are controlled to be connected in parallel with the first path, and the voltage feedback signal of the first path is adopted, and power-off and power-on operations are performed; it is determined whether the configuration parameters after programming and rewriting meet the hardware system requirement values, if it is determined that they meet, it indicates that the custom reconstruction of the power chip is completed; if it is determined that the stored configuration parameters meet the hardware system requirement values, it indicates that the custom reconstruction of the power chip is completed; and if the configuration parameters after programming and rewriting do not meet the hardware system requirement values, the configuration parameters continue to be programmed and rewritten according to the hardware system requirement values until the obtained configuration parameters after programming and rewriting meet the hardware system requirement values, and the custom reconstruction of the power chip is completed.
[0084] In the embodiment of the present invention, while programming and rewriting the connection relationship configuration information and voltage feedback selection parameters in the configuration parameters corresponding to each control channel, the output power type can also be programmed and rewritten. For example, the switching voltage-regulated power supply is modified to a linear voltage-regulated power supply. The output schematic diagram of the power supply chip after programming and rewriting is as follows: Fig.16 As shown, it is possible to obtain a power chip for four parallel-connected extremely low-ripple linear regulated power supplies.
[0085] The technical solution of the embodiment of the present invention rewrites the configuration parameters currently stored in the power chip according to the hardware system requirement values, so as to update the performance parameters of the output power of the corresponding control channel in the power chip, thereby realizing the reconstruction of the power chip. Moreover, by rewriting the performance parameters of the power chip according to the task requirements, the power chip can adapt to the ever-changing application scenarios, thereby enhancing the versatility of the power chip.
[0086] An embodiment of the present invention further provides a computer-readable storage medium on which a computer program is stored. When the program is executed by a processor, a method for reconfiguring a power chip according to any embodiment of the present invention is implemented; the method comprises:
[0087] When it is detected that the power chip switches from a power-off state to a power-on state, a hardware system requirement value is obtained;
[0088] Determining whether the currently stored configuration parameters match the hardware system requirement values;
[0089] If not, the currently stored configuration parameters are rewritten according to the hardware system requirement value, and the rewritten configuration parameters are sent to the parameter converter to update the performance parameters of the output power of at least one control channel in the power chip.
[0090] The computer storage medium of the embodiment of the present invention can adopt any combination of one or more computer-readable media. The computer-readable medium can be a computer-readable signal medium or a computer-readable storage medium. The computer-readable storage medium can be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples (non-exhaustive list) of computer-readable storage media include: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In this document, a computer-readable storage medium can be any tangible medium containing or storing a program, which can be used by an instruction execution system, device or device or used in combination with it.
[0091] Computer-readable signal media may include data signals propagated in baseband or as part of a carrier wave, which carry computer-readable program code. Such propagated data signals may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. Computer-readable signal media may also be any computer-readable medium other than a computer-readable storage medium, which may send, propagate, or transmit a program for use by or in conjunction with an instruction execution system, apparatus, or device.
[0092] Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
[0093] Computer program code for performing the operations of the present invention may be written in one or more programming languages or a combination thereof, including object-oriented programming languages such as Java, Smalltalk, C++, and conventional procedural programming languages such as "C" or similar programming languages. The program code may be executed entirely on the user's computer, partially on the user's computer, as a separate software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., via the Internet using an Internet service provider).
[0094] Note that the above are only preferred embodiments of the present invention and the technical principles used. Those skilled in the art will understand that the present invention is not limited to the specific embodiments described herein, and that various obvious changes, readjustments and substitutions can be made by those skilled in the art without departing from the scope of protection of the present invention. Therefore, although the present invention has been described in more detail through the above embodiments, the present invention is not limited to the above embodiments, and may include more other equivalent embodiments without departing from the concept of the present invention, and the scope of the present invention is determined by the scope of the appended claims.
Claims
1. A power chip, characterized in that: It includes a multi-time programmable MTP module, a parameter converter, a control channel array and a power tube array connected in sequence; each power tube is connected to each control channel in a one-to-one correspondence; The MTP module is used to receive configuration parameters corresponding to each control channel and send each configuration parameter to the parameter converter, where the configuration parameters are used to define performance parameters of the output power supply of the control channel; The parameter converter is used to generate power parameter control signals corresponding to each configuration parameter, and send each power parameter control signal to each control channel in the control channel array; Each control channel in the control channel array is used to generate a matching power tube drive signal according to a received power parameter control signal and send it to a connected power tube; Each power tube in the power tube array is used to output a matching voltage signal according to a received power tube driving signal; The control channel array includes a plurality of control channels, and the configuration parameters include: output power type and connection relationship configuration information; the connection relationship configuration information is used to define whether the output power of the configured control channel is connected in parallel with the output power of each other control channel; The power chip further includes: a connection relationship configuration unit, wherein the connection relationship configuration unit is respectively connected to each power tube in the power tube array and the parameter converter; The parameter converter is further used to generate a connection relationship configuration signal according to the output power type and the connection relationship configuration information in the configuration parameters, and send the connection relationship configuration signal to the connection relationship configuration unit; The connection relationship configuration unit is used to perform matching connection configuration on the output end of each of the power tubes according to the connection relationship configuration signal; The configuration parameters also include: output power connection inductance value, output power connection capacitance value, voltage feedback selection parameter and output power start-up and shutdown enable signal; The parameter converter is specifically used to: generate a first parameter control signal corresponding to each control channel according to the output power type, the voltage feedback selection parameter and the connection relationship configuration information; and generate a second parameter control signal corresponding to each control channel according to the output power type, the output power connection inductance value, the output power connection capacitance value, the output power start-stop enable signal and the connection relationship configuration information; Wherein, the first parameter control signal is used to determine the feedback voltage signal corresponding to each control channel; the second parameter control signal is used to control each control channel to generate a corresponding power tube drive signal; Each control channel in the control channel array specifically includes: a voltage feedback unit, a selector, a driver control signal generating unit and a power tube driver; the parameter converter is respectively connected to the selector and the driver control signal generating unit in each control channel; Wherein, in each control channel, the selector is respectively connected to the driver control signal generating unit and the voltage feedback unit, and the driver control signal generating unit is connected to the power tube driver; the voltage feedback unit of each control channel in the control channel array is respectively connected to the selectors of other control channels; The voltage feedback unit is used to generate a feedback voltage signal corresponding to the control channel according to the input voltage signal; The selector is used to select a matching target feedback voltage signal from among the feedback voltage signals of all control channels according to the first parameter control signal sent by the parameter converter; The driver control signal generating unit is used to generate a corresponding power tube driver control signal according to the target feedback voltage signal output by the selector, the preset output voltage value and the second parameter control signal sent by the parameter converter; The power tube driver is used to output a matching power tube driving signal according to an input power tube driver control signal; The driver control signal generating unit is specifically used for: If the output power type is a linear regulated power supply, the voltage amplification factor is determined according to the second parameter control signal sent by the parameter converter; and the corresponding power tube linear feedback control signal is generated according to the voltage difference between the target feedback voltage signal output by the selector and the preset output voltage value and the voltage amplification factor; If the output power supply type is a switching type regulated power supply, the transfer function is determined according to the second parameter control signal sent by the parameter converter; and the corresponding power tube pulse width modulation control signal is generated according to the transfer function, the preset input voltage value, the preset output voltage value, and the voltage difference between the target feedback voltage signal output by the selector and the preset output voltage value.
2. The power chip according to claim 1, characterized in that: The power chip also includes a register, and the register is used to store configuration parameters of the power chip.
3. The power chip according to claim 1, characterized in that: The power chip further includes a voltage collection unit; the voltage collection unit is respectively connected to the voltage feedback unit in each control channel; The voltage collection unit is used to collect the voltage signal output by each power tube and send the collected voltage signal to the corresponding voltage feedback unit.
4. The power chip according to claim 1, characterized in that: The power chip further includes: a programming pin, an output pin and a feedback input pin; the programming pin is connected to the MTP module; the output pin is connected to the power tube array; the feedback input pin is connected to the control channel array; The programming pin is used to obtain configuration parameters and send the configuration parameters to the MTP module; The output pin is used to send the voltage signal output by the power tube array to an external connection unit; The feedback input pin is used to obtain a feedback voltage signal and send the feedback voltage signal to the control channel array.
5. A method for reconfiguring a power chip, performed by the MTP module in the power chip according to any one of claims 1 to 4, characterized in that: include: When it is detected that the power chip switches from a power-off state to a power-on state, a hardware system requirement value is obtained; Determining whether the currently stored configuration parameters match the hardware system requirement values; If not, the currently stored configuration parameters are rewritten according to the hardware system requirement value, and the rewritten configuration parameters are sent to the parameter converter to update the performance parameters of the output power of at least one control channel in the power chip.
6. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, the method for reconfiguring a power chip as claimed in claim 5 is implemented.
Citation Information
Patent Citations
Extensible and programmable power management integrated circuit system
CN101520649A
Chip dynamic voltage regulating circuit and terminal equipment
CN102931842A
Linear multi-channel LED constant-current drive circuit
CN103582263A
Booster circuit and method for improving programming accuracy of EEPROM
CN106297887A
Multi-output LDO circuit and multi-voltage output method based on LDO
CN108445950A
