软件验收测试规范英文第一版Word文件下载.docx
《软件验收测试规范英文第一版Word文件下载.docx》由会员分享,可在线阅读,更多相关《软件验收测试规范英文第一版Word文件下载.docx(62页珍藏版)》请在冰豆网上搜索。
Specification
1.5DEFINITIONS&
ABBREVIATIONS
Term
Definition
TMS
TrainManagementSystem
HDLC
High-LevelDataLinkControl
FAT
FreshAirTemperature
RAT
ReturnAirTemperature
SRS
SoftwareRequirementsSpecification
VAC
VentilationandAirConditioning
HMI
ElectricalTouchScreenforVACControl
GuangzhouZhongcheRailwayVehiclesEquipmentJoint-StockCo.,Ltd
TS
Standardtemperature
RH
ReturnAirhumidity
PTU
PortableTestUnit
2TESTPREPARATION,SETUPANDSAFETY
2.1TESTSAFETY
Thetestenvironmentuseslowvoltages(24VDC)andappropriatesafetyprecautionsshouldbeobserved.
2.2TESTENVIRONMENT
Company
Address
No.38NanbianRoad,HaizhuDistrict,Guangzhou,China
Location
ElectricalResearchDepartment
Date
2.3SOFTWAREVERSIONINPUTID
KEIL:
V4.73.0.0
Vb:
V6.0
Qt:
QtCreator2.8.1
2.4HARDWARECONFIGURATION
Modelofcontroller
CRPC11
Serialnumberofcontroller:
N/A-boardsonly
2.4.1TestEquipmentIdentification
Computer
XPormoreadvancedastheoperatingsystem
HDLCMaster
ModelHMT-1EMDNetworkTestingPlatform
HMI-02
2.5TESTPREPARATIONANDSETUP
Thetestershallberesponsibleforconductingthetestasperthetestprocedureinthisdocument.Thetestershallalsoberesponsibleforconfiguringthetestenvironmentandsetupoftestequipmentasperthatasshowninfigure1.
错误!
链接无效。
Figure1ControllerTestingEnvironmentConfiguration
2.6TESTMETHODANDCRITERIA
2.6.1ComputerTestMethod
Thetestcomputerisusedfordownloadingsoftware,runningthePTUsoftwareandTMSsimulatorsoftware.SerialportcommunicationlineshallbeusedtoconnectX6portofcontrollerand485communicationlineshallbeusedtoconnecttheX5portofcontroller.
2.6.2HDLCTestMethod
2.6.2.1NetworkCardConfiguration
Asshowninfigure1,connectthetestequipment,testlinesandcontroller.Dialthe60inputswitchestocorrectpositionaccordingtothecorrespondingsoftwarecontrolspecification.DrawoutthecommunicationlinefromcomputerforconnectingtheX5portofcontroller.Confirmthejumpercappositionofnetworkcardiscorrect.Andpleaseseebelowfordetailedspecification:
Figure2HDLCCommunicationBoardDiagram:
JumperSetting:
JP2:
programmingandoperationselection,
1-2:
programming;
2-3:
operation;
JP9:
485bus120Ωresistance:
Disconnect:
removethe120Ωresistance;
Connect:
placethe120Ωresistanceinparallel;
LEDlight:
LD1:
RSRS232send;
LD2:
RSRS232receive;
LD3:
HDLCsend;
LD4:
HDLCreceive;
LD5:
CPUoperateindicatorlight;
LD6:
datavalidationerrorinstruction
JX5:
DB9/M;
JX7:
DB9/F;
(1-9pinsofJX5andJX7arecorrespondinglyconnected)
Signaldefinition:
6—RS485A;
2—RS485B;
5—SGND;
HDLCMastershallbeconnectedtoX5andX7portsofcontrollerbyHDLCcommunicationline.
2.6.2.2InstallTMSSimulatorSoftwareintheTestComputer
InstallTMSSimulatorSoftwareforthetestcomputerthensupplypowertocontroller.Thesoftwareinterfaceisasshowninbelowfigure:
Theleftpartisforsendinginstruction,bydoubleclickingthedatainthisarea,modificationforeachbytecanberealized.Andtherightpartisforreceivinginstruction.Oncethereisdatareturnedfromcontroller,theywillbedisplayedatthisarea.
Figure2.6.1
Asshowninbelowfigure,fillininputinstructionattheleftpart:
Figure2.6.2
Byclicking
dialogbox(asshowninfigure4.4)willpopup.Select“OneShot”fordatasingletransmission,otherwiseisfordatacontinuoustransmission.Andthenclick
communicationbeginsandinterfaceasshowninfigure2.6.3appears.
Figure2.6.3
Figure2.6.4
Keepitinnormalcommunicationformorethan2hours,observethecommunicationlightstoconfirmitisnormalwithoutproblems.
Thenormalmodeis:
JP2selectedtooperate;
JP9selectedtoconnect;
LD5flickers;
DuringcommunicationLD1、LD2、LD3、LD4flicker.
Note:
ifLD6ison,thatmeansthereissomethingwiththecommunicationboard
Ifthetestresultsarequalified,click
firstthendisconnectthepowertoreplacethenextcommunicationboardcard.Click
toclearthecountingbeforetestingnewcard.
2.6.3HMITestMethod
TheHMIisusedforlocalcontroloverthecontroller.ItisconnectedtoX3portofcontrollerbyCANdataline.
2.6.4TestEquipmentTestMethod
Thetestequipmentisasshowninbelowfigure:
Figure2.1
Onthetopleftcorner,therearepowersupplyconnectingterminal,powerswitchesandpowerindicatorlights.Therearetotal30LEDoutputs(DO01~DO30)tosimulatetherelayoutputs,and60inputs(DI01~DI60)tosimulateeachinstructionandfaultinput;
andthereare61kadjustablepotentiometerstosimulatethetemperaturesensorPT100,820kadjustablepotentiometerstostimulatethetemperaturesensorNTC;
setvariablesfromDI1~DI60,upwardlydialthecorrespondingswitch,thecorrespondingvariable=0,anddownwardlydialthecorrespondingswitch,thecorrespondingvariable=1(e.g.downwardlydialthefirstswitch,thenDI1changesfrom0to1:
pulsetheDI1=0then1).
ThebelowtableshowstheIOofthetestequipmentmappingthevariablesofcontroller:
Variable
IO
CF11_HOT
Condenserfan11overheatprotection
DI1
CF12_HOT
Condenserfan12overheatprotection
DI2
CP11_HOT
Compressor11overheatprotection
DI3
CP12_HOT
Compressor12overheatprotection
DI4
CP13_HOT
Compressor13overheatprotection
DI5
CP14_HOT
Compressor14overheatprotection
DI6
EF11_HOT
Fan11overheatprotection
DI7
HT1_HOT
Electricheater1overheatprotection
DI8
EF12_HOT
Fan12overheatprotection
DI9
CP11_HIGHPRESSURE
Compressor11highpressureprotection
DI10
CP11_LOWPRESSURE
Compressor11lowpressureprotection
DI11
CP11_ExhaustHot
Compressor11exhaustprotection
DI12
CP12_HIGHPRESSURE
Compressor12highpressureprotection
DI13
CP12_LOWPRESSURE
Compressor12lowpressureprotection
DI14
CP12_ExhaustHot
Compressor12exhaustprotection
DI15
CP13_HIGHPRESSURE
Compressor13highpressureprotection
DI16
CP13_LOWPRESSURE
Compressor13lowpressureprotection
DI17
CP13_ExhaustHot
Compressor13exhaustprotection
DI18
CP14_HIGHPRESSURE
Compressor14highpressureprotection
DI19
CP14_LOWPRESSURE
Compressor14lowpressureprotection
DI20
CP14_ExhaustHot
Compressor14exhaustprotection
DI21
MixAirValve1_FB
Mixedairdamper1feedback
DI22
EmergAirValve1_FB
Emergencyairdamper1onfeedback
DI23
INVERTER1_FB
Inverter1fault
DI24
Smoke1_FB
Smoke1alarmsignal
DI25
Smoke1_Fault
SmakeDetecter1Fault
DI26
380_OV
Three-phaseelectricover-voltage
DI27
380_LV
Three-phaseelectriclack-voltage
DI28
HT1
Electricheater1
DO1
CF11
Condenserfan11
DO2
CF12
Condenserfan12
DO3
CP11
Compressor11
DO4
CP12
Compressor12
DO5
CP13
Compressor13
DO6
CP14
Compressor14
DO7
EF1
Normalventilationnormalfan1
DO8
EIF1
Emergencyventilationfan1
DO9
MixAirValve1_ON
Mixedairdamper1on
DO10
MixAirValve1_OFF
Mixedairdamper1off
DO11
EmergAirValve1_ON
Emergencyairdamper1on
DO12
EmergAirValve1_OFF
Emergencyairdamper1off
DO13
INVERTER1
Inverter1operates
DO14
Tr1
Returnairtemperaturesensor1
AI1.
Th1
ReturnAirhumiditySensor
AI2.
Tef1
EvaporationFan1Sensor
AI3.
Tef2
EvaporationFan2Sensor
AI4.
Tf1
FreshAirSensor
AI5.
Tcf
CoolingAirSensor
AI6.
2.7TestContents
No.
TestItems
Notes
1
InitialSetUpAndStartUpTests
Programinitialisation
2
Startingup
3
InputsandOutputs
I/Omapping
4
NetworkControl
HDLCnetworktest
5
Networkcontroloperationconditiontest
6
Emergencyventilationmode
7
Loadsheddingmode
8
Dehumidificationmode
9
Smokealarm
10
LocalControl
CANnetworktest
11
Localcontroloperationconditiontest
12
Readanddeletethefault
13
Readanddeletetheruntime
14
Setandreadthesystemtime
15
Readthetargettemperature
16
Networkcontrolinstructionswitching
17
Inputandoutputstatusmonitoring
18
Communicationportdatamonitoring
19
Dampercontrol
Freshairdampercontrol
20
Returnairdampercontrol
21
Emergencybypassairdampercontrol
22
FaultSimulation
Compressorfault
23
Condenserfanfault
24
Fanfault
25
D