CN105589339B - An air-conditioning test method and the analog value of the input conditioning test apparatus - Google Patents

An air-conditioning test method and the analog value of the input conditioning test apparatus Download PDF

Info

Publication number
CN105589339B
CN105589339B CN 201510043361 CN201510043361A CN105589339B CN 105589339 B CN105589339 B CN 105589339B CN 201510043361 CN201510043361 CN 201510043361 CN 201510043361 A CN201510043361 A CN 201510043361A CN 105589339 B CN105589339 B CN 105589339B
Authority
CN
Grant status
Grant
Patent type
Prior art keywords
value
analog
input
reference
device
Prior art date
Application number
CN 201510043361
Other languages
Chinese (zh)
Other versions
CN105589339A (en )
Inventor
李义军
黄金辉
石靖峰
Original Assignee
青岛海信日立空调系统有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Grant date

Links

Abstract

本发明实施例提供种空调测试中模拟值输入方法及空调测试装置,涉及空调测试领域,能够准确的输入被模拟设备的模拟值,提高测试效率,并且节约人力资源。 Embodiment of the present invention provides an air conditioning test method and the analog value of the input conditioning test apparatus, the test relates to the field of air conditioning, can be accurately simulated value of the analog input device, improve test efficiency and saving human resources. 空调测试中模拟值输入方法包括:获取参考被模拟设备的模拟值,参考被模拟设备为待测空调包括的多个被模拟设备中的任意个;根据被模拟设备的模拟值与模拟设备的标准输入值之间的对应关系,获取参考模拟设备的标准输入值,参考模拟设备为模拟参考被模拟设备的设备;根据参考模拟设备的标准输入值,获取参考模拟设备的实际输入值;其中,与实际输入值对应的参考模拟设备的输出值与模拟值相等。 Conditioning the analog value of the input test method comprising: obtaining a reference value of the analog is an analog device, a plurality of reference devices to be tested are conditioned analog is comprising a number of analog devices; standard analog value is an analog device in accordance with the simulation device a correspondence relationship between the input values, obtain the standard value of the reference analog input device, the reference device is a simulation device is analog reference simulation apparatus; standard analog input value of the reference apparatus, the reference value to obtain the actual analog input device; wherein, with equal to the output value corresponding to the actual input value of the reference analog value and an analog device. 本发明实施例用于空调测试中模拟值的输入。 Example embodiments of the present invention conditioned for inputting test analog values.

Description

一种空调测试中模拟值输入方法及空调测试装置 An air-conditioning test method and the analog value of the input conditioning test apparatus

技术领域 FIELD

[0001] 本发明涉及空调测试领域,尤其涉及一种空调测试中模拟值输入方法及空调测试装置。 [0001] The present invention relates to air conditioning testing, and more particularly relates to an air conditioning test method and the analog value of the input conditioning test apparatus.

背景技术 Background technique

[0002] 随着人们生活质量的不断提高,空调的使用越来越普及,人们对空调的各项功能的要求也越来越高。 [0002] With the continuous improvement of quality of life, use of air conditioning is becoming increasingly popular, people on the various functions of the air conditioner are increasingly high. 为了确保出厂的空调可以向用户提供可靠的服务,空调制造商需要在空调出厂前,对空调的各项功能进行测试。 In order to ensure the factory's air conditioning can provide a reliable service to users, manufacturers need air conditioning in the factory before air conditioning, air-conditioning for the various functions are tested.

[0003] 现有技术中,对空调的各项功能进行测试时,需要搭建不同的测试环境和空调系统,然而如果要搭建真实实验环境,连接完整的空调系统就会耗费大量的人力物力,所以在实际操作中一般会搭建一个简易的空调系统,其中大部分设备均采用模拟设备来模拟。 [0003] prior art, when the air-conditioning function tests, need to build a different test environments and air conditioning systems, but if you want to build a real test environment, connection, complete air conditioning system will spend a lot of manpower and resources, so in practice, generally build a simple air-conditioning systems, most equipment are used to simulate analog devices. 示例的,可以采用不同颜色指示灯的亮暗来模拟压缩机的启停、风扇的转速,采用可调电阻器的阻值来模拟电路系统中的传感器的模拟值等,其中,不同颜色指示灯和可调电阻器等均称为模拟设备,压缩机、风扇和电路系统中的传感器等均称为被模拟设备。 Example, different color LEDs may be employed to simulate start and stop of light and dark, the fan speed of the compressor, using the adjustable resistor value to an analog value of the analog circuitry of the sensor, and the like, wherein different color LEDs and an adjustable resistor etc. called analog equipment, compressors, fans and the circuitry in the sensor is an analog device called etc. 在通过调整可调电阻器的阻值来模拟电路系统中的传感器的模拟值时,通常需要测试人员手动调整可调电阻器的阻值。 When the adjustable resistor simulated by adjusting the resistance values ​​of the analog circuitry in the sensors, often require testers to manually adjust the adjustable resistor values. 然而,由于手动调整的过程与模拟设备的灵敏性难以协调,在针对模拟值进行手动调整时,往往会出现手动调整输入的实际输入值相比于所述模拟值偏大或者偏小的情况,这样容易导致测试效率较低,同时为了达到所述模拟值,测试人员需要重复多次进行调整,并且空调也需要多次启动完成测试,浪费了大量的人力和物力。 However, since manual adjustment of the sensitivity of the process equipment and difficult to coordinate the analog, when the manual adjustments for the analog value, actual input value will always be entered manually adjusted compared with the case of the analog value is too large or too small, so easily lead to lower test efficiency, and in order to achieve the analog value, testers need to be repeated several times to adjust, and air conditioning also require multiple start to complete the test, waste a lot of manpower and material resources. 同时,若在空调的测试过程中需要输入多个模拟值时,如果每个模拟值均通过手工输入完成,则所述多个模拟值需要逐个进行输入,导致测试时间较长,测试效率较低。 Meanwhile, if a plurality of analog input values ​​required in the air conditioner during the test, if the value of each analog was done by manual input, the values ​​of said plurality of analog input required by one, resulting in longer test time, test efficiency is low .

发明内容 SUMMARY

[0004] 本发明的实施例提供一种空调测试中模拟值输入方法及空调测试装置,能够准确的输入被模拟设备的模拟值,提高测试效率,并且节约人力资源。 Example [0004] The present invention provides an air input analog value test method and test air conditioning apparatus capable of accurately simulated value of the analog input device, improve test efficiency and saving human resources.

[0005] 为达到上述目的,本发明的实施例采用如下技术方案: [0005] To achieve the above object, embodiments of the present invention adopts the following technical solutions:

[0006] 本发明实施例一方面提供一种空调测试中模拟值输入方法,所述方法包括: [0006] Embodiments of the present invention in one aspect provides an air test input analog value, the method comprising:

[0007] 获取参考被模拟设备的模拟值,所述参考被模拟设备为待测空调包括的多个被模拟设备中的任意一个; [0007] Gets the value of the reference analog simulation device, the simulation device as a reference is measured air conditioner includes a plurality of analog devices is one;

[0008] 根据被模拟设备的模拟值与模拟设备的标准输入值之间的对应关系,获取参考模拟设备的标准输入值,所述参考模拟设备为模拟所述参考被模拟设备的设备; [0008] The correspondence between the analog input values ​​are standard equipment with the analog value simulation device, acquires an analog value of the reference standard input device, with reference to the simulation device to simulate the reference device is an analog device;

[0009] 根据所述参考模拟设备的标准输入值,获取所述参考模拟设备的实际输入值;其中,与所述实际输入值对应的所述参考模拟设备的输出值与所述模拟值相等。 [0009] According to the standard reference values ​​of the analog input device, acquiring the actual values ​​of the reference analog input device; wherein the analog output value and the reference value of the analog input device and the actual value of the corresponding equivalent.

[0010] 本发明实施例另一方面提供一种空调测试装置,所述装置包括: [0010] In another aspect of embodiments of the present invention provides an air conditioning test apparatus, said apparatus comprising:

[0011] 第一获取单元,用于获取参考被模拟设备的模拟值,所述参考被模拟设备为待测空调包括的多个被模拟设备中的任意一个; [0011] a first obtaining unit, configured to obtain the reference value of the analog simulation device, the simulation device as a reference is measured air conditioner includes a plurality of analog devices is one;

[0012] 第二获取单元,用于根据被模拟设备的模拟值与模拟设备的标准输入值之间的对应关系,获取参考模拟设备的标准输入值,所述参考模拟设备为模拟所述参考被模拟设备的设备; [0012] a second obtaining unit, according to a correspondence relationship between the analog input values ​​are standard equipment with the analog value simulation device, acquires the input value of the reference standard simulation device, the simulation device with reference to the reference is an analog simulation equipment device;

[0013] 第三获取单元,根据所述参考模拟设备的标准输入值,获取所述参考模拟设备的实际输入值;其中,与所述实际输入值对应的所述参考模拟设备的输出值与所述模拟值相等。 [0013] The third obtaining unit, according to the standard reference values ​​of the analog input device, acquiring the actual values ​​of the reference analog input device; analog output value of the reference device wherein the input and the actual value of the corresponding said analog values ​​are equal.

[0014] 本发明实施例提供的空调测试中模拟值输入方法及空调测试装置,方法包括:首先获取参考被模拟设备的模拟值,参考被模拟设备为待测空调包括的多个被模拟设备中的任意一个,然后根据被模拟设备的模拟值与模拟设备的标准输入值之间的对应关系,获取参考模拟设备的标准输入值,参考模拟设备为模拟参考被模拟设备的设备,最后根据参考模拟设备的标准输入值,获取参考模拟设备的实际输入值,其中,与实际输入值对应的参考模拟设备的输出值与模拟值相等。 [0014] Test Example conditioned embodiment of the present invention to provide an analog input value and a method of testing air-conditioning apparatus, comprising: first acquiring a reference value of the analog is an analog device, a plurality of reference analog device is an analog device under test as in the air conditioner comprises any one, then the correspondence between input values ​​are the standard analog value analog devices and analog devices, access to standard analog input value of the reference device, the reference device is a simulation device is analog reference device simulation, simulation Finally, according to the reference the value of the standard input device, acquiring the actual value of the reference analog input device, wherein the output value and the actual value corresponding to the reference input of analog devices and analog values ​​are equal. 相较于现有技术,本发明实施例提供的模拟值输入方法通过利用被模拟设备的模拟值与模拟设备的标准输入值之间的对应关系,可以直接获取与参考被模拟设备的模拟值对应的参考模拟设备的标准输入值进行输入,不需要人工手动输入参考被模拟设备的模拟值,这样节约了人力资源,提高了测试效率。 Compared to the prior art, the analog value of the input method provided in the embodiment of the present invention, by using the correspondence between the analog value and the standard value of the analog input device to an analog device can directly acquire the simulated analog value corresponding to the reference device standard reference input value of the analog input device, does not need to manually input the reference value of the analog is an analog device, so saving human resources, test efficiency is improved. 并且考虑到测试环境的变化,测试器件的老化等因素对被模拟设备的模拟值与模拟设备的标准输入值之间对应关系的影响,在获取参考模拟设备的标准输入值后,需要对所述标准输入值进行调整,使得调整后的标准输入值对应的参考模拟设备的输出值与模拟值相等,达到了准确输入被模拟设备的模拟值的目的。 Factors and taking into account changes in the test environment, test devices, and the like aging effect on the correspondence between the standard value of the analog value of the analog input device and an analog device relationship, after obtaining the analog value of the reference standard input device, the need for the output value is equal to the standard value of the analog input value is adjusted, so that the reference standard analog input device corresponding to the adjusted value to achieve the purpose of accurate value of the analog input is an analog device. 另外,由于本发明实施例提供的模拟值输入方法,可以同时进行多个模拟值输入,不需要测试人员逐个输入多个模拟值,因此进一步节约了人力资源,提高了测试效率。 Further, since the value of the analog input method according to an embodiment of the present invention, can be performed simultaneously a plurality of analog input values, the tester does not require a plurality of analog input values ​​by one, thus further saving human resources, test efficiency is improved.

附图说明 BRIEF DESCRIPTION

[0015] 为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。 [0015] In order to more clearly illustrate the technical solutions in the embodiments or the prior art embodiment of the present invention, briefly introduced hereinafter, embodiments are described below in the accompanying drawings or described in the prior art needed to be used in describing the embodiments the drawings are only some embodiments of the present invention, those of ordinary skill in the art is concerned, without creative efforts, can derive from these drawings other drawings.

[0016] 图1为本发明实施例提供的一种空调测试中模拟值输入方法流程图; [0016] FIG. 1 is a flowchart of an air conditioner provided in the test analog value of the input method of the present invention;

[0017] 图2为本发明另一实施例提供的一种空调测试中模拟值输入方法流程图; [0017] FIG. 2 is provided in an air conditioning test analog value of the input method flow diagram of another embodiment of the invention;

[0018] 图3为本发明又一实施例提供的一种空调测试中模拟值输入方法流程图; [0018] FIG 3 a flow chart of an air conditioner of the present invention further provides a test analog value of the input method embodiment;

[0019] 图4为本发明再一实施例提供的一种空调测试中模拟值输入方法流程图; [0019] Test Example 4 An air conditioner provided in the input analog value method flow chart of another embodiment of the invention;

[0020] 图5为本发明实施例提供的一种空调测试装置框图; [0020] Figure 5 a block diagram of an air conditioning test apparatus according to an embodiment of the present invention;

[0021] 图6为本发明另一实施例提供的一种空调测试装置框图。 [0021] FIG. 6 a block diagram of an air conditioning test apparatus according to another embodiment of the present invention.

具体实施方式 Detailed ways

[0022] 下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。 [0022] below in conjunction with the present invention in the accompanying drawings, technical solutions of embodiments of the present invention are clearly and completely described, obviously, the described embodiments are merely part of embodiments of the present invention, but not all embodiments example. 基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。 Based on the embodiments of the present invention, all other embodiments of ordinary skill in the art without any creative effort shall fall within the scope of the present invention.

[0023] 本发明实施例提供一种空调测试中模拟值输入方法,如图1所示,所述方法包括: [0023] The present invention provides an air conditioner test analog values ​​input method, the method shown in FIG. 1 comprising:

[0024] 步骤101、获取参考被模拟设备的模拟值,所述参考被模拟设备为待测空调包括的多个被模拟设备中的任意一个。 [0024] Step 101, the reference value is acquired analog simulation device, the reference is a plurality of analog devices is an analog device under test in the air conditioner includes a.

[0025] 所述被模拟设备可以是待测空调中的温度传感器或者压力传感器等,本发明实施例对此不做限定。 [0025] The test apparatus may be simulated air conditioner temperature sensor or a pressure sensor, embodiments of the present invention is not limited in embodiments. 示例的,当被模拟设备为温度传感器时,被模拟设备的模拟值为所述温度传感器在测试用例中初始输入的温度值;当被模拟设备为压力传感器时,被模拟设备的模拟值为所述压力传感器在测试用例中初始输入的压力值。 Example, when a temperature sensor is an analog device, the simulated value is a temperature value of the temperature sensor in the test device simulated initially entered; when a pressure sensor is an analog device, the simulated value of the simulation device a pressure sensor in said initial pressure test input values.

[0026] 所述参考被模拟设备为待测空调里多个被模拟设备中的任意一个。 [0026] The reference is an analog device is a plurality of analog devices tested in air conditioning. 通常一个测试用例中包含有多个被模拟设备的模拟值,本发明实施例提供的方法可以同时获取多个被模拟设备的模拟值,并将所述多个被模拟设备的模拟值同时输入到所需测试的空调系统中, 由于不需要测试人员逐个输入多个模拟值,因此节约了人力资源,提高了测试效率。 Typically contains a plurality of test analog values ​​simulated device, the method provided by the embodiment of the present invention may obtain a plurality of analog values ​​to be simultaneously simulation device, and a plurality of simulated analog value input to the device at the same time an air conditioning system required for the test, the tester is not necessary to individually input a plurality of analog values, thus saving human resources, test efficiency is improved.

[0027] 步骤102、根据被模拟设备的模拟值与模拟设备的标准输入值之间的对应关系,获取参考模拟设备的标准输入值,所述参考模拟设备为模拟参考被模拟设备的设备。 [0027] Step 102, correspondence between the analog input values ​​are standard equipment with the analog value simulation device, acquires the input value of the reference standard simulation device, the simulation device is an analog device with reference to the apparatus reference is simulated.

[0028] 本发明实施例中模拟设备与被模拟设备一一对应,模拟设备可以将标准输入值转换为对应的被模拟设备的模拟值,示例的,所述模拟设备可以是模数转换器,模拟设备的标准输入值可以为电压值或者电流值等,所述模拟设备用于将所述电压值或者电流值等输入量转换成传感器的温度值或者压力值,因此可以通过调整模拟设备输入的电压值或者电流值的大小来达到模拟温度传感器或者压力传感器不同状态的效果。 [0028] The embodiments of the present invention is an analog device with an analog device correspondence, the device can convert the analog value corresponding to the standard input device simulated analog value of example, the device may be an analog-digital converter, the standard value of the analog input device may be a voltage value or current value or the like, the analog input device for converting the voltage value or current value or the like into a sensor temperature value or pressure value, it can be adjusted by the analog input of a device magnitude of the voltage value or current value to achieve the effect of the different states of an analog pressure sensor or a temperature sensor.

[0029] 在某一确定的环境下,被模拟设备的模拟值与模拟设备的标准输入值之间有一一对应关系,因此可以根据在步骤101中获取被模拟设备的模拟值,然后根据被模拟设备的模拟值与模拟设备的标准输入值之间的对应关系,获取与被模拟设备的模拟值对应的模拟设备的标准输入值。 [0029] In a certain environment, there is one relationship between the standard value of the analog value of the analog input device and an analog device, it can be an analog device in accordance with an analog value acquired in step 101, then in accordance with the correspondence between the analog value and the standard value of the analog input device to an analog device acquires the analog value corresponding to the standard value of the analog input of analog equipment device.

[0030] 步骤103、根据参考模拟设备的标准输入值,获取参考模拟设备的实际输入值;其中,与实际输入值对应的参考模拟设备的输出值与模拟值相等。 [0030] Step 103, in accordance with the standard value of the reference analog input device, an analog device to obtain the actual input reference value; wherein the output values ​​are equal, the actual analog input value corresponding to the reference value of the analog device.

[0031] 所述参考模拟设备的输出值即为模拟参考被模拟设备的模拟值,由于被模拟设备的模拟值与模拟设备的标准输入值之间的对应关系是在某一确定的实验环境下测得的,随着实验环境的变化,测试器件的老化等因素影响,之前测得的被模拟设备的模拟值与模拟设备的标准输入值之间的对应关系可能会存在一定程度的误差,所以在获取了参考模拟设备的标准输入值后,还需对所述标准输入值进行处理,获取实际输入值,使得与所述实际输入值对应的参考模拟设备的输出值与模拟值相等,达到了准确输入被模拟设备的模拟值的目的。 [0031] The reference value of the analog output device is the analog reference value of the analog is an analog device, since the correspondence between the standard value of the analog value of the analog input devices and analog devices are determined in a test environment measured, as the impact of changes in the test environment, test device aging and other factors, is previously measured there may be a correspondence between the standard value and the input value of the analog simulation device simulation apparatus a degree of error, so value equal to the analog output value in the acquired input value of the reference standard analog equipment, the need for the standard input value, and obtain an actual value input, such that the reference device and the analog input value corresponding to the actual, achieved inputting purposes precise analog value of the analog device.

[0032] 这样一来,相较于现有技术,本发明实施例提供的模拟值输入方法通过利用被模拟设备的模拟值与模拟设备的标准输入值之间的对应关系,可以直接获取与参考被模拟设备的模拟值对应的参考模拟设备的标准输入值进行输入,不需要人工手动输入参考被模拟设备的模拟值,这样节约了人力资源,提高了测试效率。 [0032] Thus, compared to the prior art, the analog value of the input method provided is a correspondence between the standard value of the analog value of the analog input device to an analog device can be directly obtained by using the embodiment of the present invention with reference to is an input value of the analog value of the analog standard input device corresponding reference analog equipment, does not need to manually input the reference value of the analog is an analog device, so saving human resources, test efficiency is improved. 并且考虑到测试环境的变化,测试器件的老化等因素对被模拟设备的模拟值与模拟设备的标准输入值之间对应关系的影响, 在获取参考模拟设备的标准输入值后,需要对所述标准输入值进行调整,使得调整后的标准输入值对应的参考模拟设备的输出值与模拟值相等,达到了准确输入被模拟设备的模拟值的目的。 Factors and taking into account changes in the test environment, test devices, and the like aging effect on the correspondence between the standard value of the analog value of the analog input device and an analog device relationship, after obtaining the analog value of the reference standard input device, the need for the output value is equal to the standard value of the analog input value is adjusted, so that the reference standard analog input device corresponding to the adjusted value to achieve the purpose of accurate value of the analog input is an analog device. 另外,由于本发明实施例提供的模拟值输入方法,可以同时进行多个模拟值输入,不需要测试人员逐个输入多个模拟值,因此进一步节约了人力资源,提高了测试效率。 Further, since the value of the analog input method according to an embodiment of the present invention, can be performed simultaneously a plurality of analog input values, the tester does not require a plurality of analog input values ​​by one, thus further saving human resources, test efficiency is improved.

[0033] 进一步的,在根据被模拟设备的模拟值与模拟设备的标准输入值之间的对应关系,获取参考模拟设备的标准输入值之前,所述方法还包括;建立被模拟设备的模拟值与模拟设备的标准输入值之间的对应关系。 [0033] Further, before the correspondence between the analog input values ​​are standard equipment with the analog value simulation device, acquires the analog value of the reference standard input device, the method further comprising; establishing the analog values ​​of analog devices correspondence between the standard value of the analog input device and.

[0034] 所述被模拟设备的模拟值与模拟设备的标准输入值之间的对应关系可以根据多次实验获得,但本发明实施例对于具体的实验方式不做限定。 [0034] The correspondence between the standard value of the analog value of the analog input device according to the simulation apparatus can be obtained many experiments, but the embodiment of the present invention for a particular embodiment is not limited experimentally. 示例的,当被模拟设备为温度传感器,模拟设备为模数转换器时,可以测试温度传感器在不同温度时,模数转换器所对应的采样电压,以此建立温度传感器的温度值与模数转换器的采样电压之间的对应关系。 Example, when a temperature sensor is an analog device, an analog to digital converter device, the temperature sensor can be tested at different temperatures, corresponding to the analog to digital converter samples the voltage, in order to establish a temperature value of the temperature sensor and the modulus a correspondence relationship between the sampling voltage converter. 所述采样电压可以为多次采样电压的平均值,也可以为多次采样电压的中间值,本发明实施例对此不做限定。 The sample voltage may also be, which is not limited to the embodiments multiple samples is the average of multiple samples of the intermediate voltage value of the voltage present invention. 表1为某一温度传感器的温度值与模数转换器的米样电压之间的部分对应关系表。 Table 1 is a partial correspondence table between temperature values ​​and the voltage meter sample of a temperature sensor in the ADC.

[0035] 表1 [0035] TABLE 1

[0036] [0036]

Figure CN105589339BD00081

[0037] ~由表1可知,温度传感器的温度值和模数转换器的采样电压值一一对应,示例的/ 当给模数转换器输入2.21V的电压时,即可模拟出温度传感器为20°C时的效果,当给模数转换器输入2.50V的电压时,即可模拟出温度传感器为25 °C时的效果。 [0037] - one correspondence from the sampled voltage values ​​of Table 1, the temperature values, and an analog temperature sensor, an example of / analog to digital converter when the input voltage of 2.21V, to simulate the temperature sensor effect at 20 ° C, when the input voltage of 2.50V of the analog to digital converter, to simulate the effect of the temperature sensor 25 ° C.

[0038] 本发明另一实施例提供一种空调测试中模拟值输入方法,如图2所示,所述方法步骤包括: Embodiments provide an air conditioner test analog value of the input method according to another embodiment [0038] of the present invention, as shown in FIG. 2, the method comprising the step of:

[0039] 步骤201、获取参考被模拟设备的模拟值,执行步骤202。 [0039] Step 201, the reference simulated analog value acquiring device, step 202 is performed.

[0040] 步骤202、建立被模拟设备的模拟值与模拟设备的标准输入值之间的对应关系,执行步骤203。 [0040] Step 202, establishing a correspondence between the analog input values ​​are standard equipment with the analog value simulation device, step 203 is performed.

[0041] 步骤203、根据被模拟设备的模拟值与模拟设备的标准输入值之间的对应关系,获取参考模拟设备的标准输入值,执行步骤204。 [0041] Step 203, correspondence between the analog input values ​​are standard equipment with the analog value simulation device, acquires an analog value of the reference standard input device, step 204 is performed.

[0042] 示例的,在某一测试用例中,参考被模拟设备为温度传感器,其模拟值为23°C。 [0042] example, in one test case, the reference temperature sensor is an analog device that the simulated value 23 ° C. 模拟设备为模数转换器,温度传感器的温度值与模数转换器的采样电压如表1所示,当参考被模拟设备的模拟值为23°C,根据表1可获取到对应的参考模拟设备的标准输入值为2.36V。 An analog to digital converter device, the analog to digital converter sampling temperature value of the voltage of the temperature sensor as shown in Table 1, when the reference is an analog simulation device is 23 ° C, can be obtained according to the corresponding analog reference Table 1 standard input device is 2.36V.

[0043] 步骤204、将参考模拟设备的标准输入值输入到参考模拟设备,获取参考模拟设备与标准输入值对应的输出值,执行步骤205。 [0043] Step 204, the standard value of the reference input to the analog input reference device simulation device, acquires an output value of the reference value of the analog input device and corresponding to the standard, step 205 is executed.

[0044] 步骤205、判断输出值与模拟值是否相等,若输出值与模拟值相等,执行步骤206; 若输出值与模拟值不相等,执行步骤207。 [0044] Step 205, determines whether the output value of the analog values ​​are equal, when the output value of the analog values ​​are equal, step 206 is executed; if the output value of the analog values ​​are not equal, step 207 is executed.

[0045] 步骤206、将标准输入值作为参考模拟设备的实际输入值。 [0045] Step 206, the standard value as the actual input value of the reference analog input device.

[0046] 依然以上述例子为例进行说明,当向参考模拟设备输入2.36V的电压时,获取参考模拟设备的输出值为23°C时,由于输出值与模拟值相等,所以将标准输入值2.36V作为参考模拟设备的实际输入值。 When [0046] In the above example is still an example, when the reference voltage is 2.36V input analog devices, analog devices acquiring a reference output values ​​23 ° C, since the output value is equal to the analog value, the value of the standard input 2.36V as the actual value of the reference analog input device.

[0047] 步骤207、根据输出值与模拟值,调整参考模拟设备的标准输入值,将调整后的标准输入值作为参考模拟设备的实际输入值。 [0047] Step 207, the output value of the analog value, adjusting the reference value of the analog standard input device, standard input as an actual value of the adjusted value of the reference analog input device.

[0048] 当向参考模拟设备输入2.36V的电压时,由于测试环境的变化,测试器件的老化等因素的影响,可能获取到的参考模拟设备的输出值为21°C时,由于输出值与模拟值不相等, 所以需要对所述标准输入值进行调整,使得调整后的标准输入值对应的参考模拟设备的输出值与模拟值相等,然后将调整后的标准输入值作为参考模拟设备的实际输入值,这样达到了准确输入被模拟设备的模拟值的目的。 When [0048] When the reference voltage is 2.36V analog input device, since the factors of the changes in the test environment, test device aging and the like, may be obtained with reference to the output value of the analog device 21 ° C, since the output value is equal to the analog values ​​are not equal, it is necessary to adjust the value of the standard input, standard input device such that the reference analog value of the adjusted output value corresponding to the analog value, then the standard input as a reference value of the adjusted actual simulation device input value, so that achieve the purpose of accurately simulated analog value input device.

[0049] 可选的,如图3所示,根据输出值与模拟值,调整参考模拟设备的标准输入值,将调整后的标准输入值作为参考模拟设备的实际输入值可以包括以下步骤: [0049] Optionally, as shown in FIG. 3, the output value of the analog value to adjust the analog reference value of the standard input device, standard input as an actual value of the adjusted value of the reference analog input device may include the steps of:

[0050] 步骤301、获取更新后标准输入值,更新后标准输入值为标准输入值减去或加上第一预设数值,执行步骤302。 [0050] Step 301, after updating the input value obtaining standard, the standard input value input value plus or minus the standard first predetermined value after the update, step 302 is performed.

[0051] 所述第一预设数值为预先设定的数值,本领域技术人员可以根据实际情况具体设定,本发明实施例对此不做限定。 [0051] The first preset value is a preset value, the skilled artisan may be specifically set according to actual situation, the present embodiment is not limited to this embodiment of the invention.

[0052] 步骤302、将更新后标准输入值输入到参考模拟设备,获取参考模拟设备与更新后标准输入值对应的输出值,执行步骤303。 [0052] Step 302, after updating the reference value is input to a standard analog input device, the analog output value acquires the reference device and the updated value corresponding to the standard input, step 303 is executed.

[0053] 步骤303、判断输出值与模拟值是否相等,若输出值与模拟值相等,执行步骤304; 若输出值与模拟值不相等,执行步骤305。 [0053] Step 303 determines whether the output value of the analog values ​​are equal, when the output value of the analog values ​​are equal, step 304 is performed; if the output value of the analog values ​​are not equal, step 305 is performed.

[0054] 步骤304、将更新后标准输入值作为参考模拟设备的实际输入值。 [0054] Step 304, after updating the standard value as the actual input value of the reference analog input device.

[0055] 步骤305、将更新后标准输入值作为标准输入值,执行步骤301。 [0055] Step 305, after updating the standard value as the standard input an input value, step 301 is performed.

[0056] 依然以上述例子为例进行说明,当向参考模拟设备输入2.36V的标准输入值时,由表1可知,理论上获取到的参考模拟设备的输出值应该为23°C,然而由于测试环境的变化, 测试器件的老化等因素的影响,实际获取到的参考模拟设备的输出值为21°C,这时需要对参考模拟设备的标准输入值进行调整。 [0056] In the above example is still an example, when the input to the standard input of the reference value 2.36V analog devices, can be seen from Table 1, the output value of the acquired reference theoretical simulation device be 23 ° C, however, since the factors of the changes in the test environment, aging test device or the like, the reference output actually acquired simulation device is 21 ° C, then the need for a standard value of the reference analog input device to be adjusted. 参考表1可知,模数转换器的采样电压越大,温度传感器的温度值越大,由于实际获取到的参考模拟设备的输出值21°C小于表1中理论上获取到的参考模拟设备的输出值23°C,所以要想使得实际获取到的参考模拟设备的输出值为23 °C,就需要增大参考模拟设备的标准输入值,即给标准输入值加上第一预设数值,并不断获取调整后的标准输入值对应的输出值,直到所述输出值与模拟值相等为止,此时调整后的标准输入值即为实际输入值。 Referring to Table 1, the greater the ADC sampling voltage, the greater the temperature of the temperature sensor, since the actual output values ​​of the acquired reference simulation device is less than 21 ° C in Table 1 with reference to theoretically acquired simulation device an output value of 23 ° C, so that in order to obtain the actual reference value of the analog output of the device 23 ° C, it is necessary to increase the value of the reference analog standard input device, i.e., the input to the reference value plus a first predetermined value, and continuous access to the standard output value corresponding to the input value adjusted until the output value is equal to the analog value of date, the standard input adjustment value at this time is the actual input value.

[0057] 由于在实际测试时,影响参考模拟设备的输出值大小的因素很多,所以,当向参考模拟设备输入2.36V的标准输入值时,实际获取到的参考模拟设备的输出值可能为25°C,这时需要减小参考模拟设备的标准输入值,即给标准输入值减去第一预设数值,使得更新后标准输入值逐步逼近实际输入值,直至与实际输入值相等,所述实际输入值为与模拟值相等的参考模拟设备的输出值所对应的输入值。 Output value [0057] Since the output value of the size factor of the actual test, many affect the reference analog devices, so that, when the standard input value to the 2.36V reference analog input device, with reference to the acquired actual simulation device 25 may be ° C, then need to reduce the value of the reference analog standard input device, i.e., to the reference input value by subtracting the first predetermined value, so that the standard input value gradually approaches the actual input value is updated until the actual input value is equal to the input value equal to the actual value of the output value of the analog input reference value corresponding to the simulation device.

[0058] 较佳的,如图4所示,根据输出值与模拟值,调整参考模拟设备的标准输入值,将调整后的标准输入值作为参考模拟设备的实际输入值可以包括以下步骤: [0058] Preferably, as shown, the output value of the analog value, adjusting the reference value of the analog standard input device, standard input as an actual value of the adjusted value of the reference analog input device 4 may comprise the steps of:

[0059] 步骤401、根据被模拟设备的模拟值与模拟设备的标准输入值之间的对应关系,获取与输出值对应的标准输入值,执行步骤402。 [0059] Step 401, correspondence between the analog input values ​​are standard devices and analog devices analog value, the value of standard input and output values ​​corresponding to acquire, step 402 is performed.

[0060] 步骤402、获取参考误差,所述参考误差为与输出值对应的标准输入值和参考模拟设备的标准输入值之差,执行步骤403。 [0060] Step 402, acquiring a reference error, the difference between the standard reference input values ​​and output values ​​corresponding to the error and the reference value of the analog input device standards, step 403 is performed.

[0061] 步骤403、获取第一校正输入值,所述第一校正输入值为参考模拟设备的标准输入值与参考误差之差,执行步骤404。 [0061] Step 403, obtaining a first correction input value, the first correction value of the reference value input analog standard input device and a reference of difference error, step 404 is performed.

[0062] 步骤404、将第一校正输入值输入到参考模拟设备,获取参考模拟设备与第一校正输入值对应的输出值,执行步骤405。 [0062] Step 404, the first correction reference value is input to an analog input device, acquires an output value of the reference analog input device and the first correction value corresponding to a step 405 is performed.

[0063] 步骤405、判断参考模拟设备与第一校正输入值对应的输出值与模拟值是否相等, 若参考模拟设备与第一校正输入值对应的输出值与模拟值相等,执行步骤406;若参考模拟设备与第一校正输入值对应的输出值与模拟值不相等,执行步骤407。 [0063] Step 405 determines whether the output value of the analog device and the analog reference value of the first correction value corresponding to the input are equal, and if the output is equal to the reference value of the analog device and the analog value of the first correction value corresponding to the input, step 406 is performed; if reference analog input device and the first correction value corresponding to the output value of the analog values ​​are not equal, step 407 is executed.

[0064]步骤406、将第一校正输入值作为参考模拟设备的实际输入值。 [0064] Step 406, the first correction input value as a reference value of the actual input analog devices.

[0065] 步骤407、获取第二校正输入值,所述第二校正输入值为第一校正输入值减去或加上第二预设数值,执行步骤408。 [0065] Step 407, acquiring a second corrected input value, the second correction value is input first correction input value plus or minus the second predetermined value, step 408 is performed.

[0066] 所述第一预设数值为预先设定的数值,本领域技术人员可以根据实际情况具体设定,本发明实施例对此不做限定。 [0066] The first preset value is a preset value, the skilled artisan may be specifically set according to actual situation, the present embodiment is not limited to this embodiment of the invention.

[0067] 步骤408、将第二校正输入值输入到参考模拟设备,获取参考模拟设备与第二校正输入值对应的输出值,执行步骤409。 [0067] Step 408, the second correction value is input to the reference input analog devices, acquires an output value of the reference analog device and a second correction value corresponding to the input, step 409 is performed.

[0068] 步骤409、判断参考模拟设备与第二校正输入值对应的输出值与模拟值是否相等, 若参考模拟设备与第二校正输入值对应的输出值与模拟值相等,执行步骤410;若参考模拟设备与第二校正输入值对应的输出值与模拟值不相等,执行步骤411。 [0068] Step 409 determines whether the output value of the analog device and the analog reference value of the second correction value corresponding to the input are equal, and if the output is equal to the reference value of the analog device and the analog value of the second correction value corresponding to the input, step 410 is performed; if reference analog input device and a second correction value corresponding to the output value of the analog values ​​are not equal, step 411.

[0069]步骤410、将第二校正输入值作为参考模拟设备的实际输入值。 [0069] Step 410, the second correction value of the actual input value as a reference input an analog device.

[0070] 步骤411、将第二校正输入值作为第一校正输入值,执行步骤407。 [0070] Step 411, the second correction value is input as a first input correction value, step 407 is executed.

[0071] 当参考模拟设备的输出值与模拟值相差较大时,表示参考模拟设备的标准输入值与实际输入值相差较大,此时如果直接利用第一预设数值这样的步长来调整标准输入值, 使其达到实际输入值需要进行多次循环,这样会浪费较长的测试时间,导致测试效率较低, 所以优选的,可以首先对模拟设备的标准输入值进行校正,得到第一校正输入值,然后再对第一校正输入值进行微调,并不断获取调整后的第一校正输入值对应的输出值,直到所述输出值与模拟值相等为止,此时调整后的第一校正输入值即为实际输入值。 [0071] When the output value of the reference value of the analog device and the analog difference between the larger, standard input analog value of the reference value input device and the actual difference between the larger, at this time if the step value of the direct use of such a first predetermined length is adjusted standard input value, to reach the actual input values ​​require multiple cycles, this will waste a long test time, the test result in a lower efficiency, it is preferable, may first standard value of the analog input device is corrected to obtain a first the output value of the first correction value corresponding to the input corrected input value, then the input of the first correction value for fine adjustment, and continues to capture adjusting until the output value is equal to the analog value, at which point the first corrected adjusted enter the actual value equals the input value.

[0072] 依然以上述例子为例进行说明,当向参考模拟设备输入2.36V的标准输入值时,由表1可知,理论上获取到的参考模拟设备的输出值应该为23°C,然而实际获取到的参考模拟设备的输出值为21°C,这时需要对参考模拟设备的标准输入值进行调整。 [0072] In the above example is still an example, when the standard input value to the 2.36V reference input analog devices, can be seen from Table 1, the output value of the acquired reference theoretical simulation device be 23 ° C, however, the actual outputting the acquired reference simulation device is 21 ° C, then the need for a standard value of the reference analog input device to be adjusted. 首先,根据步骤401获取到与输出值21°C对应的标准输入值为2.25V,然后根据步骤402获取到参考误差为-〇. IIV,接着根据步骤403获取到第一校正输入值为2.47V,然后根据步骤404将第一校正输入值2.47V输入到参考模拟设备,获取参考模拟设备的输出值,接着根据步骤405判断参考模拟设备的输出值与模拟值23°C是否相等,若相等,则根据步骤406将第一校正输入值2.47V作为参考模拟设备的实际输入值;若不相等,则根据步骤407、408、409、410和411对第一校正输入值进行微调,直到调整后的第一校正输入值达到实际输入值为止。 First, step 401 is acquired according to the standard 21 ° C corresponding to the input value of the output value of 2.25V, and then in accordance with step 402 to obtain the reference error -〇. IIV, then 403 acquires the input value to the 2.47V according to the first correction step and 2.47V reference input to analog devices, acquires an output value of the reference analog device, then step 405 is determined according to the reference output value of the analog device and the analog values ​​are equal to 23 ° C, if the input value is equal to the step 404 in accordance with the first correction, according to step 406 the input value of the first correction reference value 2.47V as the actual analog input device; if not equal, then fine-tuning the steps 407,408,409,410 and 411 pairs of the first correction value input, until the adjustment first correction input value reaches the actual input value.

[0073] 本发明实施例提供的空调测试中模拟值输入方法,方法包括:首先获取参考被模拟设备的模拟值,参考被模拟设备为待测空调包括的多个被模拟设备中的任意一个,然后根据被模拟设备的模拟值与模拟设备的标准输入值之间的对应关系,获取参考模拟设备的标准输入值,参考模拟设备为模拟参考被模拟设备的设备,最后根据参考模拟设备的标准输入值,获取参考模拟设备的实际输入值,其中,与实际输入值对应的参考模拟设备的输出值与模拟值相等。 [0073] Test Example conditioned analog value of the input provided by the method of the present invention, the method comprising: obtaining first analog value with reference to the simulated device, the reference device is modeled as an arbitrary plurality of analog devices to be tested in an air conditioner comprising, then the correspondence between input values ​​are the standard analog value analog devices and analog devices, access to standard analog input value of the reference device, the reference device is a simulation device is analog reference device simulation, according to the last standard reference analog input device value, obtain the actual value of the reference analog input device, wherein the output value and the actual value corresponding to the reference input of analog devices and analog values ​​are equal. 相较于现有技术,本发明实施例提供的模拟值输入方法通过利用被模拟设备的模拟值与模拟设备的标准输入值之间的对应关系,可以直接获取与参考被模拟设备的模拟值对应的参考模拟设备的标准输入值进行输入,不需要人工手动输入参考被模拟设备的模拟值,这样节约了人力资源,提高了测试效率。 Compared to the prior art, the analog value of the input method provided in the embodiment of the present invention, by using the correspondence between the analog value and the standard value of the analog input device to an analog device can directly acquire the simulated analog value corresponding to the reference device standard reference input value of the analog input device, does not need to manually input the reference value of the analog is an analog device, so saving human resources, test efficiency is improved. 并且考虑到测试环境的变化,测试器件的老化等因素对被模拟设备的模拟值与模拟设备的标准输入值之间对应关系的影响,在获取参考模拟设备的标准输入值后,需要对所述标准输入值进行调整,使得调整后的标准输入值对应的参考模拟设备的输出值与模拟值相等,达到了准确输入被模拟设备的模拟值的目的。 Factors and taking into account changes in the test environment, test devices, and the like aging effect on the correspondence between the standard value of the analog value of the analog input device and an analog device relationship, after obtaining the analog value of the reference standard input device, the need for the output value is equal to the standard value of the analog input value is adjusted, so that the reference standard analog input device corresponding to the adjusted value to achieve the purpose of accurate value of the analog input is an analog device. 另外,由于本发明实施例提供的模拟值输入方法,可以同时进行多个模拟值输入, 不需要测试人员逐个输入多个模拟值,因此进一步节约了人力资源,提高了测试效率。 Further, since the value of the analog input method according to an embodiment of the present invention, can be performed simultaneously a plurality of analog input values, the tester does not require a plurality of analog input values ​​by one, thus further saving human resources, test efficiency is improved.

[0074] 本发明又一实施例提供一种空调测试装置50,如图5所示,空调测试装置50包括: [0074] Yet another embodiment of the present invention to provide an air conditioning test apparatus 50, shown in Figure 5, the test apparatus 50 air conditioner comprising:

[0075] 第一获取单元501,用于获取参考被模拟设备的模拟值,所述参考被模拟设备为待测空调包括的多个被模拟设备中的任意一个。 [0075] a first obtaining unit 501, configured to obtain the reference analog value of the analog device, the reference is a plurality of analog devices is an analog device under test in the air conditioner includes a.

[0076] 第二获取单元502,用于根据被模拟设备的模拟值与模拟设备的标准输入值之间的对应关系,获取参考模拟设备的标准输入值,所述参考模拟设备为模拟参考被模拟设备的设备。 [0076] The second obtaining unit 502, a correspondence between the analog input values ​​are standard equipment with the analog value simulation device, acquires an analog value of the reference standard input device, with reference to the simulation device is simulated analog reference equipment equipment.

[0077] 第三获取单元503,根据参考模拟设备的标准输入值,获取参考模拟设备的实际输入值;其中,与实际输入值对应的参考模拟设备的输出值与模拟值相等。 [0077] The third obtaining unit 503, according to the standard value of the reference analog input device, acquiring the actual value of the reference analog input device; wherein the reference value of the analog output device corresponding to the actual value of the analog input values ​​are equal.

[0078] 这样一来,相较于现有技术,本发明实施例提供的模拟值输入方法通过利用被模拟设备的模拟值与模拟设备的标准输入值之间的对应关系,可以直接获取与参考被模拟设备的模拟值对应的参考模拟设备的标准输入值进行输入,不需要人工手动输入参考被模拟设备的模拟值,这样节约了人力资源,提高了测试效率。 [0078] Thus, compared to the prior art, the analog value of the input method provided is a correspondence between the standard value of the analog value of the analog input device to an analog device can be directly obtained by using the embodiment of the present invention with reference to is an input value of the analog value of the analog standard input device corresponding reference analog equipment, does not need to manually input the reference value of the analog is an analog device, so saving human resources, test efficiency is improved. 并且考虑到测试环境的变化,测试器件的老化等因素对被模拟设备的模拟值与模拟设备的标准输入值之间对应关系的影响, 在获取参考模拟设备的标准输入值后,需要对所述标准输入值进行调整,使得调整后的标准输入值对应的参考模拟设备的输出值与模拟值相等,达到了准确输入被模拟设备的模拟值的目的。 Factors and taking into account changes in the test environment, test devices, and the like aging effect on the correspondence between the standard value of the analog value of the analog input device and an analog device relationship, after obtaining the analog value of the reference standard input device, the need for the output value is equal to the standard value of the analog input value is adjusted, so that the reference standard analog input device corresponding to the adjusted value to achieve the purpose of accurate value of the analog input is an analog device. 另外,由于本发明实施例提供的模拟值输入方法,可以同时进行多个模拟值输入,不需要测试人员逐个输入多个模拟值,因此进一步节约了人力资源,提高了测试效率。 Further, since the value of the analog input method according to an embodiment of the present invention, can be performed simultaneously a plurality of analog input values, the tester does not require a plurality of analog input values ​​by one, thus further saving human resources, test efficiency is improved.

[0079] 进一步的,第三获取单元503具体用于:将参考模拟设备的标准输入值输入到参考模拟设备,获取参考模拟设备与标准输入值对应的输出值;若所述输出值与所述模拟值相等,将所述标准输入值作为所述参考模拟设备的实际输入值;若所述输出值与所述模拟值不相等,根据所述输出值与所述模拟值,调整所述参考模拟设备的标准输入值,将调整后的标准输入值作为所述参考模拟设备的实际输入值。 [0079] Further, the third obtaining unit 503 is specifically configured to: standard value of the reference input to the analog input reference device simulation device, acquires an output value of the reference value of the analog input device and corresponding to the standard; and if the output value of the equal to the analog value, the standard value as the actual input value of the reference analog input device; if the value of the output analog values ​​are not equal, according to the output value of the analog value, to adjust the analog reference values ​​of the standard input device, standard input as an actual value of the adjusted reference value of the analog input device.

[0080] 进一步的,第三获取单元503具体用于:获取更新后标准输入值,更新后标准输入值为标准输入值减去或加上第一预设数值;将更新后标准输入值输入到参考模拟设备,获取参考模拟设备与更新后标准输入值对应的输出值;判断输出值与模拟值是否相等;其中, 从获取更新后标准输入值至判断输出值与模拟值是否相等为第一周期;若输出值与模拟值相等,将更新后标准输入值作为参考模拟设备的实际输入值;若输出值与模拟值不相等,将更新后标准输入值作为标准输入值执行第一周期。 [0080] Further, the third obtaining unit 503 is specifically configured to: obtain the updated value standard input, standard input value input value plus or minus the standard first preset value after the update; standard input to update the input value Referring simulation device, acquires an output value of the standard reference analog input value and updates the corresponding device; determining an output value of the analog values ​​are equal; wherein, after obtaining from the update criteria to determine whether to output the input values ​​and simulated values ​​are equal to a first period ; If the output value of the analog values ​​are equal, the input value update criteria as the actual value of the reference input of analog devices; if the output value of the analog values ​​are not equal, the updated value of the standard input after performing the first input value as the standard cycle.

[0081] 进一步的,第三获取单元503还具体用于:根据被模拟设备的模拟值与模拟设备的标准输入值之间的对应关系,获取与输出值对应的标准输入值;获取参考误差,参考误差为与输出值对应的标准输入值和参考模拟设备的标准输入值之差;获取第一校正输入值,第一校正输入值为参考模拟设备的标准输入值与参考误差之差;将第一校正输入值输入到参考模拟设备,获取参考模拟设备与第一校正输入值对应的输出值;若输出值与模拟值相等, 将第一校正输入值作为参考模拟设备的实际输入值;若输出值与模拟值不相等,获取第二校正输入值,第二校正输入值为第一校正输入值减去或加上第二预设数值;将第二校正输入值输入到参考模拟设备,获取参考模拟设备与第二校正输入值对应的输出值;判断输出值与模拟值是否相等;其中,从获取第二校正输入值至判断 [0081] Further, the third acquisition unit 503 further is configured to: according to the standard correspondence between the analog input values ​​are analog values ​​and device simulation device, acquires the standard value of the output value corresponding to the input; obtaining reference error, reference error is the difference between the standard value and the reference input of the analog input device and the output value corresponding to the value of the standard; obtaining a first corrected input value, the first correction value of the reference value input analog standard input devices and the difference between the reference error; the first a correction value is input to the reference input analog devices, acquires the analog value of the reference output device and the first correction value corresponding to the input; if the output value is equal to the analog value, the first correction value as the actual input value of the reference analog input device; if output and simulated values ​​are not equal, obtaining a second corrected input value, the second correction value is input first correction input value plus or minus a second predetermined value; the second correction reference value is input to an analog input device, acquires the reference analog input device and a second correction value corresponding to the output value; determining whether the output value is equal to the analog value; wherein the second correction acquired from the input value is determined to 出值与模拟值是否相等为第二周期;若输出值与模拟值相等,将第二校正输入值作为参考模拟设备的实际输入值;若输出值与模拟值不相等,将第二校正输入值作为第一校正输入值执行第二周期。 Whether the value of the analog value equal to the second period; if the output value is equal to the analog value, the second correction value as an actual input value of the reference input of analog devices; if the output value of the analog values ​​are not equal, the second correction value input performing a first correction input value as a second period.

[0082] 进一步的,如图6所示,空调测试装置50还包括;建立单元504,用于建立被模拟设备的模拟值与模拟设备的标准输入值之间的对应关系。 [0082] Further, as shown in FIG. 6, the air conditioning apparatus 50 further includes a test; establishing unit 504, a correspondence between input values ​​to establish a standard analog value is an analog device and the analog device.

[0083] 本发明实施例提供的空调测试装置,首先利用第一获取单元获取参考被模拟设备的模拟值,参考被模拟设备为待测空调包括的多个被模拟设备中的任意一个,然后根据被模拟设备的模拟值与模拟设备的标准输入值之间的对应关系,利用第二获取单元获取参考模拟设备的标准输入值,参考模拟设备为模拟参考被模拟设备的设备,最后根据参考模拟设备的标准输入值,利用第三获取单元获取参考模拟设备的实际输入值,其中,与实际输入值对应的参考模拟设备的输出值与模拟值相等。 [0083] conditioning test apparatus according to an embodiment of the present invention, firstly a first acquiring unit acquires the reference value of the analog is an analog device, the reference device is modeled as being any of an analog device under test comprises a plurality of air conditioner, and in accordance with is a correspondence between the standard value of the analog value of the analog input device and an analog device, the acquisition unit acquires the reference analog value of the second device using the standard input, the reference device is a simulation device simulated analog reference apparatus, the reference analog device and finally standard input value by the third acquisition unit acquires the actual value of the reference analog input device, wherein the output value and the actual value corresponding to the reference input of analog devices and analog values ​​are equal. 相较于现有技术,本发明实施例提供的模拟值输入方法通过利用被模拟设备的模拟值与模拟设备的标准输入值之间的对应关系,可以直接获取与参考被模拟设备的模拟值对应的参考模拟设备的标准输入值进行输入,不需要人工手动输入参考被模拟设备的模拟值,这样节约了人力资源,提高了测试效率。 Compared to the prior art, the analog value of the input method provided in the embodiment of the present invention, by using the correspondence between the analog value and the standard value of the analog input device to an analog device can directly acquire the simulated analog value corresponding to the reference device standard reference input value of the analog input device, does not need to manually input the reference value of the analog is an analog device, so saving human resources, test efficiency is improved. 并且考虑到测试环境的变化,测试器件的老化等因素对被模拟设备的模拟值与模拟设备的标准输入值之间对应关系的影响,在获取参考模拟设备的标准输入值后,需要对所述标准输入值进行调整,使得调整后的标准输入值对应的参考模拟设备的输出值与模拟值相等,达到了准确输入被模拟设备的模拟值的目的。 Factors and taking into account changes in the test environment, test devices, and the like aging effect on the correspondence between the standard value of the analog value of the analog input device and an analog device relationship, after obtaining the analog value of the reference standard input device, the need for the output value is equal to the standard value of the analog input value is adjusted, so that the reference standard analog input device corresponding to the adjusted value to achieve the purpose of accurate value of the analog input is an analog device. 另外,由于本发明实施例提供的模拟值输入方法,可以同时进行多个模拟值输入,不需要测试人员逐个输入多个模拟值,因此进一步节约了人力资源,提高了测试效率。 Further, since the value of the analog input method according to an embodiment of the present invention, can be performed simultaneously a plurality of analog input values, the tester does not require a plurality of analog input values ​​by one, thus further saving human resources, test efficiency is improved.

[0084] 以上所述,仅为本发明的具体实施方式,但本发明的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本发明揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本发明的保护范围之内。 [0084] The above are only specific embodiments of the present invention, but the scope of the present invention is not limited thereto, any skilled in the art in the art within the technical scope of the present invention is disclosed, variations may readily occur or Alternatively, it shall fall within the protection scope of the present invention. 因此,本发明的保护范围应以所述权利要求的保护范围为准。 Accordingly, the scope of the present invention should be defined by the scope of the claims.

Claims (8)

1. 一种空调测试中模拟值输入方法,其特征在于,所述方法包括: 获取参考被模拟设备的模拟值,所述参考被模拟设备为待测空调包括的多个被模拟设备中的任意一个; 根据被模拟设备的模拟值与模拟设备的标准输入值之间的对应关系,获取参考模拟设备的标准输入值,所述参考模拟设备为模拟所述参考被模拟设备的设备; 根据所述参考模拟设备的标准输入值,获取所述参考模拟设备的实际输入值;其中,与所述实际输入值对应的所述参考模拟设备的输出值与所述参考被模拟设备的模拟值相等; 所述根据所述参考模拟设备的标准输入值,获取所述参考模拟设备的实际输入值包括: 将所述参考模拟设备的标准输入值输入到所述参考模拟设备,获取所述参考模拟设备与所述标准输入值对应的输出值; 若所述输出值与所述参考被模拟设备的模拟值相等 An air conditioner input test analog values, characterized in that, said method comprising: obtaining a reference value of the analog is an analog device, any of the plurality of reference is an analog device is an analog device to be tested in the air conditioner comprises a; standard correspondence between the analog input values ​​are analog values ​​and device simulation device, acquires the analog value of the reference standard input device, with reference to the simulation device to simulate the reference device is an analog device; according to the an analog input value of the reference standard device, acquiring the actual values ​​of the reference analog input device; an output of the reference value of the reference analog device wherein the input and the actual value is equal to the analog value corresponding to the simulation device; the said standard analog input value of the reference apparatus, the reference to obtain the actual value of the analog input device comprising: a standard input device values ​​of the reference input to the analog reference simulation device, acquiring the simulation device and the reference output values ​​corresponding to input values ​​of said standard; and if the output value and the reference value is equal to the analog simulation device ,将所述标准输入值作为所述参考模拟设备的实际输入值; 若所述输出值与所述参考被模拟设备的模拟值不相等,根据所述输出值与所述参考被模拟设备的模拟值,调整所述参考模拟设备的标准输入值,将调整后的标准输入值作为所述参考模拟设备的实际输入值。 , The standard input as an actual value of the reference value of the analog input device; and if the reference value and the output analog value is not equal simulation device, with reference to the simulation apparatus according to the analog output value and the value to adjust the analog reference value of the standard input device, standard input as an actual value of the adjusted reference value of the analog input device.
2. 根据权利要求1所述的方法,其特征在于,所述根据所述输出值与所述参考被模拟设备的模拟值,调整所述参考模拟设备的标准输入值,将调整后的标准输入值作为所述参考模拟设备的实际输入值包括: 获取更新后标准输入值,所述更新后标准输入值为标准输入值减去或加上第一预设数值; 将所述更新后标准输入值输入到所述参考模拟设备,获取所述参考模拟设备与所述更新后标准输入值对应的输出值; 判断所述输出值与所述参考被模拟设备的模拟值是否相等;其中,从所述获取更新后标准输入值至判断所述输出值与所述参考被模拟设备的模拟值是否相等为第一周期; 若所述输出值与所述参考被模拟设备的模拟值相等,将所述更新后标准输入值作为所述参考模拟设备的实际输入值; 若所述输出值与所述参考被模拟设备的模拟值不相等,将所述 2. The method according to claim 1, characterized in that, according to the output of said reference value and the simulated value of the analog device, adjust the standard values ​​of the reference analog input device, the adjusted standard input value as the reference value of the actual input analog devices comprises: obtaining updated standard input value, the input value is the standard value plus or minus the standard input a first predetermined value after the update; standard input said updated value reference input to the simulation device, acquires an output value of the standard value of the reference analog input device corresponding to the update; determining whether the output value and the reference value is an analog simulation device are equal; wherein, from the standard input value to obtain an updated value of the output of the reference determining whether the device is simulated analog value equal to the first period; if the output is equal to the reference value and the simulated value of the analog device, the update after standard input as an actual value of the reference value of the analog input device; and if the reference value and the output analog values ​​are analog devices are not equal, the 新后标准输入值作为标准输入值执行所述第一周期。 After the new standard input value as the standard value of the first input cycle execution.
3. 根据权利要求1所述的方法,其特征在于,所述根据所述输出值与所述参考被模拟设备的模拟值,调整所述参考模拟设备的标准输入值,将调整后的标准输入值作为所述参考模拟设备的实际输入值包括: 根据被模拟设备的模拟值与模拟设备的标准输入值之间的对应关系,获取与所述输出值对应的标准输入值; 获取参考误差,所述参考误差为与所述输出值对应的标准输入值和所述参考模拟设备的标准输入值之差; 获取第一校正输入值,所述第一校正输入值为所述参考模拟设备的标准输入值与所述参考误差之差; 将所述第一校正输入值输入到所述参考模拟设备,获取所述参考模拟设备与所述第一校正输入值对应的输出值; 若所述输出值与所述参考被模拟设备的模拟值相等,将所述第一校正输入值作为所述参考模拟设备的实际输入值; 若所述输出值 3. The method according to claim 1, characterized in that, according to the output of said reference value and the simulated value of the analog device, adjust the standard values ​​of the reference analog input device, the adjusted standard input value as the actual input value of the analog reference apparatus comprising: a correspondence between the analog value and the standard value of the analog input device is an analog device, acquires the standard value of the output value corresponding to the input; acquiring reference error, the said reference error is the difference between the standard reference analog input device and the output value and the input value corresponding to the standard value; obtaining a first corrected input value, the first correction value of the reference input analog standard input device value of the difference between the reference error; the first correction value is input to the reference input simulation device, acquiring the reference value of the analog output device and the first correction value corresponding to the input; if the output value is equal to the reference value of the analog simulation device, the first correction value as an actual input value of the reference analog input device; if the output value 与所述参考被模拟设备的模拟值不相等,获取第二校正输入值,所述第二校正输入值为所述第一校正输入值减去或加上第二预设数值; 将所述第二校正输入值输入到所述参考模拟设备,获取所述参考模拟设备与所述第二校正输入值对应的输出值; 判断所述输出值与所述参考被模拟设备的模拟值是否相等;其中,从所述获取第二校正输入值至判断所述输出值与所述参考被模拟设备的模拟值是否相等为第二周期; 若所述输出值与所述参考被模拟设备的模拟值相等,将所述第二校正输入值作为所述参考模拟设备的实际输入值; 若所述输出值与所述参考被模拟设备的模拟值不相等,将所述第二校正输入值作为第一校正输入值执行所述第二周期。 Reference analog value is not equal simulation device with the acquired second correction value is input, the second correction value is input to the first input correction value plus or minus the second predetermined value; the first two corrected input values ​​of the input analog reference to the apparatus to obtain the reference output value of the analog device and the second correction value corresponding to the input; determining whether the output value and the reference value of the analog device to be simulated are equal; wherein input from the acquired second correction value to the output value and the determination reference whether the device is simulated analog value equal to the second period; if the output value and the reference value of the device is equal to the analog simulation, the second correction value as an actual input value of the reference analog input device; and if the reference value and the output analog value is not equal simulation device, the second correction input value as a first correction input value performs the second period.
4. 根据权利要求1至3中任意一项权利要求所述的方法,其特征在于,在所述根据被模拟设备的模拟值与模拟设备的标准输入值之间的对应关系,获取参考模拟设备的标准输入值之前,所述方法还包括; 建立被模拟设备的模拟值与模拟设备的标准输入值之间的对应关系。 4. A method according to any one of claims 1 to claim 3 of the claims, characterized in that, in the correspondence between the standard value of the analog value of the analog input device is an analog device, acquiring the reference analog devices before standard input value, said method further comprising; establishing correspondence between the standard value of the analog value of the analog input devices and analog devices.
5. —种空调测试装置,其特征在于,所述装置包括: 第一获取单元,用于获取参考被模拟设备的模拟值,所述参考被模拟设备为待测空调包括的多个被模拟设备中的任意一个; 第二获取单元,用于根据被模拟设备的模拟值与模拟设备的标准输入值之间的对应关系,获取参考模拟设备的标准输入值,所述参考模拟设备为模拟所述参考被模拟设备的设备; 第三获取单元,根据所述参考模拟设备的标准输入值,获取所述参考模拟设备的实际输入值;其中,与所述实际输入值对应的所述参考模拟设备的输出值与所述参考被模拟设备的模拟值相等; 所述第三获取单元具体用于: 将所述参考模拟设备的标准输入值输入到所述参考模拟设备,获取所述参考模拟设备与所述标准输入值对应的输出值; 若所述输出值与所述参考被模拟设备的模拟值相等,将所述标准 5 - an air conditioning test apparatus, wherein, said means comprising: a first acquisition unit for acquiring a reference value of the analog is an analog device, the plurality of reference analog device is an analog device to be tested is included in the air-conditioning any one of; a second acquiring unit for correspondence between the analog input values ​​are standard equipment with the analog value simulation device, acquires the input value of the reference standard simulation device, the simulation device for the simulation of the reference reference simulated device apparatus; third obtaining unit, according to the standard reference values ​​of the analog input device, acquiring the actual input value of the reference device simulation; wherein the analog reference value of the actual input device corresponding the output value is equal to the reference value of the analog simulation device; the third obtaining unit is specifically configured to: enter the standard values ​​of the reference input to the analog reference device simulation device, acquiring the simulation device and the reference output values ​​corresponding to input values ​​of said standard; and if the output value is equal to the reference analog value of an analog device, the standard 输入值作为所述参考模拟设备的实际输入值; 若所述输出值与所述参考被模拟设备的模拟值不相等,根据所述输出值与所述参考被模拟设备的模拟值,调整所述参考模拟设备的标准输入值,将调整后的标准输入值作为所述参考模拟设备的实际输入值。 As the actual input value of the analog input value of the reference device; and if the reference value and the output value of the analog device to be simulated are not equal, the reference simulated analog value according to the output device and the value, adjusting the an analog input value of the reference standard equipment, standard input as an actual value of the adjusted reference value of the analog input device.
6. 根据权利要求5所述的装置,其特征在于,所述第三获取单元具体用于: 获取更新后标准输入值,所述更新后标准输入值为标准输入值减去或加上第一预设数值; 将所述更新后标准输入值输入到所述参考模拟设备,获取所述参考模拟设备与所述更新后标准输入值对应的输出值; 判断所述输出值与所述参考被模拟设备的模拟值是否相等;其中,从所述获取更新后标准输入值至判断所述输出值与所述参考被模拟设备的模拟值是否相等为第一周期; 若所述输出值与所述参考被模拟设备的模拟值相等,将所述更新后标准输入值作为所述参考模拟设备的实际输入值; 若所述输出值与所述参考被模拟设备的模拟值不相等,将所述更新后标准输入值作为标准输入值执行所述第一周期。 6. The apparatus as claimed in claim 5, wherein said third obtaining unit is configured to: obtain the updated value standard input, standard input value input value plus or minus the standard after the first update preset value; standard input said updated value to the reference input simulation device, acquires an output value of the standard value of the reference analog input device corresponding to the update; determining whether the output value of said simulated reference analog values ​​are equal apparatus; wherein said standard input value to obtain an updated determination of the reference value of the output device if the simulated analog value equal to the first period; if the output value and the reference analog value is equal to the simulation device, the standard input as an actual value of the updated value of the reference analog input device; and if the reference value and the output analog value is not equal simulation device, the updated standard input value as the standard value of the first input cycle execution.
7. 根据权利要求5所述的装置,其特征在于,所述第三获取单元还具体用于: 根据被模拟设备的模拟值与模拟设备的标准输入值之间的对应关系,获取与所述输出值对应的标准输入值; 获取参考误差,所述参考误差为与所述输出值对应的标准输入值和所述参考模拟设备的标准输入值之差; 获取第一校正输入值,所述第一校正输入值为所述参考模拟设备的标准输入值与所述参考误差之差; 将所述第一校正输入值输入到所述参考模拟设备,获取所述参考模拟设备与所述第一校正输入值对应的输出值; 若所述输出值与所述参考被模拟设备的模拟值相等,将所述第一校正输入值作为所述参考模拟设备的实际输入值; 若所述输出值与所述参考被模拟设备的模拟值不相等,获取第二校正输入值,所述第二校正输入值为所述第一校正输入值减去或加上第二预设 7. The apparatus according to claim 5, wherein said third obtaining unit is further configured to: according to a correspondence relationship between the analog input values ​​are standard equipment with the analog value simulation device, acquires the the standard value of the output value corresponding to the input; obtaining reference error, the difference between the input reference value standard input value to said error output value corresponding to said reference and analog devices; obtaining a first corrected input value, said first correcting a difference between the input and the reference value of the reference standard deviation value of the analog input device; the first correction value is input to the reference input simulation device, acquiring the reference device and the first analog correction input value corresponding to the output; and if the output value is equal to the reference analog value of an analog device, the first correction value as an actual input value of the reference analog input device; and if the output value of the said reference analog value is not equal simulation device, acquiring a second corrected input value, the second correction value is input to the first input correction value plus or minus the second predetermined 数值; 将所述第二校正输入值输入到所述参考模拟设备,获取所述参考模拟设备与所述第二校正输入值对应的输出值; 判断所述输出值与所述参考被模拟设备的模拟值是否相等;其中,从所述获取第二校正输入值至判断所述输出值与所述参考被模拟设备的模拟值是否相等为第二周期; 若所述输出值与所述参考被模拟设备的模拟值相等,将所述第二校正输入值作为所述参考模拟设备的实际输入值; 若所述输出值与所述参考被模拟设备的模拟值不相等,将所述第二校正输入值作为第一校正输入值执行所述第二周期。 Value; the second correction value is input to the reference input simulation device, acquiring the reference output value of the analog input device and corresponding to the second correction value; determining whether the output value and the reference device to be simulated analog values ​​are equal; wherein, from the acquired second correction value to determine whether the input value and the output analog values ​​simulated reference device is equal to a second period; if the output value of said simulated reference analog value is equal to the device, the second correction value as an actual input value of the reference analog input device; and if the reference value and the output analog value is not equal simulation device, the second correction input first correction value as the input value of the second execution cycle.
8. 根据权利要求5至7中任意一项权利要求所述的装置,其特征在于,所述装置还包括; 建立单元,用于建立被模拟设备的模拟值与模拟设备的标准输入值之间的对应关系。 Between establishment unit for establishing the standard value is an analog value of the analog input devices and analog devices; 5-7 8. The apparatus of any preceding claim claim, wherein said apparatus further comprises correspondence.
CN 201510043361 2015-01-28 2015-01-28 An air-conditioning test method and the analog value of the input conditioning test apparatus CN105589339B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 201510043361 CN105589339B (en) 2015-01-28 2015-01-28 An air-conditioning test method and the analog value of the input conditioning test apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 201510043361 CN105589339B (en) 2015-01-28 2015-01-28 An air-conditioning test method and the analog value of the input conditioning test apparatus

Publications (2)

Publication Number Publication Date
CN105589339A true CN105589339A (en) 2016-05-18
CN105589339B true CN105589339B (en) 2018-09-25

Family

ID=55929009

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 201510043361 CN105589339B (en) 2015-01-28 2015-01-28 An air-conditioning test method and the analog value of the input conditioning test apparatus

Country Status (1)

Country Link
CN (1) CN105589339B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106920447A (en) * 2017-05-10 2017-07-04 江苏新安电器有限公司 Refrigerator test stimulation device

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101101239B (en) * 2006-07-03 2010-05-12 珠海格力电器股份有限公司 Apparatus and method for testing air conditioner
CN101551425A (en) * 2008-03-31 2009-10-07 上海电气自动化设计研究所有限公司 Sensor simulation automatic calibration method of device ageing screening lathe
JP4914417B2 (en) * 2008-10-15 2012-04-11 株式会社エヌ・ピー・シー Solar simulator
CN102175347B (en) * 2011-02-15 2013-10-30 钜泉光电科技(上海)股份有限公司 Calibration method and calibration system of temperature sensor
US20120239374A1 (en) * 2011-03-18 2012-09-20 General Electric Company System and method of simulating input/output modules in a control system
CN102323760A (en) * 2011-07-07 2012-01-18 佛山市中格威电子有限公司 Semiphysical test method and device of air conditioner control system
JP6197359B2 (en) * 2013-05-14 2017-09-20 オムロン株式会社 Simulation method, a simulation program, a simulation apparatus, and, systems

Also Published As

Publication number Publication date Type
CN105589339A (en) 2016-05-18 application

Similar Documents

Publication Publication Date Title
US5929628A (en) Apparatus and method for performing amplitude calibration in an electronic circuit tester
US20110286506A1 (en) User Interface for Signal Integrity Network Analyzer
CN101334448A (en) Test platform and method for testing PC board
CN101231332A (en) Full-automatic mutual inductor tester whole checking system
CN101435841A (en) Test system and method
CN104217687A (en) Method and device for automatically correcting flickering of liquid crystal display
CN101021460A (en) Detecting equipment and detecting method for metal ceiling system strength
US20050140377A1 (en) Method to verify the outcome of calibration with a network analyzer
CN201886059U (en) Positive-negative voltage measuring device
JP2008139224A (en) Measuring apparatus
CN102129029A (en) Method for diagnosing fault of simulation circuit based on low-frequency noise measurement
CN1797014A (en) Detection method for testing current in resistance property of lightning arrester
CN101452068A (en) Test method and system for enhancing calibration efficiency of wireless comprehensive test instrument
CN201965118U (en) Automatic calibration device
CN103344913A (en) Electromagnetic relay testing equipment and method
CN103676231A (en) Method and device for measuring Flicker value of liquid crystal module
CN104808168A (en) Rapid electric energy meter verification method based on segmented current technology
CN101545945A (en) Method for testing leakage current of MOS device
CN1564015A (en) Method of self-calibrating of current ratio standard device
CN104360165A (en) Multichannel resistance measuring device
CN202008519U (en) Test device
CN103926512A (en) Method for simulating XLPE insulated cable partial discharge and simulation testing platform
CN101661065A (en) System and method for automatically testing electronic product
CN103414990A (en) Method for detecting indoor sound reinforcement device
CN101706294A (en) Method for automatically judging calibration time of sensor

Legal Events

Date Code Title Description
C06 Publication
C10 Entry into substantive examination
GR01