Control method, controller and storage medium of a multi-path interleaved conversion system

By determining the phase synchronization point and assigning the required counting value in the multi-channel interleaved conversion system, the problem of mismatch between the modulation carrier and the sampling/interruption task trigger carrier is solved, thus achieving accurate parameter sampling.

CN118054645BActive Publication Date: 2025-12-30XIAMEN KEHUA DIGITAL ENERGY TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202410138858.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-01-31
Publication Date
2025-12-30
Estimated Expiration
2044-01-31

AI Technical Summary

Technical Problem

In a multi-interleaved conversion system, the apex or zero-crossing point of the modulation carrier does not correspond to the sampling/interruption task trigger carrier, resulting in the inability to accurately sample the required parameters.

Method used

By determining the phase synchronization point, the count requirement value of the sampling/interruption task trigger carrier is obtained, and the value is assigned to the counter at the phase synchronization point, so that the vertex of the sampling/interruption task trigger carrier corresponds to the vertex of each modulation carrier.

Benefits of technology

This ensures that the vertex of the carrier triggered by the sampling/interruption task accurately corresponds to the vertex of each modulation carrier, thus guaranteeing the accuracy of the parameter sampling values.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118054645B_ABST
    Figure CN118054645B_ABST
Patent Text Reader

Abstract

The application provides a control method, a controller and a storage medium of a multi-path stagger conversion system. The method comprises the following steps: determining a phase synchronization point; determining a counting demand value of a carrier triggered by a sampling / interruption task at the phase synchronization point; assigning the counting demand value to a counter of the carrier triggered by the sampling / interruption task at the phase synchronization point, so that the counter of the carrier triggered by the sampling / interruption task counts on the basis of the counting demand value, and the vertex of the carrier triggered by the sampling / interruption task corresponds to the vertex of each modulation carrier in sequence. According to the phase synchronization, the vertex of the carrier triggered by the sampling / interruption task corresponds to the vertex of each modulation carrier in sequence, the vertex of the carrier triggered by the sampling / interruption task samples the parameters of the multi-path stagger conversion system, and the required parameter value is obtained.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to the field of interleaved control technology, and in particular to a control method of a multi-path interleaved conversion system, a controller and a storage medium. BACKGROUND

[0002] In the control of the multi-path interleaved conversion system, in the traditional method, the modulation carrier and the sampling / interrupt task triggering carrier are the same carrier, but in order to realize the compatibility of the software program architecture of different multi-path interleaved conversion systems, the control is performed in the mode that the modulation carrier and the sampling / interrupt task triggering carrier are separated.

[0003] In the sampling of the parameters of the multi-path interleaved conversion system, the sampling is usually performed at the midpoint of the rise or fall of the parameters, that is, at the vertex of the corresponding modulation carrier. In order to control conveniently, the sampling is usually triggered at the vertex or zero-crossing point of the sampling / interrupt task triggering carrier. However, in the control in the mode that the modulation carrier and the sampling / interrupt task triggering carrier are separated, there may be a case that the vertex or zero-crossing point of the sampling / interrupt task triggering carrier does not correspond to the vertex of the modulation carrier, resulting in that the required parameters cannot be sampled. SUMMARY

[0004] Embodiments of the present application provide a control method of a multi-path interleaved conversion system, a controller and a storage medium, to solve the problem that in the existing method, the vertex or zero-crossing point of the sampling / interrupt task triggering carrier may not correspond to the vertex of the modulation carrier, resulting in that the required parameters cannot be sampled.

[0005] In a first aspect, embodiments of the present application provide a control method of a multi-path interleaved conversion system, comprising:

[0006] determining a phase synchronization point;

[0007] determining a count requirement value of a sampling / interrupt task triggering carrier at the phase synchronization point;

[0008] assigning the count requirement value to a counter of the sampling / interrupt task triggering carrier at the phase synchronization point, so that the counter of the sampling / interrupt task triggering carrier counts on the basis of the count requirement value, to make the vertex of the sampling / interrupt task triggering carrier correspond to the vertex of each modulation carrier in turn.

[0009] In a possible implementation manner, the determining of the count requirement value of the sampling / interrupt task triggering carrier at the phase synchronization point comprises:

[0010] obtaining a period count value of the modulation carrier and a period count value of the sampling / interrupt task triggering carrier;

[0011] If the period count value of the modulating carrier is greater than or equal to the period count value of the sampling / interrupt task triggering carrier, the period count value of the modulating carrier is divided by the period count value of the sampling / interrupt task triggering carrier to obtain a first quotient and a first remainder; if the first quotient is even, the count demand value is the difference between the period count value of the sampling / interrupt task triggering carrier and the first remainder; if the first quotient is odd, the count demand value is the first remainder;

[0012] If the period count value of the modulating carrier is less than the period count value of the sampling / interrupt task triggering carrier, the count demand value is the difference between the period count value of the sampling / interrupt task triggering carrier and the period count value of the modulating carrier.

[0013] In a possible implementation, if the period count value of the modulating carrier is greater than or equal to the period count value of the sampling / interrupt task triggering carrier and the first quotient is even, or the period count value of the modulating carrier is less than the period count value of the sampling / interrupt task triggering carrier, the counter of the sampling / interrupt task triggering carrier counts up based on the count demand value;

[0014] If the period count value of the modulating carrier is greater than or equal to the period count value of the sampling / interrupt task triggering carrier and the first quotient is odd, the counter of the sampling / interrupt task triggering carrier counts down based on the count demand value.

[0015] In a possible implementation, the phase synchronization point is a zero-crossing point of any modulating carrier.

[0016] In a possible implementation, after the count demand value is assigned to the counter of the sampling / interrupt task triggering carrier, the control method of the multi-path interleaving system further includes:

[0017] When the interrupt signal is detected, it is judged whether the task pairing is completed;

[0018] If the task pairing is not completed, the current count value and the current counting mode of the counter of each modulating carrier are obtained;

[0019] The modulating carrier whose current count value of the counter is in the target range and whose current counting mode of the counter is the target counting mode is determined as a target modulating carrier, and the serial number of the target modulating carrier is taken as a task index number;

[0020] The task function corresponding to the task index number is executed;

[0021] The task index number is updated, and it is determined whether the task pairing is completed;

[0022] If the updated task index number is greater than the number of modulating carriers, the task index number is updated to 1, and the step of judging whether the task pairing is completed when the interrupt signal is detected is continued to be executed.

[0023] In one possible implementation, after determining whether the task pair has been completed when an interrupt signal is detected, the control method of the multiplexed conversion system further includes:

[0024] If a task pair has been completed, then execute the corresponding task function based on the current task index number;

[0025] Update task index number;

[0026] If the updated task index number is greater than the number of modulation carriers, then update the task index number to 1, and jump to the step of determining whether the task pair has been completed when an interrupt signal is detected.

[0027] In one possible implementation, the target range is [S1-D, S1+D]; S1 is the theoretical count value of the counter of the target modulated carrier when an interrupt signal is detected, and D is the allowable error amount;

[0028] The process of determining S1 and the target counting method includes:

[0029] Obtain the period count value of the modulation carrier and the theoretical count value corresponding to the single sampling duration;

[0030] If the theoretical count value corresponding to a single sampling duration is greater than or equal to the period count value of the modulation carrier, then the theoretical count value corresponding to the single sampling duration is divided by the period count value of the modulation carrier to obtain the second quotient and the second remainder; if the second quotient is even, then S1 is the difference between the period count value of the modulation carrier and the second remainder, and the target counting method is downward counting; if the first quotient is odd, then S1 is the second remainder, and the target counting method is upward counting.

[0031] If the theoretical count value corresponding to a single sampling duration is less than the periodic count value of the modulation carrier, then S1 is the difference between the periodic count value of the modulation carrier and the theoretical count value corresponding to a single sampling duration, and the target counting method is downward counting.

[0032] In one possible implementation, determining whether a task pair has been completed includes:

[0033] If the task time synchronization completion flag is the preset completed flag, then the task time synchronization is determined to be completed.

[0034] If the task time synchronization completion flag is the preset incomplete flag, then the task time synchronization is determined to be incomplete.

[0035] Accordingly, determining when a task has been completed includes:

[0036] Update the task time-completion flag to the preset completed flag.

[0037] In a second aspect, an embodiment of the present application provides a controller, comprising a memory and a processor, the memory is configured to store a computer program, and the processor is configured to invoke and run the computer program stored in the memory to execute the control method of the multi-path interleaved transform system as described in the first aspect or any possible implementation manner of the first aspect.

[0038] In a third aspect, an embodiment of the present application provides a computer readable storage medium, which stores a computer program, and the computer program is executed by a processor to implement the steps of the control method of the multi-path interleaved transform system as described in the first aspect or any possible implementation manner of the first aspect.

[0039] The embodiment of the present application provides a control method, a controller and a storage medium of a multi-path interleaved transform system. The method determines a phase synchronization point and a counting requirement value of a carrier triggered by a sampling / interrupt task at the phase synchronization point, and assigns the counting requirement value to a counter of the carrier triggered by the sampling / interrupt task at the phase synchronization point, so that the counter of the carrier triggered by the sampling / interrupt task counts on the basis of the counting requirement value, and the vertex of the carrier triggered by the sampling / interrupt task corresponds to the vertex of each modulation carrier in turn, so that the vertex of the carrier triggered by the sampling / interrupt task corresponds to the vertex of each modulation carrier in turn through the phase synchronization, and the vertex of the carrier triggered by the sampling / interrupt task samples the parameters of the multi-path interleaved transform system to obtain the required parameter value. BRIEF DESCRIPTION OF DRAWINGS

[0040] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the following will briefly introduce the drawings needed to be used in the embodiments or prior art description. Obviously, the drawings in the following description are only some embodiments of the present application, and other drawings can also be obtained by those skilled in the art without any creative labor.

[0041] Figure 1 is a flowchart of the control method of the multi-path interleaved transform system provided by the embodiment of the present application;

[0042] Figure 2 is a schematic diagram of the modulation carrier and the carrier triggered by the sampling / interrupt task without phase synchronization provided by the embodiment of the present application;

[0043] Figure 3 is a schematic diagram of the phase synchronization point and the counting requirement value provided by the embodiment of the present application;

[0044] Figure 4 is a schematic diagram of the modulation carrier and the carrier triggered by the sampling / interrupt task after phase synchronization provided by the embodiment of the present application;

[0045] Figure 5 is a structural schematic diagram of a control device of a multi-channel interleaved conversion system provided by an embodiment of the present application;

[0046] Figure 6 is a schematic diagram of a controller. DETAILED DESCRIPTION

[0047] In the following description, for the purpose of explanation and not limitation, specific details are set forth, such as particular system configurations, techniques, etc., in order to provide a thorough understanding of the embodiments of the present application. However, it will be apparent to those skilled in the art that the present application can be practiced in other embodiments that depart from these specific details. In other instances, detailed descriptions of well-known systems, devices, circuits, and methods are omitted so as not to obscure the description of the present application with unnecessary detail.

[0048] In order to make the objects, technical solutions and advantages of the present application clearer, the following will be described with reference to the accompanying drawings by specific embodiments.

[0049] Referring to Figure 1 , which shows an implementation flowchart of a control method of a multi-channel interleaved conversion system provided by an embodiment of the present application. The execution subject of the control method of the multi-channel interleaved conversion system can be a controller, and the controller can be a DSP (Digital Signal Processor).

[0050] The multi-channel interleaved conversion system can be any multi-channel interleaved system that can perform DC conversion or AC / DC conversion, and can include multi-channel conversion circuits. Each channel conversion circuit is controlled in an interleaved manner, and each channel conversion circuit corresponds to a modulation carrier. Exemplarily, the multi-channel interleaved conversion system can be a multi-channel interleaved Boost system, a multi-channel interleaved Buck system, a multi-pulse wave rectification system, or a multi-channel interleaved parallel PFC system, etc.

[0051] Referring to Figure 1 , the control method of the multi-channel interleaved conversion system includes:

[0052] In S101, a phase synchronization point is determined.

[0053] The phase synchronization point is a time point or a position point at which the modulation carrier is phase-synchronized with a sampling / interrupt task triggering carrier.

[0054] The modulated carrier can be used to generate the driving signal, and in particular, the driving signal can be generated according to the duty cycle and the modulated carrier. The peak of the modulated carrier corresponds to the midpoint of the signal representing the on state of the driving signal, and also corresponds to the midpoint of the rise or fall of the parameter of the multi-interleaved conversion system, such as the midpoint of the rise or fall of the Boost current. The midpoint of the rise or fall of the parameter generally corresponds to the average value of the parameter, and therefore, the parameter sampling is generally performed at the peak of the modulated carrier.

[0055] The sampling / interrupt task trigger carrier is used for sampling trigger and / or interrupt task trigger.

[0056] In some embodiments, the phase synchronization point is any zero-crossing point of any modulated carrier.

[0057] In the present embodiment, the phase synchronization point is any zero-crossing point of any modulated carrier.

[0058] Taking a 3-interleaved Boost system as an example, the 3-interleaved Boost system includes 3-interleaved Boosts, each Boost corresponding to a modulated carrier, the modulated carriers corresponding to each Boost are interleaved by 120°, the frequency of the modulated carrier is 48 kHz, and the frequency of the sampling / interrupt task trigger carrier is 36 kHz. As shown in Figure 2 The upper part of the horizontal axis is the 3-interleaved modulated carrier, and the modulated carriers from the carrier starting point are Boost1 modulated carrier, Boost2 modulated carrier, and Boost3 modulated carrier, respectively. The lower part of the horizontal axis is the sampling / interrupt task trigger carrier, which is a triangular carrier, and the leftmost side is the carrier starting point. Figure 2 As shown in Figure 3 The phase synchronization point is shown in Figure 3 The phase synchronization point shown in is the zero-crossing point of the Boost1 modulated carrier. In Figure 3 The left side of the phase synchronization point is the carrier without phase synchronization, and the right side of the phase synchronization point is the carrier with phase synchronization.

[0059] In S102, the count requirement value of the sampling / interrupt task trigger carrier at the phase synchronization point is determined.

[0060] In TIDSP, each carrier has a corresponding counter, the counter starts from 0 and counts up until the count value corresponding to the carrier peak, at which time the corresponding carrier rises from the zero-crossing point to the peak, and the counter starts from the count value corresponding to the carrier peak and counts down until 0, at which time the corresponding carrier falls from the peak to another zero-crossing point. Among them, the up-counting means the incremental counting, and the down-counting means the decremental counting.

[0061] At the phase synchronization point, the count demand value is assigned to the counter of the sampling / interrupt task trigger carrier, so that the peaks of the sampling / interrupt task trigger carrier correspond to the peaks of the modulation carriers in turn when the counter of the sampling / interrupt task trigger carrier counts on the basis of the count demand value. Figure 3 C1 is the count demand value.

[0062] Exemplarily, taking the aforementioned three modulation carriers as an example, assuming that the zero-crossing point of the first modulation carrier is taken as the phase synchronization point, the peaks of the sampling / interrupt task trigger carrier corresponding to the peaks of the modulation carriers in turn means that the first peak after the counter of the sampling / interrupt task trigger carrier counts on the basis of the count demand value is aligned with the peak of the first modulation carrier (i.e., when the sampling / interrupt task trigger carrier reaches the first peak, the first modulation carrier also reaches the peak); the second peak after the counter of the sampling / interrupt task trigger carrier counts on the basis of the count demand value is aligned with the peak of the second modulation carrier (i.e., when the sampling / interrupt task trigger carrier reaches the second peak, the second modulation carrier also reaches the peak); the third peak after the counter of the sampling / interrupt task trigger carrier counts on the basis of the count demand value is aligned with the peak of the third modulation carrier (i.e., when the sampling / interrupt task trigger carrier reaches the third peak, the third modulation carrier also reaches the peak); the fourth peak after the counter of the sampling / interrupt task trigger carrier counts on the basis of the count demand value is aligned with the peak of the first modulation carrier (i.e., when the sampling / interrupt task trigger carrier reaches the fourth peak, the first modulation carrier also reaches the peak); and so on.

[0063] In S103, at the phase synchronization point, the count demand value is assigned to the counter of the sampling / interrupt task trigger carrier, so that the peaks of the sampling / interrupt task trigger carrier correspond to the peaks of the modulation carriers in turn when the counter of the sampling / interrupt task trigger carrier counts on the basis of the count demand value.

[0064] In this embodiment, at the phase synchronization point, the count demand value in S102 is forcibly assigned to the counter of the sampling / interrupt task trigger carrier, so that the peaks of the sampling / interrupt task trigger carrier correspond to the peaks of the modulation carriers in turn when the counter of the sampling / interrupt task trigger carrier counts on the basis of the count demand value, so that the peaks of the sampling / interrupt task trigger carrier can trigger parameter sampling.

[0065] The embodiment determines the phase synchronization point, triggers the counting requirement value of the carrier by the sampling / interrupt task at the phase synchronization point, and assigns the counting requirement value to the counter of the sampling / interrupt task trigger carrier at the phase synchronization point, so that the counter of the sampling / interrupt task trigger carrier counts on the basis of the counting requirement value, and the vertex of the sampling / interrupt task trigger carrier corresponds to the vertex of each modulation carrier in turn. Thus, the vertex of the sampling / interrupt task trigger carrier corresponds to the vertex of each modulation carrier in turn by the above phase synchronization, and the vertex of the sampling / interrupt task trigger carrier samples the parameters of the multi-path interleaving conversion system to obtain the required parameter value.

[0066] In some embodiments, S102 can include:

[0067] obtaining the period count value of the modulation carrier and the period count value of the sampling / interrupt task trigger carrier;

[0068] if the period count value of the modulation carrier is greater than or equal to the period count value of the sampling / interrupt task trigger carrier, dividing the period count value of the modulation carrier by the period count value of the sampling / interrupt task trigger carrier to obtain a first quotient and a first remainder; if the first quotient is even, the counting requirement value is the difference between the period count value of the sampling / interrupt task trigger carrier and the first remainder; if the first quotient is odd, the counting requirement value is the first remainder;

[0069] if the period count value of the modulation carrier is less than the period count value of the sampling / interrupt task trigger carrier, the counting requirement value is the difference between the period count value of the sampling / interrupt task trigger carrier and the period count value of the modulation carrier.

[0070] In some embodiments, if the period count value of the modulation carrier is greater than or equal to the period count value of the sampling / interrupt task trigger carrier and the first quotient is even, or the period count value of the modulation carrier is less than the period count value of the sampling / interrupt task trigger carrier, the counter of the sampling / interrupt task trigger carrier counts up on the basis of the counting requirement value;

[0071] if the period count value of the modulation carrier is greater than or equal to the period count value of the sampling / interrupt task trigger carrier and the first quotient is odd, the counter of the sampling / interrupt task trigger carrier counts down on the basis of the counting requirement value.

[0072] The period count value of the carrier refers to the count value corresponding to the vertex of the carrier. For example, if the count value corresponding to the vertex of the carrier is 10000, the period count value of the carrier is 10000, indicating that the count value of the counter of the carrier increases from 0 to 10000 and then decreases from 10000 to 0, and the process is repeated.

[0073] Therefore, the period count value M of the modulated carrier is the count value corresponding to the peak of the modulated carrier. In the embodiment, the period count value of each modulated carrier is the same. The period count value N of the sampling / interrupt task triggered carrier is the count value corresponding to the peak of the sampling / interrupt task triggered carrier.

[0074] If M≥N, the quotient and the remainder obtained by calculating M / N are calculated, the quotient is referred to as the first quotient X1, and the remainder is referred to as the first remainder R1; if X1 is even, the count demand value C1=N-R1, and after C1 is assigned to the counter of the sampling / interrupt task triggered carrier, the counter of the sampling / interrupt task triggered carrier counts up based on C1; if X1 is odd, C1=R1, and after C1 is assigned to the counter of the sampling / interrupt task triggered carrier, the counter of the sampling / interrupt task triggered carrier counts down based on C1.

[0075] If M

[0076] In some embodiments, after S103, the control method of the multi-path interleaving conversion system further comprises:

[0077] When the interrupt signal is detected, it is judged whether the task pair is completed;

[0078] If the task pair is not completed, the current count value and the current counting mode of the counter of each modulated carrier are obtained;

[0079] The modulated carrier whose current count value of the counter is in the target range and the current counting mode of the counter is the target counting mode is determined as the target modulated carrier, and the serial number of the target modulated carrier is taken as the task index number;

[0080] The task function corresponding to the task index number is executed;

[0081] The task index number is updated, and it is determined whether the task pair is completed;

[0082] If the updated task index number is greater than the number of modulated carriers, the task index number is updated to 1, and the step of judging whether the task pair is completed when the interrupt signal is detected is continued to be executed.

[0083] Still taking the above-mentioned 3 Boosts (Boost1, Boost2 and Boost3 respectively) and 3 modulated carriers as an example, the modulated carriers and the sampling / interrupt task triggered carrier after phase synchronization are as shown in Figure 4 .

[0084] In Figure 4 ,

[0085] Position ①: Trigger sampling, sample analog quantity of Boost1 (such as current, etc.);

[0086] Position ②: Sampling of Boost1 analog quantity is completed, trigger CLA task (generate interrupt signal, trigger CLA task), in the CLA task, call control operation function Boost1_Task of Boost1, that is, task function of Boost1;

[0087] Position ③: Trigger sampling, sample analog quantity of Boost2;

[0088] Position ④: Sampling of Boost2 analog quantity is completed, trigger CLA task, in the CLA task, call control operation function Boost2_Task of Boost2;

[0089] Position ⑤: Trigger sampling, sample analog quantity of Boost3;

[0090] Position ⑥: Sampling of Boost3 analog quantity is completed, trigger CLA task, in the CLA task, call control operation function Boost3_Task of Boost3.

[0091] Since Boost1_Task, Boost2_Task and Boost3_Task three functions are executed in the same CLA task, and only one function is executed at the same time, and after entering the CLA task, the DSP cannot know which Boost analog quantity sampling is completed to trigger the CLA task. Therefore, it is necessary to determine which function should be executed at the current time, and the process of this determination is called task time in this embodiment.

[0092] In the embodiment, when the interrupt signal is detected, it is indicated that the CLA task is triggered. At this time, firstly, it is judged whether the task pair time has been completed. If the task pair time has not been completed, the task pair time needs to be performed. Specifically, the current counting value of the counter of each modulation carrier and the current counting mode of the counter of each modulation carrier (the counting mode includes up counting or down counting) are obtained; it is judged whether the current counting value of the counter of each modulation carrier is in the target range and whether the current counting mode is the target counting mode; the modulation carrier whose current counting value of the counter is in the target range and whose current counting mode of the counter is the target counting mode is determined as the target modulation carrier; the serial number of the target modulation carrier is taken as the task index number, and the task function corresponding to the task index number is executed, that is, the task function corresponding to the target modulation carrier is executed, and it can be determined that the task pair time has been completed, and the task index number is updated. After the task index number is updated, if the updated task index number is greater than the number of modulation carriers, the task index number is updated to 1, that is, it is started from the beginning, and the step of judging whether the task pair time has been completed when the interrupt signal is detected is continued to be executed in a loop.

[0093] wherein the serial number of the modulation carrier is from 1 to the number of modulation carriers. Similarly, the serial number of the task function is also from 1 to the number of modulation carriers. In addition, the serial number of the modulation carrier and the serial number of the task function of the same transform circuit in the multi-path staggered transform system are the same. For example, taking the aforementioned three Boosts as an example, the modulation carrier of Boost1 is Boost1 modulation carrier, the serial number is 1, the task function is Boost1_Task, and the serial number is also 1; the modulation carrier of Boost2 is Boost2 modulation carrier, the serial number is 2, the task function is Boost2_Task, and the serial number is also 2; the modulation carrier of Boost3 is Boost3 modulation carrier, the serial number is 3, the task function is Boost3_Task, and the serial number is also 3.

[0094] In some embodiments, after the step of judging whether the task pair time has been completed when the interrupt signal is detected, the control method of the multi-path staggered transform system further comprises:

[0095] If the task pair time has been completed, the corresponding task function is executed according to the current task index number;

[0096] the task index number is updated;

[0097] If the updated task index number is greater than the number of modulation carriers, the task index number is updated to 1, and the step of judging whether the task pair time has been completed when the interrupt signal is detected is continued to be executed.

[0098] The embodiment only needs to perform task alignment once, and then the corresponding task function can be executed according to the task index number, and the task index number is updated by 1 after each execution of the task function. If the updated task index number is greater than the number of modulation carriers, the task index number is updated to 1, and the task function corresponding to the sequence number 1 is executed next time.

[0099] In some embodiments, the target range is [S1-D, S1+D]; S1 is the theoretical count value of the target modulation carrier counter when the interrupt signal is detected, and D is the allowed error amount;

[0100] The determination process of S1 and the target counting mode includes:

[0101] The period count value of the modulation carrier and the theoretical count value corresponding to the single sampling duration are obtained.

[0102] If the theoretical count value corresponding to the single sampling duration is greater than or equal to the period count value of the modulation carrier, the theoretical count value corresponding to the single sampling duration is divided by the period count value of the modulation carrier to obtain a second quotient and a second remainder. If the second quotient is even, S1 is the difference between the period count value of the modulation carrier and the second remainder, and the target counting mode is down counting. If the first quotient is odd, S1 is the second remainder, and the target counting mode is up counting.

[0103] If the theoretical count value corresponding to the single sampling duration is less than the period count value of the modulation carrier, S1 is the difference between the period count value of the modulation carrier and the theoretical count value corresponding to the single sampling duration, and the target counting mode is down counting.

[0104] S1 is the theoretical count value of the target modulation carrier counter when the interrupt signal is detected, that is, the theoretical count value of the target modulation carrier timer when the single sampling duration is passed after the vertex triggers sampling. Considering a certain error amount D, the target range is [S1-D, S1+D]. D is a small value, which can be set according to actual needs, and is not limited here.

[0105] The theoretical count value corresponding to the single sampling duration P=(T1 / T2)*M. T1 is the single sampling duration, specifically the duration of performing parameter sampling, for example, the duration required for collecting the analog quantity of Boost1 or Boost2 or Boost3. M is the period count value of the modulation carrier. T2 is the duration required for the counter of the modulation carrier to count from 0 to M, that is, half of the period of the modulation carrier.

[0106] If P≥M, a quotient and a remainder are calculated by P / M, the quotient is called a second quotient X2, and the remainder is called a second remainder R2; if X2 is even, S1=M-R2, and the target counting manner is downward counting; if X2 is odd, S1=R2, and the target counting manner is upward counting.

[0107] If P

[0108] Through experiments, it is determined that the determination manner of the target modulation carrier is unique, and thus the number of the determined target modulation carrier is one.

[0109] In some embodiments, determining whether the task time is completed comprises:

[0110] If the task time completion flag is a preset completed flag, it is determined that the task time is completed.

[0111] If the task time completion flag is a preset uncompleted flag, it is determined that the task time is not completed.

[0112] Correspondingly, determining that the task time is completed comprises:

[0113] Updating the task time completion flag to the preset completed flag.

[0114] The preset completed flag can be TRUE, and the preset uncompleted flag can be FALSE. The preset completed flag and the preset uncompleted flag can also be other flags, which are not limited herein.

[0115] By judging whether the task time completion flag is the preset completed flag, it is determined whether the task time is completed. After the task time is completed, the task time completion flag is updated to the preset completed flag, indicating that the task time is completed, and the task time does not need to be performed again.

[0116] It should be understood that the size of the serial number of each step in the above embodiments does not mean the order of execution, and the execution order of each process should be determined according to its function and inherent logic, and should not constitute any limitation on the implementation process of the embodiments of the present application.

[0117] The following is a device embodiment of the present application. For details not described in detail, reference can be made to the corresponding method embodiments described above.

[0118] Figure 5 A structure schematic diagram of a control device of a multi-path interleaving system provided by an embodiment of the present application is shown. For ease of illustration, only parts related to the embodiments of the present application are shown, and are described in detail as follows:

[0119] As Figure 5As shown, the control device 30 of the multi-path interleaving conversion system can include a phase synchronization point determination module 31, a count demand value determination module 32 and a phase synchronization module 33.

[0120] The phase synchronization point determination module 31 is configured to determine a phase synchronization point.

[0121] The count demand value determination module 32 is configured to determine a count demand value of the sampling / interrupt task trigger carrier at the phase synchronization point.

[0122] The phase synchronization module 33 is configured to assign the count demand value to the counter of the sampling / interrupt task trigger carrier at the phase synchronization point, so that the counter of the sampling / interrupt task trigger carrier counts on the basis of the count demand value, and the vertex of the sampling / interrupt task trigger carrier corresponds to the vertex of each modulation carrier in turn.

[0123] In a possible implementation, the count demand value determination module 32 is specifically configured to:

[0124] obtain a period count value of the modulation carrier and a period count value of the sampling / interrupt task trigger carrier;

[0125] if the period count value of the modulation carrier is greater than or equal to the period count value of the sampling / interrupt task trigger carrier, divide the period count value of the modulation carrier by the period count value of the sampling / interrupt task trigger carrier to obtain a first quotient and a first remainder; if the first quotient is even, the count demand value is a difference between the period count value of the sampling / interrupt task trigger carrier and the first remainder; if the first quotient is odd, the count demand value is the first remainder;

[0126] if the period count value of the modulation carrier is less than the period count value of the sampling / interrupt task trigger carrier, the count demand value is a difference between the period count value of the sampling / interrupt task trigger carrier and the period count value of the modulation carrier.

[0127] In a possible implementation, if the period count value of the modulation carrier is greater than or equal to the period count value of the sampling / interrupt task trigger carrier and the first quotient is even, or the period count value of the modulation carrier is less than the period count value of the sampling / interrupt task trigger carrier, the counter of the sampling / interrupt task trigger carrier counts up on the basis of the count demand value.

[0128] if the period count value of the modulation carrier is greater than or equal to the period count value of the sampling / interrupt task trigger carrier and the first quotient is odd, the counter of the sampling / interrupt task trigger carrier counts down on the basis of the count demand value.

[0129] In a possible implementation, the phase synchronization point is a zero-crossing point of any modulation carrier.

[0130] In a possible implementation, the control device 60 of the multi-path interleaving conversion system can further include a task timing module.

[0131] The task timing module is configured to:

[0132] After assigning the count demand value to the counter of the sampling / interrupt task triggered carrier, when the interrupt signal is detected, it is determined whether the task timing is completed;

[0133] If the task timing is not completed, the current count value and the current count mode of the counter of each modulation carrier are obtained;

[0134] The modulation carrier whose current count value is in the target range and whose current count mode is the target count mode is determined as the target modulation carrier, and the serial number of the target modulation carrier is taken as the task index number;

[0135] The task function corresponding to the task index number is executed;

[0136] The task index number is updated, and it is determined that the task timing is completed;

[0137] If the updated task index number is greater than the number of modulation carriers, the task index number is updated to 1, and the step of determining whether the task timing is completed when the interrupt signal is detected is executed again.

[0138] In a possible implementation, the task timing module is further configured to:

[0139] After the step of determining whether the task timing is completed when the interrupt signal is detected, if the task timing is completed, the task function corresponding to the current task index number is executed;

[0140] The task index number is updated;

[0141] If the updated task index number is greater than the number of modulation carriers, the task index number is updated to 1, and the step of determining whether the task timing is completed when the interrupt signal is detected is executed again.

[0142] In a possible implementation, the target range is [S1-D, S1+D], S1 is the theoretical count value of the counter of the target modulation carrier when the interrupt signal is detected, and D is the allowed error amount.

[0143] The determination process of S1 and the target count mode includes:

[0144] The period count value of the modulation carrier and the theoretical count value corresponding to the single sampling duration are obtained;

[0145] If the theoretical count value corresponding to the single sampling duration is greater than or equal to the period count value of the modulation carrier, the theoretical count value corresponding to the single sampling duration is divided by the period count value of the modulation carrier to obtain a second quotient and a second remainder; if the second quotient is even, S1 is a difference between the period count value of the modulation carrier and the second remainder, and the target counting manner is down counting; if the first quotient is odd, S1 is the second remainder, and the target counting manner is up counting;

[0146] If the theoretical count value corresponding to the single sampling duration is less than the period count value of the modulation carrier, S1 is a difference between the period count value of the modulation carrier and the theoretical count value corresponding to the single sampling duration, and the target counting manner is down counting.

[0147] In a possible implementation, in the task pairing time module, determining whether the task pairing time is completed includes:

[0148] If the task pairing time completion flag bit is a preset completed flag, it is determined that the task pairing time is completed.

[0149] If the task pairing time completion flag bit is a preset uncompleted flag, it is determined that the task pairing time is not completed.

[0150] Correspondingly, determining that the task pairing time is completed includes:

[0151] Updating the task pairing time completion flag bit to the preset completed flag.

[0152] Figure 6 is a schematic diagram of a controller provided by an embodiment of the present application. As shown in Figure 6 The controller 4 of this embodiment includes a processor 40 and a memory 41. The memory 41 is configured to store a computer program 42, and the processor 40 is configured to invoke and run the computer program 42 stored in the memory 41 to perform the steps in the control method embodiments of the various multi-path interleaving conversion systems, such as Figure 1 S101-S103 shown in the figure. Alternatively, the processor 40 is configured to invoke and run the computer program 42 stored in the memory 41 to implement the functions of the modules / units in the various device embodiments, such as Figure 5 the functions of the modules / units 31-33 shown in the figure.

[0153] For example, the computer program 42 can be divided into one or more modules / units, which are stored in the memory 41 and executed by the processor 40 to complete the present application. The one or more modules / units can be a series of computer program instruction segments capable of completing a specific function, which are used to describe the execution process of the computer program 42 in the controller 4. For example, the computer program 42 can be divided into Figure 5The illustrated modules / units 31-33.

[0154] The controller 4 can include, but not limited to, a processor 40, a memory 41. Those skilled in the art can understand that the controller 4 can include more or less components than those shown, or combine some components, or different components, for example, the controller can also include input / output devices, network access devices, buses, etc. Figure 6 The controller 4 is merely an example and does not constitute a limitation on the controller 4, and can include more or less components than those shown, or combine some components, or different components, for example, the controller can also include input / output devices, network access devices, buses, etc.

[0155] The processor 40 can be a central processing unit (CPU), and can also be other general-purpose processors, digital signal processors (DSP), application specific integrated circuits (ASIC), field programmable gate arrays (FPGA) or other programmable logic devices, discrete gates or transistor logic components, discrete hardware components, etc. The general-purpose processor can be a microprocessor or the processor can also be any conventional processor.

[0156] The memory 41 can be an internal storage unit of the controller 4, such as a hard disk or a memory of the controller 4. The memory 41 can also be an external storage device of the controller 4, such as a plug-in hard disk, a smart media card (SMC), a secure digital (SD) card, a flash card, etc. Further, the memory 41 can include both an internal storage unit and an external storage device of the controller 4. The memory 41 is used to store the computer program and other programs and data required by the controller. The memory 41 can also be used to temporarily store data that has been output or will be output.

[0157] Those skilled in the art can clearly understand that, for the convenience and brevity of description, only the above-mentioned division of each functional unit and module is exemplified, and in actual application, the above-mentioned functions can be completed by different functional units and modules according to needs, that is, the internal structure of the device is divided into different functional units or modules to complete all or part of the functions described above. Each functional unit and module in the embodiment can be integrated in one processing unit, or each unit can be physically present separately, or two or more units can be integrated in one unit. The above-mentioned integrated unit can be realized in the form of hardware or software. In addition, the specific names of each functional unit and module are only for easy distinction, and do not limit the protection scope of the present application. The specific working process of the units and modules in the above system can refer to the corresponding process in the foregoing method embodiments, which will not be repeated here.

[0158] In the above embodiments, the description of each embodiment has its own emphasis, and the parts not described or recorded in detail in a certain embodiment can be referred to the related description of other embodiments.

[0159] Those of ordinary skill in the art can realize that the units and algorithm steps of each example described in combination with the embodiments disclosed herein can be realized in electronic hardware or a combination of computer software and electronic hardware. Whether the functions are executed in hardware or software depends on the specific application and design constraints of the technical solution. A person skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of the present application.

[0160] In the embodiments provided by the present application, it should be understood that the disclosed devices / controllers and methods can be implemented in other ways. For example, the above-described device / controller embodiments are only schematic. The division of the modules or units is only a logical function division, and there can be another division manner in actual implementation. For example, a plurality of units or components can be combined or integrated into another system, or some features can be ignored or not executed. In addition, the coupling or direct coupling or communication connection between the units shown or discussed can be indirect coupling or communication connection through some interface, device or unit, and can be electrical, mechanical or in other forms.

[0161] The units described as separate components can or can not be physically separated, and the components shown as units can or can not be physical units, that is, they can be located in one place, or can be distributed on a plurality of network units. Part or all of the units can be selected according to actual needs to achieve the purpose of the embodiment.

[0162] In addition, each function unit in each embodiment of the present application can be integrated in one processing unit, or each unit can be physically present separately, or two or more units can be integrated in one unit. The integrated unit can be realized in the form of hardware or in the form of a software function unit.

[0163] The integrated module / unit, if realized in the form of a software function unit and sold or used as an independent product, can be stored in a computer readable storage medium. Based on this understanding, all or part of the processes in the above-mentioned embodiment methods can also be completed by a computer program instructing related hardware, and the computer program can be stored in a computer readable storage medium. When the computer program is executed by a processor, the steps of the above-mentioned various multipath interleaving system control method embodiments can be implemented. The computer program includes computer program code, which can be in the form of source code, object code, executable files or some intermediate forms, etc. The computer readable medium can include any entity or device capable of carrying the computer program code, recording medium, U disk, mobile hard disk, magnetic disk, optical disk, computer memory, read-only memory (ROM), random access memory (RAM), electrical carrier signal, telecommunication signal and software distribution medium, etc.

[0164] The above-mentioned embodiments are only used to illustrate the technical solutions of the present application, but not limit it; although the present application has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that the technical solutions recorded in the foregoing embodiments can be modified, or some technical features can be replaced by equivalents; and these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the embodiments of the present application, and should be included in the protection scope of the present application.

Claims

1. A control method for a multi-path interleaved conversion system, characterized by, The method comprises the following steps: determining a phase synchronization point; determining a count demand value of a sampling / interrupt task trigger carrier at the phase synchronization point; assigning the count demand value to a counter of the sampling / interrupt task trigger carrier at the phase synchronization point, so that the counter of the sampling / interrupt task trigger carrier counts on the basis of the count demand value, so that the vertex of the sampling / interrupt task trigger carrier corresponds to the vertex of each modulation carrier in turn; the determination of the count demand value of the sampling / interrupt task trigger carrier at the phase synchronization point comprises: obtaining a period count value of the modulation carrier and a period count value of the sampling / interrupt task trigger carrier; if the period count value of the modulation carrier is greater than or equal to the period count value of the sampling / interrupt task trigger carrier, then the period count value of the modulation carrier is divided by the period count value of the sampling / interrupt task trigger carrier to obtain a first quotient and a first remainder; if the first quotient is even, then the count demand value is the difference between the period count value of the sampling / interrupt task trigger carrier and the first remainder; if the first quotient is odd, then the count demand value is the first remainder; if the period count value of the modulation carrier is less than the period count value of the sampling / interrupt task trigger carrier, then the count demand value is the difference between the period count value of the sampling / interrupt task trigger carrier and the period count value of the modulation carrier.

2. The control method of a multi-path interleaved conversion system according to claim 1, characterized by, if the period count value of the modulation carrier is greater than or equal to the period count value of the sampling / interrupt task trigger carrier and the first quotient is even, or the period count value of the modulation carrier is less than the period count value of the sampling / interrupt task trigger carrier, then the counter of the sampling / interrupt task trigger carrier counts up on the basis of the count demand value; if the period count value of the modulation carrier is greater than or equal to the period count value of the sampling / interrupt task trigger carrier and the first quotient is odd, then the counter of the sampling / interrupt task trigger carrier counts down on the basis of the count demand value.

3. The control method of a multi-path interleaved conversion system according to claim 1, characterized by, The phase synchronization point is a zero-crossing point of any modulation carrier.

4. A control method of a multi-path interleaved conversion system according to any one of claims 1 to 3, characterized by, After the assignment of the count demand value to the counter of the sampling / interrupt task trigger carrier, the control method of the multi-path interleaving conversion system further comprises the following steps: when an interrupt signal is detected, judging whether task alignment has been completed; if task alignment has not been completed, then obtaining the current count value and the current counting mode of the counter of each modulation carrier; determining a modulation carrier whose current count value is in a target range and whose current counting mode is a target counting mode as a target modulation carrier, and taking the serial number of the target modulation carrier as a task index number; executing a task function corresponding to the task index number; updating the task index number and determining that task alignment has been completed; if the updated task index number is greater than the number of modulation carriers, then updating the task index number to 1 and jumping to the step of judging whether task alignment has been completed when an interrupt signal is detected for continuous execution.

5. The control method of a multi-path interleaved conversion system according to claim 4, characterized by, After detecting the interrupt signal, the control method of the multi-path interleaving conversion system further comprises: If the task time is completed, a corresponding task function is executed according to the current task index number; The task index number is updated; If the updated task index number is greater than the number of the modulation carriers, the task index number is updated to 1, and the step of detecting the interrupt signal and judging whether the task time is completed is executed.

6. The control method of a multi-path interleaved conversion system according to claim 4, characterized by, The target range is [S1-D, S1+D]; S1 is a theoretical counting value of a counter of the target modulation carrier when the interrupt signal is detected, and D is an allowed error amount; The determination process of the S1 and the target counting mode comprises: A periodic counting value of the modulation carrier and a theoretical counting value corresponding to a single sampling duration are obtained; If the theoretical counting value corresponding to the single sampling duration is greater than or equal to the periodic counting value of the modulation carrier, the theoretical counting value corresponding to the single sampling duration is divided by the periodic counting value of the modulation carrier to obtain a second quotient and a second remainder; if the second quotient is even, the S1 is a difference value between the periodic counting value of the modulation carrier and the second remainder, and the target counting mode is downward counting; if the first quotient is odd, the S1 is the second remainder, and the target counting mode is upward counting; If the theoretical counting value corresponding to the single sampling duration is less than the periodic counting value of the modulation carrier, the S1 is a difference value between the periodic counting value of the modulation carrier and the theoretical counting value corresponding to the single sampling duration, and the target counting mode is downward counting.

7. The control method of a multi-path interleaved conversion system according to claim 4, characterized by, The judgment whether the task time is completed comprises: If a task time completion flag bit is a preset completed flag, it is determined that the task time is completed; If the task time completion flag bit is a preset uncompleted flag, it is determined that the task time is not completed; Correspondingly, the determination that the task time is completed comprises: The task time completion flag bit is updated to the preset completed flag.

8. A controller characterized by comprising: The computer program is executed by the processor to implement the steps of the control method of the multi-path interleaving conversion system according to any one of claims 1 to 7.

9. A computer-readable storage medium storing a computer program, the computer program comprising instructions that, when executed by a computer, cause the computer to perform the method of any one of claims 1 to 8. The computer program is executed by the processor to implement the steps of the control method of the multi-path interleaving conversion system according to any one of claims 1 to 7.

Citation Information

Patent Citations

  • An equivalent-time sampling technique for non-coherently modulated signals

    CN104219187A

  • Maintaining the correct time when counter values are transferred between clock domains

    CN111669244A