CN111693891A - Terminal with communication module and remote diagnosis system - Google Patents
Terminal with communication module and remote diagnosis system Download PDFInfo
- Publication number
- CN111693891A CN111693891A CN202010376823.XA CN202010376823A CN111693891A CN 111693891 A CN111693891 A CN 111693891A CN 202010376823 A CN202010376823 A CN 202010376823A CN 111693891 A CN111693891 A CN 111693891A
- Authority
- CN
- China
- Prior art keywords
- switch
- terminal
- communication module
- control
- control unit
- 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.)
- Pending
Links
Images
Classifications
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01R—MEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
- G01R31/00—Arrangements for testing electric properties; Arrangements for locating electric faults; Arrangements for electrical testing characterised by what is being tested not provided for elsewhere
- G01R31/50—Testing of electric apparatus, lines, cables or components for short-circuits, continuity, leakage current or incorrect line connections
- G01R31/52—Testing for short-circuits, leakage current or ground faults
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/12—Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
Landscapes
- Engineering & Computer Science (AREA)
- Health & Medical Sciences (AREA)
- Computing Systems (AREA)
- General Health & Medical Sciences (AREA)
- Medical Informatics (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Telephonic Communication Services (AREA)
Abstract
本发明公开了一种带有通讯模块的终端及远程诊断系统,终端包括通讯模块、诊断电路和控制单元;诊断电路包括第一、第二开关、检测电阻、模块供电电源输出端;第一、第二开关分别包括第一端、第二端和控制端;供电电源输入端分别与第一开关的第一端及第二开关的第一端电连接;第二开关的第二端与检测电阻的一端电连接;第一开关的第二端、检测电阻的另一端与模块供电电源输出端电连接;模块供电电源输出端用于通讯模块供电;控制单元用于在第二开关接通时采集检测电阻两端的电压数据,并根据电压数据得到诊断数据;诊断数据用于判断终端是否存在异常漏电。本发明能够对分散在客户端的终端设备中的通讯模块进行健康状况诊断,保证通讯功能不受影响。
The invention discloses a terminal with a communication module and a remote diagnosis system. The terminal includes a communication module, a diagnosis circuit and a control unit; the diagnosis circuit includes first and second switches, a detection resistor, and a module power supply output end; The second switch includes a first end, a second end and a control end respectively; the power supply input end is electrically connected to the first end of the first switch and the first end of the second switch respectively; the second end of the second switch is connected to the detection resistor One end of the first switch is electrically connected; the second end of the first switch and the other end of the detection resistor are electrically connected to the output end of the power supply of the module; the output end of the power supply of the module is used for power supply of the communication module; the control unit is used to collect power when the second switch is turned on The voltage data at both ends of the resistor is detected, and diagnostic data is obtained according to the voltage data; the diagnostic data is used to determine whether there is abnormal leakage of the terminal. The invention can diagnose the health status of the communication modules scattered in the terminal equipment of the client, so as to ensure that the communication function is not affected.
Description
技术领域technical field
本发明涉及物联网设备领域,特别涉及一种带有通讯模块的终端及远程诊断系统。The invention relates to the field of Internet of Things equipment, in particular to a terminal with a communication module and a remote diagnosis system.
背景技术Background technique
物联网设备长期在室外运行,会面对酷暑严寒、极高湿度、雷电、静电、电压不稳定等各种严苛的应用环境,仅静电一项威胁,每年就会对全球的电子设备造成数百亿美元的损失。IoT devices run outdoors for a long time, and will face various harsh application environments such as extreme heat and cold, extremely high humidity, lightning, static electricity, and unstable voltage. Only the threat of static electricity will cause several damages to electronic devices around the world every year. billions of dollars in losses.
在一些关键应用场合,如金融领域,对分散在客户端的终端设备(如物联网终端)中的通讯模块运行的可靠性要求极高,需要保证每个终端设备的通讯的绝对通畅。现有技术中无法及时发现终端设备中的通讯模块的硬件出现损伤的迹象,最终导致终端设备的通讯功能异常发生,无法满足一些应用场合对通讯模块的可靠性的要求。In some key applications, such as the financial field, the reliability of the operation of the communication modules scattered in the terminal devices of the client (such as the Internet of Things terminal) is extremely high, and it is necessary to ensure the absolute smooth communication of each terminal device. In the prior art, the hardware of the communication module in the terminal device cannot be found in time for signs of damage, which eventually leads to abnormal communication function of the terminal device, and cannot meet the reliability requirements of the communication module in some applications.
发明内容SUMMARY OF THE INVENTION
本发明要解决的技术问题是为了克服现有技术中无法及时发现终端设备中的通讯模块的硬件出现损伤的迹象,最终导致终端设备的通讯功能异常发生,无法满足一些应用场合对通讯模块的可靠性的要求的缺陷,提供一种能够对分散在客户端的终端设备中的通讯模块进行健康状况诊断,及时发现模块的硬件出现损伤迹象,一旦有硬件损伤的表现,可以及时进行设备维修更换,保证通讯功能不受影响的带有通讯模块的终端及远程诊断系统。The technical problem to be solved by the present invention is to overcome the inability to detect the signs of damage to the hardware of the communication module in the terminal equipment in time in the prior art, which eventually leads to the abnormal occurrence of the communication function of the terminal equipment, which cannot satisfy the reliability of the communication module in some applications. It provides a system that can diagnose the health status of the communication modules scattered in the terminal equipment of the client, and find the signs of damage to the hardware of the module in time. Once there is hardware damage, the equipment can be repaired and replaced in time to ensure that Terminals with communication modules and remote diagnostic systems where the communication function is not affected.
本发明是通过下述技术方案来解决上述技术问题:The present invention solves the above-mentioned technical problems through the following technical solutions:
本发明第一方面提供了一种带有通讯模块的终端,包括供电电源输入端和所述通讯模块,所述终端还包括诊断电路和控制单元;所述控制单元与所述通讯模块通信连接;A first aspect of the present invention provides a terminal with a communication module, including a power supply input end and the communication module, the terminal further includes a diagnosis circuit and a control unit; the control unit is communicatively connected to the communication module;
所述诊断电路包括第一开关、第二开关、检测电阻、模块供电电源输出端;所述第一开关和所述第二开关分别包括第一端、第二端和控制端;The diagnostic circuit includes a first switch, a second switch, a detection resistor, and a module power supply output terminal; the first switch and the second switch respectively include a first terminal, a second terminal and a control terminal;
所述供电电源输入端分别与所述第一开关的第一端及所述第二开关的第一端电连接;The power supply input end is electrically connected to the first end of the first switch and the first end of the second switch, respectively;
所述第二开关的第二端与所述检测电阻的一端电连接;The second end of the second switch is electrically connected to one end of the detection resistor;
所述第一开关的第二端、所述检测电阻的另一端与所述模块供电电源输出端电连接;The second end of the first switch and the other end of the detection resistor are electrically connected to the output end of the power supply of the module;
所述模块供电电源输出端用于所述通讯模块供电;The module power supply output terminal is used for power supply of the communication module;
所述控制单元用于输出第一开关信号至所述第一开关的控制端以控制所述第一开关的接通与断开;the control unit is used for outputting a first switch signal to the control terminal of the first switch to control the on and off of the first switch;
所述控制单元还用于输出第二开关信号至所述第二开关的控制端以控制所述第二开关的接通与断开;The control unit is further configured to output a second switch signal to the control terminal of the second switch to control the on and off of the second switch;
所述控制单元还用于在所述第二开关接通时采集所述检测电阻两端的电压数据,并根据所述电压数据得到诊断数据;The control unit is further configured to collect voltage data across the detection resistor when the second switch is turned on, and obtain diagnostic data according to the voltage data;
所述诊断数据用于判断所述终端是否存在异常漏电。The diagnostic data is used to determine whether the terminal has abnormal leakage current.
本方案中,诊断电路由两路开关器件构成,分别为第一开关和第二开关,由控制单元生成两个开关的控制信号用于控制对应的开关的接通与断开,当第一开关接通且第二开关断开时,供电电源输入端输入的电源经第一开关输出至模块供电电源输出端,为通讯模块供电;当第二开关接通同时第一开关断开时,供电电源输入端输入的电源依次经第二开关、检测电阻后输出至模块供电电源输出端,为通讯模块供电,此时控制单元通过采集检测电阻两端的电压数据,并根据该电压数据得到诊断数据,进一步通过该诊断数据能够判断该终端是否存在异常漏电。In this solution, the diagnostic circuit is composed of two switching devices, namely a first switch and a second switch. The control unit generates control signals for the two switches to control the on and off of the corresponding switches. When the second switch is turned on and the second switch is turned off, the power input from the power supply input end is output to the module power supply output end through the first switch to supply power for the communication module; when the second switch is turned on and the first switch is turned off, the power supply The power input at the input end passes through the second switch and the detection resistor in turn and is output to the output end of the module power supply to supply power for the communication module. At this time, the control unit collects the voltage data at both ends of the detection resistor, and obtains diagnostic data according to the voltage data, and further Through the diagnostic data, it can be determined whether the terminal has abnormal leakage current.
本方案通过包括两路开关器件的诊断电路的设置,能够对终端设备中的通讯模块进行健康状况诊断,及时发现模块的硬件出现损伤迹象,一旦有硬件损伤的表现,可以进一步采取措施,如及时进行设备维修更换,进而保证通讯功能不受影响。Through the setting of the diagnostic circuit including the two-way switching device, this solution can diagnose the health status of the communication module in the terminal equipment, and timely find the signs of damage to the hardware of the module. Repair and replace the equipment to ensure that the communication function is not affected.
较佳地,所述第一开关为NMOS(N型金属-氧化物-半导体)管,所述第二开关为PMOS(P型金属-氧化物-半导体)管,所述终端还包括第一电阻和第二电阻;所述第一电阻串接在所述第一开关的第一端和控制端之间;所述第二电阻串接在所述第二开关的第一端和控制端之间;Preferably, the first switch is an NMOS (N-type metal-oxide-semiconductor) transistor, the second switch is a PMOS (P-type metal-oxide-semiconductor) transistor, and the terminal further includes a first resistor and a second resistor; the first resistor is connected in series between the first end and the control end of the first switch; the second resistor is connected in series between the first end and the control end of the second switch ;
所述NMOS管的栅极为所述第一开关的控制端,所述NMOS管的漏极为所述第一开关的第一端,所述NMOS管的源极为所述第一开关的第二端;The gate of the NMOS transistor is the control terminal of the first switch, the drain of the NMOS transistor is the first terminal of the first switch, and the source of the NMOS transistor is the second terminal of the first switch;
所述PMOS管的栅极为所述第二开关的控制端,所述PMOS管的源极为所述第二开关的第一端,所述PMOS管的漏极为所述第二开关的第二端。The gate of the PMOS transistor is the control terminal of the second switch, the source of the PMOS transistor is the first terminal of the second switch, and the drain of the PMOS transistor is the second terminal of the second switch.
较佳地,所述检测电阻的阻值小于0.05欧姆,所述检测电阻的精度大于等于1%。Preferably, the resistance value of the detection resistor is less than 0.05 ohm, and the accuracy of the detection resistor is greater than or equal to 1%.
较佳地,所述控制单元还用于根据所述电压数据计算得到所述检测电阻上的电流值,并将所述电流值和所述终端的工作模式信息作为所述诊断数据;Preferably, the control unit is further configured to calculate the current value on the detection resistor according to the voltage data, and use the current value and the working mode information of the terminal as the diagnostic data;
所述通讯模块用于将所述诊断数据发送至远程监控端;The communication module is used for sending the diagnostic data to the remote monitoring terminal;
所述远程监控端基于所述诊断数据判断所述终端是否存在异常漏电The remote monitoring terminal determines whether the terminal has abnormal leakage based on the diagnostic data
本方案中,采用高精度大功率的电流检测电阻用以计算各工作模式下终端的工作电流值,具体阻值小于0.05欧姆,精度大于等于1%,如此设置的检测电阻能够识别出模块的硬件出现损伤的迹象,更好的实现对终端设备中的通讯模块的健康状况诊断。In this solution, a high-precision and high-power current detection resistor is used to calculate the working current value of the terminal in each working mode. The specific resistance value is less than 0.05 ohm and the accuracy is greater than or equal to 1%. The detection resistor set in this way can identify the hardware of the module. When signs of damage appear, it is better to diagnose the health status of the communication module in the terminal device.
较佳地,所述控制单元还用于接收所述远程监控端经所述通讯模块发送的控制指令,并根据所述控制指令生成所述第一开关信号和所述第二开关信号。Preferably, the control unit is further configured to receive a control instruction sent by the remote monitoring terminal via the communication module, and generate the first switch signal and the second switch signal according to the control instruction.
较佳地,所述终端为物联网终端,所述通讯模块为通讯模组。Preferably, the terminal is an IoT terminal, and the communication module is a communication module.
本发明第二方面提供了一种远程诊断系统,包括远程监控端和如第一方面所述的带有通讯模块的终端;所述远程监控端与所述终端的通讯模块经无线网络通信连接;A second aspect of the present invention provides a remote diagnosis system, comprising a remote monitoring terminal and a terminal with a communication module as described in the first aspect; the remote monitoring terminal and the communication module of the terminal are communicated and connected via a wireless network;
所述远程监控端用于发送控制指令至所述终端的通讯模块,所述通讯模块用于将所述控制指令传输至所述控制单元;所述控制指令包括诊断指令和工作指令;The remote monitoring terminal is used to send control instructions to the communication module of the terminal, and the communication module is used to transmit the control instructions to the control unit; the control instructions include diagnostic instructions and work instructions;
当所述控制指令为所述诊断指令时,所述控制单元用于输出第一开关信号至所述第一开关的控制端以控制所述第一开关断开,所述控制单元还用于输出第二开关信号至所述第二开关的控制端以控制所述第二开关接通;当所述控制指令为所述工作指令时,所述控制单元用于输出第一开关信号至所述第一开关的控制端以控制所述第一开关接通,所述控制单元还用于输出第二开关信号至所述第二开关的控制端以控制所述第二开关断开;When the control command is the diagnosis command, the control unit is configured to output a first switch signal to the control terminal of the first switch to control the first switch to be turned off, and the control unit is further configured to output The second switch signal is sent to the control end of the second switch to control the second switch to be turned on; when the control command is the work command, the control unit is used to output the first switch signal to the first switch A control terminal of a switch is used to control the first switch to be turned on, and the control unit is further used to output a second switch signal to the control terminal of the second switch to control the second switch to be turned off;
所述通讯模块还用于将所述诊断数据发送至所述远程监控端;The communication module is also used for sending the diagnostic data to the remote monitoring terminal;
所述远程监控端用于基于所述诊断数据判断所述终端是否存在异常漏电。The remote monitoring terminal is configured to determine whether the terminal has abnormal leakage based on the diagnostic data.
本方案中,终端默认处于正常工作模式,此时第一开关接通,第二开关断开,可以由远程监控端发送工作指令至终端的通讯模块来实现。当需要对终端设备中的通讯模块进行健康状况诊断时,由远程监控端发送诊断指令至终端的通讯模块,控制单元在接收到诊断指令后输出对应的第一开关信号和第二开关信号以使得第一开关断开,第二开关接通,此时控制单元通过采集检测电阻两端的电压数据,并根据该电压数据得到诊断数据,由通讯模块将该诊断数据传输至远程监控端,由远程监控端根据该诊断数据判断该终端是否存在异常漏电。In this solution, the terminal is in the normal working mode by default. At this time, the first switch is turned on and the second switch is turned off, which can be realized by the remote monitoring terminal sending work instructions to the communication module of the terminal. When it is necessary to diagnose the health status of the communication module in the terminal equipment, the remote monitoring terminal sends a diagnosis instruction to the communication module of the terminal, and the control unit outputs the corresponding first switch signal and second switch signal after receiving the diagnosis instruction to make the The first switch is turned off and the second switch is turned on. At this time, the control unit collects the voltage data at both ends of the detection resistor, and obtains diagnostic data according to the voltage data. The communication module transmits the diagnostic data to the remote monitoring terminal, and the remote monitoring The terminal judges whether the terminal has abnormal leakage according to the diagnostic data.
较佳地,所述远程监控端还用于发送工作模式指令至所述终端的通讯模块,所述通讯模块还用于将所述工作模式指令传输至所述控制单元;Preferably, the remote monitoring terminal is further configured to send a working mode command to a communication module of the terminal, and the communication module is further configured to transmit the working mode command to the control unit;
所述控制单元还用于根据所述工作模式指令设置所述终端处于对应的工作模式;The control unit is further configured to set the terminal to be in a corresponding working mode according to the working mode instruction;
所述远程监控端还用于将所述诊断数据与所述工作模式对应的标准数据进行比较,并根据比较的结果判断所述终端是否存在异常漏电。The remote monitoring terminal is further configured to compare the diagnostic data with the standard data corresponding to the working mode, and judge whether the terminal has abnormal leakage according to the comparison result.
本方案能够对包括多种工作模式的终端实现精细化的诊断,通过远程监控端发送工作模式指令实现终端工作模式的设置,对于处于不同工作模式的终端进行诊断数据的采集,远程监控端将接收到的诊断数据与该诊断数据对应的工作模式对应的标准数据进行比较,以判断该终端在对应的工作模式工作时是否存在异常漏电。This solution can realize refined diagnosis for terminals including multiple working modes, and realize the setting of terminal working modes by sending working mode commands from the remote monitoring terminal. The obtained diagnostic data is compared with the standard data corresponding to the working mode corresponding to the diagnostic data, so as to determine whether there is abnormal leakage of electricity when the terminal works in the corresponding working mode.
较佳地,所述控制单元还用于根据所述电压数据计算得到所述检测电阻上的电流值,并将所述电流值和所述终端所处的工作模式作为所述诊断数据。Preferably, the control unit is further configured to calculate the current value on the detection resistor according to the voltage data, and use the current value and the working mode of the terminal as the diagnostic data.
本方案中,诊断数据具体限定为电流值和终端所处的工作模式,其中电流值由电压数据除以检测电阻的阻值得到。本方案中远程监控端在判断终端是否异常漏电时通过比较电流值和标准电流值的差值实现。其中,标准电流值可以预存储在数据库中,不同工作模式对应不同的标准电流值。远程监控端根据接收到的电流值对应的工作模式在数据库中查找对应的标准电流值以完成后续比较。In this solution, the diagnostic data is specifically limited to the current value and the working mode of the terminal, wherein the current value is obtained by dividing the voltage data by the resistance value of the detection resistor. In this solution, the remote monitoring terminal is realized by comparing the difference between the current value and the standard current value when judging whether the terminal has abnormal leakage. The standard current value can be pre-stored in the database, and different working modes correspond to different standard current values. The remote monitoring terminal searches the database for the corresponding standard current value according to the working mode corresponding to the received current value to complete the subsequent comparison.
较佳地,所述根据比较的结果判断所述终端是否存在异常漏电为:当所述电流值超过所述工作模式对应的标准电流值的10%时所述终端存在异常漏电。Preferably, the determining whether the terminal has abnormal leakage current according to the comparison result is: when the current value exceeds 10% of the standard current value corresponding to the working mode, the terminal has abnormal leakage current.
本方案中,远程监控端在得到诊断数据后,与数据库中的标准电流值进行对比,如果耗流值明显偏大,则判断终端存在一定的异常漏电。明显偏大是指超过标准电流值的10%。In this solution, after the remote monitoring terminal obtains the diagnostic data, it is compared with the standard current value in the database. If the current consumption value is obviously too large, it is determined that the terminal has a certain abnormal leakage current. Significantly larger means more than 10% of the standard current value.
本发明的积极进步效果在于:本发明提供的带有通讯模块的终端及远程诊断系统,能够对分散在客户端的终端设备中的通讯模块进行健康状况诊断,及时发现模块的硬件出现损伤迹象,一旦有硬件损伤的表现,可以进一步采取措施,如及时进行设备维修更换,进而保证通讯功能不受影响。The positive improvement effect of the present invention is that the terminal with communication module and the remote diagnosis system provided by the present invention can diagnose the health status of the communication modules scattered in the terminal equipment of the client, and find out signs of damage to the hardware of the module in time. If the hardware is damaged, further measures can be taken, such as repairing and replacing the equipment in time, so as to ensure that the communication function is not affected.
附图说明Description of drawings
图1为本发明实施例1的带有通讯模块的终端的结构示意图。FIG. 1 is a schematic structural diagram of a terminal with a communication module according to
图2为本发明实施例1的带有通讯模块的终端的诊断电路的电路示意图。FIG. 2 is a schematic circuit diagram of a diagnostic circuit of a terminal with a communication module according to
图3为本发明实施例2的远程诊断系统的结构示意图。FIG. 3 is a schematic structural diagram of a remote diagnosis system according to
图4为本发明实施例2的远程诊断系统的诊断电路的工作时序图。FIG. 4 is a working sequence diagram of the diagnosis circuit of the remote diagnosis system according to
具体实施方式Detailed ways
下面通过实施例的方式进一步说明本发明,但并不因此将本发明限制在所述的实施例范围之中。The present invention is further described below by way of examples, but the present invention is not limited to the scope of the described examples.
实施例1Example 1
如图1所示,本实施例提供了一种带有通讯模块的终端1,包括通讯模块11、诊断电路13和控制单元12,其中诊断电路13如图2所示。控制单元12与通讯模块11通信连接。终端1还包括供电电源输入端VCC。本实施例中终端1为物联网终端,通讯模块11为物联网终端的通讯模组。As shown in FIG. 1 , this embodiment provides a terminal 1 with a communication module, including a
本实施例中,诊断电路13包括第一开关A、第二开关B、第一电阻R1、第二电阻R2、第三电阻R3、检测电阻R4、模块供电电源输出端VBAT、第一电压检测端ADC1、第二电压检测端ADC2、第一控制端DIAGNOSE_CTRL_A和第二控制端DIAGNOSE_CTRL_B。第一开关A和第二开关B分别包括第一端、第二端和控制端;第一开关A为NMOS管,第二开关B为PMOS管,NMOS管的栅极G为第一开关A的控制端,NMOS管的漏极D为第一开关A的第一端,NMOS管的源极S为第一开关A的第二端。PMOS管的栅极G为第二开关B的控制端,PMOS管的源极S为第二开关B的第一端,PMOS管的漏极D为第二开关B的第二端。第一电阻R1串接在第一开关A的第一端和控制端之间,阻值为470KR(千欧姆);第二电阻R2串接在第二开关B的第一端和控制端之间,阻值为470KR;第三电阻R3为0R电阻,串接在检测电阻R4的另一端和第二电压检测端ADC2之间。In this embodiment, the
供电电源输入端VCC分别与第一开关A的第一端及第二开关B的第一端电连接。第二开关B的第二端与检测电阻R4的一端电连接;第一开关A的第二端、检测电阻R4的另一端与模块供电电源输出端VBAT电连接;模块供电电源输出端VBAT用于通讯模块11的供电。The power supply input terminal VCC is electrically connected to the first terminal of the first switch A and the first terminal of the second switch B, respectively. The second end of the second switch B is electrically connected to one end of the detection resistor R4; the second end of the first switch A and the other end of the detection resistor R4 are electrically connected to the module power supply output terminal VBAT; the module power supply output terminal VBAT is used for Power supply of the
控制单元12用于输出控制电路切换的信号至诊断电路13,以控制诊断电路13切换至诊断模式或者正常工作模式。具体地,控制单元12用于接收远程监控端经通讯模块11发送的控制指令,并根据控制指令生成第一开关信号和第二开关信号,经第一控制端DIAGNOSE_CTRL_A输出第一开关信号至第一开关A的控制端以控制第一开关A的接通与断开;控制单元12还用于经第二控制端DIAGNOSE_CTRL_B输出第二开关信号至第二开关B的控制端以控制第二开关B的接通与断开。另外,控制单元12还用于在第二开关B接通时进行电压采样,具体为采集检测电阻R4两端的电压数据,并根据电压数据得到诊断数据;具体为,通过第一电压检测端ADC1采集检测电阻R4一端的第一电压值,通过第二电压检测端ADC2采集检测电阻R4另一端的第二电压值,将第一电压值和第二电压值作为电压数据。诊断数据用于判断终端1是否存在异常漏电。具体判断方式如下:控制单元12根据电压数据计算得到检测电阻R4上的电流值,并将电流值和终端1的工作模式信息作为诊断数据;通讯模块11用于将诊断数据发送至远程监控端,远程监控端基于诊断数据判断终端1是否存在异常漏电。The
检测电阻R4的阻值小于0.05欧姆,精度大于等于1%。本实施例中,检测电阻R4的阻值为0.01R,精度为1%,功率为1W(瓦)。本实施例中采用高精度大功率的电流检测电阻R4用以计算各工作模式下终端的工作电流值,如此设置的检测电阻R4能够识别出模块的硬件出现损伤的迹象,更好的实现对终端设备中的通讯模块11的健康状况诊断。The resistance value of the detection resistor R4 is less than 0.05 ohm, and the accuracy is greater than or equal to 1%. In this embodiment, the resistance value of the detection resistor R4 is 0.01R, the accuracy is 1%, and the power is 1W (watt). In this embodiment, a high-precision and high-power current detection resistor R4 is used to calculate the working current value of the terminal in each working mode. The detection resistor R4 set in this way can identify the signs of damage to the hardware of the module and better realize the detection of the terminal. Health status diagnosis of the
本实施例中,诊断电路13由两路开关器件构成,分别为第一开关A和第二开关B,由控制单元12生成两个开关的控制信号用于控制对应的开关的接通与断开,当第一开关A接通且第二开关B断开时,供电电源输入端VCC输入的电源经第一开关A输出至模块供电电源输出端VBAT以为通讯模块11供电;当第二开关B接通同时第一开关A断开时,供电电源输入端VCC输入的电源依次经第二开关B、检测电阻R4后输出至模块供电电源输出端VBAT以为通讯模块11供电,此时控制单元12通过采集检测电阻R4两端的电压数据,并根据该电压数据得到诊断数据,进一步通过该诊断数据能够判断该终端1是否存在异常漏电。In this embodiment, the
本实施例通过包括两路开关器件的诊断电路13的设置,能够对终端设备中的通讯模块11进行健康状况诊断,及时发现模块的硬件出现损伤迹象,一旦有硬件损伤的表现,可以进一步采取措施,如及时进行设备维修更换,进而保证通讯功能不受影响。In this embodiment, through the setting of the
实施例2Example 2
如图3所示,本实施例提供了一种远程诊断系统,包括远程监控端2和实施例1中的带有通讯模块的终端1;远程监控端2与终端1的通讯模块11经无线网络通信连接。As shown in FIG. 3 , this embodiment provides a remote diagnosis system, including a
本实施例中,远程监控端2用于发送控制指令至终端1的通讯模块11,通讯模块11用于将控制指令传输至控制单元12;控制指令包括诊断指令和工作指令。当控制指令为诊断指令时,控制单元12用于输出第一开关信号至第一开关的控制端以控制第一开关断开,输出第二开关信号至第二开关的控制端以控制第二开关接通;当控制指令为工作指令时,控制单元12用于输出第一开关信号至第一开关的控制端以控制第一开关接通,输出第二开关信号至第二开关的控制端以控制第二开关断开。In this embodiment, the
本实施例中,远程监控端2还用于发送工作模式指令至终端1的通讯模块11,通讯模块11还用于将工作模式指令传输至控制单元12;控制单元12还用于根据工作模式指令设置终端1处于对应的工作模式。In this embodiment, the
本实施例中,当控制指令为诊断指令时,控制单元12还用于根据获取的检测电阻两端的电压数据计算得到检测电阻上的电流值,并将电流值和终端1所处的工作模式作为诊断数据。通讯模块11用于将诊断数据发送至远程监控端2;远程监控端2用于基于诊断数据判断终端1是否存在异常漏电。具体地,远程监控端2用于将诊断数据与工作模式对应的标准数据进行比较,当电流值超过工作模式对应的标准电流值的10%时终端1存在异常漏电。In this embodiment, when the control command is a diagnostic command, the
以下更具体地介绍本实施例的远程诊断系统的工作原理,以便于更好理解本发明。The working principle of the remote diagnosis system of this embodiment is described in more detail below, so as to better understand the present invention.
1.当终端1正常工作时,第一开关A处于导通状态,第二开关B断开,供电电源输入端VCC通过NMOS管给到通讯模块11的模块供电电源输出端VBAT。1. When the
2.远程监控端2给终端1发送诊断指令以启动诊断电路13,控制单元12通过切换DIAGNOSE_CTRL_A和DIAGNOSE_CTRL_B的电平状态,使第一开关A断开且第二开关B导通,具体时序参考图4。其中先是第一开关A和第二开关B同时导通的切换缓冲状态,随后进入第一开关A断开,第二开关B导通,此时诊断电路13开始工作。2. The
3.远程监控端2发送工作模式指令给终端1,使终端1进入工作模式一,此时控制单元12通过第一电压检测端ADC1和第二电压检测端ADC2采样检测电阻R4两端的电压值,分别为V1和V2。3. The
4.控制单元12得到两个电压值后,通过公式I1=(V1-V2)/R4计算得出工作模式1下终端1的工作电流I1。4. After the
5.如果要测试多种模式的数据,可以重复上述步骤3和4,能够得到终端1分别处于工作模式2、工作模式3、……、工作模式n等各种模式下的工作电流I2、I3、…In,其中n为正整数。5. If you want to test data in multiple modes, you can repeat the above steps 3 and 4, and you can get the working currents I2 and I3 of the
6.终端1的通讯模块11把工作模式信息和对应的工作电流信息发送给远程监控端2。6. The
7.远程监控端2在得到这些数据后,可以给终端1发送工作指令,使得终端进入正常工作状态,此时第一开关A导通,第二开关B断开。远程监控端2将得到的工作电流与数据库中的标准电流值进行对比,如果耗流值明显偏大,则判断终端1中存在一定的异常漏电。7. After obtaining the data, the
8.远程监控端2还可以通知客户对硬件存在风险的设备进行维修和更换。8. The
本实施例中,终端1默认处于正常工作模式,此时第一开关A接通,第二开关B断开,可以由远程监控端2发送工作指令至终端1的通讯模块11来实现。当需要对终端设备中的通讯模块11进行健康状况诊断时,由远程监控端2发送诊断指令至终端1的通讯模块11,控制单元12在接收到诊断指令后输出对应的第一开关信号和第二开关信号以使得第一开关A断开,第二开关B接通,此时控制单元12通过采集检测电阻两端的电压数据,并根据该电压数据得到诊断数据,由通讯模块将该诊断数据传输至远程监控端2,由远程监控端2根据该诊断数据判断该终端1是否存在异常漏电。In this embodiment, the
本实施例能够对包括多种工作模式的终端1实现精细化的诊断,通过远程监控端2发送工作模式指令实现终端1工作模式的设置,对于处于不同工作模式的终端1进行诊断数据的采集,远程监控端2将接收到的诊断数据与该诊断数据对应的工作模式对应的标准数据进行比较,以判断该终端2在对应的工作模式工作时是否存在异常漏电。This embodiment can implement refined diagnosis for the
本实施例中,诊断数据具体限定为电流值和终端2所处的工作模式,其中电流值由电压数据除以检测电阻的阻值得到。本实施例中远程监控端2在判断终端1是否异常漏电时通过比较电流值和标准电流值的差值实现。其中,标准电流值可以预存储在数据库中,不同工作模式对应不同的标准电流值。远程监控端2根据接收到的电流值对应的工作模式在数据库中查找对应的标准电流值以完成后续比较。In this embodiment, the diagnostic data is specifically limited to the current value and the working mode in which the
本实施例提供的远程诊断系统能够对分散在客户端的终端设备中的通讯模块11进行健康状况诊断,及时发现模块的硬件出现损伤迹象,一旦有硬件损伤的表现,可以进一步采取措施,如及时进行设备维修更换,进而保证通讯功能不受影响。The remote diagnosis system provided in this embodiment can diagnose the health status of the
虽然以上描述了本发明的具体实施方式,但是本领域的技术人员应当理解,这仅是举例说明,本发明的保护范围是由所附权利要求书限定的。本领域的技术人员在不背离本发明的原理和实质的前提下,可以对这些实施方式做出多种变更或修改,但这些变更和修改均落入本发明的保护范围。Although the specific embodiments of the present invention are described above, those skilled in the art should understand that this is only an illustration, and the protection scope of the present invention is defined by the appended claims. Those skilled in the art can make various changes or modifications to these embodiments without departing from the principle and essence of the present invention, but these changes and modifications all fall within the protection scope of the present invention.
Claims (10)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010376823.XA CN111693891A (en) | 2020-05-07 | 2020-05-07 | Terminal with communication module and remote diagnosis system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010376823.XA CN111693891A (en) | 2020-05-07 | 2020-05-07 | Terminal with communication module and remote diagnosis system |
Publications (1)
Publication Number | Publication Date |
---|---|
CN111693891A true CN111693891A (en) | 2020-09-22 |
Family
ID=72476477
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010376823.XA Pending CN111693891A (en) | 2020-05-07 | 2020-05-07 | Terminal with communication module and remote diagnosis system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111693891A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113092999A (en) * | 2021-04-02 | 2021-07-09 | 中国第一汽车股份有限公司 | Switching value input diagnosis device and diagnosis method |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2005003522A (en) * | 2003-06-12 | 2005-01-06 | Yokogawa Electric Corp | Diagnostic circuit for output contact arrangement |
CN106526403A (en) * | 2016-12-07 | 2017-03-22 | 宇龙计算机通信科技(深圳)有限公司 | Terminal leak current detection circuit, terminal and terminal leak current detection system |
CN109491300A (en) * | 2018-12-26 | 2019-03-19 | 浙江中控技术股份有限公司 | A kind of output circuit and method of on-off model |
-
2020
- 2020-05-07 CN CN202010376823.XA patent/CN111693891A/en active Pending
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2005003522A (en) * | 2003-06-12 | 2005-01-06 | Yokogawa Electric Corp | Diagnostic circuit for output contact arrangement |
CN106526403A (en) * | 2016-12-07 | 2017-03-22 | 宇龙计算机通信科技(深圳)有限公司 | Terminal leak current detection circuit, terminal and terminal leak current detection system |
CN109491300A (en) * | 2018-12-26 | 2019-03-19 | 浙江中控技术股份有限公司 | A kind of output circuit and method of on-off model |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113092999A (en) * | 2021-04-02 | 2021-07-09 | 中国第一汽车股份有限公司 | Switching value input diagnosis device and diagnosis method |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10312680B2 (en) | Electrical line status monitoring system | |
JP6390359B2 (en) | Inspection method and inspection apparatus for photovoltaic power generation system | |
CN107976601A (en) | A kind of fault diagnosis circuit and method for NTC temperature acquisition circuits | |
US8324886B2 (en) | Power supply testing system | |
CN105301491B (en) | A state monitoring circuit of a circuit breaker with auxiliary contacts | |
CN106526456B (en) | Integrated circuit on-line testing device and testing method | |
WO2022082531A1 (en) | Relay working state inspection system, apparatus and method, and reverse connection detection method | |
WO2021248961A1 (en) | High-voltage interlocking apparatus and detection method therefor | |
CN110673054B (en) | DC/DC power supply test system and aging test method of DC/DC power supply | |
CN111693891A (en) | Terminal with communication module and remote diagnosis system | |
CN211147811U (en) | Excitation self-diagnosis circuit of electromagnetic flowmeter | |
CN110187186B (en) | An improved segmented loop resistance tester | |
CN103941136A (en) | Signal sampling circuit resistor-capacitor component short circuit and open circuit fault diagnosis method | |
CN106291195A (en) | A kind of Intellectualized starting functional transformer comprehensive test device | |
CN207396397U (en) | Laboratory water quality automatic monitoring system | |
CN106932629B (en) | Voltage detection device, impedance isolation circuit and control method | |
CN105067996A (en) | Toggle switch detection method and detection system | |
CN215219474U (en) | Switching value signal channel detection device | |
CN117269632A (en) | Durability test system for capacitor | |
CN208488190U (en) | A kind of pointer main transformer temperature system failure detection device in substation | |
RU2787344C1 (en) | Control and measuring installation for the channel of discrete signals and its operation method | |
CN210742306U (en) | Short-circuit prevention makeup testing device | |
CN115902567B (en) | High-voltage transistor test circuit and system | |
CN204575787U (en) | With the self-monitoring treatment circuit for resistive sensor | |
CN103018613A (en) | Line detection module and testing jig provided with same |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20200922 |