Multi-data voltage frequency signal acquisition system and method of dynamic voltage restorer

文档序号:1542599 发布日期:2020-01-17 浏览:12次 中文

阅读说明:本技术 动态电压恢复器的多数据电压频率信号采集系统及方法 (Multi-data voltage frequency signal acquisition system and method of dynamic voltage restorer ) 是由 徐杰 葛愿 高文根 孙驷洲 庞伟 雍鉨晨 田智汇 于 2019-11-06 设计创作,主要内容包括:本发明公开了一种电压频率信号采集系统,包括采集模块、主控模块、检测模块,所述采集模块与主控模块连接,所述采集模块用于根据主控模块的控制指令将采集的电压信息传输至主控模块,所述主控模块根据传来的电压信息处理后得到电压频率信号;所述主控模块与检测模块连接,所述检测模块用于对由采集模块传来的数据进行检测故障检测并将故障信号反馈给主控模块,所述主控模块根据故障检测模块确认额是否重新驱动采集模块上传采集的电压信息。本发明的优点在于:采用三个模块分贝采集三相的电压频率信号,具备模块化的特点,有利于集成和故障检测;对检测来的数据进行故障判断,出现故障后及时驱动采集模块重新采集,可以保证采集数据的稳定。(The invention discloses a voltage frequency signal acquisition system which comprises an acquisition module, a main control module and a detection module, wherein the acquisition module is connected with the main control module, the acquisition module is used for transmitting acquired voltage information to the main control module according to a control instruction of the main control module, and the main control module processes the transmitted voltage information to obtain a voltage frequency signal; the main control module is connected with the detection module, the detection module is used for detecting faults of the data transmitted by the acquisition module and feeding fault signals back to the main control module, and the main control module determines whether to re-drive the acquisition module to upload acquired voltage information according to the fault detection module. The invention has the advantages that: three modules are adopted to collect three-phase voltage frequency signals, so that the modularized characteristic is achieved, and integration and fault detection are facilitated; and the detected data is subjected to fault judgment, and the acquisition module is timely driven to acquire again after a fault occurs, so that the stability of the acquired data can be ensured.)

1. A multidata voltage frequency signal acquisition system of a dynamic voltage restorer is characterized in that: the voltage frequency detection device comprises an acquisition module, a main control module and a detection module, wherein the acquisition module is connected with the main control module and is used for transmitting acquired voltage information to the main control module according to a control instruction of the main control module, and the main control module processes the transmitted voltage information to obtain a voltage frequency signal; the main control module is connected with the detection module, the detection module is used for detecting faults of the data transmitted by the acquisition module and feeding fault signals back to the main control module, and the main control module determines whether to re-drive the acquisition module to upload acquired voltage information according to the fault detection signals.

2. The multiple data voltage frequency signal acquisition system of a dynamic voltage restorer of claim 1, wherein: the main control module comprises a DSP processor.

3. The multiple data voltage frequency signal acquisition system of a dynamic voltage restorer of claim 2, wherein: the number of the acquisition modules is three, and the acquisition modules correspond to one phase of three-phase power respectively.

4. The multiple data voltage frequency signal acquisition system of a dynamic voltage restorer of claim 3, wherein: the acquisition module comprises a Hall voltage sensor, a phase-locked loop circuit, a sampling and holding circuit, an AD conversion circuit and an addition circuit, wherein the output end of the Hall voltage sensor is respectively connected with the sampling and holding circuit and the phase-locked loop circuit, the output end of the phase-locked loop circuit outputs synchronous sampling pulses to the sampling and holding circuit for monitoring the sampling frequency of voltage signals, the output end of the sampling and holding circuit is connected with the AD conversion circuit, and the output end of the AD conversion circuit is connected with an I/O interface of the DSP controller after passing through the addition circuit.

5. The multiple data voltage frequency signal acquisition system of a dynamic voltage restorer of claim 4, wherein: the detection module is used for detecting voltage information input by an I/O interface of the DSP controller, when voltage input by any one of the three voltage acquisition modules has a fault or no voltage data is transmitted to the I/O, the data fault transmitted by the acquisition module corresponding to the I/O interface is judged, and at the moment, the DSP controller outputs a control signal to the acquisition module to resample data.

6. A multi-data voltage frequency signal acquisition method of a dynamic voltage restorer is characterized by comprising the following steps: the three voltage sensors respectively and correspondingly acquire voltage data of one phase of three-phase power, fault judgment is carried out according to acquisition signals of each phase, acquisition is carried out again when a fault occurs, when a fault does not occur, sampling is carried out on the three-phase signals, acquisition and synchronization of the detected voltage signals are realized through a phase-locked loop, and then the acquired voltage signals are sent into an I/O port of the DSP controller after passing through an addition circuit.

Technical Field

The invention relates to the technical field of voltage detection, in particular to a system for collecting multiple data voltage frequency signals for a dynamic voltage restorer system.

Background

Signal acquisition has more important meaning to feedback control, data statistics etc. of electric power system, and how can effectual collection to multiple different voltage signal is the important step of solving many problems. The multi-data multifunctional voltage and frequency signal acquisition template in the market is less in existence, complex in design and expensive in price.

Disclosure of Invention

The invention aims to overcome the defects of the prior art and provide an acquisition system capable of accurately acquiring voltage frequency signals, which is used for acquiring the voltage frequency signals of a power grid.

In order to achieve the purpose, the invention adopts the technical scheme that: a voltage frequency signal acquisition system comprises an acquisition module, a main control module and a detection module, wherein the acquisition module is connected with the main control module, the acquisition module is used for transmitting acquired voltage information to the main control module according to a control instruction of the main control module, and the main control module processes the transmitted voltage information to obtain a voltage frequency signal; the main control module is connected with the detection module, the detection module is used for detecting faults of the data transmitted by the acquisition module and feeding fault signals back to the main control module, and the main control module determines whether to re-drive the acquisition module to upload acquired voltage information according to the fault detection module.

The main control module comprises a DSP processor.

The number of the acquisition modules is three, and the acquisition modules respectively comprise an A-phase acquisition module, a B-phase acquisition module and a C-phase acquisition module which respectively correspond to one of the three phases of electricity. The three modules are respectively adopted to detect one phase in an integrated mode of the acquisition modules, so that the failure modules can be conveniently confirmed in time during failure, and the corresponding one-phase acquisition modules of the drive control can conveniently detect data again.

The acquisition module comprises a Hall voltage sensor, a phase-locked loop circuit, a sampling and holding circuit, an AD conversion circuit and an addition circuit, wherein the output end of the Hall voltage sensor is respectively connected with the sampling and holding circuit and the phase-locked loop circuit, the output end of the phase-locked loop circuit outputs synchronous sampling pulses to the sampling and holding circuit for monitoring the sampling frequency of voltage signals, the output end of the sampling and holding circuit is connected with the AD conversion circuit, and the output end of the AD conversion circuit is connected with an I/O interface of the DSP controller after passing through the addition circuit.

The detection module is used for detecting voltage information input by an I/O interface of the DSP controller, when voltage input by any one of the three voltage acquisition modules has a fault or no voltage data is transmitted to the I/O, the data fault transmitted by the acquisition module corresponding to the I/O interface is judged, and at the moment, the DSP controller outputs a control signal to the acquisition module to resample data.

A multi-data voltage frequency signal acquisition method of a dynamic voltage restorer comprises the steps of correspondingly acquiring voltage data of one phase of three-phase power through three voltage sensors, judging faults of acquired signals of each phase, acquiring again when faults occur, sampling the three-phase signals, realizing acquisition and synchronization of the acquired voltage signals with detected voltage signals through a phase-locked loop when the faults do not occur, and sending the acquired voltage signals to an I/O port of a DSP controller after passing through an addition circuit.

The invention has the advantages that: three modules are adopted to collect three-phase voltage frequency signals, so that the modularized characteristic is achieved, and integration and fault detection are facilitated; the detected data is subjected to fault judgment, and the acquisition module is driven to acquire again after a fault occurs, so that the stability of the acquired data can be ensured; the input voltage signal is input into the DSP after passing through the addition circuit, so that the damage of the DSP caused by overlarge input voltage signal is avoided. The sampling system based on the DSP realizes the sampling of the DSP circuit in the dynamic voltage device by having the addition circuit.

Drawings

The contents of the expressions in the various figures of the present specification and the labels in the figures are briefly described as follows:

FIG. 1 is a schematic diagram of the structure of an acquisition module of the present invention;

FIG. 2 is a block diagram of the overall architecture of the acquisition system of the present invention;

FIG. 3 is a flow chart of the acquisition principle of the acquisition system of the present invention;

FIG. 4 is a circuit diagram of a phase locked loop;

FIG. 5 is a schematic diagram of a phase locked loop;

FIG. 6 is a schematic diagram of a DSP chip;

FIG. 7 is a sine wave of the measured voltage and a square wave of the same frequency output by the comparator of the phase locked loop;

fig. 8 is a waveform diagram of an output of a phase locked loop.

Detailed Description

The following description of preferred embodiments of the invention will be made in further detail with reference to the accompanying drawings.

The invention provides a voltage frequency acquisition system, which is used for acquiring voltage frequency data of a load or a network side, and as shown in figures 1, 2 and 3, the voltage frequency signal acquisition system comprises an acquisition module, a main control module and a detection module, wherein the acquisition module is connected with the main control module, the acquisition module is used for transmitting acquired voltage information to the main control module according to a control instruction of the main control module, and the main control module processes the transmitted voltage information to obtain a voltage frequency signal; the main control module is connected with the detection module, the detection module is used for detecting faults of the data transmitted by the acquisition module and feeding fault signals back to the main control module, and the main control module determines whether to re-drive the acquisition module to upload acquired voltage information according to the fault detection signals.

The main control module adopts a DPS control system taking a DSP processor as a core. The number of the acquisition modules is three, and the acquisition modules respectively comprise an A-phase acquisition module, a B-phase acquisition module and a C-phase acquisition module which respectively correspond to one of the three phases of electricity. The three modules are respectively adopted to detect one phase in an integrated mode of the acquisition modules, so that the failure modules can be conveniently confirmed in time during failure, and the corresponding one-phase acquisition modules of the drive control can conveniently detect data again.

The acquisition module comprises a Hall voltage sensor, a phase-locked loop circuit, a sampling and holding circuit, an AD conversion circuit and an addition circuit, wherein the output end of the Hall voltage sensor is respectively connected with the sampling and holding circuit and the phase-locked loop circuit, the output end of the phase-locked loop circuit outputs synchronous sampling pulses to the sampling and holding circuit for monitoring the sampling frequency of voltage signals, the output end of the sampling and holding circuit is connected with the AD conversion circuit, and the output end of the AD conversion circuit is connected with an I/O interface of the DSP controller after passing through the addition circuit.

The detection module is used for detecting voltage information input by an I/O interface of the DSP controller, when voltage input by any one of the three voltage acquisition modules has a fault or no voltage data is transmitted to the I/O, the data fault transmitted by the acquisition module corresponding to the I/O interface is judged, and at the moment, the DSP controller outputs a control signal to the acquisition module to resample data.

As shown in fig. 3, a method for acquiring multiple data voltage frequency signal acquisition systems of a dynamic voltage restorer includes acquiring voltage data of one phase of three-phase power respectively and correspondingly by three voltage sensors, performing fault discrimination on the acquired signal of each phase, acquiring again when a fault occurs, sampling three-phase signals when a fault does not occur, synchronizing the acquisition with the detected voltage signal by a phase-locked loop, and sending the acquired voltage signal to an I/O port of a DSP controller after passing through an adder circuit. And collecting voltage frequency signals from the load side and feeding the voltage frequency signals back to the network side. Whether the sampling voltage is effective or not is determined by calculating whether the voltage is within the upper limit and the lower limit and whether the compensation is effective or not through the network side. If the sampling voltage does not meet the requirement, the network side calculation cycle is entered again until the sampling voltage meets the requirement, and then the sampling can be carried out. The acquisition module version detection system provided by the invention has the advantages of accurate version detection of the acquisition module, simple and convenient operation, high efficiency and low labor cost.

The invention has the characteristic of sharing single-phase acquisition and three-phase acquisition, respectively acquires the voltage frequency data of each phase through the acquisition modules corresponding to the A phase, the B phase and the C phase, forms three-phase acquisition by single-phase acquisition, has the characteristics of modularization and integration, forms three phases by single phase, and has the characteristic of convenient fault detection.

The model of the voltage sensor who this application adopted is VSM025A type Hall voltage sensor's components and parts parameter, and the main advantage of using this chip lies in measuring direct current, interchange, pulse and various irregular voltage under the electrical isolation condition to realize multi-functional many input voltage signal's collection.

In the figure 1, the main acquisition schematic diagram of the acquisition system of the present invention includes a main phase-locked loop link and a power grid voltage sampling technology, the phase-locked loop link has the function that the phase-locked loop can generate synchronous sampling pulses, and the input voltage frequency is strictly monitored by the sampling pulse frequency. Because the phase-locked loop is a closed-loop regulating system, the phase of the two signals is continuously reduced and tends to 0, and then the phase-locked loop enters a locking state, so that the synchronization of sampling pulses and detected voltage is realized. The grid voltage sampling technology has the important role in sampling precision in sampling detection, so that a high-voltage differential amplification input port is selected for grid voltage.

Fig. 4 is a circuit diagram of a phase-locked loop according to the present invention, and fig. 5 is a schematic diagram of the phase-locked loop. The chip TLC272 is a power supply selection chip; for realizing the phase-locked loop, the pin No. 3 is connected with the pin No. 14 on the chip CD4518, the pin No. 4 is connected with the pin No. 1 on the CD4518, the pin No. 2 is connected with the gate chip 7408, the pin No. 5 is grounded, the pins No. 6 and 7 are indirectly connected with a 0.25uf capacitor, the pin No. 8 is grounded, the pin No. 9 is grounded through a 100K resistor R3 and a capacitor C2, the pin No. 11 is grounded through a resistor R1, the pin No. 13 is grounded through a 1M resistor R4 and a 100K resistor R3 capacitor C2, and the pin No. 14 is connected with the node B16 and connected with a 15V power supply. The meaning of CD4046 phase locking is automatic control of phase synchronization, and an automatic control closed-loop system which has the function of completing phase synchronization of two electric signals is called a phase-locked loop, which is called PLL for short. The phase-locked loop is mainly composed of a Phase Comparator (PC) and a Voltage Controlled Oscillator (VCO). The low-pass filter is composed of three parts. The chip CD4518 is a binary, decimal (8421 code) synchronous up-counter; power selection chip TLC 272: the AND gate realizes logical AND operation; VSM025A type Hall voltage sensor's components and parts: the No. 1 pin is connected with the anode of a power supply, the No. 2 pin is connected with the cathode of the power supply through a resistor R7, the No. 3 pin is connected with a-15V power supply, the No. 4 pin is connected with a +15V power supply, and the No. 5 pin is grounded through a 100K resistor R6 and a 100K variable resistor R5.

The addition circuit adopts a single power supply for power supply, an onboard negative pressure generator selects a power supply range according to needs, and therefore when the effective output range of signals is determined to supply 12V: the onboard internal voltage is effectively +9V and-9V, the effective output theoretical range is +/-7.5V, and when power is supplied for 24V: the on-board internal voltage is effectively +12V and-12V, and the effective output theoretical range is +/-11.5V. The addition or subtraction function of the two paths of alternating current and direct current voltages can be realized; the addition and subtraction operation circuit is formed by taking an integrated operational amplifier as a core element, a plurality of input signals respectively act on a non-inverting input end or an inverting input end of the operational amplifier, the addition and subtraction operation of the input signals is realized, and an external resistor determines a proportion system of the input signals. The input end of the operational amplifier in the addition and subtraction operation circuit has a common-mode signal component, and in order to make the common-mode output zero and compensate the average offset current and the drift influence of the operational amplifier, the input end of the operational amplifier is generally required to be balanced in resistance, that is, the resistances connected to the inverting input end and the non-inverting input end of the operational amplifier are equal.

The three-phase voltage of the acquisition system has the advantages of single-phase realization, three-phase test, modularization characteristic, integration and fault detection, acquisition of the voltage and frequency of an input signal, modularization characteristic of the overall effect, easiness in detection of the sampling module, easiness in detection of 3 groups of single phases, and easiness in realization of single-phase and three-phase modules and fault detection. The three-phase acquisition system is through three single-phase acquisition systems, and the signal of gathering is introduced DSP master control system and is carried out signal processing, realizes the phase-locked loop waveform of input co-frequency square wave, N times pulse, reverse phase output waveform, and the signal of exporting DSPI/O mouth via addition circuit etc.. In fig. 3, a three-phase signal sampling flow chart is shown, a sampling signal enters a comparison circuit through a sensor, the magnitude of two voltages is compared, wherein the magnitude relation of the two input voltages is represented by the high level or the low level of an output voltage, and when the voltage of a + input end is higher than that of a-input end, the output of a voltage comparator is high level; when the voltage at the plus input end is lower than that at the minus input end, the output of the voltage comparator is low level; can work in a linear working area and a nonlinear working area.

And further outputting a control sampling signal, judging a fault signal, entering a comparison circuit with the sampling signal for sampling again if the fault signal is identified, entering an integrated module for three-phase signal acquisition if the fault signal is not identified, synchronizing the sampling electric signal and the measured voltage signal, and finally inputting the sampling electric signal and the measured voltage signal to a main control MCU.

Fig. 6 is a schematic diagram of a chip pin of the DSP used in the present application, and a wiring diagram of the DSP and the sampling interface portion is shown.

The software module is used for sampling the alternating current signal set to 220V and 50HZ voltage at the input end. As shown in fig. 7, the sine wave with the waveform of the measured voltage passes through the voltage sensor VSM025A and then through the comparator LM339 to become a square wave with the same frequency (in fig. 7, the waveform of the measured voltage is a square wave with the same frequency at the lower part and the lower part of the sine wave at the upper part). As shown in fig. 8 (the upper half of square wave is the output waveform of the pll phase comparator, and the lower half is the pulse waveform of the pll internal vco), the phase comparator outputs the waveform, and the pulse signal is the pulse waveform of the pll internal vco. The waveform can be changed along with the frequency of the measured signal, the sampling pulse frequency can be always kept in a period and has a fixed sampling point, and the measurement accuracy is further improved.

It is clear that the specific implementation of the invention is not restricted to the above-described embodiments, but that various insubstantial modifications of the inventive process concept and technical solutions are within the scope of protection of the invention.

10页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:一种利用MUSIC分类的负荷开关事件检测方法和系统

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!