CN206945946U - A kind of digital quantity inputs combining unit test system - Google Patents

A kind of digital quantity inputs combining unit test system Download PDF

Info

Publication number
CN206945946U
CN206945946U CN201720389959.8U CN201720389959U CN206945946U CN 206945946 U CN206945946 U CN 206945946U CN 201720389959 U CN201720389959 U CN 201720389959U CN 206945946 U CN206945946 U CN 206945946U
Authority
CN
China
Prior art keywords
unit
communicator
central processing
digital
digital signal
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
CN201720389959.8U
Other languages
Chinese (zh)
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.)
Electric Power Research Institute of Yunnan Power System Ltd
Original Assignee
Electric Power Research Institute of Yunnan Power System 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 Electric Power Research Institute of Yunnan Power System Ltd filed Critical Electric Power Research Institute of Yunnan Power System Ltd
Priority to CN201720389959.8U priority Critical patent/CN206945946U/en
Application granted granted Critical
Publication of CN206945946U publication Critical patent/CN206945946U/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Optical Communication System (AREA)

Abstract

本申请公开一种数字量输入合并单元测试系统,包括上位机、通信器、中央处理器、多路采集器、光接收器、同步信号器及数字信号源;多路采集器、光接收器、同步信号器和数字信号源均分别与中央处理器连接;上位机通过通信器与中央处理器连接;光接收器和数字信号源连接;中央处理器包括驱动单元、接收单元和计算单元;本申请实施例通过多路采集器输出的数字量信号离散异步发送,对数字量输入合并单元进行多个信号同时测试,提高测试效率。另外,光接收器实现对被测数字量输入合并单元的闭环测试及测试系统发送数据的高精度回采。

This application discloses a digital input merging unit test system, including a host computer, a communicator, a central processing unit, a multi-channel collector, an optical receiver, a synchronous signal device and a digital signal source; a multi-channel collector, an optical receiver, Both the synchronous annunciator and the digital signal source are respectively connected to the central processing unit; the upper computer is connected to the central processing unit through a communicator; the optical receiver is connected to the digital signal source; the central processing unit includes a drive unit, a receiving unit and a computing unit; the application In the embodiment, the digital signal output by the multi-channel collector is sent discretely and asynchronously, and multiple signals are simultaneously tested on the digital input merging unit, thereby improving the test efficiency. In addition, the optical receiver realizes the closed-loop test of the digital input merging unit to be tested and the high-precision retrieval of the data sent by the test system.

Description

一种数字量输入合并单元测试系统A Digital Quantity Input Merging Unit Test System

技术领域technical field

本申请涉及智能电网的测试技术领域,特别涉及一种数字量输入合并单元测试系统。The present application relates to the technical field of smart grid testing, in particular to a digital input merging unit testing system.

背景技术Background technique

合并单元作为一个独立运行的自动化装置出现,负责完成一个时间间隔内多支互感器输出的模拟量实时数据采集,数据同步,数据的处理和发送,以及其他必要的开关量采集和自检等功能。合并单元担负着电能计量与信息数字化传输的重任,合并单元的现场测试在保证智能变电站计量系统的电能计量准确性和网络化信息传输的可靠、准确和安全等方面,显得尤为重要。The merging unit appears as an independently operating automation device, responsible for completing the real-time data acquisition of analog quantities output by multiple transformers within a time interval, data synchronization, data processing and sending, and other necessary functions such as switch quantity acquisition and self-inspection . The merging unit is responsible for electric energy metering and information digital transmission. The on-site test of the merging unit is particularly important in ensuring the accuracy of electric energy measurement of the smart substation metering system and the reliability, accuracy and safety of networked information transmission.

合并单元测试系统是对合并单元这一运行设备进行功能和性能检测的系统,是对应用合并单元数据的间隔层保护、计量、监控和故障录波等装置把关的检测系统,其主要功能包括检测合并单元的所有数据通道的比差、角差、复合误差、绝对延时时间、信噪比、暂态最大峰值误差和衰减时间常数等指标,以及合并单元报文抖动时间、同步守时精度等功能。The merging unit test system is a system that detects the function and performance of the operating equipment of the merging unit. It is a detection system that checks the protection, metering, monitoring, and fault recording of the data of the merging unit. Its main functions include testing Indexes such as ratio difference, angle difference, composite error, absolute delay time, signal-to-noise ratio, transient maximum peak error, and decay time constant of all data channels of the merging unit, as well as message jitter time of the merging unit, synchronization punctuality accuracy, etc. Function.

现有的测试系统在现场实际运行时,只能对数字量输入合并单元进行单一信号的测试,耗时长,最终导致测试效率低。When the existing test system is actually running on site, it can only test a single signal for the digital input merging unit, which takes a long time and ultimately leads to low test efficiency.

实用新型内容Utility model content

本申请的目的在于提供一种数字量输入合并单元测试系统,以解决现有技术中合并单元测试效率低的问题。The purpose of this application is to provide a digital input merging unit testing system to solve the problem of low efficiency of merging unit testing in the prior art.

根据本申请的实施例,提供一种数字量输入合并单元测试系统,包括:上位机、通信器、中央处理器、多路采集器、光接收器、同步信号器及数字信号源;According to an embodiment of the present application, a digital input merging unit test system is provided, including: a host computer, a communicator, a central processing unit, a multi-channel collector, an optical receiver, a synchronous signal device, and a digital signal source;

所述多路采集器、所述光接收器、所述同步信号器和所述数字信号源分别与所述中央处理器连接;The multi-channel collector, the optical receiver, the synchronization annunciator and the digital signal source are respectively connected to the central processing unit;

所述上位机通过所述通信器与所述中央处理器连接;The host computer is connected with the central processing unit through the communicator;

所述光接收器和所述数字信号源连接;The optical receiver is connected to the digital signal source;

所述中央处理器包括驱动单元、接收单元和计算单元;The central processing unit includes a drive unit, a receiving unit and a computing unit;

所述驱动单元的一端与所述通信器连接,所述驱动单元的另一端与所述数字信号源连接;所述多路采集器、所述光接收器及所述数字信号源分别与所述接收单元连接;所述计算单元的一端与所述通信器连接,所述计算单元的另一端与所述接收单元连接。One end of the drive unit is connected to the communicator, and the other end of the drive unit is connected to the digital signal source; the multi-channel collector, the optical receiver and the digital signal source are respectively connected to the The receiving unit is connected; one end of the computing unit is connected to the communicator, and the other end of the computing unit is connected to the receiving unit.

可选的,所述数字量输入合并单元测试系统中,所述通信器包括光纤通信器、串行通信器及以太网通信器中的任意两种。Optionally, in the digital input merging unit test system, the communicator includes any two of optical fiber communicator, serial communicator and Ethernet communicator.

可选的,所述数字量输入合并单元测试系统中,所述通信器包括光纤通信器、串行通信器及以太网通信器。Optionally, in the digital input merging unit test system, the communicator includes a fiber optic communicator, a serial communicator, and an Ethernet communicator.

可选的,所述数字量输入合并单元测试系统中,所述系统还包括数模转换器,所述数模转换器与所述中央处理器连接。Optionally, in the digital input merging unit test system, the system further includes a digital-to-analog converter, and the digital-to-analog converter is connected to the central processing unit.

可选的,所述数字量输入合并单元测试系统中,所述系统还包括脉冲收发器,所述脉冲收发器与所述中央处理器连接。Optionally, in the digital input merging unit test system, the system further includes a pulse transceiver connected to the central processing unit.

由以上技术方案可知,本申请实施例提供一种数字量输入合并单元测试系统,包括:上位机、通信器、中央处理器、多路采集器、光接收器、同步信号器及数字信号源;所述多路采集器、所述光接收器、所述同步信号器和所述数字信号源分别与所述中央处理器连接;所述上位机通过所述通信器与所述中央处理器连接;所述光接收器和所述数字信号源连接;所述中央处理器包括驱动单元、接收单元和计算单元;所述驱动单元的一端与所述通信器连接,所述驱动单元的另一端与所述数字信号源连接;所述多路采集器、所述光接收器及所述数字信号源分别与所述接收单元连接;所述计算单元的一端与所述通信器连接,所述计算单元的另一端与所述接收单元连接;本申请实施例基于随机函数生成的随机序列算法,实现对多路采集器输出的数字量信号的离散异步发送,实现对数字量输入合并单元进行多个信号的测试,解决目前在测试数字量输入合并单元的信号稳定性与可靠性低的问题,提高测试效率。另外,光接收器接收到数字信号源的信号后完成数据帧接收和时标标定,再将数据帧发送给中央处理器,由中央处理器完成数据帧解析和处理,实现对被测数字量输入合并单元的闭环测试及测试系统发送数据的高精度回采。It can be seen from the above technical solutions that the embodiment of the present application provides a digital input merging unit test system, including: a host computer, a communicator, a central processing unit, a multi-channel collector, an optical receiver, a synchronous signal device and a digital signal source; The multi-channel collector, the optical receiver, the synchronous signal device and the digital signal source are respectively connected to the central processing unit; the host computer is connected to the central processing unit through the communicator; The optical receiver is connected to the digital signal source; the central processing unit includes a drive unit, a receiving unit and a computing unit; one end of the drive unit is connected to the communicator, and the other end of the drive unit is connected to the The digital signal source is connected; the multi-channel collector, the optical receiver and the digital signal source are respectively connected to the receiving unit; one end of the computing unit is connected to the communicator, and the computing unit The other end is connected to the receiving unit; the embodiment of the present application is based on a random sequence algorithm generated by a random function to realize the discrete asynchronous transmission of the digital signal output by the multi-channel collector, and to realize the digital input combining unit for multiple signals. Test, solve the problem of low signal stability and reliability in testing digital input merging units at present, and improve test efficiency. In addition, after receiving the signal from the digital signal source, the optical receiver completes data frame reception and time scale calibration, and then sends the data frame to the central processing unit, which completes the analysis and processing of the data frame to realize the input of the measured digital quantity. The closed-loop test of the merging unit and the high-precision retrieval of the data sent by the test system.

附图说明Description of drawings

为了更清楚地说明本申请实施例或现有技术中的技术方案,下面将对实施例中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present application or the prior art, the following will briefly introduce the accompanying drawings required in the embodiments. Obviously, the accompanying drawings in the following description are only some of the present application. Embodiments, for those of ordinary skill in the art, other drawings can also be obtained based on these drawings without any creative effort.

图1为根据实施例示出的一种数字量输入合并单元测试系统的结构示意图;Fig. 1 is a schematic structural diagram of a digital input merging unit test system shown according to an embodiment;

图2为根据实施例示出的另一种数字量输入合并单元测试系统的结构示意图;Fig. 2 is a schematic structural diagram of another digital input merging unit test system shown according to an embodiment;

图3为根据实施例示出的中央处理器结构示意图;Fig. 3 is a schematic structural diagram of a central processing unit shown according to an embodiment;

图4为根据实施例示出串行通信器的电路图;4 is a circuit diagram illustrating a serial communicator according to an embodiment;

图5为根据实施例示出的又一种数字量输入合并单元测试系统的结构示意图;Fig. 5 is a schematic structural diagram of another digital input merging unit test system shown according to an embodiment;

图6为根据实施例示出的脉冲收发器的电路图;Fig. 6 is the circuit diagram of the pulse transceiver shown according to the embodiment;

图7为根据实施例示出的中央处理器时钟单元的电路图;Fig. 7 is a circuit diagram of a central processing unit clock unit shown according to an embodiment;

图8为根据实施例示出的中央处理器电源模块的电路图。Fig. 8 is a circuit diagram of a CPU power module according to an embodiment.

图示说明:Graphical description:

其中,1-上位机,2-通信器,21-光纤通信器,22-串行通信器,23-太网通信器,3-数模转换器,4-脉冲收发器,5-中央处理器,501-驱动单元,502-接收单元,503-计算单元,511-多媒体个人电脑,512-以太网控制器,513-微控制器,514-外部设备互连总线,515-现场可编程门阵列,516-存储芯片,517-同步动态随机存储器,6-多路采集器,7-光接收器,8-同步信号器,9-数字信号源,10-合并单元。Among them, 1-host computer, 2-communicator, 21-optical fiber communicator, 22-serial communicator, 23-Ethernet communicator, 3-digital-to-analog converter, 4-pulse transceiver, 5-central processing unit , 501-driving unit, 502-receiving unit, 503-computing unit, 511-multimedia personal computer, 512-Ethernet controller, 513-microcontroller, 514-peripheral device interconnection bus, 515-field programmable gate array , 516-storage chip, 517-Synchronous DRAM, 6-multiplexer, 7-optical receiver, 8-synchronous signal generator, 9-digital signal source, 10-merging unit.

具体实施方式detailed description

参阅图1至图2,本申请实施例提供一种数字量输入合并单元测试系统,包括:上位机1、通信器2、中央处理器5、多路采集器6、光接收器7、同步信号器8及数字信号源9;Referring to Figures 1 to 2, the embodiment of the present application provides a digital input merging unit test system, including: a host computer 1, a communicator 2, a central processing unit 5, a multi-channel collector 6, an optical receiver 7, and a synchronization signal Device 8 and digital signal source 9;

所述多路采集器6、所述光接收器7、所述同步信号器8和所述数字信号源9分别与所述中央处理器5连接;The multi-channel collector 6, the optical receiver 7, the synchronous signal device 8 and the digital signal source 9 are respectively connected with the central processing unit 5;

所述上位机1通过所述通信器2与所述中央处理器5连接;The upper computer 1 is connected with the central processing unit 5 through the communicator 2;

所述光接收器7和所述数字信号源9连接;The optical receiver 7 is connected to the digital signal source 9;

所述中央处理器5包括驱动单元501、接收单元502和计算单元503;The central processing unit 5 includes a drive unit 501, a receiving unit 502 and a computing unit 503;

所述驱动单元501的一端与所述通信器2连接,所述驱动单元501的另一端与所述数字信号源9连接;所述多路采集器6、所述光接收器7及所述数字信号源9分别与所述接收单元502连接;所述计算单元503的一端与所述通信器2连接,所述计算单元503 的另一端与所述接收单元502连接;One end of the drive unit 501 is connected to the communicator 2, and the other end of the drive unit 501 is connected to the digital signal source 9; the multi-channel collector 6, the optical receiver 7 and the digital The signal source 9 is respectively connected to the receiving unit 502; one end of the computing unit 503 is connected to the communicator 2, and the other end of the computing unit 503 is connected to the receiving unit 502;

所述多路采集器6用于对系统模拟的多路采集器数字量数据进行发送;The multi-channel collector 6 is used to send the digital quantity data of the multi-channel collector simulated by the system;

所述数字信号源9用于为测试系统提供数字量信号;The digital signal source 9 is used to provide a digital signal for the test system;

所述光接收器7用于将接收数字信号源9发送的信号传递中央处理器5进行解析,判断测试系统所发送信号的完整性;The optical receiver 7 is used to transmit the signal sent by the receiving digital signal source 9 to the central processing unit 5 for analysis, and to judge the integrity of the signal sent by the test system;

使用前,同步信号器8的一端连入中央处理器5的时钟单元,同步信号器8的另一端与接入外部时钟,使测试系统与被测合并单元10建立通信,使得两者之间的接收或发送的信息在时间上能够一致。Before use, one end of the synchronous annunciator 8 is connected to the clock unit of the central processing unit 5, and the other end of the synchronous annunciator 8 is connected to an external clock, so that the test system and the merging unit 10 to be tested are communicated, so that the communication between the two Information received or sent can be consistent in time.

需要说明的是,同步信号器8接收外部发送或者从时钟单元发送的秒脉冲TRIG信号,接收并检测同步信号质量(有效脉宽、抖动和频率等),在连续接收到多个有效同步信号后,锁定自身时钟频率进入主时钟跟随模式,采用主系统时钟周期产生测试终端的运行中断时钟,当同步信号丢失后,能在一段时间内由其自身的高精度恒温晶振及软件算法实现同步守时,保证所有测试终端的时间一致性。It should be noted that the synchronous annunciator 8 receives the second pulse TRIG signal sent externally or from the clock unit, receives and detects the quality of the synchronous signal (effective pulse width, jitter and frequency, etc.), and after receiving multiple valid synchronous signals continuously , lock its own clock frequency and enter the main clock following mode, and use the main system clock period to generate the running interruption clock of the test terminal. When the synchronization signal is lost, it can realize synchronization and punctuality within a period of time by its own high-precision constant temperature crystal oscillator and software algorithm , to ensure the time consistency of all test terminals.

测试时,上位机1发送测试指令,通过通信器2将测试信号传递至中央处理器5的驱动单元501,驱动单元501驱动数字信号源9产生数字量信号,并将同一数字量信号发送至接收单元502和光接收器7。光接收器7接收到数字量信号后完成数据帧接收和时标标定,再将数据帧发送给接收单元502,接收单元502通过对比数字信号源9发送的数字量信号和光接收器发送的数据帧,确保发送给被测合并单元10的信号是完整的信息;接收单元502将数字量信号发送给多路采集器6,并通过多路采集器6传递给被测合并单元10,被测合并单元10接收到数字量信号后,再由多路采集器6反馈至接收单元502,接收单元502将发送和反馈的数字量信号发送至计算单元503,计算单元503计算出发送和反馈的数字量信号的差值,并通过通信器2在上位机1上显示测试结果。During the test, the host computer 1 sends a test command, and the test signal is transmitted to the drive unit 501 of the central processing unit 5 through the communicator 2, and the drive unit 501 drives the digital signal source 9 to generate a digital signal, and sends the same digital signal to the receiver. Unit 502 and light receiver 7. After receiving the digital signal, the optical receiver 7 completes data frame reception and time scale calibration, and then sends the data frame to the receiving unit 502, and the receiving unit 502 compares the digital signal sent by the digital signal source 9 with the data frame sent by the optical receiver , to ensure that the signal sent to the merging unit 10 under test is complete information; the receiving unit 502 sends the digital signal to the multi-channel collector 6, and passes it to the merging unit 10 through the multi-channel collector 6, and the merging unit under test 10 After receiving the digital signal, it is fed back to the receiving unit 502 by the multi-channel collector 6, and the receiving unit 502 sends the sent and fed back digital signal to the calculation unit 503, and the calculation unit 503 calculates the sent and fed back digital signal and display the test result on the host computer 1 through the communicator 2.

由以上技术方案可知,本申请实施例提供一种数字量输入合并单元测试系统,包括:上位机1、通信器2、中央处理器5、多路采集器6、光接收器7、同步信号器8及数字信号源9;所述多路采集器6、所述光接收器7、所述同步信号器8和所述数字信号源9 分别与所述中央处理器5连接;所述上位机1通过所述通信器2与所述中央处理器5连接;所述光接收器7和所述数字信号源9连接;所述中央处理器5包括驱动单元501、接收单元502和计算单元503;所述驱动单元501的一端与所述通信器2连接,所述驱动单元501的另一端与所述数字信号源9连接;所述多路采集器6、所述光接收器7及所述数字信号源9分别与所述接收单元502连接;所述计算单元503的一端与所述通信器2连接,所述计算单元503的另一端与所述接收单元502连接;本申请实施例基于随机函数生成的随机序列算法,实现对多路采集器6输出的数字量信号的离散异步发送,实现对数字量输入合并单元10进行多个信号的测试,解决目前在测试数字量输入合并单元10的信号稳定性与可靠性,提高测试效率。另外,光接收器7接收到数字信号源9的信号后完成数据帧接收和时标标定,再将数据帧发送给中央处理器5,由中央处理器5 完成数据帧解析和处理,实现对被测数字量输入合并单元10的闭环测试及测试系统发送数据的高精度回采。It can be seen from the above technical solutions that the embodiment of the present application provides a digital input merging unit test system, including: a host computer 1, a communicator 2, a central processing unit 5, a multi-channel collector 6, an optical receiver 7, and a synchronous signal device 8 and a digital signal source 9; the multi-channel collector 6, the optical receiver 7, the synchronous signal device 8 and the digital signal source 9 are respectively connected with the central processing unit 5; the upper computer 1 The communicator 2 is connected to the central processing unit 5; the optical receiver 7 is connected to the digital signal source 9; the central processing unit 5 includes a drive unit 501, a receiving unit 502 and a computing unit 503; One end of the drive unit 501 is connected to the communicator 2, and the other end of the drive unit 501 is connected to the digital signal source 9; the multi-channel collector 6, the optical receiver 7 and the digital signal The source 9 is respectively connected to the receiving unit 502; one end of the computing unit 503 is connected to the communicator 2, and the other end of the computing unit 503 is connected to the receiving unit 502; the embodiment of the present application is based on random function generation The random sequence algorithm realizes the discrete and asynchronous transmission of the digital signal output by the multi-channel collector 6, realizes the test of multiple signals on the digital input merging unit 10, and solves the problem of signal stability in testing the digital input merging unit 10 at present. Performance and reliability, improve test efficiency. In addition, after receiving the signal from the digital signal source 9, the optical receiver 7 completes the data frame reception and time scale calibration, and then sends the data frame to the central processing unit 5, and the central processing unit 5 completes the analysis and processing of the data frame to realize the Measure the closed-loop test of the digital input merging unit 10 and the high-precision retrieval of the data sent by the test system.

可选的,所述数字量输入合并单元测试系统中,所述通信器2包括光纤通信器21、串行通信器22及以太网通信器23中的任意两种。利用光纤串口通信模块的高效机制,制定兼容性全面的通信编码,可在同一端口对国内不同厂家协议采样,不再需要针对不同的厂家制定相应的接口。Optionally, in the digital input merging unit test system, the communicator 2 includes any two of an optical fiber communicator 21 , a serial communicator 22 and an Ethernet communicator 23 . Utilize the high-efficiency mechanism of the optical fiber serial port communication module to formulate a fully compatible communication code, which can sample the protocols of different domestic manufacturers at the same port, and no longer need to formulate corresponding interfaces for different manufacturers.

其中,光纤通信器21选用AVAGO公司的AFBR 5803ATZ型接口,匹配采用多模850nm光纤以此来实现光纤信号的接收和发送。Among them, the optical fiber communicator 21 adopts the AFBR 5803ATZ type interface of AVAGO Company, and adopts multi-mode 850nm optical fiber to realize the receiving and sending of optical fiber signals.

其中,串行通信器22用来完成测试系统与合并单元的通信。系统的数据输出值的显示都在上位机1上完成,数据的配置也有上位机1软件完成,仿真电子式互感器中采集器数据发送时采用各电子式互感器厂家私有通信协议,系统支持国内主流厂家的通讯协议;光纤串行接收主要用于接收FT3数据。串行通信接口采用AVAGO公司光纤接头。其回路设计如图4所示。Among them, the serial communicator 22 is used to complete the communication between the test system and the merging unit. The display of the data output value of the system is completed on the host computer 1, and the data configuration is also completed by the software of the host computer 1. The private communication protocol of each electronic transformer manufacturer is used when the data of the collector in the simulated electronic transformer is sent. The system supports domestic Communication protocol of mainstream manufacturers; optical fiber serial receiver is mainly used to receive FT3 data. The serial communication interface adopts the optical fiber joint of AVAGO Company. Its loop design is shown in Figure 4.

其中,以太网通信器23在硬件上直接使用MPC8247的以太网通信口,接口采用RJ45接口和专用通信线缆。光纤以太网通信模块用来完成测试系统和被检测的合并单元、电能表之间的以太网通信。主要用来实现对合并单元10和虚负荷检测时电能表的数据发送和实负荷检测时被检测电能表所接收的来自合并单元10的数据的接收。根据智能变电站相关技术要求,通信模块需采用多模光纤器件,接口方式采用ST接口。拟采用AVAGO公司的AFBR5803ATZ来实现。以太网通信口直接应用主CPU的以太网口,通过信号处理回路,接至AFBR5803ATZ,完成光纤以太网数据的接收和发送功能。Wherein, the Ethernet communicator 23 directly uses the Ethernet communication port of the MPC8247 in hardware, and the interface adopts an RJ45 interface and a dedicated communication cable. The optical fiber Ethernet communication module is used to complete the Ethernet communication between the test system and the detected merging unit and electric energy meter. It is mainly used to realize the data transmission between the merging unit 10 and the electric energy meter during virtual load detection and the reception of data from the merging unit 10 received by the detected electric energy meter during real load detection. According to the relevant technical requirements of the smart substation, the communication module needs to adopt multi-mode optical fiber devices, and the interface mode adopts ST interface. AFBR5803ATZ of AVAGO Company is proposed to be used for realization. The Ethernet communication port directly uses the Ethernet port of the main CPU, and is connected to the AFBR5803ATZ through the signal processing circuit to complete the receiving and sending function of optical fiber Ethernet data.

可选的,所述数字量输入合并单元测试系统中,参阅图5,所述通信器2包括光纤通信器21、串行通信器22及以太网通信器23。利用光纤串口通信模块的高效机制,制定兼容性全面的通信编码,测试系统只用一个接口便可与国内主流厂家制造的数字量输入合并单元10连接,不再需要单独制定对应的接口与其进行匹配,减小测试系统的体积。Optionally, in the digital input merging unit test system, referring to FIG. 5 , the communicator 2 includes a fiber optic communicator 21 , a serial communicator 22 and an Ethernet communicator 23 . Utilize the high-efficiency mechanism of the optical fiber serial port communication module to formulate a fully compatible communication code. The test system can be connected to the digital input merging unit 10 manufactured by domestic mainstream manufacturers with only one interface, and it is no longer necessary to separately formulate the corresponding interface to match it. , to reduce the size of the test system.

可选的,所述数字量输入合并单元测试系统中,所述系统还包括数模转换器3,所述数模转换器3与所述中央处理器5连接。本申请的测试系统可以对数字量输入式合并单元10的所有功能进行测试的同时,也可以对电能表进行功能测试。其中,数模转换器 3作用在于将对时、报文监测等数字式的信号转化为模拟信号并传递给电能表,因为智能变电站使用的电能表为模拟信号输入,所以需要进行信号形式的转换,该功能通过专业数模转换器3输出数据转换芯片来实现。Optionally, in the digital input merging unit test system, the system further includes a digital-to-analog converter 3 connected to the central processing unit 5 . The test system of the present application can test all the functions of the digital input merging unit 10, and can also test the functions of the electric energy meter. Among them, the function of the digital-to-analog converter 3 is to convert digital signals such as time synchronization and message monitoring into analog signals and transmit them to the electric energy meter. Because the electric energy meter used in the smart substation is an analog signal input, it is necessary to convert the signal form , this function is realized through a professional digital-to-analog converter 3 output data conversion chip.

可选的,所述数字量输入合并单元测试系统中,所述系统还包括脉冲收发器4,所述脉冲收发器4与所述中央处理器5连接。本申请的测试系统可以对数字量输入式合并单元10的所有功能进行测试的同时,也可以对电能表进行功能测试。脉冲收发模块的作用在于发送电量数据信号给电能表,因为智能变电站中的电能表在电量统计的时候是通过脉冲形式进行叠加计数。Optionally, in the digital input merging unit test system, the system further includes a pulse transceiver 4 connected to the central processing unit 5 . The test system of the present application can test all the functions of the digital input merging unit 10, and can also test the functions of the electric energy meter. The function of the pulse transceiver module is to send the power data signal to the electric energy meter, because the electric energy meter in the smart substation performs superimposed counting in the form of pulses when counting the electric power.

脉冲收发器4用来完成测试系统对被检测电能表低频电量脉冲的接收和系统本身电量计算的检测脉冲发生。根据电能表校验脉冲的特点,系统的脉冲输入接口为有源接口,电源为+5V,当被检测电能表有脉冲发出时,可以实时接收电量脉冲,外部脉冲与系统内部工作电源采用光耦进行隔离。系统自身电量计量脉冲的发送与电能表低频校验脉冲相似,直接有MPC8247通过控制口线进行脉冲发送,同时采用光耦进行系统与外部的电气隔离,以免输出脉冲信号接入其他设备时引入干扰。脉冲收发器4的电路设计参阅图 6。The pulse transceiver 4 is used to complete the test system's reception of the low-frequency power pulse of the detected electric energy meter and the detection pulse generation of the power calculation of the system itself. According to the characteristics of the calibration pulse of the electric energy meter, the pulse input interface of the system is an active interface, and the power supply is +5V. When the detected electric energy meter sends out a pulse, it can receive the electric quantity pulse in real time. The external pulse and the internal working power supply of the system use an optocoupler Quarantine. The transmission of the system's own electricity metering pulse is similar to the low-frequency calibration pulse of the electric energy meter. The MPC8247 directly transmits the pulse through the control port line, and at the same time uses an optocoupler to electrically isolate the system from the outside to avoid interference when the output pulse signal is connected to other devices. . Refer to Figure 6 for the circuit design of the pulse transceiver 4.

可选的,所述数字量输入合并单元测试系统中,所述上位机1包括液晶显示屏和键盘,所述液晶显示屏和所述键盘设于所述上位机1的正面。液晶显示屏可直观地显示测试系统的测试状态及测试结果,键盘可便于工作人员控制测试系统。Optionally, in the digital input merging unit test system, the host computer 1 includes a liquid crystal display and a keyboard, and the liquid crystal display and the keyboard are arranged on the front of the host computer 1 . The LCD screen can intuitively display the test status and test results of the test system, and the keyboard can facilitate the staff to control the test system.

可选的,上位机1采用笔记本模式,作用在于对测试系统的操作控制与数据显示。Optionally, the upper computer 1 adopts a notebook mode, and its function is to control the operation of the test system and display data.

可选的,中央处理器(Central Processing Unit,CPU)5采用Freescale公司的MPC8247511(Multimedia Personal Computer,多媒体个人电脑)嵌入式微处理器,参阅图3,该处理器属于PowerQUICC II系列,包含一个基于PowerPC MPC603e的内核,和一个通信处理内核CPM。CPU工作时钟为66MHz;同时采用两片MT48LC4M16A2芯片外扩 16Mx32bit的SDRAM 517(Synchronous Dynamic Random Access Memory,同步动态随机存储器);采用一片AM29LV081B外扩8Mbit存储芯片516,用来固化程序;另外还包括 SPI总线、WATCHDOG回路以及大量的接收控制口线,构成一个小型嵌入式的计算机系统,来完成数据处理和分析及相应的通信、控制功能。FPGA(Field-Programmable Gate Array,即现场可编程门阵列)515采用Xilinx的Spartan3系列产品XC3S1500,包含有150万个系统门,32个专用乘法器,4个数字时钟管理模块,逻辑资源丰富,运行速度快。FPGA515 利用精确的时序控制能力,完成以太网的MAC子层设计、MAC子层与以太网控制器512 的接口设计,以太网数据发送以及FT3数据发送。具体设计如下:Optionally, central processing unit (Central Processing Unit, CPU) 5 adopts MPC8247511 (Multimedia Personal Computer, multimedia personal computer) embedded microprocessor of Freescale Company, referring to Fig. 3, this processor belongs to PowerQUICC II series, comprises a based on PowerPC The core of MPC603e, and a communication processing core CPM. The CPU working clock is 66MHz; at the same time, two MT48LC4M16A2 chips are used to expand 16Mx32bit SDRAM 517 (Synchronous Dynamic Random Access Memory, Synchronous Dynamic Random Access Memory); one AM29LV081B externally expanded 8Mbit memory chip 516 is used to solidify the program; in addition, SPI Bus, WATCHDOG circuit and a large number of receiving control ports constitute a small embedded computer system to complete data processing and analysis as well as corresponding communication and control functions. FPGA (Field-Programmable Gate Array, that is, Field Programmable Gate Array) 515 uses Xilinx's Spartan3 series product XC3S1500, which contains 1.5 million system gates, 32 dedicated multipliers, and 4 digital clock management modules. It has rich logic resources and can run high speed. FPGA515 utilizes precise timing control capability to complete Ethernet MAC sublayer design, interface design between MAC sublayer and Ethernet controller 512, Ethernet data transmission and FT3 data transmission. The specific design is as follows:

(1)以太网控制器512为Intel公司LXT971。LXT971是单端口10/100M双速快速以太控制器,它兼容IEEE802.3;支持10Base5、10Base2、10BaseT、100BASE-X,100BASE-TX 和100BASE-FX,并能自动检测所连接的介质,选用Agi lent AFBR5803作为光纤网络收发器。(1) The Ethernet controller 512 is LXT971 of Intel Corporation. LXT971 is a single-port 10/100M dual-speed fast Ethernet controller, which is compatible with IEEE802.3; supports 10Base5, 10Base2, 10BaseT, 100BASE-X, 100BASE-TX and 100BASE-FX, and can automatically detect the connected medium, choose Agi lent AFBR5803 as a fiber optic network transceiver.

(2)晶体振荡器拟选用OCXO50恒温晶振,-40至85℃的工作温度,小于1ppb的温漂特性,-160dBc/1KHz的低相位噪声,最大10ppb/year的低老化,高精度晶振为PowerPC 和FPGA 515提供时钟节拍,保证了时序控制的精确性和长期的稳定性。(2) The crystal oscillator is planned to use OCXO50 constant temperature crystal oscillator, with an operating temperature of -40 to 85°C, a temperature drift characteristic of less than 1ppb, a low phase noise of -160dBc/1KHz, and a maximum of 10ppb/year low aging. The high-precision crystal oscillator is PowerPC And FPGA 515 provides the clock beat, which ensures the accuracy and long-term stability of timing control.

(3)MPU系统同时具有自带的以太网通信接口、串行通信接口、外部中断接口以及大量的输入输出口线,可以方便的进行软件控制,配合具有良好的可靠性和卓越的实时性以及可裁减性的嵌入式实时操作系统(RTOS),可以方便实现数字式计量(测量)整体测试仿真功能。:(3) The MPU system also has its own Ethernet communication interface, serial communication interface, external interrupt interface and a large number of input and output lines, which can be easily controlled by software, with good reliability and excellent real-time performance and The scalable embedded real-time operating system (RTOS) can conveniently realize the overall test simulation function of digital metering (measurement). :

(4)CPU时钟单元设计(4) CPU clock unit design

本系统CPU时钟拟采用DALLAS公司的实时时钟芯片DS1306,DS1306拟采用外接后备电源和外接晶体振荡器输出和闹钟中断申请功能,与主控器件的最少连接线为11方式或串行外围接口(SPI)方式,时钟回路设计原理如图7所示:The CPU clock of this system is planned to adopt the real-time clock chip DS1306 of DALLAS Company, and the DS1306 plans to use an external backup power supply, an external crystal oscillator output and an alarm clock interrupt application function, and the minimum connection line with the main control device is 11 mode or serial peripheral interface (SPI ) mode, the clock loop design principle is shown in Figure 7:

(5)CPU电源模块设计(5) CPU power module design

电源模块为测试系统专用电源,拟采用高可靠组件生产的AC/DC转换器,结合开关电源的体积小、重量轻、高效率,线性电源的低纹波的优势。前级采用轻系列模块代替传统的变压器,后级采用线性电源电路降低纹波电压,具有纹波电压小、外型体积轻巧、效率高、功率密度大和电磁兼容性好等特点。电源机壳为高密度铝合金材质散热器,壳表均匀密布散热肋片,有效地增加了散热面积,集合了热沉、散热器和外壳三位一体的结构形式实现了一体化电源的分布热阻趋近于最小值,使其电气性能与物理结构有效结合。The power supply module is a special power supply for the test system. It is planned to use AC/DC converters produced by high-reliability components, combining the advantages of small size, light weight, and high efficiency of switching power supplies and low ripple of linear power supplies. The front stage uses light series modules to replace traditional transformers, and the rear stage uses linear power supply circuits to reduce ripple voltage. It has the characteristics of small ripple voltage, light and compact appearance, high efficiency, high power density and good electromagnetic compatibility. The casing of the power supply is made of high-density aluminum alloy radiator, and the surface of the casing is evenly and densely distributed with cooling fins, which effectively increases the cooling area. It is close to the minimum value, so that its electrical performance can be effectively combined with the physical structure.

由于系统硬件回路CPU电源为3.3V,因此在主板上设计有电源转换回路,拟采用MAXIM的16441芯片设计,具体设计如图8所示:Since the CPU power supply of the system hardware circuit is 3.3V, a power conversion circuit is designed on the main board. It is proposed to use MAXIM's 16441 chip design. The specific design is shown in Figure 8:

可选的,系统电源采用开关电源模块设计,电源模块的性能要求如下:输入电压:220V,交直流两用,输入电压范围:-120%~+120%UN;输出电压:5V,偏差范围:4.85~5.15V;输出电流:2A。Optionally, the system power supply is designed with a switching power supply module. The performance requirements of the power module are as follows: input voltage: 220V, AC and DC, input voltage range: -120%~+120% UN; output voltage: 5V, deviation range: 4.85 ~ 5.15V; output current: 2A.

由以上技术方案可知,本申请实施例提供一种数字量输入合并单元测试系统,包括:上位机1、通信器2、中央处理器5、多路采集器6、光接收器7、同步信号器8及数字信号源9;所述多路采集器6、所述光接收器7、所述同步信号器8和所述数字信号源9 分别与所述中央处理器5连接;所述上位机1通过所述通信器2与所述中央处理器5连接;所述光接收器7和所述数字信号源9连接;所述中央处理器5包括驱动单元501、接收单元502和计算单元503;所述驱动单元501的一端与所述通信器2连接,所述驱动单元501的另一端与所述数字信号源9连接;所述多路采集器6、所述光接收器7及所述数字信号源9分别与所述接收单元502连接;所述计算单元503的一端与所述通信器2连接,所述计算单元503的另一端与所述接收单元502连接;本申请实施例基于随机函数生成的随机序列算法,实现对多路采集器6输出数字量信号的离散异步发送,实现对数字量输入合并单元10进行多个信号的测试,解决目前在测试数字量输入合并单元10的信号稳定性与可靠性,提高测试效率。另外,光接收器7接收到数字信号源9的信号后完成数据帧接收和时标标定,再将数据帧发送给中央处理器5,由中央处理器5完成数据帧解析和处理,实现对被测数字量输入合并单元10的闭环测试及测试系统发送数据的高精度回采。It can be seen from the above technical solutions that the embodiment of the present application provides a digital input merging unit test system, including: a host computer 1, a communicator 2, a central processing unit 5, a multi-channel collector 6, an optical receiver 7, and a synchronous signal device 8 and a digital signal source 9; the multi-channel collector 6, the optical receiver 7, the synchronous signal device 8 and the digital signal source 9 are respectively connected with the central processing unit 5; the upper computer 1 The communicator 2 is connected to the central processing unit 5; the optical receiver 7 is connected to the digital signal source 9; the central processing unit 5 includes a drive unit 501, a receiving unit 502 and a computing unit 503; One end of the drive unit 501 is connected to the communicator 2, and the other end of the drive unit 501 is connected to the digital signal source 9; the multi-channel collector 6, the optical receiver 7 and the digital signal The source 9 is respectively connected to the receiving unit 502; one end of the computing unit 503 is connected to the communicator 2, and the other end of the computing unit 503 is connected to the receiving unit 502; the embodiment of the present application is based on random function generation The random sequence algorithm realizes the discrete and asynchronous transmission of the digital signal output by the multi-channel collector 6, realizes the test of multiple signals on the digital input merging unit 10, and solves the signal stability of the digital input merging unit 10 currently being tested and reliability, improve test efficiency. In addition, after receiving the signal from the digital signal source 9, the optical receiver 7 completes the data frame reception and time scale calibration, and then sends the data frame to the central processing unit 5, and the central processing unit 5 completes the analysis and processing of the data frame to realize the Measure the closed-loop test of the digital input merging unit 10 and the high-precision retrieval of the data sent by the test system.

本领域技术人员在考虑说明书及实践这里公开的申请后,将容易想到本申请的其它实施方案。本申请旨在涵盖本申请的任何变型、用途或者适应性变化,这些变型、用途或者适应性变化遵循本申请的一般性原理并包括本申请未公开的本技术领域中的公知常识或惯用技术手段。说明书和实施例仅被视为示例性的,本申请的真正范围和精神由下面的权利要求指出。Other embodiments of the application will be readily apparent to those skilled in the art from consideration of the specification and practice of the application disclosed herein. This application is intended to cover any modification, use or adaptation of the application, these modifications, uses or adaptations follow the general principles of the application and include common knowledge or conventional technical means in the technical field not disclosed in the application . The specification and examples are to be considered exemplary only, with a true scope and spirit of the application indicated by the following claims.

应当理解的是,本申请并不局限于上面已经描述并在附图中示出的精确结构,并且可以在不脱离其范围进行各种修改和改变。本申请的范围仅由所附的权利要求来限制。It should be understood that the present application is not limited to the precise constructions which have been described above and shown in the accompanying drawings, and various modifications and changes may be made without departing from the scope thereof. The scope of the application is limited only by the appended claims.

Claims (5)

1.一种数字量输入合并单元测试系统,其特征在于,包括:上位机(1)、通信器(2)、中央处理器(5)、多路采集器(6)、光接收器(7)、同步信号器(8)及数字信号源(9);1. a kind of digital quantity input merging unit test system is characterized in that, comprises: upper computer (1), communicator (2), central processing unit (5), multi-channel collector (6), optical receiver (7 ), synchronous annunciator (8) and digital signal source (9); 所述多路采集器(6)、所述光接收器(7)、所述同步信号器(8)和所述数字信号源(9)分别与所述中央处理器(5)连接;The multi-channel collector (6), the optical receiver (7), the synchronous signal device (8) and the digital signal source (9) are respectively connected to the central processing unit (5); 所述上位机(1)通过所述通信器(2)与所述中央处理器(5)连接;The host computer (1) is connected with the central processing unit (5) through the communicator (2); 所述光接收器(7)和所述数字信号源(9)连接;The optical receiver (7) is connected to the digital signal source (9); 所述中央处理器(5)包括驱动单元(501)、接收单元(502)和计算单元(503);The central processing unit (5) includes a drive unit (501), a receiving unit (502) and a computing unit (503); 所述驱动单元(501)的一端与所述通信器(2)连接,所述驱动单元(501)的另一端与所述数字信号源(9)连接;所述多路采集器(6)、所述光接收器(7)及所述数字信号源(9)分别与所述接收单元(502)连接;所述计算单元(503)的一端与所述通信器(2)连接,所述计算单元(503)的另一端与所述接收单元(502)连接。One end of the drive unit (501) is connected to the communicator (2), and the other end of the drive unit (501) is connected to the digital signal source (9); the multiplexer (6), The optical receiver (7) and the digital signal source (9) are respectively connected to the receiving unit (502); one end of the computing unit (503) is connected to the communicator (2), and the computing The other end of the unit (503) is connected to the receiving unit (502). 2.根据权利要求1所述的数字量输入合并单元测试系统,其特征在于,所述通信器(2)包括光纤通信器(21)、串行通信器(22)及以太网通信器(23)中的任意两种。2. digital input merging unit test system according to claim 1, is characterized in that, described communicator (2) comprises optical fiber communicator (21), serial communicator (22) and Ethernet communicator (23 ) in any two. 3.根据权利要求1所述的数字量输入合并单元测试系统,其特征在于,所述通信器(2)包括光纤通信器(21)、串行通信器(22)及以太网通信器(23)。3. digital input merging unit test system according to claim 1, is characterized in that, described communicator (2) comprises optical fiber communicator (21), serial communicator (22) and Ethernet communicator (23 ). 4.根据权利要求1所述的数字量输入合并单元测试系统,其特征在于,所述系统还包括数模转换器(3),所述数模转换器(3)与所述中央处理器(5)连接。4. digital input merging unit test system according to claim 1, is characterized in that, described system also comprises digital-to-analog converter (3), and described digital-to-analog converter (3) and described central processing unit ( 5) Connect. 5.根据权利要求1所述的数字量输入合并单元测试系统,其特征在于,所述系统还包括脉冲收发器(4),所述脉冲收发器(4)与所述中央处理器(5)连接。5. digital input merging unit test system according to claim 1, is characterized in that, described system also comprises pulse transceiver (4), and described pulse transceiver (4) and described central processing unit (5) connect.
CN201720389959.8U 2017-04-14 2017-04-14 A kind of digital quantity inputs combining unit test system Active CN206945946U (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201720389959.8U CN206945946U (en) 2017-04-14 2017-04-14 A kind of digital quantity inputs combining unit test system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201720389959.8U CN206945946U (en) 2017-04-14 2017-04-14 A kind of digital quantity inputs combining unit test system

Publications (1)

Publication Number Publication Date
CN206945946U true CN206945946U (en) 2018-01-30

Family

ID=61359414

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201720389959.8U Active CN206945946U (en) 2017-04-14 2017-04-14 A kind of digital quantity inputs combining unit test system

Country Status (1)

Country Link
CN (1) CN206945946U (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109960244A (en) * 2019-03-05 2019-07-02 中国电力科学研究院有限公司 Method and system for closed-loop detection of digital input merging unit

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109960244A (en) * 2019-03-05 2019-07-02 中国电力科学研究院有限公司 Method and system for closed-loop detection of digital input merging unit
CN109960244B (en) * 2019-03-05 2024-03-15 中国电力科学研究院有限公司 Closed loop detection method and system for digital input quantity merging unit

Similar Documents

Publication Publication Date Title
CN101291059A (en) Power quality analyzer and power quality analysis method for digital power system
WO2014194518A1 (en) Digital power source based on iec61850-9 sampling value and detection method thereof
CN201402286Y (en) Voltage drop detecting device of secondary circuit of voltage transformer
CN201312143Y (en) Measuring and control terminal of signal power supply
CN108490251B (en) A digital electric energy metering device that satisfies 3/2 wiring
CN103529327B (en) A kind of full station equipment for monitoring power quality and monitoring method being suitable for Intelligent transformer station
CN101340096B (en) Power Reactive Power Compensation Controller
CN206945946U (en) A kind of digital quantity inputs combining unit test system
CN103390898B (en) Dynamic reactive power compensation controller based on instant sequence component power
CN108535575A (en) Power quality analysis device based on short-distance wireless communication technology
CN105226828A (en) Based on the photovoltaic microgrid system of Internet of Things sensing technology
CN105699932B (en) High-precision intelligent substation digital electric energy meter calibration device
CN205749669U (en) A kind of three-phase remote bill control intelligent electric energy meter
CN201084258Y (en) A power supply quality analyzer with good compatibility
CN208254526U (en) Oil-field oil pumper multi-functional measurement instrument based on ZigBee
CN207586320U (en) A kind of electric energy quality monitoring terminal
CN107525978A (en) A kind of combining unit transient current method of testing and device based on transient state source
CN204576148U (en) A kind of microcomputer rotation speed signal device for genset
CN205429874U (en) Photovoltaic microgrid system based on thing networking sensing technology
CN105529946B (en) A kind of multilevel photovoltaic grid-connected inverter control system of quasi- Z sources cascade connection type and method
CN203786221U (en) Energy efficiency data acquisition terminal possessing two RS485 interfaces
CN207352407U (en) A kind of distribution parameter monitoring control system
CN110864728A (en) System and method for testing metering data acquisition terminal
CN205229327U (en) Power grid operation operating mode characteristic monitor
CN216434208U (en) Non-contact high-voltage current transformer testing device

Legal Events

Date Code Title Description
GR01 Patent grant
GR01 Patent grant