A method for remote program upgrade of DSP for offshore converter valve controller in flexible DC transmission

By utilizing the interrupt time-division multiplexing of submarine communication optical cables and FPGA chips in flexible DC transmission systems, remote program upgrades of the DSP chip of the converter valve controller for flexible DC transmission have been achieved. This solves the problems of untimely and unreliable upgrades in existing technologies and improves the system's maintenance convenience and reliability.

CN122308878APending Publication Date: 2026-06-30CHINA ENERGY ENG GRP GUANGDONG ELECTRIC POWER DESIGN INST CO LTD +1
View PDF 0 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
CHINA ENERGY ENG GRP GUANGDONG ELECTRIC POWER DESIGN INST CO LTD
Filing Date
2026-03-20
Publication Date
2026-06-30

AI Technical Summary

Technical Problem

Existing technologies make it difficult to remotely upgrade the DSP chip of the converter valve controller for flexible DC transmission, especially in harsh environments where it is difficult to guarantee the timeliness and reliability of the upgrade, affecting the automation and cost of system maintenance.

Method used

By reusing the control submarine communication optical cable between the onshore and offshore flexible DC converter valves, and utilizing the remote host computer and the offshore converter station switch, combined with the interrupt time-division multiplexing of FPGA chips and DSP chips, remote programming of DSP chip programs and data isolation are achieved, ensuring that the upgrade process does not affect the control and protection logic.

Benefits of technology

Remote upgrades of the DSP chip for the converter valve controller of the flexible DC transmission offshore power transmission system have been achieved, which improves the convenience and timeliness of system maintenance, reduces labor costs, minimizes the impact of environmental factors on maintenance, and ensures the safe and reliable operation of the system.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN122308878A_ABST
    Figure CN122308878A_ABST
Patent Text Reader

Abstract

This invention relates to the field of power electronics application technology, and in particular to a method for remote program upgrade of a DSP for a flexible DC transmission offshore converter valve controller. A remote host computer connects to the converter station's communication equipment via a submarine optical cable, converts the signal into an electrical signal, and connects to the offshore converter station's switch. The data is sent to the network port of the control chassis board to be upgraded. The ARM processor sends the data to the FPGA chip. The FPGA chip detects the upgrade program writing instruction. If the converter valve is in a stopped state, it triggers an interrupt in the converter valve controller DSP. Data from the FPGA chip is received in a time-division multiplexing manner via the serial peripheral interface SPI. The data read by the serial peripheral interface SPI is read through EDMA and stored in DDR memory. An MD5 checksum is performed on the received and stored data. If the checksum passes, the data segment is written to the self-loading Flash area. This invention enables convenient remote upgrade of the DSP chip program, greatly improving the convenience of maintaining the offshore flexible DC converter valve controller and significantly reducing the manual cost of DSP software maintenance.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of power electronics application technology, and in particular to a method for remote program upgrade of a DSP controller for a flexible DC transmission marine converter valve. Background Technology

[0002] This year, my country has intensified its efforts to implement the dual-carbon development goal. Inland wind power resources have been largely developed and utilized, and the development and use of deep-sea wind power resources has become an important direction for future clean energy development. Currently, the mature and reliable solution for transmitting deep-sea wind power resources is flexible DC transmission, which has been successfully applied in several practical projects in China. Flexible DC transmission enables the rational utilization and rapid regulation of deep-sea wind power resources. Furthermore, its black-start function allows wind turbines to start up and connect to the grid quickly. Therefore, the operational reliability of offshore flexible DC converter station systems is crucial, especially the flexible DC control system, which is the core of ensuring the flexible DC converter valves operate according to the target. With the use of flexible DC control systems in multiple projects, the control algorithms and logic of the flexible DC control systems have undergone optimization and performance improvement, placing higher demands on the timely software code upgrades and defect optimization of the flexible DC converter valve controllers.

[0003] As the core chip in the flexible DC converter valve controller, the DSP chip implements the most important algorithms and control and protection logic. In particular, most controller states, control algorithms, converter valve control, and monitoring of the core equipment's operating status are implemented in the DSP chip. Modifications to the DSP program are more frequent compared to other chips. Addressing the need for remote upgrades of the DSP chip program in current offshore flexible DC converter valve control systems, this invention proposes a universal, real-time, and unaffected by external weather and environmental factors method for remote program upgrades. This method can promptly resolve the issue of DSP chip software upgrades in flexible DC converter valve control systems. Remote upgrades of the DSP chip program are achieved through operation on a land-based host computer, which to some extent meets the requirements for unattended automation of offshore flexible DC converter valves and reduces system maintenance time and labor costs. Summary of the Invention

[0004] This invention provides a method for remote program upgrade of DSP for a flexible DC transmission offshore converter valve controller. By reusing the control submarine communication optical cable between the onshore and offshore flexible DC converter valves, communication is realized between the onshore host computer program burning operation interface and the offshore flexible DC converter valve control chassis that needs to be programmed. By time-division multiplexing hardware boards and chips with different interrupts, the programming of the DSP chip and the isolation of data are realized.

[0005] To achieve the above objectives, the present invention employs the following technical solution: A method for remotely upgrading the DSP (Digital Signal Processor) controller of a marine converter valve for flexible DC transmission includes a remote host computer, a submarine communication optical cable for controlling the onshore and marine converter valves, converter station communication equipment, a marine converter station switch, and a control chassis board. The control chassis board includes a converter valve controller DSP, an ARM processor, an FPGA chip, a serial peripheral interface (SPI), and DDR (DDR) memory. The remote host computer is connected to the converter station communication equipment via the submarine communication optical cable, converts the signals into electrical signals, and connects to the marine converter station switch. The marine converter station switch sends data to the network port of the control chassis board to be upgraded via its Ethernet port, and the ARM processor receives the data via its Ethernet port. The data is then sent to the FPGA chip. The FPGA chip detects the upgrade program's programming instruction and determines the operating status of the converter valve. If the converter valve is in a stopped state, it triggers an interrupt to the converter valve controller DSP via the GPIO interface. The converter valve controller DSP receives data from the FPGA chip in a time-division multiplexing manner via the serial peripheral interface SPI. The converter valve controller DSP reads the data read by the serial peripheral interface SPI through EDMA and stores it in the DDR memory. The converter valve controller DSP performs MD5 verification on the received and stored data. If the data verification passes, the converter valve controller DSP writes the data segment to the self-loading Flash area and simultaneously feeds back the programming status to the remote end.

[0006] Furthermore, the upgrade program includes instruction frames and data frames. The instruction frames are used for data type, checksum, and logical state identification, while the data frames are the program data to be burned.

[0007] Furthermore, the FPGA chip receives instruction frames and data frames read by the ARM processor via an RS485 interface.

[0008] Furthermore, the instruction frame includes the upgrade chip type, data length, and MD5 checksum. The converter valve controller DSP calculates the MD5 checksum of the data frame and compares it with the MD5 checksum generated by the remote host computer. If the checksums match, the data is written to the auto-loading Flash area.

[0009] Furthermore, after the programming process is complete, the converter valve controller DSP switches from programming mode to control mode.

[0010] Compared with the prior art, the beneficial effects of the present invention are: 1) It has excellent versatility and can be completely independent of DSP emulators and manual on-site DSP operation and programming. It is suitable for various industries where remote maintenance and real-time program upgrade requirements for DSP chips are high. 2) By switching between different interrupts, the remote control is achieved using submarine communication optical cables, as well as the reuse of control hardware and chips. This DSP remote programming function does not increase any new hardware costs, and at the same time, it completely realizes data isolation between program programming and normal control mode. The remote programming of DSP program will not affect the control and protection logic of the converter valve, as well as the safe and reliable operation of the entire flexible DC system. 3) This invention greatly improves the convenience and timeliness of maintenance of the controller of the deep-sea flexible DC converter valve, enabling the full utilization of flexible DC transmission of deep-sea wind power resources, reducing the impact of climate and marine environment on the maintenance window, reducing labor costs, and improving the utilization rate of the flexible DC converter valve and wind power resources. Attached Figure Description

[0011] Figure 1 This is a flowchart of the DSP program burning process for the converter valve controller described in this invention.

[0012] Figure 2 This is a flowchart of the reloading process for the new DSP program of the converter valve controller described in this invention.

[0013] Figure 3 This is a schematic diagram of the remote upgrade interface for the DSP program on the remote host computer described in this invention. Detailed Implementation

[0014] The specific embodiments of the present invention will be further described below with reference to the accompanying drawings: This invention discloses a method for remotely upgrading the DSP (Digital Signal Processor) controller of a flexible DC-DC transmission offshore converter valve. The method includes a remote host computer, a submarine communication optical cable for control communication between the onshore and offshore converter valves, converter station communication equipment, an offshore converter station switch, and a control chassis board. The control chassis board includes a converter valve controller DSP, an ARM processor, an FPGA chip, a serial peripheral interface (SPI), and DDR memory. To improve the ease of maintenance of the offshore flexible DC-DC converter valve, remote programming of the offshore flexible DC-DC converter valve controller DSP is achieved through the onshore converter station. The offshore converter station switch receives command frames and data frames sent from the remote host computer interface via photoelectric conversion through the control communication optical cable. The offshore converter station switch sends the data to the control chassis board to be upgraded via its network port, which then sends it to the ARM processor. The ARM processor sends the data to the FPGA chip via RS485. The FPGA chip directly interacts with the converter valve controller DSP. After receiving the programming data, the FPGA chip needs to determine the operating status of the converter valve. If the current converter valve is stopped... In operation mode, the DSP of the converter valve controller triggers a GPIO interrupt; otherwise, it does not respond to the programming instructions. After the DSP triggers the programming interrupt, it switches from control mode to programming mode, using the SPI module to receive data from the FPGA chip. After SPI reception is complete, EDMA is triggered, which moves the FPGA data received by the serial peripheral interface SPI to DDR. After EDMA completes data storage, the DSP reads the DDR data and parses it. The parsed instruction frame confirms the chip type, data length, and MD5 checksum generated by the host computer for the programming file. It reads the data frame to be programmed based on the data length and calculates the MD5 checksum. The calculated result is compared with the MD5 checksum generated by the host computer. If the comparison result matches, the DSP writes the data to the self-loading Flash area. After the DSP completes writing the data frame to Flash, it will send a programming completion indicator and software version to the host computer interface. The DSP programming process is described in [link to documentation]. Figure 1 .

[0015] After the converter valve controller DSP program is successfully written to Flash, the FPGA chip receives the feedback status and re-triggers the converter valve controller DSP control interrupt. The converter valve controller DSP re-enters the control interrupt, and the onshore / offshore converter valve monitoring interface receives the converter valve controller DSP control flag. Through the onshore remote converter valve monitoring interface, the programmed control chassis can be powered on and off. After the converter valve controller DSP restarts, it automatically loads the new program and begins execution. See the converter valve controller DSP new program reloading process for details. Figure 2 .

[0016] The specific implementation process is as follows: 1) Check the communication status with the controller to be programmed through the remote host computer interface. If the communication status is normal, the remote program programming function can be executed. 2) In the remote host computer interface, add the DSP control chassis, control board, chip type, software version, and the path to the compiled binary file to be programmed locally. See [link to documentation]. Figure 3 ; 3) Start the remote programming process of the converter valve controller DSP on the remote host computer interface, and send the data to the offshore converter station switch through the long-distance communication optical cable. The offshore converter station switch converts the optical signal into an electrical signal and sends it to the control box board responsible for receiving the data through the network port. 4) The ARM receives data from the board's network port and sends it to the FPGA chip via the board's internal RS458 bus. The FPGA chip detects whether the current operating status of the converter valve is in a stopped state. If it is in a stopped state, it executes the data writing and sending process; otherwise, it sends a message to the remote host computer interface that the valve is not writable. 5) When the FPGA chip detects that the instruction frame data is identified as programming data, it will trigger the GPIO interrupt of the converter valve controller DSP. The converter valve controller DSP will jump from the current converter valve control function to the DSP program programming function and receive the FPGA program programming data through the SPI module of the converter valve controller DSP. 6) After the serial peripheral interface SPI finishes reading the FPGA chip data, it triggers an EDMA interrupt. The EDMA then reads the FPGA chip data received by the serial peripheral interface SPI and caches it in the DDR memory of the converter valve controller DSP. 7) The converter valve controller DSP reads data from the DDR memory, parses it, extracts the frame header, data type, data length to be written, and MD5 checksum of the data to be written from the instruction frame, performs length verification on the data frame, and calculates the MD5 checksum. 8) The converter valve controller DSP performs MD5 calculation on the data frames stored in DDR, compares the calculation result with the MD5 checksum of the remote host computer in the received instruction frame, and writes it into the Flash boot self-loading area if the comparison is consistent. 9) The converter valve controller DSP completes the Flash writing operation of the data frame and feeds back the completion status and the new program version to the FPGA chip. The FPGA chip sends it to the ARM processor, which returns it to the remote host computer interface for program burning through the network port and submarine communication optical cable. At the same time, the FPGA chip triggers the control interrupt of the converter valve controller DSP, and the converter valve controller DSP switches from the program burning mode to the control mode. 10) After the converter valve controller DSP re-enters the control interrupt, the host computer interface responsible for monitoring the marine converter valve at the onshore converter station will display that it has entered the control interrupt. The program-burning chassis can be powered off and powered on and restarted through the remote host computer monitoring interface. 11) Commands are sent from the converter valve monitoring interface via submarine optical cable. The ARM processor receives the commands via the network port and sends them to the converter valve controller DSP via the FPGA chip. This communication is a normal control remote control command implemented using the 104 protocol. The DSP generates the corresponding IO signal and sends it to the IO board. 12) The I / O board outputs the remote control switch to control the opening and closing operations, enabling the power-off and power-on restart of the chassis where the converter valve controller DSP is located; 13) After the chassis is powered on and restarted, the converter valve controller DSP automatically loads and runs the new program.

[0017] The DSP remote upgrade method of this invention has broad applicability, not only for flexible DC power transmission, but also for the remote upgrade needs of DSP chips in other industries. It reuses the control submarine communication optical cable, as well as the control hardware and chip, and does not require any additional hardware cost to realize the remote programming function of DSP chips.

[0018] The above embodiments are implemented based on the technical solution of the present invention, providing detailed implementation methods and specific operation processes. However, the scope of protection of the present invention is not limited to the above embodiments. Unless otherwise specified, the methods used in the above embodiments are conventional methods.

Claims

1. A method for remote program upgrade of a DSP controller for a flexible DC transmission marine converter valve, characterized in that, The system includes a remote host computer, submarine communication optical cables for the control and communication of onshore and offshore converter valves, converter station communication equipment, an offshore converter station switch, and control chassis boards. The control chassis boards include a converter valve controller DSP, an ARM processor, an FPGA chip, a serial peripheral interface (SPI), and DDR memory. The remote host computer connects to the converter station communication equipment via the submarine communication optical cable, converts the signals to electrical signals, and connects to the offshore converter station switch. The offshore converter station switch sends data to the network port of the control chassis board requiring upgrade via its network port. The ARM processor receives data via its network port and sends it to the FPGA chip. Chip A detects the upgrade program's burning instruction and determines the converter valve's operating status. If the converter valve is in a stopped state, it triggers an interrupt to the converter valve controller DSP via the GPIO interface. The converter valve controller DSP receives data from the FPGA chip in a time-division multiplexing manner via the serial peripheral interface SPI. The converter valve controller DSP reads the data read by the serial peripheral interface SPI through EDMA and stores it in the DDR memory. The converter valve controller DSP performs MD5 verification on the received and stored data. If the data verification passes, the converter valve controller DSP writes the data segment to the self-loading Flash area and simultaneously feeds back the burning status to the remote end.

2. The method for remote program upgrade of a DSP controller for a flexible DC transmission marine converter valve according to claim 1, characterized in that, The upgrade program includes instruction frames and data frames. The instruction frames are used for data type, check code, and logical state identification, while the data frames are the program data to be burned.

3. The method for remote program upgrade of a DSP controller for a flexible DC transmission marine converter valve according to claim 1, characterized in that, The FPGA chip receives instruction frames and data frames read by the ARM processor via an RS485 interface.

4. A method for remote program upgrade of a DSP controller for a flexible DC transmission marine converter valve according to claim 2, characterized in that, The instruction frame includes the upgrade chip type, data length, and MD5 checksum. The converter valve controller DSP calculates the MD5 checksum of the data frame and compares it with the MD5 checksum generated by the remote host computer. If the checksums match, the data is written to the auto-loading Flash area.

5. A method for remote program upgrade of a DSP controller for a flexible DC transmission marine converter valve according to claim 1, characterized in that, It also includes the switching of the converter valve controller DSP from program burning mode to control mode after the burning process is completed.