A kind of operating method simulated from control equipment
Technical field
The invention belongs to the technical fields of battery control system, and in particular to a kind of operation side simulated from control equipment
Method.
Background technique
It is limited at present by battery manufacturing process, passes through group by the way of series-parallel using several battery cells in lithium battery use
At power battery pack, in order to realize the management of battery pack, needs to research and develop electric automobile power battery management system, realize to battery
The detection of parameter and defencive function, avoid overcharging or over-discharge, and avoid the rapid decay and other potential dangers of battery life.It is existing
There is the battery management system of technology all not have the function of gas-monitoring, when the burn-up of battery management system internal circuit board, nothing
Method notifies outward in time.
Wherein, Chinese patent literature discloses a kind of BMS battery management system (publication number: 207291733 U of CN), packet
Include: barrel, screw rod, bearing, supporting plate, first interface, second interface, sliding block, sliding rail and casing are set on the casing interior circuit board
There are temperature information acquisition module, humidity information acquisition module, main control module, alarm module and gas information acquisition module, temperature
Information acquisition module, humidity information acquisition module, gas information acquisition module are connected with main control module.Above-mentioned scheme is one
Determine have the function of gas monitor in degree, but at least there is also following defects for this scheme: first, structure is complicated and function list
One, gas can only be monitored;Second, need to connect actual battery case and control circuit board, operating procedure is complicated;The
Three, control circuit board can not be debugged in real time.
Summary of the invention
It is an object of the invention to: in view of the deficiencies of the prior art, a kind of operating method simulated from control equipment is provided,
By simulation from control plate, the data of several battery status are sent to master control borad, are realized under the conditions of different analog hardwares
Master control borad is debugged, the debugging efficiency and security performance of battery management system is improved, and help to obtain intelligent management scheme, answers
It uses in maintenance actual battery management, prevents battery from overcharge and overdischarge occur, extend the service life of battery.
To achieve the goals above, the present invention adopts the following technical scheme:
A kind of operating method simulated from control equipment, includes the following steps:
1) prepare have master control borad operating system, CAN communication equipment is linked into master control borad, then click a " connect " button into
Row connection;
2) operating system shows connection status, if successful connection, mentions automatically into simulation from the interface of control plate if connection failure
Show reconnect;
3) user setting simulation is from plate number and each simulation is controlled from the debugging value for controlling plate;
4) debugging value is sent master control borad by CAN communication equipment, then debugging value of the master control borad according to user setting, real-time update
The state value from control plate is simulated, and makes corresponding response.
In operating method of the invention, using after CAN communication equipment in step 1), master control borad is not necessarily to and several are from control plate
And battery is electrically connected, and only need to be sent the debugging of corresponding battery by CAN communication equipment and is worth to master control borad, can be realized pair
The debugging of master control borad, helps to improve debugging efficiency;Step 2) increases the display of connection status, and user is made to rapidly find out failure original
Cause improves the stability of system;In step 3), setting simulation can simulate in battery use process from the debugging value of control plate
Several situation, as the quantity of battery increases, master control borad need to monitor more batteries simultaneously, and simulation helps to mention from control equipment
The processing capacity of high master control borad, and debugging efficiency is improved, and obtain intelligent management scheme, improve the safety of battery;Step
4) in, CAN communication equipment realizes debugging of the simulation from control plate to master control borad, while also taking into account master control borad and simulation between control plate
Communication, master control borad by debugging value complete to simulation from control plate and battery state judge, then master control borad feedback information is given
Simulation is adjusted the output voltage and electric current of battery from control panel according to the information of feedback from control plate, simulation, until simulation
Until meeting the requirements from the temperature of control panel and battery, in this way constantly to the debugging of master control borad, it is suitable to help to find out
Battery management scheme.
As a kind of a kind of improvement for simulating the operating method from control equipment of the present invention, institute is sent in step 4)
The method for stating debugging value, includes the following steps:
S1, debugging value is packaged by CAN message format;
S2, after completely sending master control borad for CAN message, then CAN communication equipment send response message, confirmation master control borad whether
It receives;
After S3, master control borad receive response message, judge whether CAN message normally sends by analyzing response message, if CAN message
Normal to send, then debugging value is sent successfully, if CAN message is sent extremely, prompts to retransmit.
A kind of improvement of operating method as a kind of simulation of the present invention from control equipment, it is described in step 3)
Debugging value includes simulating the temperature from control plate, simulating from the control version number of plate, the voltage of battery core, the quantity of battery core, battery core temperature
Quantity and battery the factory model of monitoring point.It simulates the temperature from control plate, simulate from the control version number of plate, the voltage of battery core, electricity
The quantity of core, the quantity of battery core temperature monitoring point and battery factory model are the foundations for influencing master control borad and judging battery status,
It collects these data and facilitates analysis and obtain the battery Managed Solution of optimization.
As a kind of a kind of improvement for simulating the operating method from control equipment of the present invention, the CAN message packet
Include standard frame and extension frame.Standard frame and extension frame are only different in length, can extend more CAN nodes, more preferably
Support upper-layer protocol in ground.
A kind of improvement of operating method as a kind of simulation of the present invention from control equipment, it is described in step 1)
CAN communication equipment is provided with vehicle CAN interface, charging CAN interface and internal CAN interface.Different CAN interfaces are set, CAN is met
The need of work of communication apparatus in different situations, vehicle CAN interface are communicated for vehicle with master control borad, and charging CAN connects
Mouthful be used for master control borad and charging equipment communication, internal CAN interface for master control borad and from control plate between communication.
A kind of improvement of operating method as a kind of simulation of the present invention from control equipment, it is described in step 1)
CAN communication equipment is additionally provided with communication interface, and the communication interface includes the physical layer and data link layer of CAN protocol.Physics
Layer and data link layer functions, the achievable framing processing to communication data, including position filling, data block coding, cyclic redundancy
The work of the items such as inspection, priority discrimination;One of CAN protocol maximum feature is to have abolished traditional station address coding, and instead of
To be encoded to communicating data block, in this way the advantages of the node number in network can be made theoretically unrestricted
System, the identifier of data block can be made of 11 or 29 bits, therefore can define 2 or 2 or more different data
Block, it is this in the way of data block coding, it can also make different nodes while receive identical data, this point is in distribution
It is highly useful in control system.
As a kind of a kind of improvement for simulating the operating method from control equipment of the present invention, the debugging value is also wrapped
Include input port, delivery outlet and battery shielded point.The effect of shielded point is 60 battery cores controlled when one from control plate, wherein arbitrarily
1-8 battery core there is error in data, by the way that shielded point is arranged, can reducing the battery core of error in data, to influence master control borad whole
Judgement.
Detailed description of the invention
Fig. 1 is the flow diagram of embodiment 1 in the present invention.
Fig. 2 is the flow diagram of embodiment 2 in the present invention.
Specific embodiment
As used some vocabulary to censure specific components in the specification and claims.Those skilled in the art answer
It is understood that hardware manufacturer may call the same component with different nouns.This specification and claims are not with name
The difference of title is as the mode for distinguishing component, but with the difference of component functionally as the criterion of differentiation.Such as logical
The "comprising" of piece specification and claim mentioned in is an open language, therefore should be construed to " include but do not limit
In "." substantially " refer within an acceptable error range, those skilled in the art can solve technology within a certain error range
Problem basically reaches technical effect.
In the description of the present invention, it is to be understood that, term " on ", "lower", "front", "rear", "left", "right", level "
The orientation or positional relationship of equal instructions is to be based on the orientation or positional relationship shown in the drawings, be merely for convenience of the description present invention and
Simplify description, rather than the device or element of indication or suggestion meaning must have a particular orientation, with specific orientation construction
And operation, therefore be not considered as limiting the invention.
In invention unless specifically defined or limited otherwise, the arts such as term " installation ", " connected ", " connection ", " fixation "
Language shall be understood in a broad sense, for example, it may be being fixedly connected, may be a detachable connection, or be integrally connected;It can be machine
Tool connection, is also possible to be electrically connected;It can be directly connected, two members can also be can be indirectly connected through an intermediary
Connection inside part.For the ordinary skill in the art, above-mentioned term can be understood in this hair as the case may be
Concrete meaning in bright.
Below in conjunction with attached drawing, invention is further described in detail, but not as a limitation of the invention.
Embodiment 1
As shown in Figure 1, a kind of simulation includes the following steps: from the operating method of control equipment
1) prepare have master control borad operating system, CAN communication equipment is linked into master control borad, then click a " connect " button into
Row connection;
2) operating system shows connection status, if successful connection, mentions automatically into simulation from the interface of control plate if connection failure
Show reconnect;
3) user setting simulation is from plate number and each simulation is controlled from the debugging value for controlling plate;
4) debugging value is sent master control borad by CAN communication equipment, then debugging value of the master control borad according to user setting, real-time update
The state value from control plate is simulated, and makes corresponding response.
It should be noted that: in operating method of the invention, using after CAN communication equipment in step 1), master control borad without
Need and several from control plate and battery be electrically connected, only need to be sent by CAN communication equipment corresponding battery debugging be worth to
Master control borad can be realized the debugging to master control borad, help to improve debugging efficiency;Step 2) increases the display of connection status, makes
User rapidly finds out failure cause, improves the stability of system;In step 3), debugging value of the setting simulation from control plate, Neng Goumo
Several situation in battery use process is drawn up, as the quantity of battery increases, master control borad need to monitor more batteries simultaneously, simulate
The processing capacity of master control borad is helped to improve from control equipment, and improves debugging efficiency, and obtain intelligent management scheme, is improved
The safety of battery;In step 4), CAN communication equipment realizes debugging of the simulation from control plate to master control borad, while also taking into account master control
Plate and simulation are from the communication between control plate, and master control borad is completed to judge simulation from the state of control plate and battery by debugging value, so
Master control borad feedback information simulates the output voltage and electric current from control panel according to the information of feedback to battery to simulation from control plate afterwards
It is adjusted, until simulation meets the requirements from the temperature of control panel and battery, in this way constantly to the debugging of master control borad,
Help to find out suitable battery management scheme.
Preferably, the method that debugging value is sent in step 4), includes the following steps:
S1, debugging value is packaged by CAN message format;
S2, after completely sending master control borad for CAN message, then CAN communication equipment send response message, confirmation master control borad whether
It receives;
After S3, master control borad receive response message, judge whether CAN message normally sends by analyzing response message, if CAN message
Normal to send, then debugging value is sent successfully, if CAN message is sent extremely, prompts to retransmit.
Preferably, CAN message includes standard frame and extension frame.Standard frame and extension frame are only different in length,
More CAN nodes, preferably support upper-layer protocol can be extended.
Preferably, CAN communication equipment is provided with vehicle CAN interface, charging CAN interface and internal CAN interface.Setting is different
CAN interface, meets the need of work of CAN communication equipment in different situations, and vehicle CAN interface is carried out for vehicle with master control borad
Communication, charging CAN interface are used for the communication of master control borad and charging equipment, and internal CAN interface is for master control borad and between control plate
Communication.
Preferably, in step 1), CAN communication equipment is additionally provided with communication interface, and communication interface includes the physics of CAN protocol
Layer and data link layer.Physical layer and data link layer functions, the achievable framing processing to communication data, including position filling,
The work of the items such as data block coding, cyclic redundancy check, priority discrimination;The maximum feature of one of CAN protocol is to have abolished tradition
Station address coding, and instead communicating data block is encoded, in this way the advantages of can make node in network
Number is theoretically unrestricted, and the identifier of data block can be made of 11 or 29 bits, thus can define 2 or
2 or more different data blocks, it is this in the way of data block coding, it can also make different nodes while receive identical number
According to this point is highly useful in dcs.
Embodiment 2
As shown in Fig. 2, unlike the first embodiment: the CAN communication equipment of the present embodiment is CAN bus, and debugging value includes simulation
From control plate temperature, simulation from control the version number of plate, the voltage of battery core, the quantity of battery core, the quantity of battery core temperature monitoring point, electricity
Pond factory model, input port, delivery outlet and battery shielded point.CAN bus passes through two of CAN transceiver interface chip 82C250
Output end CANH and CANL are connected with physical bus, and the state at the end CANH can only be high level or suspended state, and the end CANL is only
It can be low level or suspended state, and CAN node has under wrong serious situation output function is automatically closed, so that always
The operation of other nodes is unaffected on line, thus guarantee be not in as in a network, because respective nodes go wrong so that
Bus is in " deadlock " state, and the perfect communication protocol that CAN has can be by CAN controller chip and its interface chip Lai real
It is existing, to substantially reduce system development difficulty, shorten the development cycle;It simulates the temperature from control plate, simulate the version from control plate
Number, the quantity of the voltage of battery core, battery core, the quantity of battery core temperature monitoring point and battery factory model be influence master control borad judgement
The foundation of battery status, collects these data and facilitates analysis and obtain the battery Managed Solution of optimization;Such as one controls from control plate
60 battery cores, there is error in data in any of them 1-8 battery core, can pass through setting shielded point, reduce error in data
Battery core influence master control borad entirety judgement.
Other structures are same as Example 1, and which is not described herein again.
According to the disclosure and teachings of the above specification, those skilled in the art in the invention can also be to above-mentioned embodiment party
Formula is changed and is modified.Therefore, the invention is not limited to above-mentioned specific embodiment, all those skilled in the art exist
Made any conspicuous improvement, replacement or modification all belong to the scope of protection of the present invention on the basis of the present invention.This
Outside, although using some specific terms in this specification, these terms are merely for convenience of description, not to the present invention
Constitute any restrictions.