CN111628571B - Master-slave-free carrier synchronization method for multi-module system and multi-module carrier synchronization system - Google Patents

Master-slave-free carrier synchronization method for multi-module system and multi-module carrier synchronization system Download PDF

Info

Publication number
CN111628571B
CN111628571B CN202010358143.5A CN202010358143A CN111628571B CN 111628571 B CN111628571 B CN 111628571B CN 202010358143 A CN202010358143 A CN 202010358143A CN 111628571 B CN111628571 B CN 111628571B
Authority
CN
China
Prior art keywords
module
carrier
target module
count value
modules
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202010358143.5A
Other languages
Chinese (zh)
Other versions
CN111628571A (en
Inventor
魏闻
黄凯伦
陈伟山
吴佰桐
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Xiamen Kehua suneng Technology Co.,Ltd.
Original Assignee
Xiamen Kehua Hengsheng Co Ltd
Zhangzhou Kehua Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Xiamen Kehua Hengsheng Co Ltd, Zhangzhou Kehua Technology Co Ltd filed Critical Xiamen Kehua Hengsheng Co Ltd
Priority to CN202010358143.5A priority Critical patent/CN111628571B/en
Publication of CN111628571A publication Critical patent/CN111628571A/en
Application granted granted Critical
Publication of CN111628571B publication Critical patent/CN111628571B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J13/00Circuit arrangements for providing remote indication of network conditions, e.g. an instantaneous record of the open or closed condition of each circuitbreaker in the network; Circuit arrangements for providing remote control of switching means in a power distribution network, e.g. switching in and out of current consumers by using a pulse code signal carried by the network
    • H02J13/00006Circuit arrangements for providing remote indication of network conditions, e.g. an instantaneous record of the open or closed condition of each circuitbreaker in the network; Circuit arrangements for providing remote control of switching means in a power distribution network, e.g. switching in and out of current consumers by using a pulse code signal carried by the network characterised by information or instructions transport means between the monitoring, controlling or managing units and monitored, controlled or operated power network element or electrical equipment
    • H02J13/00007Circuit arrangements for providing remote indication of network conditions, e.g. an instantaneous record of the open or closed condition of each circuitbreaker in the network; Circuit arrangements for providing remote control of switching means in a power distribution network, e.g. switching in and out of current consumers by using a pulse code signal carried by the network characterised by information or instructions transport means between the monitoring, controlling or managing units and monitored, controlled or operated power network element or electrical equipment using the power network as support for the transmission
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J13/00Circuit arrangements for providing remote indication of network conditions, e.g. an instantaneous record of the open or closed condition of each circuitbreaker in the network; Circuit arrangements for providing remote control of switching means in a power distribution network, e.g. switching in and out of current consumers by using a pulse code signal carried by the network
    • H02J13/00006Circuit arrangements for providing remote indication of network conditions, e.g. an instantaneous record of the open or closed condition of each circuitbreaker in the network; Circuit arrangements for providing remote control of switching means in a power distribution network, e.g. switching in and out of current consumers by using a pulse code signal carried by the network characterised by information or instructions transport means between the monitoring, controlling or managing units and monitored, controlled or operated power network element or electrical equipment
    • H02J13/00016Circuit arrangements for providing remote indication of network conditions, e.g. an instantaneous record of the open or closed condition of each circuitbreaker in the network; Circuit arrangements for providing remote control of switching means in a power distribution network, e.g. switching in and out of current consumers by using a pulse code signal carried by the network characterised by information or instructions transport means between the monitoring, controlling or managing units and monitored, controlled or operated power network element or electrical equipment using a wired telecommunication network or a data transmission bus
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02MAPPARATUS FOR CONVERSION BETWEEN AC AND AC, BETWEEN AC AND DC, OR BETWEEN DC AND DC, AND FOR USE WITH MAINS OR SIMILAR POWER SUPPLY SYSTEMS; CONVERSION OF DC OR AC INPUT POWER INTO SURGE OUTPUT POWER; CONTROL OR REGULATION THEREOF
    • H02M1/00Details of apparatus for conversion
    • H02M1/44Circuits or arrangements for compensating for electromagnetic interference in converters or inverters
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02MAPPARATUS FOR CONVERSION BETWEEN AC AND AC, BETWEEN AC AND DC, OR BETWEEN DC AND DC, AND FOR USE WITH MAINS OR SIMILAR POWER SUPPLY SYSTEMS; CONVERSION OF DC OR AC INPUT POWER INTO SURGE OUTPUT POWER; CONTROL OR REGULATION THEREOF
    • H02M7/00Conversion of ac power input into dc power output; Conversion of dc power input into ac power output
    • H02M7/42Conversion of dc power input into ac power output without possibility of reversal
    • H02M7/44Conversion of dc power input into ac power output without possibility of reversal by static converters
    • H02M7/48Conversion of dc power input into ac power output without possibility of reversal by static converters using discharge tubes with control electrode or semiconductor devices with control electrode
    • H02M7/493Conversion of dc power input into ac power output without possibility of reversal by static converters using discharge tubes with control electrode or semiconductor devices with control electrode the static converters being arranged for operation in parallel
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02MAPPARATUS FOR CONVERSION BETWEEN AC AND AC, BETWEEN AC AND DC, OR BETWEEN DC AND DC, AND FOR USE WITH MAINS OR SIMILAR POWER SUPPLY SYSTEMS; CONVERSION OF DC OR AC INPUT POWER INTO SURGE OUTPUT POWER; CONTROL OR REGULATION THEREOF
    • H02M1/00Details of apparatus for conversion
    • H02M1/0003Details of control, feedback or regulation circuits
    • H02M1/0012Control circuits using digital or numerical techniques

Landscapes

  • Engineering & Computer Science (AREA)
  • Power Engineering (AREA)
  • Physics & Mathematics (AREA)
  • Electromagnetism (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Hardware Redundancy (AREA)

Abstract

The invention is suitable for the technical field of carrier control, and provides a master-slave-free carrier synchronization method of a multi-module system and the multi-module carrier synchronization system, wherein the method comprises the following steps: when an ith carrier cycle arrives, a target module sends carrier synchronization information to other modules through the CAN bus, wherein the carrier synchronization information comprises a timestamp for the target module to send the carrier synchronization information, and the target module is any one of the N modules; the target module receives carrier synchronization information sent by other modules; the target module judges that one of the N modules is a main module; and the target module adjusts the carrier period of the target module according to the carrier synchronization information of the target module and the carrier synchronization information of the main module, so that the N modules are in carrier synchronization. The invention can reduce the high-frequency circulation of the multi-module system when the modules are combined, and improve the efficiency and the safety of the system.

Description

Master-slave-free carrier synchronization method for multi-module system and multi-module carrier synchronization system
Technical Field
The invention belongs to the technical field of carrier control, and particularly relates to a multi-module system master-slave-free carrier synchronization method and a multi-module carrier synchronization system.
Background
With the development of economy, the parallel operation of a plurality of modules or a plurality of electrical devices is increasingly applied to various fields, for example, the damage of traditional energy sources to the environment and the ecology is increasingly intensified, and the development and the research of the application of new energy sources are imperative. With the development of new energy industry, the application of the modular digital inverter becomes a main direction.
In a system with a plurality of modules or a plurality of electrical devices connected in parallel, for example, a multi-module digital inverter system is composed of a plurality of modules connected in parallel, wherein output synchronization among the modules becomes an important technical point for modular power control. In the prior art, circulation of switching text waves exists among modules of a multi-module system, and high-frequency circulation exists when the modules are connected in parallel, so that the loss of the system is increased, the efficiency of the system is reduced, serious electromagnetic interference is caused, and the safe operation of the system is endangered.
Disclosure of Invention
In view of this, the present invention provides a multi-module system master-slave-free carrier synchronization method and a multi-module carrier synchronization system, which can reduce high-frequency circulation of the multi-module system during module parallel operation, and improve the efficiency and safety of the system.
A first aspect of an embodiment of the present invention provides a master-slave carrier synchronization method for a multi-module system, where the multi-module system includes N modules, where the N modules communicate via a controller area network CAN bus, and the method includes:
when an ith carrier cycle arrives, a target module sends carrier synchronization information to other modules through the CAN bus, wherein the carrier synchronization information comprises a timestamp for the target module to send the carrier synchronization information, and the target module is any one of the N modules;
the target module receives carrier synchronization information sent by other modules;
the target module judges that one of the N modules is a main module;
and the target module adjusts the carrier period of the target module according to the carrier synchronization information of the target module and the carrier synchronization information of the main module, so that the N modules are in carrier synchronization.
A second aspect of the embodiments of the present invention provides a multi-module carrier synchronization system, where the multi-module carrier synchronization system is formed by connecting N modules in parallel, where the N modules perform data interaction through a controller area network CAN bus, and for any one of the N modules, the module includes a memory, a processor, and a computer program stored in the memory and capable of running on the processor, and when the processor executes the computer program, the steps of the multi-module system master-slave-free carrier synchronization method are implemented.
The invention enables the modules of the multi-module system to adjust the carrier period value according to the carrier information of the main module through the information interaction among the modules in the multi-module system so as to achieve the purpose of carrier synchronization, reduce the high-frequency circulation of the multi-module system when the modules are connected in parallel and improve the efficiency and the safety of the system.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the embodiments or the prior art descriptions will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without inventive exercise.
Fig. 1 is a flowchart illustrating an implementation of a master-slave carrier synchronization method in a multi-module system according to an embodiment of the present invention;
fig. 2 is a schematic structural diagram of a multi-module carrier synchronization system according to an embodiment of the present invention;
fig. 3 is a flowchart illustrating an implementation of another method for synchronizing a master carrier and a slave carrier in a multi-module system according to an embodiment of the present invention;
fig. 4 is a schematic working condition diagram of a multi-module system master-slave carrier synchronization method according to an embodiment of the present invention;
fig. 5 is a schematic operating condition diagram of another master-slave carrier synchronization-free method for a multi-module system according to an embodiment of the present invention;
fig. 6 is a schematic operating diagram of another multi-module system master-slave carrier synchronization method according to an embodiment of the present invention;
fig. 7 is a schematic operating condition diagram of another no-master-slave carrier synchronization method for a multi-module system according to an embodiment of the present invention;
fig. 8 is a schematic diagram of a module in a multi-module carrier synchronization system according to an embodiment of the present invention.
Detailed Description
In the following description, for purposes of explanation and not limitation, specific details are set forth, such as particular system structures, techniques, etc. in order to provide a thorough understanding of the embodiments of the invention. It will be apparent, however, to one skilled in the art that the present invention may 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 invention with unnecessary detail.
In order to make the objects, technical solutions and advantages of the present invention more apparent, the following description is made by way of specific embodiments with reference to the accompanying drawings.
Referring to fig. 1, it shows a flowchart of an implementation of a master-slave carrier synchronization-free method for a multi-module system according to an embodiment of the present invention, which is detailed as follows:
s101, when the ith carrier cycle arrives, a target module sends carrier synchronization information to other modules through the CAN bus, wherein the carrier synchronization information comprises a timestamp for sending the carrier synchronization information by the target module.
Wherein the target module is any one of the N modules.
With reference to fig. 2, a multi-module system according to an embodiment of the present invention is schematically illustrated, where the multi-module system includes N modules, and the N modules communicate with each other through a controller area network CAN bus.
Optionally, for any module, the module sends the carrier synchronization information in this step in a manner of sending a carrier synchronization frame to other modules through a carrier synchronization mailbox of the module, where the carrier synchronization information includes a timestamp for sending the carrier synchronization information by the target module.
And S102, the target module receives the carrier synchronization information sent by other modules.
And the target module receives the carrier synchronization information sent by other modules through the CAN bus.
And S103, the target module judges that one of the N modules is a main module.
Optionally, the target module obtains address information of each of the N modules; and the target module judges that one of the N modules is the main module according to the address information of each of the N modules through a preset rule.
Optionally, in an embodiment of the present invention, at least two methods for determining the master module are provided as follows:
before step S101, the target module acquires address information of each of the N modules; and the target module determines the module with the minimum address as the main module according to the address information of each of the N modules, or the target module determines the module with the maximum address as the main module according to the address information of each of the N modules.
Taking the module with the minimum address as the master module for example, when the module with the minimum address fails and stops working, the rest working modules take the module with the minimum address in the modules working normally as the new master module.
And S104, the target module adjusts the carrier period of the target module according to the carrier synchronization information of the target module and the carrier synchronization information of the main module, so that the N modules are in carrier synchronization.
Optionally, in an implementation of the present invention, after a first module is powered on, a carrier synchronization data frame with a CAN bus clock cleared is sent through mailbox broadcast, all nodes on a bus, that is, clock registers of all modules of a multi-module system are cleared, and then, with reference to fig. 3, an implementation of the present invention further provides a method for synchronizing a master carrier and a slave carrier of a multi-module system, where the method specifically explains how a target module adjusts its carrier period according to its own carrier synchronization information and carrier synchronization information of a master module, and the method includes:
s1401, the target module counts through its own clock register.
And S1402, the target module obtains a carrier count value according to the timestamp for sending the carrier information of the target module and the timestamp for receiving the carrier information of the target module by other modules and according to the clock of the CAN bus and the clock register.
Specifically, the target module acquires a carrier count value thereof according to a clock register thereof when performing timing by transmitting and receiving a successful interrupt of the CAN communication.
S1403, the target module sends its carrier count value to other modules when the next carrier cycle arrives, and receives carrier count values sent by other modules. Optionally, each module maintains a data sharing space in its own storage space, and stores the carrier count value of each module in the data sharing space.
S1404, the target module determines a first count value and a second count value, where the carrier count value of the main module is the first count value, and the carrier count value of the target module is the second count value.
S1405, the target module adjusts its carrier period value according to the first count value and the second count value, so as to synchronize with the main module carrier.
Each module adjusts the carrier period value thereof according to the carrier count value of the main module and the carrier count value thereof, thereby achieving the purpose of carrier synchronization of all modules.
Optionally, if the target module determines that the target module is the main module, the target module does not adjust the carrier period value of the target module;
or if the absolute value of the difference value between the first count value and the second count value is less than or equal to a preset value, the target module does not adjust the carrier period of the target module.
Optionally, for any module of the N modules, the module stores its own carrier synchronization information and carrier synchronization information of other modules received via the CAN bus into a preset storage space of the module; if the carrier synchronization information of the module changes and/or the carrier synchronization information of other modules received by the module changes, the module updates the carrier synchronization information of each module in the corresponding preset storage space, and readjusts the carrier period of the module according to the updated information.
Specifically, the target module determines a carrier state of the main module according to the first count value, and determines a carrier state of the target module according to the second count value, where the carrier state includes a rising state and a falling state; and the target module adjusts the carrier period value of the target module according to the carrier state of the main module, the carrier state of the target module, the first counting value and the second counting value.
Referring to fig. 4, if the carrier states of the main module and the target module are both in the ascending state, the adjusting the carrier period value of the main module and the target module includes:
if the first count value is larger than the second count value, the target module reduces the carrier period value of the target module;
if the first count value is smaller than the second count value, the target module increases the carrier period value of the target module;
and if the first count value is equal to the second count value, the target module does not adjust the carrier period value of the target module.
Referring to fig. 5, if the carrier states of the main module and the target module are both in a descending state, the adjusting the carrier period value of the main module and the target module includes:
if the first count value is larger than the second count value, the target module increases the carrier period value of the target module;
if the first count value is smaller than the second count value, the target module reduces the carrier period value of the target module;
and if the first count value is equal to the second count value, the target module does not adjust the carrier period value of the target module.
With reference to fig. 6, if the carrier state of the main module is in an ascending state and the carrier state of the target module is in a descending state, the target module increases its carrier period value;
referring to fig. 7, if the carrier state of the main module is in a descending state and the carrier state of the target module is in an ascending state, the target module decreases its carrier period value.
Therefore, the invention can adjust the carrier period value of the modules of the multi-module system according to the carrier information of the main module through the information interaction among the modules in the multi-module system, thereby achieving the purpose of carrier synchronization, reducing the high-frequency circulation of the multi-module system when the modules are connected in parallel and improving the efficiency and the safety of the system.
It should be understood that, the sequence numbers of the steps in the foregoing embodiments do not imply an execution sequence, and the execution sequence of each process should be determined by its function and inherent logic, and should not constitute any limitation to the implementation process of the embodiments of the present invention.
Optionally, an embodiment of the present invention further provides a multi-module carrier synchronization system, and with reference to fig. 2, the multi-module carrier synchronization system is formed by connecting N modules in parallel, where the N modules perform data interaction through a controller area network CAN bus, and for any one of the N modules, the module includes a memory, a processor, and a computer program stored in the memory and capable of running on the processor, and when the processor executes the computer program, the processor implements a step of implementing a master-slave carrier synchronization method of any one of the multi-module systems.
Fig. 8 is a schematic diagram of a terminal according to an embodiment of the present invention, where the terminal may be any module in a multi-module carrier synchronization system. As shown in fig. 8, the terminal 8 of this embodiment includes: a processor 80, a memory 81 and a computer program 82 stored in said memory 81 and executable on said processor 80. The processor 80, when executing the computer program 82, implements the steps in each of the above embodiments of the multi-module system master-slave-less carrier synchronization method, such as the steps 101 to 104 shown in fig. 1.
Illustratively, the computer program 82 may be partitioned into one or more modules/units that are stored in the memory 81 and executed by the processor 80 to implement the present invention. The one or more modules/units may be a series of computer program instruction segments capable of performing specific functions, which are used to describe the execution of the computer program 82 in the terminal 8.
The terminal 8 may be a desktop computer, a notebook, a palm computer, a cloud server, or other computing devices. The terminal may include, but is not limited to, a processor 80, a memory 81. It will be appreciated by those skilled in the art that fig. 8 is only an example of a terminal 8 and does not constitute a limitation of the terminal 8, and that it may comprise more or less components than those shown, or some components may be combined, or different components, for example the terminal may further comprise input output devices, network access devices, buses, etc.
The Processor 80 may be a Central Processing Unit (CPU), other general purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA) or other Programmable logic device, discrete Gate or transistor logic, discrete hardware components, etc. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
The memory 81 may be an internal storage unit of the terminal 8, such as a hard disk or a memory of the terminal 8. The memory 81 may also be an external storage device of the terminal 8, such as a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card) and the like provided on the terminal 8. Further, the memory 81 may also include both an internal storage unit and an external storage device of the terminal 8. The memory 81 is used for storing the computer program and other programs and data required by the terminal. The memory 81 may also be used to temporarily store data that has been output or is to be output.
It will be apparent to those skilled in the art that, for convenience and brevity of description, only the above-mentioned division of the functional units and modules is illustrated, and in practical applications, the above-mentioned function distribution may be performed by different functional units and modules according to needs, that is, the internal structure of the apparatus is divided into different functional units or modules to perform all or part of the above-mentioned functions. Each functional unit and module in the embodiments may be integrated in one processing unit, or each unit may exist alone physically, or two or more units are integrated in one unit, and the integrated unit may be implemented in a form of hardware, or in a form of software functional unit. In addition, specific names of the functional units and modules are only for convenience of distinguishing from each other, and are not used for limiting the protection scope of the present application. The specific working processes of the units and modules in the system may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the above embodiments, the descriptions of the respective embodiments have respective emphasis, and reference may be made to the related descriptions of other embodiments for parts that are not described or illustrated in a certain embodiment.
Those of ordinary skill in the art will appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
In the embodiments provided in the present invention, it should be understood that the disclosed apparatus/terminal and method may be implemented in other ways. For example, the above-described apparatus/terminal embodiments are merely illustrative, and for example, the division of the modules or units is only one logical division, and there may be other divisions when actually implemented, for example, a plurality of units or components may be combined or may be integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated modules/units, if implemented in the form of software functional units and sold or used as separate products, may be stored in a computer readable storage medium. Based on such understanding, all or part of the flow of the method according to the embodiments of the present invention may also be implemented by a computer program, which may be stored in a computer-readable storage medium, and when the computer program is executed by a processor, the steps of the method embodiments may be implemented. Wherein the computer program comprises computer program code, which may be in the form of source code, object code, an executable file or some intermediate form, etc. The computer-readable medium may include: any entity or device capable of carrying the computer program code, recording medium, usb disk, removable hard disk, magnetic disk, optical disk, computer Memory, Read-Only Memory (ROM), Random Access Memory (RAM), electrical carrier wave signals, telecommunications signals, software distribution medium, and the like. It should be noted that the computer readable medium may contain other components which may be suitably increased or decreased as required by legislation and patent practice in jurisdictions, for example, in some jurisdictions, computer readable media which may not include electrical carrier signals and telecommunications signals in accordance with legislation and patent practice.
The above-mentioned embodiments are only used for illustrating the technical solutions of the present invention, and not for limiting the same; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; such modifications and substitutions do not substantially depart from the spirit and scope of the embodiments of the present invention, and are intended to be included within the scope of the present invention.

Claims (10)

1. A master-slave carrier synchronization-free method for a multi-module system is characterized in that the multi-module system comprises N modules, the N modules communicate through a Controller Area Network (CAN) bus, and the method comprises the following steps:
when an ith carrier cycle arrives, a target module sends carrier synchronization information to other modules through the CAN bus, wherein the carrier synchronization information comprises a timestamp for the target module to send the carrier synchronization information, and the target module is any one of the N modules;
the target module receives carrier synchronization information sent by other modules;
the target module judges that one of the N modules is a main module;
the target module adjusts its carrier period according to its carrier count value and the carrier count value of the main module, so as to synchronize the N module carriers, wherein the carrier count value of the target module is obtained according to the carrier synchronization information of the target module, and the carrier count value of the main module is obtained according to the carrier synchronization information of the main module.
2. The multi-module system master-slave carrier synchronization method as claimed in claim 1, further comprising:
the target module counts through a clock register of the target module;
the target module obtains a carrier count value according to the timestamp for sending the carrier synchronization information of the target module and the timestamp for receiving the carrier synchronization information of the target module by other modules and according to the clock of the CAN bus and the clock register;
the target module sends the carrier count value of the target module to other modules when the next carrier period comes, and receives the carrier count values sent by other modules;
the target module determines a first count value and a second count value, wherein the carrier count value of the main module is the first count value, and the carrier count value of the target module is the second count value;
the target module adjusts the carrier period of the target module according to the carrier count value of the target module and the carrier count value of the main module, and the adjustment includes:
and the target module adjusts the carrier period value of the target module according to the first count value and the second count value so as to synchronize with the carrier of the main module.
3. The method according to claim 1, wherein the determining, by the target module, that one of the N modules is a master module by the target module comprises:
the target module acquires address information of each of the N modules;
and the target module judges that one of the N modules is the main module according to the address information of each of the N modules through a preset rule.
4. The multi-module system master-slave carrier-less synchronization method of claim 2, further comprising:
if the target module determines that the target module is the main module, the target module does not adjust the carrier period value of the target module;
or if the absolute value of the difference value between the first count value and the second count value is less than or equal to a preset value, the target module does not adjust the carrier period of the target module.
5. The multi-module system master-slave carrier synchronization method according to claim 2, wherein the target module adjusting its carrier period value according to the first count value and the second count value comprises:
the target module judges the carrier state of the main module according to the first counting value and judges the carrier state of the target module according to the second counting value, wherein the carrier state comprises an ascending state and a descending state;
and the target module adjusts the carrier period value of the target module according to the carrier state of the main module, the carrier state of the target module, the first counting value and the second counting value.
6. The multi-module system master-slave carrier synchronization method according to claim 5, wherein if the carrier statuses of the master module and the target module are both in an up status, the adjusting the carrier period value comprises:
if the first count value is larger than the second count value, the target module reduces the carrier period value of the target module;
if the first count value is smaller than the second count value, the target module increases the carrier period value of the target module;
and if the first count value is equal to the second count value, the target module does not adjust the carrier period value of the target module.
7. The multi-module system master-slave carrier synchronization method according to claim 5, wherein if the carrier statuses of the master module and the target module are both in a down status, the adjusting the carrier period value comprises:
if the first count value is larger than the second count value, the target module increases the carrier period value of the target module;
if the first count value is smaller than the second count value, the target module reduces the carrier period value of the target module;
and if the first count value is equal to the second count value, the target module does not adjust the carrier period value of the target module.
8. The multi-module system master-slave carrier synchronization method according to claim 5, wherein the adjusting the carrier period value of the multi-module system comprises:
if the carrier state of the main module is in an ascending state and the carrier state of the target module is in a descending state, the target module increases the carrier period value of the target module;
and if the carrier state of the main module is in a descending state and the carrier state of the target module is in an ascending state, reducing the carrier period value of the target module by the target module.
9. The multi-module system master-slave carrier synchronization method according to any one of claims 1 to 8, further comprising:
for any one of the N modules, the module stores the carrier synchronization information of the module and the carrier synchronization information of other modules received through the CAN bus into a preset storage space of the module;
if the carrier synchronization information of the module changes and/or the carrier synchronization information of other modules received by the module changes, the module updates the carrier synchronization information of each module in the corresponding preset storage space, and readjusts the carrier period of the module according to the updated information.
10. A multi-module carrier synchronization system, wherein the multi-module carrier synchronization system is composed of N modules connected in parallel, the N modules perform data interaction through a controller area network, CAN, bus, and for any one of the N modules, the module includes a memory, a processor, and a computer program stored in the memory and operable on the processor, and the processor implements the steps of the multi-module system without a master-slave carrier synchronization method as claimed in any one of claims 1 to 9 when executing the computer program.
CN202010358143.5A 2020-04-29 2020-04-29 Master-slave-free carrier synchronization method for multi-module system and multi-module carrier synchronization system Active CN111628571B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010358143.5A CN111628571B (en) 2020-04-29 2020-04-29 Master-slave-free carrier synchronization method for multi-module system and multi-module carrier synchronization system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010358143.5A CN111628571B (en) 2020-04-29 2020-04-29 Master-slave-free carrier synchronization method for multi-module system and multi-module carrier synchronization system

Publications (2)

Publication Number Publication Date
CN111628571A CN111628571A (en) 2020-09-04
CN111628571B true CN111628571B (en) 2022-03-11

Family

ID=72259844

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010358143.5A Active CN111628571B (en) 2020-04-29 2020-04-29 Master-slave-free carrier synchronization method for multi-module system and multi-module carrier synchronization system

Country Status (1)

Country Link
CN (1) CN111628571B (en)

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1228908C (en) * 2001-12-31 2005-11-23 艾默生网络能源有限公司 Switch synchronization method of parallel converter system.
CN100356654C (en) * 2005-07-08 2007-12-19 浙江大学 Automatic master-slave parallel apparatus for inverter
CN101110518B (en) * 2006-07-21 2011-05-11 中兴通讯股份有限公司 Method for synchronization of three-phase parallel type inversion module
CN104950765B (en) * 2015-06-23 2017-09-22 合肥工业大学 A kind of inverter parallel system and its carrier synchronization method based on CAN
CN105978554B (en) * 2016-06-30 2018-11-02 特变电工西安电气科技有限公司 A kind of parallel-type converter carrier synchronization system and synchronous method
KR101896396B1 (en) * 2016-09-30 2018-09-10 헵시바주식회사 Grid-interactive inverter of parallel stack structure
CN107834817B (en) * 2017-11-10 2020-05-22 阳光电源股份有限公司 Control method and control system for parallel operation of converters
CN108206623B (en) * 2017-12-08 2020-03-20 南京南瑞继保电气有限公司 Carrier synchronization system and method for parallel connection of converters

Also Published As

Publication number Publication date
CN111628571A (en) 2020-09-04

Similar Documents

Publication Publication Date Title
US6789183B1 (en) Apparatus and method for activation of a digital signal processor in an idle mode for interprocessor transfer of signal groups in a digital signal processing unit
US9319040B2 (en) Distributing multiplexing logic to remove multiplexor latency on the output path for variable clock cycle, delayed signals
CN110968352A (en) PCIE equipment resetting system and server system
CN112817907A (en) Interconnected bare chip expansion micro system and expansion method thereof
CN111628571B (en) Master-slave-free carrier synchronization method for multi-module system and multi-module carrier synchronization system
CN108694146B (en) Asynchronous/synchronous interface circuit
CN116306417B (en) Clock delay method, clock delay device, electronic equipment and storage medium
CN110740085B (en) Communication method, communication device and terminal based on parallel operation system
CN112580278B (en) Optimization method and optimization device for logic circuit and storage medium
CN103559159A (en) Information processing method and electronic device
CN115129643A (en) Method, device, equipment and storage medium for improving transmission bandwidth between BMC and CMC
EP4141685A1 (en) Method and device for constructing communication topology structure on basis of multiple processing nodes
CA3200781A1 (en) Processor and computing system
CN112703704B (en) Communication device, communication system, communication method, and computer-readable recording medium
CN111381875B (en) Data comparator, data processing method, chip and electronic equipment
CN112130982A (en) Interrupt control device, method and system
CN117725019B (en) Method and computing system for GPU set communication
CN117093331B (en) Communication bus simulation and integration method and system supporting virtual 1394b
CN115687197B (en) Data receiving module, data receiving method, circuit, chip and related equipment
CN111124974B (en) Interface expanding device and method
US12050545B2 (en) Method and device for constructing communication topology structure on basis of multiple processing nodes
CN111338680B (en) Firmware upgrading method, firmware upgrading device and terminal of slave station
CN101605013A (en) A kind of clock synchronizing method and system
CN106547719A (en) A kind of system communication and control process synchronous method
CN117708034A (en) Electronic apparatus and control method

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CP01 Change in the name or title of a patent holder
CP01 Change in the name or title of a patent holder

Address after: 361101 Ma Long Road 457, Torch Garden, Xiamen Torch High-tech Zone, Fujian Province

Patentee after: Kehua Data Co.,Ltd.

Patentee after: ZHANGZHOU KEHUA TECHNOLOGY Co.,Ltd.

Address before: 361101 Ma Long Road 457, Torch Garden, Xiamen Torch High-tech Zone, Fujian Province

Patentee before: XIAMEN KEHUAHENGSHENG LIMITED BY SHARE Ltd.

Patentee before: ZHANGZHOU KEHUA TECHNOLOGY Co.,Ltd.

TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20220623

Address after: 361001 room 208-38, Hengye building, No. 100, Xiangxing Road, Xiamen Torch High tech Zone (Xiang'an) Industrial Zone, Xiamen, Fujian

Patentee after: Xiamen Kehua suneng Technology Co.,Ltd.

Address before: 361101 Ma Long Road 457, Torch Garden, Xiamen Torch High-tech Zone, Fujian Province

Patentee before: Kehua Data Co.,Ltd.

Patentee before: ZHANGZHOU KEHUA TECHNOLOGY Co.,Ltd.

CI03 Correction of invention patent
CI03 Correction of invention patent

Correction item: Patentee|Address

Correct: Xiamen Kehua shuneng Technology Co.,Ltd.|361001 room 208-38, Hengye building, No. 100, Xiangxing Road, Xiamen Torch High tech Zone (Xiang'an) Industrial Zone, Xiamen, Fujian

False: Xiamen Kehua suneng Technology Co.,Ltd.|361001 room 208-38, Hengye building, No. 100, Xiangxing Road, Xiamen Torch High tech Zone (Xiang'an) Industrial Zone, Xiamen, Fujian

Number: 27-01

Volume: 38