Summary of the invention
The objective of the invention is to overcome the deficiencies in the prior art, a kind of have the observing and controlling precision that satisfies the requirement of low pressure stillness wattless occurrence apparatus and the low pressure stillness wattless occurrence apparatus measurement and control unit of observing and controlling response speed are provided.
The technical scheme that realizes the object of the invention is: a kind of low pressure stillness wattless occurrence apparatus measurement and control unit, it comprises an A/D sample circuit, the 2nd A/D sample circuit, sync detection circuit, the FPGA control circuit, the DSP2812 control circuit, control signal output and input circuit and man-machine interface and communicating circuit, the one A/D sample circuit links to each other with the FPGA control circuit, the 2nd A/D sample circuit, control signal output and input circuit link to each other with the DSP2812 control circuit respectively with man-machine interface and communicating circuit, the signal output part of sync detection circuit links to each other with the signal input part of FPGA control circuit with the DSP2812 control circuit respectively, and the DSP2812 control circuit links to each other with the FPGA control circuit by one group of data-interface.
Further, a described A/D sample circuit and the 2nd A/D sample circuit constitute by voltage sensor circuit, current sensor circuit and A/D sampling A circuit.
Further, described sync detection circuit is made of with zero-crossing detection circuit three-phase synchrotrans circuit and waveform arrangement.
Further, described FPGA control circuit is made of EP3C40Q240C8N chip and peripheral auxiliary circuits thereof.
Further, described DSP2812 control circuit is made of TMS320F2812 chip and peripheral auxiliary circuits thereof.
After having adopted technique scheme; the one A/D sample circuit is realized the brachium pontis electric current of load current and low pressure stillness wattless occurrence apparatus is sampled; transformation result is delivered to the FPGA control circuit; the 2nd A/D sample circuit is realized that the dc voltage to the low pressure stillness wattless occurrence apparatus detects with A/D and is changed; transformation result is delivered to the DSP2812 control circuit; sync detection circuit is realized line voltage is carried out isolation detection; and the zero passage of voltage detected constantly; the line voltage zero cross signal of sync detection circuit output is sent to the FPGA control circuit; in fpga chip, realize detection idle to the three-phase in the load current and harmonic current by the calculating in the fpga chip; and the data-interface by FPGA control circuit and DSP control circuit obtains the control data of the DC voltage that the DSP2812 chip calculates; after in fpga chip, the control data of the three-phase idle component in the load current and harmonic current components and DC voltage being carried out addition; obtain the electric current output instruction signal of actual low-voltage reactive power generating means; the low-voltage reactive power generating means three-phase output current signal of electric current output instruction signal and reality is subtracted each other the controlled difference in back; should control difference by the data-interface of FPGA control circuit and DSP2812 control circuit delivers in the DSP2812 chip; realize the generation of low-voltage reactive power generating means pwm control signal by the PWM unit in the DSP2812 chip; the IGBT that delivers to the low pressure stillness wattless occurrence apparatus after this pwm control signal isolated through control signal output and input circuit controls it; and with the start and stop of outside; protection; and reseting controling signal exports through control signal and input circuit is delivered to the DSP2812 control circuit, to realize control and the defencive function to the low pressure stillness wattless occurrence apparatus.The low pressure stillness wattless occurrence apparatus can also be realized the service data and the state of this device are shown by the man-machine interface and the communicating circuit that link to each other with the DSP2812 control circuit, and by functions such as touch-screen realization parameter tuning and operations, thereby reach the observing and controlling precision and the observing and controlling response speed that need, realize the reactive-load dynamic compensation and the harmonic wave abatement functions of low pressure stillness wattless occurrence apparatus apace.
Low pressure stillness wattless occurrence apparatus measurement and control unit of the present invention has following advantage:
1, at the work characteristics of low pressure stillness wattless occurrence apparatus, Detecting Reactive Current and these two observing and controlling merits of DC voltage control are realized respectively by DSP2812 chip and fpga chip, guaranteed the functional reliability of low-voltage reactive power generating means;
2, the Detecting Reactive Current algorithm is realized by fpga chip, given full play to the characteristics of the parallel processing of fpga chip, guaranteed computing velocity;
3,, guaranteed that the fully digitalization of control realizes by the production of the realization of the PWM module in the DSP2812 chip to the pwm control signal of low pressure stillness wattless occurrence apparatus;
4, realized the man-machine interface of low pressure stillness wattless occurrence apparatus by touch-screen, more directly perceived than the mode of traditional keyboard and display screen, it is more convenient to operate.
Embodiment
Content of the present invention is easier to be expressly understood in order to make, and according to specific embodiment also in conjunction with the accompanying drawings, the present invention is further detailed explanation below.
Shown in Fig. 1 ~ 5, a kind of low pressure stillness wattless occurrence apparatus measurement and control unit, it comprises an A/D sample circuit 1-1, the 2nd A/D sample circuit 1-2, sync detection circuit 2, FPGA control circuit 3, DSP2812 control circuit 4, control signal output and input circuit 5 and man-machine interface and communicating circuit 6, the one A/D sample circuit 1-1 links to each other with FPGA control circuit 3, the 2nd A/D sample circuit 1-2, control signal output and input circuit 5 link to each other with DSP2812 control circuit 4 respectively with man-machine interface and communicating circuit 6, the signal output part of sync detection circuit 2 links to each other with the signal input part of FPGA control circuit 3 with DSP2812 control circuit 4 respectively, and DSP2812 control circuit 4 links to each other with FPGA control circuit 3 by one group of data-interface.The one A/D sample circuit 1-1 realizes the brachium pontis electric current of load current and low pressure stillness wattless occurrence apparatus is sampled; transformation result is delivered to FPGA control circuit 3; the 2nd A/D sample circuit 1-2 realizes that the dc voltage to the low pressure stillness wattless occurrence apparatus detects with A/D and changes; transformation result is delivered to DSP2812 control circuit 4; sync detection circuit 2 is realized line voltage is carried out isolation detection; and the zero passage of voltage detected constantly; the line voltage zero cross signal of sync detection circuit 2 outputs is sent to FPGA control circuit 3; in fpga chip, realize detection idle to the three-phase in the load current and harmonic current by the calculating in the fpga chip; and the data-interface by FPGA control circuit 3 and DSP control circuit 4 obtains the control data of the DC voltage that the DSP2812 chip calculates; after in fpga chip, the control data of the three-phase idle component in the load current and harmonic current components and DC voltage being carried out addition; obtain the electric current output instruction signal of actual low-voltage reactive power generating means; the low-voltage reactive power generating means three-phase output current signal of electric current output instruction signal and reality is subtracted each other the controlled difference in back; should control difference by FPGA control circuit 3 with the data-interface of DSP2812 control circuit 4 delivers in the DSP2812 chip; realize the generation of low-voltage reactive power generating means pwm control signal by the PWM unit in the DSP2812 chip; the IGBT that delivers to the low pressure stillness wattless occurrence apparatus after this pwm control signal isolated through control signal output and input circuit 5 controls it; and with the start and stop of outside; protection; and reseting controling signal exports through control signal and input circuit 5 is delivered to DSP2812 control circuit 4, to realize control and the defencive function to the low pressure stillness wattless occurrence apparatus.The low pressure stillness wattless occurrence apparatus can also be realized the service data and the state of this device are shown by the man-machine interface and the communicating circuit 6 that link to each other with DSP2812 control circuit 4, and by functions such as touch-screen realization parameter tuning and operations, thereby reach the observing and controlling precision and the observing and controlling response speed that need, realize the reactive-load dynamic compensation and the harmonic wave abatement functions of low pressure stillness wattless occurrence apparatus apace.
As shown in Figure 2, a described A/D sample circuit 1-1 and the second sample circuit 1-2 constitute by voltage sensor circuit, current sensor circuit and A/D sampling A circuit.Voltage sensor adopts the LV28 type Hall voltage sensor of Switzerland LEM company.Former limit of this sensor and secondary turn ratio are 2500:1000, just can obtain voltage on the former limit by multiply by conversion coefficient by measuring the voltage on the measuring resistance Rm on this voltage sensor M pin.Current sensor adopts the LT308 type Hall current sensor of Switzerland LEM company to realize the conversion of the secondary side current of load current mutual inductor in the electrical network respectively and realizes detection to low pressure static reacance generator output current.The resistance terminal voltage of the measuring junction by measuring this current sensor just can draw the value of the electric current on the former limit.Consider and to carry out the detection of threephase load electric current, three-phase brachium pontis electric current and DC voltage, device has designed the analog quantity input of maximum 12 passages, adopt the AD7656 chip of two high speeds and low-power consumption, this chip is 6 passage successive approximation type a/d C, includes a 2.5V reference voltage source and a reference buffer.This chip power-consumption is low, slewing rate is fast, device adopts two AD7656 chips to realize the analog quantity conversion altogether, wherein a slice AD7656 controls the sampling of realization to dc voltage by the DSP2812 chip, utilizes the hardware timer of DSP2812 chip to produce trigger pulse that timing cycle can regulate as the synchronous transition trigger signal of AD7656 chip channel.After the conversion of AD7656 chip finishes, utilize the external interrupt of the busy signal triggering DSP2812 chip of this chip, the DSP2812 chip reads the collection of sampled value realization to DC voltage successively from the AD7656 chip.A slice AD7656 chip is controlled realization by fpga chip the detection of threephase load electric current and three-phase brachium pontis electric current is produced the pulse of AD transition trigger by fpga chip in addition, behind this AD7656 chip EOC, the negative edge of its busy signal triggers fpga chip and carries out data read, and threephase load electric current and three-phase brachium pontis electric current are read in the fpga chip.
As shown in Figure 3, described sync detection circuit 2 is made of with zero-crossing detection circuit three-phase synchrotrans circuit and waveform arrangement.The low pressure stillness wattless occurrence apparatus needs the phase place of detection of grid voltage in order to guarantee operate as normal, adopts three-phase isolation transformer to constitute sync detection circuit among the present invention.Three phase network voltage is through transferring the ac voltage signal of 24V to behind the isolating transformer, put in order and zero-crossing detection circuit generation and the synchronous square-wave signal of three-phase voltage AC signal through waveform again, this square-wave signal is delivered to DSP control circuit 4 can carry out idle and detection and calculating harmonic current with FPGA control circuit 3.
As shown in Figure 4, described FPGA control circuit 3 is made of EP3C40Q240C8N chip and peripheral auxiliary circuits thereof.The detection that the DSP2812 chip is realized idle in the load current and harmonic component by FPGA control circuit 3, expansion I/O is realized the input and output of switching value, and finishes some simple logic functions.Fpga chip adopts the EP3C40Q240C8N chip of altera corp.This chip is the Cyclone III Series FPGA chip of altera corp, has 2475 logical blocks, and 128 I/O pins are arranged, and can programme easily to realize certain logical operation and processing capacity.The major function of fpga chip: 151 pins of fpga chip are outside 50MHz signal (active crystal oscillator) input, inner through clock PLL unit generation 100MHz, the 50MHz of fpga chip and the clock signal of 25MHz, offer FPGA control circuit inside and carry out idle and Detection ﹠ Controling harmonic current components; 41 of fpga chip, 43,44,45,46,49,50,51,52,55,56,57,63,68,69,70 pins constitute 16 A/D data-interface, receive 16 bit data pins of AD7656 chip, 18 of fpga chip, 21,22,37,39 pins are as the sheet choosing of A/D, read, write, conversion, the conversion and control pin is received the sheet choosing of AD7656 chip respectively, read, write, conversion, convert pin, realize starting the A/D conversion of AD7656 chip by the control of fpga chip, and the result is read in the fpga chip, to realize detection to threephase load electric current and three-phase brachium pontis electric current; Fpga chip carries out idle the threephase load electric current of reading and computing harmonic component, obtain corresponding idle and harmonic wave testing result, 93 of while fpga chip, 94,95,98,99,100,103,106,107,110,111,112,113,114,117,118 pins as with the data-interface of DSP2812 chip, from DSP2812, obtain the control data of dc voltage, after the control data addition with idle and harmonic wave testing result and dc voltage, subtract each other with three-phase brachium pontis electric current again and obtain corresponding difference, this difference is the control data of low pressure stillness wattless occurrence apparatus, then this control data is delivered to the DSP2812 chip by the FPGA control circuit 3 and the data-interface of DSP control circuit 4, realize the PWM of low pressure stillness wattless occurrence apparatus is controlled by the DSP2812 chip.
As shown in Figure 5, described DSP2812 control circuit 4 is made of TMS320F2812 chip and peripheral auxiliary circuits thereof.DSP2812 control circuit 4 adopts 32 fixed point type digital signal processor TMS320F2812 chips of American TI Company, it has powerful incident management ability and embedded Control function, have abundant sheet inner peripheral resource again, be specially adapted to large quantities of data processing.It possesses the operation that adds up of 16 * 16 and 32 * 32 multiplication; 16 * 16 two two totalizers; Breathe out not bus structure: unified addressing mode; Can reach program/data addressing space of 4MB; Has 128K Flash storer; The OTP type ROM (read-only memory) of 1K; 18K SARAM(monocycle single random access memory); Has 12 tunnel comparison/pulse-length modulations (PWM) passage; Can work in four 16 functional modules such as general purpose timer of six kinds of modes.The DSP2812 chip is mainly realized following function: the DSP2812 chip is the square-wave signal of 40 μ s by the timer generation cycle of inside, in order to realize control to the AD7656 chip, realization is read the testing result of dc voltage to the detection of DC quantity by the data-interface of DSP2812 control circuit 4; DSP2812 control circuit 4 compares the testing result of the dc voltage that obtains and default DC side control magnitude of voltage and control, and the control data of output dc voltage is given fpga chip; The DSP2812 chip obtains the control data of low pressure stillness wattless occurrence apparatus from fpga chip, and utilizes the PWM control module of dsp chip to generate the drive control signal of IGBT device in the low pressure stillness wattless occurrence apparatus; The DSP2812 chip receives control, the guard signal in the low pressure stillness wattless occurrence apparatus holding circuit, to realize low pressure stillness wattless occurrence apparatus protection control function.
Drive control signal by IGBT device in the low pressure stillness wattless occurrence apparatus of DSP2812 control circuit 4 generations, and the switch controlling signal of low pressure stillness wattless occurrence apparatus need be isolated through control signal output and input circuit 5, this circuit adopts the HCPL4504 high speed photo coupling of Agilent company to isolate, the low pressure stillness wattless occurrence apparatus control signal of outside input is also isolated through the TLP521 optocoupler simultaneously, has guaranteed the isolation of external control signal and low pressure stillness wattless occurrence apparatus measurement and control unit.
The low pressure stillness wattless occurrence apparatus is realized the human interface function by the DMT64480T056 touch-screen of Beijing Di Wenke skill company, parameter when the low pressure stillness wattless occurrence apparatus is moved shows, operating personnel realize parameter setting by this touch-screen, functions such as information reads, this low pressure stillness wattless occurrence apparatus is realized data transmission by serial communication, is furnished with two kinds of serial data communication interfaces of RS-232/485 in the low-voltage reactive power generating means measurement and control unit.
The concrete course of work of the present invention is as follows:
The present invention detects the phase place of three phase network voltage by sync detection circuit 2, voltage phase signal is delivered to DSP2812 chip and fpga chip, the DSP2812 chip produces the trigger pulse that each primitive period carries out 256 DC voltage A/D samplings according to the phase information of three-phase voltage and with control AD7656 chip the dc voltage of low pressure stillness wattless occurrence apparatus is sampled, and sampled value is delivered to the control data that obtains DC voltage in the DSP2812 control circuit through the PI digital computation; The voltage phase signal that is obtained by sync detection circuit 2 is also delivered to fpga chip simultaneously, fpga chip produces the A/D trigger pulse that each primitive period carries out 256 current samples according to this voltage phase signal, control AD7656 chip is sampled to threephase load electric current and low pressure stillness wattless occurrence apparatus three-phase output current, and sampled value delivered to fpga chip, after fpga chip obtains the current sample result, realize detection idle to the three-phase in the load current and harmonic current by the calculating in the fpga chip, and the data-interface by FPGA control circuit 3 and DSP control circuit 4 obtains the control data of the DC voltage that the DSP2812 chip calculates, after in fpga chip, the control data of the three-phase idle component in the load current and harmonic current components and DC voltage being carried out addition, obtain the electric current output instruction signal of actual low pressure stillness wattless occurrence apparatus, to subtract each other the controlled difference in back to the low-voltage reactive power generating means three-phase output current signal of electric current output instruction signal and reality, should control difference by FPGA control circuit 3 with the data-interface of DSP2812 control circuit 4 delivers in the DSP2812 chip, realize the generation of low pressure stillness wattless occurrence apparatus pwm control signal by the PWM unit in the DSP2812 chip, the conducting of delivering to the IGBT device drive IGBT device of low pressure stillness wattless occurrence apparatus after by the control signal output circuit this pwm control signal being isolated just can realize the inhibition of reactive-load compensation and harmonic wave with turn-offing; The protection of faults such as superpotential, excess current, the excess temperature when holding circuit of the present invention by external Design realizes the low pressure stillness wattless occurrence apparatus moved, and guard signal inputed to measurement and control unit by the control signal input circuit, the control by dsp chip realize when the low pressure stillness wattless occurrence apparatus breaks down the protection tripping operation with alarm; Measurement and control unit is realized data presentation and parameter setting by man-machine interface, and realizes data transmission by communicating circuit.
Above-described specific embodiment; purpose of the present invention, technical scheme and beneficial effect are further described; institute is understood that; the above only is specific embodiments of the invention; be not limited to the present invention; within the spirit and principles in the present invention all, any modification of being made, be equal to replacement, improvement etc., all should be included within protection scope of the present invention.