Valve control device power-down burn-in and on-line monitoring system and method based on interface integration
Patent Information
- Application Number
- CN202611004723.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-07-07
- Publication Date
- 2026-09-29
AI Technical Summary
然而,柔性直流输电系统的阀控设备程序逻辑复杂,在系统调试过程中,由于系统特性验证、控制算法优化以及工程需求变更等原因,开发人员需要频繁修改控制参数或逻辑算法并重新烧录程序,同时需要在烧录前后持续监视软件运行状态以定位故障
本发明基于接口集成的阀控设备掉电烧写与在线监视系统通过USB接口模块、电源管理单元、总线转换单元、调试烧录单元和串口监视单元的协同配合,将供电链路与数据链路集成于同一USB线缆中,仅通过单一USB接口即可同步实现被测控制板卡的供电、程序烧写与在线监视功能。相较于现有技术中供电、烧写及监视各自依赖相互独立的接口与线缆的方案,本发明显著降低了控制板卡的接口密度,简化了外部接线布局,减少了调试准备时间,降低了现场部署与维护的复杂度;同时,通过单一标准化接口实现多种调试功能的统一,避免了因接口类型不匹配导致的物理连接和数据传输障碍,增强了数据传输接口的可扩展性与灵活性,大幅提升了阀控设备在软件调试阶段的整体效率。
Smart Images

Figure CN122837864A_ABST
Abstract
Description
Technical Field
[0001] This invention belongs to the field of flexible DC transmission technology, specifically relating to a system and method for power-off programming and online monitoring of valve control equipment based on interface integration. Background Technology
[0002] The valve control system of the converter valve in flexible DC transmission is the core control unit of the flexible DC transmission system. It is responsible for the triggering control, status monitoring, and protection logic execution of the converter valve, determining the response speed, control accuracy, and operational safety of the converter valve. Software debugging of the valve control equipment is a crucial aspect of the flexible DC transmission system. It is a key step in transforming control algorithms and design logic into actual reliable operational capabilities, directly determining the functional correctness and logical rigor of the valve control software. For flexible DC transmission systems, software debugging is a fundamental prerequisite for ensuring the reliable operation of valve control equipment and achieving the goals of renewable energy integration and flexible grid regulation.
[0003] Currently, software debugging of valve-controlled equipment mainly relies on the collaborative work of multiple dedicated debugging interfaces: program burning is typically achieved through the JTAG (Joint Test Action Group) interface in conjunction with a dedicated emulator; operational status monitoring is achieved through UART (Universal Asynchronous Receiver / Transmitter) serial ports or dedicated monitoring interfaces to output log information; and the power supply for the control board during debugging is provided by an independent chassis power supply or an external DC power supply. These functional interfaces are hardware-independent, each occupying different connectors and pin resources, representing a traditional debugging scheme commonly used in the field of industrial control and power electronic equipment debugging. However, the program logic of valve-controlled equipment in flexible DC transmission systems is complex. During system debugging, due to system characteristic verification, control algorithm optimization, and changes in engineering requirements, developers need to frequently modify control parameters or logic algorithms and re-burn the program. Simultaneously, they need to continuously monitor the software's operational status before and after burning to locate faults. Under existing technical solutions, debugging personnel must connect power supply cables, JTAG emulator cables, and serial communication cables separately to the board, with each operation relying on independent physical interfaces and external devices. Due to the high density of control board interfaces and the compact internal space of the chassis, the parallel connection of multiple cables not only leads to long debugging preparation time and cumbersome operation, but also makes it impossible to achieve independent power supply to the boards in power-down debugging scenarios. Debugging operations can only be completed when the whole machine is powered on, which increases system power consumption and safety risks. In addition, when the system experiences serious faults such as crashes or freezes, the JTAG interface often cannot be connected normally, and the serial port monitoring function relies on a separate debugging cable, making it difficult to capture fault information at the scene, which seriously restricts the efficiency and accuracy of fault location. Summary of the Invention
[0004] The purpose of this invention is to address the problems in the prior art by providing a valve control device power-off programming and online monitoring system and method based on interface integration. This system integrates multiple functions such as power supply, JTAG programming, and UART serial port monitoring onto a standardized USB interface. Furthermore, the same bus conversion circuit supports multiple debugging protocols simultaneously. In the power-off state, the control board can be powered and programmed via the USB interface alone, and the operating status can be monitored in real time via the same USB cable.
[0005] To achieve the above objectives, the present invention provides the following technical solution: Firstly, a valve control device power-off programming and online monitoring system based on interface integration is provided, comprising: The USB interface module is used to connect the debugging computer and the control board under test, and provides power and data links. The power management unit connects the power supply terminal of the USB interface module to the power supply terminal inside the valve control equipment chassis, and is used to supply power to the control board under test through the USB interface module when the power supply inside the valve control equipment chassis fails. The bus conversion unit, connected to the data terminal of the USB interface module, is used to convert USB protocol signals into debug protocol signals and serial communication protocol signals. The debugging and programming unit is connected to the output of the bus conversion unit and is used to perform online debugging and programming of the digital logic chip on the control board under test through the debugging protocol signal. A serial port monitoring unit, connected to the output of the bus conversion unit, is used to output the software running status information of the control board under test through the serial port communication protocol signal, so as to realize online monitoring during the debugging process of valve control equipment; The power supply link and the data link are integrated in the same USB cable, and the power supply, program writing and online monitoring functions of the control board under test are realized synchronously through a single USB interface.
[0006] As a preferred embodiment, the power management unit includes a first diode and a second diode. The power supply terminal of the USB interface module is connected to the power input terminal of the control board under test via the first diode. The power supply terminal inside the valve control equipment chassis is connected to the power input terminal of the control board under test via the second diode. The first diode and the second diode are configured in a redundant manner, and the unidirectional conductivity of the diode is used to prevent current backflow.
[0007] As a preferred embodiment, when the power supply terminal of the USB interface module and the internal power supply terminal of the valve control equipment chassis are connected simultaneously, the internal power supply terminal of the valve control equipment chassis serves as the main input power supply, and the power supply terminal of the USB interface module serves as the backup input power supply; when only the power supply terminal of the USB interface module is connected, the USB interface module independently supplies power to the control board under test through the first diode, realizing online debugging and program burning in the power-off state.
[0008] As a preferred embodiment, the bus conversion unit includes a high-speed bus conversion chip, which converts the USB protocol signal into a JTAG debug protocol signal and an SWD debug protocol signal. The debugging and programming unit performs online debugging and programming on the digital logic chip through the JTAG debug protocol signal or the SWD debug protocol signal.
[0009] As a preferred embodiment, the debugging and programming unit is compatible with standard JTAG 4-line interface, JTAG 5-line interface and JTAG 6-line interface, and the digital logic chip includes any one or more of FPGA, DSP, CPU and ARM.
[0010] As a preferred embodiment, the bus conversion unit converts the USB protocol signal into a UART serial communication protocol signal, and the serial port monitoring unit implements the serial port printing function through the UART serial communication protocol signal to output the software operation log, register status, error information and fault information of the control board under test in real time.
[0011] As a preferred embodiment, the USB interface module adopts a USB-A interface, a USB-B interface, or a USB-C interface. The USB-C interface supports a maximum power supply capacity of 20V / 5A, adapting to the power supply requirements of different types of control boards in the valve control device.
[0012] As a preferred embodiment, when the software of the control board under test crashes or freezes, causing the debugging and programming unit to be unable to connect, the serial port monitoring unit outputs the last executed function information and variable status information before the fault occurs, so as to quickly locate the fault point.
[0013] As a preferred embodiment, the valve control device is a flexible DC transmission converter valve control device. The valve control device power-off programming and online monitoring system based on interface integration is set on the control board panel of the valve control device. The connection between the debugging computer and the control board under test is realized through a single USB interface on the control board panel.
[0014] Secondly, a method for power-down programming and online monitoring of valve control devices based on interface integration is provided, including: A power and data connection is established between the debugging computer and the control board under test through a single USB interface; When the power supply inside the valve control equipment chassis fails, power is supplied to the control board under test through the USB interface; The USB protocol signal transmitted via the USB interface is converted into a debug protocol signal, and the test control board is debugged and programmed online using the debug protocol signal. The USB protocol signal transmitted via the USB interface is converted into a serial communication protocol signal, and the software running status information of the control board under test is output through the serial communication protocol signal to achieve online monitoring. The power supply, program writing, and online monitoring functions are all implemented synchronously through the single USB interface.
[0015] Compared with the prior art, the present invention has at least the following beneficial effects: This invention relates to a valve control device power-down programming and online monitoring system based on interface integration. Through the coordinated operation of a USB interface module, power management unit, bus conversion unit, debugging and programming unit, and serial port monitoring unit, the power supply and data links are integrated into a single USB cable. This allows for simultaneous power supply, programming, and online monitoring of the control board under test via a single USB interface. Compared to existing technologies where power supply, programming, and monitoring rely on separate interfaces and cables, this invention significantly reduces the interface density of the control board, simplifies external wiring layout, reduces debugging preparation time, and lowers the complexity of on-site deployment and maintenance. Furthermore, by unifying multiple debugging functions through a single standardized interface, it avoids physical connection and data transmission obstacles caused by interface type incompatibility, enhances the scalability and flexibility of the data transmission interface, and greatly improves the overall efficiency of valve control devices during the software debugging phase.
[0016] Furthermore, through the design of a diode redundant power supply circuit, when the power supply inside the valve control equipment chassis fails, the USB interface module can independently supply power to the control board under test via the first diode. This enables independent power-on debugging and program writing of the control board under power-off conditions, eliminating the need for power-on operation of the entire machine. This reduces system debugging power consumption and avoids the safety risks associated with power-on operation, significantly improving the convenience and safety of offline maintenance. When the power supply terminal of the USB interface module and the power supply terminal inside the valve control equipment chassis are connected simultaneously, the power supply terminal inside the valve control equipment chassis is used as the main input power, and the power supply terminal of the USB interface module is used as the backup input power, ensuring the logical rationality of prioritizing the use of the chassis power supply under normal operating conditions. At the same time, the unidirectional conductivity of the diode prevents current backflow, avoiding reverse power supply to other boards inside the valve control equipment chassis. This prevents control signals from other boards from affecting the board under test through the backplane, ensuring electrical isolation and system safety during the debugging process.
[0017] Furthermore, by using the same high-speed bus conversion chip to simultaneously support the conversion between JTAG and SWD debugging protocols, it can adapt to the programming and online debugging needs of various types of digital logic chips such as FPGA, DSP, CPU, and ARM. This solves the problem of incompatibility between debugging interfaces of different types of chips, eliminating the need for dedicated emulators and debugging cables for different chips, and significantly improving the system's versatility and compatibility. At the same time, it is compatible with standard JTAG 4-wire, 5-wire, and 6-wire interfaces, enhancing the system's adaptability to digital logic chips from different manufacturers and models, and has good engineering applicability and promotional value.
[0018] Furthermore, by integrating a USB-to-UART serial port printing monitoring function, debugging personnel can view software operation logs, register status, error information, and fault information in real time on the debugging computer using the same USB cable, achieving intuitive and controllable debugging status. In particular, when the system experiences serious faults such as crashes or freezes where the JTAG interface cannot connect properly, the serial port printing function can still output the last executed function information and variable status information before the fault occurred, enabling debugging personnel to quickly capture the fault scene and accurately locate the fault point, solving the pain point problem of lacking effective diagnostic methods in serious fault scenarios in existing technologies. Moreover, the serial port printing method does not require complex drivers and toolchains, has low CPU utilization and low memory consumption, and will not significantly affect the normal operation logic of the main program, ensuring the lightweight and non-intrusive nature of the monitoring function.
[0019] Furthermore, the USB interface module adopts USB-A, USB-B, or USB-C interfaces, with the USB-C type supporting a maximum power supply capacity of 20V / 5A. By supporting multiple standardized USB interface types, it can flexibly adapt to the power supply and communication requirements of different types of boards in valve control equipment. Among them, the USB-C interface has a maximum power supply capacity of 20V / 5A (100W), which far exceeds the power requirement of less than 20W for a single board of valve control equipment control boards. This provides sufficient power supply margin for control boards of different power consumption levels, ensuring the power supply compatibility of the system and the feasibility of future functional expansion.
[0020] Furthermore, the interface-integrated valve control device power-off programming and online monitoring system is directly integrated onto the control board panel of the flexible DC converter valve control device. Commissioning personnel only need to insert a single USB cable into the panel to complete all power supply, programming, and monitoring operations, eliminating the need to disassemble the chassis or locate multiple interfaces scattered across the board. This greatly simplifies the operational processes of the flexible DC valve control device during factory commissioning, field deployment, and subsequent maintenance. Simultaneously, due to the complex program logic of the flexible DC valve control device and the frequent parameter modifications and program programming required during commissioning, the single USB interface design at the panel level makes frequent programming operations efficient and convenient, effectively shortening the hardware and software integration cycle of flexible DC transmission projects and providing a reliable commissioning guarantee for the large-scale implementation of flexible DC transmission technology. Attached Figure Description
[0021] To more clearly illustrate the technical solutions of the embodiments of the present invention, the accompanying drawings used in the embodiments will be briefly introduced below. It should be understood that the following drawings only show some embodiments of the present invention. For those skilled in the art, other related drawings can be obtained from these drawings without creative effort.
[0022] Figure 1 A schematic diagram illustrating the control board program burning principle of the valve control device power-down burning and online monitoring system based on interface integration in this invention embodiment; Figure 2 A schematic diagram of the power supply circuit structure of the valve control device power-off programming and online monitoring system based on interface integration according to an embodiment of the present invention; Figure 3 A schematic diagram of the USB bus to JTAG circuit principle of the valve control device power-down programming and online monitoring system based on interface integration according to an embodiment of the present invention; Figure 4 This invention relates to a schematic diagram of a USB bus to UART circuit for a valve control device power-down programming and online monitoring system based on interface integration. Detailed Implementation
[0023] The technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, those skilled in the art can obtain other embodiments without creative effort.
[0024] Existing valve control equipment has highly fragmented debugging interfaces, requiring independent interfaces for power supply, programming, and monitoring. This results in high interface density on control boards, necessitates the connection of multiple cables during debugging, and makes maintenance during debugging cumbersome and difficult. To address this, this invention proposes a valve control equipment power-down programming and online monitoring system based on interface integration. This system uses a single USB interface to achieve power supply to the control board, JTAG programming, and online monitoring of the equipment's debugging status. This simplifies external wiring of the control board, optimizes interface layout, reduces maintenance difficulty, and improves the convenience of debugging and operating valve control equipment.
[0025] Please see Figure 1 The present invention provides a valve control device power-off programming and online monitoring system based on interface integration, comprising: The USB interface module is used to connect the debugging computer and the control board under test, and provides power and data links. The power management unit connects the power supply terminal of the USB interface module to the power supply terminal inside the valve control equipment chassis, and is used to supply power to the control board under test through the USB interface module when the power supply inside the valve control equipment chassis fails. The bus conversion unit, connected to the data terminal of the USB interface module, is used to convert USB protocol signals into debug protocol signals and serial communication protocol signals. The debugging and programming unit is connected to the output of the bus conversion unit and is used to perform online debugging and programming of the digital logic chip on the control board under test through the debugging protocol signal. A serial port monitoring unit, connected to the output of the bus conversion unit, is used to output the software running status information of the control board under test through the serial port communication protocol signal, so as to realize online monitoring during the debugging process of valve control equipment; The power supply link and the data link are integrated in the same USB cable, and the power supply, program writing and online monitoring functions of the control board under test are realized synchronously through a single USB interface.
[0026] During the commissioning of valve control equipment, the control board only needs to use a standardized USB interface for power supply, programming, and online system monitoring. This facilitates visualization of the underlying operating status of the valve control equipment during software and hardware commissioning, improves system commissioning efficiency, and enables accurate fault location. This enhances the commissioning efficiency of valve control equipment, shortens the development cycle, and increases the reliability of equipment operation.
[0027] Please see Figure 2 The USB interface in this embodiment can include USB-A, USB-B, and USB-C, with USB-C providing a maximum power supply capacity of 20V / 5A. Since the power consumption of a single control board in a valve control device is less than 20W, this interface can meet the power supply requirements of different types of boards in the valve control device. Powering the control board via the USB interface allows for power supply, online software compilation, and program updates to the control board even when the valve control device is not powered on, solely through the standardized USB interface.
[0028] The USB power supply circuit uses diodes to achieve redundant input between the USB interface and the internal power supply interface of the valve control equipment chassis. When using the internal power supply of the control chassis, the USB bus conversion circuit does not work, and debugging and programming operations can be performed using the internal JTAG interface of the control board. When the valve control equipment chassis is powered off, power can be supplied through the USB interface, and both the USB bus conversion circuit and the control board can be powered on and operated, allowing debugging and programming operations of the JTAG function to be performed through the USB interface.
[0029] In one possible implementation, the USB input terminal uses two diodes connected in series as a backup power interface. When both power interfaces are connected simultaneously, the control chassis input terminal becomes the main input power.
[0030] When the control board is powered via the USB interface, the unidirectional conductivity of the diode can prevent reverse current flow, avoid reverse power supply to other boards in the control chassis, and prevent control signals from other boards from affecting the board under test through the backplane.
[0031] Please see Figure 3 In one possible implementation, a high-speed bus conversion chip can convert USB protocol signals into JTAG debug protocol signals and SWD debug protocol signals, enabling online compilation and programming of digital logic chips such as FPGA, CPLD, ARM, and DSP through a standardized USB interface and data lines.
[0032] The debugging and programming unit in this embodiment is compatible with standard JTAG 4-wire interface, JTAG 5-wire interface and JTAG 6-wire interface.
[0033] The standardized interface design effectively solves physical connection and data transmission obstacles caused by interface type mismatch. The USB high-speed bus conversion circuit simplifies hardware and software integration design and enhances the scalability and flexibility of the data transmission interface.
[0034] Please see Figure 4 During the commissioning of the valve control equipment system, when the system malfunctions and fault location is required, the serial printing function can be realized through the USB interface on the control board panel. The system is connected to the debugging computer via a USB data cable. Developers can flexibly control the printing switch and output variables as needed, such as register status, error codes and other key filtering information.
[0035] The advantage of serial port printing lies in its ability to quickly locate faults. When a system experiences a crash or other serious malfunction, JTAG may fail to connect or read register states, whereas serial port printing can output information such as the last executed function and variable states before the fault occurs. Furthermore, serial port printing requires no complex drivers or toolchains, has low CPU usage and low memory consumption, and will not significantly affect the normal operation of the program.
[0036] The convenience of valve control equipment during system commissioning is mainly reflected in its design, testing, and maintenance. Through a standardized USB interface, it achieves multiple functions in one. The commissioning status of the valve control equipment is intuitive and controllable during software operation and system debugging. It also provides power supply to the control board during power outages and allows for online compilation and burning of programs, thereby improving the reliability of the valve control equipment's software operation and increasing development efficiency.
[0037] The valve control device described in this embodiment is a flexible DC transmission converter valve control device. The power-down programming and online monitoring system for this valve control device, based on interface integration, is installed on the control board panel of the valve control device. A single USB interface on the control board panel enables the connection between the debugging computer and the control board under test. This invention simplifies hardware design, reduces peripheral dependencies, improves development efficiency, simplifies the debugging process, and facilitates on-site debugging and maintenance, thus possessing significant engineering practical value.
[0038] Another embodiment of the present invention also proposes a method for power-down programming and online monitoring of valve control devices based on interface integration, comprising: A power and data connection is established between the debugging computer and the control board under test through a single USB interface; When the power supply inside the valve control equipment chassis fails, power is supplied to the control board under test through the USB interface; The USB protocol signal transmitted via the USB interface is converted into a debug protocol signal, and the test control board is debugged and programmed online using the debug protocol signal. The USB protocol signal transmitted via the USB interface is converted into a serial communication protocol signal, and the software running status information of the control board under test is output through the serial communication protocol signal to achieve online monitoring. The power supply, program writing, and online monitoring functions are all implemented synchronously through the single USB interface.
[0039] Compared with existing technologies, the valve control device power-off programming and online monitoring system and method based on interface integration of the present invention has outstanding effects in the following aspects: First, it enables independent debugging of valve control equipment in a power-off state. Through a USB interface, the control board can be powered independently even when the entire valve control equipment is powered off, allowing for program compilation, burning, and debugging operations without requiring the entire device to be powered on. This reduces system debugging power consumption and avoids the safety risks associated with operating the entire device while it is powered on, significantly improving the convenience and safety of offline maintenance.
[0040] Secondly, a standardized USB interface integrates and unifies multiple debugging functions. Power supply, JTAG / SWD programming, and UART serial port online monitoring are integrated into a single standardized USB interface, replacing multiple independent dedicated interfaces and cables in traditional solutions. This effectively reduces the interface density of the control board, simplifies external wiring layout, reduces debugging preparation time, and lowers the complexity of on-site deployment and maintenance.
[0041] Third, it improves fault location efficiency in extreme failure scenarios. By integrating USB-to-UART serial port printing monitoring, even in cases of severe failures such as system crashes or freezes where the JTAG interface cannot connect properly, it can still print out the last executed function information and variable status information before the failure occurred via serial port. This allows debugging personnel to quickly capture the fault scene and accurately locate the fault point, significantly improving the fault diagnosis capability during the software debugging phase of valve control equipment. Furthermore, the serial port printing method requires no complex drivers or toolchains, has low CPU utilization and low memory consumption, and will not affect the normal operation logic of the main program.
[0042] Fourth, it possesses excellent versatility and scalability. The USB bus conversion circuit simultaneously supports both JTAG and SWD debugging protocols, adapting to various types of digital logic chips such as FPGA, DSP, CPU, and ARM. It is compatible with standard JTAG 4 / 5 / 6-wire interfaces, resolving the issue of incompatibility between debugging interfaces for different types of chips. Furthermore, the USB interface can be selected from different types such as USB-A, USB-B, or USB-C, with the USB-C interface supporting a maximum power supply capacity of 20V / 5A, meeting the power supply requirements of different types of boards in valve control equipment. It has excellent engineering applicability and promotional value.
[0043] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention and not to limit it. Although the present invention has been described in detail with reference to the above embodiments, those skilled in the art should understand that modifications or equivalent substitutions can still be made to the specific implementation of the present invention. Any modifications or equivalent substitutions that do not depart from the spirit and scope of the present invention should be covered within the scope of protection of the claims of the present invention.
Claims
1. A valve control device power-off programming and online monitoring system based on interface integration, characterized in that, include: The USB interface module is used to connect the debugging computer and the control board under test, and provides power and data links. The power management unit connects the power supply terminal of the USB interface module to the power supply terminal inside the valve control equipment chassis, and is used to supply power to the control board under test through the USB interface module when the power supply inside the valve control equipment chassis fails. The bus conversion unit, connected to the data terminal of the USB interface module, is used to convert USB protocol signals into debug protocol signals and serial communication protocol signals. The debugging and programming unit is connected to the output of the bus conversion unit and is used to perform online debugging and programming of the digital logic chip on the control board under test through the debugging protocol signal. A serial port monitoring unit, connected to the output of the bus conversion unit, is used to output the software running status information of the control board under test through the serial port communication protocol signal, so as to realize online monitoring during the debugging process of valve control equipment; The power supply link and the data link are integrated in the same USB cable, and the power supply, program writing and online monitoring functions of the control board under test are realized synchronously through a single USB interface.
2. The valve control device power-off programming and online monitoring system based on interface integration according to claim 1, characterized in that, The power management unit includes a first diode and a second diode. The power supply terminal of the USB interface module is connected to the power input terminal of the control board under test via the first diode. The power supply terminal inside the valve control equipment chassis is connected to the power input terminal of the control board under test via the second diode. The first diode and the second diode are configured in a redundant manner, and the unidirectional conductivity of the diode is used to prevent current backflow.
3. The valve control device power-off programming and online monitoring system based on interface integration according to claim 2, characterized in that, When the power supply terminal of the USB interface module and the internal power supply terminal of the valve control equipment chassis are connected simultaneously, the internal power supply terminal of the valve control equipment chassis serves as the main input power supply, and the power supply terminal of the USB interface module serves as the backup input power supply. When only the power supply terminal of the USB interface module is connected, the USB interface module independently supplies power to the control board under test through the first diode, realizing online debugging and program burning in the power-off state.
4. The valve control device power-off programming and online monitoring system based on interface integration according to claim 1, characterized in that, The bus conversion unit includes a high-speed bus conversion chip, which converts the USB protocol signal into a JTAG debug protocol signal and an SWD debug protocol signal. The debugging and programming unit performs online debugging and programming on the digital logic chip through the JTAG debug protocol signal or the SWD debug protocol signal.
5. The valve control device power-off programming and online monitoring system based on interface integration according to claim 4, characterized in that, The debugging and programming unit is compatible with standard JTAG 4-line interface, JTAG 5-line interface and JTAG 6-line interface, and the digital logic chip includes any one or more of FPGA, DSP, CPU and ARM.
6. The valve control device power-off programming and online monitoring system based on interface integration according to claim 1, characterized in that, The bus conversion unit converts the USB protocol signal into a UART serial communication protocol signal. The serial port monitoring unit implements the serial port printing function through the UART serial communication protocol signal, and outputs the software operation log, register status, error information and fault information of the control board under test in real time.
7. The valve control device power-off programming and online monitoring system based on interface integration according to claim 1, characterized in that, The USB interface module adopts a USB-A interface, a USB-B interface, or a USB-C interface. The USB-C interface supports a maximum power supply capacity of 20V / 5A, which can adapt to the power supply requirements of different types of control boards in the valve control equipment.
8. The valve control device power-off programming and online monitoring system based on interface integration according to claim 6, characterized in that, When the software of the control board under test crashes or freezes, causing the debugging and programming unit to be unable to connect, the serial port monitoring unit outputs the last executed function information and variable status information before the fault occurs, so as to quickly locate the fault point.
9. The valve control device power-off programming and online monitoring system based on interface integration according to claim 1, characterized in that, The valve control device is a flexible DC power transmission converter valve control device. The valve control device power-off programming and online monitoring system based on interface integration is set on the control board panel of the valve control device. The debugging computer and the control board under test are connected through a single USB interface on the control board panel.
10. A method for power-off programming and online monitoring of valve control devices based on interface integration, characterized in that, include: A power and data connection is established between the debugging computer and the control board under test through a single USB interface; When the power supply inside the valve control equipment chassis fails, power is supplied to the control board under test through the USB interface; The USB protocol signal transmitted via the USB interface is converted into a debug protocol signal, and the test control board is debugged and programmed online using the debug protocol signal. The USB protocol signal transmitted via the USB interface is converted into a serial communication protocol signal, and the software running status information of the control board under test is output through the serial communication protocol signal to achieve online monitoring. The power supply, program writing, and online monitoring functions are all implemented synchronously through the single USB interface.