CN103605028A - PWM testing system based on single period multipoint sampling - Google Patents

PWM testing system based on single period multipoint sampling Download PDF

Info

Publication number
CN103605028A
CN103605028A CN201310611927.4A CN201310611927A CN103605028A CN 103605028 A CN103605028 A CN 103605028A CN 201310611927 A CN201310611927 A CN 201310611927A CN 103605028 A CN103605028 A CN 103605028A
Authority
CN
China
Prior art keywords
pwm
module
plate module
sampling
semaphore
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.)
Granted
Application number
CN201310611927.4A
Other languages
Chinese (zh)
Other versions
CN103605028B (en
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.)
State Grid Corp of China SGCC
China EPRI Science and Technology Co Ltd
Original Assignee
State Grid Corp of China SGCC
China EPRI Science and Technology Co Ltd
Smart Grid Research Institute of SGCC
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 State Grid Corp of China SGCC, China EPRI Science and Technology Co Ltd, Smart Grid Research Institute of SGCC filed Critical State Grid Corp of China SGCC
Priority to CN201310611927.4A priority Critical patent/CN103605028B/en
Publication of CN103605028A publication Critical patent/CN103605028A/en
Application granted granted Critical
Publication of CN103605028B publication Critical patent/CN103605028B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Testing Electric Properties And Detecting Electric Faults (AREA)
  • Supply And Distribution Of Alternating Current (AREA)

Abstract

The invention provides a PWM testing system based on single period multipoint sampling. The PWM testing system comprises a PWM converter valve control plate module, a communication management plate module and a wave recording device. The PWM converter valve control plate module is communicated with the wave recording device through the communication management plate module. According to the PWM testing system based on the single period multipoint sampling, multipoint sampling is carried out on a PWM waveform in a single sampling period, and actual sampling frequency for PWM signals is increased by several times. The PWM testing system can be configured flexibly, and 16-point sampling in a single period, 32-point sampling in a single period, 48-point sampling in a single period and the like are arranged according to demands to improve the sampling frequency and to enable recording waves to be tested more precisely. The PWM testing system can be applied to a static SVG, a STATCOM, a UPFC and a valve control device of a high-voltage direct current transmission device.

Description

A kind of PWM test macro based on monocycle multi-point sampling
Technical field
The present invention relates to a kind of test macro, specifically relate to a kind of PWM test macro based on monocycle multi-point sampling.
Background technology
At present, power electronics PWM current transformer is widely used in electric power quality control field, as Active Power Filter-APF APF, SVG, STATCOM etc.What the one-piece construction of current transformer corresponding controllers generally adopted is the composition form that (be responsible for adjusting and control protection), valve control (power model detection trigger), cell controller (power model interface) are protected in control.
For the duty of Real-Time Monitoring converter device, the host computer of device generally has the functions such as remote measurement, remote signalling, record ripple.Wherein recording wave energy can be when device stable state or plant failure transient state, and starting record ripple, for the previous period and afterwards the unit simulation amount of a period of time, switching signal etc. are deposited in host computer constantly.General every power frequency period 128 points (sample frequency 6.4kHz, sampling period 156us) or 256 points ((sample frequency 12.8kHz, sampling period 78us) selected of signal sampling frequency of current transformer.
For analog quantitys such as current/voltages, owing to being that power frequency changes, when being 156us or 78us, can obtain comparatively complete record waveform in the sampling period.But for the test of PWM waveform output in PWM current transformer, because its switching frequency scope arrives several KHz at hundreds of Hz, minimum pulse width is tens of us, if the sampling period is 156us or 78us, cannot obtain accurate PWM record waveform.
In the power system fault recorder of PWM current transformer host computer and special use, all only for the record ripple passage of analog quantity, input and output amount, there is no the special record wave energy for PWM waveform at present.Electric system RTDS(Real-Time Digital Simulator, real-timedigital simulation system) device users can utilize RTDS to carry out the long sampling of small step to cell controller PWM output and obtain PWM record ripple signal, but RTDS device is expensive, use comparatively complicated.
Summary of the invention
In order to overcome above-mentioned the deficiencies in the prior art, the invention provides a kind of PWM test macro based on monocycle multi-point sampling, for the valve control device of static synchronous reacance generator SVG, static synchronous reactive compensator STATCOM, THE UPFC UPFC, high-voltage dc transmission electric installation.
In order to realize foregoing invention object, the present invention takes following technical scheme:
The invention provides a kind of PWM test macro based on monocycle multi-point sampling, described system comprises PWM current transformer valve control plate module, telecommunication management plate module and wave recording device; Described PWM current transformer valve control plate module is communicated by letter with wave recording device by telecommunication management plate module.
Described PWM current transformer valve control plate module comprises FPGA module and DSP module; Described FPGA module is according to sinusoidal pulse width modulation method, and relatively modulating wave and carrier wave are big or small in real time, generates PWM waveform, with described DSP module communication.
Described FPGA module, within the single sampling period, is utilized high frequency clock, and the multi-point sampling PWM high-low signal of constant duration just changes PWM with 1 and 0 form and deposits in same record ripple semaphore; FPGA module sends to DSP module record ripple semaphore, and when sample-synchronous signal is effective, produces look-at-me to DSP module.
N sampled point was set in the single sampling period and samples, N gets 16,32 or 48.
Described DSP module interrupts processing to the look-at-me receiving, control address bus and data bus and relevant read-write enable signal, DSP module receives record ripple semaphore simultaneously, and start backboard communication, control backboard communication sequential, through core bus, record ripple semaphore is sent to telecommunication management plate module.
Described telecommunication management plate module comprises SRAM storer and NAND FLASH storer; The ripple semaphore of pre-recording that described SRAM storer receives for storing described telecommunication management plate module, described NAND FLASH storer is for storing the record ripple semaphore starting after record ripple.
Described telecommunication management plate module is passed to described wave recording device according to record ripple agreement the record ripple semaphore of storage.
Described wave recording device, within the single sampling period, is resolved PWM high-low signal and according to time order and function order, constant duration completes the record ripple described point in single sampling period.
Compared with prior art, beneficial effect of the present invention is:
1) can be used in the valve control device of static synchronous reacance generator SVG, static synchronous reactive compensator STATCOM, THE UPFC UPFC, high-voltage dc transmission electric installation;
2) the present invention, to PWM waveform multi-point sampling within the single sampling period, has improved several times the actual samples frequency to pwm signal;
3) realize PWM testing cost lower, simple and reliable, without complicated and expensive RTDS device;
4) can flexible configuration, can be according to demand, be arranged to the samplings such as monocycles 16 point, 32 points, at 48, further to improve sample frequency, make test record waveform more accurate.
Accompanying drawing explanation
Fig. 1 is the PWM test system structure block diagram based on monocycle multi-point sampling;
Fig. 2 is the PWM test process figure of monocycle multi-point sampling.
Embodiment
Below in conjunction with accompanying drawing, the present invention is described in further detail.
The invention provides a kind of PWM test macro based on monocycle multi-point sampling, described system comprises PWM current transformer valve control plate module, telecommunication management plate module and wave recording device; Described PWM current transformer valve control plate module is communicated by letter with wave recording device by telecommunication management plate module.
Described PWM current transformer valve control plate module comprises FPGA module and DSP module; Described FPGA module is according to sinusoidal pulse width modulation method, and relatively modulating wave and carrier wave are big or small in real time, generates PWM waveform, with described DSP module communication.
Described FPGA module, within the single sampling period, is utilized high frequency clock, and the multi-point sampling PWM high-low signal of constant duration just changes PWM with 1 and 0 form and deposits in same record ripple semaphore; FPGA module sends to DSP module record ripple semaphore, and when sample-synchronous signal is effective, produces look-at-me to DSP module.
N sampled point was set in the single sampling period and samples, N gets 16,32 or 48.
Described DSP module interrupts processing to the look-at-me receiving, control address bus and data bus and relevant read-write enable signal, DSP module receives record ripple semaphore simultaneously, and start backboard communication, control backboard communication sequential, through core bus, record ripple semaphore is sent to telecommunication management plate module.
Described telecommunication management plate module comprises SRAM storer and NAND FLASH storer; The ripple semaphore of pre-recording that described SRAM storer receives for storing described telecommunication management plate module, described NAND FLASH storer is for storing the record ripple semaphore starting after record ripple.
Described telecommunication management plate module is passed to described wave recording device according to record ripple agreement the record ripple semaphore of storage.
Described wave recording device, within the single sampling period, is resolved PWM high-low signal and according to time order and function order, constant duration completes the record ripple described point in single sampling period.
Embodiment
With sampling period 156us, 16 points of each cycle, carry out PWM and be sampled as example below, embodiments of the invention are elaborated.
As Fig. 1, the invention provides a kind of PWM test macro based on monocycle multi-point sampling, comprise PWM current transformer valve control plate module, telecommunication management plate module and wave recording device; Described PWM current transformer valve control plate module is communicated by letter with wave recording device by telecommunication management plate module.
Described PWM current transformer valve control plate module comprises FPGA module and DSP module; Described FPGA module is according to sinusoidal pulse width modulation method, and relatively modulating wave and carrier wave are big or small in real time, generates PWM waveform, with described DSP module communication.
Described FPGA module adopts XC3S5000 chip; Described DSP module adopts TMS320F28335 chip.
Suppose that FPGA module and DSP module dual port RAM call duration time are spaced apart 156us, dual port RAM look-at-me is produced by FPGA module, and the cycle is also 156us.FPGA inside modules adopts 20MHz clock sampling and counting, and PWM pulsewidth is 32us, and for above situation, as shown in Figure 2, test macro is tested according to following process implementation monocycle multi-point sampling PWM:
1) sample-synchronous signal adopts dual port RAM look-at-me, and after 20MHz clock detection is drawn high to this signal, the FPGA module PWM that starts to sample exports;
2) the every meter of 20MHz clock 9.75us carries out a PWM output sampling, and successively sampled value is deposited from low level to a high position in to the PWM sampled signal amount of 16, that is: 0us sampled value deposits semaphore bit0 in, 9.75us sampled value deposits bit1 in, 9.75*2us sampled value deposits bit2 in, analogizes, and 9.75*n us sampled value deposits bit (n) in, sampling time, while arriving 9.75*15=146.25us, deposits semaphore bit15 in PWM output sampled value;
3) when next sample-synchronous signal is effective, FPGA module sent to DSP module the pwm signal amount in a upper cycle, and telecommunication management plate module is received the pwm signal amount of valve control plate transmission and sent to wave recording device record ripple by backboard McBSP bus;
4) wave recording device obtains recording after ripple pwm signal amount recorder data, and in 156us, according to from low level to high-order order, constant duration (9.75us) is got successively the value of corresponding bit position and carried out 0 or 1 described point.
So far, realized the test of monocycle (156us) multiple spot (16 point) sampling PWM, by check record waveform in wave recording device, related personnel can judge that whether the PWM of FPGA output is normal.
Because sample-synchronous signal and PWM just change outwardness mistiming and discrete sampling constantly, the sampled value finally obtaining just continues width and PWM developed width and has error, monocycles 16 point sampling error range: ± 7.95us.This example is due to discrete sampling, and error is 4*7.95us-32us=﹢ 7us, and the PWM width that sampling obtains is 39us.Can further reduce this error by improving the counting of monocycle sampling (as 32 points, etc.) at 48.
Finally should be noted that: above embodiment is only in order to illustrate that technical scheme of the present invention is not intended to limit, although the present invention is had been described in detail with reference to above-described embodiment, those of ordinary skill in the field are to be understood that: still can modify or be equal to replacement the specific embodiment of the present invention, and do not depart from any modification of spirit and scope of the invention or be equal to replacement, it all should be encompassed in the middle of claim scope of the present invention.

Claims (8)

1. the PWM test macro based on monocycle multi-point sampling, is characterized in that: described system comprises PWM current transformer valve control plate module, telecommunication management plate module and wave recording device; Described PWM current transformer valve control plate module is communicated by letter with wave recording device by telecommunication management plate module.
2. the PWM test macro based on monocycle multi-point sampling according to claim 1, is characterized in that: described PWM current transformer valve control plate module comprises FPGA module and DSP module; Described FPGA module is according to sinusoidal pulse width modulation method, and relatively modulating wave and carrier wave are big or small in real time, generates PWM waveform, with described DSP module communication.
3. the PWM test macro based on monocycle multi-point sampling according to claim 2, it is characterized in that: described FPGA module is within the single sampling period, utilize high frequency clock, the multi-point sampling PWM high-low signal of constant duration, just changes PWM with 1 and 0 form and deposits in same record ripple semaphore; FPGA module sends to DSP module record ripple semaphore, and when sample-synchronous signal is effective, produces look-at-me to DSP module.
4. the PWM test macro based on monocycle multi-point sampling according to claim 3, is characterized in that: N sampled point was set in the single sampling period and samples, N gets 16,32 or 48.
5. the PWM test macro based on monocycle multi-point sampling according to claim 3, it is characterized in that: described DSP module interrupts processing to the look-at-me receiving, control address bus and data bus and relevant read-write enable signal, DSP module receives record ripple semaphore simultaneously, and start backboard communication, control backboard communication sequential, through core bus, record ripple semaphore is sent to telecommunication management plate module.
6. the PWM test macro based on monocycle multi-point sampling according to claim 1 or 5, is characterized in that: described telecommunication management plate module comprises SRAM storer and NAND FLASH storer; The ripple semaphore of pre-recording that described SRAM storer receives for storing described telecommunication management plate module, described NAND FLASH storer is for storing the record ripple semaphore starting after record ripple.
7. the PWM test macro based on monocycle multi-point sampling according to claim 1, is characterized in that: described telecommunication management plate module is passed to described wave recording device according to record ripple agreement the record ripple semaphore of storage.
8. the PWM test macro based on monocycle multi-point sampling according to claim 7, it is characterized in that: described wave recording device is within the single sampling period, resolve PWM high-low signal and according to time order and function order, constant duration completes the record ripple described point in single sampling period.
CN201310611927.4A 2013-11-26 2013-11-26 A kind of PWM test macro based on monocycle multi-point sampling Active CN103605028B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310611927.4A CN103605028B (en) 2013-11-26 2013-11-26 A kind of PWM test macro based on monocycle multi-point sampling

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310611927.4A CN103605028B (en) 2013-11-26 2013-11-26 A kind of PWM test macro based on monocycle multi-point sampling

Publications (2)

Publication Number Publication Date
CN103605028A true CN103605028A (en) 2014-02-26
CN103605028B CN103605028B (en) 2016-05-25

Family

ID=50123268

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310611927.4A Active CN103605028B (en) 2013-11-26 2013-11-26 A kind of PWM test macro based on monocycle multi-point sampling

Country Status (1)

Country Link
CN (1) CN103605028B (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104950693A (en) * 2015-06-23 2015-09-30 广州供电局有限公司 Method and system for improving simulation accuracy of controller HIL (hardware-in-the-loop) simulation system
CN109031980A (en) * 2018-09-27 2018-12-18 南方电网科学研究院有限责任公司 A kind of emulation test method and system of the valve control device based on FPGA
CN109031981A (en) * 2018-09-27 2018-12-18 南方电网科学研究院有限责任公司 A kind of emulation test method and system of the valve control device based on FPGA
CN111786865A (en) * 2020-06-09 2020-10-16 青岛信芯微电子科技股份有限公司 Data processing method and equipment
CN112946355A (en) * 2021-02-25 2021-06-11 云谷技术(珠海)有限公司 Power distribution terminal PWM analog sampling system and method

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6285513A (en) * 1985-10-11 1987-04-20 Hitachi Ltd Automatic setting circuit for slice level
CN101599656A (en) * 2009-04-16 2009-12-09 中国石油大学(华东) A kind of charge-discharge machine for power storage battery test system
US20100085676A1 (en) * 2008-10-03 2010-04-08 Honeywell International Inc. Nested pulse width modulation control
CN102403880A (en) * 2011-11-09 2012-04-04 北京四方继保自动化股份有限公司 Control system of chain type current transformer

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6285513A (en) * 1985-10-11 1987-04-20 Hitachi Ltd Automatic setting circuit for slice level
US20100085676A1 (en) * 2008-10-03 2010-04-08 Honeywell International Inc. Nested pulse width modulation control
CN101599656A (en) * 2009-04-16 2009-12-09 中国石油大学(华东) A kind of charge-discharge machine for power storage battery test system
CN102403880A (en) * 2011-11-09 2012-04-04 北京四方继保自动化股份有限公司 Control system of chain type current transformer

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
王磊: "地铁牵引供电PWM整流器智能维护技术", 《电子设计工程》 *

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104950693A (en) * 2015-06-23 2015-09-30 广州供电局有限公司 Method and system for improving simulation accuracy of controller HIL (hardware-in-the-loop) simulation system
CN104950693B (en) * 2015-06-23 2018-03-27 广州供电局有限公司 Improve the method and system of controller hardware assemblage on-orbit simulation accuracy
CN109031980A (en) * 2018-09-27 2018-12-18 南方电网科学研究院有限责任公司 A kind of emulation test method and system of the valve control device based on FPGA
CN109031981A (en) * 2018-09-27 2018-12-18 南方电网科学研究院有限责任公司 A kind of emulation test method and system of the valve control device based on FPGA
CN111786865A (en) * 2020-06-09 2020-10-16 青岛信芯微电子科技股份有限公司 Data processing method and equipment
CN111786865B (en) * 2020-06-09 2021-11-12 青岛信芯微电子科技股份有限公司 Data processing method and equipment
CN112946355A (en) * 2021-02-25 2021-06-11 云谷技术(珠海)有限公司 Power distribution terminal PWM analog sampling system and method

Also Published As

Publication number Publication date
CN103605028B (en) 2016-05-25

Similar Documents

Publication Publication Date Title
CN202443082U (en) Merging unit test system with analog input and university
CN103605028A (en) PWM testing system based on single period multipoint sampling
CN101666826B (en) Overvoltage online monitoring device based on dual time base sampling technology
CN203772931U (en) Online power distribution network fault wave recording device based on wireless three-phase synchronous technology
CN103995181B (en) Method for analyzing electric energy quality harmonic waves of digital substation
CN203909162U (en) Electric energy quality collection apparatus
CN103033789A (en) Static and dynamic test system of synchronous phasor measurement unit pressure measuring unit (PMU)
CN201637803U (en) Portable failure data recorder
CN108896879B (en) Diagnostic map phase windowing parameter adjusting method based on partial discharge signal characteristics
CN103885438A (en) Automatic test system and method for transformer substation measurement and control device
CN104280636A (en) Matching loop full-digital type power quality monitoring device and method adopting three-tier architecture
CN105911495A (en) Analog standard source with IEC61850 digital interface and testing method thereof
CN202837399U (en) Synchronized phasor measurement apparatus
CN203572896U (en) PWM test system based on single-period multipoint sampling
CN202372607U (en) Fault information integrating device based on field programmable gate array (FPGA) and advanced RISC machine (ARM) hardware platform
CN103956827B (en) A kind of Detecting Power Harmonics control system based on the micro-electrical network of many power supplys
CN203798999U (en) System for testing power quality monitoring equipment
CN205404703U (en) Electric energy quality disturbance alarm system
CN202837386U (en) Measuring device for transient voltage signals
CN107782992A (en) A kind of Wave record method and device based on transformer station's antisurge interference
CN204789827U (en) Intelligent substation merging cells error testing arrangement that keeps time
CN204229223U (en) Phase selection controller test system in intelligent substation
CN204188731U (en) A kind of electric network state monitoring device based on the Big Dipper
CN202872459U (en) Intelligent distribution terminal telemetry board
CN204166082U (en) On-line monitoring device for identifying falls in distribution network voltage temporarily

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
TR01 Transfer of patent right

Effective date of registration: 20170531

Address after: 100031 Xicheng District West Chang'an Avenue, No. 86, Beijing

Co-patentee after: China Electric Prime Technology Co., Ltd.

Patentee after: State Grid Corporation of China

Address before: 100031 Xicheng District West Chang'an Avenue, No. 86, Beijing

Co-patentee before: State Grid Smart Grid Institute

Patentee before: State Grid Corporation of China

Co-patentee before: China Electric Prime Technology Co., Ltd.