CN117473921A - Current curve acquisition method, electronic device and storage medium - Google Patents

Current curve acquisition method, electronic device and storage medium Download PDF

Info

Publication number
CN117473921A
CN117473921A CN202311799007.XA CN202311799007A CN117473921A CN 117473921 A CN117473921 A CN 117473921A CN 202311799007 A CN202311799007 A CN 202311799007A CN 117473921 A CN117473921 A CN 117473921A
Authority
CN
China
Prior art keywords
output current
current curve
output
curve
time
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202311799007.XA
Other languages
Chinese (zh)
Other versions
CN117473921B (en
Inventor
请求不公布姓名
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hangzhou Xingxin Technology Co ltd
Original Assignee
Hangzhou Xingxin Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hangzhou Xingxin Technology Co ltd filed Critical Hangzhou Xingxin Technology Co ltd
Priority to CN202311799007.XA priority Critical patent/CN117473921B/en
Priority claimed from CN202311799007.XA external-priority patent/CN117473921B/en
Publication of CN117473921A publication Critical patent/CN117473921A/en
Application granted granted Critical
Publication of CN117473921B publication Critical patent/CN117473921B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F30/00Computer-aided design [CAD]
    • G06F30/30Circuit design
    • G06F30/32Circuit design at the digital level
    • G06F30/33Design verification, e.g. functional simulation or model checking
    • G06F30/3308Design verification, e.g. functional simulation or model checking using simulation
    • G06F30/3312Timing analysis

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Evolutionary Computation (AREA)
  • Geometry (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Amplifiers (AREA)

Abstract

The application relates to a method for acquiring a current curve, which comprises the following steps: determining first to fourth output current curves to be interpolated according to the target input conversion time and the target output capacitance; interpolation processing is carried out on the first output current curve to the fourth output current curve to obtain a fifth output current curve and a sixth output current curve; interpolation processing is carried out on the fifth output current curve and the sixth output current curve to obtain a seventh output current curve; and scaling the seventh output current curve to obtain a target output current curve of the circuit unit under the target input conversion time and the target output capacitance. The method, the device, the electronic equipment and the storage medium for acquiring the current curve can acquire the target current curve of the circuit unit under any target input conversion time and target output capacitance, and are good in flexibility and high in acquisition efficiency.

Description

Current curve acquisition method, electronic device and storage medium
Technical Field
The present disclosure relates to the field of integrated circuits, and in particular, to a method for obtaining a current curve, an electronic device, and a storage medium.
Background
In the whole flow of chip design, timing analysis plays a significant role. Below 65nm processes, a composite current source delay model (CCS) is typically used for timing analysis calculations. The CCS model is driven with a current source that uses a current waveform to calculate the delay and slew of the interconnect trace, so the current waveform it drives needs to be known at the time of analysis.
When a voltage waveform is input to the driver, theoretically, the internal structure of the driver can be calculated, so that a current waveform corresponding to the output port of the driver can be obtained. However, the internal structure of the driver is often very complex, which leads to an increase in calculation amount, for example, the output current curve is solved by adopting dynamic simulation, so that the method has high precision, but the calculation speed is slow, the workload is large, and the method is not suitable for delay analysis of a very large-scale integrated circuit.
Therefore, it is necessary to provide a method for acquiring a current curve, so as to improve efficiency and have high accuracy.
Disclosure of Invention
Aiming at the technical problems, the application provides a method, a device and electronic equipment for acquiring a current curve, which solve the output current curve in an interpolation mode, have higher efficiency, and can improve the accuracy of the obtained output current curve by performing scaling treatment after interpolation.
In order to solve the technical problems, the application provides a method for acquiring a current curve, which comprises the following steps: acquiring target input conversion time and target output capacitance of a circuit unit; determining a first output current curve, a second output current curve, a third output current curve and a fourth output current curve to be interpolated according to the target input conversion time and the target output capacitance; interpolation processing is carried out on the first output current curve, the second output current curve, the third output current curve and the fourth output current curve to obtain a fifth output current curve and a sixth output current curve; interpolation processing is carried out on the fifth output current curve and the sixth output current curve to obtain a seventh output current curve; and scaling the seventh output current curve to obtain a target output current curve of the circuit unit under the target input conversion time and the target output capacitance.
In an embodiment, determining the first output current curve, the second output current curve, the third output current curve, and the fourth output current curve to be interpolated according to the target input transition time and the target output capacitance includes: searching a first input conversion time and a second input conversion time which are matched with the target input conversion time of the circuit unit in a current library of the circuit unit, and searching a first output capacitor and a second output capacitor which are matched with the target output capacitor of the circuit unit; searching a first output current curve corresponding to the first input conversion time and the first output capacitor, a second output current curve corresponding to the first input conversion time and the second output capacitor, a third output current curve corresponding to the second input conversion time and the first output capacitor and a fourth output current curve corresponding to the second input conversion time and the second output capacitor in the current library.
In an embodiment, the first input transition time is less than the target input transition time, and the second input transition time is greater than the target input transition time; and/or the first output capacitance is smaller than the target output capacitance, and the second output capacitance is larger than the target output capacitance.
In an embodiment, the first input conversion time is an input conversion time that is smaller than the target input conversion time in the current library and has a minimum absolute value of a difference value from the target input conversion time; the second input conversion time is an input conversion time which is larger than the target input conversion time in the current library and has the smallest absolute value of a difference value with the target input conversion time; the first output capacitor is smaller than the target output capacitor in the current bank, and the absolute value of the difference value between the first output capacitor and the target output capacitor is the smallest; the second output capacitor is an output capacitor which is larger than the target output capacitor in the current bank and has the smallest absolute value of the difference value with the target output capacitor.
In an embodiment, the step of interpolating the first output current curve, the second output current curve, the third output current curve, and the fourth output current curve to obtain a fifth output current curve and a sixth output current curve includes: interpolation processing is carried out on the first output current curve and the second output current curve to obtain a fifth output current curve; and carrying out interpolation processing on the third output current curve and the fourth output current curve to obtain a sixth output current curve.
In one embodiment, the step of interpolating the first output current curve and the second output current curve to obtain a fifth output current curve includes: performing time expansion processing on the first output current curve and the second output current curve to obtain a first output current curve after time expansion and a second output current curve after time expansion; interpolation processing is carried out on the first output current curve after time expansion and the second output current curve after time expansion, so that the fifth output current curve is obtained; and/or performing interpolation processing on the third output current curve and the fourth output current curve to obtain a sixth output current curve, including: performing time expansion processing on the third output current curve and the fourth output current curve to obtain a third output current curve after time expansion and a fourth output current curve after time expansion; and carrying out interpolation processing on the third output current curve after time expansion and the fourth output current curve after time expansion to obtain the sixth output current curve.
In one embodiment, the calculation formula of the current in the first output current curve after the time expansion is as follows The method comprises the steps of carrying out a first treatment on the surface of the Wherein I is M For T in the expanded first output current curve M The current corresponding to the moment, if the time sets and the current sets of the first output current curve and the second output current curve are respectively (Ta, ia), (Tb, ib), and the time union set of the first output current curve and the second output current curve is Tab, T M T is an element in Tab L And T H Is an element in Ta, and T L <T M <T H ,I L And I H Is an element in Ia, I L And I H Respectively isThe first output current curve is at T L Time and T H And current corresponding to the moment.
In one embodiment, the current of the fifth output current curve is calculated as follows:the method comprises the steps of carrying out a first treatment on the surface of the Wherein I is M Is the element of the time union of the first output current curve and the second output current curve, I L And I H And c2 is the target output capacitance, c1 is the first output capacitance corresponding to the first output current curve, and c3 is the second output capacitance corresponding to the second output current curve.
In an embodiment, the step of interpolating the fifth output current curve and the sixth output current curve to obtain a seventh output current curve includes: and carrying out normalization processing and/or current expansion processing on the fifth output current curve and the sixth output current curve, and then carrying out interpolation processing to obtain the seventh output current curve.
In an embodiment, the step of obtaining the seventh output current curve by performing interpolation processing after performing normalization processing and/or current expansion processing on the fifth output current curve and the sixth output current curve includes: normalizing the fifth output current curve and the sixth output current curve to obtain a normalized fifth output current curve and a normalized sixth output current curve; performing current expansion processing on the normalized fifth output current curve and the normalized sixth output current curve to obtain a fifth output current curve after current expansion and a sixth output current curve after current expansion; and carrying out interpolation processing on the fifth output current curve after current expansion and the sixth output current curve after current expansion to obtain the seventh output current curve.
In an embodiment, the step of performing current expansion processing on the normalized fifth output current curve and the normalized sixth output current curve to obtain a fifth output current curve after current expansion and a sixth output current curve after current expansion includes: acquiring a first demarcation point of the normalized fifth output current curve and a second demarcation point of the normalized sixth output current curve; expanding the currents in the normalized fifth output current curve before the first demarcation point and in the normalized sixth output current curve before the second demarcation point, and expanding the currents in the normalized fifth output current curve after the first demarcation point and in the normalized sixth output current curve after the second demarcation point to obtain a fifth output current curve after current expansion and a sixth output current curve after current expansion.
In one embodiment, the first demarcation point is the maximum value of the normalized fifth output current curve; and/or the second demarcation point is the maximum value of the normalized sixth output current curve.
In one embodiment, the calculation formula of the time before the first demarcation point in the fifth output current curve after the current expansion is as follows:the method comprises the steps of carrying out a first treatment on the surface of the Wherein the time set and the current set before the first demarcation point in the normalized fifth output current curve are (Te 1, ie 1), the time set and the current set before the second demarcation point in the normalized sixth output current curve are (Tf 1, if 1), the current union before the first demarcation point in the normalized fifth output current curve and before the second demarcation point in the normalized sixth output current curve is Ief1, then I M Is an element in Ief1, T M Is I M Corresponding time, I L And I H As an element in Ie1, I L <I M <I H ,T L And T H Respectively is I L And I H Corresponding time.
In one embodiment, the step of scaling the seventh output current curve to obtain a target output current curve of the circuit unit at the target input switching time and the target output capacitance includes: obtaining the maximum value of the fifth output current curve and the maximum value of the sixth output current curve; obtaining a scaling factor according to the maximum value of the fifth output current curve and the maximum value of the sixth output current curve; and scaling the seventh output current curve according to the scaling factor to obtain a target output current curve of the circuit unit under the target input conversion time and the target output capacitance.
In one embodiment, the scaling factor is calculated as follows:;/>wherein ratio is the scaling factor, ie max If, which is the maximum value of the fifth output current curve max The maximum value of the sixth output current curve,is the maximum value of the fifth output current curve and the maximum value of the sixth output current curve; tr2 is a target input switching time, tr1 is a first input switching time corresponding to the first output current curve and the second output current curve, and Tr3 is a second input switching time corresponding to the third output current curve and the fourth output current curve.
The application also provides an acquisition device of an output current curve, comprising: the target parameter acquisition module is used for acquiring target input conversion time and target output capacitance of the circuit unit; the curve confirmation module is used for determining a first output current curve, a second output current curve, a third output current curve and a fourth output current curve to be interpolated according to the target input conversion time and the target output capacitance; the curve processing module is used for carrying out interpolation processing on the first output current curve, the second output current curve, the third output current curve and the fourth output current curve to obtain a fifth output current curve and a sixth output current curve, and carrying out interpolation processing on the fifth output current curve and the sixth output current curve to obtain a seventh output current curve; and the target curve acquisition module is used for performing scaling processing on the seventh output current curve to obtain a target output current curve of the circuit unit under the target input conversion time and the target output capacitance.
The present application also provides a storage medium having stored thereon a computer program which, when executed by a processor, implements the steps of the current profile acquisition method as set forth in any one of the preceding claims.
The method and device for acquiring the current curve and the electronic equipment comprise the following steps: determining first to fourth output current curves to be interpolated according to the target input conversion time and the target output capacitance; interpolation processing is carried out on the first output current curve to the fourth output current curve to obtain a fifth output current curve and a sixth output current curve; interpolation processing is carried out on the fifth output current curve and the sixth output current curve to obtain a seventh output current curve; and scaling the seventh output current curve to obtain a target output current curve of the circuit unit under the target input conversion time and the target output capacitance. According to the current curve obtaining method, the electronic device and the storage medium, the target current curve of the circuit unit under any target input conversion time and the target output capacitor can be obtained through the first to fourth output current curves to be interpolated, the flexibility is good, the obtaining efficiency is high, in addition, the seventh output current curve obtained through interpolation processing is subjected to scaling processing, so that the target output current curve is obtained, and the accuracy of curve obtaining can be improved.
Drawings
Fig. 1 is a flow chart illustrating a method for acquiring a current curve according to an embodiment.
Fig. 2 is a schematic diagram showing a first output current curve and a second output current curve to be interpolated according to an embodiment.
Fig. 3 is a schematic diagram showing a third output current curve and a fourth output current curve to be interpolated according to an embodiment.
FIG. 4 is a schematic diagram illustrating first and second output current curves after a time expansion, according to one embodiment.
FIG. 5 is a schematic diagram illustrating third and fourth output current curves after time expansion, according to one embodiment.
FIG. 6 is a schematic diagram of a fifth output current curve, first and second output current curves after time expansion, according to an embodiment.
FIG. 7 is a schematic diagram showing a sixth output current curve, third and fourth output current curves after time expansion, according to an embodiment.
FIG. 8 is a schematic diagram showing a fifth output current curve after current expansion and a sixth output current curve after current expansion according to an embodiment.
FIG. 9 is a schematic diagram illustrating a fifth output current curve after current development, a sixth output current curve after current development, and a target output current curve according to one embodiment.
Fig. 10 is a schematic structural diagram of an output current curve acquisition device according to an embodiment.
Detailed Description
In order that the invention may be readily understood, a more complete description of the invention will be rendered by reference to the appended drawings. The drawings illustrate preferred embodiments of the invention. This invention may, however, be embodied in many different forms and should not be construed as limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete.
Unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this invention belongs. The terminology used herein in the description of the invention is for the purpose of describing particular embodiments only and is not intended to be limiting of the invention. The term "and/or" as used herein includes any and all combinations of one or more of the associated listed items. In the present invention, "each" includes one and two or more numbers.
Fig. 1 is a flow chart illustrating a method for acquiring a current curve according to an embodiment. As shown in fig. 1, the method for obtaining the current curve of the present application includes the following steps:
Step S1, acquiring target input conversion time and target output capacitance of a circuit unit;
step S2, determining a first output current curve, a second output current curve, a third output current curve and a fourth output current curve to be interpolated according to the target input conversion time and the target output capacitance;
step S3, interpolation processing is carried out on the first output current curve, the second output current curve, the third output current curve and the fourth output current curve to obtain a fifth output current curve and a sixth output current curve;
step S4, interpolation processing is carried out on the fifth output current curve and the sixth output current curve to obtain a seventh output current curve;
and S5, performing scaling processing on the seventh output current curve to obtain a target output current curve of the circuit unit under the target input conversion time and the target output capacitance.
According to the technical scheme, the target current curves of the circuit unit under any target input conversion time and target output capacitance can be obtained through interpolation processing on the four output current curves, the flexibility is good, the obtaining efficiency is high, in addition, scaling processing is carried out on the output current curves, and the accuracy of curve obtaining can be improved.
In one embodiment, the circuit unit may be, but is not limited to being, a standard unit. Alternatively, the standard cells include inverters, and gates, etc., each corresponding to a plurality of circuits of different sizes and different driving capabilities. The output of the standard cell is connected to a resistor-capacitor circuit (also called RC circuit). The equivalent circuit of the resistor-capacitor circuit connected to the output of the standard cell can be determined based on a predetermined circuit model, such as Pi model (Pi-model). Specifically, in an embodiment, the standard cell may be equivalently a driving voltage source. The resistor-capacitor circuit may be equivalently an equivalent circuit comprising a first capacitor, a second capacitor, and a resistor, wherein the first capacitor is connected in parallel with the second capacitor, and the resistor is connected in series between the first capacitor and the second capacitor. In an embodiment, the equivalent circuit may be further equivalent to an effective capacitance, i.e. an output capacitance.
In an embodiment, the input switching time (Input Transition Time, also called voltage switching time) may be a time when the driving voltage received by the equivalent circuit reaches the operating voltage.
In one embodiment, in a current bank, such as a composite current source (composite current source, CCS) bank, output current curves of a circuit unit, such as a standard unit, at a specific input switching time and a specific output capacitance are recorded, and the target input switching time and the target output capacitance are input switching time and output capacitance corresponding to a target output current curve not stored in the current bank. Specifically, the target input conversion time and/or the target output capacitance can be obtained through the input of the user, and the target input conversion time and/or the target output capacitance can also be obtained according to the system trigger information.
In one embodiment, step S2, determining a first output current curve, a second output current curve, a third output current curve, and a fourth output current curve to be interpolated according to a target input conversion time and a target output capacitance, includes: searching a first input conversion time and a second input conversion time which are matched with the target input conversion time of the circuit unit in a current library of the circuit unit, and searching a first output capacitor and a second output capacitor which are matched with the target output capacitor of the circuit unit; searching a first output current curve corresponding to the first input conversion time and the first output capacitor, a second output current curve corresponding to the first input conversion time and the second output capacitor, a third output current curve corresponding to the second input conversion time and the first output capacitor and a fourth output current curve corresponding to the second input conversion time and the second output capacitor in a current library.
In one embodiment, the first input transition time is less than the target input transition time and the second input transition time is greater than the target input transition time; the first output capacitance is less than the target output capacitance and the second output capacitance is greater than the target output capacitance. Specifically, for example, if the first input transition time is Tr1, the target input transition time is Tr2, and the second input transition time is Tr3, tr1< Tr2< Tr3. If the first output capacitance is Tr1, the target output capacitance is Tr2, and the second output capacitance is Tr3, C1< C2< C3. In other embodiments, at least one of the first input transition time and the second input transition time may also be, but is not limited to being, the same as the target input transition time. At least one of the first output capacitance and the second output capacitance may also be, but is not limited to being, the same as the target output capacitance.
Specifically, in order to further improve the accuracy of the obtained target output current curve, the first input conversion time is an input conversion time that is smaller than the target input conversion time in the current library and has the smallest absolute value of the difference from the target input conversion time. The second input conversion time is the input conversion time which is larger than the target input conversion time in the current bank and has the smallest absolute value of the difference value with the target input conversion time. The first output capacitor is smaller than the target output capacitor in the current bank, and the absolute value of the difference value between the first output capacitor and the target output capacitor is the smallest. The second output capacitor is an output capacitor which is larger than the target output capacitor in the current bank and has the smallest absolute value of the difference value with the target output capacitor.
In an embodiment, step S3, performing interpolation processing on the first output current curve, the second output current curve, the third output current curve and the fourth output current curve to obtain a fifth output current curve and a sixth output current curve, includes: interpolation processing is carried out on the first output current curve and the second output current curve to obtain a fifth output current curve; and carrying out interpolation processing on the third output current curve and the fourth output current curve to obtain a sixth output current curve.
Specifically, in an embodiment, the step of interpolating the first output current curve and the second output current curve to obtain the fifth output current curve may include, but is not limited to: performing time expansion processing on the first output current curve and the second output current curve to obtain a first output current curve after time expansion and a second output current curve after time expansion; interpolation processing is carried out on the first output current curve after time expansion and the second output current curve after time expansion, so that a fifth output current curve is obtained. In one embodiment, the step of interpolating the third output current curve and the fourth output current curve to obtain a sixth output current curve includes: performing time expansion processing on the third output current curve and the fourth output current curve to obtain a third output current curve after time expansion and a fourth output current curve after time expansion; and performing interpolation processing on the third output current curve after time expansion and the fourth output current curve after time expansion to obtain a sixth output current curve.
The time expansion processing is processing for expanding the time of the current curve, namely, increasing the element in the time concentration of the current curve. In an embodiment, the time of the first output current curve can be expanded by the time set of the second output current curve; and/or expanding the time of the second output current curve through the time set of the first output current curve; and/or the time of the third output current curve can be expanded through the time set of the fourth output current curve; and/or the time of the fourth output current curve can be extended by the time set of the third output current curve. In other embodiments, the time of the first, second, third or fourth output current curves may also be extended by a time set of other output current curves.
In an embodiment, the time sets of the first output current curve and the second output current curve may be expanded into the union of the first output current curve and the second output current curve by an algorithm such as a linear interpolation or a nonlinear interpolation algorithm, or the time sets of the third output current curve and the fourth output current curve may be expanded into the union of the third output current curve and the fourth output current curve.
Specifically, the calculation formula of the current in the first output current curve after the time expansion can be thatThe method comprises the steps of carrying out a first treatment on the surface of the Wherein I is M For T in the expanded first output current curve M The current corresponding to the moment, if the time sets and the current sets of the first output current curve and the second output current curve are respectively (Ta, ia), (Tb, ib), and the time union set of the first output current curve and the second output current curve is Tab, T M T is an element in Tab L And T H Is an element in Ta, and T L <T M <T H ,I L And I H Is an element in Ia, I L And I H Respectively the first output current curve is at T L Time and T H And current corresponding to the moment. Specifically, the calculation formula of the current in the second, third or fourth output current curve after the time expansion may refer to the calculation formula of the current in the first output current curve after the time expansion, which is not described herein. Specifically, in an embodiment, the current corresponding to the extended curve for a time exceeding the latest time of the curve before extension (i.e., the original curve) may be set to 0.
In an embodiment, the time expansion processing is performed on the first output current curve a and the second output current curve b shown in fig. 2, so that a first output current curve a 'after time expansion and a second output current curve b' after time expansion shown in fig. 4 can be obtained respectively. The third output current curve c and the fourth output current curve d shown in fig. 3 are subjected to time expansion processing, so that a third output current curve c 'after time expansion and a fourth output current curve d' after time expansion shown in fig. 5 can be obtained respectively. In the current curve diagrams, for example, the abscissa in fig. 1 to 5 represents time, and the ordinate represents current.
Specifically, in an embodiment, the first output current curve after the time expansion and the second output current curve after the time expansion may be subjected to linear interpolation to obtain a fifth valueAnd outputting a current curve. Specifically, in one embodiment, the calculation formula of the current of the fifth output current curve may be as follows:the method comprises the steps of carrying out a first treatment on the surface of the Wherein I is M Is the element of the time union of the first output current curve and the second output current curve, I L And I H For the current corresponding to the first output current curve after time expansion and the second output current curve after time expansion under the same time, c2 is the target output capacitance, c1 is the first output capacitance corresponding to the first output current curve, and c3 is the second output capacitance corresponding to the second output current curve. However, the present application is not limited thereto, and the fifth output current curve may be obtained by a nonlinear interpolation method.
Specifically, in an embodiment, the third output current curve after the time expansion and the fourth output current curve after the time expansion may be subjected to linear interpolation processing to obtain a sixth output current curve. In other embodiments, a nonlinear interpolation process may be used to obtain the sixth output current curve. The calculation formula of the current of the sixth output current curve may refer to the calculation formula of the current of the fifth output current curve, which is not described herein.
Specifically, referring to fig. 6 and 7, interpolation processing may be performed on the first output current curve a 'after time expansion and the second output current curve b' after time expansion to obtain a fifth output current curve e, and interpolation processing may be performed on the third output current curve c 'after time expansion and the fourth output current curve d' after time expansion to obtain a sixth output current curve f.
In an embodiment, step S4, performing interpolation processing on the fifth output current curve and the sixth output current curve to obtain a seventh output current curve may include: and carrying out normalization processing and/or current expansion processing on the fifth output current curve and the sixth output current curve, and then carrying out interpolation processing to obtain a seventh output current curve.
The normalization process is to adjust the data in the curve to the same scale or the same range. Expanding the current of the curve into elements which concentrate the current of the curve.
In one embodiment, the step of obtaining a seventh output current curve by performing interpolation processing after performing normalization processing and/or current expansion processing on the fifth output current curve and the sixth output current curve includes: normalizing the fifth output current curve and the sixth output current curve to obtain a normalized fifth output current curve and a normalized sixth output current curve; carrying out current expansion processing on the normalized fifth output current curve and the normalized sixth output current curve to obtain a fifth output current curve after current expansion and a sixth output current curve after current expansion; interpolation processing is carried out on the fifth output current curve after current expansion and the sixth output current curve after current expansion, and a seventh output current curve is obtained.
Specifically, in an embodiment, the current expansion process may be performed on the fifth output current curve by using the sixth output current curve, but not limited to, and the current expansion process may also be performed on the sixth output current curve by using the fifth output current curve.
In one embodiment, the step of performing current expansion processing on the normalized fifth output current curve and the normalized sixth output current curve to obtain a fifth output current curve after current expansion and a sixth output current curve after current expansion includes: acquiring a first demarcation point of a normalized fifth output current curve and a second demarcation point of a normalized sixth output current curve; expanding the current in the normalized fifth output current curve before the first demarcation point and in the normalized sixth output current curve before the second demarcation point, and expanding the current in the normalized fifth output current curve after the first demarcation point and in the normalized sixth output current curve after the second demarcation point to obtain a fifth output current curve after current expansion and a sixth output current curve after current expansion.
Specifically, in an embodiment, the current set located before the first demarcation point in the normalized fifth output current curve may be expanded into a union set of the current set located before the first demarcation point in the normalized fifth output current curve and the current set located before the second demarcation point in the normalized sixth output current curve by an interpolation algorithm. And expanding the current set positioned in front of the second boundary point in the normalized sixth output current curve into a union set of the current set positioned in front of the first boundary point in the normalized fifth output current curve and the current set positioned in front of the second boundary point in the normalized sixth output current curve through an interpolation algorithm. And expanding the current set positioned behind the first demarcation point in the normalized fifth output current curve into a union set of the current set positioned behind the first demarcation point in the normalized fifth output current curve and the current set positioned behind the second demarcation point in the normalized sixth output current curve through an interpolation algorithm. And expanding the current set positioned at the second boundary point in the normalized sixth output current curve into a union set of the current set positioned at the first boundary point in the normalized fifth output current curve and the current set positioned at the second boundary point in the normalized sixth output current curve through an interpolation algorithm.
Specifically, in one embodiment, the first demarcation point is the maximum value of the normalized fifth output current curve; and/or the second split point is the maximum value of the normalized sixth output current curve. In other embodiments, the first demarcation or the second demarcation point may be other points as well.
Specifically, in one embodiment, the calculation formula of the time before the first demarcation point in the fifth output current curve after the current expansion is as follows:
wherein if the time set and the current set before the first demarcation point in the normalized fifth output current curve are (Te 1, ie 1), the time set before the second demarcation point in the normalized sixth output current curveAnd the current set is (Tf 1, if 1), the current union before the first demarcation point in the normalized fifth output current curve and before the second demarcation point in the normalized sixth output current curve is Ief1, then I M Ief 1=Ie1 U.If1, T M Is I M Corresponding time, I L And I H As an element in Ie1, I L <I M <I H ,T L And T H Respectively is I L And I H Corresponding time.
The calculation formulas of the time after the first demarcation point in the fifth output current curve after the current expansion and the calculation formulas of the time before the second demarcation point and the time after the second demarcation point in the sixth output current curve after the current expansion can refer to the formulas, and are not repeated herein.
In an embodiment, if the fifth output current curve after current expansion before the first demarcation point is e '_1, the fifth output current curve after current expansion after the first demarcation point is e' _2, the fifth output current curve after current expansion e″ after current expansion is [ e '_1, e' _2], if the sixth output current curve after current expansion before the second demarcation point is f '_1, the sixth output current curve after current expansion after the second demarcation point is f' _2, the sixth output current curve after current expansion f '= [ e' _1, e '_2], concretely, please refer to fig. 8, the fifth output current curve after current expansion is e″ and the sixth output current curve after current expansion is f'.
In one embodiment, step S5 performs scaling processing on the seventh output current curve to obtain a target output current curve of the circuit unit under the target input switching time and the target output capacitance, including: obtaining the maximum value of the fifth output current curve and the maximum value of the sixth output current curve; obtaining a scaling factor according to the maximum value of the fifth output current curve and the maximum value of the sixth output current curve; and scaling the seventh output current curve according to the scaling factor to obtain a target output current curve of the circuit unit under the target input conversion time and the target output capacitance.
Specifically, in one embodiment, the scaling factor may be, but is not limited to being, determined by the difference between the maximum value of the fifth output current curve and the maximum value of the sixth output current curve. In other embodiments, the scaling factor may be determined by a difference between a maximum value of the fifth output current curve and a maximum value of the sixth output current curve, a difference between the target input transition time and the first input transition time, and a difference between the target input transition time and the second input transition time, or may be determined by other values set by the user, or the like.
In one embodiment, the scaling factor is calculated as follows:
;
;
wherein ratio is a scaling factor, ig max For maximum value of target output current curve Ie max For the maximum value of the fifth output current curve, if max The maximum value of the sixth output current curve,the maximum value of the fifth output current curve and the maximum value of the sixth output current curve; tr2 is the target input transition time, tr1 is the first input transition time corresponding to the first output current curve and the second output current curve, and Tr3 is the second input transition time corresponding to the third output current curve and the fourth output current curve.
In an embodiment, scaling the seventh output current curve according to the scaling factor to obtain the target output current curve of the circuit unit at the target input switching time and the target output capacitance may, but is not limited to, include: dividing the current corresponding to the seventh output current curve by a scaling factor to obtain the current corresponding to the target output current curve.
Referring to fig. 9, the fifth output current curve after current expansion is e ", the sixth output current curve after current expansion is f", and the target output current curve is g.
According to the current curve obtaining method, the device, the electronic equipment and the storage medium, the target current curve of the circuit unit under any target input conversion time and the target output capacitor can be obtained through the first to fourth output current curves to be interpolated, the flexibility is good, the obtaining efficiency is high, in addition, the seventh output current curve obtained through interpolation processing is subjected to scaling processing, so that the target output current curve is obtained, and the accuracy of curve obtaining can be improved.
As shown in fig. 10, the present application further provides an apparatus for obtaining an output current curve, including:
a target parameter obtaining module 101, configured to obtain a target input conversion time and a target output capacitance of the circuit unit;
The curve confirmation module 102 is configured to determine a first output current curve, a second output current curve, a third output current curve, and a fourth output current curve to be interpolated according to the target input conversion time and the target output capacitance;
the curve processing module 103 is configured to perform interpolation processing on the first output current curve, the second output current curve, the third output current curve, and the fourth output current curve to obtain a fifth output current curve and a sixth output current curve, and perform interpolation processing on the fifth output current curve and the sixth output current curve to obtain a seventh output current curve;
the target curve obtaining module 104 is configured to perform scaling processing on the seventh output current curve, so as to obtain a target output current curve of the circuit unit under the target input conversion time and the target output capacitance.
The working principle of each module of the acquiring device may be described with reference to a corresponding method, which is not described herein.
The application also provides an electronic device comprising a storage medium and a controller, wherein the storage medium is stored with a computer program, and the computer program realizes the steps of the current curve acquisition method when being executed by the controller.
The present application also provides a storage medium having stored thereon a computer program which, when executed by a processor, implements the steps of the current profile acquisition method as described above.
The above examples merely represent a few embodiments of the present application, which are described in more detail and are not to be construed as limiting the scope of the invention. It should be noted that it would be apparent to those skilled in the art that various modifications and improvements could be made without departing from the spirit of the present application, which would be within the scope of the present application. Accordingly, the scope of protection of the present application is to be determined by the claims appended hereto.

Claims (16)

1. A method for obtaining a current curve, the method comprising the steps of:
determining a target input switching time and a target output capacitance of the circuit unit;
determining a first output current curve, a second output current curve, a third output current curve and a fourth output current curve to be interpolated according to the target input conversion time and the target output capacitance;
interpolation processing is carried out on the first output current curve, the second output current curve, the third output current curve and the fourth output current curve to obtain a fifth output current curve and a sixth output current curve;
Interpolation processing is carried out on the fifth output current curve and the sixth output current curve to obtain a seventh output current curve;
and scaling the seventh output current curve to obtain a target output current curve of the circuit unit under the target input conversion time and the target output capacitance.
2. The method of claim 1, wherein the step of determining a first output current profile, a second output current profile, a third output current profile, and a fourth output current profile to be interpolated based on the target input transition time and the target output capacitance comprises:
searching a first input conversion time and a second input conversion time which are matched with the target input conversion time of the circuit unit in a current library of the circuit unit, and searching a first output capacitor and a second output capacitor which are matched with the target output capacitor of the circuit unit;
searching a first output current curve corresponding to the first input conversion time and the first output capacitor, a second output current curve corresponding to the first input conversion time and the second output capacitor, a third output current curve corresponding to the second input conversion time and the first output capacitor and a fourth output current curve corresponding to the second input conversion time and the second output capacitor in the current library.
3. The method of claim 2, wherein the step of determining the position of the substrate comprises,
the first input conversion time is less than the target input conversion time, and the second input conversion time is greater than the target input conversion time; and/or
The first output capacitance is less than the target output capacitance, and the second output capacitance is greater than the target output capacitance.
4. A method according to claim 3, wherein the first input transition time is an input transition time in the current bank that is less than the target input transition time and has a minimum absolute value of a difference from the target input transition time;
the second input conversion time is an input conversion time which is larger than the target input conversion time in the current library and has the smallest absolute value of a difference value with the target input conversion time;
the first output capacitor is smaller than the target output capacitor in the current bank, and the absolute value of the difference value between the first output capacitor and the target output capacitor is the smallest;
the second output capacitor is an output capacitor which is larger than the target output capacitor in the current bank and has the smallest absolute value of the difference value with the target output capacitor.
5. A method according to claim 1 or 3, wherein the step of interpolating the first, second, third and fourth output current curves to obtain a fifth and sixth output current curve comprises:
interpolation processing is carried out on the first output current curve and the second output current curve to obtain a fifth output current curve;
and carrying out interpolation processing on the third output current curve and the fourth output current curve to obtain a sixth output current curve.
6. The method of claim 5, wherein the step of determining the position of the probe is performed,
the step of interpolating the first output current curve and the second output current curve to obtain a fifth output current curve includes:
performing time expansion processing on the first output current curve and the second output current curve to obtain a first output current curve after time expansion and a second output current curve after time expansion;
interpolation processing is carried out on the first output current curve after time expansion and the second output current curve after time expansion, so that the fifth output current curve is obtained; and/or
The step of interpolating the third output current curve and the fourth output current curve to obtain a sixth output current curve includes:
performing time expansion processing on the third output current curve and the fourth output current curve to obtain a third output current curve after time expansion and a fourth output current curve after time expansion;
and carrying out interpolation processing on the third output current curve after time expansion and the fourth output current curve after time expansion to obtain the sixth output current curve.
7. The method of claim 6, wherein the calculation formula of the current in the time-expanded first output current curve is
Wherein I is M For T in the expanded first output current curve M The current corresponding to the moment, if the time sets and the current sets of the first output current curve and the second output current curve are respectively (Ta, ia), (Tb, ib), and the time union set of the first output current curve and the second output current curve is Tab, T M T is an element in Tab L And T H Is an element in Ta, and T L <T M <T H ,I L And I H Is an element in Ia, I L And I H Respectively the first output current curve is at T L Time and T H And current corresponding to the moment.
8. The method of claim 6, wherein the current of the fifth output current curve is calculated as follows:
wherein I is M Is the element of the time union of the first output current curve and the second output current curve, I L And I H And c2 is the target output capacitance, c1 is the first output capacitance corresponding to the first output current curve, and c3 is the second output capacitance corresponding to the second output current curve.
9. The method of claim 1, wherein the step of interpolating the fifth output current curve and the sixth output current curve to obtain a seventh output current curve comprises:
normalizing the fifth output current curve and the sixth output current curve to obtain a normalized fifth output current curve and a normalized sixth output current curve;
performing current expansion processing on the normalized fifth output current curve and the normalized sixth output current curve to obtain a fifth output current curve after current expansion and a sixth output current curve after current expansion;
And carrying out interpolation processing on the fifth output current curve after current expansion and the sixth output current curve after current expansion to obtain the seventh output current curve.
10. The method of claim 9, wherein the step of performing a current expansion process on the normalized fifth output current curve and the normalized sixth output current curve to obtain a current expanded fifth output current curve and a current expanded sixth output current curve, comprises:
acquiring a first demarcation point of the normalized fifth output current curve and a second demarcation point of the normalized sixth output current curve;
expanding the currents in the normalized fifth output current curve before the first demarcation point and in the normalized sixth output current curve before the second demarcation point, and expanding the currents in the normalized fifth output current curve after the first demarcation point and in the normalized sixth output current curve after the second demarcation point to obtain a fifth output current curve after current expansion and a sixth output current curve after current expansion.
11. The method of claim 10, wherein the first demarcation point is a maximum of the normalized fifth output current curve; and/or the second demarcation point is the maximum value of the normalized sixth output current curve.
12. The method of claim 10, wherein the calculation formula of the time before the first demarcation point in the fifth current developed output current curve is as follows:
wherein If the time set and the current set before the first demarcation point in the normalized fifth output current curve are (Te 1, ie 1), the time set and the current set before the second demarcation point in the normalized sixth output current curve are (Tf 1, if 1), and the current union set before the first demarcation point in the normalized fifth output current curve and before the second demarcation point in the normalized sixth output current curve is Ief1, I M Is an element in Ief1, T M Is I M Corresponding time, I L And I H As an element in Ie1, I L <I M <I H ,T L And T H Respectively is I L And I H Corresponding time.
13. The method of claim 1, wherein the step of scaling the seventh output current curve to obtain a target output current curve for the circuit unit at the target input transition time and target output capacitance comprises:
Obtaining the maximum value of the fifth output current curve and the maximum value of the sixth output current curve;
obtaining a scaling factor according to the maximum value of the fifth output current curve and the maximum value of the sixth output current curve;
and scaling the seventh output current curve according to the scaling factor to obtain a target output current curve of the circuit unit under the target input conversion time and the target output capacitance.
14. The method of claim 13, wherein the scaling factor is calculated as:
;
;
wherein ratio is the scaling factor, ie max For the maximum value of the fifth output current curve, ig max If, which is the maximum value of the target output current curve max The maximum value of the sixth output current curve,is the maximum value of the fifth output current curve and the maximum value of the sixth output current curve; tr2 is a target input switching time, tr1 is a first input switching time corresponding to the first output current curve and the second output current curve, and Tr3 is a second input switching time corresponding to the third output current curve and the fourth output current curve.
15. An electronic device comprising a storage medium and a controller, characterized in that the storage medium has stored thereon a computer program which, when executed by the controller, implements the steps of the current profile acquisition method according to any one of claims 1 to 14.
16. A storage medium having stored thereon a computer program which, when executed by a processor, implements the steps of the current profile acquisition method according to any one of claims 1 to 14.
CN202311799007.XA 2023-12-26 Current curve acquisition method, electronic device and storage medium Active CN117473921B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311799007.XA CN117473921B (en) 2023-12-26 Current curve acquisition method, electronic device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311799007.XA CN117473921B (en) 2023-12-26 Current curve acquisition method, electronic device and storage medium

Publications (2)

Publication Number Publication Date
CN117473921A true CN117473921A (en) 2024-01-30
CN117473921B CN117473921B (en) 2024-05-28

Family

ID=

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011172002A (en) * 2010-02-18 2011-09-01 Renesas Electronics Corp Nonlinear processing circuit, nonlinear processing method, contrast correction circuit and contrast correction method
CN113033136A (en) * 2021-02-08 2021-06-25 山东大学 Simplified photovoltaic cell physical parameter extraction optimization method and system
CN113225867A (en) * 2021-04-28 2021-08-06 广州彩熠灯光股份有限公司 Dimming curve expansion method and device, computer equipment and storage medium
CN113341319A (en) * 2021-04-19 2021-09-03 北京交通大学 Method for obtaining discharge curve at any temperature and multiplying power based on parameter interpolation

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011172002A (en) * 2010-02-18 2011-09-01 Renesas Electronics Corp Nonlinear processing circuit, nonlinear processing method, contrast correction circuit and contrast correction method
CN113033136A (en) * 2021-02-08 2021-06-25 山东大学 Simplified photovoltaic cell physical parameter extraction optimization method and system
CN113341319A (en) * 2021-04-19 2021-09-03 北京交通大学 Method for obtaining discharge curve at any temperature and multiplying power based on parameter interpolation
CN113225867A (en) * 2021-04-28 2021-08-06 广州彩熠灯光股份有限公司 Dimming curve expansion method and device, computer equipment and storage medium

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
ANANG TJAHJONO 等: "Modelling non-standard over current relay characteristic curves using combined lagrange polynomial interpolation and curve fitting", 《IEEE XPLORE》, 23 January 2017 (2017-01-23) *
严兰兰 等: "形状可调插值曲线曲面的参数选择", 中国图象图形学报, no. 12, 31 December 2016 (2016-12-31) *
陈哲明 等: "基于迭代学习的开关磁阻电动机最优控制研究", 《浙江大学学报(工学版)》, 1 February 2006 (2006-02-01) *

Similar Documents

Publication Publication Date Title
CN105548862B (en) A kind of analog-circuit fault diagnosis method based on broad sense multi-kernel support vector machine
Hsiao et al. State analysis and parameter estimation of bilinear systems via Haar wavelets
Kalluri et al. Fast algorithms for weighted myriad computation by fixed-point search
CN115409855B (en) Image processing method, device, electronic equipment and storage medium
CN104462772A (en) Method and system for generating efficiency pulse chart of electric car drive system
CN1195823A (en) Interpolator using plurality of polynomial equations and associated methods
CN110362881B (en) Microwave power device nonlinear model method based on extreme learning machine
CN100454187C (en) Chaos generation method based on direct delay feedback
CN117473921B (en) Current curve acquisition method, electronic device and storage medium
CN111537776A (en) Traveling wave head calibration method, device, terminal and medium
CN117473921A (en) Current curve acquisition method, electronic device and storage medium
Yang et al. A novel fractional-order signal processing based edge detection method
CN101206236B (en) Device and method for detecting phase difference
US20030209230A1 (en) Apparatus for processing knock sensor signal
CN115097899B (en) High-response power supply waveform simulation method
CN109991872B (en) Simulation method of modular multilevel converter
Aue et al. Segmenting mean-nonstationary time series via trending regressions
CN114185014B (en) Parallel convolution method and device applied to radar signal processing
CN116054581A (en) Fractional order modeling method for dual-active bridge converter based on fractional order capacitor
Isabelle A signal processing framework for the analysis and application of chaotic systems
CN114915234A (en) Motor and harmonic noise optimization method and device thereof
Falade et al. On numerical computational solution of seventh order boundary values problems
US20040205682A1 (en) Method and apparatus for detecting and analyzing the propagation of noise through an integrated circuit
US20120245904A1 (en) Waveform-based digital gate modeling for timing analysis
CA2406694A1 (en) Method for examining macromolecules

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant