Multi-machine parallel adaptive carrier synchronization method, system, device and storage medium

By capturing the host synchronization signal and calculating the time difference using the DSP's ECAP module, and adjusting the PWM cycle using fuzzy logic, the carrier frequency deviation problem when multiple converters are connected in parallel is solved, achieving fast and accurate carrier synchronization and improving system stability.

CN115102416BActive Publication Date: 2026-01-06YISHITE ENERGY STORAGE TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202210939002.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-08-05
Publication Date
2026-01-06
Estimated Expiration
2042-08-05

AI Technical Summary

Technical Problem

When multiple converters are connected in parallel, grid-connected circulating current and system instability are caused by carrier frequency deviation. Existing synchronization methods are slow and cannot quickly and accurately track the host signal.

Method used

The master synchronization signal is captured by the ECAP module of the DSP, the time difference Δt(n) is calculated, and the PWM period adjustment step size s(n) is determined by using fuzzy operation and quantization factor. The PWM period of the slave is adjusted to achieve carrier synchronization.

Benefits of technology

It achieves fast and accurate carrier synchronization, improving the stability and synchronization speed of multi-machine parallel systems.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115102416B_ABST
    Figure CN115102416B_ABST
Patent Text Reader

Abstract

The application discloses a kind of multi-machine parallel adaptive carrier synchronization method, system, equipment and storage medium, wherein the method comprises: through the ECAP module of DSP, the synchronization signal sent by host computer is captured, and the time difference Δt (n) of the time from the time when the ECAP module is captured to the time when the synchronization signal enters interrupt is calculated;The time difference Δt (n) and the last time PWM period adjustment step S (n-1) are fuzzy operated to obtain the current time PWM period adjustment step s (n);According to the current time PWM period adjustment step s (n), the PWM period of slave machine is adjusted to realize carrier synchronization.The application not only has high speed, high precision, but also increases the stability when multi-machine parallel, has higher market promotion value.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of converter technology, and in particular to a method, system, device and storage medium for multi-machine parallel adaptive carrier synchronization. Background Technology

[0002] With the development of power electronics technology and the increasing demand for new energy power generation, systems with multiple converters connected in parallel have been widely used.

[0003] When multiple converters operate in parallel, the carrier frequency of each converter is determined by its own controller, and the carrier frequency is generated by a series of transformations by oscillating circuits such as crystal oscillators. Therefore, the discreteness of the oscillating circuits will cause the carrier frequency of each controller to deviate, which will bring some problems, such as grid-connected circulating current.

[0004] Existing technologies achieve carrier synchronization when multiple converters are connected in parallel through wired or communication methods. This method not only suffers from slow speed when the synchronization signal is interrupted and then restored, but also cannot quickly and accurately track the synchronization signal of the host when the synchronization frequency changes, resulting in excessive high-frequency circulating current and thus affecting the stable operation of the system.

[0005] Therefore, improvements to existing technologies are necessary.

[0006] The above information is provided as background information only to aid in understanding this disclosure and does not constitute an assertion or admission that any of the above content can be used as prior art relative to this disclosure. Summary of the Invention

[0007] This invention provides a method, system, device, and storage medium for multi-machine parallel adaptive carrier synchronization to overcome the shortcomings of existing technologies.

[0008] To achieve the above objectives, the present invention provides the following technical solution:

[0009] In a first aspect, embodiments of the present invention provide a multi-machine parallel adaptive carrier synchronization method, the method comprising:

[0010] The ECAP module of the DSP captures the synchronization signal sent by the host and calculates the time difference Δt(n) from the moment the ECAP module captures the synchronization signal to the moment it enters the interrupt.

[0011] The time difference Δt(n) and the PWM cycle adjustment step size S(n-1) of the previous moment are subjected to fuzzy operation to obtain the PWM cycle adjustment step size s(n) of the current moment;

[0012] The PWM period of the slave device is adjusted according to the PWM period adjustment step size s(n) at the current moment to achieve carrier synchronization.

[0013] Furthermore, in the multi-machine parallel adaptive carrier synchronization method, the step of capturing the synchronization signal sent by the host through the ECAP module of the DSP and calculating the time difference Δt(n) from the moment the ECAP module captures the synchronization signal to the moment it enters the interruption includes:

[0014] The synchronization signal sent by the host is captured by the ECAP module of the DSP;

[0015] When the ECAP module receives a falling edge, the timer in the ECAP module is cleared.

[0016] When the ECAP module enters an interrupt, the count value of the ECAP module is read to calculate the time difference Δt(n) from the moment the ECAP module captures the synchronization signal to the moment it enters the interrupt.

[0017] Furthermore, in the multi-machine parallel adaptive carrier synchronization method, the step of performing fuzzy calculation on the time difference Δt(n) and the PWM period adjustment step size S(n-1) of the previous moment to obtain the PWM period adjustment step size s(n) of the current moment includes:

[0018] The time difference Δt(n) and the current PWM cycle adjustment step size s(n) are quantized using quantization factors and mapped to the fuzzy set universes of discourse ΔT(n) and S(n) respectively.

[0019] Choose the triangular membership function as the membership function of the fuzzy set universe of discourse ΔT(n) and S(n);

[0020] Establish a fuzzy control rule table;

[0021] Based on the fuzzy control rule table, the fuzzy quantity is converted into a precise quantity using the area centroid method, and the PWM cycle adjustment step size s(n) at the current moment is calculated.

[0022] Furthermore, in the multi-machine parallel adaptive carrier synchronization method, the step of adjusting the PWM period of the slave machine according to the PWM period adjustment step size s(n) at the current moment to achieve carrier synchronization is as follows:

[0023] The PWM cycle of the slave device is adjusted to the right or left according to the current PWM cycle adjustment step size s(n) to achieve carrier synchronization.

[0024] In a second aspect, embodiments of the present invention provide a multi-machine parallel adaptive carrier synchronization system, the system comprising:

[0025] The capture calculation module is used to capture the synchronization signal sent by the host through the ECAP module of the DSP, and calculate the time difference Δt(n) from the moment the ECAP module captures the synchronization signal to the moment it enters the interruption.

[0026] The fuzzy operation module is used to perform fuzzy operation on the time difference Δt(n) and the PWM period adjustment step size S(n-1) of the previous moment to obtain the PWM period adjustment step size s(n) of the current moment.

[0027] The carrier synchronization module is used to adjust the PWM period of the slave device according to the PWM period adjustment step size s(n) at the current moment in order to achieve carrier synchronization.

[0028] Furthermore, in the multi-machine parallel adaptive carrier synchronization system, the acquisition calculation module is specifically used for:

[0029] The synchronization signal sent by the host is captured by the ECAP module of the DSP;

[0030] When the ECAP module receives a falling edge, the timer in the ECAP module is cleared.

[0031] When the ECAP module enters an interrupt, the count value of the ECAP module is read to calculate the time difference Δt(n) from the moment the ECAP module captures the synchronization signal to the moment it enters the interrupt.

[0032] Furthermore, in the multi-machine parallel adaptive carrier synchronization system, the fuzzy operation module is specifically used for:

[0033] The time difference Δt(n) and the current PWM cycle adjustment step size s(n) are quantized using quantization factors and mapped to the fuzzy set universes of discourse ΔT(n) and S(n) respectively.

[0034] Choose the triangular membership function as the membership function of the fuzzy set universe of discourse ΔT(n) and S(n);

[0035] Establish a fuzzy control rule table;

[0036] Based on the fuzzy control rule table, the fuzzy quantity is converted into a precise quantity using the area centroid method, and the PWM cycle adjustment step size s(n) at the current moment is calculated.

[0037] Furthermore, in the multi-machine parallel adaptive carrier synchronization system, the carrier synchronization module is specifically used for:

[0038] The PWM cycle of the slave device is adjusted to the right or left according to the current PWM cycle adjustment step size s(n) to achieve carrier synchronization.

[0039] Thirdly, embodiments of the present invention provide a computer device, the computer device including a memory and a processor, the memory storing a computer program, and the processor executing the computer program to implement the multi-machine parallel adaptive carrier synchronization method as described in any of the preceding aspects.

[0040] Fourthly, embodiments of the present invention provide a storage medium containing computer-executable instructions, which are executed by a computer processor to implement the multi-machine parallel adaptive carrier synchronization method as described in any of the preceding aspects.

[0041] Compared with the prior art, the embodiments of the present invention have the following beneficial effects:

[0042] The present invention provides a method, system, device and storage medium for multi-machine parallel adaptive carrier synchronization. By calculating the time difference from the acquisition of the synchronization signal sent by the master to the interruption, the PWM period adjustment step size at the current moment is determined based on the time difference and the PWM period adjustment step size at the previous moment. The slave machine is then synchronized with the carrier based on the determined adjustment step size. This method not only has fast synchronization speed and high accuracy, but also increases the stability of multi-machine parallel operation, and has high market promotion value. Attached Figure Description

[0043] To more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0044] Figure 1 This is a flowchart illustrating a multi-machine parallel adaptive carrier synchronization method provided in Embodiment 1 of the present invention;

[0045] Figure 2 This is a block diagram of the module control principle in Embodiment 1 of the present invention;

[0046] Figure 3 This is the membership function graph of the input parameter ΔT(n) in Embodiment 1 of the present invention;

[0047] Figure 4 This is the membership function graph of the input parameter S(n-1) in Embodiment 1 of the present invention;

[0048] Figure 5 This is a schematic diagram of PWM period adjustment in Embodiment 1 of the present invention;

[0049] Figure 6 This is a functional module diagram of a multi-machine parallel adaptive carrier synchronization system provided in Embodiment 2 of the present invention;

[0050] Figure 7 This is a schematic diagram of the structure of a computer device provided in Embodiment 3 of the present invention. Detailed Implementation

[0051] To make the objectives, features, and advantages of this invention more apparent and understandable, the technical solutions of the embodiments of this invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the embodiments described below are only some embodiments of this invention, and not all embodiments. Based on the embodiments of this invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this invention.

[0052] In the description of this invention, it should be understood that when a component is considered to be "connected" to another component, it can be directly connected to the other component or there may be an intermediate component present simultaneously. When a component is considered to be "set" on another component, it can be directly set on the other component or there may be an intermediate component present simultaneously.

[0053] Furthermore, terms such as “long,” “short,” “inner,” and “outer” indicate orientation or positional relationships based on the orientation or positional relationships shown in the accompanying drawings. They are used only for the purpose of describing the present invention and are not intended to indicate or imply that the device or component referred to must have this specific orientation or operate in a specific orientational configuration. Therefore, they should not be construed as limitations of the present invention.

[0054] The technical solution of the present invention will be further described below with reference to the accompanying drawings and specific embodiments.

[0055] Example 1

[0056] In view of the shortcomings of existing multi-machine parallel carrier synchronization technology, the applicant, based on years of practical experience and professional knowledge in the design and manufacture of such products, and in conjunction with the application of theoretical principles, has actively conducted research and innovation in order to create a technology that can solve the shortcomings of the existing technology and make multi-machine parallel carrier synchronization technology more practical. After continuous research, design, and repeated prototype production and improvement, this invention with real practical value has finally been created.

[0057] Please refer to Figure 1 , Figure 1 This is a flowchart illustrating a multi-machine parallel adaptive carrier synchronization method disclosed in an embodiment of the present invention. This method is applicable to scenarios involving carrier synchronization of multiple converters operating in parallel. The method is executed by a multi-machine parallel adaptive carrier synchronization system, which can be implemented in software and / or hardware. Figure 1 As shown, the multi-machine parallel adaptive carrier synchronization method may include the following steps:

[0058] S101. The synchronization signal sent by the host is captured by the ECAP module of the DSP, and the time difference Δt(n) from the moment the ECAP module captures the synchronization signal to the moment it enters the interrupt is calculated.

[0059] It should be noted that this embodiment achieves carrier synchronization of the slave device based on the high-frequency synchronization I / O signal sent by the host.

[0060] In this embodiment, step S101 can be further refined to include the following steps:

[0061] The synchronization signal sent by the host is captured by the ECAP module of the DSP;

[0062] When the ECAP module receives a falling edge, the timer in the ECAP module is cleared.

[0063] When the ECAP module enters an interrupt, the count value of the ECAP module is read to calculate the time difference Δt(n) from the moment the ECAP module captures the synchronization signal to the moment it enters the interrupt.

[0064] S102. Perform fuzzy calculation on the time difference Δt(n) and the PWM period adjustment step size S(n-1) of the previous moment to obtain the PWM period adjustment step size s(n) of the current moment.

[0065] In this embodiment, step S102 can be further refined to include the following steps:

[0066] The time difference Δt(n) and the current PWM cycle adjustment step size s(n) are quantized using quantization factors and mapped to the fuzzy set universes of discourse ΔT(n) and S(n) respectively.

[0067] Choose the triangular membership function as the membership function of the fuzzy set universe of discourse ΔT(n) and S(n);

[0068] Establish a fuzzy control rule table;

[0069] Based on the fuzzy control rule table, the fuzzy quantity is converted into a precise quantity using the area centroid method, and the PWM cycle adjustment step size s(n) at the current moment is calculated.

[0070] It should be noted that, in this embodiment, Figure 2 The diagram shows the block diagram of the module control principle. The output of the module controller at time N is the carrier adjustment step size S(n) at time n. K1 and K2 are quantization factors, which are responsible for quantizing and mapping the actual values ​​of the acquisition host synchronization signal time change Δt(n) and the carrier adjustment step size s(n) to the fuzzy set universes of discourse ΔT(n) and S(n).

[0071] The design of a fuzzy controller includes several parts: fuzzification process, database (including database and rule base), inference decision and precision calculation.

[0072] (1) Determination of input and output parameters: The signal time difference Δt(n) and PWM period adjustment step size s(n) are quantized using quantization factors, and then the corresponding parameters are mapped to the fuzzy set domains ΔT(n) and S(n).

[0073] (2) Determination of the fuzzy universe of discourse: The fuzzy controller is discussed and calculated in the universe of discourse of the fuzzy set. Therefore, the input variables must first be transformed to the corresponding fuzzy universe of discourse, and the input data must be converted into appropriate linguistic values, that is, the input quantities must be fuzzified. The ranges of ΔT(n) and S(n) are defined as the universe of discourse [-6 6] on the fuzzy set, where the subsets of variables S(n-1) and S(n) are the same as the universe of discourse.

[0074] (3) Determination of fuzzy subsets and membership functions for each variable: The fuzzy subsets of linguistic variables are generally {NB, NM, NS, NO, PO, PS, PM, PB}, where NB, NM, NS, NO, PO, PS, PM, and PB represent negative large, negative medium, negative small, negative zero, positive zero, positive small, positive medium, and positive large fuzzy descriptions, respectively, and correspond to the universe of discourse {-6, -5, -4, -3, -2, -1, -0, +0, +1, +2, +3, +4, +5, +6}. Commonly used membership functions are triangles, trapezoids, and bells, etc. Triangles are chosen as the membership functions for ΔT(n) and S(n). The corresponding membership function graphs for ΔT(n) and S(n) are shown below. Figure 3 , 4 As shown in the figure, the correspondence between fuzzy subsets and fuzzy universes is illustrated.

[0075] (4) Determination of control rules: Based on the relationship between the captured time difference Δt(n) and the PWM adjustment step size S(n), fuzzy control rules are established. The basic tuning principles are derived from the relationship between Δt(n) and S(n) as follows:

[0076] If Δt(n) is small relative to the strain, continue adjusting in the original step direction; otherwise, adjust in the opposite direction.

[0077] If the time difference Δt(n) of the captured host synchronization signal is large, a larger S(n) step size adjustment value should be selected to speed up the synchronization. If Δt(n) is small, in order to improve the system synchronization accuracy and avoid Δt(n) from jumping back and forth near the host synchronization IO, a smaller S(n) step size adjustment value should be selected.

[0078] Based on the above rules and the actual test conditions, the following fuzzy control rule table 1 is established:

[0079] Table 1. Fuzzy Control Rules for S(n)

[0080]

[0081] S103. Adjust the PWM period of the slave device according to the PWM period adjustment step size s(n) at the current moment to achieve carrier synchronization.

[0082] In this embodiment, step S103 can be further refined into the following steps:

[0083] The PWM cycle of the slave device is adjusted to the right or left according to the current PWM cycle adjustment step size s(n) to achieve carrier synchronization.

[0084] It should be noted that in this embodiment, the PWM period of the slave device is adjusted by moving the adjustment step size s(n) to the right or left according to the current PWM period adjustment step size s(n). Figure 5 As shown, this increases or decreases the PWM period of the slave device to achieve fast and accurate carrier synchronization.

[0085] The present invention provides a multi-machine parallel adaptive carrier synchronization method, which calculates the time difference from the acquisition of the synchronization signal sent by the master to the interruption, and then determines the current PWM cycle adjustment step size based on the time difference and the PWM cycle adjustment step size of the previous moment. The slave machine is then synchronized with the carrier based on the determined adjustment step size. This method not only has fast synchronization speed and high accuracy, but also increases the stability of multi-machine parallel operation, and has high market promotion value.

[0086] Example 2

[0087] Please refer to Figure 6 , Figure 6 This is a functional module diagram of a multi-machine parallel adaptive carrier synchronization system provided in Embodiment 2 of the present invention. This system is suitable for executing the multi-machine parallel adaptive carrier synchronization method provided in this embodiment of the invention. Specifically, the system includes the following modules:

[0088] The capture calculation module 201 is used to capture the synchronization signal sent by the host through the ECAP module of the DSP, and calculate the time difference Δt(n) from the moment the ECAP module captures the synchronization signal to the moment it enters the interruption.

[0089] The fuzzy operation module 202 is used to perform fuzzy operation on the time difference Δt(n) and the PWM period adjustment step size S(n-1) of the previous moment to obtain the PWM period adjustment step size s(n) of the current moment.

[0090] The carrier synchronization module 203 is used to adjust the PWM period of the slave device according to the PWM period adjustment step size s(n) at the current moment in order to achieve carrier synchronization.

[0091] Preferably, in the multi-machine parallel adaptive carrier synchronization system, the acquisition calculation module 201 is specifically used for:

[0092] The synchronization signal sent by the host is captured by the ECAP module of the DSP;

[0093] When the ECAP module receives a falling edge, the timer in the ECAP module is cleared.

[0094] When the ECAP module enters an interrupt, the count value of the ECAP module is read to calculate the time difference Δt(n) from the moment the ECAP module captures the synchronization signal to the moment it enters the interrupt.

[0095] Preferably, in the multi-machine parallel adaptive carrier synchronization system, the fuzzy calculation module 202 is specifically used for:

[0096] The time difference Δt(n) and the current PWM cycle adjustment step size s(n) are quantized using quantization factors and mapped to the fuzzy set universes of discourse ΔT(n) and S(n) respectively.

[0097] Choose the triangular membership function as the membership function of the fuzzy set universe of discourse ΔT(n) and S(n);

[0098] Establish a fuzzy control rule table;

[0099] Based on the fuzzy control rule table, the fuzzy quantity is converted into a precise quantity using the area centroid method, and the PWM cycle adjustment step size s(n) at the current moment is calculated.

[0100] Preferably, in the multi-machine parallel adaptive carrier synchronization system, the carrier synchronization module 203 is specifically used for:

[0101] The PWM cycle of the slave device is adjusted to the right or left according to the current PWM cycle adjustment step size s(n) to achieve carrier synchronization.

[0102] The present invention provides a multi-machine parallel adaptive carrier synchronization system, which calculates the time difference from the acquisition of the synchronization signal sent by the master to the interruption, and then determines the current PWM cycle adjustment step size based on the time difference and the PWM cycle adjustment step size of the previous moment. The slave machine is then synchronized with the carrier based on the determined adjustment step size. This system not only has fast synchronization speed and high accuracy, but also increases the stability of multi-machine parallel operation, and has high market promotion value.

[0103] The above system can execute the methods provided in any embodiment of the present invention, and has the corresponding functional modules and beneficial effects for executing the methods.

[0104] Example 3

[0105] Figure 7 This is a schematic diagram of the structure of a computer device provided in Embodiment 3 of the present invention. Figure 7 A block diagram of an exemplary computer device 12 suitable for implementing embodiments of the present invention is shown. Figure 7 The computer device 12 shown is merely an example and should not impose any limitation on the functionality and scope of use of the embodiments of the present invention.

[0106] like Figure 7 As shown, the computer device 12 is represented in the form of a general-purpose computing device. The components of the computer device 12 may include, but are not limited to: one or more processors or processing units 16, system memory 28, and a bus 18 connecting different system components (including system memory 28 and processing unit 16).

[0107] Bus 18 represents one or more of several bus architectures, including a memory bus or memory controller, a peripheral bus, a graphics acceleration port, a processor, or a local bus using any of the various bus architectures. For example, these architectures include, but are not limited to, the Industry Standard Architecture (ISA) bus, the Micro Channel Architecture (MAC) bus, the Enhanced ISA bus, the Video Electronics Standards Association (VESA) local bus, and the Peripheral Component Interconnect (PCI) bus.

[0108] Computer device 12 typically includes a variety of computer system readable media. These media can be any available media that can be accessed by computer device 12, including volatile and non-volatile media, removable and non-removable media.

[0109] System memory 28 may include computer system readable media in the form of volatile memory, such as random access memory (RAM) 30 and / or cache memory 32. Computer device 12 may further include other removable / non-removable, volatile / non-volatile computer system storage media. By way of example only, storage system 34 may be used to read and write non-removable, non-volatile magnetic media (…). Figure 7 Not shown; usually referred to as a "hard drive"). Although Figure 7 Not shown, a disk drive for reading and writing to a removable non-volatile disk (e.g., a "floppy disk") and an optical disk drive for reading and writing to a removable non-volatile optical disk (e.g., a CD-ROM, DVD-ROM, or other optical media) may be provided. In these cases, each drive may be connected to bus 18 via one or more data media interfaces. Memory 28 may include at least one program product having a set (e.g., at least one) of program modules configured to perform the functions of the embodiments of the present invention.

[0110] A program / utility 40 having a set (at least one) of program modules 42 may be stored, for example, in memory 28. Such program modules 42 include, but are not limited to, an operating system, one or more application programs, other program modules, and program data. Each or some combination of these examples may include an implementation of a network environment. Program modules 42 typically perform the functions and / or methods described in the embodiments of the present invention.

[0111] Computer device 12 can also communicate with one or more external devices 14 (e.g., keyboard, pointing device, display 24, etc.), and with one or more devices that enable a user to interact with the computer device 12, and / or with any device that enables the computer device 12 to communicate with one or more other computing devices (e.g., network card, modem, etc.). This communication can be performed via input / output (I / O) interface 22. Furthermore, computer device 12 can also communicate with one or more networks (e.g., local area network (LAN), wide area network (WAN), and / or public networks, such as the Internet) via network adapter 20. As shown, network adapter 20 communicates with other modules of computer device 12 via bus 18. It should be understood that, although... Figure 7 As not shown, it can be used in conjunction with computer device 12 with other hardware and / or software modules, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems.

[0112] The processing unit 16 executes various functional applications and data processing by running programs stored in the system memory 28, such as implementing the multi-machine parallel adaptive carrier synchronization method provided in the embodiments of the present invention.

[0113] Example 4

[0114] Embodiment 4 of the present invention provides a computer-readable storage medium storing computer-executable instructions, which, when executed by a processor, implement the multi-machine parallel adaptive carrier synchronization method provided in all embodiments of the present application:

[0115] Any combination of one or more computer-readable media may be used. A computer-readable medium can be a computer-readable signal medium or a computer-readable storage medium. A computer-readable storage medium can be, for example—but not limited to—an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination thereof. More specific examples (a non-exhaustive list) of computer-readable storage media include: an electrical connection having one or more wires, a portable computer disk, a hard disk, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), optical storage device, magnetic storage device, or any suitable combination thereof. In this document, a computer-readable storage medium can be any tangible medium that contains or stores a program that can be used by or in connection with an instruction execution system, apparatus, or device.

[0116] Computer-readable signal media may include data signals propagated in baseband or as part of a carrier wave, carrying computer-readable program code. Such propagated data signals may take various forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination thereof. Computer-readable signal media may also be any computer-readable medium other than computer-readable storage media, capable of sending, propagating, or transmitting programs for use by or in connection with an instruction execution system, apparatus, or device.

[0117] Program code contained on a computer-readable medium may be transmitted using any suitable medium, including—but not limited to—wireless, wire, optical fiber, RF, etc., or any suitable combination thereof.

[0118] Computer program code for performing the operations of this invention can be written in one or more programming languages ​​or a combination thereof, including object-oriented programming languages ​​such as Java, Smalltalk, and C++, as well as conventional procedural programming languages ​​such as "C" or similar programming languages. The program code can be executed entirely on the user's computer, partially on the user's computer, as a standalone software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In cases involving remote computers, the remote computer can be connected to the user's computer via any type of network—including a local area network (LAN) or a wide area network (WAN)—or can be connected to an external computer (e.g., via the Internet using an Internet service provider).

[0119] Thus far, the description of the above embodiments has been provided for illustrative and descriptive purposes. This is not intended to be exhaustive or limiting of the present disclosure. Individual elements or features of particular embodiments are generally not limited to those particular embodiments, but may be interchanged and used in selected embodiments where applicable, even if not specifically shown or described. In many respects, the same elements or features may also be varied. Such variations are not considered a departure from this disclosure, and all such modifications are intended to be included within the scope of this disclosure.

[0120] Example embodiments are provided so that this disclosure will become thorough and will fully convey the scope to those skilled in the art. Numerous details, such as examples of specific parts, apparatus, and methods, are set forth to provide a thorough understanding of embodiments of this disclosure. It will be apparent to those skilled in the art that the specific details are not required, and the example embodiments may be implemented in many different forms, neither of which should be construed as limiting the scope of this disclosure. In some example embodiments, well-known processes, well-known apparatus structures, and well-known techniques are not described in detail.

[0121] Technical terms are used herein for the purpose of describing specific exemplary embodiments only and are not intended to be limiting. Unless the context clearly indicates otherwise, the singular forms “a” and “the” as used herein may also refer to the plural forms. The terms “comprising” and “having” are inclusive and therefore specify the presence of the stated features, integrals, steps, operations, elements, and / or components, but do not exclude the presence or additional having of one or more other features, integrals, steps, operations, elements, components, and / or combinations thereof. Unless expressly indicated in order of execution, the method steps, processes, and operations described herein are not to be construed as necessarily requiring performance in the specific order discussed and shown. It should also be understood that additional or optional steps may be employed.

[0122] When an element or layer is described as "on," "joined with," "connected to," or "linked to" another element or layer, it may be directly on, joined to, connected to, or linked to another element or layer, or there may be an element or layer in between. Conversely, when an element or layer is described as "directly on," "directly joined with," "directly connected to," or "directly linked to" another element or layer, there may not be an element or layer in between. Other terms used to describe element relationships should be interpreted in a similar manner (e.g., "between" and "directly between," "adjacent" and "directly adjacent," etc.). The term "and / or" as used herein includes any and all combinations of one or more of the associated listed items. Although the terms first, second, third, etc., may be used herein to describe various elements, components, regions, layers, and / or parts, these elements, components, regions, layers, and / or parts are not limited by these terms. These terms may be used only to distinguish one element, component, region, or part from another element, component, region, or part. Unless the context clearly indicates otherwise, the use of terms such as “first,” “second,” and other numerical terms herein does not imply sequence or order. Therefore, the terms “first element,” “component,” “region,” “layer,” or “part” discussed below may be used in the context of “second element,” “component,” “region,” “layer,” or “part” without departing from the teachings of this exemplary embodiment.

[0123] Spatial relative terms, such as “inside,” “outside,” “below,” “under,” “lower,” “above,” “upper,” etc., may be used herein for descriptive purposes to describe the relationship between one element or feature and one or more other elements or features as shown in the figure. Spatial relative terms may refer to different orientations of the device other than those depicted in the figure. For example, if the device in the figure is rotated, an element described as “below other elements or features” or “below the element or feature” will be oriented “above other elements or features.” Therefore, the example term “below” can encompass both upward and downward orientations. The device may be oriented in other ways (rotated 90 degrees or other orientations) and interpreted using the spatial relative descriptions herein.

Claims

1. A method for adaptive carrier synchronization in a multi-processor parallel system, characterized by, The method comprises: capturing, by an ECAP module of a DSP, a synchronization signal sent by a host, and calculating a time difference Δt(n) from a time when the ECAP module captures the synchronization signal to a time when the ECAP module enters an interrupt; performing fuzzy operation on the time difference Δt(n) and a PWM period adjustment step S(n-1) of a previous time to obtain a PWM period adjustment step s(n) of a current time; adjusting, according to the PWM period adjustment step s(n) of the current time, a PWM period of a slave to realize carrier synchronization; the step of performing fuzzy operation on the time difference Δt(n) and the PWM period adjustment step S(n-1) of the previous time to obtain the PWM period adjustment step s(n) of the current time comprises: quantizing the time difference Δt(n) and the PWM period adjustment step s(n) of the current time by a quantization factor, and mapping to fuzzy set theory domains ΔT(n) and S(n) correspondingly; selecting a triangular membership function as a membership function of the fuzzy set theory domains ΔT(n) and S(n); establishing a fuzzy control rule table; according to the fuzzy control rule table, converting fuzzy quantities into accurate quantities by using an area barycenter method, and calculating the PWM period adjustment step s(n) of the current time.

2. The method of claim 1, wherein, the step of capturing, by an ECAP module of a DSP, a synchronization signal sent by a host, and calculating a time difference Δt(n) from a time when the ECAP module captures the synchronization signal to a time when the ECAP module enters an interrupt comprises: capturing, by an ECAP module of a DSP, a synchronization signal sent by a host; when the ECAP module receives a falling edge, clearing a timer in the ECAP module; after the ECAP module enters an interrupt, reading a count value of the ECAP module to calculate the time difference Δt(n) from a time when the ECAP module captures the synchronization signal to a time when the ECAP module enters the interrupt.

3. The method of claim 1, wherein, the step of adjusting, according to the PWM period adjustment step s(n) of the current time, a PWM period of a slave to realize carrier synchronization comprises: adjusting, according to the PWM period adjustment step s(n) of the current time, the PWM period of the slave to the right or to the left to realize carrier synchronization.

4. A multi-processor parallel adaptive carrier synchronization system, characterized by, The system comprises: a capture calculation module, configured to capture, by an ECAP module of a DSP, a synchronization signal sent by a host, and calculate a time difference Δt(n) from a time when the ECAP module captures the synchronization signal to a time when the ECAP module enters an interrupt; a fuzzy operation module, configured to perform fuzzy operation on the time difference Δt(n) and a PWM period adjustment step S(n-1) of a previous time to obtain a PWM period adjustment step s(n) of a current time; a carrier synchronization module, configured to adjust, according to the PWM period adjustment step s(n) of the current time, a PWM period of a slave to realize carrier synchronization; the fuzzy operation module is specifically configured to: quantize the time difference Δt(n) and the PWM period adjustment step s(n) of the current time by a quantization factor, and map to fuzzy set theory domains ΔT(n) and S(n) correspondingly; select a triangular membership function as a membership function of the fuzzy set theory domains ΔT(n) and S(n); establish a fuzzy control rule table; according to the fuzzy control rule table, convert fuzzy quantities into accurate quantities by using an area barycenter method, and calculate the PWM period adjustment step s(n) of the current time. establish a fuzzy control rule table; According to the fuzzy control rule table, the fuzzy quantity is converted into accurate quantity by using area barycenter method to calculate the current time PWM cycle adjustment step s(n).

5. The multiple-parallel self-adapting carrier synchronization system of claim 4, wherein, The capture calculation module is specifically used for: Capturing the synchronization signal sent by the host through the ECAP module of the DSP; When the ECAP module receives the falling edge, the timer in the ECAP module is cleared; After the ECAP module enters the interrupt, the count value of the ECAP module is read to calculate the time difference Δt(n) from the time when the ECAP module captures the synchronization signal to the time when the interrupt is entered.

6. The multiple-parallel self-adapting carrier synchronization system of claim 4, wherein, The carrier synchronization module is specifically used for: According to the current time PWM cycle adjustment step s(n), the PWM cycle of the slave is adjusted right or left to realize carrier synchronization. 7.A computer device, comprising a memory and a processor, wherein the memory stores a computer program, and the computer device is configured to perform the method according to any one of claims 1-6 when the computer program is executed by the processor. The processor executes the computer program to realize the multi-machine parallel adaptive carrier synchronization method of any one of claims 1-3. 8.A storage medium containing computer executable instructions executed by a computer processor to realize the multi-machine parallel adaptive carrier synchronization method of any one of claims 1-3.

Citation Information

Patent Citations

  • Fuzzy control-based high-dynamic GPS receiver carrier tracking loop

    CN101975957A

  • Carrier synchronization method and system

    CN109617844A