CN106775757A - A kind of MATLAB modeling integrated approaches of BMS - Google Patents

A kind of MATLAB modeling integrated approaches of BMS Download PDF

Info

Publication number
CN106775757A
CN106775757A CN201611268036.3A CN201611268036A CN106775757A CN 106775757 A CN106775757 A CN 106775757A CN 201611268036 A CN201611268036 A CN 201611268036A CN 106775757 A CN106775757 A CN 106775757A
Authority
CN
China
Prior art keywords
module
controls
title
bms
input port
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
Application number
CN201611268036.3A
Other languages
Chinese (zh)
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.)
Huizhou Blueway New Energy Technology Co Ltd
Original Assignee
Huizhou Blueway New Energy Technology 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 Huizhou Blueway New Energy Technology Co Ltd filed Critical Huizhou Blueway New Energy Technology Co Ltd
Priority to CN201611268036.3A priority Critical patent/CN106775757A/en
Publication of CN106775757A publication Critical patent/CN106775757A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code
    • G06F8/35Creation or generation of source code model driven
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code
    • G06F8/31Programming languages or programming paradigms
    • G06F8/315Object-oriented languages

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computing Systems (AREA)
  • Stored Programmes (AREA)

Abstract

A kind of MATLAB the invention discloses BMS models integrated approach, comprises the following steps:S01:It is input module, output module and several intermediate modules by BMS points, and defines the title of each module;S02:The input port of each module and the title of output port are defined, the input port of each module includes signal character and associates its module title with the title of output port;S03:The output port of input module and each intermediate module is collected by Bus creator controls respectively;S04:Corresponding Goto controls are generated according to every Bus creator controls;S05:Generate the From controls associated completely with its signal respectively according to every Goto controls;S06:From controls are connected to the input port of corresponding module after Bus selector controls carry out signal behavior;S07:The input port and output port of each modules of BMS are carried out by auto-associating by script file.Module is realized into auto-associating using control, it is not necessary to carry out line manually, module needs the data message of input using the property parameters selection of the control for setting.

Description

A kind of MATLAB modeling integrated approaches of BMS
Technical field
The present invention relates to BMS modelings field, the MATLAB modeling integrated approaches of more particularly to a kind of BMS.
Background technology
Model real time workshop now with MATLAB, be a kind of trend, i.e., it is each in software development process One program module of personal responsibility, then puts all program modules integrated complete program code together again.In complexity In system, may include more than ten or more program modules, the interface between these program modules needs to couple together, but All it is by the way of connection manually, not only inefficiency but also easily to malfunction in traditional method.Further, since connection The relation of line, the layout of global procedures code is very unsightly.
The content of the invention
The purpose of the present invention is to overcome weak point of the prior art, there is provided a kind of MATLAB of BMS models integrated side Method.
The purpose of the present invention is achieved through the following technical solutions:
A kind of MATLAB modeling integrated approaches of BMS, comprise the following steps:
S01:It is input module, output module and several intermediate modules by BMS points, and defines the title of each module;
S02:Define the input port of each module and the title of output port, the input port of each module and output port Title includes signal character and associates its module title;
S03:The output port of input module and each intermediate module is collected by Bus creator controls respectively;
S04:Corresponding Goto controls are generated according to every Bus creator controls;
S05:Generate the From controls associated completely with its signal respectively according to every Goto controls;
S06:From controls are connected to the input of corresponding module after Bus selector controls carry out signal behavior Mouthful;
S07:The input port and output port of each modules of BMS are carried out by auto-associating by script file.
Wherein in one embodiment, the step S01 is specially:
S011:BMS is divided to define each module according to function after input module, output module and several intermediate modules Title.
Wherein in one embodiment, the step S05 is specially:
S051:The title that Goto controls obtain its this module is set to its own title;
S051:The title of the From controls that the title generation according to each Goto controls is associated completely with its signal, the From The title of the corresponding Goto controls of title of control is consistent.
Wherein in one embodiment, the From controls are corresponded with the input port of its corresponding module.
Wherein in one embodiment, the step S06 is specially:
Each input port of this module selects defeated with it by corresponding Bus selector controls from corresponding From controls The consistent signal of the title of inbound port holding wire.
Wherein in one embodiment, entitled its input port of the input port holding wire in the step S06 Title.
Wherein in one embodiment, a pair of the input port one of the Bus selector controls and its corresponding module Should.
This technical scheme has following beneficial effect compared to prior art:
1. the interface of the program module that need not be in communication with each other to needs manually carries out line, improves operating efficiency, reduces Error, and be laid out succinct, attractive in appearance.
2. program module is carried out the property parameters choosing of the control interrelated, program module utilization sets using control Select the data message for needing input, it is not easy to malfunction.
3. use script file, realize the auto-associating to the input/output port of all program modules, user can be with When control data interaction between each program module.
Brief description of the drawings
Fig. 1 is the MATLAB modeling integrated approach flow frame diagrams of BMS of the present invention;
Fig. 2 is the MATLAB modeling integrated approach principle schematics of the BMS of embodiment one.
Specific embodiment
For the ease of understanding the present invention, the present invention is described more fully below with reference to relevant drawings.In accompanying drawing Give better embodiment of the invention.But, the present invention can be realized in many different forms, however it is not limited to herein Described implementation method.On the contrary, the purpose for providing these implementation methods is to make to understand more the disclosure Plus it is thorough comprehensive.
It should be noted that when element is referred to as " being fixed on " another element, it can directly on another element Or can also there is element placed in the middle.When an element is considered as " connection " another element, it can be directly connected to To another element or may be simultaneously present centering elements.Term as used herein " vertical ", " level ", " left side ", For illustrative purposes only, it is unique implementation method to be not offered as " right side " and similar statement.
Unless otherwise defined, all of technologies and scientific terms used here by the article with belong to technical field of the invention The implication that technical staff is generally understood that is identical.The term for being used in the description of the invention herein is intended merely to description tool The purpose of the implementation method of body, it is not intended that in the limitation present invention.Term as used herein " and/or " include one or more The arbitrary and all of combination of related Listed Items.
It is as shown in Figure 1 the MATLAB modeling integrated approach flow frame diagrams of BMS, comprises the following steps:
S01:It is input module, output module and several intermediate modules by BMS points, and defines the title of each module;
S02:Define the input port of each module and the title of output port, the input port of each module and output port Title includes signal character and associates its module title;
S03:The output port of input module and each intermediate module is converged by Bus creator controls 100 respectively Collection;
S04:Corresponding Goto controls 200 are generated according to every Bus creator controls 100;
S05:Generate the From controls 202 associated completely with its signal respectively according to every Goto controls 201;
S06:From controls 202 are connected to corresponding module after Bus selector controls 300 carry out signal behavior Input port;
S07:The input port and output port of each modules of BMS are carried out by auto-associating by script file.
Further, the step S01 is specially:
S011:BMS is divided to define each module according to function after input module, output module and several intermediate modules Title.
Further, the step S05 is specially:
S051:The title that Goto controls 201 obtain its this module is set to its own title;
S051:The title of the From controls 202 that the title generation according to each Goto controls 201 is associated completely with its signal, The title of the corresponding Goto controls 201 of title of the From controls 202 is consistent.
Further, the From controls 202 are corresponded with the input port of its corresponding module.
Further, the step S06 is specially:
Each input port of this module is selected by corresponding Bus selector controls 300 from corresponding From controls 202 The signal consistent with the title of its input port holding wire.
Further, the title of entitled its input port of the input port holding wire in the step S06.
Further, the Bus selector controls 300 are corresponded with the input port of its corresponding module.
The MATLAB for describing BMS in detail with reference to a specific example models the detailed process of integrated approach.
Embodiment one:
Also, it should be noted that in this embodiment one, incorporated by reference to reference picture 2, the BMS includes three program moulds Block, respectively input module INP, voltage processing module Voltage and output module OUT.Each module has three inputs defeated Exit port, the good port name of module definition that input/output port is associated as needed, it is emphasized that, input module INP Input port be connected to bottom, input data information, in the present embodiment one, input be three voltage signals V1, V2 and V3.It should also be emphasized that three output ports of output module OUT export the data feedback after treatment to bottom.
Bus creator controls 100 are collected the data of three output ports of input module INP, i.e. in Fig. 2 INP_V1, INP_V2 and INP_V3, are input into Goto controls 201 afterwards, and Goto controls 201 obtain the title of its this module, if Its own title is set to, the title of From controls 202 that the title generation according to Goto controls 201 is associated completely with its signal should The title of the corresponding Goto controls 201 of title of From controls 202 is consistent, and difference is, From controls 202 and its respective mode The input port quantity correspondence of block is consistent, i.e. From controls 202 have several in Fig. 2.
Goto controls 202 are connected to voltage processing module Voltage modules after being connected with Bus selector controls 300 Input port.Each input port of voltage processing module Voltage is by corresponding Bus selector controls 300 from corresponding From controls 202 select the signal consistent with its input port holding wire title.Voltage processing module Voltage treatment inputs The data message after treatment is exported after data message and gives output module OUT.Voltage processing module Voltage output data information is given Mode principle of the mode principle and input module INP input data informations of output module OUT to voltage processing module Voltage It is identical, no longer stated in detail here.Final data is fed back to bottom by output module OUT.
The above implementation method only expresses several embodiments of the invention, and its description is more specific and detailed, but Therefore the limitation to the scope of the claims of the present invention can not be interpreted as.It should be pointed out that for the ordinary skill people of this area For member, without departing from the inventive concept of the premise, various modifications and improvements can be made, these belong to of the invention Protection domain.Therefore, the protection domain of patent of the present invention should be determined by the appended claims.

Claims (7)

1. a kind of MATLAB of BMS models integrated approach, it is characterised in that comprise the following steps:
S01:It is input module, output module and several intermediate modules by BMS points, and defines the title of each module;
S02:Define the input port of each module and the title of output port, the input port of each module and the title of output port Including signal character and associate its module title;
S03:The output port of input module and each intermediate module is collected by Bus creator controls (100) respectively;
S04:Corresponding Goto controls (200) are generated according to every Bus creator controls (100);
S05:Generate the From controls (202) associated completely with its signal respectively according to every Goto controls (201);
S06:From controls (202) are connected to corresponding module after Bus selector controls (300) carry out signal behavior Input port;
S07:The input port and output port of each modules of BMS are carried out by auto-associating by script file.
2. the MATLAB of BMS according to claim 1 models integrated approach, it is characterised in that the step S01 is specific For:
S011:By the BMS points of name to define each module after input module, output module and several intermediate modules according to function Claim.
3. the MATLAB of BMS according to claim 1 models integrated approach, it is characterised in that the step S05 is specific For:
S051:The title that Goto controls (201) obtain its this module is set to its own title;
S051:The title of the From controls (202) that the title generation according to each Goto controls (201) is associated completely with its signal, The title of the corresponding Goto controls (201) of title of the From controls (202) is consistent.
4. the MATLAB of BMS according to claim 3 models integrated approach, it is characterised in that the From controls (202) Input port with its corresponding module is corresponded.
5. the MATLAB of BMS according to claim 1 models integrated approach, it is characterised in that the step S06 is specific For:
Each input port of this module is selected by corresponding Bus selector controls (300) from corresponding From controls (202) The signal consistent with the title of its input port holding wire.
6. the MATLAB of BMS according to claim 5 models integrated approach, it is characterised in that defeated in the step S06 The title of entitled its input port of inbound port holding wire.
7. the MATLAB of BMS according to claim 6 models integrated approach, it is characterised in that the Bus selector Control (300) is corresponded with the input port of its corresponding module.
CN201611268036.3A 2016-12-31 2016-12-31 A kind of MATLAB modeling integrated approaches of BMS Pending CN106775757A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201611268036.3A CN106775757A (en) 2016-12-31 2016-12-31 A kind of MATLAB modeling integrated approaches of BMS

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611268036.3A CN106775757A (en) 2016-12-31 2016-12-31 A kind of MATLAB modeling integrated approaches of BMS

Publications (1)

Publication Number Publication Date
CN106775757A true CN106775757A (en) 2017-05-31

Family

ID=58952494

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611268036.3A Pending CN106775757A (en) 2016-12-31 2016-12-31 A kind of MATLAB modeling integrated approaches of BMS

Country Status (1)

Country Link
CN (1) CN106775757A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107908546A (en) * 2017-09-29 2018-04-13 惠州市蓝微新源技术有限公司 A kind of correlation signal assignment method based on Matlab
CN110795847A (en) * 2019-10-29 2020-02-14 北京世冠金洋科技发展有限公司 Modeling method and device and electronic equipment
CN113778395A (en) * 2021-08-30 2021-12-10 东风汽车集团股份有限公司 Software automatic integration control method based on software development platform

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102063509A (en) * 2011-01-12 2011-05-18 南京南瑞继保电气有限公司 Model and modeling method of multi-dimensional data integration of heterogeneous databases of electric power information system
CN103197256A (en) * 2013-04-07 2013-07-10 吉林大学 State of charge (SOC) estimation method of lithium ion battery
CN103530447A (en) * 2013-09-26 2014-01-22 北京经纬恒润科技有限公司 Automatic model generation method based on Simulink
CN103810024A (en) * 2014-03-10 2014-05-21 淄博职业学院 Position and speed simultaneous control PMSM (Permanent Magnet Synchronous Motor) simulation method
CN104021464A (en) * 2014-06-30 2014-09-03 长城汽车股份有限公司 Model integration dispatching system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102063509A (en) * 2011-01-12 2011-05-18 南京南瑞继保电气有限公司 Model and modeling method of multi-dimensional data integration of heterogeneous databases of electric power information system
CN103197256A (en) * 2013-04-07 2013-07-10 吉林大学 State of charge (SOC) estimation method of lithium ion battery
CN103530447A (en) * 2013-09-26 2014-01-22 北京经纬恒润科技有限公司 Automatic model generation method based on Simulink
CN103810024A (en) * 2014-03-10 2014-05-21 淄博职业学院 Position and speed simultaneous control PMSM (Permanent Magnet Synchronous Motor) simulation method
CN104021464A (en) * 2014-06-30 2014-09-03 长城汽车股份有限公司 Model integration dispatching system

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107908546A (en) * 2017-09-29 2018-04-13 惠州市蓝微新源技术有限公司 A kind of correlation signal assignment method based on Matlab
CN110795847A (en) * 2019-10-29 2020-02-14 北京世冠金洋科技发展有限公司 Modeling method and device and electronic equipment
CN110795847B (en) * 2019-10-29 2020-06-26 北京世冠金洋科技发展有限公司 Modeling method and device and electronic equipment
CN113778395A (en) * 2021-08-30 2021-12-10 东风汽车集团股份有限公司 Software automatic integration control method based on software development platform

Similar Documents

Publication Publication Date Title
JP6671483B2 (en) Method and apparatus for controlling smart devices and computer storage media
CN106293664A (en) Code generating method and device
CN106775757A (en) A kind of MATLAB modeling integrated approaches of BMS
CN103634161B (en) Train communication protocol consistency detection device and train communication protocol consistency detection method
CN103248525A (en) Method and device of configuring network resources
CN105701289B (en) A kind of integrated solution of full-automatic wiring harness processing device
CN107766043A (en) A kind of realization method and system based on large-size screen monitors data visualization
CN104035783A (en) Platform integrating method and platform integrating system matched with third party web page in application program
CN110377462A (en) Interface test method, device and terminal device
CN105743946A (en) Template disposition method and apparatus
CN102426567A (en) Graphical editing and debugging system of automatic answer system
CN101667124A (en) System and method for configuring monitoring device based on object model
CN104123401A (en) CAE intelligent system
CN109940611A (en) Trajectory reproducing method, system and terminal device
CN105074703B (en) For handle one group for then with view come illustrate generate electrical system electric diagram data method
CN117390810A (en) Terminal wiring automatic drawing method and terminal equipment
CN110239486A (en) Unlocking method, system, computer readable storage medium and the terminal of automobile
CN105843973B (en) A kind of description method and system of the design knowledge based on case
CN103870633B (en) A kind of large scale structure rapid modeling system
CN109683865A (en) EMU vehicle-mounted control software generation system and method
CN104486117A (en) Configuration command interaction method and configuration command interaction system of multi-board card core switch
CN105701304B (en) Pass through the method for table rapid build high-speed link
CN107742042A (en) A kind of CAE emulation preprocessing systems and method
CN103106639A (en) Prototype volume data accelerating system and method
CN107992995A (en) A kind of method and system for creating technological process title

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: 20170531

RJ01 Rejection of invention patent application after publication