![]() |
中标分类
行业分类
ICS分类
最新标准
|
登录注册 |
您的位置: 标准明细 |
Codeofchina.com is in charge of this English translation. In case of any doubt about the English translation, the Chinese original shall be considered authoritative. This standard is developed in accordance with the rules given in GB/T 1.1-2009. Attention is drawn to the possibility that some of the elements of this document may be the subject of patent rights. The issuing body of this document shall not be held responsible for identifying any or all such patent rights. This standard is proposed by and is under the jurisdiction of China Electricity Council. Introduction Protocol conformance testing is a kind of functional test, which tests the implementation of the protocol under test by using a set of test sequences in a certain network environment, and judges the conformance degree between the implementation under test and the described standard by comparing the similarities and differences between the actual output and the expected output. Upon protocol conformance testing, the risk of errors when product is running in the field can be reduced. There are certain differences in the implementation of different protocols due to 1) vague protocol standard description and ambiguous understanding; 2) different programming mode and implementation mode of protocol implementation; 3) different equipment selection and configuration of protocol implementation, and other reasons, so it is necessary to conduct protocol conformance testing. Protocol conformance testing is carried out to test the existence of errors rather than verify that there is no error. Relying on conformance testing alone does not absolutely guarantee the interconnection and intercommunication of applications, and corresponding interoperability testing shall be carried out on this basis. Protocol conformance testing is the basis of interoperability testing, and the interoperability testing is meaningful only for the products that have passed the protocol conformance testing and been proven to meet the requirements of the relevant protocol standards. Protocol conformance testing does not include the design evaluation of the protocol standard itself or the performance, redundancy, robustness and reliability assessment of the specific protocol implementation body. Conformance Test for Communication Protocols between Off-board Conductive Charger and Battery Management System for Electric Vehicle 1 Scope This standard specifies the requirements, system and contents of conformance testing for communication protocols between off-board conductive charger (hereinafter referred to as the charger) and battery management system (hereinafter referred to as BMS) for electric vehicle. This standard is applicable to protocol conformance testing for the products that are declared to comply with GB/T 27930-2015. 2 Normative References The following documents for the application of this document are essential. Any dated reference, just dated edition applies to this document. For undated references, the latest edition of the normative document (including any amendments) applies. GB/T 17178.1-1997 Information Technology - Open Systems Interconnection - Conformance Testing Methodology and Framework - Part 1: General Concepts GB/T 27930-2015 Communication Protocols between Off-board Conductive Charger and Battery Management System for Electric Vehicle 3 Terms and Definitions For the purposes of this document, the terms and definitions established in GB/T 17178.1-1997 and the following apply. 3.1 abstract test case a kind of complete and independent specification defined at the abstract level of a particular abstract test method and used for the actions required to obtain a particular test purpose, which starts and ends in a stable test state [GB/T 17178.1-1997, definition 3.3.3] 3.2 abstract test suite; ATS test suite consisting of abstract test cases [GB/T 17178.1-1997, definition 3.3.6] 3.3 implementation under test; IUT a kind of implementation of a protocol with a provider relationship Note: it is revised from the definition 3.3.43 in GB/T 17178.1-1997. 3.4 conformance testing testing the degree to which the IUT is a conforming implementation [GB/T 17178.1-1997, definition 3.3.23] 3.5 executable test case implementation of abstract test case [GB/T 17178.1-1997, definition 3.3.31] 3.6 executable test suite; ETS test suite consisting of executable test cases [GB/T 17178.1-1997, definition 3.3.33] 3.7 implementation conformance statement; ICS statement made by the provider of the implementation or system that is claimed to conform to the given specification to state what the capabilities have been implemented [GB/T 17178.1-1997, definition 3.3.39] 3.8 implementation conformance statement [ICS] proforma document that appears in the form of a questionnaire and becomes an ICS when it is filled out for an implementation or system [GB/T 17178.1-1997, definition 3.3.40] 3.9 implementation extra information for testing; IXIT statement made by the IUT provider or implementer, which includes or references all information related to the IUT and its test environment (except for information given by ICS) and enables the test laboratory to run the appropriate test suite on the IUT [GB/T 17178.1-1997, definition 3.3.41] 3.10 implementation extra information for testing [IXIT] proforma document that appears in the form of a questionnaire and becomes the IXIT when it is filled out for an IUT [GB/T 17178.1-1997, definition 3.3.42] 3.11 protocol implementation conformance statement; PICS ICS claiming that an implementation or system conforms to the given protocol specification [GB/T 17178.1-1997, definition 3.3.80] 3.12 protocol implementation extra information for testing; PIXIT IXIT associated with a given protocol specification conformance testing [GB/T 17178.1-1997, definition 3.3.81] 3.13 test case abstract or executable test case [GB/T 17178.1-1997, definition 3.3.107] 3.14 test laboratory organization executing conformance testing 4 Abbreviations For the purposes of this document, the following abbreviations apply. ATS: abstract test case BCL: BMS charging request message BCP: BMS charging parameter message BCS: BMS charging status message BEM: BMS error message BHM: BMS handshake message BMS: battery management system BMT: BMS temperature information message BMV: BMS voltage information message BRM: BMS recognition message BRO: BMS readiness status message BSD: BMS statistical data message BSM: BMS status message BSP: BMS status preserved message BST: BMS stopping charging message CCS: charger charging status message CEM: charger error message CHM: charger handshake message CML: charger maximum/minimum output parameter message CRM: charger recognition message CRO: charger readiness status message CSD: charger statistical data message CST: charger stopping charging message CTS: charger time synchronization message ETS: executable test suite ICS: implementation conformance statement IUT: implementation under test IXIT: implementation extra information for testing PICS: protocol implementation conformance statement PIXIT: protocol implementation extra information for testing 5 Requirements of Conformance Testing 5.1 General This standard verifies whether the IUT meets the requirements of GB/T 27930-2015, namely, verifies the degree to which the IUT conforms to the standard in terms of protocol implementation. 5.2 Test process The entire test process is shown in Figure 1. Preparations for the test includes filling in the static document, building the test system, and so on. PICS files and PIXIT files are completed jointly by the IUT provider and the test laboratory. After confirming that all equipment are started normally, the test software of upper computer can be started for subsequent test operations. After the test is completed, a test report is generated and the test conclusion is drawn. Figure 1 Process of Protocol Conformance Testing 5.3 Classification of test contents The test contents shall be classified as follows: a) Mandatory item The mandatory item is the test content which the IUT must have as stated in the PICS file and for which the conformance testing shall be carried out. b) Optional item The optional item is the test content for which the IUT may optionally have as stated in the PICS file, and for which, if being stated as existing test content, the conformance testing shall be carried out. c) Additional item The additional item is the test content that is additionally proposed by the IUT provider in the PICS file and is subject to testing as agreed upon by the IUT provider and the test laboratory. 6 System of Conformance Testing 6.1 General The system structure of conformance testing for communication protocols is shown in Figure 2. Figure 2 System Structure of Protocol Conformance Testing 6.2 Abstract test suite According to the technical requirements of the protocol standard, the test purpose shall be written to form the abstract test cases, and the set of abstract test cases covering all the technical requirements of the protocol standard constitutes an abstract test suite. 6.3 Static document Static documents include PICS and PIXIT. The PICS shall include the implemented capabilities and optional implementation of the IUT stated by the IUT provider; the PIXIT shall include all information relating to the IUT and its test environment (except for information given by the PICS), as detailed in Tables A.1 and A.2. 6.4 Executable test suite The executable test suite is composed of executable test cases, and the latter is the implementation of abstract test cases. Based on some of the parameters and additional information provided by the static document, the test laboratory can select and arrange the abstract test cases into executable test cases and finally combine them into an executable test suite for testing. 6.5 Implementation under test The implementation under test is a product conforming to the CAN physical layer, data link layer, and application layer specified in GB/T 27930-2015. The IUTs mentioned in this standard mainly include off-board charger (or controller) and BMS (or other vehicle control units with charging control function) using conductive charging. Foreword I Introduction II 1 Scope 2 Normative References 3 Terms and Definitions 4 Abbreviations 5 Requirements of Conformance Testing 6 System of Conformance Testing 7 Contents of Conformance Testing Annex A (Normative) Static Documents for Protocol Conformance Testing 电动汽车非车载传导式充电机与电池管理 系统之间的通信协议一致性测试 1 范围 本标准规定了电动汽车非车载传导式充电机(以下简称充电机)与电池管理系统(以下简称BMS)之间的通信协议一致性测试要求、一致性测试系统以及一致性测试内容。 本标准适用于对声明符合GB/T 27930—2015的产品进行协议一致性测试。 2规范性引用文件 下列文件对于本文件的应用是必不可少的。凡是注日期的引用文件,仅注日期的版本适用于本文件。凡是不注日期的引用文件,其最新版本(包括所有的修改单)适用于本文件。 GB/T 17178.1—1997信息技术 开放系统互连 一致性测试方法和框架 第1部分:基本概念 GB/T 27930—2015 电动汽车非车载传导式充电机与电池管理系统之间的通信协议 3术语和定义 GB/T 17178.1—1997界定的以及下列术语和定义适用于本文件。 3.1 抽象测试例abstract test case 在某种特定抽象测试法的抽象级别上定义的,对为获得特殊测试目的所需行动的一种完整和独立的规范。它起始和终止于稳定的测试状态。 [GB/T 17178.1—1997,定义3.3.3] 3.2 抽象测试套abstract test suite;ATS 由抽象测试例组成的测试套。 [GB/T 17178.1—1997,定义3.3.6] 3.3 被测实现 implementation under test;IUT 具有提供者关系的一个协议的一种实现。 注:改写GB/T 17178.1—1997,定义3.3.43。 3.4 一致性测试 conformance testing 测试IUT是一致性实现所达到的程度。 [GB/T 17178.1—1997,定义3.3.23] 3.5 可执行测试例executable test case 抽象测试例的实现。 [GB/T 17178.1—1997,定义3.3.31] 3.6 可执行测试套executable test suite;ETS 由可执行测试例组成的测试套。 [GB/T 17178.1—1997,定义3.3.33] 3.7 实现一致性声明 implementation conformance statement;ICS 由声称与所给规范一致的实现或系统的提供者所做的声明,陈述已实现了哪些能力。 [GB/T 17178.1—1997,定义3.3.39] 3.8 实现一致性声明[ICS]形式表implementation conformance statement[ICS]proforma 以问卷形式出现的文档,当为一个实现或系统填写完后就成为ICS。 [GB/T 17178.1—1997,定义3.3.40] 3.9 测试实现附加信息 implementation extra information for testing;IXIT 由IUT的提供者或实现者所做的陈述,它包括或引用了与IUT及其测试环境有关的全部信息(ICS给出的信息除外),该陈述使测试实验室对IUT运行适当的测试套。 [GB/T 17178.1—1997,定义3.3.41] 3.10 测试实现附加信息[IXIT]形式表implementation extra information for testing[IXIT]proforma 以问卷形式出现的文档,当为一个IUT填写完后就成为IXIT。 [GB/T 17178.1—1997.定义3.3.42] 3.11 协议实现一致性声明protocol implementation conformance statement;PICS 声称与给定协议规范一致的实现或系统的ICS。 [GB/T 17178.1—1997,定义3.3.80] 3.12 测试协议实现附加信息protocol implementation extra information for testing;PIXIT 与给定协议规范一致性测试相关的IXIT。 [GB/T 17178.1—1997,定义3.3.81] 3.13 测试例test case 抽象或可执行的测试例。 [GB/T 17178.1—1997.定义3.3.107] 3.14 测试实验室test laboratory 执行一致性测试的机构。 4缩略语 下列缩略语适用于本文件。 ATS:抽象测试套(abstract test case) BCL:电池充电需求报文(BMS charging request message) BCP:动力蓄电池充电参数报文(BMS charging parameter message) BCS:电池充电总状态报文(BMS charging status message) BEM:BMS错误报文(BMS error message) BHM:车辆握手报文(BMS handshake message) BMS:电池管理系统(battery management system) BMT:动力蓄电池温度报文(BMS temperature information message) BMV:单体动力蓄电池电压报文(BMS voltage information message) BRM:BMS和车辆辨识报文(BMS recognition message) BRO:电池充电准备就绪状态报文(BMS readiness status message) BSD:BMS统计数据报文(BMS statistical data message) BSM:动力蓄电池状态信息报文(BMS status message) BSP:动力蓄电池预留报文(BMS status preserved message) BST:BMS中止充电报文(BMS stopping charging message) CCS:充电机充电状态报文(charger charging status message) CEM:充电机错误报文(charger error message) CHM:充电机握手报文(charger handshake message) CML:充电机最大输出能力报文(charger maximum/minimum output parameter message) CRM:充电机辨识报文(charger recognition message) CRO:充电机输出准备就绪状态报文(charger readiness status message) CSD:充电机统计数据报文(charger statistical data message) CST:充电机中止充电报文(charger stopping charging message) CTS:充电机发送时间同步信息报文(charger time synchronization message) ETS:可执行测试套(executable test suite) ICS:实现一致性声明(implementation conformance statement) IUT:被测实现(implementation under test) IXIT:测试实现附加信息(implementation extra information for testing) PICS:协议实现一致性声明(protocol implementation conformance statement) PIXIT:测试协议实现附加信息(protocol implementation extra information for testing) 5一致性测试要求 5.1 概述 本标准是验证IUT是否满足GB/T 27930—2015的要求,即验证IUT在协议实现上与标准的符合程度。 5.2测试流程 整个测试流程见图1。测试的准备工作包括填写静态文档、搭建测试系统等。PICS文件与PIXIT文件由IUT的提供者和测试实验室共同完成。确认所有设备都正常启动后,便可开启上位机测试软件,进行后续的测试操作。测试完成以后,生成测试报告,得出测试结论。 填写静态文档 搭建测试系统 开启测试软件 读取静态文档生成可执行测试集 执行测试案例并观察实时信息 测试结束并察看测试报告,得出结论 图1 协议一致性测试流程 5.3测试内容分类 测试内容分类如下: a) 必须项 必须项是在PICS文件中声明IUT必须具备的测试内容,应进行一致性测试。 b)可选项 可选项是在PICS文件中声明IUT可选择的测试内容,如果声明存在该测试内容,应进行一致性测试。 c) 附加项 附加项是在PICS文件中由IUT提供者额外提出的测试内容,经IUT提供者与测试实验室商定进行测试。 6一致性测试系统 6.1 概述 通信协议一致性测试系统结构见图2。 IUT [如充电机(或控制器)、电池管理系统] 通信协议实现 测试系统 抽象测试套 静态文档 可执行测试套 图2协议一致性测试系统结构 6.2抽象测试套 根据协议标准的技术要求编写测试目的,形成抽象测试例,覆盖协议标准所有技术要求的抽象测试例的集合就构成了抽象测试套。 6.3 静态文档 静态文档包括PICS和PIXIT。PICS应由IUT提供者陈述IUT已实现的能力及可选项的实现情况;PIXIT应包括与IUT及其测试环境有关的全部信息(PICS给出的信息除外),详见表A.1,表A.2。 6.4可执行测试套 可执行测试套由可执行测试例组成,可执行测试例是抽象测试例的实现。根据静态文档提供的部分参数和附加信息,测试实验室可将抽象测试例筛选整理成可执行测试例,并最终组合成可执行测试套进行测试。 6.5 被测实现 被测实现是符合GB/T 27930—2015规定的CAN物理层、数据链路层、应用层的产品。 本标准中提及的IUT主要包括采用传导式充电方式的非车载充电机(或控制器)、BMS(或具有充电控制功能的其他车辆控制单元)等。 7一致性测试内容 7.1 测试例编码规则 通信协议一致性测试项目编码规则见图3。 TUT: “B”代表电池管理系统 “D”代表非车载充电机 “O”代表其他充电产品 测试例类型: “P”代表肯定测试 “N”代表否定测试 测试例序号: 001~999 测试阶段: “1”代表握手阶段 “2”代表配置阶段 “3”代表充电阶段 “4”代表结束阶段 图3测试例编码规则 其中测试例分为: a) 肯定测试:为了验证理想通信状态下IUT的响应; b)否定测试:为了验证异常通信状态下IUT的响应。 测试按照由肯定测试到否定测试,由简单到复杂的顺序进行。 注:IUT接收到报文类型、报文内容、报文长度与标准定义不符的报文,不需要立即停机。 7.2测试报文时间误差要求 IUT在通信过程中按周期发送报文,同时接收对方报文,如果在超时时间内没有收到对方报文或没有收到正确报文,即判定超时并发送错误报文。报文超时时间及周期时间误差要求见表1。 表1 报文时间误差要求 参 数 标称值t 误差范围 报文超时时间 1 s +0.2 s 5 s +0.5 s ≥10 s +3 s 报文周期时间 10 ms +3 ms ≥50 ms ±(t×10%)ms 7.3 其他要求 其他要求如下: a) 在GB/T 27930—2015中没有明确规定的操作,IUT的处理方式应满足安全性要求; b) 通信过程中,当前报文达到中止发送条件后,IUT应在500 ms内停止发送该报文; c) 在否定测试中,测试系统会发送与某个报文类型定义不符的报文,“不符”的内容包括报文优先级、保留位、数据页、PDU格式、目标地址和源地址等。 7.4 BMS测试例 7.4.1 低压辅助上电及充电握手阶段 测试系统模拟充电机的通信逻辑与被测BMS进行信息交互。低压辅助上电及充电握手阶段的测试例见表2.主要针对本阶段的通信逻辑、BHM报文、BRM报文进行测试。 表2 BMS测试例——低压辅助上电及充电握手阶段 测试例编号 BP.1001 前置条件 (1)测试系统和BMS的CAN通信速率设置为250 kbit/s; (2)测试系统和BMS物理连接完成并保证锁止; (3)测试系统低压辅助供电回路接触器K3K4闭合 测试步骤 预期结果 测试系统按250 ms的周期发送CHM报文,报文格式、内容和周期符合GB/T 27930—2015中9.1和10.1.1的要求 BMS接收到CHM报文后,按250 ms的周期发送BHM报文,SPN2601为BMS最高允许充电总电压,报文格式、内容和周期符合GB/T 27930—2015中9.1和10.1.2的要求,报文长度为2个字节 表2(续) 测试例编号 BP.1002 前置条件 1)测试系统和BMS完成握手确认; 2)测试系统完成绝缘监测 测试步骤 预期结果 测试系统停止发送CHM报文,按250 ms的周期发送CRM报文,SPN2560=0x00,报文格式、内容和周期符合GB/T 27930—2015中9.1和10.1.3的要求 1)BMS接收到SPN2560=0x00的CRM报文后,停止发送BHM报文; 2)BMS使用传输协议功能发送BRM报文,报文格式、内容和周期符合GB/T 27930—2015中9.1和10.1.4的要求,报文长度为49个字节 测试例编号 BP.1003 前置条件 测试系统接收完成BRM报文 测试步骤 预期结果 测试系统按250 ms的周期发送SPN2560=0xAA的CRM报文,报文格式、内容和周期符合GB/T 27930—2015中9.1和10.1.3的要求 1)BMS接收到SPN2560=0xAA的CRM报文后,停止发送BRM报文; 2)进入配置阶段通信流程 测试例编号 BN.1001 前置条件 1)测试系统和BMS的CAN通信速率设置为250 kbit/s; 2)测试系统和BMS物理连接完成并保证锁止; 3)测试系统低压辅助供电回路接触器K3K4闭合 测试步骤 预期结果 测试系统不发送报文,且不启动绝缘监测 1)自BMS系统启动60 s内BMS不发送任何报文; 2)超过60 s,BMS发送SPN3901=01的BEM报文,报文格式、内容和周期符合GB/T 27930—2015中9.5和10.5.1的要求 测试例编号 BN.1002 前置条件 1)测试系统和BMS的CAN通信速率设置为250 kbit/s; 2)测试系统和BMS物理连接完成并保证锁止; 3)测试系统低压辅助供电回路接触器K3K4闭合 测试步骤 预期结果 测试系统发送与CHM报文类型定义不符的报文,且不启动绝缘监测 1)自BMS系统启动60 s内BMS不发送任何报文; 2)超过60 s,BMS发送SPN3901=01的BEM报文,报文格式、内容和周期符合GB/T 27930—2015中9.5和10.5.1的要求 表2(续) 测试例编号 BN.1003 前置条件 1)测试系统和BMS完成握手确认; 2)测试系统完成绝缘监测 测试步骤 预期结果 测试系统停止发送报文 1)自首次接收到CHM报文起30 s内,BMS按250 ms的周期发送BHM报文; 2)超过30 s,BMS发送SPN3901=01的BEM报文,报文格式、内容和周期符合GB/T 27930—2015中9.5和10.5.1的要求 测试例编号 BN.1004 前置条件 1)测试系统和BMS完成握手确认; 2)测试系统完成绝缘监测 测试步骤 预期结果 测试系统按250 ms的周期发送与CRM报文类型定义不符的报文 1)自首次接收到CHM报文起30 s内,BMS按250 ms的周期发送BHM报文; 2)超过30 s,BMS发送SPN3901=01的BEM报文,报文格式、内容和周期符合GB/T 27930—2015中9.5和10.5.1的要求 测试例编号 BN.1005 前置条件 1)测试系统和BMS完成握手确认; 2)测试系统完成绝缘监测 测试步骤 预期结果 测试系统接250 ms的周期发送CRM报文,SPN2560≠0x00 1)自首次接收到CHM报文起30 s内,BMS按250 ms的周期发送BHM报文; 2)超过30 s,BMS发送SPN3901=01的BEM报文,报文格式、内容和周期符合GB/T 27930—2015中9.5和10.5.1的要求 测试例编号 BN.1006 前置条件 1)测试系统和BMS完成握手确认; 2)测试系统完成绝缘监测 测试步骤 预期结果 测试系统继续按250 ms的周期发送CHM报文,报文格式、内容和周期符合GB/T 27930—2015中9.1和10.1.1的要求 1)自首次接收到CHM报文起30 s内,BMS按250 ms的周期发送BHM报文; 2)超过30 s,BMS发送SPN3901=01的BEM报文,报文格式、内容和周期符合GB/T 27930—2015中9.5和10.5.1的要求 测试例编号 BN.1007 前置条件 测试系统接收完成BRM报文 表2(续) 测试步骤 预期结果 测试系统停止发送报文 1)自首次发送BRM报文起5 s内BMS按250 ms的周期发送BRM报文; 2)超过5 s,BMS发送SPN3902=01的BEM报文,报文格式、内容和周期符合GB/T 27930—2015中9.5和10.5.1的要求 测试例编号 BN.1008 前置条件 测试系统接收完成BRM报文 测试步骤 预期结果 测试系统按250 ms的周期发送与CRM报文类型定义不符的报文 1)自首次发送BRM报文起5 s内BMS按250 ms的周期发送BRM报文; 2)超过5 s,BMS发送SPN3902=01的BEM报文,报文格式、内容和周期符合GB/T 27930—2015中9.5和10.5.1的要求 测试例编号 BN.1009 前置条件 测试系统接收完成BRM报文 测试步骤 预期结果 测试系统按250 ms的周期发送CRM报文,SPN2560≠0xAA且SPN2560=≠0x00 1)自首次发送BRM报文起5 s内BMS按250 ms的周期发送BRM报文; 2)超过5 s,BMS发送SPN3902=01的BEM报文,报文格式、内容和周期符合GB/T 27930—2015中9.5和10.5.1的要求 测试例编号 BN.1010 前置条件 测试系统接收完成BRM报文 测试步骤 预期结果 测试系统继续按250 ms的周期发送SPN2560=0x00的CRM报文 1)自首次发送BRM报文起5 s内BMS按250 ms的周期发送BRM报文; 2)超过5 s,BMS发送SPN3902=01的BEM报文,报文格式、内容和周期符合GB/T 27930—2015中9.5和10.5.1的要求 7.4.2充电参数配置阶段 充电参数配置阶段的测试例见表3,主要针对本阶段的通信逻辑、BCP报文、BRO报文进行测试。 表3 BMS测试例——充电参数配置阶段 测试例编号 BP.2001 前置条件 充电握手阶段完成,测试系统和BMS进入充电参数配置阶段 测试步骤 预期结果 测试系统按250 ms的周期发送SPN2560=0xAA的CRM报文 1)BMS接收到SPN2560=0xAA的CRM报文,停止发送BRM报文; 2)BMS使用传输协议功能发送BCP报文,报文格式、内容和周期符合GB/T 27930—2015中9.2和10.2.1的要求,报文长度为13个字节 测试例编号 BP.2002 前置条件 测试系统接收完成BCP报文 测试步骤 预期结果 测试系统按250 ms的周期发送CML报文,按500 ms的周期发送CTS报文(可选),报文格式、内容和周期符合GB/T 27930—2015中9.2和10.2.2、10.2.3的要求 1)BMS停止发送BCP报文; 2)BMS按250 ms的周期发送BRO报文,K5K6闭合前,SPN2829=0x00;K5K6闭合后SPN2829=0xAA,且在停止发送BRO报文前SPN2829=0xAA保持不变,报文格式、内容和周期符合GB/T 27930—2015中9.2和10.2.4的要求,报文长度为1个字节 测试例编号 BP.2003 前置条件 测试系统接收到SPN2829=0xAA的BRO报文 测试步骤 预期结果 测试系统闭合K1K2,按250 ms的周期发送SPN 2830=0xAA的CRO报文,报文格式、内容和周期符合GB/T 27930—2015中9.2和10.2.5的要求 1)BMS停止发送BRO报文; 2)进入充电阶段通信流程 测试例编号 BN.2001 前置条件 测试系统接收完成BCP报文 测试步骤 预期结果 测试系统停止发送报文 1)自首次发送BCP报文起5 s内BMS按500 ms的周期发送BCP报文; 2)超过5 s,BMS发送SPN3903=01的BEM报文,报文格式、内容和周期符合GB/T 27930—2015中9.5和10.5.1的要求 测试例编号 BN.2002 前置条件 测试系统接收完成BCP报文 测试步骤 预期结果 测试系统按250 ms的周期发送与CML报文类型定义不符的报文 1)自首次发送BCP报文起5 s内BMS按500 ms的周期发送BCP报文; 2)超过5 s,BMS发送SPN3903=01的BEM报文,报文格式、内容和周期符合GB/T 27930—2015中9.5和10.5.1的要求 表3(续) 测试例编号 BN.2003 前置条件 测试系统接收完成BCP报文 测试步骤 预期结果 测试系统继续按250 ms的周期发送SPN2560=0xAA的CRM报文 1)自首次发送BCP报文起5 s内BMS按500 ms的周期发送BCP报文; 2)超过5 s,BMS发送SPN3903=01的BEM报文,报文格式、内容和周期符合GB/T 27930—2015中9.5和10.5.1的要求 测试例编号 BN.2004 前置条件 测试系统接收到SPN2829=0xAA的BRO报文 测试步骤 预期结果 测试系统停止发送报文 1)自首次发送SPN2829=0xAA的BRO报文起5 s内,BMS按250 ms的周期发送该报文,报文格式、内容和周期符合GB/T 27930—2015中9.2和10.2.4的要求; 2)超过5 s,BMS发送SPN3904=01的BEM报文,报文格式、内容和周期符合GB/T 27930—2015中9.5和10.5.1的要求 测试例编号 BN.2005 前置条件 测试系统接收到SPN2829=0xAA的BRO报文 测试步骤 预期结果 测试系统按250 ms的周期发送与CRO报文类型定义不符的报文 1)自首次发送SPN2829=0xAA的BRO报文起5 s内,BMS按250 ms的周期发送该报文,报文格式、内容和周期符合GB/T 27930—2015中9,2和10.2.4的要求; 2)超过5 s,BMS发送SPN3904=01的BEM报文,报文格式、内容和周期符合GB/T 27930—2015中9.5和10.5.1的要求 测试例编号 BN.2006 前置条件 测试系统接收到SPN2829=0xAA的BRO报文 测试步骤 预期结果 测试系统按250 ms的周期发送CRO报文,SPN2830≠0xAA 1)自首次发送SPN2829=0xAA的BRO报文起60 s内,BMS按250 ms的周期发送该报文,报文格式、内容和周期符合GB/T 27930—2015中9.2和10.2.4的要求; 2)超过60 s,BMS发送SPN3904=01的BEM报文,报文格式、内容和周期符合GB/T 27930—2015中9.5和10.5.1的要求 表3(续) 测试例编号 BN.2007 前置条件 测试系统接收到SPN2829=0xAA的BRO报文 测试步骤 预期结果 测试系统继续按250 ms的周期发送CML报文,按500 ms的周期发送CTS报文(可选),报文格式、内容和周期符合GB/T 27930—2015中9.2和10.2.2、10.2.3的要求 1)自首次发送SPN2829=0xAA的BRO报文起5 s内,BMS按250 ms的周期发送该报文,报文格式、内容和周期符合GB/T 27930—2015中9.2和10.2.4的要求; 2)超过5 s,BMS发送SPN3904=01的BEM报文,报文格式、内容和周期符合GB/T 27930—2015中9.5和10.5.1的要求 7.4.3充电阶段 充电阶段的测试例见表4,主要针对本阶段的通信逻辑、BCL报文、BCS报文、BSM报文、BMV报文、BMT报文、BSP报文、BST报文进行测试。 表4 BMS测试例——充电阶段 测试例编号 BP.3001 前置条件 测试系统收到SPN2830=0xAA的BRO报文 测试步骤 预期结果 测试系统按250 ms的周期发送CRO报文,闭合K1K2前SPN2830=0x00,闭合K1K2后SPN2830=0xAA 1)BMS接收到SPN2830=0xAA的CRO报文后,停止发送BRO报文; 2)BMS按50 ms的周期发送BCL报文,报文格式、内容和周期符合GB/T 27930—2015中9.3和10.8.1的要求,报文长度为5个字节; 3)BMS使用传输协议功能发送BCS报文,报文格式、内容和周期符合GB/T 27930—2015中9.3和10.3.2的要求。报文长度为9个字节 测试例编号 BP.3002 前置条件 1)测试系统和BMS进入充电阶段; 2)测试系统首次接收到BCL报文,BCS报文 测试步骤 预期结果 测试系统按50 ms的周期发送CCS报文,报文格式、内容和周期符合GB/T 27930—2015中9.3和10.3.3的要求 1)BMS继续接50 ms的周期发送BCL报文,报文格式、内容和周期符合GB/T 27930—2015中9.3和10.3.1的要求,报文长度为5个字节; 2)BMS使用传输协议功能发送BCS报文,报文格式、内容和周期符合GB/T 27930—2015中9.3和10.3.2的要求,报文长度为9个字节; 3)BMS按250 ms的周期发送BSM报文,报文格式、内容和周期符合GB/T 27930—2015中9.3和10.3.4的要求.报文长度为7个字节; 表4(续) 测试步骤 预期结果 测试系统按50 ms的周期发送CCS报文,报文格式、内容和周期符合GB/T 27980—2015中9.3和10.3.3的要求 4)BMS按10 s的周期发送BMV报文、BMT报文、BSP报文,报文格式、内容和周期符合GB/T 27930—2015中9.3和10.3.5、10.3.6、10.3.7的要求(可选) 测试例编号 BP.3003 前置条件 测试系统主动中止充电 测试步骤 预期结果 测试系统按10 ms的周期发送CST报文,报文格式、内容和周期符合GB/T 27930—2015中9.3和10.3.9的要求,中止原因可能为: a) 达到充电机设定的条件。 b)人工中止。 c) 故障中止:充电机过温故障;充电连接器故障;充电机内部过温故障;所需电量不能传送;充电机急停故障;电流不匹配;电压异常;其他故障注:“人工中止”的方式包括刷卡中止、按下停止按钮等 1)BMS停止发送BCL报文、BCS报文、BSM报文、BMV报文(可选)、BMT报文(可选)、BSP报文(可选); 2)BMS按10 ms的周期发送BST报文,报文格式、内容和周期符合GB/T 27930—2015中9.3和10.3.8的要求,报文长度为4个字节; 3)进入充电结束通信流程 测试例编号 BP.3004 前置条件 BMS主动中止充电 测试步骤 预期结果 BMS按照可模拟的方式停止充电 1)BMS中止充电,按10 ms的周期发送BST报文,报文格式、内容和周期符合GB/T 27930—2015中9.3和10.3.8的要求,报文长度为4个字节 测试例编号 BP.3005 前置条件 1)BMS主动中止充电; 2)测试系统接收到BST报文 测试步骤 预期结果 测试系统按10 ms的周期发送CST报文,报文格式、内容和周期符合GB/T 27930—2015中9.3和10.3.9的要求 1)BMS停止发送BST报文; 2)进入充电结束通信流程 测试例编号 BN.3001 前置条件 1)测试系统和BMS进入充电阶段; 2)测试系统首次接收到BCL报文,BCS报文 表4(续) 测试步骤 预期结果 测试系统停止发送报文 1)自首次接收到SPN2830=0xAA的CRO报文起1 s内BMS按50 ms的周期发送BCL报文,250 ms的周期发送BCS报文,报文格式、内容和周期符合GB/T 27930—2015中9.3和10.3.1、10.3.2的要求; 2)超过1 s,BMS发送SPN3905=01的BEM报文,报文格式、内容和周期符合GB/T 27930—2015中9.5和10.5.1的要求 测试例编号 BN.3002 前置条件 1)测试系统和BMS进入充电阶段; 2)测试系统首次接收到BCL报文,BCS报文 测试步骤 预期结果 测试系统按50 ms的周期发送与CCS报文类型定义不符的报文 1)自首次接收到SPN2830=0xAA的CRO报文起1 s内BMS按50 ms的周期发送BCL报文,250 ms的周期发送BCS报文,报文格式、内容和周期符合GB/T 27930—2015中9.3和10.3.1、10.3,2的要求; 2)超过1 s,BMS发送SPN3905=01的BEM报文,报文格式、内容和周期符合GB/T 27930—2015中9.5和10.5.1的要求 测试例编号 BN.3003 前置条件 1)测试系统和BMS进入充电阶段; 2)测试系统首次接收到BCL报文,BCS报文 测试步骤 预期结果 测试系统继续按250 ms的周期发送SPN2830=0xAA的CRO报文,报文格式、内容和周期符合GB/T 27930—2015中9.2和10.2.5的要求 1)自首次接收到SPN2830=0xAA的CRO报文起1 s内BMS按50 ms的周期发送BCL报文.250 ms的周期发送BCS报文.报文格式、内容和周期符合GB/T 27930—2015中9.3和10.3.1、10.3.2的要求; 2)超过1 s,BMS发送SPN3905=01的BEM报文,报文格式、内容和周期符合GB/T 27930—2015中9.5和10.5.1的要求 测试例编号 BN.3004 前置条件 测试系统和BMS正常充电中 测试步骤 预期结果 测试系统在充电过程中停止发送CCS报文 1)自接收到上一个CCS报文起1 s内BMS按50 ms的周期发送BCL报文,250 ms的周期发送BCS报文、BSM报文,10 s的周期发送BMV报文(可选)、BMT报文(可选)、BSP报文(可选); 2)超过1 s,BMS发送SPN3905=01的BEM报文,报文格式、内容和周期符合GB/T 27930—2015中9.5和10.5.1的要求 |
联系我们
|
微信联系客服
![]() |
关于我们 | 联系我们 | 收费付款 |
服务热线:400-001-5431 | 电话:010-8572 5110 | 传真:010-8581 9515 | Email: bz@bzfyw.com | |
版权所有: 北京悦尔信息技术有限公司 2008-2020 京ICP备17065875号-1 51La |
本页关键词: |
GB/T 34658-2017, GB 34658-2017, GBT 34658-2017, GB/T34658-2017, GB/T 34658, GB/T34658, GB34658-2017, GB 34658, GB34658, GBT34658-2017, GBT 34658, GBT34658 |