CN105527512B - Embedded virtual test system based on DSP - Google Patents

Embedded virtual test system based on DSP Download PDF

Info

Publication number
CN105527512B
CN105527512B CN201510846968.0A CN201510846968A CN105527512B CN 105527512 B CN105527512 B CN 105527512B CN 201510846968 A CN201510846968 A CN 201510846968A CN 105527512 B CN105527512 B CN 105527512B
Authority
CN
China
Prior art keywords
virtual
dsp
voltage
source unit
inverter unit
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201510846968.0A
Other languages
Chinese (zh)
Other versions
CN105527512A (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.)
BEIJING JINGYI RENEWABLE ENERGY ENGINEERING CO LTD
Original Assignee
BEIJING JINGYI RENEWABLE ENERGY ENGINEERING CO LTD
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by BEIJING JINGYI RENEWABLE ENERGY ENGINEERING CO LTD filed Critical BEIJING JINGYI RENEWABLE ENERGY ENGINEERING CO LTD
Priority to CN201510846968.0A priority Critical patent/CN105527512B/en
Publication of CN105527512A publication Critical patent/CN105527512A/en
Application granted granted Critical
Publication of CN105527512B publication Critical patent/CN105527512B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R31/00Arrangements for testing electric properties; Arrangements for locating electric faults; Arrangements for electrical testing characterised by what is being tested not provided for elsewhere

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Inverter Devices (AREA)

Abstract

The present invention relates to the embedded virtual test systems based on DSP, are embedded in the form of program in DSP with lower unit: virtual inverter unit, virtual direct current source unit, virtual AC source unit;Virtual direct current source unit provides d. c. voltage signal to virtual inverter unit and DSP program to be measured and control algolithm, virtual AC source unit provides ac voltage signal to virtual inverter unit and DSP program to be measured and control algolithm, virtual inverter unit provides ac current signal and DC current signal to DSP program to be measured and control algolithm, virtual inverter unit provides DC current signal to virtual direct current source unit, and DSP program and control algolithm to be measured provide modulated signal to virtual inverter unit.Virtual test system of the present invention improves exploitation, testing efficiency and the Security of test of DSP, reduces exploitation and testing cost.

Description

Embedded virtual test system based on DSP
Technical field
The present invention relates to virtual test systems, the embedded virtual test system specifically based on DSP.
Background technique
The development process of DSP (Digital Signal Processor, digital signal processor) at present are as follows:
(1) theoretical algorithm is studied;
(2) it is emulated using Matlab, Matlab is the business mathematics software that MathWorks company of the U.S. produces, and is used In advanced techniques computational language and interactive environment that algorithm development, data visualization, data analysis and numerical value calculate, mainly Including Matlab and Simulink two large divisions;
(3) DSP programming;
(4) by the dsp chip on DSP burning program to dsp board, then band forceful electric power test experiments, to DSP program, DSP Whether each hardware module of each hardware module and inverter on plate, which can operate normally, is verified.
Wherein, (4) step specifically includes: to the practical relay module in hardware module, actual pulse output module, reality Border communication module etc. is tested, and test function includes: that normal power control, no-voltage pass through control, dynamic and static state MPPT Test content well known to the industries such as test, error protection test.Only DSP program is correct and above-mentioned each hardware module is normal, Above-mentioned test function is just able to achieve and meets concerned countries testing standard.
Wherein, after (3) step, it is necessary to dsp board is connect with actual hardware equipment inverter, starts carry out (4) step, So whether DSP program correct, DSP control system and inverter hardware whether the verifying of normal non-fault, it is necessary in same a period of time Between carry out, investigation must be debugged repeatedly if any one link is problematic, it is not easy to which rapid orientation problem place is also easy Occurs hardware damage even personal injury event (the especially exploitation and debugging of high-power high-voltage equipment) in debugging process.
So improving safety, it is necessary to be added in (3) step and (4) step to improve exploitation and testing efficiency The emulation testing of DSP, in DSP single-board testing or the whole test without forceful electric power, virtual a set of test is flat in the form of emulation Platform, it is whether correct to verify DSP program.
Summary of the invention
In view of the deficiencies in the prior art, the purpose of the present invention is to provide the embedded virtual test systems based on DSP System improves exploitation, testing efficiency and the Security of test of DSP, reduces exploitation and testing cost.
To achieve the above objectives, the technical solution adopted by the present invention is that:
Embedded virtual test system based on DSP, it is characterised in that: using DSP as core, in DSP in the form of program It is embedded in lower unit:
Virtual inverter unit, for simulating photovoltaic DC-to-AC converter;
Virtual direct current source unit, for simulating photovoltaic DC source;
Virtual AC source unit, for simulating photovoltaic alternating current source;
Virtual direct current source unit provides DC voltage letter to virtual inverter unit and DSP program to be measured and control algolithm Number,
Virtual AC source unit provides alternating voltage letter to virtual inverter unit and DSP program to be measured and control algolithm Number,
Virtual inverter unit provides ac current signal and DC current signal to DSP program to be measured and control algolithm,
Virtual inverter unit provides DC current signal to virtual direct current source unit,
DSP program and control algolithm to be measured provide modulated signal to virtual inverter unit.
Based on the above technical solution, the virtual direct current source unit includes constant voltage mode and two kinds of photovoltaic mode fortune Row mode,
The input of virtual direct current source unit includes: DC voltage instruction valueDC current Idc,
The output of virtual direct current source unit includes: DC voltage Udc
Based on the above technical solution, under constant voltage mode, by adjusting DC voltage instruction valueIt realizes arbitrary DC voltage UdcOutput, internal relations are as follows:
Based on the above technical solution, under photovoltaic mode, according to DC current IdcValue realize DC voltage Udc's Output, internal relations are as follows:
Udc=fIV(Idc),
In formula, abstract function fIVIncluding at least following settable parameter: intensity of illumination, temperature, open-circuit voltage, short circuit electricity Stream, fill factor.
Based on the above technical solution, the input of virtual AC source unit includes: three-phase alternating voltage instruction value
The output of virtual AC source unit includes: three-phase alternating voltage Uabc
Based on the above technical solution, the virtual AC source unit, by adjusting three-phase alternating voltage instruction valueFrequency, amplitude, imbalance, harmonic wave realize to three-phase alternating voltage UabcControl, internal relations are as follows:
Based on the above technical solution, the virtual inverter unit, ac filter link use inductance value for the list of L Filter reactor, switching frequency Ts,
The input of virtual inverter unit is the modulated signal D that DSP program to be measured and control algolithm provideabc, virtual direct current The DC voltage U that source unit providesdc, virtual AC source unit provide three-phase alternating voltage Uabc,
The output of virtual inverter unit is three-phase alternating current IabcWith DC current Idc, internal relations are as follows:
Idc=Dabc·Iabc
Embedded virtual test system of the present invention based on DSP improves exploitation, testing efficiency and the test peace of DSP Quan Xing reduces exploitation and testing cost.
Detailed description of the invention
The present invention has following attached drawing:
System construction drawing Fig. 1 of the invention.
Specific embodiment
Below in conjunction with attached drawing, invention is further described in detail.
DSP program of the present invention is to be placed on inversion by the dsp board of core of dsp chip in dsp chip internal operation In device, inverter is attached by direct current and exchange forceful electric power route with DC source, alternating current source.It, will be inverse for safety and efficiently It is all virtual into program to become device, DC source, alternating current source, is added near former " DSP program ", it can be determined that go out on dsp board Whether each hardware module is normal, and the every test mentioned before still can carrying out, and test process is consistent with authentic testing, Test result can reflect true result substantially.
As shown in Figure 1, the embedded virtual test system of the present invention based on DSP, realizes the complete of DSP tested program Set copying is embedded in the form of program in DSP with lower unit using DSP as core:
Virtual inverter unit, for simulating photovoltaic DC-to-AC converter;
Virtual direct current source unit, for simulating photovoltaic DC source;
Virtual AC source unit, for simulating photovoltaic alternating current source;
Virtual direct current source unit provides DC voltage letter to virtual inverter unit and DSP program to be measured and control algolithm Number,
Virtual AC source unit provides alternating voltage letter to virtual inverter unit and DSP program to be measured and control algolithm Number,
Virtual inverter unit provides ac current signal and DC current signal to DSP program to be measured and control algolithm,
Virtual inverter unit provides DC current signal to virtual direct current source unit,
DSP program and control algolithm to be measured provide modulated signal to virtual inverter unit.
Based on the above technical solution, the virtual direct current source unit includes constant voltage mode and two kinds of photovoltaic mode fortune Row mode,
The input of virtual direct current source unit includes: DC voltage instruction valueDC current Idc,
The output of virtual direct current source unit includes: DC voltage Udc
Based on the above technical solution, under constant voltage mode, by adjusting DC voltage instruction valueIt realizes arbitrary DC voltage UdcOutput, internal relations are as follows:
Based on the above technical solution, under photovoltaic mode, according to DC current IdcValue realize DC voltage Udc's Output, internal relations are as follows:
Udc=fIV(Idc),
In formula, abstract function fIVIncluding at least following settable parameter: intensity of illumination, temperature, open-circuit voltage, short circuit electricity Stream, fill factor.
Virtual photovoltaic cell is realized by setting intensity of illumination, temperature, open-circuit voltage, short circuit current, fill factor, Implementation method describes complex and for known in industry, therefore is no longer described in detail.
Based on the above technical solution, the input of virtual AC source unit includes: three-phase alternating voltage instruction value
The output of virtual AC source unit includes: three-phase alternating voltage Uabc
Based on the above technical solution, the virtual AC source unit, by adjusting three-phase alternating voltage instruction valueFrequency, amplitude, imbalance, harmonic wave realize to three-phase alternating voltage UabcControl, internal relations are as follows:
Based on the above technical solution, the virtual inverter unit, ac filter link use inductance value for the list of L Filter reactor, switching frequency Ts,
The input of virtual inverter unit is the modulated signal D that DSP program to be measured and control algolithm provideabc, virtual direct current The DC voltage U that source unit providesdc, virtual AC source unit provide three-phase alternating voltage Uabc,
The output of virtual inverter unit is three-phase alternating current IabcWith DC current Idc, internal relations are as follows:
Idc=Dabc·Iabc
It should be understood that the virtual inverter unit, internal relations expression formula is typical single filter reactor The Mathematical modeling results of the actual inverter of structure are the examples for describing the invention for convenience.When the mathematics hand of modeling Section is when changing, or when the actual inverter itself that mathematical modeling is directed to has some small hardware configurations adjustment, such as Exchange side filtering mode by above-mentioned list L structure (i.e. list filter reactor structure) be changed to LCL structure (i.e. series filtering reactor, Parallel filtering capacitor again, then series filtering reactor) etc. adjustment when, will lead to above-mentioned internal relations expression formula have it is small Adjustment, these minor adjustments all should be within the protection scope of this patent.
Based on the above technical solution, the DSP program to be measured and control algolithm, input as DC voltage Udc, three Phase alternating voltage Uabc, alternating current IabcWith DC current Idc, export modulated signal Dabc, this part is program to be tested Control algolithm, internal relations are determined by programming person.
To sum up, the present invention under the safety condition without forceful electric power, can utilize structure in DSP before practical band forceful electric power test Virtual DC source, alternating current source, the inverter built, and in order to meet test request can three at any time controllable parameter, with right Whether DSP program and whether correct, the most hardware of control algolithm are normally carried out test.Test process and practical band forceful electric power feelings Condition is completely the same, and test result anticipated that practical band forceful electric power test result substantially.
So the present invention can safely and effectively test DSP program, verifying it, whether correct, hardware module is No normal, rapid orientation problem place avoids and is carrying out debugging investigation repeatedly with functional to institute on heavy current installation, also avoids Occur hardware damage even personal injury event in debugging process, improves the efficiency and safety of exploitation and test.
The content being not described in detail in this specification belongs to the prior art well known to professional and technical personnel in the field.

Claims (4)

1. the embedded virtual test system based on DSP, it is characterised in that: embedding in the form of program in DSP using DSP as core Enter with lower unit:
Virtual inverter unit, for simulating photovoltaic DC-to-AC converter;
Virtual direct current source unit, for simulating photovoltaic DC source;
Virtual AC source unit, for simulating photovoltaic alternating current source;
Virtual direct current source unit provides d. c. voltage signal to virtual inverter unit and DSP program to be measured and control algolithm,
Virtual AC source unit provides ac voltage signal to virtual inverter unit and DSP program to be measured and control algolithm,
Virtual inverter unit provides ac current signal and DC current signal to DSP program to be measured and control algolithm,
Virtual inverter unit provides DC current signal to virtual direct current source unit,
DSP program and control algolithm to be measured provide modulated signal to virtual inverter unit;
The input of virtual AC source unit includes: three-phase alternating voltage instruction value
The output of virtual AC source unit includes: three-phase alternating voltage Uabc
The virtual AC source unit, by adjusting three-phase alternating voltage instruction valueFrequency, amplitude, imbalance, harmonic wave come It realizes to three-phase alternating voltage UabcControl, internal relations are as follows:
The virtual inverter unit, ac filter link use inductance value for single filter reactor of L, switching frequency Ts,
The input of virtual inverter unit is the modulated signal D that DSP program to be measured and control algolithm provideabc, virtual DC source list The DC voltage U that member providesdc, virtual AC source unit provide three-phase alternating voltage Uabc,
The output of virtual inverter unit is three-phase alternating current IabcWith DC current Idc, internal relations are as follows:
Idc=Dabc·Iabc
2. the embedded virtual test system based on DSP as described in claim 1, it is characterised in that: the virtual DC source list Member includes two kinds of operational modes of constant voltage mode and photovoltaic mode,
The input of virtual direct current source unit includes: DC voltage instruction valueDC current Idc,
The output of virtual direct current source unit includes: DC voltage Udc
3. the embedded virtual test system based on DSP as claimed in claim 2, it is characterised in that: under constant voltage mode, pass through tune Save DC voltage instruction valueRealize arbitrary DC voltage UdcOutput, internal relations are as follows:
4. the embedded virtual test system based on DSP as claimed in claim 2, it is characterised in that: under photovoltaic mode, according to straight Galvanic electricity stream IdcValue realize DC voltage UdcOutput, internal relations are as follows:
Udc=fIV(Idc),
In formula, abstract function fIVIncluding at least following settable parameter: intensity of illumination, temperature, open-circuit voltage, short circuit current, Fill factor.
CN201510846968.0A 2015-11-27 2015-11-27 Embedded virtual test system based on DSP Active CN105527512B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510846968.0A CN105527512B (en) 2015-11-27 2015-11-27 Embedded virtual test system based on DSP

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510846968.0A CN105527512B (en) 2015-11-27 2015-11-27 Embedded virtual test system based on DSP

Publications (2)

Publication Number Publication Date
CN105527512A CN105527512A (en) 2016-04-27
CN105527512B true CN105527512B (en) 2018-12-18

Family

ID=55769857

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510846968.0A Active CN105527512B (en) 2015-11-27 2015-11-27 Embedded virtual test system based on DSP

Country Status (1)

Country Link
CN (1) CN105527512B (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102305915A (en) * 2011-07-29 2012-01-04 株洲南车时代电气股份有限公司 Light load simulation testing apparatus for inverter and method thereof
CN103777089A (en) * 2012-10-25 2014-05-07 中国北车股份有限公司 Auxiliary inverter model selection platform
CN204758716U (en) * 2015-05-29 2015-11-11 中国电力科学研究院 Dc -to -ac converter is at ring testing arrangement

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7683630B2 (en) * 2006-11-30 2010-03-23 Electro Scientific Industries, Inc. Self test, monitoring, and diagnostics in grouped circuitry modules

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102305915A (en) * 2011-07-29 2012-01-04 株洲南车时代电气股份有限公司 Light load simulation testing apparatus for inverter and method thereof
CN103777089A (en) * 2012-10-25 2014-05-07 中国北车股份有限公司 Auxiliary inverter model selection platform
CN204758716U (en) * 2015-05-29 2015-11-11 中国电力科学研究院 Dc -to -ac converter is at ring testing arrangement

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
"Real-time Simulation of Photovoltaic Generation System Based on dSPACE";Xiaobo YANG;《International Power, Electronics and Materials Engineering Conference》;20150331;第743页第2段,图1-3 *
"光伏并网逆变器检测技术初探";崔荣靖等;《电力系统及其自动化学报》;20130831;第25卷(第4期);全文 *

Also Published As

Publication number Publication date
CN105527512A (en) 2016-04-27

Similar Documents

Publication Publication Date Title
CN102707628B (en) Real-time simulated test research method for security and stability control of power grid
Li et al. Real-time simulation of a wind turbine generator coupled with a battery supercapacitor energy storage system
ES2782555T3 (en) Test system for grid adaptability of a mobile wind turbine generator system
CN106990771B (en) Fault filling method and system
US20200127456A1 (en) Power electronics converter based reconfigurable grid emulation platform
CN103197271B (en) A kind of method of inspection of MMC topological flexibility direct current transportation test platform
CN103020385A (en) RTDS-based 500-Kv major network modeling simulation systems for power network
CN102843060A (en) Two-level two-direction current transformer and control method thereof
CN106960619A (en) Integrate electrical practice training and the training set and application method of low-voltage collecting meter reading failure
CN102156227A (en) Detecting system and detecting method for non-vehicular charging machine
Bélanger et al. Validation of eHS FPGA reconfigurable low-latency electric and power electronic circuit solver
CN106527408A (en) Power electronic controller test system based on RT-LAB real-time digital simulation platform
CN102087314A (en) Power grid harmonic analyzer based on virtual instrument
Venugopal et al. Advances in real-time simulation for power distribution systems
Hacker et al. A framework to evaluate multi-use flexibility concepts simultaneously in a co-simulation environment and a cyber-physical laboratory.
CN105527512B (en) Embedded virtual test system based on DSP
CN104597766A (en) Verification platform for control and protection algorithm of high voltage direct current power transmission system
Mejia-Ruiz et al. A System Identification-based Modeling Framework of Bidirectional DC-DC Converters for Power Grids
Duan et al. Heterogeneous real-time co-emulation for communication-enabled global control of AC/DC grid integrated with renewable energy
CN107727967A (en) Large power energy storage system simulation test platform
Pasaribu et al. Harmonics step filter control model in household electricity
Dvoracek et al. On Verification of Power Generating Modules Compliance with Network Requirements
CN104808092B (en) The detecting system and method for quality of power supply influence factor
CN109613369A (en) A kind of photovoltaic DC-to-AC converter Auto-Test System
CN207318607U (en) A kind of large power energy storage system analog testing platform

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant