




版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
1、Software Acceptance Test SpecificationISSUE HISTORYIssueDate IssuedAuthor(s)Change No.12015-01-19ZRJCAMENDMENT HISTORYIssueDate IssuedDetailsApprovalTABLE OF CONTENTS1INTRODUCTION51.1TEST OBJECTIVES AND COVERAGE51.2TEST CLASSIFICATION51.3DOCUMENT OVERVIEW51.4REFERENCE DOCUMENTS61.5DEFINITIONS &
2、ABBREVIATIONS62TEST PREPARATION, SETUP AND SAFETY72.1TEST SAFETY72.2TEST ENVIRONMENT72.3SOFTWARE VERSION INPUT ID72.4HARDWARE CONFIGURATION7TEST EQUIPMENT IDENTIFICATION82.5TEST PREPARATION AND SETUP82.6TEST METHOD AND CRITERIA9COMPUTER TEST METHOD9HDLC TEST METHOD9NETWORK CARD CONFIGURATION9INSTALL
3、 TMS SIMULATOR SOFTWARE IN THE TEST COMPUTER10HMI TEST METHOD14TEST EQUIPMENT TEST METHOD142.7TEST CONTENTS173CHECKLIST203.1INITIAL SET UP AND START UP TESTS20INITIAL SET UP20START UP203.2INPUTS AND OUTPUTS20I/O MAPPING203.3NETWORK CONTROL21HDLC NETWORK TEST21NETWORK SIGNALS TEST21EMERGENCY VENTILAT
4、ION MODE24SMOKE ALARM253.4LOCAL CONTROL25CAN NETWORK TEST25LOCAL CONTROL OPERATION CONDITION TEST25READ AND DELETE THE FAULT27READ AND DELETE THE RUNTIME27SET AND READ THE SYSTEM TIME27READ THE TARGET TEMPERATUERE28TCMS STATUS DATA28INPUT AND OUTPUT STATUS MONITORING28COMMUNICATION PORT DATA MONITOR
5、ING29NO OPERATION293.5DAMPER CONTROL29FRESH AIR DAMPER CONTROL29RETURN AIR DAMPER CONTROL30EMERGENCY BYPASS AIR DAMPER CONTROL303.6FAULT SIMULATION31COMPRESSOR FAULT31CONDENSER FAN FAULT37EVAPORATOR FAN FAULT38TEMPERATURE SENSOR FAULT38EMERGENCY VENTILATION INVERTER FAULT383.7PTU READING39RS232 SERI
6、AL PORT COMMUNICATION TEST39READ AND DELETE THE FAULT39READ AND DELETE THE RUNTIME40SET AND READ THE SYSTEM TIME40READ THE TARGET TEMPERATURE40INPUT AND OUTPUT STATUS MONITORING41READ THE FAT/RAT41VAC OPERATION CONDITION41SET AND READ THE CARRIAGE NO.424. NOTES AND NON-CONFORMANCES424.1 TEST NOTES42
7、4.2 TEST NON-CONFORMANCE431 INTRODUCTION1.1 TEST OBJECTIVES AND COVERAGEThe purpose of this System Verification Plan (Software Acceptance Test SWAT Checklist) is to document the tests to be performed on the ZRJC SCL1141A project software on the bench. The System Verification bench testing involves s
8、imulating the systems environment to give local control and network control over the software. VAC testing (Factory Acceptance Test FAT) and field train testing (Site Acceptance Test SAT) phases are planned following successful completion of bench testing1.2 TEST CLASSIFICATIONType Test.1.3 DOCUMENT
9、 OVERVIEWThis document is structured in the following manner.(a) Section 1 This section described the background, context and environment for the test.(b) Section 2 This section contains the actual test checklist(c) Section 3 This section contains comments to be made on the test and details the non-
10、conformances arising from the test.1.4 REFERENCE DOCUMENTS Document ReferenceIssue DateIssueNumberAuthorTitleT002 VAC Software Requirement Specification.doc18/1/2015A ZRJCVAC Software Requirements Specification1.5 DEFINITIONS & ABBREVIATIONSTermDefinitionTMSTrain Management SystemHDLCH
11、igh-Level Data Link ControlFATFresh Air TemperatureRATReturn Air TemperatureSRSSoftware Requirements SpecificationVACVentilation and Air ConditioningHMIElectrical Touch Screen for VAC ControlZRJCGuangzhou Zhongche Railway Vehicles Equipment Joint-Stock Co., LtdTSStandard temperatureRHReturn Air humi
12、dityPTUPortable Test Unit2 TEST PREPARATION, SETUP AND SAFETY2.1 TEST SAFETYThe test environment uses low voltages (24VDC) and appropriate safety precautions should be observed.2.2 TEST ENVIRONMENTCompanyZRJCAddressNo.38 Nanbian Road, Haizhu District, Guangzhou, ChinaLocationElectrical Research Depa
13、rtmentDate2.3 SOFTWARE VERSION INPUT IDKEIL:VVb:V6.0Qt:2.4 HARDWARE CONFIGURATIONModel of controller CRPC11Serial number of controller:N/A - boards only2.4.1 Test Equipment IdentificationComputerXP or more advanced as the operating systemHDLC MasterModel HMT-1 EMD Network Testing PlatformHMIHMI-022.
14、5 TEST PREPARATION AND SETUPThe tester shall be responsible for conducting the test as per the test procedure in this document. The tester shall also be responsible for configuring the test environment and setup of test equipment as per that as shown in figure 1.Figure 1 Controller Testing Environme
15、nt Configuration2.6 TEST METHOD AND CRITERIA2.6.1 Computer Test MethodThe test computer is used for downloading software, running the PTU software and TMS simulator software. Serial port communication line shall be used to connect X6 port of controller and 485 communication line shall be used to con
16、nect the X5 port of controller.2.6.2 HDLC Test Method2.6.2.1 Network Card ConfigurationAs shown in figure 1, connect the test equipment, test lines and controller. Dial the 60 input switches to correct position according to the corresponding software control specification. Draw out the communication
17、 line from computer for connecting the X5 port of controller. Confirm the jumper cap position of network card is correct. And please see below for detailed specification: Figure 2 HDLC Communication Board Diagram:Jumper Setting:JP2:programming and operation selection,1-2: programming;2-3:operation;J
18、P9:485 bus 120 resistance:Disconnect: remove the 120 resistance;Connect: place the 120 resistance in parallel;LED light:LD1:RSRS232 send;LD2:RSRS232 receive;LD3:HDLC send;LD4:HDLC receive;LD5:CPU operate indicator light;LD6:data validation error instructionJX5:DB9/M; JX7:DB9/F; (1-9 pins of JX5 and
19、JX7 are correspondingly connected)Signal definition:6RS485A; 2RS485B; 5SGND;HDLC Master shall be connected to X5 and X7 ports of controller by HDLC communication line.2.6.2.2 Install TMS Simulator Software in the Test ComputerInstall TMS Simulator Software for the test computer then supply power to
20、controller. The software interface is as shown in below figure:The left part is for sending instruction, by double clicking the data in this area, modification for each byte can be realized. And the right part is for receiving instruction. Once there is data returned from controller, they will be di
21、splayed at this area.Figure As shown in below figure, fill in input instruction at the left part:Figure By clicking , dialog box (as shown in figure 4.4) will pop up. Select “One Shot” for data single transmission, otherwise is for data continuous transmission. And then click , communication begins
22、and interface as shown in figure appears. Figure Figure Keep it in normal communication for more than 2 hours, observe the communication lights to confirm it is normal without problems.The normal mode is:JP2 selected to operate;JP9 selected to connect;LD5 flickers;During communication LD1、LD2、LD3、LD
23、4 flicker. Note: if LD6 is on, that means there is something with the communication board If the test results are qualified, click first then disconnect the power to replace the next communication board card. Click to clear the counting before testing new card.2.6.3 HMI Test MethodThe HMI is used fo
24、r local control over the controller. It is connected to X3 port of controller by CAN data line.2.6.4 Test Equipment Test MethodThe test equipment is as shown in below figure: Figure 2.1On the top left corner, there are power supply connecting terminal, power switches and power indicator lights. Ther
25、e are total 30 LED outputs (DO01DO30) to simulate the relay outputs, and 60 inputs (DI01DI60) to simulate each instruction and fault input; and there are 6 1k adjustable potentiometers to simulate the temperature sensor PT100, 8 20k adjustable potentiometers to stimulate the temperature sensor NTC;
26、set variables from DI1DI60, upwardly dial the corresponding switch, the corresponding variable =0, and downwardly dial the corresponding switch, the corresponding variable =1 (e.g. downwardly dial the first switch, then DI1 changes from 0 to 1: pulse the DI1=0 then 1). The below table shows the IO o
27、f the test equipment mapping the variables of controller:Variable DefinitionIOCF11_HOTCondenser fan 11 overheat protectionDI1CF12_HOTCondenser fan 12 overheat protectionDI2CP11_HOTCompressor 11 overheat protectionDI3CP12_HOTCompressor 12 overheat protectionDI4CP13_HOTCompressor 13 overheat protectio
28、nDI5CP14_HOTCompressor 14 overheat protectionDI6EF11_HOTFan 11 overheat protectionDI7HT1_HOTElectric heater 1 overheat protectionDI8EF12_HOTFan 12 overheat protectionDI9CP11_HIGHPRESSURECompressor 11 high pressure protectionDI10CP11_LOWPRESSURECompressor 11 low pressure protectionDI11CP11_ExhaustHot
29、Compressor 11 exhaust protectionDI12CP12_HIGHPRESSURECompressor 12 high pressure protectionDI13CP12_LOWPRESSURECompressor 12 low pressure protectionDI14CP12_ExhaustHotCompressor 12 exhaust protectionDI15CP13_HIGHPRESSURECompressor 13 high pressure protectionDI16CP13_LOWPRESSURECompressor 13 low pres
30、sure protectionDI17CP13_ExhaustHotCompressor 13 exhaust protectionDI18CP14_HIGHPRESSURECompressor 14 high pressure protectionDI19CP14_LOWPRESSURECompressor 14 low pressure protectionDI20CP14_ExhaustHotCompressor 14 exhaust protectionDI21MixAirValve1_FBMixed air damper 1 feedbackDI22EmergAirValve1_FB
31、Emergency air damper 1 on feedbackDI23INVERTER1_FBInverter 1 faultDI24Smoke1_FBSmoke 1 alarm signalDI25Smoke1_FaultSmake Detecter 1 FaultDI26380_OVThree-phase electric over-voltageDI27380_LVThree-phase electric lack-voltageDI28HT1Electric heater 1DO1CF11Condenser fan 11DO2CF12Condenser fan 12DO3CP11
32、Compressor 11DO4CP12Compressor 12DO5CP13Compressor 13DO6CP14Compressor 14DO7EF1Normal ventilation normal fan1DO8EIF1Emergency ventilation fan 1DO9MixAirValve1_ONMixed air damper 1 onDO10MixAirValve1_OFFMixed air damper 1 offDO11EmergAirValve1_ONEmergency air damper 1 onDO12EmergAirValve1_OFFEmergenc
33、y air damper 1 offDO13INVERTER1Inverter 1 operatesDO14Tr1Return air temperature sensor 1AI1.Th1Return Air humidity SensorAI2.Tef1Evaporation Fan 1 SensorAI3.Tef2Evaporation Fan 2 SensorAI4.Tf1Fresh Air SensorAI5.TcfCooling Air SensorAI6.2.7 Test ContentsNo.Test ItemsNotes1Initial Set Up And Start Up
34、 TestsProgram initialisation2Starting up3Inputs and OutputsI/O mapping4Network ControlHDLC network test5Network control operation condition test6Emergency ventilation mode7Load shedding mode8Dehumidification mode9Smoke alarm10 Local Control CAN network test11Local control operation condition test12R
35、ead and delete the fault13Read and delete the runtime14Set and read the system time15Read the target temperature16Network control instruction switching17Input and output status monitoring18Communication port data monitoring19 Damper control Fresh air damper control20Return air damper control21Emerge
36、ncy bypass air damper control22Fault SimulationCompressor fault23Condenser fan fault24Fan fault25Damper faultTemperature sensor fault26Emergency ventilation inverter fault27PTU ReadingRS232 serial port communication test28Read and delete the fault29Read and delete the runtime30Set and read the syste
37、m time31Read the target temperature32Input and output status monitoring33Read the FAT/RAT34Read the VAC operation condition35Set and read the carriage No.Notes: all the above test items must be conducted for each controller.Test cases within a section must follow sequentially and all test cases perf
38、ormed. Each test case, and criteria to pass the test, is described in the following sections. The tester shall tick the “P” pass column should the result meet the test criteria. If the test does not meet the test criteria, a tick shall be placed in the “F” fail column and a “NC#” reference to notes
39、in §4. Digital outputs on the test equipment shall be observed as per test case details. Digital outputs not covered by the test case criteria shall be observed and unexpected changes noted as test failure. The “A” abandoned column shall be ticked for tests which have been skipped. Test maybe a
40、bandoned because of earlier failure making the test redundant.Failed or abandoned test shall be retested in a subsequent test round.Test which have passed, failed or abandoned may have test notes associated with them, In this situation, “N#” is placed in the “P”, “F” or “A” column referencing the no
41、te details in §43 CHECKLIST3.1 INITIAL SET UP AND START UP TESTS3.1.1 INITIAL SET UPReferenceSRSTest DescriptionPFAN/ASet up the testing platform as shown in figure 1. Download the controller code using Philips LPC210x_ISP.exe in the test computer. Verify it downloads successfully.3.1.2 START U
42、PReferenceSRSTest DescriptionPFA3.1.2.1N/A After completion of controller program initialization, supply power for controller and restart to verify it runs without errors.3.1.2.2N/A Verify the software version displayed on the HMI is correct.3.2 INPUTS AND OUTPUTS3.2.1 I/O MappingReferenceSRSTest De
43、scriptionPFAWith control code in simulative testing mode, change each digital input DI1DI60 from open circuit to short circuit (to 24v). Confirm that the relevant variables (fault) in figure 1 are saved in fault messages. And confirm that it can be checked to ensure the relevant outputs are correct
44、after fault on HMI.3.3 Network Control3.3.1 HDLC network testReferenceSRSTest DescriptionPFASet the TMS simulator software according to format information of the following table as per the HDLC test method. The data sent and that returned from controller shall be the same. If they are not equal, the
45、re occurs the frame loss problem.3.3.2 Network SIGNALS TestReferenceSRSTest DescriptionPFA3.3.2.1.Byte0: Using the test computer, configure the TMS simulator signals Text code=20H ,Confirm test computer connect to No.1 VAC 3.3.2.2.Byte0: Using the test computer, configure the TMS simulator signals T
46、ext code=A0H Confirm test computer connect to No.2 VAC3.3.2.3.Byte1: Using the test computer, configure the TMS simulator signals Test start request = 1, confirm the VAC is under the on-board test.3.3.2.4.Byte1: Using the test computer, configure the TMS simulator signals Test execution request = 1,
47、 confirm the VAC will carry out the on-board test item3.3.2.5.Byte5: Using the test computer, configure the TMS simulator signals Time / Date valid = 1 and Time / Date adjustment=1 Confirm that the VAC adjusts its clock according to the time given in Byte6-Byte11.This signal is set for at least 1s.
48、3.3.2.6.Byte5: Using the test computer, configure the TMS simulator signals Car No. valid = 1, confirm that the VAC adjusts its car No. according to the data given in Byte12 bit0bit3 and Byte13.3.3.2.7.Byte5: Using the test computer, configure the TMS simulator signals Car Type valid =1, confirm tha
49、t VAC adjusts its Car Type according to the data given in Byte12 bit4bit7. 3.3.2.8.Byte5: Using the test computer, configure the TMS simulator signals Trace data clear request =1, confirm that VAC clears the stored trace data .3.3.2.9.Byte5: Using the test computer, configure the TMS simulator signa
50、ls Pseudo failure request =1, confirm that VAC collects the fault trace data.3.3.2.10.Byte14: Using the test computer, configure the TMS simulator signals Instruction valid =1, confirm that the instruction command in Byte15 is valid.3.3.2.11.Byte14: Using the test computer, configure the TMS simulat
51、or signals Standard temperature valid =1, confirm the instruction command in Byte17 is valid.3.3.2.12.Byte14: Using the test computer, configure the TMS simulator signals Passenger load valid =1, confirm the instruction command in Byte19 is valid.3.3.2.13.Byte14: Using the test computer, configure t
52、he TMS simulator signals Car number valid flag =1, confirm the instruction command in Byte20 is valid.3.3.2.14.Byte15: Using the test computer, configure the TMS simulator signals Instruction valid =1 and Ventilation=1, adjust the RAT to request Ventilation mode.Confirm the DO8 is on .3.3.2.15.Byte1
53、5: Using the test computer, configure the TMS simulator signals Instruction valid =1 and Dehumidification =1, adjust the RAT and RH to request Dehumidification mode, confirm the DO8 /DO1/DO2/DO4/DO5 are on (as shown in table 1). Ts-1.5Tr<Ts-1RH 55%-65%25% Cool+HeaterTs-2Tr<Ts-1.5RH >65%Ts-1
54、.5Tr<Ts-1RH >65%50% Cool+Heater3.3.2.16.Byte15: Using the test computer, configure the TMS simulator signals Instruction valid =1 and ON=1, adjust the RAT and TS to request cool mode. Confirm the DO8 /DO1/DO2/DO3/DO4/DO5/DO6/DO7 are on (as shown in Figure 1). Figure 13.3.2.17.Byte15: Using the test computer, configure the TMS simulator signals Instruction valid =1 and OFF=1, confirm the DO8 /DO1/DO2/DO3/DO4/DO5/DO6/DO7 are OFF3.3.2.18.Byte15: Using the test computer, configure
温馨提示
- 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
- 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 2025年小学教师资格考试《综合素质》教育心理学教育伦理教育案例练习试题试卷
- 2025年护士执业资格考试题库:护理教育与培训护理妇产科护理模拟试题
- 保洁全面培训课件
- 社区精神卫生服务与护理
- 2025-2030中国全棉坯布行业供需趋势及投资风险研究报告
- 2025-2030中国充电型电蚊拍行业供需趋势及投资风险研究报告
- 2025-2030中国儿童手表行业营销策略与前景预测分析研究报告
- 2025-2030中国保湿瓶行业市场发展趋势与前景展望战略研究报告
- 保密安全教育课件和教案
- 2025-2030中国以太网供电(PoE)注入器行业市场现状供需分析及投资评估规划分析研究报告
- GB/T 23445-2009聚合物水泥防水涂料
- 中医基础理论(中英文对照)
- 生理学(全套课件)
- 香港公司条例
- 污水处理系统工程合同范本
- 德能勤绩廉个人总结的
- 二年级美术上册课件 《3.我的手印画》 赣美版 (共18张PPT)
- Q∕SY 126-2014 油田水处理用缓蚀阻垢剂技术规范
- GB∕T 3216-2016 回转动力泵 水力性能验收试验 1级、2级和3级
- 电子电气评估规范-最新
- 黑布林绘本 Dad-for-Sale 出售爸爸课件
评论
0/150
提交评论