[go: up one dir, main page]

CN104460661B - The remote debugging system of long-range turn-off reset and remote monitoring can be carried out - Google Patents

The remote debugging system of long-range turn-off reset and remote monitoring can be carried out Download PDF

Info

Publication number
CN104460661B
CN104460661B CN201410740792.6A CN201410740792A CN104460661B CN 104460661 B CN104460661 B CN 104460661B CN 201410740792 A CN201410740792 A CN 201410740792A CN 104460661 B CN104460661 B CN 104460661B
Authority
CN
China
Prior art keywords
pin
resistor
capacitor
remote
interface
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201410740792.6A
Other languages
Chinese (zh)
Other versions
CN104460661A (en
Inventor
刘阳
吴海涛
刘年国
杨事正
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
State Grid Corp of China SGCC
Huainan Power Supply Co of State Grid Anhui Electric Power Co Ltd
Original Assignee
State Grid Corp of China SGCC
Huainan Power Supply Co of State Grid Anhui Electric Power Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by State Grid Corp of China SGCC, Huainan Power Supply Co of State Grid Anhui Electric Power Co Ltd filed Critical State Grid Corp of China SGCC
Priority to CN201410740792.6A priority Critical patent/CN104460661B/en
Publication of CN104460661A publication Critical patent/CN104460661A/en
Application granted granted Critical
Publication of CN104460661B publication Critical patent/CN104460661B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B23/00Testing or monitoring of control systems or parts thereof
    • G05B23/02Electric testing or monitoring
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/02Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
    • H04L67/025Protocols based on web technology, e.g. hypertext transfer protocol [HTTP] for remote control or remote monitoring of applications

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Automation & Control Theory (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Debugging And Monitoring (AREA)
  • Test And Diagnosis Of Digital Computers (AREA)

Abstract

本发明公开了一种可进行远程停电复位和远程监控的远程调试系统,包括一台主控计算机和多个远程调试器;所述主控计算机上设置有网络连接模块、数据搬运模块、投切操作模块、主控RS232接口和主控RS485接口;所述主控计算机和所述远程调试器之间通过计算机网络通道相连通;所述远程调试器包括网络通信器和执行器。本发明的可进行远程停电复位和远程监控的远程调试系统,具有可对设备进行远程停电复位和远程监控、实现设备的远程管理和状态监测、提升了企业安全指标,提高了工作效率等优点。

The invention discloses a remote debugging system capable of remote power failure reset and remote monitoring, which includes a main control computer and a plurality of remote debuggers; the main control computer is provided with a network connection module, a data transfer module, a switching An operation module, a main control RS232 interface and a main control RS485 interface; the main control computer and the remote debugger are connected through a computer network channel; the remote debugger includes a network communicator and an executor. The remote debugging system capable of remote power failure reset and remote monitoring of the present invention has the advantages of being able to perform remote power failure reset and remote monitoring of equipment, realizing remote management and status monitoring of equipment, improving enterprise safety indicators, and improving work efficiency.

Description

可进行远程停电复位和远程监控的远程调试系统Remote debugging system capable of remote power failure reset and remote monitoring

技术领域technical field

本发明涉及一种可进行远程停电复位和远程监控的远程调试系统。The invention relates to a remote debugging system capable of remote power failure reset and remote monitoring.

背景技术Background technique

目前在线运行的部分通信设备由于各种原因,存在死机现象,这部分设备一般具有232或485接口,但由于不具备网络远程操作功能,每次死机现象出现,工作人员必须赶赴现场对设备进行停电复位操作,如果碰到一些偏远站点,故障处理耗时较长,操作不便,影响企业安全指标,同时不利于工作效率的提高。At present, some communication devices running online have crashes due to various reasons. These devices generally have 232 or 485 interfaces, but because they do not have the function of network remote operation, every time a crash occurs, the staff must rush to the scene to cut off the power of the equipment For the reset operation, if you encounter some remote sites, the troubleshooting will take a long time and the operation will be inconvenient, which will affect the security indicators of the enterprise and is not conducive to the improvement of work efficiency.

发明内容Contents of the invention

本发明是为避免上述已有技术中存在的不足之处,提供一种可进行远程停电复位和远程监控的远程调试系统,以对设备进行远程停电复位和远程监控、实现设备的远程管理和状态监测。The present invention provides a remote debugging system capable of remote power failure reset and remote monitoring in order to avoid the deficiencies in the above-mentioned prior art, so as to perform remote power failure reset and remote monitoring of equipment, and realize remote management and status of equipment monitor.

本发明为解决技术问题采用以下技术方案。The present invention adopts the following technical solutions to solve the technical problems.

可进行远程停电复位和远程监控的远程调试系统,其结构特点是,包括一台主控计算机和多个远程调试器;所述主控计算机上设置有网络连接模块、数据搬运模块、投切操作模块、主控RS232接口和主控RS485接口;所述主控计算机和所述远程调试器之间通过计算机网络通道相连通;The remote debugging system capable of remote power failure reset and remote monitoring has the following structural features: a main control computer and multiple remote debuggers; the main control computer is equipped with a network connection module, a data transfer module, switching operation Module, main control RS232 interface and main control RS485 interface; The main control computer and the remote debugger are connected through a computer network channel;

所述远程调试器包括一个网络通讯器和多个执行器,所述多个执行器中的每一个执行器通过RS232总线和电源线连接一个被调试设备;The remote debugger includes a network communicator and a plurality of executors, and each executor in the plurality of executors is connected to a device to be debugged through an RS232 bus and a power line;

所述网络通讯器包括单片机U1、RS232接口电路、RS485接口电路、电源电路、用于控制执行器的电源通断的电源控制电路、IIC接口、RJ45接口和调试程序下载电路;执行器包括微处理器U9、串口导通控制电路、IIC接口、电源接口和被控设备电源控制电路;The network communicator includes a single-chip microcomputer U1, an RS232 interface circuit, an RS485 interface circuit, a power supply circuit, a power supply control circuit for controlling the power on and off of the actuator, an IIC interface, an RJ45 interface, and a debugging program download circuit; the actuator includes a microprocessor Device U9, serial port conduction control circuit, IIC interface, power interface and controlled device power control circuit;

所述网络通讯器通过所述RJ45接口与主控计算机相连接;所述网络通讯器的电源控制电路与执行器的电源接口相连接;所述网络通讯器的IIC接口与执行器的IIC接口相连接,所述执行器的串口导通控制电路与网络通讯器的RS232或者RS485相连接。The network communicator is connected to the main control computer through the RJ45 interface; the power control circuit of the network communicator is connected to the power supply interface of the actuator; the IIC interface of the network communicator is connected to the IIC interface of the actuator Connection, the serial port conduction control circuit of the actuator is connected with the RS232 or RS485 of the network communicator.

本发明的可进行远程停电复位和远程监控的远程调试系统的结构特点也在于:The structural features of the remote debugging system capable of remote power failure reset and remote monitoring of the present invention also lie in:

所述执行器的被控设备电源控制电路包括有磁保持继电器RC01,所述主控计算机的投切操作模块与所述磁保持继电器RC01相连接,以使得能够通过主控计算机对远程调试器上的磁保持继电器RC01进行操作,达到控制被调试设备的电源的远程投切。The controlled device power supply control circuit of the actuator includes a magnetic latching relay RC01, and the switching operation module of the main control computer is connected with the magnetic latching relay RC01, so that the remote debugger can be controlled by the main control computer. The magnetic latching relay RC01 is operated to control the remote switching of the power supply of the equipment being debugged.

所述单片机U1上连接有内部时钟电路、外部时钟电路、复位电路和存储单元;所述内部时钟电路包括晶振Y1、电容C42、电容C43、电阻R36、电阻R37;所述外部时钟电路包括晶振Y2、电容C44、电容C45、电阻R52;所述复位电路包括电容C1、电阻R13和开关S5;所述存储单元包括存储芯片U10;The single-chip microcomputer U1 is connected with an internal clock circuit, an external clock circuit, a reset circuit and a storage unit; the internal clock circuit includes a crystal oscillator Y1, a capacitor C42, a capacitor C43, a resistor R36, and a resistor R37; the external clock circuit includes a crystal oscillator Y2 , a capacitor C44, a capacitor C45, and a resistor R52; the reset circuit includes a capacitor C1, a resistor R13, and a switch S5; the storage unit includes a memory chip U10;

所述电容C42通过所述电阻R36与单片机U1相连接,所述电容C43通过所述电阻R37与单片机U1相连接,所述晶振Y1的一端连接在电容C42和电阻R36之间,晶振Y1的另一端连接在电容C43和电阻R37之间;The capacitor C42 is connected to the single-chip microcomputer U1 through the resistor R36, the capacitor C43 is connected to the single-chip microcomputer U1 through the resistor R37, one end of the crystal oscillator Y1 is connected between the capacitor C42 and the resistor R36, and the other end of the crystal oscillator Y1 One end is connected between the capacitor C43 and the resistor R37;

所述晶振Y2与所述电阻R52相互并联连接后的两端均与所述单片机U1相连接,晶振Y2的一端通过电容C44接地,晶振Y2的另一端通过电容C45接地;Both ends of the crystal oscillator Y2 and the resistor R52 connected in parallel are connected to the microcontroller U1, one end of the crystal oscillator Y2 is grounded through a capacitor C44, and the other end of the crystal oscillator Y2 is grounded through a capacitor C45;

所述电阻R13的一端连接+3.3V电源,所述电阻R13的另一端与所述电容C1的一端连接后与所述单片机U1相连接,所述电容C1的另一端接地;所述开关S5的一端连接在所述电阻R13与所述电容C1之间,所述开关S5的另一端连接所述电容C1的接地一端;One end of the resistor R13 is connected to a +3.3V power supply, the other end of the resistor R13 is connected to one end of the capacitor C1 and then connected to the single-chip microcomputer U1, and the other end of the capacitor C1 is grounded; the switch S5 One end is connected between the resistor R13 and the capacitor C1, and the other end of the switch S5 is connected to the ground end of the capacitor C1;

所述存储芯片U10的与单片机U1相连接。The memory chip U10 is connected to the single chip microcomputer U1.

所述RS485接口电路包括RS485收发器U3、电阻R20、电容C3、电阻R23和接口P1;所述电阻R20、电容C3、电阻R23和接口P1均与所述RS485收发器U3相连接;所述RS485收发器U3与所述单片机U1相连接;Described RS485 interface circuit comprises RS485 transceiver U3, resistance R20, electric capacity C3, resistance R23 and interface P1; Described resistance R20, electric capacity C3, resistance R23 and interface P1 are all connected with described RS485 transceiver U3; Described RS485 The transceiver U3 is connected with the single-chip microcomputer U1;

所述RS232接口电路包括RS232收发器U5、电容C31、电容C33、电容C35、电容C37、电容C6、电阻R15、电阻R21、接口P2和9针接口CN5;所述电容C31、电容C33、电容C35、电容C37、电容C6、电阻R15、电阻R21、接口P2和9针接口CN5均与所述RS232收发器U5相连接;所述RS232收发器U5与所述单片机U1相连接。Described RS232 interface circuit comprises RS232 transceiver U5, capacitor C31, capacitor C33, capacitor C35, capacitor C37, capacitor C6, resistor R15, resistor R21, interface P2 and 9 needle interface CN5; Described capacitor C31, capacitor C33, capacitor C35 , capacitor C37, capacitor C6, resistor R15, resistor R21, interface P2 and 9-pin interface CN5 are all connected to the RS232 transceiver U5; the RS232 transceiver U5 is connected to the single chip microcomputer U1.

所述电源电路包括电源芯片ACDC1、电压调节器U11、电容C29、电容C50、电容C51、电容C30;所述电源芯片ACDC1通过接口P6连接外部电源并输出+9V电源,所述电容C29、电容C50均连接在所述电源芯片ACDC1和电压调节器U11之间,所述电源芯片ACDC1和电压调节器U11相连接;所述电容C51和电容C30相互并联后的一端连接在所述电压调节器U11的端子GND上,所述电容C51和电容C30相互并联后的另一端与所述电压调节器U11的端子VOUT和端子NC相连接,并作为电源输出端输出+3.3V电压。The power supply circuit includes a power chip ACDC1, a voltage regulator U11, a capacitor C29, a capacitor C50, a capacitor C51, and a capacitor C30; the power chip ACDC1 is connected to an external power supply through an interface P6 and outputs a +9V power supply, and the capacitor C29, capacitor C50 Both are connected between the power chip ACDC1 and the voltage regulator U11, the power chip ACDC1 is connected to the voltage regulator U11; one end of the capacitor C51 and the capacitor C30 connected in parallel to each other is connected to the voltage regulator U11 On the terminal GND, the other end of the parallel connection of the capacitor C51 and the capacitor C30 is connected with the terminal VOUT and the terminal NC of the voltage regulator U11, and outputs +3.3V voltage as the output terminal of the power supply.

所述执行器电源控制电路包括继电器K1、二极管D1、三极管Q1、电阻R17、电阻R18和电阻R19;所述电阻R18的一端连接单片机U1的管脚PD0,另一端连接三极管Q1的基极;电阻R17的两端分别连接在所述三极管Q1的基极和发射极上,三极管Q1的发射极接地;所述二极管的正极、继电器K1的一端均与所述三极管Q1的集电极相连接,所述二极管的负极、继电器K1的另一端均通过电阻R19连接+9V电源。The actuator power supply control circuit includes a relay K1, a diode D1, a transistor Q1, a resistor R17, a resistor R18 and a resistor R19; one end of the resistor R18 is connected to the pin PD0 of the single-chip microcomputer U1, and the other end is connected to the base of the transistor Q1; The two ends of R17 are respectively connected to the base and the emitter of the triode Q1, and the emitter of the triode Q1 is grounded; the anode of the diode and one end of the relay K1 are connected to the collector of the triode Q1, the The cathode of the diode and the other end of the relay K1 are both connected to the +9V power supply through the resistor R19.

所述调试程序下载电路包括JTAG接口芯片J1、电阻R1~R7;所述电阻R1~R7均与所述JTAG接口芯片J1相连接;所述JTAG接口芯片J1与所述单片机U1相连接。The debugging program downloading circuit includes a JTAG interface chip J1 and resistors R1-R7; the resistors R1-R7 are all connected to the JTAG interface chip J1; the JTAG interface chip J1 is connected to the single-chip microcomputer U1.

所述微处理器U9上连接有晶振单元、上电复位单元和拔码开关地址电路;The microprocessor U9 is connected with a crystal oscillator unit, a power-on reset unit and a dial switch address circuit;

所述晶振单元包括晶振Y3、电容C144、电容C145、电阻R152;所述晶振Y3与所述电阻R152相互并联连接后的两端均与所述微处理器U9相连接,晶振Y3的一端通过电容C144接地,晶振Y3的另一端通过电容C145接地;The crystal oscillator unit includes a crystal oscillator Y3, a capacitor C144, a capacitor C145, and a resistor R152; both ends of the crystal oscillator Y3 and the resistor R152 are connected in parallel to each other with the microprocessor U9, and one end of the crystal oscillator Y3 passes through a capacitor. C144 is grounded, and the other end of crystal oscillator Y3 is grounded through capacitor C145;

所述上电复位单元包括电阻R113、电容C14;所述电阻R113的一端连接+3.3V电源,所述电阻R113的另一端与所述电容C14的一端连接后与所述微处理器U9相连接,所述电容C14的另一端接地;The power-on reset unit includes a resistor R113 and a capacitor C14; one end of the resistor R113 is connected to a +3.3V power supply, and the other end of the resistor R113 is connected to one end of the capacitor C14 and then connected to the microprocessor U9 , the other end of the capacitor C14 is grounded;

所述拔码开关地址电路包括拔码开关S1、电阻R19~R22;所述拔码开关S1与所述微处理器U9相连接,所述电阻R19~电阻R22的一端连接+3.3V电源,另一端连接在拔码开关S1与所述微处理器U9之间。The address circuit of the dialing switch includes a dialing switch S1 and resistors R19 to R22; the dialing switch S1 is connected to the microprocessor U9, one end of the resistors R19 to R22 is connected to a +3.3V power supply, and the other One end is connected between the DIP switch S1 and the microprocessor U9.

所述串口导通控制电路包括接口P01、接口P3、继电器K01、二极管D01、三极管Q01、电阻R017、电阻R018和电阻R019;The serial port conduction control circuit includes an interface P01, an interface P3, a relay K01, a diode D01, a triode Q01, a resistor R017, a resistor R018 and a resistor R019;

所述电阻R018的一端连接微处理器U9的管脚PB8,另一端连接三极管Q01的基极;电阻R017的两端分别连接在所述三极管Q01的基极和发射极上,三极管Q01的发射极接地;所述二极管D01的正极、继电器K01的一端均与所述三极管Q01的集电极相连接,所述二极管D01的负极、继电器K01的另一端均通过电阻R019连接+9V电源;One end of the resistor R018 is connected to the pin PB8 of the microprocessor U9, and the other end is connected to the base of the triode Q01; grounding; the anode of the diode D01 and one end of the relay K01 are connected to the collector of the triode Q01, and the cathode of the diode D01 and the other end of the relay K01 are connected to a +9V power supply through a resistor R019;

所述三极管Q01的发射极与所述接口P3相连接;所述接口P01、接口P3连接在所述继电器K01的两端;当继电器K01导通时,接口P01、接口P3之间相连通。The emitter of the triode Q01 is connected to the interface P3; the interface P01 and the interface P3 are connected to both ends of the relay K01; when the relay K01 is turned on, the interface P01 and the interface P3 are connected.

所述被控设备电源控制电路包括继电器K2、二极管D2、三极管Q2、电阻R81、电阻R80、电阻R79、继电器K3、二极管D3、三极管Q3、电阻R82、电阻R77、电阻R78、电容C103、电阻R25、磁保持继电器RC01和接口P5;The controlled device power supply control circuit includes a relay K2, a diode D2, a transistor Q2, a resistor R81, a resistor R80, a resistor R79, a relay K3, a diode D3, a transistor Q3, a resistor R82, a resistor R77, a resistor R78, a capacitor C103, and a resistor R25 , Magnetic latching relay RC01 and interface P5;

所述电阻R80的一端连接微处理器U9的管脚PB9,另一端连接三极管Q2的基极;电阻R79的两端分别连接在所述三极管Q2的基极和发射极上,三极管Q2的发射极接地;所述二极管D2的正极、继电器K2的一端均与所述三极管Q2的集电极相连接,所述二极管D2的负极、继电器K2的另一端均通过电阻R81连接+9V电源;One end of the resistor R80 is connected to the pin PB9 of the microprocessor U9, and the other end is connected to the base of the transistor Q2; the two ends of the resistor R79 are respectively connected to the base and the emitter of the transistor Q2, and the emitter of the transistor Q2 grounding; the anode of the diode D2 and one end of the relay K2 are connected to the collector of the triode Q2, and the cathode of the diode D2 and the other end of the relay K2 are connected to a +9V power supply through a resistor R81;

所述电阻R78的一端连接微处理器U9的管脚PB10,另一端连接三极管Q3的基极;电阻R77的两端分别连接在所述三极管Q3的基极和发射极上,三极管Q3的发射极接地;所述二极管D3的正极、继电器K3的一端均与所述三极管Q3的集电极相连接,所述二极管D3的负极、继电器K3的另一端均通过电阻R82连接+9V电源;One end of the resistor R78 is connected to the pin PB10 of the microprocessor U9, and the other end is connected to the base of the transistor Q3; the two ends of the resistor R77 are respectively connected to the base and the emitter of the transistor Q3, and the emitter of the transistor Q3 grounding; the anode of the diode D3 and one end of the relay K3 are connected to the collector of the triode Q3, and the cathode of the diode D3 and the other end of the relay K3 are connected to a +9V power supply through a resistor R82;

所述继电器K2、继电器K3均与所述磁保持继电器RC01相连接,所述电阻R25与所述电容C103相互串联连接后连接在磁保持继电器RC01的引脚1和引脚2之间,电阻R25连接磁保持继电器RC01的引脚1,电容C103连接磁保持继电器RC01的引脚2;所述接口P5的引脚1和引脚2分别连接磁保持继电器RC01的引脚3和引脚4。Both the relay K2 and the relay K3 are connected to the magnetic latching relay RC01, the resistor R25 and the capacitor C103 are connected in series with each other and then connected between pin 1 and pin 2 of the magnetic latching relay RC01, and the resistor R25 Connect pin 1 of the magnetic latching relay RC01, capacitor C103 connects pin 2 of the magnetic latching relay RC01; pin 1 and pin 2 of the interface P5 are respectively connected to pin 3 and pin 4 of the magnetic latching relay RC01.

与已有技术相比,本发明有益效果体现在:Compared with the prior art, the beneficial effects of the present invention are reflected in:

本发明的可进行远程停电复位和远程监控的远程调试系统,包括一台主控计算机和多个远程调试器;所述主控计算机上设置有网络连接模块、数据搬运模块、投切操作模块、主控RS232接口和主控RS485接口;所述主控计算机和所述远程调试器之间通过计算机网络通道相连通;所述远程调试器包括网络通讯器和执行器。The remote debugging system capable of remote power failure reset and remote monitoring of the present invention includes a main control computer and a plurality of remote debuggers; the main control computer is provided with a network connection module, a data transfer module, a switching operation module, The main control RS232 interface and the main control RS485 interface; the main control computer and the remote debugger are connected through a computer network channel; the remote debugger includes a network communicator and an executor.

通过远程控制,对站点中受控的设备进行远程停电复位和监测,实现对只具备当地监控功能的设备的远程管理和状态监测,操作方便,提升了企业安全指标,提高了工作效率。Through remote control, remote power failure reset and monitoring are performed on the controlled equipment in the site to realize remote management and status monitoring of equipment that only has local monitoring functions. It is easy to operate, improves enterprise security indicators, and improves work efficiency.

本发明的可进行远程停电复位和远程监控的远程调试系统,具有可对设备进行远程停电复位和远程监控、实现设备的远程管理和状态监测、提升了企业安全指标,提高了工作效率等优点。The remote debugging system capable of remote power failure reset and remote monitoring of the present invention has the advantages of being able to perform remote power failure reset and remote monitoring of equipment, realizing remote management and status monitoring of equipment, improving enterprise safety indicators, and improving work efficiency.

附图说明Description of drawings

图1为本发明的远程调试系统的结构框图。FIG. 1 is a structural block diagram of the remote debugging system of the present invention.

图2为本发明的远程调试系统的远程调试器的结构框图。FIG. 2 is a structural block diagram of a remote debugger of the remote debugging system of the present invention.

图3为本发明的远程调试系统的网络通讯器的单片机U1的电路图。FIG. 3 is a circuit diagram of the single-chip microcomputer U1 of the network communicator of the remote debugging system of the present invention.

图4为本发明的远程调试系统的网络通讯器的RS485接口电路的电路图。4 is a circuit diagram of the RS485 interface circuit of the network communicator of the remote debugging system of the present invention.

图5为本发明的远程调试系统的网络通讯器的RS232接口电路的电路图。5 is a circuit diagram of the RS232 interface circuit of the network communicator of the remote debugging system of the present invention.

图6为本发明的远程调试系统的网络通讯器的电源电路的电路图。FIG. 6 is a circuit diagram of the power supply circuit of the network communicator of the remote debugging system of the present invention.

图7为本发明的远程调试系统的网络通讯器的执行器电源控制电路的电路图。7 is a circuit diagram of the actuator power control circuit of the network communicator of the remote debugging system of the present invention.

图8为本发明的远程调试系统的网络通讯器的调试程序下载电路的电路图。FIG. 8 is a circuit diagram of the debugging program downloading circuit of the network communicator of the remote debugging system of the present invention.

图9为本发明的远程调试系统的执行器的微处理器U9的电路图。FIG. 9 is a circuit diagram of the microprocessor U9 of the actuator of the remote debugging system of the present invention.

图10为本发明的远程调试系统的执行器的串口导通控制电路的电路图。FIG. 10 is a circuit diagram of the serial port conduction control circuit of the actuator of the remote debugging system of the present invention.

图11为本发明的远程调试系统的执行器的被控设备电源控制电路的电路图。FIG. 11 is a circuit diagram of the controlled device power control circuit of the actuator of the remote debugging system of the present invention.

图12为本发明的远程调试系统的执行器的调试电路接口的电路图。FIG. 12 is a circuit diagram of the debugging circuit interface of the actuator of the remote debugging system of the present invention.

以下通过具体实施方式,并结合附图对本发明作进一步说明。The present invention will be further described below through specific embodiments and in conjunction with the accompanying drawings.

具体实施方式detailed description

参见附图1-12,本发明的可进行远程停电复位和远程监控的远程调试系统,包括一台主控计算机和多个远程调试器;所述主控计算机上设置有网络连接模块、数据搬运模块、投切操作模块、主控RS232接口和主控RS485接口;所述主控计算机和所述远程调试器之间通过计算机网络通道相连通;Referring to accompanying drawings 1-12, the remote debugging system capable of remote power failure reset and remote monitoring of the present invention includes a main control computer and a plurality of remote debuggers; the main control computer is provided with a network connection module, data transfer module, switching operation module, main control RS232 interface and main control RS485 interface; the main control computer and the remote debugger are connected through a computer network channel;

所述远程调试器包括一个网络通讯器和多个执行器,所述多个执行器中的每一个执行器通过RS232总线和电源线连接一个被调试设备;The remote debugger includes a network communicator and a plurality of executors, and each executor in the plurality of executors is connected to a device to be debugged through an RS232 bus and a power line;

所述网络通讯器包括单片机U1、RS232接口电路、RS485接口电路、电源电路、用于控制执行器的电源通断的电源控制电路、IIC接口、RJ45接口和调试程序下载电路;执行器包括微处理器U9、串口导通控制电路、IIC接口、电源接口和被控设备电源控制电路;The network communicator includes a single-chip microcomputer U1, an RS232 interface circuit, an RS485 interface circuit, a power supply circuit, a power supply control circuit for controlling the power on and off of the actuator, an IIC interface, an RJ45 interface, and a debugging program download circuit; the actuator includes a microprocessor Device U9, serial port conduction control circuit, IIC interface, power interface and controlled device power control circuit;

所述网络通讯器通过所述RJ45接口与主控计算机相连接;所述网络通讯器的电源控制电路与执行器的电源接口相连接;所述网络通讯器的IIC接口与执行器的IIC接口相连接,所述执行器的串口导通控制电路与网络通讯器的RS232或者RS485相连接。The network communicator is connected to the main control computer through the RJ45 interface; the power control circuit of the network communicator is connected to the power supply interface of the actuator; the IIC interface of the network communicator is connected to the IIC interface of the actuator Connection, the serial port conduction control circuit of the actuator is connected with the RS232 or RS485 of the network communicator.

所述执行器的被控设备电源控制电路包括有磁保持继电器RC01,所述主控计算机的投切操作模块与所述磁保持继电器RC01相连接,以使得能够通过主控计算机对远程调试器上的磁保持继电器RC01进行操作,达到控制被调试设备的电源的远程投切。The controlled device power supply control circuit of the actuator includes a magnetic latching relay RC01, and the switching operation module of the main control computer is connected with the magnetic latching relay RC01, so that the remote debugger can be controlled by the main control computer. The magnetic latching relay RC01 is operated to control the remote switching of the power supply of the equipment being debugged.

所述单片机U1上连接有内部时钟电路、外部时钟电路、复位电路和存储单元;所述内部时钟电路包括晶振Y1、电容C42、电容C43、电阻R36、电阻R37;所述外部时钟电路包括晶振Y2、电容C44、电容C45、电阻R52;所述复位电路包括电容C1、电阻R13和开关S5;所述存储单元包括存储芯片U10;The single-chip microcomputer U1 is connected with an internal clock circuit, an external clock circuit, a reset circuit and a storage unit; the internal clock circuit includes a crystal oscillator Y1, a capacitor C42, a capacitor C43, a resistor R36, and a resistor R37; the external clock circuit includes a crystal oscillator Y2 , a capacitor C44, a capacitor C45, and a resistor R52; the reset circuit includes a capacitor C1, a resistor R13, and a switch S5; the storage unit includes a memory chip U10;

所述电容C42通过所述电阻R36与单片机U1相连接,所述电容C43通过所述电阻R37与单片机U1相连接,所述晶振Y1的一端连接在电容C42和电阻R36之间,晶振Y1的另一端连接在电容C43和电阻R37之间;The capacitor C42 is connected to the single-chip microcomputer U1 through the resistor R36, the capacitor C43 is connected to the single-chip microcomputer U1 through the resistor R37, one end of the crystal oscillator Y1 is connected between the capacitor C42 and the resistor R36, and the other end of the crystal oscillator Y1 One end is connected between the capacitor C43 and the resistor R37;

所述晶振Y2与所述电阻R52相互并联连接后的两端均与所述单片机U1相连接,晶振Y2的一端通过电容C44接地,晶振Y2的另一端通过电容C45接地;Both ends of the crystal oscillator Y2 and the resistor R52 connected in parallel are connected to the microcontroller U1, one end of the crystal oscillator Y2 is grounded through a capacitor C44, and the other end of the crystal oscillator Y2 is grounded through a capacitor C45;

所述电阻R13的一端连接+3.3V电源,所述电阻R13的另一端与所述电容C1的一端连接后与所述单片机U1相连接,所述电容C1的另一端接地;所述开关S5的一端连接在所述电阻R13与所述电容C1之间,所述开关S5的另一端连接所述电容C1的接地一端;One end of the resistor R13 is connected to a +3.3V power supply, the other end of the resistor R13 is connected to one end of the capacitor C1 and then connected to the single-chip microcomputer U1, and the other end of the capacitor C1 is grounded; the switch S5 One end is connected between the resistor R13 and the capacitor C1, and the other end of the switch S5 is connected to the ground end of the capacitor C1;

所述存储芯片U10的与单片机U1相连接。The memory chip U10 is connected to the single chip microcomputer U1.

如图3为本发明的远程调试系统的网络通讯器的单片机U1的电路图。其中,单片机U1是STM32F107VCT6单片机,Y2、C44、C45和R52组成U1的晶振单元,C1、R13和S5组成上电复位及手动复位单元,Y1、C42、C43、R36、R37组成U1的内部时钟基准晶振单元。所述单片机U1优选STM32F107VCT6。STM32系列基于专为要求高性能、低成本、低功耗的嵌入式应用专门设计的ARM Cortex-M内核,集成了各种高性能工业标准接口,且STM32不同型号产品在引脚和软件上具有完美的兼容性,可以轻松适应更多的应用。FIG. 3 is a circuit diagram of the single-chip microcomputer U1 of the network communicator of the remote debugging system of the present invention. Among them, the single-chip microcomputer U1 is a STM32F107VCT6 single-chip microcomputer, Y2, C44, C45 and R52 form the crystal oscillator unit of U1, C1, R13 and S5 form the power-on reset and manual reset unit, and Y1, C42, C43, R36, R37 form the internal clock reference of U1 Crystal unit. The SCM U1 is preferably STM32F107VCT6. The STM32 series is based on the ARM Cortex-M core specially designed for embedded applications requiring high performance, low cost, and low power consumption. Perfect compatibility, can easily adapt to more applications.

所述RS485接口电路包括RS485收发器U3、电阻R20、电容C3、电阻R23和接口P1;所述电阻R20、电容C3、电阻R23和接口P1均与所述RS485收发器U3相连接;所述RS485收发器U3与所述单片机U1相连接;Described RS485 interface circuit comprises RS485 transceiver U3, resistance R20, electric capacity C3, resistance R23 and interface P1; Described resistance R20, electric capacity C3, resistance R23 and interface P1 are all connected with described RS485 transceiver U3; Described RS485 The transceiver U3 is connected with the single-chip microcomputer U1;

所述RS232接口电路包括RS232收发器U5、电容C31、电容C33、电容C35、电容C37、电容C6、电阻R15、电阻R21、接口P2和9针接口CN5;所述电容C31、电容C33、电容C35、电容C37、电容C6、电阻R15、电阻R21、接口P2和9针接口CN5均与所述RS232收发器U5相连接;所述RS232收发器U5与所述单片机U1相连接。Described RS232 interface circuit comprises RS232 transceiver U5, capacitor C31, capacitor C33, capacitor C35, capacitor C37, capacitor C6, resistor R15, resistor R21, interface P2 and 9 needle interface CN5; Described capacitor C31, capacitor C33, capacitor C35 , capacitor C37, capacitor C6, resistor R15, resistor R21, interface P2 and 9-pin interface CN5 are all connected to the RS232 transceiver U5; the RS232 transceiver U5 is connected to the single chip microcomputer U1.

如图4为本发明的远程调试系统的网络通讯器的RS485接口电路的电路图。图5为本发明的远程调试系统的网络通讯器的RS232接口电路的电路图。其中,U3、R20、C3、R23组成485接口的485接口通讯电路。U5、C31、C33、C35、C37、C6、R15、R21组成232串口通讯电路。U3优选SP3485,SP3485是+3.3V电源的半双工收发器,符合RS-485和RS-422串行协议标准。SP3485采用差分输入、平衡输出方式,输出、输入共用一对线路,数据传输速率可高达10Mbps(带负载)。FIG. 4 is a circuit diagram of the RS485 interface circuit of the network communicator of the remote debugging system of the present invention. 5 is a circuit diagram of the RS232 interface circuit of the network communicator of the remote debugging system of the present invention. Among them, U3, R20, C3, and R23 form the 485 interface communication circuit of the 485 interface. U5, C31, C33, C35, C37, C6, R15, R21 form a 232 serial port communication circuit. U3 prefers SP3485, SP3485 is a half-duplex transceiver with +3.3V power supply, which conforms to RS-485 and RS-422 serial protocol standards. SP3485 adopts differential input and balanced output mode, the output and input share a pair of lines, and the data transmission rate can be as high as 10Mbps (with load).

U5优选MAX3232,MAX3232采用专有低压差发送器输出级,利用双电荷泵在3.0V至5.5V电源供电时能够实现真正的RS-232性能,器件仅需四个0.1uF的外部小尺寸电荷泵电容。max3232确保在120kbps数据速率,同时保持RS-232输出电平。U5 prefers MAX3232, MAX3232 uses a proprietary low-dropout transmitter output stage, and uses dual charge pumps to achieve true RS-232 performance when powered by a 3.0V to 5.5V power supply. The device only needs four 0.1uF external small-size charge pumps capacitance. The max3232 ensures data rates at 120kbps while maintaining RS-232 output levels.

所述电源电路包括电源芯片ACDC1、电压调节器U11、电容C29、电容C50、电容C51、电容C30;所述电源芯片ACDC1通过接口P6连接外部电源并输出+9V电源,所述电容C29、电容C50均连接在所述电源芯片ACDC1和电压调节器U11之间,所述电源芯片ACDC1和电压调节器U11相连接;所述电容C51和电容C30相互并联后的一端连接在所述电压调节器U11的端子GND上,所述电容C51和电容C30相互并联后的另一端与所述电压调节器U11的端子VOUT和端子NC相连接,并作为电源输出端输出+3.3V电压。The power supply circuit includes a power chip ACDC1, a voltage regulator U11, a capacitor C29, a capacitor C50, a capacitor C51, and a capacitor C30; the power chip ACDC1 is connected to an external power supply through an interface P6 and outputs a +9V power supply, and the capacitor C29, capacitor C50 Both are connected between the power chip ACDC1 and the voltage regulator U11, the power chip ACDC1 is connected to the voltage regulator U11; one end of the capacitor C51 and the capacitor C30 connected in parallel to each other is connected to the voltage regulator U11 On the terminal GND, the other end of the parallel connection of the capacitor C51 and the capacitor C30 is connected with the terminal VOUT and the terminal NC of the voltage regulator U11, and outputs +3.3V voltage as the output terminal of the power supply.

如图6为本发明的远程调试系统的网络通讯器的电源电路的电路图。其中,ACDC1、U11、C29、C50、C51、C30组成电源电路,P6连接外部220V市电交流电源,ACDC1是交流220V转直流电源模块,直接输出9V直流,U11产生第二个直流电源,输出3.3V,供系统中各芯片使用。U11优选LM1117-3.3,用于输出直流+3.3V电压。LM1117是一个低压差电压调节器系列。其压差在1.2V输出,负载电流为800mA时为1.2V。LM1117有可调电压的版本,通过2个外部电阻可实现1.25~13.8V输出电压范围。另外还有5个固定电压输出(1.8V、2.5V、2.85V、3.3V和5V)的型号。FIG. 6 is a circuit diagram of the power supply circuit of the network communicator of the remote debugging system of the present invention. Among them, ACDC1, U11, C29, C50, C51, and C30 form a power supply circuit, P6 is connected to an external 220V mains AC power supply, ACDC1 is an AC 220V to DC power supply module, and directly outputs 9V DC, and U11 generates a second DC power supply with an output of 3.3 V, used by each chip in the system. U11 is preferably LM1117-3.3, which is used to output DC +3.3V voltage. The LM1117 is a family of low dropout voltage regulators. Its dropout voltage is output at 1.2V, and it is 1.2V when the load current is 800mA. The LM1117 has an adjustable voltage version, which can achieve an output voltage range of 1.25 to 13.8V through 2 external resistors. There are also 5 fixed voltage output (1.8V, 2.5V, 2.85V, 3.3V and 5V) models.

所述执行器电源控制电路包括继电器K1、二极管D1、三极管Q1、电阻R17、电阻R18和电阻R19;所述电阻R18的一端连接单片机U1的管脚PD0,另一端连接三极管Q1的基极;电阻R17的两端分别连接在所述三极管Q1的基极和发射极上,三极管Q1的发射极接地;所述二极管的正极、继电器K1的一端均与所述三极管Q1的集电极相连接,所述二极管的负极、继电器K1的另一端均通过电阻R19连接+9V电源。The actuator power supply control circuit includes a relay K1, a diode D1, a transistor Q1, a resistor R17, a resistor R18 and a resistor R19; one end of the resistor R18 is connected to the pin PD0 of the single-chip microcomputer U1, and the other end is connected to the base of the transistor Q1; The two ends of R17 are respectively connected to the base and the emitter of the triode Q1, and the emitter of the triode Q1 is grounded; the anode of the diode and one end of the relay K1 are connected to the collector of the triode Q1, the The cathode of the diode and the other end of the relay K1 are both connected to the +9V power supply through the resistor R19.

图7为本发明的远程调试系统的网络通讯器的执行器的电源控制电路的电路图。K1、D1、Q1、R17、R18、R19组成对执行器的电源控制电路,当PD0为高电平时,K1继电器吸合,执行器电源导通。7 is a circuit diagram of the power control circuit of the actuator of the network communicator of the remote debugging system of the present invention. K1, D1, Q1, R17, R18, and R19 form the power control circuit for the actuator. When PD0 is at high level, the K1 relay pulls in and the actuator power is turned on.

所述调试程序下载电路包括JTAG接口芯片J1、电阻R1~R7;所述电阻R1~R7均与所述JTAG接口芯片J1相连接;所述JTAG接口芯片J1与所述单片机U1相连接。如图8为本发明的远程调试系统的网络通讯器的调试程序下载电路的电路图。J1、R1、R2、R3、R4、R5、R6、R7组成调试程序下载电路,用于程序的下载和调试。The debugging program downloading circuit includes a JTAG interface chip J1 and resistors R1-R7; the resistors R1-R7 are all connected to the JTAG interface chip J1; the JTAG interface chip J1 is connected to the single-chip microcomputer U1. FIG. 8 is a circuit diagram of the debugging program downloading circuit of the network communicator of the remote debugging system of the present invention. J1, R1, R2, R3, R4, R5, R6, R7 form a debugging program download circuit for program downloading and debugging.

网络通讯器的调试电路接口是J1接线端子,同时还接供一个RS232对外的调试端口,即图5的RS232接口电路中的CN5接线端子。网络通讯器与执行器的连接分二种情况,一种是被调试设备是RS232端口时,另一种是被调试器是RS485端口。若被调试设备是RS232端口,连接方式是网络通讯器的RS232接口电路的P2接线端子与执行器的串口导通控制电路(如图10)的P01接线端子连接。若被调试设备是RS485端口,连接方式是网络通讯器的RS485接口电路的接口P1接线端子与执行器的串口导通控制电路(如图10)的P01接线端子连接。The debugging circuit interface of the network communicator is the J1 terminal, and at the same time it is also connected to an RS232 external debugging port, that is, the CN5 terminal in the RS232 interface circuit in Figure 5. There are two cases for the connection between the network communicator and the actuator, one is when the debugged device is an RS232 port, and the other is when the debugged device is an RS485 port. If the device to be debugged is an RS232 port, the connection method is to connect the P2 terminal of the RS232 interface circuit of the network communicator to the P01 terminal of the serial port conduction control circuit of the actuator (as shown in Figure 10). If the device to be debugged is an RS485 port, the connection method is to connect the interface P1 terminal of the RS485 interface circuit of the network communicator to the P01 terminal of the serial port conduction control circuit of the actuator (as shown in Figure 10).

执行器与网络通讯器的连接是执行器的P01接线端子与网络通讯器的P1或P2接线端子连接,执行器的电源由P01接线端子引入。The connection between the actuator and the network communicator is that the P01 terminal of the actuator is connected with the P1 or P2 terminal of the network communicator, and the power supply of the actuator is introduced from the P01 terminal.

所述微处理器U9上连接有晶振单元、上电复位单元和拔码开关地址电路;The microprocessor U9 is connected with a crystal oscillator unit, a power-on reset unit and a dial switch address circuit;

所述晶振单元包括晶振Y3、电容C144、电容C145、电阻R152;所述晶振Y3与所述电阻R152相互并联连接后的两端均与所述微处理器U9相连接,晶振Y3的一端通过电容C144接地,晶振Y3的另一端通过电容C145接地;The crystal oscillator unit includes a crystal oscillator Y3, a capacitor C144, a capacitor C145, and a resistor R152; both ends of the crystal oscillator Y3 and the resistor R152 are connected in parallel to each other with the microprocessor U9, and one end of the crystal oscillator Y3 passes through a capacitor. C144 is grounded, and the other end of crystal oscillator Y3 is grounded through capacitor C145;

所述上电复位单元包括电阻R113、电容C14;所述电阻R113的一端连接+3.3V电源,所述电阻R113的另一端与所述电容C14的一端连接后与所述微处理器U9相连接,所述电容C14的另一端接地;The power-on reset unit includes a resistor R113 and a capacitor C14; one end of the resistor R113 is connected to a +3.3V power supply, and the other end of the resistor R113 is connected to one end of the capacitor C14 and then connected to the microprocessor U9 , the other end of the capacitor C14 is grounded;

所述拔码开关地址电路包括拔码开关S1、电阻R19~R22;所述拔码开关S1与所述微处理器U9相连接,所述电阻R19~电阻R22的一端连接+3.3V电源,另一端连接在拔码开关S1与所述微处理器U9之间。The address circuit of the dialing switch includes a dialing switch S1 and resistors R19 to R22; the dialing switch S1 is connected to the microprocessor U9, one end of the resistors R19 to R22 is connected to a +3.3V power supply, and the other One end is connected between the DIP switch S1 and the microprocessor U9.

如图9为本发明的远程调试系统的执行器的微处理器U9的电路图。微处理器U9采用的是STM32F101C6T6芯片,Y3、C144、C145、R152构成U9的晶振单元。R113、C14组成上电复位单元。S1、R19、R20、R21、R22组成拔码开关地址,用于设定执行器的地址。FIG. 9 is a circuit diagram of the microprocessor U9 of the actuator of the remote debugging system of the present invention. The microprocessor U9 uses the STM32F101C6T6 chip, and Y3, C144, C145, and R152 constitute the crystal oscillator unit of U9. R113 and C14 form a power-on reset unit. S1, R19, R20, R21, R22 form the address of the DIP switch, which is used to set the address of the actuator.

所述串口导通控制电路包括接口P01、接口P3、继电器K01、二极管D01、三极管Q01、电阻R017、电阻R018和电阻R019;The serial port conduction control circuit includes an interface P01, an interface P3, a relay K01, a diode D01, a triode Q01, a resistor R017, a resistor R018 and a resistor R019;

所述电阻R018的一端连接微处理器U9的管脚PB8,另一端连接三极管Q01的基极;电阻R017的两端分别连接在所述三极管Q01的基极和发射极上,三极管Q01的发射极接地;所述二极管D01的正极、继电器K01的一端均与所述三极管Q01的集电极相连接,所述二极管D01的负极、继电器K01的另一端均通过电阻R019连接+9V电源;One end of the resistor R018 is connected to the pin PB8 of the microprocessor U9, and the other end is connected to the base of the triode Q01; grounding; the anode of the diode D01 and one end of the relay K01 are connected to the collector of the triode Q01, and the cathode of the diode D01 and the other end of the relay K01 are connected to a +9V power supply through a resistor R019;

所述三极管Q01的发射极与所述接口P3相连接;所述接口P01、接口P3连接在所述继电器K01的两端;当继电器K01导通时,接口P01、接口P3之间相连通。The emitter of the triode Q01 is connected to the interface P3; the interface P01 and the interface P3 are connected to both ends of the relay K01; when the relay K01 is turned on, the interface P01 and the interface P3 are connected.

如图10为本发明的远程调试系统的执行器的串口导通控制电路的电路图。K01、D01、Q01、R017、R018、R019、P3、P01组成串口导通电路,当执行器接收到上位机,要求将被控设备的串口与网络通讯器直连时,U9的PB8输出高电平,K01继电器吸合,P3的1、2端口与P01的5、6端口对应导通,将被控设备的串口与网络通讯器直连,完成串口通讯导通工作。FIG. 10 is a circuit diagram of the serial port conduction control circuit of the actuator of the remote debugging system of the present invention. K01, D01, Q01, R017, R018, R019, P3, and P01 form a serial port conduction circuit. When the actuator receives the upper computer and requests to directly connect the serial port of the controlled device to the network communicator, PB8 of U9 outputs a high power Ping, the K01 relay pulls in, the 1 and 2 ports of P3 and the 5 and 6 ports of P01 are correspondingly conducted, and the serial port of the controlled device is directly connected with the network communicator to complete the serial communication conduction work.

所述被控设备电源控制电路包括继电器K2、二极管D2、三极管Q2、电阻R81、电阻R80、电阻R79、继电器K3、二极管D3、三极管Q3、电阻R82、电阻R77、电阻R78、电容C103、电阻R25、磁保持继电器RC01和接口P5;The controlled device power supply control circuit includes a relay K2, a diode D2, a transistor Q2, a resistor R81, a resistor R80, a resistor R79, a relay K3, a diode D3, a transistor Q3, a resistor R82, a resistor R77, a resistor R78, a capacitor C103, and a resistor R25 , Magnetic latching relay RC01 and interface P5;

所述电阻R80的一端连接微处理器U9的管脚PB9,另一端连接三极管Q2的基极;电阻R79的两端分别连接在所述三极管Q2的基极和发射极上,三极管Q2的发射极接地;所述二极管D2的正极、继电器K2的一端均与所述三极管Q2的集电极相连接,所述二极管D2的负极、继电器K2的另一端均通过电阻R81连接+9V电源;One end of the resistor R80 is connected to the pin PB9 of the microprocessor U9, and the other end is connected to the base of the transistor Q2; the two ends of the resistor R79 are respectively connected to the base and the emitter of the transistor Q2, and the emitter of the transistor Q2 grounding; the anode of the diode D2 and one end of the relay K2 are connected to the collector of the triode Q2, and the cathode of the diode D2 and the other end of the relay K2 are connected to a +9V power supply through a resistor R81;

所述电阻R78的一端连接微处理器U9的管脚PB10,另一端连接三极管Q3的基极;电阻R77的两端分别连接在所述三极管Q3的基极和发射极上,三极管Q3的发射极接地;所述二极管D3的正极、继电器K3的一端均与所述三极管Q3的集电极相连接,所述二极管D3的负极、继电器K3的另一端均通过电阻R82连接+9V电源;One end of the resistor R78 is connected to the pin PB10 of the microprocessor U9, and the other end is connected to the base of the transistor Q3; the two ends of the resistor R77 are respectively connected to the base and the emitter of the transistor Q3, and the emitter of the transistor Q3 grounding; the anode of the diode D3 and one end of the relay K3 are connected to the collector of the triode Q3, and the cathode of the diode D3 and the other end of the relay K3 are connected to a +9V power supply through a resistor R82;

所述继电器K2、继电器K3均与所述磁保持继电器RC01相连接,所述电阻R25与所述电容C103相互串联连接后连接在磁保持继电器RC01的引脚1和引脚2之间,电阻R25连接磁保持继电器RC01的引脚1,电容C103连接磁保持继电器RC01的引脚2;所述接口P5的引脚1和引脚2分别连接磁保持继电器RC01的引脚3和引脚4。Both the relay K2 and the relay K3 are connected to the magnetic latching relay RC01, the resistor R25 and the capacitor C103 are connected in series with each other and then connected between pin 1 and pin 2 of the magnetic latching relay RC01, and the resistor R25 Connect pin 1 of the magnetic latching relay RC01, capacitor C103 connects pin 2 of the magnetic latching relay RC01; pin 1 and pin 2 of the interface P5 are respectively connected to pin 3 and pin 4 of the magnetic latching relay RC01.

K2、D2、Q2、R81、R80、R79、K3、D3、Q3、R82、R77、R78、C103、R25、RC01、P5组成对被控设备(即被调试设备)的交流电源的控制电路,用于为被控设备提供电源。当U9的PB9发一高电平(此时U9的PB10必须是低电平)脉冲时,K2做一次吸合动作,RC01的3、4脚吸合,被控设备的交流电源接通,当U9的PB9是低电平,而PB10发一高电平脉冲后,K3做一次吸合动作,RC01的3、4脚被打开,被控设备的交流电源被关断。K2, D2, Q2, R81, R80, R79, K3, D3, Q3, R82, R77, R78, C103, R25, RC01, P5 form a control circuit for the AC power of the controlled device (that is, the device to be debugged). To provide power to the controlled device. When PB9 of U9 sends a high-level pulse (at this time, PB10 of U9 must be low level), K2 performs a pull-in action, and pins 3 and 4 of RC01 pull in, and the AC power of the controlled device is turned on. PB9 of U9 is at low level, and after PB10 sends a high level pulse, K3 performs a pull-in action, 3 and 4 pins of RC01 are opened, and the AC power of the controlled device is turned off.

执行器为被调试设备提供交流电源接入,连接方式为:执行器接线端子P5的1脚接交流输入电源的地线,P5的2脚接交流输入电源的火线,被调试设备的交流电源输入分别接至执行器接线端子P5的1脚和3脚。执行器通过接线端子P5的1脚和2脚引入交流电源,再通过接线端子P5的1脚和3脚输出交流电源至被调试设备上。The actuator provides AC power access for the equipment to be debugged. The connection method is: pin 1 of the actuator terminal P5 is connected to the ground wire of the AC input power supply, pin 2 of P5 is connected to the live wire of the AC input power supply, and the AC power input of the equipment to be debugged Connect them to pin 1 and pin 3 of the actuator terminal P5 respectively. The actuator introduces AC power through pin 1 and pin 2 of terminal P5, and then outputs AC power to the device to be debugged through pin 1 and pin 3 of terminal P5.

执行器与被调试设备的串口连接:执行器上的P3接线端子与被调试设备的RS485或者RS232接口相连接(485连接时用P3的1、2脚,232连接时用P3的1、2、3脚)。执行器的调试电路接口是J2接线端子。The actuator is connected to the serial port of the device to be debugged: the P3 terminal on the actuator is connected to the RS485 or RS232 interface of the device to be debugged (use 1, 2 pins of P3 for 485 connection, use 1, 2, 2 pins of P3 for 232 connection) 3 feet). The debugging circuit interface of the actuator is the J2 terminal.

执行器的调试电路接口的电路图如图12所示,包括JTAG接口芯片J2、电阻R01~R07。所述电阻R01~R07均与所述JTAG接口芯片J2相连接;所述JTAG接口芯片J2与所述微处理器U9相连接。J2、R01~R07组成执行器的调试电路接口,用于程序的下载和调试。The circuit diagram of the debugging circuit interface of the actuator is shown in Figure 12, including the JTAG interface chip J2 and resistors R01-R07. The resistors R01-R07 are all connected to the JTAG interface chip J2; the JTAG interface chip J2 is connected to the microprocessor U9. J2, R01~R07 form the debugging circuit interface of the actuator, which is used for program download and debugging.

如图1-2所示,本发明的可进行远程停电复位和远程监控的远程调试系统,包括一台主控计算机和多个远程调试器;所述主控计算机上设置有网络连接模块、数据搬运模块、投切操作模块、主控RS232接口和主控RS485接口;所述主控计算机和所述远程调试器之间通过计算机网络通道相连通;所述远程调试器包括网络通讯器和多个执行器,可监控多个设备,且有较长的响应时间。所述网络连接模块用于为主控计算机与被调设备对应的远程调试器建立网络连接;所述数据搬运模块用于读取调试设备串口所发出的数据并存储至缓冲区,然后将缓冲区内存储的数据发送至网口,延长数据传输距离,实现远程监控;所述投切操作模块用于发送投切等操作指令。网络通道为企业内部网络,用于为主控计算机与远程调试器提供传输通道。As shown in Figure 1-2, the remote debugging system capable of remote power failure reset and remote monitoring of the present invention includes a main control computer and multiple remote debuggers; the main control computer is provided with a network connection module, data The handling module, the switching operation module, the main control RS232 interface and the main control RS485 interface; the main control computer and the remote debugger are connected through a computer network channel; the remote debugger includes a network communicator and a plurality of An actuator that can monitor multiple devices and has a long response time. The network connection module is used to establish a network connection between the main control computer and the remote debugger corresponding to the adjusted device; the data transfer module is used to read the data sent by the serial port of the debugging device and store it in the buffer, and then store the data in the buffer The data stored in the internal storage is sent to the network port to extend the data transmission distance and realize remote monitoring; the switching operation module is used to send operation commands such as switching. The network channel is the internal network of the enterprise, and is used to provide a transmission channel between the main control computer and the remote debugger.

通过主控计算机的232端口(或485端口)可远程监控远方被控设备的232端口(或485端口),并根据监控设备的端口类型实现远程监控,能够远程控制电源开关,可监测被控设备的带电状态。该发明通过远程控制,对站点中受控的设备进行远程复位、监测和投切控制,实现对只具备当地监控功能的设备的远程管理和状态监测。Through the 232 port (or 485 port) of the main control computer, the 232 port (or 485 port) of the remote controlled device can be remotely monitored, and the remote monitoring can be realized according to the port type of the monitoring device, and the power switch can be controlled remotely, and the controlled device can be monitored charged state. The invention performs remote reset, monitoring and switching control on the controlled equipment in the site through remote control, and realizes remote management and status monitoring of the equipment that only has the local monitoring function.

调试器具备RJ45或485方式联网功能,可远程控制监控设备的电源开关,实行主控计算机与现场设备一对一的监控,经过一个远程调试器中的232接口与被调试设备联接。The debugger has RJ45 or 485 network function, which can remotely control the power switch of the monitoring equipment, implement one-to-one monitoring between the main control computer and the field equipment, and connect with the debugged equipment through a 232 interface in the remote debugger.

(1)调试主机接入主控计算机的232接口,被调试设备接入远程调试器的232接口;(1) The debugging host is connected to the 232 interface of the main control computer, and the debugged device is connected to the 232 interface of the remote debugger;

(2)主控计算机通过网络连接模块与远程调试器建立通信联接,系统利用数据搬运模块通过透传将调试主机和被调试设备联接起来;(2) The main control computer establishes a communication connection with the remote debugger through the network connection module, and the system uses the data transfer module to connect the debugging host and the debugged device through transparent transmission;

(3)当调试主机发送命令后,命令发送至被调试设备的232接口中,被调试设备接到命令后,通过232接口返回响应帧,响应帧再传至调试主机的232接口上,从而实现调试主机与被调试设备的远程调试。(3) After the debugging host sends the command, the command is sent to the 232 interface of the debugged device. After the debugged device receives the command, it returns a response frame through the 232 interface, and the response frame is then transmitted to the 232 interface of the debugging host, thereby realizing Remote debugging between the debugging host and the device being debugged.

(4)操作者也可通过主控计算机对远程调试器上的磁保持继电器RC01的操作,达到控制被调试设备的电源远程投切,使被调试设备具备远程停电复位功能。(4) The operator can also operate the magnetic latching relay RC01 on the remote debugger through the main control computer to control the remote switching of the power supply of the debugged equipment, so that the debugged equipment has the function of remote power failure reset.

网络通讯器与主控计算机是通过RJ45网络接口连接,并将上位机指令转发给执行器。The network communicator is connected to the main control computer through the RJ45 network interface, and forwards the host computer instructions to the actuator.

本发明的可进行远程停电复位和远程监控的远程调试系统,通过远程控制,对站点中受控的设备进行远程停电复位和监测,实现对只具备当地监控功能的设备的远程管理和状态监测,操作方便,提升了企业安全指标,提高了工作效率。The remote debugging system capable of remote power failure reset and remote monitoring of the present invention performs remote power failure reset and monitoring on the controlled equipment in the site through remote control, and realizes remote management and status monitoring of equipment that only has local monitoring functions. The operation is convenient, the enterprise safety index is improved, and the work efficiency is improved.

以上的实施例仅是对本发明的优选实施方式进行描述,并非对本发明的范围进行限定,在不脱离本发明设计精神的前提下,本领域普通工程技术人员对本发明的技术方案做出的各种变形和改进,均应落入本发明的权利要求书确定的保护范围内。The above embodiments are only descriptions of preferred implementations of the present invention, and are not intended to limit the scope of the present invention. On the premise of not departing from the design spirit of the present invention, various technical solutions of the present invention can be made by ordinary engineers and technicians in the field. Variations and improvements should fall within the scope of protection defined by the claims of the present invention.

Claims (8)

1.可进行远程停电复位和远程监控的远程调试系统,其特征是,包括一台主控计算机和多个远程调试器;所述主控计算机上设置有网络连接模块、数据搬运模块、投切操作模块、主控RS232接口和主控RS485接口;所述主控计算机和所述远程调试器之间通过计算机网络通道相连通;1. The remote debugging system capable of remote power failure reset and remote monitoring is characterized in that it includes a main control computer and a plurality of remote debuggers; the main control computer is provided with a network connection module, a data transfer module, a switching An operation module, a main control RS232 interface and a main control RS485 interface; the main control computer and the remote debugger are connected through a computer network channel; 所述远程调试器包括一个网络通讯器和多个执行器,所述多个执行器中的每一个执行器通过RS232总线和电源线连接一个被调试设备;The remote debugger includes a network communicator and a plurality of executors, and each executor in the plurality of executors is connected to a device to be debugged through an RS232 bus and a power line; 所述网络通讯器包括单片机U1、RS232接口电路、RS485接口电路、电源电路、用于控制执行器的电源通断的电源控制电路、IIC接口、RJ45接口和调试程序下载电路;执行器包括微处理器U9、串口导通控制电路、IIC接口、电源接口和被控设备电源控制电路;The network communicator includes a single-chip microcomputer U1, an RS232 interface circuit, an RS485 interface circuit, a power supply circuit, a power supply control circuit for controlling the power on and off of the actuator, an IIC interface, an RJ45 interface, and a debugging program download circuit; the actuator includes a microprocessor Device U9, serial port conduction control circuit, IIC interface, power interface and controlled device power control circuit; 所述网络通讯器通过所述RJ45接口与主控计算机相连接;所述网络通讯器的电源控制电路与执行器的电源接口相连接;所述网络通讯器的IIC接口与执行器的IIC接口相连接,所述执行器的串口导通控制电路与网络通讯器的RS232或者RS485相连接。The network communicator is connected to the main control computer through the RJ45 interface; the power control circuit of the network communicator is connected to the power supply interface of the actuator; the IIC interface of the network communicator is connected to the IIC interface of the actuator Connection, the serial port conduction control circuit of the actuator is connected with the RS232 or RS485 of the network communicator. 2.根据权利要求1所述的可进行远程停电复位和远程监控的远程调试系统,其特征是,所述执行器的被控设备电源控制电路包括有磁保持继电器RC01,所述主控计算机的投切操作模块与所述磁保持继电器RC01相连接,以使得能够通过主控计算机对远程调试器上的磁保持继电器RC01进行操作,达到控制被调试设备的电源的远程投切。2. The remote debugging system capable of remote power failure reset and remote monitoring according to claim 1, characterized in that, the controlled device power supply control circuit of the actuator includes a magnetic latching relay RC01, and the main control computer The switching operation module is connected to the magnetic latching relay RC01, so that the magnetic latching relay RC01 on the remote debugger can be operated through the main control computer to achieve remote switching of the power supply of the debugged device. 3.根据权利要求1所述的可进行远程停电复位和远程监控的远程调试系统,其特征是,所述单片机U1上连接有内部时钟电路、外部时钟电路、复位电路和存储单元;所述内部时钟电路包括晶振Y1、电容C42、电容C43、电阻R36、电阻R37;所述外部时钟电路包括晶振Y2、电容C44、电容C45、电阻R52;所述复位电路包括电容C1、电阻R13和开关S5;所述存储单元包括存储芯片U10;单片机U1是STM32F107VCT6单片机;3. The remote debugging system capable of remote power-off reset and remote monitoring according to claim 1, wherein the single-chip microcomputer U1 is connected with an internal clock circuit, an external clock circuit, a reset circuit and a storage unit; The clock circuit includes crystal oscillator Y1, capacitor C42, capacitor C43, resistor R36, and resistor R37; the external clock circuit includes crystal oscillator Y2, capacitor C44, capacitor C45, and resistor R52; the reset circuit includes capacitor C1, resistor R13, and switch S5; The storage unit includes a storage chip U10; the single-chip microcomputer U1 is a STM32F107VCT6 single-chip microcomputer; 所述电容C42的一端与电阻R36的一端相连接,所述电阻R36的另一端与单片机U1的管脚8相连接,所述电容C42的另一端接地;所述电容C43的一端与电阻R37的一端相连接,所述电阻R37的另一端与单片机U1的管脚9相连接,所述电容C43的另一端接地;所述晶振Y1的一端连接在电容C42和电阻R36之间,晶振Y1的另一端连接在电容C43和电阻R37之间;One end of the capacitor C42 is connected to one end of the resistor R36, the other end of the resistor R36 is connected to the pin 8 of the microcontroller U1, and the other end of the capacitor C42 is grounded; one end of the capacitor C43 is connected to the resistor R37 One end is connected, the other end of the resistor R37 is connected to the pin 9 of the microcontroller U1, the other end of the capacitor C43 is grounded; one end of the crystal oscillator Y1 is connected between the capacitor C42 and the resistor R36, and the other end of the crystal oscillator Y1 One end is connected between the capacitor C43 and the resistor R37; 所述晶振Y2与所述电阻R52相互并联连接后的一端连接所述单片机U1的管脚12,另一端连接所述单片机U1的管脚13;晶振Y2的一端通过电容C44接地,晶振Y2的另一端通过电容C45接地;After the crystal oscillator Y2 and the resistor R52 are connected in parallel, one end is connected to the pin 12 of the single-chip microcomputer U1, and the other end is connected to the pin 13 of the single-chip microcomputer U1; one end of the crystal oscillator Y2 is grounded through a capacitor C44, and the other end of the crystal oscillator Y2 One end is grounded through capacitor C45; 所述电阻R13的一端连接+3.3V电源,所述电阻R13的另一端与所述电容C1的一端连接后与所述单片机U1的管脚14相连接,所述电容C1的另一端接地;所述开关S5的一端连接在所述电阻R13与所述电容C1之间,所述开关S5的另一端连接所述电容C1的接地一端;One end of the resistor R13 is connected to a +3.3V power supply, the other end of the resistor R13 is connected to one end of the capacitor C1 and then connected to the pin 14 of the single-chip microcomputer U1, and the other end of the capacitor C1 is grounded; One end of the switch S5 is connected between the resistor R13 and the capacitor C1, and the other end of the switch S5 is connected to the ground end of the capacitor C1; 所述存储芯片U10的与单片机U1相连接。The memory chip U10 is connected to the single chip microcomputer U1. 4.根据权利要求3所述的可进行远程停电复位和远程监控的远程调试系统,其特征是,所述RS485接口电路包括RS485收发器U3、电阻R20、电容C3、电阻R23和接口P1;所述电阻R20、电容C3、电阻R23和接口P1均与所述RS485收发器U3相连接;所述RS485收发器U3的管脚1与所述单片机U1的管脚87相连接,所述RS485收发器U3的管脚2与所述单片机U1的管脚88相连接,所述RS485收发器U3的管脚4与所述单片机U1的管脚86相连接;RS485收发器U3为SP3485;4. The remote debugging system capable of remote power-off reset and remote monitoring according to claim 3, wherein said RS485 interface circuit comprises RS485 transceiver U3, resistor R20, capacitor C3, resistor R23 and interface P1; The resistance R20, capacitor C3, resistance R23 and interface P1 are all connected with the RS485 transceiver U3; the pin 1 of the RS485 transceiver U3 is connected with the pin 87 of the single-chip microcomputer U1, and the RS485 transceiver The pin 2 of U3 is connected with the pin 88 of described single-chip microcomputer U1, and the pin 4 of described RS485 transceiver U3 is connected with the pin 86 of described single-chip microcomputer U1; RS485 transceiver U3 is SP3485; 所述RS232接口电路包括RS232收发器U5、电容C31、电容C33、电容C35、电容C37、电容C6、电阻R15、电阻R21、接口P2和9针接口CN5;所述电容C31、电容C33、电容C35、电容C37、电容C6、电阻R15、电阻R21、接口P2和9针接口CN5均与所述RS232收发器U5相连接;所述RS232收发器U5的管脚11与所述单片机U1的管脚68相连接,所述RS232收发器U5的管脚12与所述单片机U1的管脚69相连接,所述RS232收发器U5的管脚10与所述单片机U1的管脚78相连接,所述RS232收发器U5的管脚9与所述单片机U1的管脚79相连接;RS232收发器U5为MAX3232。Described RS232 interface circuit comprises RS232 transceiver U5, capacitor C31, capacitor C33, capacitor C35, capacitor C37, capacitor C6, resistor R15, resistor R21, interface P2 and 9 needle interface CN5; Described capacitor C31, capacitor C33, capacitor C35 , capacitor C37, capacitor C6, resistor R15, resistor R21, interface P2 and 9-pin interface CN5 are all connected with the RS232 transceiver U5; the pin 11 of the RS232 transceiver U5 is connected with the pin 68 of the single-chip microcomputer U1 connected, the pin 12 of the RS232 transceiver U5 is connected with the pin 69 of the single-chip microcomputer U1, the pin 10 of the RS232 transceiver U5 is connected with the pin 78 of the single-chip microcomputer U1, and the RS232 The pin 9 of the transceiver U5 is connected to the pin 79 of the single-chip microcomputer U1; the RS232 transceiver U5 is a MAX3232. 5.根据权利要求3所述的可进行远程停电复位和远程监控的远程调试系统,其特征是,所述电源电路包括电源芯片ACDC1、电压调节器U11、电容C29、电容C50、电容C51、电容C30;所述电源芯片ACDC1通过接口P6连接外部电源并输出+9V电源,所述电容C29的一端与所述电源芯片ACDC1的管脚3和电压调节器U11的管脚3相连接并连接+9V电源,所述电容C29的另一端与所述电源芯片ACDC1的管脚4和电压调节器U11的管脚1相连接并接地;所述电容C50的一端与所述电源芯片ACDC1的管脚3和电压调节器U11的管脚3相连接并连接+9V电源,所述电容C50的另一端与所述电源芯片ACDC1的管脚4和电压调节器U11的管脚1相连接并接地;所述电源芯片ACDC1和电压调节器U11相连接;所述电容C51和电容C30相互并联后的一端连接在所述电压调节器U11的端子GND上,所述电容C51和电容C30相互并联后的另一端与所述电压调节器U11的端子VOUT和端子NC相连接,并作为电源输出端输出+3.3V电压;电压调节器U11为LM1117-3.3。5. The remote debugging system capable of remote power failure reset and remote monitoring according to claim 3, wherein the power supply circuit includes a power supply chip ACDC1, a voltage regulator U11, a capacitor C29, a capacitor C50, a capacitor C51, a capacitor C30; the power chip ACDC1 is connected to an external power supply through the interface P6 and outputs a +9V power supply, and one end of the capacitor C29 is connected to the pin 3 of the power chip ACDC1 and the pin 3 of the voltage regulator U11 and connected to +9V power supply, the other end of the capacitor C29 is connected to the pin 4 of the power chip ACDC1 and the pin 1 of the voltage regulator U11 and grounded; one end of the capacitor C50 is connected to the pin 3 and the pin 1 of the power chip ACDC1 The pin 3 of the voltage regulator U11 is connected to the +9V power supply, and the other end of the capacitor C50 is connected to the pin 4 of the power chip ACDC1 and the pin 1 of the voltage regulator U11 and grounded; the power supply The chip ACDC1 is connected to the voltage regulator U11; one end of the parallel connection of the capacitor C51 and the capacitor C30 is connected to the terminal GND of the voltage regulator U11, and the other end of the parallel connection of the capacitor C51 and the capacitor C30 is connected to the terminal GND of the voltage regulator U11. The terminal VOUT of the voltage regulator U11 is connected to the terminal NC, and outputs +3.3V voltage as the output terminal of the power supply; the voltage regulator U11 is LM1117-3.3. 6.根据权利要求3所述的可进行远程停电复位和远程监控的远程调试系统,其特征是,所述用于控制执行器的电源通断的电源控制电路包括继电器K1、二极管D1、三极管Q1、电阻R17、电阻R18和电阻R19;所述电阻R18的一端连接单片机U1的管脚PD0,另一端连接三极管Q1的基极;电阻R17的两端分别连接在所述三极管Q1的基极和发射极上,三极管Q1的发射极接地;所述二极管的正极、继电器K1的一端均与所述三极管Q1的集电极相连接,所述二极管的负极、继电器K1的另一端均通过电阻R19连接+9V电源。6. The remote debugging system capable of remote power failure reset and remote monitoring according to claim 3, wherein the power control circuit for controlling the power on and off of the actuator includes a relay K1, a diode D1, and a transistor Q1 , resistor R17, resistor R18 and resistor R19; one end of the resistor R18 is connected to the pin PD0 of the microcontroller U1, and the other end is connected to the base of the transistor Q1; the two ends of the resistor R17 are respectively connected to the base of the transistor Q1 and the emitter On the pole, the emitter of the transistor Q1 is grounded; the anode of the diode and one end of the relay K1 are connected to the collector of the transistor Q1, and the cathode of the diode and the other end of the relay K1 are connected to +9V through the resistor R19 power supply. 7.根据权利要求3所述的可进行远程停电复位和远程监控的远程调试系统,其特征是,所述调试程序下载电路包括JTAG接口芯片J1、电阻R1~R7;所述电阻R1的一端连接+3.3V电源,所述电阻R1的另一端连接JTAG接口芯片J1的管脚13;所述电阻R2的一端接地,所述电阻R2的另一端连接JTAG接口芯片J1的管脚9;所述电阻R3的一端连接+3.3V电源,所述电阻R3的另一端连接JTAG接口芯片J1的管脚7;所述电阻R4的一端连接+3.3V电源,所述电阻R4的另一端连接JTAG接口芯片J1的管脚5;所述电阻R5的一端连接+3.3V电源,所述电阻R5的另一端连接JTAG接口芯片J1的管脚3;所述电阻R6的一端连接+3.3V电源,所述电阻R6的另一端连接JTAG接口芯片J1的管脚19;所述电阻R7的一端接地,所述电阻R7的另一端连接JTAG接口芯片J1的管脚11;7. The remote debugging system capable of remote power failure reset and remote monitoring according to claim 3, wherein the debugging program download circuit includes a JTAG interface chip J1 and resistors R1 to R7; one end of the resistor R1 is connected to +3.3V power supply, the other end of the resistance R1 is connected to the pin 13 of the JTAG interface chip J1; one end of the resistance R2 is grounded, and the other end of the resistance R2 is connected to the pin 9 of the JTAG interface chip J1; the resistance One end of R3 is connected to a +3.3V power supply, and the other end of the resistor R3 is connected to pin 7 of the JTAG interface chip J1; one end of the resistor R4 is connected to a +3.3V power supply, and the other end of the resistor R4 is connected to the JTAG interface chip J1 one end of the resistor R5 is connected to the +3.3V power supply, and the other end of the resistor R5 is connected to the pin 3 of the JTAG interface chip J1; one end of the resistor R6 is connected to the +3.3V power supply, and the resistor R6 is connected to the +3.3V power supply. The other end of the resistor R7 is connected to the pin 19 of the JTAG interface chip J1; one end of the resistor R7 is connected to the ground, and the other end of the resistor R7 is connected to the pin 11 of the JTAG interface chip J1; 所述JTAG接口芯片J1的管脚3与所述单片机U1的管脚90相连接;所述JTAG接口芯片J1的管脚5与所述单片机U1的管脚77相连接;所述JTAG接口芯片J1的管脚7与所述单片机U1的管脚72相连接;所述JTAG接口芯片J1的管脚9与所述单片机U1的管脚76相连接;所述JTAG接口芯片J1的管脚13与所述单片机U1的管脚89相连接;所述JTAG接口芯片J1的管脚15与所述单片机U1的管脚14相连接。The pin 3 of the JTAG interface chip J1 is connected with the pin 90 of the single-chip microcomputer U1; the pin 5 of the JTAG interface chip J1 is connected with the pin 77 of the single-chip microcomputer U1; the JTAG interface chip J1 The pin 7 of the single-chip microcomputer U1 is connected with the pin 72 of the single-chip microcomputer U1; the pin 9 of the JTAG interface chip J1 is connected with the pin 76 of the single-chip microcomputer U1; the pin 13 of the JTAG interface chip J1 is connected with the pin 76 of the single-chip microcomputer U1 The pin 89 of the single-chip microcomputer U1 is connected; the pin 15 of the JTAG interface chip J1 is connected with the pin 14 of the single-chip microcomputer U1. 8.根据权利要求3所述的可进行远程停电复位和远程监控的远程调试系统,其特征是,所述微处理器U9上连接有晶振单元、上电复位单元和拔码开关地址电路;微处理器U9采用的是STM32F101C6T6芯片;8. The remote debugging system that can carry out remote power-off reset and remote monitoring according to claim 3 is characterized in that, the microprocessor U9 is connected with a crystal oscillator unit, a power-on reset unit and a code switch address circuit; The processor U9 uses the STM32F101C6T6 chip; 所述晶振单元包括晶振Y3、电容C144、电容C145、电阻R152;所述晶振Y3与所述电阻R152相互并联连接后的一端连接所述微处理器U9的管脚5,另一端连接所述微处理器U9的管脚6,晶振Y3的一端通过电容C144接地,晶振Y3的另一端通过电容C145接地;The crystal oscillator unit includes a crystal oscillator Y3, a capacitor C144, a capacitor C145, and a resistor R152; one end of the crystal oscillator Y3 and the resistor R152 connected in parallel to each other is connected to the pin 5 of the microprocessor U9, and the other end is connected to the microprocessor U9. The pin 6 of the processor U9, one end of the crystal oscillator Y3 is grounded through the capacitor C144, and the other end of the crystal oscillator Y3 is grounded through the capacitor C145; 所述上电复位单元包括电阻R113、电容C14;所述电阻R113的另一端与所述微处理器U9的管脚7相连接;所述电容C14的一端接地,所述电容C14的另一端与所述微处理器U9的管脚7相连接,所述电容C14的另一端接地;The power-on reset unit includes a resistor R113 and a capacitor C14; the other end of the resistor R113 is connected to the pin 7 of the microprocessor U9; one end of the capacitor C14 is grounded, and the other end of the capacitor C14 is connected to the The pin 7 of the microprocessor U9 is connected, and the other end of the capacitor C14 is grounded; 所述拔码开关地址电路包括拔码开关S1、电阻R19~R22;所述电阻R19的一端连接+3.3V电源,所述电阻R19的另一端连接微处理器U9的管脚14;所述电阻R20的一端连接+3.3V电源,所述电阻R20的另一端连接微处理器U9的管脚15;所述电阻R21的一端连接+3.3V电源,所述电阻R21的另一端连接微处理器U9的管脚16;所述电阻R22的一端连接+3.3V电源,所述电阻R22的另一端连接微处理器U9的管脚17;The address circuit of the dial switch includes a dial switch S1 and resistors R19-R22; one end of the resistor R19 is connected to a +3.3V power supply, and the other end of the resistor R19 is connected to the pin 14 of the microprocessor U9; the resistor One end of R20 is connected to a +3.3V power supply, and the other end of the resistor R20 is connected to pin 15 of the microprocessor U9; one end of the resistor R21 is connected to a +3.3V power supply, and the other end of the resistor R21 is connected to the microprocessor U9 pin 16; one end of the resistor R22 is connected to a +3.3V power supply, and the other end of the resistor R22 is connected to the pin 17 of the microprocessor U9; 所述拔码开关S1的管脚8连接微处理器U9的管脚14,所述拔码开关S1的管脚7连接微处理器U9的管脚15,所述拔码开关S1的管脚6连接微处理器U9的管脚16,所述拔码开关S1的管脚5连接微处理器U9的管脚17。The pin 8 of the DIP switch S1 is connected to the pin 14 of the microprocessor U9, the pin 7 of the DIP switch S1 is connected to the pin 15 of the microprocessor U9, and the pin 6 of the DIP switch S1 The pin 16 of the microprocessor U9 is connected, and the pin 5 of the DIP switch S1 is connected to the pin 17 of the microprocessor U9.
CN201410740792.6A 2014-12-05 2014-12-05 The remote debugging system of long-range turn-off reset and remote monitoring can be carried out Active CN104460661B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410740792.6A CN104460661B (en) 2014-12-05 2014-12-05 The remote debugging system of long-range turn-off reset and remote monitoring can be carried out

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410740792.6A CN104460661B (en) 2014-12-05 2014-12-05 The remote debugging system of long-range turn-off reset and remote monitoring can be carried out

Publications (2)

Publication Number Publication Date
CN104460661A CN104460661A (en) 2015-03-25
CN104460661B true CN104460661B (en) 2017-12-12

Family

ID=52906883

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410740792.6A Active CN104460661B (en) 2014-12-05 2014-12-05 The remote debugging system of long-range turn-off reset and remote monitoring can be carried out

Country Status (1)

Country Link
CN (1) CN104460661B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105182840A (en) * 2015-07-22 2015-12-23 广西大学 Remote power source reset controller
CN109450480B (en) * 2018-12-14 2024-01-23 广东电网有限责任公司 RS-485 communication circuit and power supply system

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0869415A2 (en) * 1992-03-31 1998-10-07 The Dow Chemical Company Process control interface system having triply redundant remote field units
JP2000315108A (en) * 1999-05-06 2000-11-14 Nec Eng Ltd Machine control system
JP2004133603A (en) * 2002-10-09 2004-04-30 Toshiba Corp Remote test equipment for plant and its testing method
CN1801575A (en) * 2005-11-16 2006-07-12 上海欣能自动化系统有限公司 Intelligent observing and controlling system
CN200980086Y (en) * 2006-07-29 2007-11-21 重庆邮电大学 A controllable high-power power supplying equipment for the industrial Ethernet
CN200997372Y (en) * 2006-11-07 2007-12-26 江苏科技大学 Network intelligent controller of low-voltage circuit breaker
CN201167248Y (en) * 2008-03-12 2008-12-17 常熟开关制造有限公司(原常熟开关厂) Apparatus for noticing short message of circuit breaker
CN201286030Y (en) * 2008-06-11 2009-08-05 谢维 10kV complicated electricity supply and distribution control system based on PLC
CN102368636A (en) * 2011-09-20 2012-03-07 烟台东方威思顿电气有限公司 Communication interface equipment of high-voltage electrical appliance
CN202948551U (en) * 2012-11-13 2013-05-22 中国科学院沈阳自动化研究所 Data transmission device used in electric power information acquisition
CN204241953U (en) * 2014-12-05 2015-04-01 国家电网公司 Remote debugging system capable of remote power failure reset and remote monitoring

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20010054044A1 (en) * 2000-06-14 2001-12-20 Liu Yi Bo Method for monitoring and browsing database of test system

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0869415A2 (en) * 1992-03-31 1998-10-07 The Dow Chemical Company Process control interface system having triply redundant remote field units
JP2000315108A (en) * 1999-05-06 2000-11-14 Nec Eng Ltd Machine control system
JP2004133603A (en) * 2002-10-09 2004-04-30 Toshiba Corp Remote test equipment for plant and its testing method
CN1801575A (en) * 2005-11-16 2006-07-12 上海欣能自动化系统有限公司 Intelligent observing and controlling system
CN200980086Y (en) * 2006-07-29 2007-11-21 重庆邮电大学 A controllable high-power power supplying equipment for the industrial Ethernet
CN200997372Y (en) * 2006-11-07 2007-12-26 江苏科技大学 Network intelligent controller of low-voltage circuit breaker
CN201167248Y (en) * 2008-03-12 2008-12-17 常熟开关制造有限公司(原常熟开关厂) Apparatus for noticing short message of circuit breaker
CN201286030Y (en) * 2008-06-11 2009-08-05 谢维 10kV complicated electricity supply and distribution control system based on PLC
CN102368636A (en) * 2011-09-20 2012-03-07 烟台东方威思顿电气有限公司 Communication interface equipment of high-voltage electrical appliance
CN202948551U (en) * 2012-11-13 2013-05-22 中国科学院沈阳自动化研究所 Data transmission device used in electric power information acquisition
CN204241953U (en) * 2014-12-05 2015-04-01 国家电网公司 Remote debugging system capable of remote power failure reset and remote monitoring

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
基于ARM的新型配电变压器监测终端的设计;姚娜;《中国优秀硕士学位论文全文数据库(电子期刊) 工程科技II辑》;20111215(第S2期);第1-58页 *

Also Published As

Publication number Publication date
CN104460661A (en) 2015-03-25

Similar Documents

Publication Publication Date Title
CN204215266U (en) For the remote debugger of remote debugging system
CN104460660B (en) Remote debugger for remote debugging system
CN102035679B (en) Remote I/O module with short-circuit protection self-diagnosis function based on EtherNet/IP protocol
CN104102161B (en) Intelligent integral power switch amount monitoring module
CN104460661B (en) The remote debugging system of long-range turn-off reset and remote monitoring can be carried out
CN202076625U (en) Intelligent socket
CN204241953U (en) Remote debugging system capable of remote power failure reset and remote monitoring
CN101902078A (en) Centralized monitoring device in direct-current power supply system
CN206975450U (en) A kind of mbus circuits of opto-electrical direct reader
CN205986936U (en) Wireless adapter of industry
CN209118269U (en) A kind of Mbus interface control circuit
CN202120072U (en) Intelligent switch with network control circuit
CN110426980A (en) PLC system based on Arduino
CN203313152U (en) Combined switch push-pull pulse output unit
CN201662712U (en) A smart home appliance control device
CN204855748U (en) Treatment circuit is patrolled and examined to battery based on many channel switching of ARM platform
CN204228810U (en) Thunder-and-lightning counter remote supervision system
CN104633234B (en) Electromagnetic exchange valve with automatic time counting function and working method of electromagnetic exchange valve
CN103259734A (en) Router with remote control timing function
CN204677854U (en) A kind of solenoid directional control valve of automatic timing counting
CN218003551U (en) Programmable controller with electric quantity metering and load identification functions
CN208224830U (en) Wireless networking devices environmental control system
CN203243352U (en) Router with remote control and timing functions
CN207691822U (en) Bi-directional digital communication system based on 4-20mA electric current loops
CN206490501U (en) Switch controlling device and on-off control system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant