Utility model content
The purpose of the utility model is to provide a kind of test device of communication performance, can accurately test out charger or
Total inorganic nitrogen, message real-time performance and the message consistency of person BMS, be the communication performance of charger and BMS maintenance and
Maintenance offers convenience.
In order to solve the above technical problems, the utility model provides a kind of test device of communication performance, including processor,
Bus transceiver, data transmission bus and power module;
The bus transceiver is connect with the processor and the data transmission bus respectively, the data transmission bus
It is also connect with tested communication apparatus, the power module is connected to the processor;
The processor, for being set by the bus transceiver and the data transmission bus to the tested communication
Preparation sending test packet data, and be tested communication according to the back message data test that the tested communication apparatus is sent and set
Standby total inorganic nitrogen, message real-time performance and message consistency;
Wherein, the tested communication apparatus is charger or battery management system BMS.
Preferably, which further includes for selecting to send the test packet data type and/or control test
Beginning and stopping human-computer interaction module;
The human-computer interaction module is connected to the processor.
Preferably, which further includes for prompting the total inorganic nitrogen, the message real-time performance and described
The suggestion device of message consistency;
The suggestion device is connected to the processor.
Preferably, the suggestion device includes:
First cue module, for prompting the total inorganic nitrogen, the message real-time performance and the message consistency;
Second cue module, for prompting the waveform diagram of the total inorganic nitrogen under the control of the processor.
Preferably, which further includes the measurement module of the charging current and charging voltage for measuring battery;
The measurement module is connect with the processor and the battery respectively;
Then whether within a preset range the processor is also used to judge the charging current and the charging voltage, and
It is prompted by the suggestion device.
Preferably, the measurement module is power analyzer.
Preferably, which further includes for controlling the charge circuit on-off between the charger and the battery
Protective module;
The protective module is connect with the charge circuit and the processor respectively;
Then the processor is also used to when the charging voltage and/or the charging current be not in the preset range
It controls the protective module and cuts off the charge circuit.
Preferably, the protective module is relay.
The utility model provides a kind of test device of communication performance, including the transmission of processor, bus transceiver, data
Bus and power module;Bus transceiver is connect with processor and data transmission bus respectively, data transmission bus also with quilt
Communication apparatus connection is surveyed, power module is connect with processor;Processor, for passing through bus transceiver and data transmission bus
Test packet data are sent to tested communication apparatus, and tested logical according to the back message data test that tested communication apparatus is sent
Interrogate total inorganic nitrogen, message real-time performance and the message consistency of equipment;Wherein, being tested communication apparatus is charger or battery
Management system BMS.
As it can be seen that in the test device of the communication performance in the utility model, processor can by bus transceiver and
The back message number that data transmission bus sends test packet data to tested communication apparatus and sent according to tested communication apparatus
According to total inorganic nitrogen, message real-time performance and the message consistency for testing tested communication apparatus, and total inorganic nitrogen, message are real-time
Property and message consistency be research significance bigger technical indicator when considering charging system communication performance, it is practical new by this
The test device that type provides can accurately assess charger or the communication performance of BMS, be charger and the communicativeness of BMS
The maintenance and maintenance of energy offer convenience.
Specific embodiment
The core of the utility model is to provide a kind of test device of communication performance, can accurately test out charger or
Total inorganic nitrogen, message real-time performance and the message consistency of person BMS, be the communication performance of charger and BMS maintenance and
Maintenance offers convenience.
It is practical new below in conjunction with this to keep the objectives, technical solutions, and advantages of the embodiments of the present invention clearer
Attached drawing in type embodiment, the technical scheme in the utility model embodiment is clearly and completely described, it is clear that is retouched
The embodiment stated is the utility model a part of the embodiment, instead of all the embodiments.Based on the implementation in the utility model
Example, every other embodiment obtained by those of ordinary skill in the art without making creative efforts belong to
The range of the utility model protection.
Referring to FIG. 1, Fig. 1 is a kind of structural schematic diagram of the test device of communication performance provided by the utility model, packet
Include processor 1, bus transceiver 2, data transmission bus 3 and power module 4;
Bus transceiver 2 is connect with processor 1 and data transmission bus 3 respectively, data transmission bus 3 also with tested communication
Equipment connection, power module 4 are connect with processor 1;
Processor 1, for sending test report to tested communication apparatus by bus transceiver 2 and data transmission bus 3
Literary data, and according to total inorganic nitrogen, the message of the tested communication apparatus of back message data test that tested communication apparatus is sent
Real-time and message consistency;
Wherein, being tested communication apparatus is charger or BMS.
In view of the technical problem in above-mentioned background technique, in the utility model embodiment, processor 1 can pass through bus
Transceiver 2 and data transmission bus 3 are sent to tested communication apparatus transmission test packet data according to tested communication apparatus
Back message data test be tested communication apparatus total inorganic nitrogen, message real-time performance and message consistency, three above
Technical indicator is to consider the more great technical indicator of research significance of charger or BMS communication performance, by these three
The judgement of technical indicator can completely determine the communication performance of tested communication apparatus, can be in the maintenance of tested communication apparatus
And work in maintenance process, compensate for blank in the prior art.
Specifically, the test packet data that processor 1 is sent can be pre-set test packet data, tested
After journey starts, processor 1 just executes this process automatically, until going out the total of tested communication apparatus by back message data test
Until linear load rate, message real-time performance and message consistency.
Certainly, test packet data are other than pre-set, or staff passes through external equipment master
The test packet data of dynamic selection input, the utility model embodiment is it is not limited here.
Specifically, data transmission bus 3 can be multiple types, can between charger and BMS common CAN
(Controller Area Network, controller local area network) bus, correspondingly, bus transceiver 2 can be received using CAN
Device is sent out, certainly, data transmission bus 3 and bus transceiver 2 can also use other types, and the utility model embodiment is herein
Without limitation.
Specifically, power module 4 can be a plurality of types of power modules 4, it is therefore intended that electric energy is provided for processor 1,
The utility model embodiment is it is not limited here.
Wherein, the test device in the utility model embodiment according to back message data test is tested in addition to that can communicate
Outside the total inorganic nitrogen of equipment, message real-time performance and message consistency, it can also test other relevant to communication performance
Technical indicator, the utility model embodiment is it is not limited here.
The utility model provides a kind of test device of communication performance, including the transmission of processor, bus transceiver, data
Bus and power module;Bus transceiver is connect with processor and data transmission bus respectively, data transmission bus also with quilt
Communication apparatus connection is surveyed, power module is connect with processor;Processor, for passing through bus transceiver and data transmission bus
Test packet data are sent to tested communication apparatus, and tested logical according to the back message data test that tested communication apparatus is sent
Interrogate total inorganic nitrogen, message real-time performance and the message consistency of equipment;Wherein, being tested communication apparatus is charger or battery
Management system BMS.
As it can be seen that in the test device of the communication performance in the utility model, processor can by bus transceiver and
The back message number that data transmission bus sends test packet data to tested communication apparatus and sent according to tested communication apparatus
According to total inorganic nitrogen, message real-time performance and the message consistency for testing tested communication apparatus, and total inorganic nitrogen, message are real-time
Property and message consistency be research significance bigger technical indicator when considering charging system communication performance, it is practical new by this
The test device that type provides can accurately assess charger or the communication performance of BMS, be charger and the communicativeness of BMS
The maintenance and maintenance of energy offer convenience.
On the basis of the above embodiments:
Embodiment as one preferred, the test device further include for select send test packet data type and/
Or control the beginning of test and the human-computer interaction module 5 of stopping;
Human-computer interaction module 5 is connect with processor 1.
Specifically, staff can different situations such as the type of tested communication apparatus according to different requirements, benefit
It selects specific test packet data type to be sent to tested communication with the human-computer interaction module 5 in the utility model embodiment to set
Standby, so that the communication performance to tested communication apparatus is tested, flexibility and independence are higher, and staff can be with root
According to the different situations generated in test, the beginning and stopping of test are controlled using human-computer interaction module 5.
Wherein, other than above-mentioned function, man-machine interface can also be configured the parameter of bus transceiver 2.
Specifically, human-computer interaction module 5 can be there are many type, such as man-machine interface or computer etc., this is practical new
Type embodiment is it is not limited here.
Embodiment as one preferred, the test device further include for prompt total inorganic nitrogen, message real-time performance with
And the suggestion device 6 of message consistency;
Suggestion device 6 is connect with processor 1.
Specifically, processor 1 can control suggestion device 6 and prompt total inorganic nitrogen, message in the utility model embodiment
Real-time and message consistency, user can get the concrete outcome of the indices measured in real time by suggestion device 6,
In order to further overhaul or maintenance work.
Specifically, suggestion device 6 in the utility model embodiment can be multiple types, for example, display device or
Voice prompt device 6 etc., the utility model embodiment is it is not limited here.
Wherein, suggestion device 6 can also to charging communication process in test packet data and back message data into
Row prompt, can also prompt the state of charging, and human-computer interaction module 5 can also be to the test report in charging communication process
Literary data and back message data are managed, and the utility model embodiment is it is not limited here.
Specifically, the data transmission bus 3 in the utility model embodiment may include USBCAN-2I, can connect
Processor 1 and bus receiver, data transmission bus 3 can connect with the other end of bus receiver and tested communication apparatus
It connects, after test starts:
(1) parameter of bus receiver can be set by human-computer interaction module 5: selecting the port for needing to connect first,
It is defaulted as " 0 port ";Configuration of baud rate is consistent with tested communication equipment baud rate, simultaneously, " timer 0 " and " timer
1 " value can be revised as the corresponding value of selected baud rate automatically;It is respectively set as needed and checks and accepts code, mask off code, filtering mode etc.
Parameter.After carrying out parameter setting to bus receiver, left mouse button clicks " opening ", and the Close button becomes after equipment is opened
Bright, open button is graying.It clicks a " connect " button, bus receiver is successfully accessed tested communication system.
(2) selection of testing scheme.After bus receiver is connect with tested communication apparatus, testing scheme is selected.Selection
As analog end, such as when test device connect with charger, selection simulation BMS is communicated for one end of test device simulation, is tested and is filled
It sets and selects imitating charger communication when connecting with BMS.
(3) test packet data management.After selecting testing scheme for " simulation BMS communication ends ", by human-computer interaction circle
Face selects test packet data, and when carrying out message consistency positive test, " BMS forward data is popped up in left click " positive test "
Management " window;When carrying out message consistency negative testing, " management of BMS reverse data " window is popped up in left click " reverse data "
Mouthful.After selecting testing scheme for " imitating charger communication ends ", in human-computer interaction interface analogue communication data, when carrying out message
" management of Charger forward data " window is popped up in consistency positive test, left click " positive test ";When progress message consistency
When negative testing, left click " reverse data " pop-up " management of Charger reverse data " window, when progress test packet data edition
Afterwards, in the simulated test packet data of " sending buffer area " display.
(4) after the testing scheme of selection " analogue communication end ", " starting to test " starting is clicked in human-computer interaction interface and is surveyed
Process is tried, when charging process to be stopped, " stopping test " is clicked and then starts abort communication process.
(5) the transmitting-receiving message data in communication process can carry out real-time display in suggestion device 6.It can be by man-machine
Interactive module 5 saves communication data and error message in test process in the form of text.It can also empty in communication data
The communication data of viewing area.The filename that file can be saved with self-setting by human-computer interaction module 5 is regular, under default situations
File can be named with saving time when file.It can be with " charge " in suggestion device 6 in test process
It indicates that communications status is in the charging stage at this time, and the parameter configuration stage is completed.Suggestion device 6 can also prompt communication process
The error message and treatment measures of middle appearance.Human-computer interaction device can also empty the error message occurred in test process,
For follow-up test preparation.
(6) test software can be handled test data in real time, graphical display communication bus load factor: can be passed through
Human-computer interaction module 5 clicks " load factor " button and pops up load factor waveform diagram window.
(7) processor 1 can complete display, analysis to measurement data, and final test result is come out, is worked
Personnel can pass through the storing data as needed of human-computer interaction module 5.
Embodiment as one preferred, suggestion device 6 include:
First cue module 61, for prompting total inorganic nitrogen, message real-time performance and message consistency;
Second cue module 62, for prompting the waveform diagram of total inorganic nitrogen under the control of processor 1.
Specifically, total inorganic nitrogen can also be converted into waveform diagram by processor 1, and be controlled in the utility model embodiment
The second cue module 62 is made to prompt the waveform diagram of total inorganic nitrogen, user can get the wave by the second cue module 62
Shape figure, allows user more promptly to recognize tested communication apparatus at the case where capable of being intuitive to see total inorganic nitrogen
The integral status of total inorganic nitrogen.
Certainly, the processing other than total inorganic nitrogen is converted into waveform diagram and is prompted, in the utility model embodiment
Total inorganic nitrogen can also be converted into other kinds of figure and prompted by device 1, and the utility model embodiment does not limit herein
It is fixed.
Embodiment as one preferred, test data message include forward data and reverse data.
Specifically, forward data refers to the test packet data of load communication protocol requirements, and reverse data refers to
The test packet data for not meeting communication protocol requirements, from meeting communication protocol requirements and do not meet communication protocol requirements two
Aspect tests the message consistency of tested communication apparatus, and test result can be made more accurate, comprehensively analyzed tested
The message consistency of communication apparatus.
Wherein, for the concrete type of forward data and reverse data, the utility model embodiment is it is not limited here.
Embodiment as one preferred, the test device further include the charging current and charging electricity for measuring battery
The measurement module 7 of pressure;
Measurement module 7 is connect with processor 1 and battery respectively;
Then whether within a preset range processor 1 is also used to judge charging current and charging voltage, and passes through prompt dress
6 are set to be prompted.
Specifically, charger is during charging the battery, it may occur that overvoltage, overcurrent, under-voltage or
The case where undercurrent, the measurement module 7 in the utility model embodiment can be in the charging current and charging electricity for measuring battery
Pressure, charging current can be compared by processor 1 with preset current range, by charging voltage and preset voltage range into
Row compares, and whether in the normal range to judge charging current and charging voltage, and judging result is mentioned by suggestion device 6
Show, user can learn rapidly whether charging current and charging voltage are normal, improve the safety of charging by suggestion device 6
Property.
Certainly, in the utility model embodiment, processor 1 can also be directly by charging current and charging voltage by mentioning
Showing device 6 is prompted, and whether in the normal range user can independently judge charging current and charging voltage, this is practical new
Type embodiment is it is not limited here.
Embodiment as one preferred, measurement module 7 are power analyzer.
Specifically, power analyzer has many advantages, such as that measurement result is accurate, powerful and cost performance is high.
Certainly, other than power analyzer, measurement module 7 can also be other types, and the utility model embodiment is herein
Without limitation.
Embodiment as one preferred, the test device further include the protective module 8 for cutting off charge circuit;
The charge circuit between charger and battery and processor 1 are connect protective module 8 respectively.
In order to be preferably illustrated to the utility model embodiment, referring to FIG. 2, Fig. 2 is provided by the utility model
The structural schematic diagram of the test device of another communication performance, including processor 1, bus transceiver 2, data transmission bus 3, electricity
Source module 4, human-computer interaction module 5, the suggestion device 6 including the first cue module 61 and the second cue module 62, measurement mould
Block 7 and protective module 8.
In view of when charging current and charging voltage are abnormal, user needs to find what suggestion device 6 prompted
Unusual condition and reply can also be made, these require the time, and there is very big uncertainty, and the utility model is implemented
Processor 1 in example can control protective module 8 and cut off when judging charging current or charging voltage not within a preset range
Charge circuit further increases safety to guarantee the safety of charging system.
Embodiment as one preferred, protective module 8 are relay.
Specifically, relay has many advantages, such as that cheap, structure is simple and is quick on the draw.
Certainly, other than relay, protective module 8 can also be other types, and the utility model embodiment is not done herein
It limits.
Embodiment as one preferred, the tested communication of the back message data test sent according to tested communication apparatus are set
Standby total inorganic nitrogen, message real-time performance and message consistency specifically:
The data word joint number S for including according to i-th of messagei, message i number of fillers Tbmax, default bus position pass
Defeated time τbit, message i sending cycle TiAnd the calculation formula of total inorganic nitrogenIt calculates
Total inorganic nitrogen out;
If the practical sending time R of i-th of messageiLongest no more than i-th of message postpones time limit Di, then it is tested communication
The message real-time performance of equipment is qualified;
If tested communication apparatus can normally handle test packet data, the message consistency for being tested communication system is qualified.
Specifically, can use the thought of " the worst-case response time analytic approach " in the utility model embodiment, analysis is total
The worst case that line is likely to occur at any time at work, if the test result under worst case is still able to satisfy communication
The design requirement of system then illustrates that the communication system meets the requirement of traffic load rate, the utility model in practical work process
When thinking the filler maximum of every transmitting message, bus is in the transmission situation of worst.
Specifically, in charging system for electric automobile, communication information has its corresponding longest delay time limit, this most
In the long delay time limit, message, which is successfully received, calculates effective message, if message is not received within the longest delay time limit, is recognized
It is to send failure or invalid packet.
Specifically, for the message uniformity test for having developed traffic carried system " positive test " can be used
The testing scheme that " negative testing " combines.So-called " positive test " refers to using test software as tested communication system
Communication object, send message to tested communication system according to communication protocol requirements, test the back message of tested communication system
And communication process.If tested communication system can keep normal communication according to the requirement of communication protocol and test software, and at the same time
Meet the requirement of total inorganic nitrogen and message real-time performance, then it represents that the positive test of tested communication system consistency is qualified.If surveying
Examination software does not receive the reply message of communication system to be measured, or the content of reply message does not meet protocol requirement, then it represents that
The message consistency for surveying charging system is undesirable, needs to carry out application layer program improvement to it." negative testing " is also benefit
Use test software as the communication object of tested communication system, unlike positive test, test software is set in negative testing
Fixed communication process is not carried out according to communication protocol requirements, to test the change of the back message and communication process of tested communication system
Change situation.If the message consistency of tested communication system is good, tested communication system, which must can accurately identify, to be received
Non- protocol massages, should handle mistake in time, such as send a warning message or abort communication, to maintain the safe operation of charging system;
Otherwise it is assumed that tested communication system message consistency is unqualified.
Certainly, other than the method for above-mentioned test total inorganic nitrogen, message real-time performance and the message consistency enumerated, also
It can complete to test using other methods, the utility model embodiment is it is not limited here.
Each embodiment in this specification is described in a progressive manner, the highlights of each of the examples are with other
The difference of embodiment, the same or similar parts in each embodiment may refer to each other.It should also be noted that, in this theory
In bright book, relational terms such as first and second and the like be used merely to by an entity or operation with another entity or
Operation distinguishes, without necessarily requiring or implying between these entities or operation there are any this actual relationship or
Sequentially.Moreover, the terms "include", "comprise" or any other variant thereof is intended to cover non-exclusive inclusion, so that
Process, method, article or equipment including a series of elements not only includes those elements, but also including being not explicitly listed
Other element, or further include for elements inherent to such a process, method, article, or device.Do not limiting more
In the case where system, the element that is limited by sentence "including a ...", it is not excluded that including process, method, the object of the element
There is also other identical elements in product or equipment.
The foregoing description of the disclosed embodiments can be realized professional and technical personnel in the field or using originally practical new
Type.Various modifications to these embodiments will be readily apparent to those skilled in the art, and determine herein
The General Principle of justice can be realized in other embodiments without departing from the spirit or scope of the present utility model.Cause
This, the present invention will not be limited to the embodiments shown herein, and is to fit to and principles disclosed herein
The widest scope consistent with features of novelty.