CN104181488A - AC voltage-resistant testing apparatus - Google Patents
AC voltage-resistant testing apparatus Download PDFInfo
- Publication number
- CN104181488A CN104181488A CN201410377013.0A CN201410377013A CN104181488A CN 104181488 A CN104181488 A CN 104181488A CN 201410377013 A CN201410377013 A CN 201410377013A CN 104181488 A CN104181488 A CN 104181488A
- Authority
- CN
- China
- Prior art keywords
- voltage
- signal
- withstand voltage
- hybrid processor
- infrared
- 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
- 238000012360 testing method Methods 0.000 title claims abstract description 52
- 238000005070 sampling Methods 0.000 claims abstract description 32
- 239000003990 capacitor Substances 0.000 claims abstract description 10
- 238000004891 communication Methods 0.000 claims description 25
- 238000000034 method Methods 0.000 claims description 9
- 230000003287 optical effect Effects 0.000 claims description 7
- 238000005259 measurement Methods 0.000 abstract description 14
- 238000013461 design Methods 0.000 description 7
- 230000006870 function Effects 0.000 description 7
- 238000012545 processing Methods 0.000 description 5
- 238000002474 experimental method Methods 0.000 description 4
- 239000004973 liquid crystal related substance Substances 0.000 description 4
- 238000012544 monitoring process Methods 0.000 description 3
- 230000005540 biological transmission Effects 0.000 description 2
- 238000006243 chemical reaction Methods 0.000 description 2
- 239000013078 crystal Substances 0.000 description 2
- 238000001514 detection method Methods 0.000 description 2
- 230000007613 environmental effect Effects 0.000 description 2
- 238000007689 inspection Methods 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000012937 correction Methods 0.000 description 1
- 230000007812 deficiency Effects 0.000 description 1
- 238000010586 diagram Methods 0.000 description 1
- 238000001914 filtration Methods 0.000 description 1
- 238000012546 transfer Methods 0.000 description 1
- 238000012795 verification Methods 0.000 description 1
Landscapes
- Measurement Of Current Or Voltage (AREA)
Abstract
本发明公开了交流耐压测试装置,对来自耐压仪设备电压通过电压取样电路进行采样,采样后的电压送入计量装置,计量装置将数据传送至混合处理器,所述混合处理器将数据在显示单元上显示出来;所述电压取样电路采用电阻分压的原理,串联了多个电阻,最末的两个电阻中每个电阻的两端均与对应的电容相并联。本装置首次实现了对耐压仪的精确测量,测量电压高。本发明装置测试电压范围为1000-5000V。装置准确度高。电压显示保留两位小数,精度达到0.1%,漏电流范围在0.05mA—0.25mA。
The invention discloses an AC withstand voltage testing device, which samples the voltage from a withstand voltage instrument through a voltage sampling circuit, sends the sampled voltage to a metering device, and the metering device transmits the data to a hybrid processor, and the hybrid processor converts the data It is displayed on the display unit; the voltage sampling circuit adopts the principle of resistive voltage division, and multiple resistors are connected in series, and the two ends of each resistor in the last two resistors are connected in parallel with the corresponding capacitor. The device realizes the accurate measurement of the withstand voltage instrument for the first time, and the measurement voltage is high. The test voltage range of the device of the present invention is 1000-5000V. The device has high accuracy. The voltage display retains two decimal places, the accuracy reaches 0.1%, and the leakage current range is 0.05mA-0.25mA.
Description
技术领域technical field
本发明涉及一种高压计量的交流耐压测试装置。The invention relates to an AC withstand voltage testing device for high voltage measurement.
背景技术Background technique
耐压仪属于测量器具,主要用于电力企业之间、供电企业与用户之间电表、采集器、终端等设备测试的仪器,而标准耐压测试仪及其检定装置又是衡量电表、采集器、终端等设备准确性的重要组成部分。为保证现场测试工作准确无误地顺利开展,交流耐压测试装置显得尤为重要。The withstand voltage tester is a measuring instrument, which is mainly used for the testing of electric meters, collectors, terminals and other equipment between power companies and between power supply companies and users. , terminal and other equipment accuracy is an important part. In order to ensure that the on-site test work is carried out accurately and smoothly, the AC withstand voltage test device is particularly important.
目前国际和国内还没有测试耐压仪准确的测量器具,而交流耐压测试项目是电能表强检项目之一,故对交流耐压仪的准确度提出了更高的要求,因此设计一款准确计量耐压仪的交流耐压测试装置显得特别重要,同时可以满足交流耐压测试装置的潜在市场需求。At present, there is no accurate measuring instrument for testing the voltage withstand tester in the world and at home, and the AC withstand voltage test item is one of the strong inspection items of the electric energy meter, so higher requirements are put forward for the accuracy of the AC withstand voltage tester, so a design is made It is particularly important to accurately measure the AC withstand voltage test device of the withstand voltage instrument, and at the same time, it can meet the potential market demand of the AC withstand voltage test device.
发明内容Contents of the invention
为解决现有技术存在的不足,本发明公开了交流耐压测试装置,解决当前电能表做耐压测试过程中耐压仪的准确度无法判定的问题,该测试装置准确度达到0.1%。装置设计简洁、直观、轻便,方便操作人员接线、测试、读取数据,能够极大的提高耐压测试的可靠性和准确性。In order to solve the deficiencies in the prior art, the invention discloses an AC withstand voltage test device, which solves the problem that the accuracy of the withstand voltage instrument cannot be judged in the current withstand voltage test process of the electric energy meter, and the accuracy of the test device reaches 0.1%. The design of the device is simple, intuitive, and portable, which is convenient for the operator to connect, test, and read data, and can greatly improve the reliability and accuracy of the withstand voltage test.
为实现上述目的,本发明的具体方案如下:To achieve the above object, the specific scheme of the present invention is as follows:
交流耐压测试装置,对来自耐压仪设备的电压通过电压取样电路进行采样,采样后的电压送入计量装置,计量装置将数据传送至混合处理器,所述混合处理器将数据在显示单元上显示出来;所述电压取样电路采用电阻分压的原理,串联了多个电阻,最末的两个电阻均与对应的电容相并联后接地;The AC withstand voltage test device samples the voltage from the withstand voltage instrument through the voltage sampling circuit, and the sampled voltage is sent to the metering device, and the metering device transmits the data to the hybrid processor, and the hybrid processor displays the data on the display unit It is shown on the above; the voltage sampling circuit adopts the principle of resistance voltage division, and multiple resistors are connected in series, and the last two resistors are connected in parallel with the corresponding capacitors and then grounded;
所述电压取样电路与计量装置的V2N/V2P电压通道相连,利用计量装置的完全差动输入方式,对来自耐压仪的高压信号通过电压取样电路变为幅值为0-1V的交流信号,通过电压通道送入计量装置。The voltage sampling circuit is connected to the V2N/V2P voltage channel of the metering device, and the high-voltage signal from the withstand voltage instrument is converted into an AC signal with an amplitude of 0-1V through the voltage sampling circuit by using the complete differential input mode of the metering device. It is sent to the metering device through the voltage channel.
在测试装置上电或计量装置受干扰复位时,由混合处理器通过SPI口对校表数据进行更新;SIG信号是用来通知混合处理器的一个握手信号,因此混合处理器对SIG信号进行监控,为使在上电和复位后计量装置能与混合处理器同步进行SPI操作,其复位过程保持RESET信号大于20us低电平,芯片复位,此时SIG输出高电平,然后混合处理器将RESET信号拉高,设定时间后,计量装置完成初始化,SIG输出低电平信号,然后进行SPI操作。When the test device is powered on or the metering device is disturbed and reset, the hybrid processor updates the calibration data through the SPI port; the SIG signal is a handshake signal used to notify the hybrid processor, so the hybrid processor monitors the SIG signal , in order to enable the metering device to perform SPI operation synchronously with the hybrid processor after power-on and reset, the reset process keeps the RESET signal greater than 20us low level, the chip is reset, at this time SIG outputs high level, and then the hybrid processor will reset RESET The signal is pulled high, after the set time, the metering device is initialized, the SIG outputs a low level signal, and then the SPI operation is performed.
所述计量装置的RESET端口和混合处理器的SIG输入口均接入去耦电容。Both the RESET port of the metering device and the SIG input port of the hybrid processor are connected with decoupling capacitors.
所述混合处理器还与红外通讯单元、显示单元、存储单元、时钟电路、键盘及电池相连。The hybrid processor is also connected with an infrared communication unit, a display unit, a storage unit, a clock circuit, a keyboard and a battery.
所述计量装置通过SPI接口与混合处理器通讯。The metering device communicates with the mixing processor through an SPI interface.
所述存储单元包括存储芯片AT24LC256和Flash存储器AT45DB161D,用于对数据进行存储。The storage unit includes a storage chip AT24LC256 and a Flash memory AT45DB161D for storing data.
所述红外通讯单元包括红外接收单元、红外发送单元及红外唤醒单元。The infrared communication unit includes an infrared receiving unit, an infrared sending unit and an infrared wake-up unit.
所述红外通讯单元初始状态/CVIR为高电平,当有外部红外信号照射时,光敏二极管V8接收光信号导通,三极管V10的基极为高电平,三极管V10导通,IR-R变为低电平,此时混合处理器控制/CVIR引脚为低电平,打开接收管VI管脚,VIR为变为高电平,接收光信号,经过调制解调后发出,IR-T管脚由混合处理器控制,产生PWM。The initial state of the infrared communication unit/CVIR is at a high level. When an external infrared signal is irradiated, the photosensitive diode V8 receives the light signal and conducts, the base of the triode V10 is at a high level, the triode V10 conducts, and the IR-R becomes Low level, at this time, the hybrid processor controls the /CVIR pin to be low level, open the receiving tube VI pin, VIR becomes high level, receives the optical signal, sends it out after modulation and demodulation, and the IR-T pin Controlled by a hybrid processor, generating PWM.
所述测试装置的外部还包括绝缘外壳。The outside of the test device also includes an insulating shell.
本装置利用电阻分压的原理,对来自耐压仪设备(1000V-5000V)电压进行采样,采样电压通过电阻分压电路送入计量芯片ATT7026E中,ATT7026E与MSP430F5438通过SPI接口进行通讯,采样值通过液晶显示出来。This device uses the principle of resistance voltage division to sample the voltage from the withstand voltage instrument (1000V-5000V). The sampling voltage is sent to the metering chip ATT7026E through the resistance voltage division circuit. ATT7026E communicates with MSP430F5438 through the SPI interface. LCD display.
外部耐压仪电压通过装置外壳的接线端子接入,耐压仪开始工作时,测试装置通过计量电路测出耐压仪的输出电压,通过液晶显示出来。The voltage of the external withstand voltage instrument is connected through the terminal of the device shell. When the withstand voltage instrument starts to work, the test device measures the output voltage of the withstand voltage instrument through the metering circuit and displays it through the liquid crystal.
混合处理器,通过SPI接口与ATT7026E进行通讯,ATT7026E通过采样电路对取样电压进行计量,计量值通过液晶屏幕显示出来,采样电路通过电阻分压的原理,通过存储芯片AT24LC256和Flash存储器AT45DB161D进行数据存储,当CPU处于低功耗状态时,可通过红外唤醒电表,读取测试记录和时间等,同时通讯也利用红外接收管HM238RL-W进行校表等操作。也可以按键唤醒装置,进行上下翻屏显示。The hybrid processor communicates with ATT7026E through the SPI interface. ATT7026E measures the sampling voltage through the sampling circuit, and the measurement value is displayed on the LCD screen. The sampling circuit uses the principle of resistor voltage division to store data through the memory chip AT24LC256 and Flash memory AT45DB161D , when the CPU is in a low power consumption state, the meter can be woken up by infrared, and the test record and time can be read. At the same time, the infrared receiving tube HM238RL-W is used for communication to perform operations such as meter calibration. You can also press the button to wake up the device and flip the screen up and down.
由耐压仪发送的高压信号(1000V-5000V),经电压取样电路1分压后变为幅值在0-1V的电压,通过V2N/V2P管脚送至计量芯片控制电路2,V2N/V2P电压信道的正、负模拟输入引脚。完全差动输入方式,正常工作最大输入Vpp为±1.5V,两个引脚内部都有ESD保护电路,最大承受电压为±6V,计量芯片采集到电压值通过SPI串行通信接口送入MCU芯片控制电路3中,计量芯片的SPI接口采用从属方式工作,使用2条控制线和2条数据线:CS、SCLK、DIN和DOUT。MCU控制电路3把采集到的耐压仪上的电压值通过LCD显示电路6显示出来,当需要红外唤醒时,启动红外通讯电路5,红外通讯通过一体化的红外接收器IRM3638L作为接收管,选用高效率的IR7393C作为发射管。每次做耐压实验的数据通过存储器用事件存储下来,事件包含实验时的时间、最大电压值、持续时间,可以分屏显示。存储电路7包含串行E2PROM和FLASH存储器,串行EEPROM,存储容量为256Kbit,它与MCU采用I2C接口进行通讯。耐压测试装置一般工作在低功耗状态,做耐压测试时才需要唤醒CPU,打开电源电路。采用电池供电,电池电压由VIN输入,使能端EN置高,经过线性降压芯片LDO后降为5V,达到CPU的工作电压。The high-voltage signal (1000V-5000V) sent by the withstand voltage instrument is divided into 0-1V by the voltage sampling circuit and sent to the metering chip control circuit 2 through the V2N/V2P pin, V2N/V2P Positive and Negative Analog Input Pins for Voltage Channels. Completely differential input mode, the maximum input Vpp in normal operation is ±1.5V, there are ESD protection circuits inside the two pins, the maximum withstand voltage is ±6V, the voltage value collected by the metering chip is sent to the MCU chip through the SPI serial communication interface In the control circuit 3, the SPI interface of the metering chip works in a slave mode, using 2 control lines and 2 data lines: CS, SCLK, DIN and DOUT. The MCU control circuit 3 displays the collected voltage value on the withstand voltage instrument through the LCD display circuit 6. When the infrared wake-up is required, the infrared communication circuit 5 is started. The infrared communication uses the integrated infrared receiver IRM3638L as the receiving tube. The high-efficiency IR7393C is used as the emission tube. The data of each withstand voltage test is stored in the memory as an event. The event includes the time of the test, the maximum voltage value, and the duration, and can be displayed on a split screen. Storage circuit 7 includes serial E2PROM and FLASH memory, serial EEPROM, storage capacity is 256Kbit, it adopts I2C interface to communicate with MCU. The withstand voltage test device generally works in a low power consumption state, and it is only necessary to wake up the CPU and turn on the power supply circuit when performing the withstand voltage test. It is powered by battery, the battery voltage is input by VIN, the enable terminal EN is set high, and it is reduced to 5V after the linear step-down chip LDO, reaching the working voltage of the CPU.
交流耐压测试装置的工作原理:通过电阻分压电路采集耐压仪产生的高压信号,送入计量芯片进行计量,计量芯片与MCU通过SPI接口进行通讯,计量芯片为高精度三相有功无功电能专用计量芯片ATT7026E。ATT7026E集成了六路二阶Σ-ΔADC,参考电压电路以及所有功率、能量、有效值、功率因数以及频率测量的数字信号处理等电路。ATT7026E能够测量各相以及合相的有功功率、无功功率、视在功率、有功能量以及无功能量,同时还能测量各相电流、电压有效值、功率因数、相角、频率等参数,充分满足三相复费率多功能电能表的需求。ATT7026A支持电阻网路校表以及软件校表两种方式。电阻网络校表适用于电压通道采用电阻网络取样的系统应用,通过简单的调节电阻网络就可以将系统误差校正在1级表的要求以内。而软件校表是通过相关的校表寄存器对增益、相位进行补偿,可以将系统误差校正在0.5级表的要求以内。有功、无功频率校验输出CF1、CF2提供瞬时有功、无功功率信息,可以直接接到标准表,进行误差校正。ATT7026E内部的电压监控电路可以保证加电和断电时正常工作。ATT7026E片内包含一个(AVcc)电源监控电路,连续对模拟电源进线监控。当电源电压低于4V±5%时,芯片将被复位。这有利于电路上电和掉电时芯片的正确启动和正常工作。电源监控电路被安排在延时和滤波环节中,这在最大程度上防止有电源噪声引发的错误,为保证芯片正常工作应对电源去耦,使AVcc的波动不超过5V±5%。The working principle of the AC withstand voltage test device: the high voltage signal generated by the withstand voltage instrument is collected through the resistor divider circuit, and sent to the metering chip for metering. The metering chip communicates with the MCU through the SPI interface. The metering chip is a high-precision three-phase active and reactive power ATT7026E special metering chip for electric energy. ATT7026E integrates six channels of second-order Σ-ΔADC, reference voltage circuit and all power, energy, effective value, power factor and digital signal processing circuits for frequency measurement. ATT7026E can measure the active power, reactive power, apparent power, active energy and reactive energy of each phase and combined phase, and can also measure the parameters of each phase current, voltage effective value, power factor, phase angle, frequency, etc. Fully meet the needs of three-phase multi-rate multi-function electric energy meter. ATT7026A supports two methods of resistance network calibration and software calibration. Resistance network meter calibration is suitable for system applications where the voltage channel uses resistance network sampling. By simply adjusting the resistance network, the system error can be corrected within the requirements of the level 1 meter. The software calibration is to compensate the gain and phase through the relevant calibration registers, which can correct the system error within the requirements of the 0.5 level meter. Active and reactive frequency calibration outputs CF1 and CF2 provide instantaneous active and reactive power information, which can be directly connected to the standard meter for error correction. The voltage monitoring circuit inside the ATT7026E can ensure normal operation when power is on and off. ATT7026E contains a (AVcc) power supply monitoring circuit on-chip, which continuously monitors the analog power supply incoming line. When the supply voltage is lower than 4V±5%, the chip will be reset. This is conducive to the correct startup and normal operation of the chip when the circuit is powered on and powered off. The power supply monitoring circuit is arranged in the delay and filtering links, which prevents errors caused by power supply noise to the greatest extent. In order to ensure the normal operation of the chip, the power supply should be decoupled so that the fluctuation of AVcc does not exceed 5V±5%.
红外通信以红外作为介质来传送数据信息,由红外接收器和红外发射器来完成信号的无线收发。在发射端,对发送的数字信号经适当的编码和调制后,送入电光变换电路,驱动红外二极管发射红外光脉冲,在接收端,红外接收器对收到的红外信号进行光电转换,并进行调制和解码后,恢复原信号。红外发射电路由调制电路、驱动电路及红外发射器件组成,红外接收电路由红外接收器件、前置放大电路、解调电路等构成。Infrared communication uses infrared as the medium to transmit data information, and the infrared receiver and infrared transmitter complete the wireless transmission and reception of signals. At the transmitting end, after proper encoding and modulation, the sent digital signal is sent to the electro-optical conversion circuit, which drives the infrared diode to emit infrared light pulses. At the receiving end, the infrared receiver performs photoelectric conversion on the received infrared signal and performs After modulation and decoding, the original signal is restored. The infrared transmitting circuit is composed of a modulation circuit, a driving circuit and an infrared transmitting device, and the infrared receiving circuit is composed of an infrared receiving device, a preamplifying circuit, and a demodulating circuit.
红外通讯容易受到环境条件的限制及干扰,而采用高发射功率的红外发射管或带有滤光器的接收器可以大大提高通讯的抗干扰能力。本装置设计选用高效率的IR7393C作为发射管,一体化的红外接收器IRM3638L作为接收管。其中,IR7393C的光功率达到150mW,能有效增强红外通讯的抗干扰能力;IRM3638L接收器将光敏二极管、前置放大器和解调器封装为一体,具有接收红外信号、内置信号放大、38kHZ滤波、波形检测输出的作用。Infrared communication is easily restricted and interfered by environmental conditions, and the use of high-power infrared emitting tubes or receivers with optical filters can greatly improve the anti-interference ability of communication. The design of this device uses the high-efficiency IR7393C as the transmitting tube, and the integrated infrared receiver IRM3638L as the receiving tube. Among them, the optical power of IR7393C reaches 150mW, which can effectively enhance the anti-interference ability of infrared communication; The role of the detection output.
本方案使用的E2PROM采用ATMEL公司的AT24LC256,Flash采用ATMEL公司的AT45DB161D Flash存储器,时钟芯片为EPSON公司的RX-8205,LCD液晶为HQ71291-01(高耐久)。The E2PROM used in this program adopts AT24LC256 of ATMEL Company, the Flash adopts AT45DB161D Flash memory of ATMEL Company, the clock chip is RX-8205 of EPSON Company, and the LCD liquid crystal is HQ71291-01 (high durability).
本发明的有益效果:Beneficial effects of the present invention:
传统三相电表做耐压试验时,耐压仪的误差较大,精度不高,无法精确测量三相电表所承受的耐压值,耐压实验是电能表实验的强检项目之一,所以耐压测试需要精确测量。本发明采用高精度计量采样芯片,在输入动态工作范围(1000:1)内,非线性测量误差小于0.1%。计量准确,耐压事件可以查询,可以保存10次耐压事件,采集数据更加可靠。When the traditional three-phase electric meter is used for the withstand voltage test, the error of the withstand voltage instrument is relatively large, and the accuracy is not high, and it is impossible to accurately measure the withstand voltage value of the three-phase electric meter. The withstand voltage test is one of the mandatory inspection items of the electric energy meter experiment, so Hipot testing requires precise measurements. The invention adopts a high-precision measurement and sampling chip, and within the input dynamic working range (1000:1), the non-linear measurement error is less than 0.1%. The measurement is accurate, the withstand voltage event can be queried, and 10 withstand voltage events can be saved, and the collected data is more reliable.
1、本装置首次实现了对耐压仪的精确测量,测量电压高。本发明装置测试电压范围为1000-5000V。1. For the first time, this device realizes the accurate measurement of the withstand voltage instrument, and the measurement voltage is high. The test voltage range of the device of the present invention is 1000-5000V.
2、装置准确度高。电压显示保留两位小数,精度达到0.1%,漏电流范围在0.05mA—0.25mA。2. The device has high accuracy. The voltage display retains two decimal places, the accuracy reaches 0.1%, and the leakage current range is 0.05mA-0.25mA.
3、耐压实验的数据通过存储器用事件存储下来,事件包含实验时的时间、最大电压值、持续时间,可以分屏显示。3. The data of the withstand voltage experiment is stored in the event through the memory. The event includes the time of the experiment, the maximum voltage value, and the duration, which can be displayed on a split screen.
4、装置供电简单,采用电池供电,功耗小,大约为8mA,能够记录1万次以上耐压试验。4. The power supply of the device is simple, it adopts battery power supply, the power consumption is small, about 8mA, and it can record more than 10,000 withstand voltage tests.
5、装置设计轻便,简洁、直观,有较好的应用推广前景。5. The design of the device is light, simple and intuitive, and has a good prospect for application and promotion.
附图说明Description of drawings
图1为本发明的耐压测试装置的工作原理框图;Fig. 1 is the block diagram of working principle of voltage withstand test device of the present invention;
图2为电阻分压采样电路;Fig. 2 is a resistor divider sampling circuit;
图3计量芯片ATT7026E单元;Figure 3 metering chip ATT7026E unit;
图4为MCU单元MSP430F5438;Figure 4 is the MCU unit MSP430F5438;
图5为红外通讯单元;Fig. 5 is an infrared communication unit;
图6液晶显示电路;Figure 6 liquid crystal display circuit;
图7存储单元;Figure 7 storage unit;
图8电源电路;Figure 8 power supply circuit;
图9时钟电路;Figure 9 clock circuit;
图中,1高压输入信号,2电压取样电路,3计量芯片ATT7026E,4MCU单元,5红外通讯单元,6显示单元LCD,7存储单元,8时钟电路,9按键,11LDO芯片,12电池。In the figure, 1 high-voltage input signal, 2 voltage sampling circuit, 3 metering chip ATT7026E, 4 MCU unit, 5 infrared communication unit, 6 display unit LCD, 7 storage unit, 8 clock circuit, 9 keys, 11 LDO chip, 12 battery.
具体实施方式:Detailed ways:
下面结合附图对本发明进行详细说明:The present invention is described in detail below in conjunction with accompanying drawing:
如图1所示,交流耐压测试装置,交流耐压仪的高压输入信号1传送至电压取样电路2,电压取样电路2对高压输入信号1进行电压取样,电压取样电路2将取样后的信号传送至计量芯片ATT7026E3,计量芯片ATT7026E3对接受信号进行计量处理后传送至MCU单元4,MSP430F5438,MCU单元4将数据在显示单元LCD6上显示,MCU单元4还与按键9相连,用于接收按键9操作的指令,MCU单元4还与红外通讯单元5、存储单元7及时钟电路8进行通信,MCU单元4及计量芯片ATT7026E3均与LDO芯片11相连,LDO芯片11与电池12相连。As shown in Figure 1, in the AC withstand voltage test device, the high voltage input signal 1 of the AC withstand voltage instrument is transmitted to the voltage sampling circuit 2, and the voltage sampling circuit 2 performs voltage sampling on the high voltage input signal 1, and the voltage sampling circuit 2 converts the sampled signal Send to the metering chip ATT7026E3, the metering chip ATT7026E3 performs metering processing on the received signal and then sends it to the MCU unit 4, MSP430F5438, the MCU unit 4 displays the data on the display unit LCD6, and the MCU unit 4 is also connected to the button 9 for receiving the button 9 Instructions for operation, the MCU unit 4 also communicates with the infrared communication unit 5 , the storage unit 7 and the clock circuit 8 , the MCU unit 4 and the metering chip ATT7026E3 are connected to the LDO chip 11 , and the LDO chip 11 is connected to the battery 12 .
电压取样电路把采集到的耐压仪高压信号转化为低压信号,送入计量芯片中,计量芯片通过控制芯片进行通讯,采集到的电压值通过液晶电路显示出来,耐压仪发出高压信号作为一个事件通过存储芯片E2PROM电路存储起来,电源电路包括线性稳压器LDO芯片,工作时打开LDO芯片。The voltage sampling circuit converts the collected high-voltage signal of the withstand voltage instrument into a low-voltage signal, and sends it to the metering chip. The metering chip communicates through the control chip, and the collected voltage value is displayed through the liquid crystal circuit. Events are stored through the memory chip E2PROM circuit, and the power supply circuit includes a linear voltage regulator LDO chip, and the LDO chip is turned on during work.
采用计量芯片的V2N/V2P电压通道,完全差动输入方式,来自耐压仪的高压信号通过电阻分压电路变为幅值为0-1V的交流信号,通过电压通道送入计量芯片。计量芯片的ADC为16位,ADC采样速率可达到3.2KHZ。可以准确采集耐压仪输出的高压信号,误差在0.1%,同时可以记录高压信号持续的时间,计量芯片采样速度特别快,持续时间记录完整,高压事件通过存储芯片保存下来。The V2N/V2P voltage channel of the metering chip is adopted, and the full differential input method is used. The high-voltage signal from the withstand voltage instrument is converted into an AC signal with an amplitude of 0-1V through a resistor divider circuit, and sent to the metering chip through the voltage channel. The ADC of the metering chip is 16 bits, and the sampling rate of the ADC can reach 3.2KHZ. It can accurately collect the high-voltage signal output by the withstand voltage instrument, with an error of 0.1%. At the same time, it can record the duration of the high-voltage signal. The sampling speed of the metering chip is very fast, and the duration record is complete. High-voltage events are saved through the memory chip.
测试时,交流耐压仪高压侧输出,接在测试装置的强电端子,交流耐压仪低压侧输出,接在测试装置的弱电端子。During the test, the output of the high-voltage side of the AC withstand voltage meter is connected to the strong current terminal of the test device, and the output of the low-voltage side of the AC withstand voltage meter is connected to the weak current terminal of the test device.
本装置利用电阻分压的原理,对来自耐压仪设备(1000V-5000V)电压进行采样,采样电压通过电阻分压电路送入计量芯片ATT7026E中,ATT7026E与MSP430F5438通过SPI接口进行通讯,采样值通过液晶显示出来。This device uses the principle of resistance voltage division to sample the voltage from the withstand voltage instrument (1000V-5000V). The sampling voltage is sent to the metering chip ATT7026E through the resistance voltage division circuit. ATT7026E communicates with MSP430F5438 through the SPI interface. LCD display.
图2为电阻分压采样电路,采用电阻分压的原理,串联了67个300K电阻(20.1M),本装置中电压通道采用ATT7026E中的V2P/V2N两个引脚。芯片采样电压值范围为0-1V,,外部高压为5000V时采样电压0.25V,外部电压为1000V时采样电压为0.05V,都在采样范围内。串联多个电阻,一是考虑电阻的温漂影响,二是考虑电阻的分压左右,本文选择的电阻在15ppm以下,确保了测量精度。Figure 2 is a resistance voltage sampling circuit, using the principle of resistance division, 67 300K resistors (20.1M) are connected in series, and the voltage channel in this device uses two pins V2P/V2N in ATT7026E. The sampling voltage range of the chip is 0-1V, the sampling voltage is 0.25V when the external high voltage is 5000V, and the sampling voltage is 0.05V when the external voltage is 1000V, all within the sampling range. To connect multiple resistors in series, one is to consider the influence of the temperature drift of the resistors, and the other is to consider the voltage division of the resistors. The resistors selected in this paper are below 15ppm to ensure the measurement accuracy.
图3计量芯片ATT7026E单元,ATT7026E为高精度三相有功无功电能专用计量芯片,ATT7026E集成了六路二阶Σ-ΔADC,参考电压电路以及所有功率、能量、有效值、功率因数以及频率测量的数字信号处理等电路。ATT7026E与MCU之间有6条接线,其中4条是SPI通讯接口线CS、SCLK、DIN、DOUT,一条ATT7026E的复位控制线,一条握手信号线SIG。ATT7026E提供一个SPI接口,方便与外部MCU之间进行计量参数以及校表参数的传递。Figure 3 metering chip ATT7026E unit, ATT7026E is a high-precision three-phase active and reactive energy dedicated metering chip, ATT7026E integrates six second-order Σ-ΔADC, reference voltage circuit and all power, energy, effective value, power factor and frequency measurement digital Signal processing and other circuits. There are 6 wires between ATT7026E and MCU, 4 of which are SPI communication interface lines CS, SCLK, DIN, DOUT, a reset control line of ATT7026E, and a handshake signal line SIG. ATT7026E provides an SPI interface to facilitate the transfer of metering parameters and calibration parameters with an external MCU.
ATT7026E本身SPI读写有很完善的校验手段,但还更需要加强信号线的抗干扰能力,因此在设计中SPI通讯接口连线应尽可能的短些,为使SPI传输信号不受到干扰应在周围用地线包起来。为消除接收信号的高频干扰,可在SPI信号线上串联一个10Ω的电阻,并在信号输入端加一个去耦电容,这可近似构成一个低通滤波器,去耦电容可适当的选大些,以增强抗干扰能力。SPI接口中CS、SCLK、DIN所串电阻和所并电容要尽量靠近ATT7026E芯片,DOUT端所串电阻和所并电容要靠近MCU。ATT7026E itself has a very complete verification method for SPI reading and writing, but it also needs to strengthen the anti-interference ability of the signal line. Therefore, the connection line of the SPI communication interface should be as short as possible in the design. In order to prevent the SPI transmission signal from being interfered, it should be Wrap it with ground wire around it. In order to eliminate the high-frequency interference of the received signal, a 10Ω resistor can be connected in series on the SPI signal line, and a decoupling capacitor can be added to the signal input end, which can approximately form a low-pass filter, and the decoupling capacitor can be selected appropriately. Some, in order to enhance the anti-interference ability. In the SPI interface, the series resistors and capacitors of CS, SCLK, and DIN should be as close as possible to the ATT7026E chip, and the series resistors and capacitors of the DOUT terminal should be close to the MCU.
在上电或ATT7026E受干扰复位时,必须由外部MCU通过SPI口对校表数据进行更新,以保证计量的准确性,SIG信号就是用来通知外部MCU的一个握手信号,因此MCU必须对SIG信号进行监控。为使在上电和复位后ATT7026E能与MCU同步进行SPI操作,其复位过程必须保持RESET信号大于20us低电平,芯片复位,此时SIG输出高电平,然后MCU将RESET信号拉高,大约500us,ATT7026E完成初始化,SIG输出低电平信号,此过程之后可进行SPI操作,为增强抗干扰能力在RESET端口和MCU的SIG输入口都应接入0.1uF的去耦电容。When the power is turned on or the ATT7026E is disturbed and reset, the external MCU must update the calibration data through the SPI port to ensure the accuracy of the measurement. The SIG signal is a handshake signal used to notify the external MCU, so the MCU must update the SIG signal. to monitor. In order to enable ATT7026E to perform SPI operation synchronously with the MCU after power-on and reset, the reset process must keep the RESET signal at a low level greater than 20us, the chip is reset, at this time SIG outputs a high level, and then the MCU pulls the RESET signal high, about After 500us, ATT7026E completes the initialization, and SIG outputs a low-level signal. After this process, SPI operation can be performed. In order to enhance the anti-interference ability, a 0.1uF decoupling capacitor should be connected to the RESET port and the SIG input port of the MCU.
图4为MCU单元MSP430F5438,作为核心控制芯片,MSP430系列单片机是美国德州仪器(TI)推出的16位超低功耗微控制器,因其具有精简指令集的混合处理器,所以称之为混合处理器。具有以下优点:Figure 4 shows the MCU unit MSP430F5438. As the core control chip, the MSP430 series microcontroller is a 16-bit ultra-low power microcontroller launched by Texas Instruments (TI). Because it has a hybrid processor with a simplified instruction set, it is called a hybrid processor. processor. Has the following advantages:
(1)处理能力强(2)运算速度快,MSP430系列单片机能在25MHZ晶体的驱动下,实现40nS的指令周期。16位的数据宽度、以及多功能的硬件乘法器,能实现数字信号处理的某些算法(如FFT等)。(3)超低功耗,单片机的电源电压采用的是1.8V-3.6V电压,因而可使其在1MHZ的时钟条件下运行时,芯片的电流最低会在165uA左右,RAM保持模式下的最低功耗只有0.1uA。(4)片内资源丰富,256K闪存,16KRAM,12位ADC,4个USCI,32位HW乘法器。(1) Strong processing capability (2) Fast computing speed, MSP430 series single-chip microcomputer can realize the instruction cycle of 40nS under the drive of 25MHZ crystal. 16-bit data width and multi-functional hardware multiplier can realize some algorithms of digital signal processing (such as FFT, etc.). (3) Ultra-low power consumption, the power supply voltage of the single-chip microcomputer is 1.8V-3.6V voltage, so when it can run under the clock condition of 1MHZ, the minimum current of the chip will be about 165uA, and the minimum current of the chip in RAM hold mode The power consumption is only 0.1uA. (4) Rich on-chip resources, 256K flash memory, 16K RAM, 12-bit ADC, 4 USCIs, 32-bit HW multiplier.
图5为红外通讯单元,红外通讯单元包括3部分,(一)为红外接收单元,(二)为红外发送单元,(三)为红外唤醒单元。Fig. 5 is an infrared communication unit, and the infrared communication unit includes three parts, (1) is an infrared receiving unit, (2) is an infrared sending unit, and (3) is an infrared wake-up unit.
针对实现手持调校等功能的需要,系统引入了红外通讯。同时红外通讯容易受到环境条件的限制及干扰,而采用高发射功率的红外发射管或带有滤光器的接收器可以大大提高通讯的抗干扰能力。本装置设计选用高效率的IR7393C作为发射管,一体化的红外接收器IRM3638L作为接收管。其中,IR7393C的光功率达到150mW,能有效增强红外通讯的抗干扰能力;IRM3638L接收器将光敏二极管、前置放大器和解调器封装为一体,具有接收红外信号、内置信号放大、38kHZ滤波、波形检测输出的作用。In order to realize the needs of functions such as hand-held adjustment, the system introduces infrared communication. At the same time, infrared communication is easily restricted and interfered by environmental conditions, and the use of high-power infrared emission tubes or receivers with optical filters can greatly improve the anti-interference ability of communication. The design of this device uses the high-efficiency IR7393C as the transmitting tube, and the integrated infrared receiver IRM3638L as the receiving tube. Among them, the optical power of IR7393C reaches 150mW, which can effectively enhance the anti-interference ability of infrared communication; The role of the detection output.
工作原理:初始状态/CVIR为高电平,当有外部红外信号照射时,光敏二极管V8接收光信号导通,V10的基极为高电平,V10导通,IR-R变为低电平,此时CPU控制/CVIR引脚为低电平,打开VI管脚,VIR为变为高电平。接收光信号,经过调制解调后发出。IR-T管脚由CPU控制,产生38KHZ的PWM。Working principle: the initial state/CVIR is high level, when there is an external infrared signal irradiated, the photosensitive diode V8 receives the light signal and turns on, the base of V10 is high level, V10 turns on, IR-R becomes low level, At this time, the CPU controls the /CVIR pin to be at a low level, turn on the VI pin, and VIR is at a high level. The optical signal is received and sent out after modulation and demodulation. The IR-T pin is controlled by the CPU to generate 38KHZ PWM.
图6液晶显示电路,液晶显示为一块独立的模块,以插件的方式与主板相连,液晶驱动芯片选用BU97950,该芯片支持35*8=280段显示驱动,2线串行接口SCA、SDA,内置液晶驱动电源电路。Figure 6 LCD circuit, the LCD is an independent module, which is connected to the motherboard by plug-in, the LCD driver chip is BU97950, which supports 35*8=280 segment display driver, 2-wire serial interface SCA, SDA, built-in LCD drive power supply circuit.
图7存储单元,存储单元包含(一)串行E2PROM(二)FLASH存储器。串行E2PROM,作为计量的装置有许多数据如电压电流系数是变动的或可以通过正常手段修改的,但是不能因系统中的干扰而改写,更不能因停电等事件而丢失,因此装置必须满足数据的存储,而串行E2PROM是本装置适合的器件,本装置使用的是串行EEPROM,存储容量为256Kbit,它与MCU采用I2C接口进行通讯。电路如图7所示,A0A1A2为地址输入脚,用于多片AT24LC256同时使用时,接相应的高低电平可以作为片选,第7脚WP为保护脚,SCL为读/写的时钟控制端,SDA为读写的数据输出/入口。Fig. 7 storage unit, storage unit comprises (one) serial E2PROM (two) FLASH memorizer. Serial E2PROM, as a metering device, has a lot of data such as voltage and current coefficients that change or can be modified by normal means, but cannot be rewritten due to interference in the system, let alone lost due to events such as power outages, so the device must meet the data requirements. The storage, and the serial E2PROM is suitable for this device. This device uses a serial EEPROM with a storage capacity of 256Kbit. It communicates with the MCU using the I2C interface. The circuit is shown in Figure 7. A0A1A2 is the address input pin. When multiple AT24LC256s are used at the same time, the corresponding high and low levels can be used as chip selection. The seventh pin WP is the protection pin, and SCL is the read/write clock control terminal. , SDA is the data output/entry for reading and writing.
FLASH存储器,Flash存储器是一种可在系统进行电擦写,掉电后信息不丢失的存储器,它具有低功耗、大容量、擦写速度快等特点,本装置采用AT45DB161D Flash存储器,具有4096页,每页512个字节,总容量为16Mbit,内部集成两个数据缓存SPRAM,对外提供SPI接口。FLASH memory, Flash memory is a memory that can be electrically erased and written in the system, and the information will not be lost after power failure. It has the characteristics of low power consumption, large capacity, and fast erasing and writing speed. This device uses AT45DB161D Flash memory, with Page, 512 bytes per page, with a total capacity of 16Mbit, internally integrates two data cache SPRAMs, and provides an SPI interface externally.
图8电源电路Figure 8 power supply circuit
测试装置测试时不需要外部供电,由电池进行供电,电池采用武汉力源的CR-P2电池,电池电压为6V,芯片输入电压由电池提供,本文使用线性稳压电源芯片RP130N501D,芯片具有反应速度快,输出纹波小,工作产生的噪声低等优点,芯片输出电压为5V,测试装置在低功耗设计方面进行了考虑,电池的容量1500mAh,耐压测试时启动电池,实验结束后关闭电池,电池功耗大约为8mA,大约能做1万次耐压测试。The test device does not need external power supply when testing, and it is powered by a battery. The battery uses CR-P2 batteries from Wuhan Liyuan. Fast, small output ripple, low noise generated by work, etc. The output voltage of the chip is 5V. The test device has been considered in the design of low power consumption. The capacity of the battery is 1500mAh. The battery is turned on during the withstand voltage test, and the battery is turned off after the experiment is over. , the battery power consumption is about 8mA, and about 10,000 withstand voltage tests can be done.
图9时钟电路,实时时钟采用EPSON公司的RX8025-T芯片,其特点如下:Figure 9 clock circuit, the real-time clock uses the RX8025-T chip of EPSON Company, and its characteristics are as follows:
(1)内置高精度32.768KHZ的DTCX(数字温度补偿晶体振荡器)(2)支持I2C总线功能的高速模式(400K)(3)定时报警功能(4)固定周期定时中断功能(5)时间更新中断功能(6)32.768KHZ频率输出(具有时能0E功能)(7)闰年自动调节功能(8)宽范围接口电压:2.2V到5.5V(9)宽范围的时间保持电压1.8V到5.5V(10)低电流功耗:0.8uA/3V。(1) Built-in high-precision 32.768KHZ DTCX (Digital Temperature Compensated Crystal Oscillator) (2) High-speed mode (400K) supporting I2C bus function (3) Timing alarm function (4) Fixed-period timing interrupt function (5) Time update Interrupt function (6) 32.768KHZ frequency output (with time energy 0E function) (7) Leap year automatic adjustment function (8) Wide range interface voltage: 2.2V to 5.5V (9) Wide range of time holding voltage 1.8V to 5.5V (10) Low current consumption: 0.8uA/3V.
Claims (9)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410377013.0A CN104181488A (en) | 2014-08-01 | 2014-08-01 | AC voltage-resistant testing apparatus |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410377013.0A CN104181488A (en) | 2014-08-01 | 2014-08-01 | AC voltage-resistant testing apparatus |
Publications (1)
Publication Number | Publication Date |
---|---|
CN104181488A true CN104181488A (en) | 2014-12-03 |
Family
ID=51962690
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410377013.0A Pending CN104181488A (en) | 2014-08-01 | 2014-08-01 | AC voltage-resistant testing apparatus |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104181488A (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104407211A (en) * | 2014-12-06 | 2015-03-11 | 宁波迦南电子有限公司 | Power consumption metering device |
CN104578038A (en) * | 2015-01-30 | 2015-04-29 | 国家电网公司 | Real-time voltage monitoring and overvoltage protection device and method for communication chips |
CN104577942A (en) * | 2015-01-30 | 2015-04-29 | 国家电网公司 | Monitoring device and monitoring method for real-time voltage of communication chip |
CN108414922A (en) * | 2018-06-11 | 2018-08-17 | 南京尤尼泰信息科技有限公司 | A kind of test device suitable for plurality of specifications crystal oscillator |
-
2014
- 2014-08-01 CN CN201410377013.0A patent/CN104181488A/en active Pending
Non-Patent Citations (2)
Title |
---|
丛培建: "三相电子式多功能电能表的研究", 《中国优秀硕士学位论文全文数据库 工程科技II辑》 * |
钜泉光电科技(上海)股份有限公司: "《ATT7022E/26E/28E用户手册》", 14 January 2014 * |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104407211A (en) * | 2014-12-06 | 2015-03-11 | 宁波迦南电子有限公司 | Power consumption metering device |
CN104407211B (en) * | 2014-12-06 | 2017-02-08 | 宁波迦南智能电气股份有限公司 | Power consumption metering device |
CN104578038A (en) * | 2015-01-30 | 2015-04-29 | 国家电网公司 | Real-time voltage monitoring and overvoltage protection device and method for communication chips |
CN104577942A (en) * | 2015-01-30 | 2015-04-29 | 国家电网公司 | Monitoring device and monitoring method for real-time voltage of communication chip |
CN104578038B (en) * | 2015-01-30 | 2018-01-02 | 国家电网公司 | Real-time voltage monitoring, over-pressure safety device and method for communication chip |
CN108414922A (en) * | 2018-06-11 | 2018-08-17 | 南京尤尼泰信息科技有限公司 | A kind of test device suitable for plurality of specifications crystal oscillator |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN204514991U (en) | A kind of intelligent electric meter | |
CN104181488A (en) | AC voltage-resistant testing apparatus | |
CN102507907A (en) | Novel portable soil moisture monitoring instrument based on GPS (Global Position System)/GPRS (General Packet Radio Service)/GSM (Global System for Mobile Communications) | |
CN204314387U (en) | A kind of precision resister measurement mechanism based on electric bridge | |
CN201917610U (en) | Electric energy metering device | |
CN108562795A (en) | A kind of solar cell impedance measurement system | |
CN210199218U (en) | Multifunctional electric energy quality analyzer | |
CN203551009U (en) | Handheld archival repository temperature hygrometer | |
CN202058089U (en) | Digital power supply and external displaying device connected with same | |
CN206960301U (en) | A kind of environment measuring portable equipment | |
CN205427047U (en) | Little resistance meter of intelligence | |
CN100437404C (en) | Automatic metering controller | |
CN204389714U (en) | A kind of weather monitoring instrument realizing Temperature and Humidity based on SHT2X chip | |
CN204359833U (en) | A kind of intelligent electric energy meter be user-friendly to | |
CN212622805U (en) | A New Type of Digital Electric Energy Meter Circuit | |
CN204065382U (en) | Ac voltage withstanding proving installation | |
CN209400618U (en) | High-voltage cable monitoring device | |
CN110320487B (en) | 4-20 MA calibrator | |
CN205430174U (en) | Real -time measurement system of solar cell panel voltage electric current | |
CN108303586A (en) | A kind of power test device | |
CN203672963U (en) | Digital voltmeter based on singlechip | |
CN201247285Y (en) | Electronic three-phase power electric energy meter | |
CN206096403U (en) | Storage battery detection device based on DSP | |
CN201247286Y (en) | Electronic three-phase multifunctional electric energy meter | |
CN201514435U (en) | Electric power parameter meter |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into 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: 20141203 |