CN107728058A - A kind of electric efficiency report-generating method and system based on Labview and MATLAB - Google Patents
A kind of electric efficiency report-generating method and system based on Labview and MATLAB Download PDFInfo
- Publication number
- CN107728058A CN107728058A CN201710819199.4A CN201710819199A CN107728058A CN 107728058 A CN107728058 A CN 107728058A CN 201710819199 A CN201710819199 A CN 201710819199A CN 107728058 A CN107728058 A CN 107728058A
- Authority
- CN
- China
- Prior art keywords
- report
- labview
- tested motor
- matlab
- tested
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01R—MEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
- G01R31/00—Arrangements for testing electric properties; Arrangements for locating electric faults; Arrangements for electrical testing characterised by what is being tested not provided for elsewhere
- G01R31/34—Testing dynamo-electric machines
- G01R31/343—Testing dynamo-electric machines in operation
Abstract
The invention discloses a kind of electric efficiency report-generating method based on Labview and MATLAB, comprise the following steps:Obtain the service data and record of tested motor;A newly-built report template, and define the position of information insertion point;Based on the newly-built VI program of Labview, Calling MATLAB formula function is analyzed the service data of the tested motor of record, to obtain the characteristic curve of tested motor and be saved as picture;Using the characteristic curve of Labview VI routine call tested motors, the predeterminated position for inserting characteristic picture in report template according to the position of information insertion point, tested motor efficiency report is generated.The curve map of the service data for the tested motor that the present invention is preserved by Labview VI routine calls, and the report template for setting the write-in of above-mentioned curve map, to judge and generate the report of tested motor efficiency automatically to it according to key parameter, the simplification and convenience of report generation process are improved while report generation accuracy is ensured.
Description
Technical field
The present invention relates to Motor Measuring Technology field, more particularly to a kind of electric efficiency based on Labview and MATLAB
Report-generating method and system.
Background technology
Labview is a kind of programming development environment, is developed by American National instrument (NI) company, with other computers
The significant difference of language is to write program using graphical author language G, and caused program is the form of block diagram, and Labview is soft
Part is the core of NI design platforms, and the ideal chose of exploitation measurement or control system.
With the fast development of new-energy automobile industry, the test of Motor for Electric Automobile is more and more important, test assignment
Amount is also more and more, and the performance test content of motor mainly includes the test of motor external characteristics, electric efficiency test, controller efficiency
Test, the efficiency test of power drive system.
With the development of measuring technology, Labview and MATLAB application are increasingly welcome by engineer, how to be used
Simplest mode directly obtains required performance curve by test data, and automatically generates test report, accelerates experiment effect
Rate, it has also become the hot issue of industry discussion.
The content of the invention
Based on technical problem existing for background technology, the present invention proposes a kind of motor based on Labview and MATLAB
Efficiency report generation method and system.
Electric efficiency report-generating method proposed by the present invention based on Labview and MATLAB, comprises the following steps:
S1, the service data and record for obtaining tested motor;
S2, a newly-built report template, and define the position of information insertion point;
S3, based on the newly-built VI program of Labview, operation of the Calling MATLAB formula function to the tested motor of record
Data are analyzed, to obtain the characteristic curve of tested motor and be saved as picture;
S4, using Labview VI routine call tested motors characteristic curve, according to the position Jiang Te of information insertion point
Predeterminated position in the picture insertion report template of linearity curve, generates tested motor efficiency report.
Preferably, in step S1, the service data of the tested motor includes:
Rotating speed, torque, mechanical output, busbar voltage, bus current, three-phase voltage, the three-phase current of tested motor.
Preferably, in step S2, the form of the report template includes:word、Excel、HTML.
Electric efficiency report preparing system proposed by the present invention based on Labview and MATLAB, including:
Data acquisition module, for obtaining the service data and record of tested motor;
The newly-built module of template, for a newly-built report template, and define the position of information insertion point;
Information analysis module, for based on the newly-built VI program of Labview, Calling MATLAB formula function to be to record
The service data of tested motor is analyzed, to obtain the characteristic curve of tested motor and be saved as picture;
Report generation module, for the characteristic curve of the VI routine call tested motors using Labview, inserted according to information
The predeterminated position that the position of access point inserts characteristic picture in report template, generate tested motor efficiency report.
Preferably, in data acquisition module, the service data of the tested motor includes:
Rotating speed, torque, mechanical output, busbar voltage, bus current, three-phase voltage, the three-phase current of tested motor.
Preferably, in the newly-built module of template, the form of the report template includes:word、Excel、HTML.
Electric efficiency report-generating method proposed by the present invention, the tested electricity preserved by Labview VI routine calls
The curve map of the service data of machine, and by the report template that sets of above-mentioned curve map write-in, with according to key parameter to its from
It is dynamic to judge and generate the report of tested motor efficiency, improve report generation mistake while report generation accuracy is ensured
The simplification and convenience of journey.The present invention is analyzed information using MATLAB formula template can reach operational effect,
Eliminate the complex using multiple software analysis datas;And the original complicated flow such as code is avoided, easily and fast
Realize report the function such as automatically generates, judges, has saved analysis cost, while significantly improve the effect of experimental work
Rate.And the report template in the present invention is using word, Excel, html format, not only convenient use, and using virtually beating
Print machine directly generates pdf document, is advantageous to the using effect of further lifting user.
Brief description of the drawings
Fig. 1 is a kind of step schematic diagram of the electric efficiency report-generating method based on Labview and MATLAB;
Fig. 2 is a kind of structural representation of the electric efficiency report preparing system based on Labview and MATLAB.
Embodiment
As shown in Figure 1 and Figure 2, Fig. 1, Fig. 2 are a kind of motor based on Labview and MATLAB proposed by the present invention
Efficiency report generation method and system.
Reference picture 1, a kind of electric efficiency report-generating method based on Labview and MATLAB proposed by the present invention, bag
Include following steps:
S1, the service data and record for obtaining tested motor;Wherein, the service data of the tested motor includes:It is tested
Rotating speed, torque, mechanical output, busbar voltage, bus current, three-phase voltage, the three-phase current of motor;By to above-mentioned data
Collection, can be analyzed and be adjusted to the running status of tested motor comprehensively, ensure that the comprehensive of experimental work smoothly carries out.
S2, a newly-built report template, and define the position of information insertion point;Wherein, the form bag of the report template
Include:word、Excel、HTML;Can conveniently establish report template using above-mentioned form, and can according to word, Excel,
The function that HTML is carried defines the position of information insertion point, not only ensure that the accuracy that the position of information insertion point defines,
And improve the convenience of operating process.
S3, based on the newly-built VI program of Labview, operation of the Calling MATLAB formula function to the tested motor of record
Data are analyzed, to obtain the characteristic curve of tested motor and be saved as picture;
In present embodiment, it is contemplated that MATLAB and above-mentioned word, Excel, HTML compatibility, in the spy of tested motor
When linearity curve is preserved, picture format that MATLAB, word, Excel, HTML should be selected to support, and by tested motor
Characteristic curve is preserved to User Defined path, facilitates the bar characteristic curve picture in subsequent process steps.
S4, using Labview VI routine call tested motors characteristic curve, according to the position Jiang Te of information insertion point
Predeterminated position in the picture insertion report template of linearity curve, generates tested motor efficiency report.Tested motor efficiency report is given birth to
Cheng Hou, it can modify and adjust based on reports of the Labview online to generation, after confirmation is errorless, Labview can be utilized
Pdf document is directly generated, that completes tested motor efficiency report automatically generates task.
Reference picture 2, Fig. 2 are a kind of electric efficiency report generation system based on Labview and MATLAB proposed by the present invention
System, including:
Data acquisition module, for obtaining the service data and record of tested motor;Wherein, the operation of the tested motor
Data include:Rotating speed, torque, mechanical output, busbar voltage, bus current, three-phase voltage, the three-phase current of tested motor;It is logical
The collection to above-mentioned data is crossed, the running status of tested motor can be analyzed and adjusted comprehensively, ensure experimental work
Smoothly carry out comprehensively.
The newly-built module of template, for a newly-built report template, and define the position of information insertion point;Wherein, the report
The form of slide former includes:word、Excel、HTML;Report template can be conveniently established using above-mentioned form, and can root
The function of being carried according to word, Excel, HTML defines the position of information insertion point, not only ensure that the position of information insertion point
The accuracy of definition, and improve the convenience of operating process.
Information analysis module, for based on the newly-built VI program of Labview, Calling MATLAB formula function to be to record
The service data of tested motor is analyzed, to obtain the characteristic curve of tested motor and be saved as picture;
In present embodiment, it is contemplated that MATLAB and above-mentioned word, Excel, HTML compatibility, in the spy of tested motor
When linearity curve is preserved, picture format that MATLAB, word, Excel, HTML should be selected to support, and by tested motor
Characteristic curve is preserved to User Defined path, facilitates the bar characteristic curve picture in subsequent process steps.
Report generation module, for the characteristic curve of the VI routine call tested motors using Labview, inserted according to information
The predeterminated position that the position of access point inserts characteristic picture in report template, generate tested motor efficiency report.It is tested
After electric efficiency report generation, it can modify and adjust based on reports of the Labview online to generation, after confirmation is errorless,
Pdf document can be directly generated using Labview, that completes tested motor efficiency report automatically generates task.
The electric efficiency report-generating method that present embodiment proposes, the quilt preserved by Labview VI routine calls
The curve map of the service data of measured motor, and the report template that the write-in of above-mentioned curve map is set, with according to key parameter pair
It is judged and generates the report of tested motor efficiency automatically, and report life is improved while report generation accuracy is ensured
Into the simplification and convenience of process.Present embodiment is analyzed information using MATLAB formula template can reach fortune
Row effect, eliminate the complex using multiple software analysis datas;And avoid the original complicated flow such as code, it is convenient and
Efficiently realize report the function such as automatically generates, judges, has saved analysis cost, while significantly improve experimental work
Efficiency.And the report template in present embodiment is using word, Excel, html format, not only convenient use, and can profit
Pdf document is directly generated with virtual printer, is advantageous to the using effect of further lifting user.
The foregoing is only a preferred embodiment of the present invention, but protection scope of the present invention be not limited thereto,
Any one skilled in the art the invention discloses technical scope in, technique according to the invention scheme and its
Inventive concept is subject to equivalent substitution or change, should all be included within the scope of the present invention.
Claims (6)
1. a kind of electric efficiency report-generating method based on Labview and MATLAB, it is characterised in that comprise the following steps:
S1, the service data and record for obtaining tested motor;
S2, a newly-built report template, and define the position of information insertion point;
S3, based on the newly-built VI program of Labview, service data of the Calling MATLAB formula function to the tested motor of record
Analyzed, to obtain the characteristic curve of tested motor and be saved as picture;
S4, using Labview VI routine call tested motors characteristic curve, it is according to the position of information insertion point that characteristic is bent
Predeterminated position in the picture insertion report template of line, generates tested motor efficiency report.
2. the electric efficiency report-generating method according to claim 1 based on Labview and MATLAB, its feature exist
In in step S1, the service data of the tested motor includes:
Rotating speed, torque, mechanical output, busbar voltage, bus current, three-phase voltage, the three-phase current of tested motor.
3. the electric efficiency report-generating method according to claim 1 based on Labview and MATLAB, its feature exist
In in step S2, the form of the report template includes:word、Excel、HTML.
A kind of 4. electric efficiency report preparing system based on Labview and MATLAB, it is characterised in that including:
Data acquisition module, for obtaining the service data and record of tested motor;
The newly-built module of template, for a newly-built report template, and define the position of information insertion point;
Information analysis module, for being tested based on the newly-built VI program of Labview, Calling MATLAB formula function to record
The service data of motor is analyzed, to obtain the characteristic curve of tested motor and be saved as picture;
Report generation module, for the characteristic curve of the VI routine call tested motors using Labview, according to information insertion point
Position by characteristic picture insert report template in predeterminated position, generate tested motor efficiency report.
5. the electric efficiency report preparing system according to claim 4 based on Labview and MATLAB, its feature exist
In in data acquisition module, the service data of the tested motor includes:
Rotating speed, torque, mechanical output, busbar voltage, bus current, three-phase voltage, the three-phase current of tested motor.
6. the electric efficiency report preparing system according to claim 4 based on Labview and MATLAB, its feature exist
In in the newly-built module of template, the form of the report template includes:word、Excel、HTML.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710819199.4A CN107728058A (en) | 2017-09-12 | 2017-09-12 | A kind of electric efficiency report-generating method and system based on Labview and MATLAB |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710819199.4A CN107728058A (en) | 2017-09-12 | 2017-09-12 | A kind of electric efficiency report-generating method and system based on Labview and MATLAB |
Publications (1)
Publication Number | Publication Date |
---|---|
CN107728058A true CN107728058A (en) | 2018-02-23 |
Family
ID=61206098
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710819199.4A Pending CN107728058A (en) | 2017-09-12 | 2017-09-12 | A kind of electric efficiency report-generating method and system based on Labview and MATLAB |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107728058A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109871522A (en) * | 2019-01-10 | 2019-06-11 | 太仓中科信息技术研究院 | Calculating report book cover generation method and computer storage medium based on Matlab |
CN111090972A (en) * | 2019-12-25 | 2020-05-01 | 江西麦克斯韦科技有限公司 | Method for drawing motor efficiency map by using MATLAB software |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN203012104U (en) * | 2012-12-04 | 2013-06-19 | 辽宁省电力有限公司电力科学研究院 | Wind turbine generator system grid-connection performance testing system based on industrial personal computer |
CN103738198A (en) * | 2013-12-18 | 2014-04-23 | 奇瑞汽车股份有限公司 | Vehicle electrical motor control system with safety monitoring function and monitoring method of vehicle electrical motor control system |
CN105094012A (en) * | 2015-07-06 | 2015-11-25 | 廊坊市汇聚电动汽车有限公司 | Online measuring and controlling apparatus and method for electric driving system of electric automobiles |
CN105446945A (en) * | 2015-12-01 | 2016-03-30 | 广东电网有限责任公司电网规划研究中心 | Word mark report generation method |
CN106650059A (en) * | 2016-12-08 | 2017-05-10 | 南京越博动力系统股份有限公司 | Matlab-based vehicle performance simulation and calculation method for automobile |
CN106970279A (en) * | 2017-03-29 | 2017-07-21 | 福州大学 | The pure electric automobile pilot system and its test method of a variety of driving cycles can be achieved |
-
2017
- 2017-09-12 CN CN201710819199.4A patent/CN107728058A/en active Pending
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN203012104U (en) * | 2012-12-04 | 2013-06-19 | 辽宁省电力有限公司电力科学研究院 | Wind turbine generator system grid-connection performance testing system based on industrial personal computer |
CN103738198A (en) * | 2013-12-18 | 2014-04-23 | 奇瑞汽车股份有限公司 | Vehicle electrical motor control system with safety monitoring function and monitoring method of vehicle electrical motor control system |
CN103738198B (en) * | 2013-12-18 | 2016-01-06 | 奇瑞汽车股份有限公司 | A kind of vehicle motor control system and method for supervising thereof with security monitoring function |
CN105094012A (en) * | 2015-07-06 | 2015-11-25 | 廊坊市汇聚电动汽车有限公司 | Online measuring and controlling apparatus and method for electric driving system of electric automobiles |
CN105446945A (en) * | 2015-12-01 | 2016-03-30 | 广东电网有限责任公司电网规划研究中心 | Word mark report generation method |
CN106650059A (en) * | 2016-12-08 | 2017-05-10 | 南京越博动力系统股份有限公司 | Matlab-based vehicle performance simulation and calculation method for automobile |
CN106970279A (en) * | 2017-03-29 | 2017-07-21 | 福州大学 | The pure electric automobile pilot system and its test method of a variety of driving cycles can be achieved |
Non-Patent Citations (2)
Title |
---|
张青春 等: "基于LabVIEW电动机性能综合测试平台的实现", 《机械与电子》 * |
曲丽英: "基于Labview的异步电机参数与特性测量方法", 《铁合金》 * |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109871522A (en) * | 2019-01-10 | 2019-06-11 | 太仓中科信息技术研究院 | Calculating report book cover generation method and computer storage medium based on Matlab |
CN111090972A (en) * | 2019-12-25 | 2020-05-01 | 江西麦克斯韦科技有限公司 | Method for drawing motor efficiency map by using MATLAB software |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103064403B (en) | A kind of ECU hardware-in-loop simulation automated testing method and system | |
CN103838894B (en) | Method for achieving automatic PDK testing | |
CN109189619B (en) | I2C bus compatibility test method, system, storage medium and equipment | |
CN111523284B (en) | Method, device and application for converting chip EDA simulation configuration | |
CN112506759B (en) | Automatic test method and device for servo system control software and storage medium | |
CN103365643A (en) | Method and device for automatically generating testing script of graphical user interface | |
CN101630283A (en) | System and method for automatically generating report | |
CN107728058A (en) | A kind of electric efficiency report-generating method and system based on Labview and MATLAB | |
JP2014203314A (en) | ECU simulation device | |
US20060271254A1 (en) | Automotive scanner with advanced module programming options | |
CN106293625A (en) | A kind of method and apparatus of configuration register | |
WO2022205946A1 (en) | Efficiency analysis method and system for electric vehicle based on cloud data platform | |
CN113010188B (en) | Modular measurement and control system generation method and device, computer equipment and memory | |
CN102565683B (en) | Generation and verification method of test vector | |
CN116225501A (en) | ECU upgrading method and device and readable storage medium | |
Nghiem | MLE+: a Matlab-EnergyPlus co-simulation interface | |
TWI236619B (en) | Automatic generation system and method for hardware-based testing script | |
CN107885493B (en) | Program creation support method and program creation support device | |
CN102854875B (en) | Automobile air conditioner controller testing method and system | |
Yuan et al. | The design of Matlab-DSP development environment for control system | |
CN105868092A (en) | Log file processing method and device | |
CN113076622A (en) | System and method for normative analysis and verification of FMU (functional modeling Unit) simulation model | |
JP2011204069A (en) | Testing method, and automatic test specification and test data generation apparatus | |
CN111414299A (en) | SSD extended information obtaining method and device based on hdparm | |
CN109657324A (en) | A kind of figure regeneration techniques based on DWG |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20180223 |
|
RJ01 | Rejection of invention patent application after publication |