Shore power supply control method, device and electronic equipment
By detecting the DC voltage of the shore power supply, selecting control strategies, and adjusting the output frequency, the problem of the shore power supply being incorporated into the generator grid when the ship is docked is solved, and the stable power transmission of the shore power supply is achieved.
Patent Information
- Application Number
- CN202110665564.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-06-16
- Publication Date
- 2024-11-29
- Estimated Expiration
- 2041-06-16
AI Technical Summary
When a ship is docked, when the shore power supply is incorporated into the ship generator grid, it is easy to generate reverse power shock. The existing methods are very random and there are still shocks when connected to the grid, making it difficult to accurately detect the output voltage, frequency and phase of the ship generator.
By periodically detecting the DC voltage of the shore power supply, selecting the corresponding control strategy, calculating and adjusting the output frequency of the shore power supply, using reverse power control strategy and adaptive control strategy to suppress reverse power shock and ensure stable power transmission.
Effectively eliminate counter-power shock, improve the power transmission stability of shore power supply, reduce impact during grid connection, and ensure more stable power output.
Smart Images

Figure CN113507102B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of ship electrical technology, and in particular to a shore power supply control method, device and electronic equipment. Background Art
[0002] When a ship is docked, it usually uses diesel generators to generate electricity to meet the energy needs of the ship's load, but it also emits a large amount of greenhouse gases, causing serious pollution to the port environment. As the country pays more and more attention to energy conservation and emission reduction in ports, it is required that ships use shore power when docked to reduce pollution to the environment.
[0003] Shore power can usually output power at two frequencies, 50Hz and 60Hz, to meet the power supply needs of domestic and foreign ships. When the shore power is connected to the ship generator grid, if the voltage amplitude, frequency, and phase of the shore power are different from those of the ship generator grid, a large impact will occur at the moment of grid connection, generating reverse power. When the shore power is connected to the ship grid, on the one hand, it is difficult to accurately detect the amplitude, frequency, and phase of the ship generator output voltage, and on the other hand, there is a time difference between issuing the grid connection closing command and completing the closing. Based on these two reasons, reverse power will be generated when the shore power is actually connected to the ship grid.
[0004] At present, the conventional practice is to artificially increase the output frequency of the shore power supply so that the output voltage phase of the shore power supply is slightly ahead of the output voltage phase of the ship generator, thereby avoiding the generation of reverse power. However, this method is highly random and still has certain impacts when connected to the grid. Summary of the invention
[0005] The purpose of the present application is to solve at least one of the above-mentioned technical defects, and the following technical solution is proposed, which selects a corresponding control strategy based on the DC voltage of the shore power supply to control the output frequency of the shore power supply, and quickly suppresses the reverse power impact after grid connection.
[0006] This application adopts the following technical solutions:
[0007] In one aspect of the present application, a shore power supply control method is provided, comprising: periodically detecting the DC voltage of the shore power supply; selecting a corresponding control strategy according to the DC voltage, and calculating the output frequency of the shore power supply according to the selected control strategy; and controlling the shore power supply output according to the calculated output frequency of the shore power supply and a given value of the output voltage of the shore power supply.
[0008] In some embodiments, the control strategy includes: a reverse power control strategy to increase the output frequency of the shore power supply so that the DC voltage of the shore power supply is reduced to below the DC voltage threshold; an adaptive control strategy to adaptively adjust the output frequency of the shore power supply so that the power transmission of the shore power supply is in a stable state.
[0009] In some embodiments, if the selected control strategy is a reverse power control strategy, the output frequency of the shore power supply is calculated according to the selected control strategy, including: subtracting the DC voltage from the DC rated voltage to obtain a DC voltage error signal; inputting the DC voltage error signal into a PI controller, and obtaining a compensation frequency through the output of the PI controller; and obtaining the output frequency of the shore power supply according to the sum of the compensation frequency and the frequency rated value.
[0010] In some embodiments, obtaining the output frequency of the shore power supply according to the sum of the compensation frequency and the frequency rating includes: limiting the compensation frequency to obtain the limited compensation frequency; and adding the limited compensation frequency and the frequency rating to obtain the sum as the output frequency of the shore power supply.
[0011] In some embodiments, after the sum of the limited compensation frequency and the rated frequency is used as the output frequency of the shore power supply, it also includes: using the limited compensation frequency to update the observed frequency in the adaptive control strategy, and using the sum of the limited compensation frequency and the rated frequency to update the initial frequency in the adaptive control strategy.
[0012] In some embodiments, if the selected control strategy is an adaptive control strategy, the output frequency of the shore power supply is calculated according to the selected control strategy, including: determining whether the observed frequency of the adaptive control strategy is less than the frequency threshold; if so, maintaining the current output frequency of the shore power supply; if not, using half of the observed frequency as the compensation frequency of the first control cycle, and using the difference between the initial frequency of the adaptive control strategy and the compensation frequency of the first control cycle as the output frequency of the shore power supply within the first control cycle.
[0013] In some embodiments, if the observed frequency is not less than the frequency threshold, the method further includes: updating the observed frequency using the compensation frequency of the first control period, and updating the initial frequency using the output frequency of the shore power supply in the first control period.
[0014] In some embodiments, a corresponding control strategy is selected according to the DC voltage, including: if the DC voltage is greater than a DC voltage threshold, a reverse power control strategy is selected; if the DC voltage is less than the DC voltage threshold, an adaptive control strategy is selected.
[0015] Another aspect of the present application provides a shore power supply reverse power control device, including: a detection unit, used to periodically detect the DC voltage of the shore power supply; a selection unit, used to select a corresponding control strategy according to the DC voltage; a calculation unit, used to calculate the output frequency of the shore power supply according to the selected control strategy; and a control unit, used to control the shore power supply output according to the calculated output frequency of the shore power supply and a given value of the output voltage of the shore power supply.
[0016] In another aspect of the present application, an electronic device is provided, comprising a memory storing computer executable instructions; and a processor, wherein when the computer executable instructions are executed, the processor executes the method.
[0017] At least one of the above technical solutions adopted in the embodiments of the present application can achieve the following beneficial effects:
[0018] The embodiment of the present application aims at the reverse power shock generated when the shore power supply is connected to the ship power grid. Based on the influence of the reverse power shock on the DC voltage of the shore power supply, a control strategy is pre-set. In this way, during the operation of the shore power supply, the DC voltage of the shore power supply can be periodically detected, and a corresponding control strategy can be selected based on the DC voltage. The output frequency of the shore power supply is calculated according to the control strategy to eliminate the reverse power shock and make the power transmission of the shore power supply more stable. BRIEF DESCRIPTION OF THE DRAWINGS
[0019] The drawings described herein are used to provide a further understanding of the present application and constitute a part of the present application. The illustrative embodiments of the present application and their descriptions are used to explain the present application and do not constitute an improper limitation on the present application. In the drawings:
[0020] Figure 1 This is a flow chart of a shore power supply control method according to an embodiment of the present application;
[0021] Figure 2 This is a control block diagram of a shore power supply system according to an embodiment of the present application;
[0022] Figure 3 This is a schematic diagram of the structure of a shore power supply control device according to an embodiment of the present application;
[0023] Figure 4 This is a schematic diagram of the structure of an electronic device shown in an embodiment of the present application. DETAILED DESCRIPTION
[0024] In order to make the purpose, technical solution and advantages of the present application clearer, the technical solution of the present application will be clearly and completely described below in combination with the specific embodiments of the present application and the corresponding drawings. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of the present application.
[0025] The technical solutions provided by various embodiments of the present application are described in detail below in conjunction with the accompanying drawings.
[0026] Figure 1 This is a flow chart of a shore power supply control method shown in an embodiment of the present application, such as Figure 1 As shown, the method of this embodiment includes:
[0027] Step S110, periodically detecting the DC voltage of the shore power supply.
[0028] When the shore power supply is connected to the ship generator grid, a reverse power shock will generally occur, which will cause the bus voltage of the shore power supply to increase. By detecting the DC voltage of the shore power supply, it can be directly determined whether a reverse power shock has occurred.
[0029] Here, the detection cycle of the DC voltage of the shore power supply can be set as needed, such as every half minute, every minute, etc.
[0030] Step S120, selecting a corresponding control strategy according to the DC voltage, and calculating the output frequency of the shore power supply according to the selected control strategy.
[0031] Considering the impact of reverse power shock on the bus voltage of the shore power supply after the shore power supply is connected to the ship generator grid, this embodiment sets control strategies including reverse power control strategy and adaptive control strategy to address the reverse power shock problem.
[0032] Since the reverse power shock will cause the bus voltage of the shore power supply to increase, the embodiment of the present application uses a reverse power control strategy to strengthen the output frequency of the shore power supply, thereby reducing the DC voltage of the shore power supply and eliminating the impact of the reverse power shock. Considering that after the impact of the reverse power shock is eliminated, if the output frequency at this time is maintained, the excessively high output frequency will affect the normal working state of the shore power supply. At this time, the output frequency of the shore power supply can be gradually weakened through an adaptive control strategy until the output frequency is reduced to a level that can make the power transmission of the shore power supply stable, and then the output frequency is maintained based on the adaptive control strategy.
[0033] Step S130, controlling the shore power output according to the calculated shore power output frequency and the shore power output voltage given value.
[0034] like Figure 1 As described above, this embodiment aims at the reverse power shock generated when the shore power supply is connected to the ship power grid, and based on the influence of the reverse power shock on the DC voltage of the shore power supply, two control strategies are pre-set. In this way, during the operation of the shore power supply, the DC voltage of the shore power supply can be periodically detected, and a corresponding control strategy can be selected based on the DC voltage. The output frequency of the shore power supply is calculated according to the control strategy to eliminate the reverse power shock and make the power transmission of the shore power supply more stable.
[0035] Among them, in an application example of this embodiment, the control strategy in the above step S120 includes: a reverse power control strategy and an adaptive control strategy; the reverse power control strategy is used to increase the output frequency of the shore power supply to reduce the DC voltage of the shore power supply to below the DC voltage threshold; the adaptive control strategy is used to adaptively adjust the output frequency of the shore power supply so that the power transmission of the shore power supply is in a stable state, and the adaptive adjustment of the output frequency here includes the output frequency reduction control based on the reverse power control strategy and the output frequency maintenance control based on the reverse power control strategy.
[0036] In this embodiment, the DC voltage threshold is close to the upper limit of the normal operating voltage range of the shore power supply. Generally, the normal operating voltage range of the shore power supply is 950V-1050V. Exemplarily, the DC voltage threshold is set to 1050V.
[0037] When the DC voltage of the shore power supply is detected, if the DC voltage of the shore power supply is higher than the upper limit of the normal operating voltage range, it is considered that the increase in the DC voltage of the shore power supply is caused by a reverse power shock. If the DC voltage of the shore power supply is lower than the upper limit of the normal operating voltage range, the output frequency of the shore power supply can be adaptively adjusted according to the stability requirements of the shore power transmission.
[0038] Based on this, in some embodiments, a corresponding control strategy can be selected according to the comparison result between the DC voltage and the DC voltage threshold, that is, if the DC voltage is greater than the DC voltage threshold, a reverse power control strategy is selected; if the DC voltage is not greater than the DC voltage threshold, an adaptive control strategy is selected.
[0039] If the reverse power control strategy is selected, the DC voltage is subtracted from the DC rated voltage to obtain a DC voltage error signal; the DC voltage error signal is input into the PI controller, and the compensation frequency is obtained through the output of the PI controller; the output frequency of the shore power supply is obtained according to the sum of the compensation frequency and the frequency rated value.
[0040] Since excessive fluctuation of the output frequency should be avoided in actual application, this embodiment performs a limiting process on the compensation frequency to obtain a limited compensation frequency; the sum of the limited compensation frequency and the rated frequency is added as the output frequency of the shore power supply.
[0041] In addition, after the output frequency of the shore power source is used, the observed frequency in the adaptive control strategy is updated using the compensation frequency after limiting, and the initial frequency in the adaptive control strategy is updated using the sum of the compensation frequency after limiting and the frequency rating. In this embodiment, the initial value of the observed frequency in the adaptive control strategy is a value close to zero (or zero). In an application example of this embodiment, in each control cycle of the reverse power control strategy, the observed frequency in the adaptive control strategy is updated using the compensation frequency after limiting corresponding to each control cycle. It can be understood that the initial value of the observed frequency is updated, that is, the value of the observed frequency is updated to the compensation frequency after limiting, and the value of the initial frequency of the adaptive control strategy is updated to the sum of the compensation frequency after limiting and the frequency rating.
[0042] In the process of controlling the output frequency of the shore power supply according to the adaptive control strategy, it is necessary to pre-set the observation frequency, frequency threshold and initial frequency. Generally, before controlling the shore power supply, when setting the control strategy, the three parameters of the adaptive control strategy are set, and the comparison result between the observation frequency and the frequency threshold is used to select whether to weaken the output frequency of the shore power supply or maintain the current output frequency of the shore power supply; wherein the frequency threshold is a frequency value greater than the initial value of the observation frequency and close to zero, the initial value of the observation frequency is a value close to zero (or zero), and the initial value of the initial frequency can be a randomly generated value or an arbitrary value that is considered to be recognized, such as the initial value of the initial frequency is zero. Since the initial frequency is updated during the reverse power control process, when the output frequency of the shore power supply is weakened, the updated initial frequency is weakened.
[0043] The adaptive control process of this embodiment is an iterative control process. When the DC voltage of the shore power supply is less than the DC voltage threshold, it is determined whether the observed frequency is less than the frequency threshold. If it is less, the current output frequency of the shore power supply is maintained; if it is not less, half of the observed frequency is used as the compensation frequency of the first control period, and the difference between the initial frequency and the compensation frequency of the first control period is used as the output frequency of the shore power supply in the first control period. In addition, if the observed frequency is not less than the frequency threshold, the observed frequency is also updated using the compensation frequency of the first control period, and the initial frequency is updated using the output frequency of the shore power supply in the first control period. It can be understood that: the value of the observed frequency is updated to the value of the compensation frequency of the first control period, and the value of the initial frequency is updated to the output frequency of the shore power supply in the first control period.
[0044] Therefore, after the shore power supply is connected to the ship generator power grid, when the reverse power impact affects the DC voltage of the shore power supply, when the reverse power control strategy is used to increase the output frequency of the shore power supply, the observation frequency of the adaptive control strategy is updated by the corresponding limited compensation frequency in each control cycle of the reverse power control process, and the initial frequency of the adaptive control strategy is updated by the sum of the corresponding limited compensation frequency and the frequency rating value in each control cycle of the reverse power control process. After the reverse power control strategy is adopted to reduce the DC voltage of the shore power supply to below the DC voltage threshold, the adaptive control strategy will be automatically entered. At this time, in the first control cycle of the adaptive control strategy, the initial value of the observed frequency is the updated value, which is much larger than the frequency threshold value. The initial frequency is also the updated value, which is the output frequency of the last control cycle in the reverse power control process. At this time, in each control cycle in the adaptive control process, the output frequency of the shore power supply in the previous control cycle will be subtracted from the compensation frequency in this cycle (here the compensation frequency in this cycle is half of the compensation frequency in the previous control cycle) to obtain the output frequency of the shore power supply in this control cycle, thereby gradually reducing the observed frequency to below the frequency threshold, and entering the maintenance stage of the output frequency in the adaptive control process.
[0045] If the shore power supply is not subjected to reverse power shock, in the process of controlling the shore power supply, in theory, the adaptive control strategy is always used to control the output frequency of the shore power supply. However, when there is no reverse power shock, the observed frequency in the adaptive control strategy is the initial value, which is less than the frequency threshold. At this time, it is only necessary to maintain the current output frequency of the shore power supply.
[0046] It should be noted that if the shore power supply is subjected to a reverse power shock, in the process of controlling the shore power supply, the reverse power control strategy must be executed first, and then the adaptive control strategy is executed to reduce the output frequency control process, and then the adaptive control strategy is executed to maintain the output frequency control process. In the process of reducing the output frequency of the adaptive control strategy, in each control cycle, based on the reduced output frequency and the output voltage given value of the shore power supply, after the shore power supply output is controlled, the DC voltage of the shore power supply is still less than the DC voltage threshold.
[0047] Combine the following Figure 2 , which details the control process of the shore power supply after the shore power supply is subjected to reverse power shock.
[0048] like Figure 2 As shown, after the shore power supply is subjected to reverse power shock, the DC voltage U of the shore power supply is detected online. dc , at this time the DC voltage U dc Greater than the DC voltage threshold U dcTh, start reverse power control, here U dcTh =1050V, the normal operating range of shore power supply is 950V-1050V.
[0049] The reverse power control process includes:
[0050] The DC voltage U dc With DC rated voltage U E By making a difference, we get the DC voltage error signal ΔU, that is, ΔU = U dc -U E , and then input the DC voltage error signal ΔU into the PI controller to obtain the compensation frequency Δf, and input the compensation frequency Δf into the limiting link to obtain the compensation frequency Δf after limiting res , here the exemplary U E =1000V, the limit value is 0.7Hz, the PI controller is a proportional integral controller, and its transfer function G pi(s) The expression is as follows:
[0051]
[0052] In the above formula, s is the Laplace operator, k is p is the proportional term coefficient of the PI controller, k i is the integral coefficient of the PI controller.
[0053] The compensation frequency Δf after limiting res With frequency rating f E The output frequency f is added, that is, f = Δf res +f E Here, the output frequency f is the output frequency of the shore power supply in the current control cycle, where, for example, f E =60Hz. At this time, the observation frequency f in the adaptive control process is also obs The value of is updated to Δf res , the initial frequency f initial The value of is updated to Δf res +f E In this embodiment, the observation frequency f obs and the initial frequency f initial The initial value of is 0.
[0054] The output of the shore power supply is controlled by using the calculated output frequency f and the output voltage given value U of the shore power supply, and the DC voltage U of the shore power supply after the control is detected online when the next detection cycle arrives. dc , if the DC voltage U dc ≤U dcTh , start adaptive control.
[0055] The adaptive control process includes, here taking the control process of the first control cycle as an example:
[0056] The initial frequency With observation frequency Subtract one half of Get the output frequency of the shore power supply in the first control cycle at this time
[0057] After obtaining the output frequency of the shore power supply in the first control cycle, the initial frequency The value of is updated to The observed frequency The value of is updated to Thus, in the second control cycle, the output frequency of the shore power supply in the second control cycle is: This continues until the observed frequency value is less than the frequency threshold f TH When the observed frequency value is less than the frequency threshold, the current output frequency of the shore power supply is maintained.
[0058] Based on the above process, the control of the shore power supply is realized. The method of this embodiment realizes the adaptive adjustment of the output frequency of the shore power supply, which not only suppresses the reverse power impact, but also makes the power transmission more stable; and the whole control system is relatively simple, low-cost and easy to implement in engineering.
[0059] Based on the same idea as the above method, Figure 3 The structure diagram of the shore power supply control device shown in the embodiment of the present application is shown in FIG. Figure 3 As shown, the device of this embodiment includes:
[0060] A detection unit 310, used for periodically detecting the DC voltage of the shore power supply;
[0061] The selection unit 320 is used to select a corresponding control strategy according to the DC voltage; the control strategy here includes:
[0062] The reverse power control strategy increases the output frequency of the shore power supply to reduce the DC voltage of the shore power supply to below the DC voltage threshold; the adaptive control strategy adaptively adjusts the output frequency of the shore power supply to keep the power transmission of the shore power supply in a stable state.
[0063] A calculation unit 330, configured to calculate the output frequency of the shore power supply according to the selected control strategy;
[0064] The control unit 340 is used to control the shore power supply output according to the calculated output frequency of the shore power supply and the output voltage set value of the shore power supply.
[0065] In some embodiments, the computing unit 330 includes a first computing module and a second computing module;
[0066] The first calculation module is used for, if the selected control strategy is the reverse power control strategy, subtracting the DC voltage from the DC rated voltage to obtain a DC voltage error signal; inputting the DC voltage error signal into a PI controller, and obtaining a compensation frequency through the output of the PI controller; and obtaining the output frequency of the shore power supply according to the sum of the compensation frequency and the frequency rated value.
[0067] In some embodiments, the first calculation module is further used to perform a limiting process on the compensation frequency to obtain a limited compensation frequency; and the sum of the limited compensation frequency and the frequency rating is used as the output frequency of the shore power supply.
[0068] In some embodiments, the first calculation module is further used to update the observed frequency in the adaptive control strategy using the compensation frequency after limiting, and to update the initial frequency in the adaptive control strategy using the sum of the compensation frequency after limiting and the frequency rated value after using the sum as the output frequency of the shore power supply.
[0069] The second calculation module is used to determine whether the observation frequency of the adaptive control strategy is less than the frequency threshold if the selected control strategy is the adaptive control strategy. If so, the current output frequency of the shore power supply is maintained; if not, half of the observation frequency is used as the compensation frequency of the first control period, and the difference between the initial frequency of the adaptive control strategy and the compensation frequency of the first control period is used as the output frequency of the shore power supply in the first control period.
[0070] In some embodiments, the second calculation module is further configured to update the observed frequency using the compensation frequency of the first control period if the observed frequency is not less than the frequency threshold, and to update the initial frequency using the output frequency of the shore power supply in the first control period.
[0071] In some embodiments, the selection unit 320 is configured to select a reverse power control strategy if the DC voltage is greater than a DC voltage threshold; and select an adaptive control strategy if the DC voltage is less than the DC voltage threshold.
[0072] It can be understood that the above-mentioned shore power reverse power control device can implement the various steps of the shore power reverse power control method provided in the above-mentioned embodiment. The relevant explanations about the shore power reverse power control method are applicable to the shore power reverse power control device and will not be repeated here.
[0073] Figure 4 This is a schematic diagram of the structure of an electronic device shown in an embodiment of the present application. Figure 4At the hardware level, the electronic device includes a processor, a memory, and optionally a network interface. The memory may include a memory, such as a high-speed random access memory (RAM), and may also include a non-volatile memory (non-volatile memory), such as at least one disk storage. Of course, the electronic device also includes hardware required for other services, such as online detection components.
[0074] The processor, network interface and memory can be interconnected through an internal bus, which can be an ISA (Industry Standard Architecture) bus, a PCI (Peripheral Component Interconnect) bus or an EISA (Extended Industry Standard Architecture) bus. The bus can be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Figure 4 Only one bidirectional arrow is used in the diagram, but this does not mean that there is only one bus or only one type of bus.
[0075] The memory is used to store the program. Specifically, the program may include a program code, and the program code includes a computer operation instruction. The memory may include a memory and a non-volatile memory, and provides instructions and data to the processor.
[0076] The processor reads the corresponding computer program from the non-volatile memory into the memory and then runs it, forming a shore power reverse power control device at the logical level. The processor executes the program stored in the memory to implement the shore power reverse power control method described above.
[0077] The above application Figure 1The shore power supply reverse power control method disclosed in the illustrated embodiment can be applied to a processor or implemented by a processor. The processor may be an integrated circuit chip with signal processing capabilities. In the implementation process, each step of the above method can be completed by an integrated logic circuit of hardware in the processor or instructions in the form of software. The above processor may be a general-purpose processor, including a central processing unit (CPU), a network processor (NP), etc.; it can also be a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field-programmable gate array (FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components. The methods, steps and logic block diagrams disclosed in the embodiments of the present application can be implemented or executed. The general-purpose processor can be a microprocessor or the processor can also be any conventional processor, etc. The steps of the method disclosed in the embodiments of the present application can be directly embodied as a hardware decoding processor for execution, or a combination of hardware and software modules in the decoding processor for execution. The software module can be located in a mature storage medium in the art, such as a random access memory, a flash memory, a read-only memory, a programmable read-only memory, or an electrically erasable programmable memory, a register, etc. The storage medium is located in the memory, and the processor reads the information in the memory and completes the steps of the shore power reverse power control method in combination with its hardware.
[0078] The embodiment of the present application also provides a computer-readable storage medium, which stores one or more programs, wherein the one or more programs include instructions, which, when executed by an electronic device including multiple application programs, can implement Figure 1 The shore power supply reverse power control method shown.
[0079] Those skilled in the art will appreciate that embodiments of the present invention may be provided as methods, systems, or computer program products. Therefore, the present invention may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the present invention may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.
[0080] The present invention is described with reference to flowcharts and / or block diagrams of methods, devices (systems), and computer program products according to embodiments of the present invention. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0081] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.
[0082] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.
[0083] In a typical configuration, a computing device includes one or more processors (CPU), input / output interfaces, network interfaces, and memory.
[0084] The memory may include non-permanent storage in a computer-readable medium, random access memory (RAM) and / or non-volatile memory in the form of read-only memory (ROM) or flash RAM. The memory is an example of a computer-readable medium.
[0085] Computer readable media include permanent and non-permanent, removable and non-removable media that can be implemented by any method or technology to store information. Information can be computer readable instructions, data structures, program modules or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, compact disk read-only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device. As defined herein, computer readable media does not include temporary computer readable media (transitory media), such as modulated data signals and carrier waves.
[0086] It should also be noted that the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, commodity or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, commodity or device. In the absence of more restrictions, the elements defined by the sentence "comprises a ..." do not exclude the existence of other identical elements in the process, method, commodity or device including the elements.
[0087] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment or an embodiment in combination with software and hardware. Moreover, the present application may adopt the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program codes. The above is only an embodiment of the present application and is not intended to limit the present application. For those skilled in the art, the present application may have various changes and variations. Any modification, equivalent substitution, improvement, etc. made within the spirit and principle of the present application should be included within the scope of the claims of the present application.
Claims
1. A shore power supply control method, characterized in that: include: Periodically detect the DC voltage of the shore power supply; Select a corresponding control strategy according to the DC voltage, and calculate the output frequency of the shore power supply according to the selected control strategy; Controlling the shore power supply output according to the calculated shore power supply output frequency and the shore power supply output voltage given value; The control strategy includes: The reverse power control strategy increases the output frequency of the shore power supply to reduce the DC voltage of the shore power supply to below the DC voltage threshold; the adaptive control strategy adaptively adjusts the output frequency of the shore power supply to keep the power transmission of the shore power supply in a stable state; If the selected control strategy is an adaptive control strategy, the output frequency of the shore power supply is calculated according to the selected control strategy, including: Determine whether the observed frequency of the adaptive control strategy is less than the frequency threshold. If so, maintain the current output frequency of the shore power supply. If not, use half of the observed frequency as the compensation frequency of the first control period, and use the difference between the initial frequency of the adaptive control strategy and the compensation frequency of the first control period as the output frequency of the shore power supply in the first control period.
2. The method according to claim 1, characterized in that If the selected control strategy is the reverse power control strategy, the output frequency of the shore power supply is calculated according to the selected control strategy, including: Subtracting the DC voltage from the DC rated voltage to obtain a DC voltage error signal; The DC voltage error signal is input to the PI controller, and the compensation frequency is obtained through the output of the PI controller; The output frequency of the shore power supply is obtained according to the sum of the compensation frequency and the frequency rated value.
3. The method according to claim 2, characterized in that The output frequency of the shore power supply is obtained according to the sum of the compensation frequency and the frequency rating, including: Performing a limiting process on the compensation frequency to obtain a compensation frequency after limiting; The sum of the limited compensation frequency and the frequency rating is used as the output frequency of the shore power supply.
4. The method according to claim 2, characterized in that After the sum of the limited compensation frequency and the frequency rating is taken as the output frequency of the shore power supply, it also includes: The observed frequency in the adaptive control strategy is updated using the limited compensation frequency, and the initial frequency in the adaptive control strategy is updated using the sum of the limited compensation frequency and the rated frequency.
5. The method according to claim 2, characterized in that If the observed frequency is not less than the frequency threshold, the method further includes: The observation frequency is updated using the compensation frequency of the first control period, and the initial frequency is updated using the output frequency of the shore power source in the first control period.
6. The method according to claim 2, characterized in that Select the corresponding control strategy according to the DC voltage, including: If the DC voltage is greater than the DC voltage threshold, the reverse power control strategy is selected; If the DC voltage is less than the DC voltage threshold, the adaptive control strategy is selected.
7. A shore power supply reverse power control device, characterized in that: include: A detection unit, used for periodically detecting the DC voltage of the shore power supply; a selection unit, configured to select a corresponding control strategy according to the DC voltage, wherein the control strategy includes a reverse power control strategy and an adaptive control strategy, wherein the reverse power control strategy is configured to increase the output frequency of the shore power supply so as to reduce the DC voltage of the shore power supply to below a DC voltage threshold; The adaptive control strategy is used to adaptively adjust the output frequency of the shore power supply so that the power transmission of the shore power supply is in a stable state; a calculation unit, configured to calculate the output frequency of the shore power supply according to the selected control strategy, the calculation unit comprising a second calculation module, the second calculation module being configured to, if the selected control strategy is an adaptive control strategy, determine whether the observed frequency of the adaptive control strategy is less than the frequency threshold, if so, maintain the current output frequency of the shore power supply; if not, use half of the observed frequency as the compensation frequency of the first control period, and use the difference between the initial frequency of the adaptive control strategy and the compensation frequency of the first control period as the output frequency of the shore power supply in the first control period; The control unit is used to control the shore power supply output according to the calculated output frequency of the shore power supply and the output voltage given value of the shore power supply.
8. An electronic device, characterized in that: include: a memory storing computer executable instructions; A processor, wherein when the computer executable instructions are executed, the processor performs the method according to any one of claims 1 to 6.
Citation Information
Patent Citations
Variable frequency power supply reverse power control system applicable to shore power system
CN106532708A
Intelligent reverse power processing control method for ship high-voltage shore power supply
CN108923452A
Reverse power suppression method and system of shore power supply device
CN112968443A
