Triangular wave-based correction method, device and system, chip and equipment

By using adaptive correction step size correction codewords in triangular wave spread frequency, the problem of unstable triangle wave amplitude caused by process angle changes in traditional fixed value mode is solved, and the flexibility and robustness of the system are improved.

CN119561526APending Publication Date: 2025-03-04HEFEI AIWEI INTEGRATED CIRCUIT TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411597815.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-11-08
Publication Date
2025-03-04

AI Technical Summary

Technical Problem

In the traditional method of using fixed value mode frequency spreading, the ratio of the corrected codeword changes based on typical process angle design will change with the change of process angle, resulting in the amplitude of the triangle wave also changing, and the accuracy is low.

Method used

By determining the correction coefficient based on the correction codeword of the triangular wave amplitude, the correction coefficient is related to the process angle; based on the correction coefficient and the correction codeword under the typical process angle, the correction codeword based on the correction step size is determined; the correction codeword is used to adapt to different process angle changes and perform amplitude correction of the triangle wave at the atypical process angle.

Benefits of technology

It improves the flexibility and robustness of the system, ensures that the triangular wave amplitude remains stable at different process angles, and solves the problem of low accuracy in traditional methods.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119561526A_ABST
    Figure CN119561526A_ABST
Patent Text Reader

Abstract

The embodiment of the invention relates to the technical field of electronic information, and discloses a correction method, device and system based on triangular waves, a chip and equipment. The method comprises the following steps: determining a correction coefficient according to a correction code word of a triangular wave amplitude; wherein the correction coefficient is related to a process angle; determining a correction code word based on a correction step length based on the correction coefficient and the correction code word based on the typical process corner; the correction code word based on the correction step length is used for self-adapting to different process angle changes; and under an atypical process corner, performing amplitude correction on the triangular wave according to the correction code word based on the correction step length. The technical problem that the accuracy is low in a traditional method for spreading spectrum in a fixed value mode can be solved at least.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of electronic information technology, and in particular to a correction method, device, system, chip and equipment based on a triangle wave. Background Art

[0002] Triangular waves are widely used in pulse width modulation (PWM) circuits. However, when the target frequency of the triangular wave is fixed at F, its energy is relatively concentrated, which may cause electromagnetic interference (EMI) problems in the system.

[0003] In order to reduce the electromagnetic interference (EMI) problem caused by triangular wave modulation, the triangular wave needs to be spread spectrum processed. During the spread spectrum process, the amplitude of the triangular wave needs to be corrected. In the related art, a fixed value mode is generally used to correct the amplitude of the triangular wave.

[0004] However, the inventors have found that there are at least the following technical problems in the related technology: the correction codeword change ratio designed based on the typical process angle will change with the change of the process angle, which will cause the amplitude of the triangular wave to change. Therefore, the method of using a fixed value mode for correction has low accuracy. Summary of the invention

[0005] One object of the present application is to provide a correction method, apparatus, system, chip and device based on a triangle wave, at least to solve the technical problem of low accuracy in the traditional method of using a fixed value mode spread spectrum.

[0006] To achieve the above objectives, some embodiments of the present application provide the following aspects:

[0007] In the first aspect, some embodiments of the present application also provide a correction method based on a triangular wave, the method comprising: determining a correction coefficient based on a correction codeword of the triangular wave amplitude; wherein the correction coefficient is related to the process angle; determining a correction codeword based on a correction step length based on the correction coefficient and a correction codeword based on a typical process angle; the correction codeword based on the correction step length is used to adapt to different process angle changes; at a non-typical process angle, performing amplitude correction on the triangular wave according to the correction codeword based on the correction step length.

[0008] In a second aspect, some embodiments of the present application further provide a correction device based on a triangular wave, characterized in that the device is used to execute the method as described above, and the device at least includes: a first determination module, a second determination module and a correction module; the first determination module is used to determine a correction coefficient based on a correction codeword of the triangular wave amplitude; wherein the correction coefficient is related to the process angle; the second determination module is used to determine a correction codeword based on a correction step length based on the correction coefficient and a correction codeword based on a typical process angle; the correction codeword based on a correction step length is used to adapt to different process angle changes; the correction module is used to perform amplitude correction on the triangular wave at a non-typical process angle according to the correction codeword based on a correction step length.

[0009] In a third aspect, some embodiments of the present application further provide a correction system based on a triangular wave, the system comprising an analog device and a digital device; the digital device is loaded with the aforementioned correction device based on a triangular wave; the digital device is used to determine a correction codeword for the amplitude of the triangular wave; the analog device is used to perform triangular wave spread spectrum according to the correction codeword determined by the digital device; the digital device is also used to determine a correction codeword based on a correction step length through the correction device, so that the analog device can perform amplitude correction on the spread triangular wave according to the correction codeword based on the correction step length.

[0010] In a fourth aspect, some embodiments of the present application further provide a chip, comprising the correction device based on the triangular wave as described above, and / or the correction system based on the triangular wave as described above.

[0011] In a fifth aspect, some embodiments of the present application further provide an electronic device, comprising: one or more processors; and a memory storing computer program instructions, wherein the computer program instructions, when executed, cause the processor to perform the steps of the method described above.

[0012] Compared with the related art, in the solution provided by the embodiment of the present application, the correction coefficient is determined by the correction codeword according to the amplitude of the triangular wave; wherein the correction coefficient is related to the process angle; then based on the correction coefficient and the correction codeword under the typical process angle, the correction codeword based on the correction step length is determined; the correction codeword based on the correction step length is used to adapt to different process angle changes; under the non-typical process angle, the amplitude of the triangular wave is corrected according to the correction codeword based on the correction step length. It can be seen that in the embodiment of the present application, by using the amplitude of the triangular wave to construct the correction coefficient of the correction codeword, for example, the correction codeword of the amplitude of the triangular wave can be used to construct the correction coefficient, and the offset of the amplitude of the triangular wave caused by the change of the process angle Corner can be adaptively adjusted after the spread spectrum is spread, which can solve the technical problem that in the traditional method of using the fixed value mode to spread the correction codeword, the change ratio of the correction codeword designed based on the typical process angle will change with the change of the process angle, thereby causing the amplitude of the triangular wave to change, thereby achieving the purpose of improving the flexibility and robustness of the system. BRIEF DESCRIPTION OF THE DRAWINGS

[0013] One or more embodiments are exemplarily described by pictures in the corresponding drawings, and these exemplified descriptions do not constitute limitations on the embodiments. Elements with the same reference numerals in the drawings represent similar elements, and unless otherwise stated, the figures in the drawings do not constitute proportional limitations.

[0014] Figure 1 An exemplary flow chart of a correction method based on a triangle wave according to some embodiments of the present application;

[0015] Figure 2 is a target amplitude V of a triangular wave provided based on relevant technology pp Schematic diagram of circuit design of the generation principle;

[0016] Figure 3 An exemplary schematic diagram of the performance of an amplitude-corrected triangle wave in one cycle provided based on the related art;

[0017] Figure 4 An exemplary schematic diagram of generating an output signal through an integrator when a fixed input signal is used based on the related art and comparing the output signal with a triangular wave signal;

[0018] Figure 5 An exemplary schematic diagram of generating an output signal through an integrator and comparing it with a triangular wave signal in a triangular wave-based correction method provided according to some embodiments of the present application;

[0019] Figure 6 An exemplary schematic diagram of a correction system based on a triangle wave according to some embodiments of the present application

[0020] Figure 7 This is an exemplary schematic diagram of an electronic device provided according to some embodiments of the present application. DETAILED DESCRIPTION

[0021] In order to make the purpose, technical solution and advantages of the embodiments of the present application clearer, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.

[0022] The following terms are used in this article.

[0023] Calibration codewords refer to a set of data used to adjust or calibrate the performance of equipment in digital circuits or systems. These data can be digital signals or parameters to ensure that the circuit or system reaches the expected performance standard under specific working conditions.

[0024] Typical process angle refers to the parameter setting under ideal or expected manufacturing conditions. It represents the value that the component parameters are most likely to reach in the standard process flow. When designing, engineers will use the typical process angle as a benchmark to ensure that the circuit can work properly under these conditions.

[0025] Atypical process corners include the best process corner and the worst process corner. The best process corner refers to the situation when all parameters reach the most ideal state, such as the values ​​of resistance and capacitance are smaller than expected, and the performance of the transistor is better than expected. The worst process corner refers to the situation when all parameters reach the least ideal state, such as the values ​​of resistance and capacitance are larger than expected, and the performance of the transistor is worse than expected. In addition to the best and worst, there may be other atypical process corners, which take into account extreme cases under different parameter combinations.

[0026] First embodiment

[0027] The first embodiment of the present application relates to a correction method based on a triangle wave. Figure 1 As shown, the method may include the following steps:

[0028] Step S101, determining a correction coefficient according to a correction code word of the triangle wave amplitude; wherein the correction coefficient is related to the process angle;

[0029] Step S102, determining a correction codeword based on a correction step length based on the correction coefficient and the correction codeword under a typical process angle; the correction codeword based on the correction step length is used to adapt to different process angle changes;

[0030] Step S103 , performing amplitude correction on the triangle wave according to the correction codeword based on the correction step length under the non-typical process angle.

[0031] The following is a detailed description of each of the above steps.

[0032] Regarding step S101, specifically, in some examples, it can be understood that a triangular wave is a periodic voltage or current waveform, which is similar in shape to a triangle and is a commonly used test signal. Exemplarily, the target amplitude V of the triangular wave can be determined as pp , measure the actual amplitude of the triangular wave at different process angles, and for each process angle, calculate the difference between the actual amplitude and the target amplitude. And determine the correction coefficient based on the amplitude difference. In some examples, the correction coefficient is a proportional factor used to adjust the correction codeword of the triangular wave amplitude to compensate for the amplitude difference. In an embodiment of the present application, the correction coefficient is specifically related to the process angle Corner. Among them, the correction codeword is a digital value used to adjust the analog circuit to compensate for the amplitude difference.

[0033] Regarding step S102, specifically, in some examples, a correction codeword based on a correction step length may be determined based on the correction coefficient and the correction codeword based on a typical process angle; the correction codeword based on the correction step length is used to adapt to different process angle changes.

[0034] Regarding step S103, specifically, in some examples, the spread spectrum technology reduces electromagnetic interference (EMI) by adjusting the frequency of the signal and improves the anti-interference and safety of the signal. After the spread spectrum is performed, the correction codeword based on the correction step length is used to determine the change in the modulation frequency, and the change determines the frequency jump range and rate of the spread spectrum signal. In this way, that is, after the spread spectrum is performed, the correction codeword based on the correction step length determines the magnitude of the output clock frequency offset relative to the original clock frequency.

[0035] It is not difficult to find that, compared with the related art, in the solution provided by the embodiment of the present application, the correction coefficient is determined by the correction codeword according to the amplitude of the triangular wave; wherein the correction coefficient is related to the process angle; then, based on the correction coefficient and the correction codeword under the typical process angle, the correction codeword based on the correction step length is determined; the correction codeword based on the correction step length is used to adapt to different process angle changes; under the non-typical process angle, the amplitude of the triangular wave is corrected according to the correction codeword based on the correction step length. It can be seen that in the embodiment of the present application, by using the amplitude of the triangular wave to construct the correction coefficient of the correction codeword, for example, the correction codeword of the amplitude of the triangular wave can be used to construct the correction coefficient, and the offset of the amplitude of the triangular wave caused by the change of the process angle Corner can be adaptively adjusted after the spread spectrum is spread, which can solve the technical problem that in the traditional method of using the fixed value mode to spread the correction codeword, the change ratio of the correction codeword designed based on the typical process angle will change with the change of the process angle, thereby causing the amplitude of the triangular wave to change, thereby achieving the purpose of improving the flexibility and robustness of the system.

[0036] It should be noted that all methods that use correction codewords of the triangular wave amplitude to construct correction codewords based on the correction step size to achieve adaptive adjustment of the offset of the triangular wave amplitude caused by the change of the process angle Corner after spread spectrum can be regarded as alternatives to the present application and are within the scope of protection of the present application.

[0037] Second embodiment

[0038] The second embodiment of the present application relates to a correction method based on a triangular wave. The second embodiment is an improvement on the first embodiment, and the specific improvement is: in the second embodiment of the present application, a specific implementation method for determining the correction coefficient according to the correction codeword of the triangular wave amplitude is provided.

[0039] Specifically, in some embodiments, determining the correction coefficient according to the correction codeword of the triangle wave amplitude may include the following steps:

[0040] Step S1011, determining a correction codeword under a non-typical process angle and a correction codeword under a typical process angle;

[0041] Step S1012: determining the correction coefficient according to the correction codeword under the non-typical process angle and the correction codeword under the typical process angle.

[0042] Optionally, in some embodiments, the correction coefficient is determined according to the correction codeword under the atypical process angle and the correction codeword under the typical process angle, that is, step S1012 may further include the following steps:

[0043] Step S10121, determining a ratio of a correction codeword under a non-typical process angle to a correction codeword under a typical process angle;

[0044] Step S10122: determining the correction coefficient according to the ratio of the correction codeword under the non-typical process angle to the correction codeword under the typical process angle.

[0045] Exemplarily, the correction codeword under the atypical process angle can be D corner It means that the correction codeword under the typical process angle can be expressed as D typ In this case, the ratio, i.e., the correction coefficient is:

[0046]

[0047] It is not difficult to find that, compared with the related art, in the solution provided in the embodiment of the present application, by determining the correction codeword under the atypical process angle and the correction codeword under the typical process angle, and determining the correction coefficient according to the correction codeword under the atypical process angle and the correction codeword under the typical process angle, a specific implementation method for determining the correction coefficient according to the correction codeword of the triangle wave amplitude is provided. It can be understood that since the specific value of the correction coefficient depends on the characteristics of the process angle Corner, it can ensure that accurate amplitude correction can be achieved under different process angles Corner.

[0048] Third embodiment

[0049] The third embodiment of the present application relates to a correction method based on a triangular wave. The third embodiment is an improvement on the first embodiment, and the specific improvement is: in the third embodiment of the present application, a correction codeword determination method based on a fixed step length is provided.

[0050] Specifically, in some embodiments, the method for determining the correction codeword based on the fixed step size may further include the following steps:

[0051] Step S201, determining the ratio of the spread spectrum step length of the triangular wave to the target frequency of the triangular wave;

[0052] Step S202, determining a correction codeword under a non-typical process angle and a correction codeword under a typical process angle;

[0053] Step S203 , determining a correction codeword based on a fixed step length according to the correction codeword under the atypical process angle and the correction codeword under the typical process angle, and the ratio of the spread spectrum step length of the triangle wave to the target frequency of the triangle wave.

[0054] Optionally, in some embodiments, the correction codeword based on the fixed step length is determined according to the correction codeword under the atypical process angle and the correction codeword under the typical process angle, and the ratio of the spread spectrum step length of the triangular wave to the target frequency of the triangular wave, which can be specifically implemented by the following formula:

[0055] A=D corner +N·D typ

[0056] Wherein, A represents a correction codeword based on a fixed step length, and D corner represents the correction codeword under the non-typical process angle, the D typ represents the correction codeword under a typical process angle, and N represents the ratio of the spread spectrum step length of the triangular wave to the target frequency of the triangular wave.

[0057] It should be noted that the third embodiment of the present application may also be an improvement based on the second embodiment.

[0058] It is not difficult to find that in the embodiment of the present application, by determining the ratio of the spread spectrum step size of the triangular wave to the target frequency of the triangular wave, and determining the correction codeword under the atypical process angle and the correction codeword under the typical process angle, a correction codeword based on a fixed step size is determined according to the correction codeword under the atypical process angle and the correction codeword under the typical process angle, and the ratio of the spread spectrum step size of the triangular wave to the target frequency of the triangular wave, thereby providing a method for determining the correction codeword based on a fixed step size.

[0059] Fourth embodiment

[0060] The fourth embodiment of the present application relates to a correction method based on a triangular wave. The fourth embodiment is an improvement on the third embodiment, and the specific improvement is: in the fourth embodiment of the present application, a specific implementation method for determining a correction codeword based on a correction step length according to a correction codeword based on a fixed step length and the correction coefficient is provided.

[0061] Specifically, in some embodiments, the step of determining the correction codeword based on the correction step length according to the correction codeword based on the fixed step length and the correction coefficient, that is, step S102, may further include the following steps:

[0062] Step S1021, determining a product result of a ratio of a spread spectrum step length of the triangular wave to a target frequency of the triangular wave, a correction codeword under the atypical process angle, and the correction coefficient;

[0063] Step S1022: determining a correction codeword based on a modified step length according to the correction codeword under the atypical process angle and the multiplication result.

[0064] Optionally, in some embodiments, the determining of the correction codeword based on the correction step length according to the correction codeword under the atypical process angle and the product result is specifically implemented by the following formula:

[0065] B=D corner +N·D typ ·(D corner / D typ )

[0066] Wherein, B represents the correction codeword based on the correction step length, and D corner represents the correction codeword under the non-typical process angle, the D typ represents the correction codeword under the typical process angle, N represents the ratio of the spread spectrum step length of the triangular wave to the target frequency of the triangular wave, and D corner / D typ represents the correction factor.

[0067] It should be noted that the fourth embodiment of the present application may also be an improvement based on the first embodiment and / or the second embodiment.

[0068] It is not difficult to find that in the embodiment of the present application, by determining the ratio of the spread spectrum step length of the triangular wave to the target frequency of the triangular wave, the correction codeword under the atypical process angle and the product result of the correction coefficient; according to the correction codeword under the atypical process angle and the product result, the correction codeword based on the correction step length is determined, and a specific implementation method for determining the correction codeword based on the correction step length according to the correction codeword based on the fixed step length and the correction coefficient is provided. Since the correction codeword based on the correction step length itself has properties related to the process angle, it can adapt to different process angle changes.

[0069] Fifth embodiment

[0070] The fifth embodiment of the present application relates to a correction method based on a triangular wave. The embodiment of the present application aims to explain the principle of the implementation of the above embodiments of the present application, and based on this, provides a specific implementation method of performing amplitude correction on the triangular wave according to the correction codeword based on the correction step length under a non-typical process angle.

[0071] Before describing the deviation of the triangular wave amplitude after spectrum spreading, we first need to understand the target amplitude V of the triangular wave. pp The generation principle of Figure 2 As shown in the figure, VDD represents the power supply voltage; GND represents the ground; AMP represents the operational amplifier; Vref represents the input reference voltage of the operational amplifier; S1 and S2 represent switches; C represents the capacitor; I represents the charge and discharge current; F represents the target frequency of the triangle wave, V ppRepresents the target amplitude of the triangular wave. It can be seen that the triangular wave is usually generated by the charging and discharging process of the integrator circuit. The triangular wave amplitude is strongly related to the product R·C of the resistor R and the capacitor C. Since the values ​​of the resistor R and the capacitor C will change with different process corners, it is necessary to digitally adjust the correction codeword D before spreading the spectrum to perform process corner correction on the triangular wave amplitude. The purpose of this is to ensure that the triangular wave amplitude can be corrected to the predetermined target value under different process corners, that is, the target amplitude V of the triangular wave pp .

[0072] Exemplarily, the charge and discharge current I of the integrator circuit may be expressed as:

[0073]

[0074] Where D represents the correction code, R represents the resistor, V bias Indicates the reference voltage for generating current.

[0075] Further, assuming that K represents V bias / 2, and get the target amplitude V of the triangle wave pp :

[0076]

[0077] Wherein, R represents resistance, C represents capacitance, D represents a correction code word, and F represents a target frequency of the triangular wave.

[0078] Combination Figure 2 It can be seen from the circuit design shown that the frequency F of the triangular wave will change during the spread spectrum process. This frequency change will cause the change of the charging and discharging time, which in turn affects the amplitude of the triangular wave and causes amplitude deviation. In order to solve this problem, it is necessary to propose a solution to reduce the amplitude deviation of the triangular wave during the spread spectrum process.

[0079] In the related art, common spread spectrum technology adopts a fixed value mode to ensure that the amplitude of the triangular wave remains unchanged during the spread spectrum process. This mode is achieved by adjusting the correction value when spreading at a typical process angle Corner, so that the change in the correction value is equal to the change in the target frequency F. In this way, it is theoretically possible to achieve that the amplitude of the triangular wave will not change due to the spread spectrum change at a typical process angle Corner. It can be understood that if the spread spectrum step size is fixed, then the change in the correction value required by the scheme is also fixed and will not change with the change of different process angles Corner.

[0080] However, see Figure 3 As shown in the figure, under the typical process angle Corner, the performance of the amplitude-corrected triangle wave in one cycle is as follows: Figure 4As shown in the left figure, the reference formula is as follows:

[0081]

[0082] Wherein, T represents the period, D typ represents the correction codeword under the typical process angle, R typ Represents the resistance under typical process angle, C typ represents the capacitance under the typical process angle, F represents the target frequency of the triangle wave, and K represents V bias 2. V bias Indicates the reference voltage for generating current, V pp_typ represents the target amplitude of the triangle wave under the typical process angle. It can be understood that the correction codeword D under the typical process angle typ , is the correction codeword under the typical process angle, that is, the correction value as mentioned above.

[0083] Further, Figure 3 The solid line in the middle right figure shows the triangular wave when the fixed value mode is used for spectrum spreading under the typical process corner Corner, where the spectrum spreading step is ΔT. In order to keep the amplitude of the triangular wave unchanged during the spectrum spreading process, it is necessary to adjust the correction codeword D under the typical process corner. typ , so that the correction code word D under the typical process angle typ The change of is equal to the change of the target frequency F of the spread spectrum. In this way, the amplitude of the triangle wave can remain stable even in the spread spectrum process. The reference formula is as follows:

[0084]

[0085] Among them, V pp_typ_ss Indicates the target amplitude of the triangular wave at a typical process angle during the spread spectrum process; N indicates the ratio of the spread spectrum step length ΔT to the target frequency F of the triangular wave during the spread spectrum process. Specifically:

[0086]

[0087] The spread spectrum step size is generally defined as F1 minus F, that is, (F1-F), where F1 represents the modulation frequency used in the spread spectrum process.

[0088] It can be seen from the above formula that under the typical process corner Corner, the amplitude of the triangular wave after spectrum spreading will not change during the spectrum spreading process.

[0089] However, before spreading, in order to ensure that the amplitude of the triangle wave is fixed to V pp , under different process corners Corner, the correction code word D under the typical process corner needs to be typCorrected to different values ​​to adapt to the characteristics of different resistors R and capacitors C. Therefore, the correction codeword D designed based on the typical process corner is typ The change ratio will change with the change of the process angle Corner, which will cause the amplitude of the triangle wave to change. Figure 3 As shown by the dotted line in the middle right figure, in order to intuitively represent the amplitude change under the non-typical process corner Corner, a formula is used in the embodiment of the present application to quantify this change.

[0090] Specifically, the corrected triangle wave amplitude under the non-typical process corner is:

[0091]

[0092] Among them, D corner represents the correction codeword under atypical process angle, R corner Indicates the resistance value under non-typical process angle, C corner Indicates the capacitance value under a non-typical process angle, K represents V bias 2. V bias represents the reference voltage for generating current, F represents the target frequency of the triangular wave, V pp_corner Indicates the target amplitude of the triangle wave under non-typical process corners.

[0093] Furthermore, the amplitude of the triangle wave when spreading under the atypical Corner is:

[0094]

[0095] Among them, V pp_corner_ss It represents the target amplitude of the triangle wave under the typical process angle during the spread spectrum process.

[0096] By reorganizing the above formula, we can get:

[0097]

[0098] It is understandable that due to the atypical process corner, D corner ≠D typ Therefore, the triangular wave amplitude V after spectrum spreading under the non-typical process corner pp_corner_ss ≠V pp_corner .

[0099] Furthermore, if Figure 4 As shown, when a fixed input signal is generated through an integrator to generate an output signal and compared with a triangular wave signal, a PWM wave is generated. Figure 4The two dotted lines in the figure represent the triangle wave signal and the corresponding PWM wave under the non-typical process corner. It can be clearly observed that the PWM wave generated by the triangle wave under the non-typical process corner exhibits a different duty cycle compared with the typical process corner.

[0100] In the above embodiments of the present application, in order to solve the problem of the change of the amplitude of the triangle wave caused by the fixed value mode spread spectrum under the non-typical process angle Corner in the related art, a new solution is proposed: by determining the correction coefficient according to the correction codeword of the triangle wave amplitude; wherein the correction coefficient is related to the process angle; based on the correction coefficient and the correction codeword based on the typical process angle, a correction codeword based on the correction step length is determined; the correction codeword based on the correction step length is used to adapt to different process angle changes; under the non-typical process angle, the amplitude of the triangle wave is corrected according to the correction codeword based on the correction step length. Since the correction codeword based on the correction step length can adapt to the changes of different process angles Corner, it is beneficial to improve the performance and stability of the system.

[0101] For example, in practical applications, the technical solution provided by the embodiment of the present application, which is different from the fixed value mode, can be called but not limited to a percentage mode.

[0102] It can be understood that when the correction coefficient is set to the ratio of the correction codeword under the atypical process angle to the correction codeword under the typical process angle, the amplitude of the triangular wave during spectrum spreading is:

[0103]

[0104] Further, by reorganizing the above formula, we can get:

[0105]

[0106] Continue to sort out the above formula, and finally we can get:

[0107]

[0108] It can be seen that, based on the correction codeword of the correction step size, the amplitude of the triangle wave is corrected, and under the non-typical process angle Corner, the amplitude of the triangle wave before and after the spread spectrum remains unchanged.

[0109] Further, according to Figure 5As shown, for a given fixed input signal, when the above percentage mode is used for spread spectrum processing, even at an atypical process angle Corner, the triangle wave can match the triangle wave at a typical process angle Corner. This means that the PWM waveforms at different process angles Corner will overlap, that is, the duty cycle remains unchanged at various process angles Corner. In other words, by adopting the technical solution provided in the embodiment of the present application, it can be achieved during the PWM modulation process that the duty cycle of the PWM wave is not affected by the change of the process angle Corner during the spread spectrum process, thereby maintaining stability.

[0110] It should be noted that the fifth embodiment of the present application may be an improvement based on any one or more of the first to fourth embodiments.

[0111] It is not difficult to find that in the embodiments of the present application, the implementation of the above embodiments of the present application is explained in principle, and based on this, a specific implementation method of performing amplitude correction on the triangular wave according to the correction codeword based on the correction step length under a non-typical process angle is provided.

[0112] The step division of the above methods is only for the purpose of clear description. When implemented, they can be combined into one step or some steps can be split and decomposed into multiple steps. As long as they include the same logical relationship, they are all within the scope of protection of this patent; adding insignificant modifications to the algorithm or process or introducing insignificant designs without changing the core design of the algorithm and process are all within the scope of protection of this patent.

[0113] Sixth embodiment

[0114] The sixth embodiment of the present application relates to a correction device based on a triangular wave, the device is used to execute the method as described in any one of the first to fifth embodiments, the device at least comprises: a first determination module, a second determination module and a correction module;

[0115] The first determination module is used to determine a correction coefficient according to a correction codeword of the triangle wave amplitude; wherein the correction coefficient is related to the process angle;

[0116] The second determination module is used to determine a correction codeword based on a correction step length based on the correction coefficient and the correction codeword under a typical process angle; the correction codeword based on the correction step length is used to adapt to different process angle changes;

[0117] The correction module is used to perform amplitude correction on the triangle wave according to the correction codeword based on the correction step size under a non-typical process angle.

[0118] It is not difficult to find that this embodiment is a device embodiment corresponding to any one or more embodiments in the first to fifth embodiments, and this embodiment can be implemented in conjunction with any one or more embodiments in the first to fifth embodiments. The relevant technical details mentioned in any one or more embodiments in the first to fifth embodiments are still valid in this embodiment, and are not repeated here to reduce repetition.

[0119] Seventh embodiment

[0120] The seventh embodiment of the present application relates to a correction system based on a triangle wave. Figure 6 As shown, the system may include an analog device and a digital device. The digital device is loaded with a correction device based on a triangle wave as described in the sixth embodiment;

[0121] The digital device is used to determine the correction code word of the triangle wave amplitude;

[0122] The analog device is used to perform triangular wave spreading according to the correction codeword determined by the digital device;

[0123] The digital device is also used to determine a correction codeword based on the correction step length through the correction device, so that the analog device can perform amplitude correction on the spread-spectrum triangular wave according to the correction codeword based on the correction step length.

[0124] Specifically, in some examples, the analog device is used to generate a triangular wave and perform amplitude detection on the triangular wave.

[0125] Furthermore, the digital device is used to determine a correction code word for the amplitude of the triangular wave according to a detection result of the amplitude detection of the triangular wave performed by the analog device.

[0126] Furthermore, the analog device is used to correct the amplitude of the triangular wave according to the correction codeword of the triangular wave amplitude determined by the digital device, and perform triangular wave spectrum spreading after the correction is completed.

[0127] Furthermore, the digital device determines a correction codeword based on the correction step length through the correction device.

[0128] Furthermore, the analog device is also used to perform amplitude correction on the triangular wave after the spread spectrum is performed by the analog device according to the correction codeword based on the correction step length determined by the digital device.

[0129] The correction device at least includes: a first determination module, a second determination module and a correction module. The first determination module is used to determine the correction coefficient according to the correction codeword of the triangle wave amplitude; wherein the correction coefficient is related to the process angle; the second determination module is used to determine the correction codeword based on the correction step length based on the correction coefficient and the correction codeword based on the typical process angle; the correction codeword based on the correction step length is used to adapt to different process angle changes; the correction module is used to perform amplitude correction on the triangle wave according to the correction codeword based on the correction step length under the non-typical process angle.

[0130] Specifically, in some examples, a fixed basis is determined based on the typical process angle Corner, and then the amplitude of the triangular wave under different process angles is corrected by changing the correction codeword. At the same time, the system provided by the embodiment of the present application also involves a spread spectrum operation, and the frequency characteristics of the triangular wave are adjusted by the spread spectrum step length to reduce adverse effects such as electromagnetic interference (EMI). The entire system is conducive to the precise control and optimization of the triangular wave through the synergy of the analog device and the digital device.

[0131] It is not difficult to find that in the embodiment of the present application, the correction codeword of the amplitude of the triangular wave can be used to construct the correction coefficient, so as to adaptively reduce the offset of the triangular wave amplitude during the spread spectrum process, thereby effectively coping with the impact of the change in the process angle Corner and maintaining the stability of the triangular wave amplitude.

[0132] It should be noted that this embodiment is a system embodiment corresponding to the sixth embodiment, and this embodiment can be implemented in conjunction with the sixth embodiment. The relevant technical details mentioned in the sixth embodiment are still valid in this embodiment, and in order to reduce repetition, they are not repeated here. Accordingly, the relevant technical details mentioned in this embodiment can also be applied in the sixth embodiment.

[0133] It is worth mentioning that all modules involved in this embodiment are logic modules. In practical applications, a logic unit can be a physical unit, a part of a physical unit, or a combination of multiple physical units. In addition, in order to highlight the innovative part of this application, this embodiment does not introduce units that are not closely related to solving the technical problems proposed by this application, but this does not mean that there are no other units in this embodiment.

[0134] Eighth embodiment

[0135] The eighth embodiment of the present application relates to a chip, which includes the correction device based on a triangular wave as described in the sixth embodiment, and / or the correction system based on a triangular wave as described in the seventh embodiment.

[0136] Ninth embodiment

[0137] The ninth embodiment of the present application relates to an electronic device, which may be a digital computer in various forms, such as a laptop computer, a desktop computer, a workbench, a personal digital assistant, a server, a blade server, a mainframe computer, etc. The electronic device may also be a mobile device in various forms, such as a personal digital processing, a cellular phone, a smart phone, a wearable device, and other similar computing devices.

[0138] One or more processors; and a memory storing computer program instructions, wherein when the computer program instructions are executed, the processor performs the steps of the method provided in any one or more of the above embodiments. Figure 7 An exemplary structural diagram of the electronic device is disclosed. Figure 7 As shown, the electronic device includes: one or more processors 1101, memory 1102, and interfaces for connecting various components, including high-speed interfaces and low-speed interfaces. The various components are connected to each other using different buses, and can be installed on a common mainboard or installed in other ways as needed. The processor can process instructions executed in the electronic device, including instructions stored in or on the memory to display the graphical information of the GUI on an external input / output device (such as a display device coupled to the interface). In some other embodiments, if necessary, multiple processors and / or multiple buses can be used together with multiple memories and multiple memories. Similarly, multiple electronic devices can be connected, and each device provides some necessary operations (for example, as a server array, a group of blade servers, or a multi-processor system). Among them, the components shown in this article, their connections and relationships, and their functions are only used as examples, and are not intended to limit the implementation of the present application described and / or required herein.

[0139] The electronic device may further include: an input device 1103 and an output device 1104. The processor 1101, the memory 1102, the input device 1103 and the output device 1104 may be connected via a bus or other means. Figure 7 The example of connecting through bus is taken in the following.

[0140] The input device 1103 can receive input digital or character information, and generate key signal input related to the user settings and function control of the electronic device, such as a touch screen, a keypad, a mouse, a track pad, a touch pad, an indicator bar, one or more mouse buttons, a trackball, a joystick and other input devices. The output device 1104 may include a display device, an auxiliary lighting device (e.g., an LED) and a tactile feedback device (e.g., a vibration motor), etc. The display device may include, but is not limited to, a liquid crystal display (LCD), a light emitting diode (LED) display and a plasma display. In some embodiments, the display device may be a touch screen.

[0141] To provide interaction with a user, the electronic device may be a computer. The computer has: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and a pointing device (e.g., a mouse or a trackball), through which the user can provide input to the computer. Other types of devices may also be used to provide interaction with the user; for example, the feedback provided to the user may be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form (including acoustic input, voice input, or tactile input).

[0142] Based on the above embodiments, the present application has at least the following beneficial effects:

[0143] 1. The technical solution provided in the embodiment of the present application successfully realizes that after spectrum spreading, the amplitude of the triangular wave is not affected by the change of the process angle Corner, thereby solving the technical problem of amplitude deviation caused by the change of the process angle in the traditional fixed value mode.

[0144] 2. By cleverly using the correction codeword of the adaptive process corner Corner to determine the correction coefficient, and based on the correction coefficient, determining the correction codeword based on the correction step length, the digital implementation process is very simple, so no additional complex design is required.

[0145] The flow chart or block diagram in the accompanying drawings shows the possible architecture, function and operation of the equipment, method and computer program product according to various embodiments of the present application. In this regard, each box in the flow chart or block diagram can represent a module, a program segment or a part of a code, and the module, the program segment or a part of the code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a different order from the order marked in the accompanying drawings. For example, two boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram and / or flow chart, and the combination of the boxes in the block diagram and / or flow chart can be implemented with a dedicated system for hardware that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.

[0146] The scope of the present application is defined by the appended claims rather than the above description, and it is intended that all changes that fall within the meaning and scope of the equivalent elements of the claims are included in the present application. Any figure mark in the claims should not be regarded as limiting the claims involved. In addition, it is clear that the word "comprising" does not exclude other units or steps, and the singular does not exclude the plural. Multiple units or devices stated in the device claim may also be implemented by one unit or device through software or hardware. The words "first", "second", etc. are only used to distinguish the description, and do not indicate any particular order, nor can they be understood as indicating or implying relative importance.

[0147] The above is only a specific embodiment of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art can easily mention changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims, and the above embodiments should be regarded as exemplary and non-restrictive.

Claims

1. A correction method based on a triangle wave, characterized in that: The method comprises: Determine a correction coefficient according to the correction codeword of the triangle wave amplitude; wherein the correction coefficient is related to the process angle; Based on the correction coefficient and the correction codeword under the typical process angle, a correction codeword based on the correction step length is determined; the correction codeword based on the correction step length is used to adapt to different process angle changes; Under the non-typical process angle, the amplitude of the triangle wave is corrected according to the correction codeword based on the correction step size.

2. The method according to claim 1, characterized in that The correction coefficient is determined according to the correction codeword of the triangle wave amplitude, specifically: Determine a correction codeword under a non-typical process angle and a correction codeword under a typical process angle; The correction coefficient is determined according to the correction codeword under the non-typical process angle and the correction codeword under the typical process angle.

3. The method according to claim 2, characterized in that The determining the correction coefficient according to the correction codeword under the atypical process angle and the correction codeword under the typical process angle is specifically: Determine a ratio of a correction codeword under a non-typical process angle to a correction codeword under a typical process angle; The correction coefficient is determined according to a ratio of the correction codeword under the non-typical process angle to the correction codeword under the typical process angle.

4. The method according to any one of claims 1 to 3, characterized in that The method for determining a correction codeword based on a fixed step size comprises: Determining a ratio of a spread spectrum step length of the triangular wave to a target frequency of the triangular wave; Determine a correction codeword under a non-typical process angle and a correction codeword under a typical process angle; A correction codeword based on a fixed step length is determined according to the correction codeword under the non-typical process angle and the correction codeword under the typical process angle, and the ratio of the spread spectrum step length of the triangular wave to the target frequency of the triangular wave.

5. The method according to claim 4, characterized in that The correction codeword based on the fixed step length is determined according to the correction codeword under the atypical process angle and the correction codeword under the typical process angle, and the ratio of the spread spectrum step length of the triangular wave to the target frequency of the triangular wave, and is specifically implemented by the following formula: A=D corner +N·D typ Wherein, A represents a correction codeword based on a fixed step length, and D corner represents the correction codeword under the non-typical process angle, the D typ represents a correction codeword under a typical process angle, and N represents a ratio of the spread spectrum step length of the triangular wave to the target frequency of the triangular wave.

6. The method according to claim 4, characterized in that The step of determining the correction codeword based on the correction step length according to the correction codeword based on the fixed step length and the correction coefficient comprises: Determine a product result of a ratio of a spread spectrum step length of the triangular wave to a target frequency of the triangular wave, a correction codeword under the atypical process angle, and the correction coefficient; According to the correction codeword under the atypical process angle and the product result, a correction codeword based on a modified step length is determined.

7. The method according to claim 6, characterized in that The determining of the correction codeword based on the correction step length according to the correction codeword under the atypical process angle and the product result is specifically implemented by the following formula: B=D corner +N·D typ ·(D corner / D typ ) Wherein, B represents the correction codeword based on the correction step length, and D corner represents the correction codeword under the non-typical process angle, the D typ represents the correction codeword under the typical process angle, N represents the ratio of the spread spectrum step length of the triangular wave to the target frequency of the triangular wave, and D corner / D typ represents the correction factor.

8. A correction device based on a triangular wave, characterized in that: The device is used to execute the method according to any one of claims 1 to 7, and the device at least comprises: a first determination module, a second determination module and a correction module; The first determination module is used to determine a correction coefficient according to a correction codeword of the triangle wave amplitude; wherein the correction coefficient is related to the process angle; The second determination module is used to determine a correction codeword based on a correction step length based on the correction coefficient and the correction codeword under a typical process angle; the correction codeword based on the correction step length is used to adapt to different process angle changes; The correction module is used to perform amplitude correction on the triangle wave according to the correction codeword based on the correction step length under a non-typical process angle.

9. A correction system based on a triangle wave, characterized in that: The system comprises an analog device and a digital device; the digital device is loaded with a correction device based on a triangle wave as claimed in claim 8; The digital device is used to determine the correction code word of the triangle wave amplitude; The analog device is used to perform triangular wave spreading according to the correction codeword determined by the digital device; The digital device is also used to determine a correction codeword based on the correction step length through the correction device, so that the analog device can perform amplitude correction on the spread-spectrum triangular wave according to the correction codeword based on the correction step length.

10. A chip, characterized in that: The chip includes the correction device based on a triangle wave as claimed in claim 8 and / or the correction system based on a triangle wave as claimed in claim 9.

11. An electronic device, characterized in that: The electronic device comprises: one or more processors; and A memory storing computer program instructions, which, when executed, cause the processor to perform the steps of the method as claimed in any one of claims 1 to 7.