A phase synchronization control method and device based on multi-terminal converter
By acquiring and correcting the zero-crossing detection range of the converter's phase angle and using CAN communication to achieve phase synchronization of multi-terminal converters, the grid instability problem caused by phase asynchrony in the energy storage system is solved, and the energy conversion efficiency and system stability are improved.
Patent Information
- Application Number
- CN202410839531.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-26
- Publication Date
- 2025-09-16
- Estimated Expiration
- 2044-06-26
AI Technical Summary
In energy storage systems, phase asynchrony between multiple energy storage converters leads to unbalanced grid voltage and current, which may cause system oscillation or instability, affecting system reliability and safety.
By obtaining the phase angle zero-crossing detection range of the master converter and the phase angle of the slave converter, CAN communication is used to send synchronization signals and correct the phase angle to ensure phase synchronization between the master converter and the slave converter.
It achieves precise phase synchronization between energy storage converters, improves energy conversion efficiency, and ensures stable operation and real-time performance of the system.
Smart Images

Figure CN118473016B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of phase synchronization, and in particular to a phase synchronization control method and device based on a multi-terminal converter. Background Art
[0002] In the field of power electronics, phase synchronization is often required between various related devices or systems to ensure the normal operation of the synchronous system. In energy storage systems, multiple energy storage converters must achieve phase synchronization to ensure that they work together to provide or receive energy to the power system.
[0003] Phase asynchrony in parallel-operating energy storage converters can lead to voltage and current imbalances in the grid, which in turn can cause system power imbalance and voltage fluctuations, potentially triggering system oscillations or instability. Phase asynchrony can also cause the control and protection functions of the energy storage system to fail. For example, phase asynchrony can cause currents between energy storage converters to interfere with each other, making it impossible for protection devices to accurately identify faults and abnormal conditions, thereby reducing system reliability and safety. Therefore, phase synchronization is crucial for the normal operation and performance optimization of energy storage systems. Ensuring precise phase synchronization between energy storage converters improves energy conversion efficiency and ensures stable system operation.
[0004] Based on the actual needs in the above scenario, the present application proposes a phase synchronization control method and device based on a multi-terminal converter. Summary of the Invention
[0005] The present application provides a phase synchronization control method and device based on a multi-terminal converter to ensure precise phase synchronization between energy storage converters, thereby improving energy conversion efficiency and ensuring stable operation of the system.
[0006] The first aspect of the present application provides a phase synchronization control method based on a multi-terminal converter, comprising: obtaining a first phase angle and a phase angle zero-crossing detection range of a host converter in response to a phase synchronization instruction; when the first phase angle is within the phase angle zero-crossing detection range, determining whether a zero-crossing signal flag is set; after confirming that the zero-crossing signal flag is set, sending a synchronization signal to a plurality of slave converters using CAN communication according to the switching cycle of the host converter; when the plurality of slave converters receive the synchronization signal, obtaining a second phase angle of any first slave converter among the plurality of slave converters; correcting the second phase angle according to a positional relationship between the second phase angle and the phase angle zero-crossing detection range to obtain a corrected phase angle of the first slave converter; and when the corrected phase angle reaches a preset correction angle, confirming that the host converter and the plurality of slave converters have achieved phase synchronization control.
[0007] The present application adopts the above method to obtain the phase angle zero-crossing detection range in the converter system, and corrects the phase angle of the slave converter according to the positional relationship between the phase angle zero-crossing detection range and the phase angle of the slave converter, so that the phase between the host converter and the slave converter is synchronously controlled, thereby enabling the power system running multi-terminal converters to improve energy conversion efficiency and ensure stable operation of the system.
[0008] In one possible implementation, obtaining a phase angle zero-crossing detection range of a host converter specifically includes: obtaining a switching period of the host converter and a PWM signal period of the host converter; obtaining the number of PWM signal actions within one switching period based on the switching period and the PWM signal period; obtaining a fixed angle of a single PWM signal action based on the number of PWM signal actions; and obtaining a phase angle zero-crossing detection range based on the fixed angle, wherein a zero-crossing threshold of the phase angle zero-crossing detection range does not exceed the fixed angle.
[0009] By adopting the above method, in the process of controlling the phase angle, the phase angle zero-crossing detection range is limited by the fixed angle of the single PWM signal action, thereby avoiding the problem of excessive error in the phase synchronization control process caused by an excessively large phase angle zero-crossing detection range.
[0010] In one possible implementation, the second phase angle is corrected according to the positional relationship between the second phase angle and the phase angle zero-crossing detection range to obtain a corrected phase angle of the first slave converter, specifically including: determining whether the second phase angle is within the phase angle zero-crossing detection range; when the second phase angle is not within the phase angle zero-crossing detection range, determining whether the second phase angle is within any one of the negative correction range and the positive correction range; when the second phase angle is within the negative correction range or the positive correction range, correcting the second phase angle to within the phase angle zero-crossing detection range according to the communication frequency of the CAN communication; when the second phase angle is within the phase angle zero-crossing detection range, determining the second phase angle as the corrected phase angle.
[0011] By adopting the above method, when the second phase angle is not within the phase angle zero-crossing detection range, the second phase angle is corrected according to the positional relationship between the second phase angle and the negative correction range or the positive correction range and in accordance with the communication frequency of the CAN communication, thereby ensuring that the phase of the slave converter can be synchronized with the master converter.
[0012] In one possible implementation, the second phase angle is corrected to within the phase angle zero-crossing detection range according to the communication frequency of the CAN communication, specifically including: when the second phase angle is in the negative correction range, the second phase angle is gradually increased to within the phase angle zero-crossing detection range according to the communication frequency of the CAN communication, the angle upper limit of the negative correction range is the angle lower limit of the phase angle zero-crossing detection range, and the size of the angle lower limit of the negative correction range is the fixed angle of the control signal.
[0013] In one possible implementation, the second phase angle is corrected to within the phase angle zero-crossing detection range according to the communication frequency of the CAN communication, specifically including: when the second phase angle is in the positive correction range, the second phase angle is gradually reduced to within the phase angle zero-crossing detection range according to the communication frequency of the CAN communication, the angle lower limit of the positive correction range is the angle upper limit of the phase angle zero-crossing detection range, and the size of the angle upper limit of the positive correction range is the fixed angle of the control signal.
[0014] In a possible implementation, the method further includes: when the second phase angle is not within the phase angle zero-crossing detection range and is not within either the negative correction range or the positive correction range, correcting the second phase angle to zero degrees.
[0015] In a possible implementation, when CAN communication is used to send synchronization signals to multiple slave converters, the frame data is received in an interrupt reception manner.
[0016] By adopting the above method, frame data is received in an interrupt receiving manner, the response speed is fast, the data frame can be received in time, and the received data can be processed quickly, thereby ensuring the real-time requirements in the phase control process.
[0017] The third aspect of the present application provides an electronic device, which includes a processor, a memory, a user interface and a network interface, the memory is used to store instructions, the user interface and the network interface are used to communicate with other devices, and the processor is used to execute the instructions stored in the memory so that the electronic device performs any of the above methods.
[0018] A fourth aspect of the present application provides a computer-readable storage medium, which stores instructions. When the instructions are executed, any one of the above methods is executed.
[0019] Compared with the related art, the beneficial effects of this application are:
[0020] 1. By adopting the above method, the phase angle zero-crossing detection range in the converter system is obtained, and the phase angle of the slave converter is corrected based on the positional relationship between the phase angle zero-crossing detection range and the phase angle of the slave converter. This allows the phase between the master converter and the slave converter to be synchronously controlled, thereby enabling the power system running multi-terminal converters to improve energy conversion efficiency and ensure stable operation of the system.
[0021] 2. By adopting the above method, in the process of controlling the phase angle, the phase angle zero-crossing detection range is limited by the fixed angle of the single PWM signal action, thereby avoiding the problem of excessive error in the phase synchronization control process caused by an excessively large phase angle zero-crossing detection range.
[0022] 3. By adopting the above method, when the second phase angle is not within the phase angle zero-crossing detection range, the second phase angle is corrected according to the positional relationship between the second phase angle and the negative correction range or the positive correction range and the communication frequency of the CAN communication, thereby ensuring that the phase of the slave converter can be synchronized with the master converter.
[0023] 4. By adopting the above method, frame data is received in an interrupt receiving manner, which has a fast response speed, can receive data frames in time, and can quickly process the received data, ensuring the real-time requirements in the phase control process. BRIEF DESCRIPTION OF THE DRAWINGS
[0024] Figure 1 This is a first flow chart of a phase synchronization control method based on a multi-terminal converter provided in an embodiment of the present application;
[0025] Figure 2 This is a second flow chart of a phase synchronization control method based on a multi-terminal converter provided in an embodiment of the present application;
[0026] Figure 3 3 is a schematic diagram of a third flow chart of a phase synchronization control method based on a multi-terminal converter provided in an embodiment of the present application;
[0027] Figure 4 1 is a schematic structural diagram of a phase synchronization control device based on a multi-terminal converter provided in an embodiment of the present application;
[0028] Figure 5 This is a structural diagram of an electronic device provided in an embodiment of the present application.
[0029] Figure numerals: 41, response unit; 42, judgment unit; 43, synchronization unit; 44, phase acquisition unit; 45, phase correction unit; 46, confirmation unit; 500, electronic device; 501, processor; 502, communication bus; 503, user interface; 504, network interface; 505, memory. DETAILED DESCRIPTION
[0030] In order to enable people skilled in the art to better understand the technical solutions in this specification, the technical solutions in the embodiments of this specification will be clearly and completely described below in conjunction with the drawings in the embodiments of this specification. Obviously, the described embodiments are only part of the embodiments of this application, not all of the embodiments.
[0031] In the description of the embodiments of this application, words such as "exemplary," "for example," or "for example" are used to indicate examples, illustrations, or descriptions. Any embodiment or design described as "exemplary," "for example," or "for example" in the embodiments of this application should not be construed as being preferred or advantageous over other embodiments or designs. Rather, the use of words such as "exemplary," "for example," or "for example" is intended to present the relevant concepts in a concrete manner.
[0032] In the description of the embodiments of the present application, unless otherwise specified, the term "multiple" means two or more. For example, multiple systems refers to two or more systems, and multiple screen terminals refers to two or more screen terminals. In addition, the terms "first" and "second" are used for descriptive purposes only and are not to be understood as indicating or implying relative importance or implicitly indicating the indicated technical features. Thus, the features defined as "first" and "second" may explicitly or implicitly include one or more of the features. The terms "including", "comprising", "having" and their variations all mean "including but not limited to", unless otherwise specifically emphasized.
[0033] The embodiments of the present application provide a phase synchronization control method and device based on a multi-terminal converter to ensure accurate phase synchronization between energy storage converters, thereby improving energy conversion efficiency and ensuring stable operation of the system.
[0034] In the embodiments of the present application, the phase synchronization control method and device based on the multi-terminal converter can be applied to applications including energy storage converters in energy storage control systems, mine ventilation systems, short-circuit protection on the AC grid side and the load side, and other distribution network systems. The present application does not make specific limitations on this. The present application only uses the energy storage converter in the energy storage control system as an example.
[0035] Figure 1 A flow chart of a phase synchronization control method based on a multi-terminal converter provided in this application is shown as follows: Figure 1 As shown, steps S1-S6 are included.
[0036] S1, in response to a phase synchronization instruction, obtaining a first phase angle and a phase angle zero-crossing detection range of a host converter.
[0037] In an embodiment of the present application, a first phase angle of a host converter among a plurality of energy storage converters in an energy storage control system is obtained. The first phase angle is obtained in real time according to an adopted frequency.
[0038] In an embodiment of the present application, the phase angle zero-crossing detection range is an angular range near 0 degrees (i.e., 360 degrees). When the first phase angle enters or leaves the phase angle zero-crossing detection range, it can be determined that the first phase angle has just reached or left the zero point. In the process of phase angle detection, in order to avoid errors in the phase angle detection of the converter in the system, or system oscillations causing the first phase angle to repeatedly reach or leave the phase zero point in a short period of time, thereby causing system misjudgment, the present application sets a phase angle zero-crossing detection range during the phase angle detection process. The specific method for obtaining the phase angle zero-crossing detection range can be found in the following embodiments.
[0039] In one possible implementation, Figure 2 As shown, obtaining the phase angle zero-crossing detection range of the host converter specifically includes steps S11-S14.
[0040] S11, obtaining a switching period of a host converter and a PWM signal period of the host converter.
[0041] Specifically, in the embodiment of the present application, the switching period of the host converter and the PWM signal period of the host converter are obtained according to a preset sampling frequency. The switching period is the switching period of the switching device in the host converter; the PWM signal period is a time period of the PWM control signal.
[0042] For example, at a sampling time point in the embodiment of the present application, the switching period is 20 ms and the PWM signal period is 500 us.
[0043] S12, obtaining the number of times the PWM signal acts within one switching cycle according to the switching cycle and the PWM signal cycle.
[0044] According to the switching period of 20ms and the PWM signal period of 500us in the above embodiment, the number of actions of the PWM signal is 20ms / 500us, that is, the number of actions of the PWM signal is 40 in one switching period.
[0045] S13, obtaining a fixed angle of a single PWM signal action according to the number of actions of the PWM signal.
[0046] In one switching cycle, the phase of the converter changes by 360°. When the number of PWM signal actions is 40 in one switching cycle, the fixed angle for obtaining a single PWM signal action is 9°.
[0047] S14, obtaining a phase angle zero-crossing detection range according to the fixed angle, wherein a zero-crossing threshold of the phase angle zero-crossing detection range does not exceed the fixed angle.
[0048] In a possible implementation, the phase angle zero-crossing detection range is [360-m, 360] or [0, 0+m], where m is a zero-crossing threshold.
[0049] Specifically, in the embodiment of the present application, the zero-crossing threshold m does not exceed a fixed angle of 9°.
[0050] S2: When the first phase angle is within the phase angle zero-crossing detection range, determine whether the zero-crossing signal flag is set.
[0051] In an embodiment of the present application, the zero-crossing signal flag is a flag for detecting the zero-crossing point of the phase signal waveform. The position of the zero-crossing signal flag is 1, indicating that the signal waveform has passed through the zero point, that is, the signal changes from positive to negative or from negative to positive. The zero-crossing signal flag is commonly used in AC circuits and can be used to detect the zero-crossing position of the AC voltage waveform. When the zero-crossing signal flag is 1, corresponding control or measurement operations can be triggered, such as switch control, phase angle control, etc. The position of the zero-crossing signal flag is 0, indicating that the signal waveform has not yet passed through the zero point. When the signal waveform passes through the zero point, the position of the zero-crossing signal flag will change from 0 to 1, indicating the positive and negative changes of the signal waveform. By detecting the changes in the zero-crossing signal flag, accurate control and measurement operations of the signal waveform can be achieved.
[0052] S3, after confirming that the zero-crossing signal flag is set, a synchronization signal is sent to multiple slave converters using CAN communication according to the switching cycle of the master converter.
[0053] In a possible implementation, when CAN communication is used to send synchronization signals to multiple slave converters, the frame data is received in an interrupt reception manner.
[0054] Specifically, there are two ways to receive frame data in CAN. One is polled reception, which requires a fixed time after detecting a message before proceeding to receive it. The other is interrupted reception, which requires immediate reception upon detection and offers a faster response time. Polled reception is a traditional CAN reception method. In polled reception, the receiving node polls the CAN bus for incoming data frames. When a data frame arrives, it waits for a fixed time before continuing to receive the frame. This method offers the advantage of simple implementation and is suitable for low-speed communication systems. However, its disadvantage is relatively slow response time, as the receiving node must wait for a period of time before receiving the data frame. Interrupted reception is a more efficient CAN reception method. In interrupted reception, the receiving node actively monitors the CAN bus for data frames and, upon detecting an incoming data frame, immediately interrupts its current task to receive the frame. This method offers the advantage of fast response time, ensuring timely receipt of data frames and rapid processing of the received data. Interrupted reception is suitable for high-speed communication systems and applications with high real-time requirements. It is important to note that in both polled and interrupted reception, the receiving node must implement buffer management to ensure that received data frames are not lost.
[0055] In the embodiment of the present application, frame data is received in an interrupt reception manner, which has a fast response speed, can receive data frames in a timely manner, and can quickly process the received data, thereby ensuring the real-time requirements in the phase control process.
[0056] S4 , when the multiple slave converters receive the synchronization signal, obtain a second phase angle of any first slave converter among the multiple slave converters.
[0057] S5 , correcting the second phase angle according to the positional relationship between the second phase angle and the phase angle zero-crossing detection range to obtain a corrected phase angle of the first slave converter.
[0058] In one possible implementation, Figure 3 As shown, according to the positional relationship between the second phase angle and the phase angle zero-crossing detection range, the second phase angle is corrected to obtain the corrected phase angle of the first slave converter, which specifically includes steps S51-S54.
[0059] S51, determining whether the second phase angle is within a phase angle zero-crossing detection range.
[0060] In the embodiment of the present application, whether the second phase angle is within the phase angle zero-crossing detection range is determined to determine whether the second phase angle is subsequently corrected or maintained.
[0061] S52: When the second phase angle is not within the phase angle zero-crossing detection range, determine whether the second phase angle is within either a negative correction range or a positive correction range.
[0062] In the embodiment of the present application, the correction range includes a negative correction range and a positive correction range; wherein the negative correction range and the positive correction range are both determined according to a fixed angle and a zero-crossing threshold.
[0063] Exemplarily, in the embodiment of the present application, when the second phase angle is not within the phase angle zero-crossing detection range, the negative correction range is [351, 360-m], and the positive correction range is [m, 9].
[0064] In the embodiment of the present application, the sum of the angular range of the correction range and the phase angle zero-crossing detection range is exactly the size of two fixed angles.
[0065] S53 , when the second phase angle is within the negative correction range or the positive correction range, the second phase angle is corrected to be within the phase angle zero-crossing detection range according to the communication frequency of the CAN communication.
[0066] For example, in an embodiment of the present application, when the second phase angle is within the negative correction range or the positive correction range, the CAN communication frequency is 20 ms, the same as the switching period. That is, every 20 ms, the zero-crossing signal flag is set, and a synchronization signal is simultaneously transmitted to each slave inverter via CAN communication. Furthermore, each time the above steps are completed, the second phase angle is corrected. The correction angle for each correction can be adjusted based on the specific application, and this application does not impose specific limitations on the setting of the correction angle.
[0067] Preferably, in the embodiment of the present application, the correction angle of each correction is 1°.
[0068] In one possible implementation, Figure 3 As shown, according to the communication frequency of the CAN communication, the second phase angle is corrected to be within the phase angle zero crossing detection range, specifically including S53A.
[0069] S53A, when the second phase angle is in the negative correction range, the second phase angle is gradually increased to within the phase angle zero crossing detection range according to the communication frequency of the CAN communication, the angle upper limit of the negative correction range is the angle lower limit of the phase angle zero crossing detection range, and the angle lower limit of the negative correction range is the fixed angle of the control signal.
[0070] Specifically, when the second phase angle is in the negative correction range, which is [351,360-m], the second phase angle is increased by 1° every 20ms according to the communication frequency of the CAN communication until the second phase angle reaches the phase angle zero crossing detection range.
[0071] In one possible implementation, Figure 3 As shown, according to the communication frequency of the CAN communication, the second phase angle is corrected to be within the phase angle zero crossing detection range, specifically including S53B.
[0072] S53B, when the second phase angle is in the positive correction range, the second phase angle is gradually reduced to within the phase angle zero crossing detection range according to the communication frequency of the CAN communication, the angle lower limit of the positive correction range is the angle upper limit of the phase angle zero crossing detection range, and the angle upper limit of the positive correction range is the fixed angle of the control signal.
[0073] Specifically, when the second phase angle is in the positive correction range, which is [m, 9], the second phase angle is gradually reduced by 1° every 20ms according to the communication frequency of the CAN communication until the second phase angle reaches the phase angle zero-crossing detection range.
[0074] S54: When the second phase angle is within the phase angle zero-crossing detection range, determine the second phase angle as a corrected phase angle.
[0075] When the second phase angle is within the phase angle zero crossing detection range, there is no need to correct the second phase angle, and the second phase angle is directly determined as the corrected phase angle.
[0076] In one possible implementation, Figure 3 As shown, step S5 also includes step S55.
[0077] S55 , when the second phase angle is not within the phase angle zero-crossing detection range and is not within either the negative correction range or the positive correction range, correct the second phase angle to zero degrees.
[0078] Specifically, in an embodiment of the present application, when the second phase angle is not within the phase angle zero-crossing detection range and is not within either the negative correction range or the positive correction range, the second phase angle cannot be corrected to achieve phase synchronization between the master and slave converters. However, if the second phase angle is still corrected, it will take too long for the second phase angle to reach the phase angle zero-crossing detection range, resulting in excessive corrections and affecting system stability. Therefore, the second phase angle is directly corrected to zero degrees.
[0079] S6, when the corrected phase angle reaches a preset correction angle, confirming that the master converter and the plurality of slave converters achieve phase synchronization control.
[0080] By adopting the above embodiments, the present application can achieve one or more of the following beneficial effects:
[0081] 1. By adopting the above method, the phase angle zero-crossing detection range in the converter system is obtained, and the phase angle of the slave converter is corrected based on the positional relationship between the phase angle zero-crossing detection range and the phase angle of the slave converter. This allows the phase between the master converter and the slave converter to be synchronously controlled, thereby enabling the power system running multi-terminal converters to improve energy conversion efficiency and ensure stable operation of the system.
[0082] 2. By adopting the above method, in the process of controlling the phase angle, the phase angle zero-crossing detection range is limited by the fixed angle of the single PWM signal action, thereby avoiding the problem of excessive error in the phase synchronization control process caused by an excessively large phase angle zero-crossing detection range.
[0083] 3. By adopting the above method, when the second phase angle is not within the phase angle zero-crossing detection range, the second phase angle is corrected according to the positional relationship between the second phase angle and the negative correction range or the positive correction range and the communication frequency of the CAN communication, thereby ensuring that the phase of the slave converter can be synchronized with the master converter.
[0084] 4. By adopting the above method, frame data is received in an interrupt receiving manner, which has a fast response speed, can receive data frames in time, and can quickly process the received data, ensuring the real-time requirements in the phase control process.
[0085] The embodiment of the present application provides a phase synchronization control device based on a multi-terminal converter, such as Figure 4 As shown, the device includes: a responding unit 41, a judging unit 42, a synchronizing unit 43, a phase acquiring unit 44, a phase correcting unit 45 and a confirming unit 46.
[0086] The response unit 41 is configured to obtain a first phase angle and a phase angle zero-crossing detection range of the host converter in response to a phase synchronization instruction.
[0087] The judging unit 42 is configured to judge whether a zero-crossing signal flag is set when the first phase angle is within a phase angle zero-crossing detection range.
[0088] The synchronization unit 43 is configured to send synchronization signals to the plurality of slave converters using CAN communication according to the switching cycle of the master converter after confirming that the zero-crossing signal flag is set.
[0089] The phase acquisition unit 44 is configured to acquire a second phase angle of any first slave converter among the multiple slave converters when the multiple slave converters receive the synchronization signal.
[0090] The phase correction unit 45 is configured to correct the second phase angle according to the positional relationship between the second phase angle and the phase angle zero-crossing detection range, so as to obtain a corrected phase angle of the first slave converter.
[0091] The confirmation unit 46 is configured to confirm that the master converter and the plurality of slave converters have achieved phase synchronization control when the correction phase angle reaches a preset correction angle.
[0092] In a possible implementation, the response unit 41 includes a range acquisition module.
[0093] The range acquisition module is used to obtain the switching period of the host converter and the PWM signal period of the host converter; based on the switching period and the PWM signal period, the number of PWM signal actions within one switching period is obtained; based on the number of PWM signal actions, the fixed angle of a single PWM signal action is obtained; based on the fixed angle, the phase angle zero-crossing detection range is obtained, and the zero-crossing threshold of the phase angle zero-crossing detection range does not exceed the fixed angle.
[0094] In a possible implementation, the phase correction unit 45 includes a first phase determination module, a second phase determination module, a first correction module, and a second correction module.
[0095] The first phase judgment module is used to judge whether the second phase angle is within the phase angle zero-crossing detection range.
[0096] The second phase judgment module is used to judge whether the second phase angle is within any one of the negative correction range and the positive correction range when the second phase angle is not within the phase angle zero-crossing detection range.
[0097] The first correction module is configured to correct the second phase angle to be within a phase angle zero-crossing detection range according to a communication frequency of the CAN communication when the second phase angle is within a negative correction range or a positive correction range.
[0098] The second correction module is configured to determine the second phase angle as a corrected phase angle when the second phase angle is within a phase angle zero-crossing detection range.
[0099] In a possible implementation, the first correction module includes a first correction submodule.
[0100] The first correction submodule is configured to gradually increase the second phase angle to within a phase angle zero-crossing detection range according to the communication frequency of the CAN communication when the second phase angle is in a negative correction range, wherein the upper limit of the negative correction range is the lower limit of the phase angle zero-crossing detection range, and the magnitude of the lower limit of the negative correction range is a fixed angle of the control signal.
[0101] In a possible implementation, the first correction module includes a second correction submodule.
[0102] The second correction submodule, when the second phase angle is in the positive correction range, gradually reduces the second phase angle to within the phase angle zero-crossing detection range according to the communication frequency of the CAN communication, wherein the angle lower limit of the positive correction range is the angle upper limit of the phase angle zero-crossing detection range, and the angle upper limit of the positive correction range is the fixed angle of the control signal.
[0103] In a possible implementation, the phase correction unit 45 includes a third correction module.
[0104] The third correction module is used to correct the second phase angle to zero when the second phase angle is not within the phase angle zero-crossing detection range and is not within any correction range of the negative correction range or the positive correction range.
[0105] It should be noted that the above embodiments provide devices that implement their functions using only the division of the above functional modules as examples. In actual applications, the above functions can be assigned to different functional modules as needed, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above. In addition, the device and method embodiments provided in the above embodiments are based on the same concept. The specific implementation process is detailed in the method embodiment and will not be repeated here.
[0106] See Figure 5 , is a schematic diagram of the structure of an electronic device provided in an embodiment of the present application. Figure 5 As shown, the electronic device 500 may include: at least one processor 501 , at least one network interface 504 , a user interface 503 , a memory 505 , and at least one communication bus 502 .
[0107] The communication bus 502 is used to implement the connection and communication between these components.
[0108] The user interface 503 may include a display screen (Display) and a camera (Camera). Optionally, the user interface 503 may also include a standard wired interface and a wireless interface.
[0109] The network interface 504 may optionally include a standard wired interface or a wireless interface (such as a WI-FI interface).
[0110] The processor 501 may include one or more processing cores. Using various interfaces and circuits, the processor 501 connects to various components within the server. It executes instructions, programs, code sets, or instruction sets stored in the memory 505, as well as accesses data stored in the memory 505, to perform various server functions and process data. Optionally, the processor 501 may be implemented using at least one of the following hardware forms: a digital signal processing (DSP), a field-programmable gate array (FPGA), or a programmable logic array (PLA). The processor 501 may integrate one or a combination of a central processing unit (CPU), a graphics processing unit (GPU), and a modem. The CPU primarily processes the operating system, user interface, and application programs; the GPU is responsible for rendering and drawing content displayed on the display screen; and the modem handles wireless communications. It is understood that the modem may also be implemented as a separate chip, rather than integrated into the processor 501.
[0111] Among them, the memory 505 may include a random access memory (RAM) or a read-only memory (Read-Only Memory). Optionally, the memory 505 includes a non-transitory computer-readable storage medium. The memory 505 can be used to store instructions, programs, codes, code sets or instruction sets. The memory 505 may include a program storage area and a data storage area, wherein the program storage area may store instructions for implementing an operating system, instructions for at least one function (such as a touch function, a sound playback function, an image playback function, etc.), instructions for implementing the above-mentioned various method embodiments, etc.; the data storage area may store data involved in the above-mentioned various method embodiments, etc. The memory 505 may also be optionally at least one storage device located away from the aforementioned processor 501. As Figure 5 As shown, the memory 505 as a computer storage medium may include an operating system, a network communication module, a user interface module, and an application program for phase synchronization control of a multi-terminal converter.
[0112] exist Figure 5In the electronic device 500 shown, the user interface 503 is mainly used to provide an input interface for the user and obtain data input by the user; and the processor 501 can be used to call the application program for phase synchronization control of the multi-terminal converter stored in the memory 505. When executed by one or more processors, the electronic device 500 executes one or more methods described in the above embodiments.
[0113] It should be noted that for the aforementioned method embodiments, for simplicity of description, they are all expressed as a series of action combinations, but those skilled in the art should be aware that this application is not limited by the order of the actions described, because according to this application, certain steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also be aware that the embodiments described in the specification are all preferred embodiments, and the actions and modules involved are not necessarily required for this application.
[0114] In the above embodiments, the description of each embodiment has its own focus. For parts that are not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.
[0115] In the several embodiments provided in this application, it should be understood that the disclosed devices can be implemented in other ways. For example, the device embodiments described above are merely schematic. For example, the division of the units is only a logical function division. In actual implementation, there may be other division methods, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some service interfaces, and the indirect coupling or communication connection of the devices or units can be electrical or other forms.
[0116] The units described as separate components may or may not be physically separate, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed across multiple network units. Some or all of these units may be selected to achieve the purpose of this embodiment according to actual needs.
[0117] In addition, the functional units in the various embodiments of the present application may be integrated into a single processing unit, or each unit may exist physically separately, or two or more units may be integrated into a single unit. The aforementioned integrated units may be implemented in the form of hardware or software functional units.
[0118] If the integrated unit is implemented as a software functional unit and sold or used as an independent product, it can be stored in a computer-readable memory. Based on this understanding, the technical solution of this application, or the portion that contributes to the prior art, or all or part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a memory and includes several instructions for causing a computer device (which can be a personal computer, server, or network device, etc.) to execute all or part of the steps of the method described in each embodiment of this application. The aforementioned memory includes various media that can store program code, such as USB flash drives, mobile hard drives, magnetic disks, or optical disks.
[0119] The above is only an exemplary embodiment of the present disclosure and cannot be used to limit the scope of the present disclosure. That is, any equivalent changes and modifications made according to the teachings of the present disclosure are still within the scope of the present disclosure. After considering the disclosure of the specification and the truth of practice, those skilled in the art will easily think of other embodiments of the present disclosure. This application is intended to cover any variation, use or adaptive change of the present disclosure, which follows the general principles of the present disclosure and includes common knowledge or customary technical means in the technical field not recorded in the present disclosure.
Claims
1. A phase synchronization control method based on a multi-terminal converter, characterized in that: The method comprises: In response to a phase synchronization instruction, obtaining a first phase angle and a phase angle zero-crossing detection range of a host converter; When the first phase angle is within the phase angle zero-crossing detection range, determining whether a zero-crossing signal flag is set; After confirming that the zero-crossing signal flag is set, according to the switching cycle of the master converter, a synchronization signal is sent to the plurality of slave converters using CAN communication; When the plurality of slave converters receive the synchronization signal, obtaining a second phase angle of any first slave converter among the plurality of slave converters; Correcting the second phase angle according to a positional relationship between the second phase angle and the phase angle zero-crossing detection range to obtain a corrected phase angle of the first slave converter; When the corrected phase angle reaches a preset correction angle, confirming that the master converter and the plurality of slave converters achieve phase synchronization control; The obtaining of the phase angle zero-crossing detection range of the host converter specifically includes: Obtaining a switching period of the host converter and a PWM signal period of the host converter; According to the switching cycle and the PWM signal cycle, the number of times the PWM signal is actuated within one switching cycle is obtained; Obtaining a fixed angle of a single PWM signal action according to the number of actions of the PWM signal action; According to the fixed angle, the phase angle zero-crossing detection range is obtained, and the zero-crossing threshold of the phase angle zero-crossing detection range does not exceed the fixed angle; The correcting the second phase angle according to the positional relationship between the second phase angle and the phase angle zero-crossing detection range to obtain the corrected phase angle of the first slave converter specifically includes: determining whether the second phase angle is within the phase angle zero-crossing detection range; When the second phase angle is not within the phase angle zero-crossing detection range, determining whether the second phase angle is within either a negative correction range or a positive correction range; When the second phase angle is within the negative correction range or the positive correction range, correcting the second phase angle to within the phase angle zero-crossing detection range according to the communication frequency of the CAN communication; When the second phase angle is within the phase angle zero-crossing detection range, the second phase angle is determined as the corrected phase angle.
2. The method according to claim 1, characterized in that The step of correcting the second phase angle to within the phase angle zero-crossing detection range according to the communication frequency of the CAN communication specifically includes: When the second phase angle is in the negative correction range, the second phase angle is gradually increased to within the phase angle zero-crossing detection range according to the communication frequency of the CAN communication, the angle upper limit of the negative correction range is the angle lower limit of the phase angle zero-crossing detection range, and the angle lower limit of the negative correction range is a fixed angle of the control signal.
3. The method according to claim 1, characterized in that The step of correcting the second phase angle to within the phase angle zero-crossing detection range according to the communication frequency of the CAN communication specifically includes: When the second phase angle is in the positive correction range, the second phase angle is gradually reduced to within the phase angle zero-crossing detection range according to the communication frequency of the CAN communication, the angle lower limit of the positive correction range is the angle upper limit of the phase angle zero-crossing detection range, and the angle upper limit of the positive correction range is a fixed angle of the control signal.
4. The method according to claim 1, wherein The method further comprises: When the second phase angle is not within the phase angle zero-crossing detection range and is not within any correction range of a negative correction range or a positive correction range, the second phase angle is corrected to zero degrees.
5. The method according to claim 1, wherein When the CAN communication is used to send synchronization signals to multiple slave converters, the frame data is received in an interrupt reception manner.
6. A phase synchronization control device based on a multi-terminal converter according to a phase synchronization control method based on a multi-terminal converter according to any one of claims 1 to 5, characterized in that: The device comprises: a response unit (41), a judgment unit (42), a synchronization unit (43), a phase acquisition unit (44), a phase correction unit (45), and a confirmation unit (46); The response unit (41) is used to obtain a first phase angle and a phase angle zero-crossing detection range of the host converter in response to a phase synchronization instruction; The judging unit (42) is used to judge whether a zero-crossing signal flag is set when the first phase angle is within the phase angle zero-crossing detection range; The synchronization unit (43) is used to send synchronization signals to multiple slave converters using CAN communication according to the switching cycle of the master converter after confirming that the zero-crossing signal flag is in position; The phase acquisition unit (44) is configured to acquire a second phase angle of any first slave converter among the plurality of slave converters when the plurality of slave converters receive the synchronization signal; The phase correction unit (45) is used to correct the second phase angle according to the positional relationship between the second phase angle and the phase angle zero-crossing detection range, so as to obtain a corrected phase angle of the first slave converter; The confirmation unit (46) is used to confirm that the master converter and the plurality of slave converters achieve phase synchronization control when the correction phase angle reaches a preset correction angle.
7. An electronic device according to any one of claims 1 to 5, characterized in that: The electronic device (500) comprises a processor (501), a user interface (503), a network interface (504) and a memory (505), wherein the memory (505) is used to store instructions, the user interface (503) and the network interface (504) are used to communicate with other devices, and the processor (501) is used to execute the instructions stored in the memory (505) so that the electronic device (500) executes the method according to any one of claims 1 to 5.
8. A computer-readable storage medium according to any one of claims 1 to 5, wherein: The computer-readable storage medium stores instructions, and when the instructions are executed, the method according to any one of claims 1 to 5 is executed.
Citation Information
Patent Citations
Multi-converter parallel off-grid starting control system and starting method
CN110707742A
Method for performing synchronous phase locking through controller local area network and related device
CN113394811A