CN116185784A - Calibration device, calibration system and acquisition system - Google Patents
Calibration device, calibration system and acquisition system Download PDFInfo
- Publication number
- CN116185784A CN116185784A CN202310453919.5A CN202310453919A CN116185784A CN 116185784 A CN116185784 A CN 116185784A CN 202310453919 A CN202310453919 A CN 202310453919A CN 116185784 A CN116185784 A CN 116185784A
- Authority
- CN
- China
- Prior art keywords
- calibration
- voltage
- module
- acquisition
- current
- Prior art date
- Legal status (The legal status 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 status listed.)
- Granted
Links
- 238000001514 detection method Methods 0.000 claims abstract description 308
- 238000012545 processing Methods 0.000 claims description 155
- 238000000034 method Methods 0.000 claims description 44
- 230000008569 process Effects 0.000 claims description 38
- 239000004606 Fillers/Extenders Substances 0.000 claims description 14
- 238000003860 storage Methods 0.000 claims description 14
- 230000001360 synchronised effect Effects 0.000 claims description 12
- 238000005516 engineering process Methods 0.000 abstract description 6
- 238000010586 diagram Methods 0.000 description 30
- 230000006870 function Effects 0.000 description 19
- 230000005540 biological transmission Effects 0.000 description 16
- 238000004891 communication Methods 0.000 description 13
- 238000005259 measurement Methods 0.000 description 9
- 238000012790 confirmation Methods 0.000 description 8
- 238000005070 sampling Methods 0.000 description 6
- 238000012360 testing method Methods 0.000 description 6
- 230000001960 triggered effect Effects 0.000 description 6
- 230000003044 adaptive effect Effects 0.000 description 4
- 238000004458 analytical method Methods 0.000 description 4
- 238000004590 computer program Methods 0.000 description 4
- 238000011161 development Methods 0.000 description 4
- 238000011160 research Methods 0.000 description 4
- 238000004364 calculation method Methods 0.000 description 3
- 238000013480 data collection Methods 0.000 description 3
- 230000009471 action Effects 0.000 description 2
- 230000003190 augmentative effect Effects 0.000 description 2
- 238000009826 distribution Methods 0.000 description 2
- 238000002955 isolation Methods 0.000 description 2
- 239000004973 liquid crystal related substance Substances 0.000 description 2
- 238000004519 manufacturing process Methods 0.000 description 2
- 238000012544 monitoring process Methods 0.000 description 2
- 230000003287 optical effect Effects 0.000 description 2
- 238000005457 optimization Methods 0.000 description 2
- 230000002093 peripheral effect Effects 0.000 description 2
- 239000007787 solid Substances 0.000 description 2
- 230000001052 transient effect Effects 0.000 description 2
- WQZGKKKJIJFFOK-GASJEMHNSA-N Glucose Natural products OC[C@H]1OC(O)[C@H](O)[C@@H](O)[C@@H]1O WQZGKKKJIJFFOK-GASJEMHNSA-N 0.000 description 1
- 238000012356 Product development Methods 0.000 description 1
- 239000008280 blood Substances 0.000 description 1
- 210000004369 blood Anatomy 0.000 description 1
- 230000036772 blood pressure Effects 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 238000006243 chemical reaction Methods 0.000 description 1
- 238000013500 data storage Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000002474 experimental method Methods 0.000 description 1
- 239000008103 glucose Substances 0.000 description 1
- 238000010295 mobile communication Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 239000013307 optical fiber Substances 0.000 description 1
- 238000012827 research and development Methods 0.000 description 1
- 239000004065 semiconductor Substances 0.000 description 1
- 230000004304 visual acuity Effects 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/30—Monitoring
- G06F11/3058—Monitoring arrangements for monitoring environmental properties or parameters of the computing system or of the computing system component, e.g. monitoring of power, currents, temperature, humidity, position, vibrations
- G06F11/3062—Monitoring arrangements for monitoring environmental properties or parameters of the computing system or of the computing system component, e.g. monitoring of power, currents, temperature, humidity, position, vibrations where the monitored property is the power consumption
Landscapes
- Engineering & Computer Science (AREA)
- Computing Systems (AREA)
- Theoretical Computer Science (AREA)
- Quality & Reliability (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Measurement Of Current Or Voltage (AREA)
- Testing Or Calibration Of Command Recording Devices (AREA)
Abstract
Description
技术领域technical field
本申请涉及计算机技术领域,特别涉及一种校准器件、校准系统和采集系统。The present application relates to the field of computer technology, in particular to a calibration device, a calibration system and an acquisition system.
背景技术Background technique
随着计算机技术的迅速发展,电子设备的功能越来越丰富,应用场景也越来越多。为提升电子设备的续航体验,对电子设备的功耗评测显得尤为重要。目前,可以使用采集器件采集电子设备中的负载的电流和电压,以据此确定相应的功耗。然而,因制造影响,采集器件的理论值与检测值之间不可避免的会存在偏差,导致采集器件的检测精度下降。为此,亟需一种校准器件对采集器件进行校准,以提高采集器件的检测精度。With the rapid development of computer technology, electronic devices have more and more functions and more and more application scenarios. In order to improve the battery life experience of electronic devices, it is particularly important to evaluate the power consumption of electronic devices. Currently, a collection device can be used to collect the current and voltage of a load in an electronic device, so as to determine the corresponding power consumption accordingly. However, due to manufacturing influences, there will inevitably be deviations between the theoretical value and the detected value of the acquisition device, resulting in a decrease in the detection accuracy of the acquisition device. Therefore, there is an urgent need for a calibration device to calibrate the acquisition device, so as to improve the detection accuracy of the acquisition device.
发明内容Contents of the invention
本申请提供了一种校准器件、校准系统和采集系统,可以提高采集器件的检测精度。所述技术方案如下:The application provides a calibration device, a calibration system and an acquisition system, which can improve the detection accuracy of the acquisition device. Described technical scheme is as follows:
第一方面,提供了一种校准器件,校准器件包括:电压输出模块和至少一个校准模块。In a first aspect, a calibration device is provided, and the calibration device includes: a voltage output module and at least one calibration module.
电压输出模块的输出端与至少一个校准模块中每个校准模块的输入端连接,至少一个校准模块中每个校准模块的输出端用于与采集器件中n个检测通道中的至少一个检测通道连接,n为大于或等于2的整数。The output terminal of the voltage output module is connected to the input terminal of each calibration module in the at least one calibration module, and the output terminal of each calibration module in the at least one calibration module is used to connect with at least one detection channel in the n detection channels in the acquisition device , n is an integer greater than or equal to 2.
电压输出模块用于向至少一个校准模块中的每个校准模块输出第一电压,至少一个校准模块中的每个校准模块在输入第一电压的情况下向所连接的检测通道输出第二电压和第三电压,n个检测通道中的每个检测通道用于根据所连接的检测通道输入的第二电压检测目标电流值以及根据所连接的校准模块输入的第三电压检测目标电压值,每个检测通道对应的电流校准参数是根据理论电流值和目标电流值确定的,每个检测通道对应的电压校准参数是根据理论电压值和目标电压值确定的。The voltage output module is used to output the first voltage to each calibration module in the at least one calibration module, and each calibration module in the at least one calibration module outputs the second voltage and The third voltage, each detection channel in the n detection channels is used to detect the target current value according to the second voltage input by the connected detection channel and the third voltage detection target voltage value according to the connected calibration module input, each The current calibration parameters corresponding to the detection channels are determined according to the theoretical current value and the target current value, and the voltage calibration parameters corresponding to each detection channel are determined according to the theoretical voltage value and the target voltage value.
可选地,校准器件与采集器件用于通过板对板连接器进行连接。Optionally, the calibration device and the acquisition device are used for connection through a board-to-board connector.
在本申请中,由于至少一个校准模块中每个校准模块的电路结构是预知的,所以在电压输出模块向至少一个校准模块中的每个校准模块输出第一电压的情况下,可事先获知至少一个校准模块中的每个校准模块预期被所连接的检测通道检测到的理论电流值和理论电压值。对于n个检测通道中任意的一个检测通道,这个检测通道在检测所连接的校准模块后实际得到的是目标电流值和目标电压值。这种情况下,根据这个检测通道所连接的校准模块对应的理论电流值和这个检测通道实际检测到的目标电流值,可以确定出这个检测通道对应的电流校准参数,并且,根据这个检测通道所连接的校准模块对应的理论电压值和这个检测通道实际检测到的目标电压值,可以确定出这个检测通道对应的电压校准参数,如此,就得到了这个检测通道对应的一组校准参数。这个检测通道对应的一组校准参数用于将这个检测通道实际的检测值校准为理论值,也即,这个检测通道对应的电流校准参数用于将这个检测通道实际检测到的电流值校准至接近或等于理论电流值,将这个检测通道实际检测到的电压值校准至接近或等于理论电压值。由于校准后的检测值接近或等于理论值,所以可以有效提高采集器件的检测精度。In this application, since the circuit structure of each calibration module in at least one calibration module is known in advance, so in the case that the voltage output module outputs the first voltage to each calibration module in at least one calibration module, it can be known in advance that at least A theoretical current value and a theoretical voltage value expected to be detected by each calibration module in a calibration module by the connected detection channel. For any detection channel among the n detection channels, what this detection channel actually obtains after detecting the connected calibration module is a target current value and a target voltage value. In this case, according to the theoretical current value corresponding to the calibration module connected to the detection channel and the target current value actually detected by the detection channel, the current calibration parameters corresponding to the detection channel can be determined, and, according to the detection channel The theoretical voltage value corresponding to the connected calibration module and the target voltage value actually detected by this detection channel can determine the voltage calibration parameters corresponding to this detection channel, so that a set of calibration parameters corresponding to this detection channel can be obtained. A set of calibration parameters corresponding to this detection channel is used to calibrate the actual detection value of this detection channel to a theoretical value, that is, the current calibration parameters corresponding to this detection channel are used to calibrate the current value actually detected by this detection channel to a value close to Or equal to the theoretical current value, and calibrate the actual detected voltage value of this detection channel to be close to or equal to the theoretical voltage value. Since the calibrated detection value is close to or equal to the theoretical value, the detection accuracy of the acquisition device can be effectively improved.
可选地,电压输出模块包括基准电压源、第二处理单元和数字模拟转换器DAC。基准电压源的两个输出端一一与DAC的两个基准电压端连接,第二处理单元的输出端与DAC的输入端连接,DAC的输出端与至少一个校准模块中每个校准模块的输入端连接。Optionally, the voltage output module includes a reference voltage source, a second processing unit and a digital-to-analog converter DAC. The two output terminals of the reference voltage source are connected to the two reference voltage terminals of the DAC one by one, the output terminal of the second processing unit is connected to the input terminal of the DAC, and the output terminal of the DAC is connected to the input of each calibration module in at least one calibration module end connection.
基准电压源是用于输出两个基准电压的电源。这两个基准电压中的一个基准电压为预设电压范围的最大值,另一个基准电压为预设电压范围的最小值。在基准电压源输出的两个基准电压的作用下,DAC可以稳定且精确的输出所需的电压。The reference voltage source is a power supply for outputting two reference voltages. One of the two reference voltages is the maximum value of the preset voltage range, and the other reference voltage is the minimum value of the preset voltage range. Under the action of the two reference voltages output by the reference voltage source, the DAC can output the required voltage stably and accurately.
在需要对采集器件进行校准时,第二处理单元可以向DAC输出第一电压的数字量(即数字电压)。DAC可以根据基准电压源输入的两个基准电压将该数字电压转换为模拟电压(即第一电压的模拟量),该模拟电压处于预设电压范围内。之后,DAC可以将该模拟电压输出给至少一个校准模块中的每个校准模块。When the acquisition device needs to be calibrated, the second processing unit may output the digital value of the first voltage (ie, the digital voltage) to the DAC. The DAC can convert the digital voltage into an analog voltage (that is, the analog value of the first voltage) according to the two reference voltages input by the reference voltage source, and the analog voltage is within a preset voltage range. The DAC can then output the analog voltage to each of the at least one calibration module.
可选地,电压输出模块还包括两个第一电压跟随器,两个第一电压跟随器中的一个第一电压跟随器连接在基准电压源的一个输出端与DAC的一个基准电压端之间,另一个第一电压跟随器连接在基准电压源的另一个输出端与DAC的另一个基准电压端之间。Optionally, the voltage output module further includes two first voltage followers, and one of the two first voltage followers is connected between an output terminal of the reference voltage source and a reference voltage terminal of the DAC , another first voltage follower is connected between the other output end of the reference voltage source and the other reference voltage end of the DAC.
由于电压跟随器输入阻抗近似无穷大、输出阻抗极小,所以可以起到隔离缓冲的作用,因而这两个第一电压跟随器可以使得基准电压源输出至DAC的两个基准电压更为稳定。Since the input impedance of the voltage follower is approximately infinite and the output impedance is extremely small, it can function as an isolation buffer. Therefore, the two first voltage followers can make the two reference voltages output from the reference voltage source to the DAC more stable.
可选地,至少一个校准模块中任意的一个校准模块包括第二电阻和第三电阻,第二电阻的第一端与电压输出模块的输出端连接,第二电阻的第二端与第三电阻的第一端连接,第三电阻的第二端与地线连接,第二电阻的两端用于与n个检测通道中的至少一个检测通道连接。Optionally, any calibration module in at least one calibration module includes a second resistor and a third resistor, the first end of the second resistor is connected to the output end of the voltage output module, and the second end of the second resistor is connected to the third resistor The first end of the third resistor is connected to the ground wire, and the two ends of the second resistor are used to connect to at least one detection channel in the n detection channels.
这种情况下,第二电阻的电压为上述的第二电压,第三电阻的电压为上述的第三电压,第二电阻的阻值和第三电阻的阻值是已知的。由于第二电阻的阻值和第三电阻的阻值是已知的,所以在预知电压输出模块向第二电阻输出的第一电压的情况下,可预知第二电阻的真实电流值(即理论电流值)和第三电阻的真实电压值(即理论电压值),也就预知了n个检测通道中每个检测通道对应的理论电流值和理论电压值。In this case, the voltage of the second resistor is the above-mentioned second voltage, the voltage of the third resistor is the above-mentioned third voltage, and the resistance values of the second resistor and the third resistor are known. Since the resistance value of the second resistor and the resistance value of the third resistor are known, in the case of predicting the first voltage output from the voltage output module to the second resistor, the real current value of the second resistor (that is, the theoretical current value) and the real voltage value (that is, theoretical voltage value) of the third resistor, which predicts the theoretical current value and theoretical voltage value corresponding to each detection channel in the n detection channels.
可选地,一个校准模块还包括第二电压跟随器,第二电压跟随器连接在电压输出模块的输出端与第二电阻的第一端之间,以保证电压输出模块输出的第一电压的稳定性。Optionally, a calibration module further includes a second voltage follower, and the second voltage follower is connected between the output terminal of the voltage output module and the first terminal of the second resistor to ensure the accuracy of the first voltage output by the voltage output module. stability.
可选地,校准器件还包括第三电压跟随器,第三电压跟随器连接在电压输出模块的输出端与至少一个校准模块中的每个校准模块的输入端之间,以提高电压输出模块的带载能力。Optionally, the calibration device further includes a third voltage follower, and the third voltage follower is connected between the output terminal of the voltage output module and the input terminal of each calibration module in at least one calibration module, so as to improve the voltage output module. carrying capacity.
第二方面,提供了一种校准系统,该校准系统包括校准器件、采集器件、电子设备。In a second aspect, a calibration system is provided, and the calibration system includes a calibration device, an acquisition device, and electronic equipment.
校准器件包括电压输出模块和至少一个校准模块,采集器件包括n个检测通道和第一处理单元,n为大于或等于2的正整数。电压输出模块的输出端与至少一个校准模块中每个校准模块的输入端连接;至少一个校准模块中每个校准模块的输出端与n个检测通道中的至少一个检测通道连接;第一处理单元的n个采集端一一与n个检测通道连接。电压输出模块用于向至少一个校准模块中的每个校准模块输出第一电压;至少一个校准模块中的每个校准模块在输入第一电压的情况下向所连接的检测通道输出第二电压和第三电压。n个检测通道中的每个检测通道用于根据所连接的检测通道输入的第二电压检测目标电流值以及根据所连接的校准模块输入的第三电压检测目标电压值;第一处理单元用于获取每个检测通道检测到的目标电流值和目标电压值,将目标电流值和目标电压值发送给电子设备。电子设备用于根据理论电流值和目标电流值确定每个检测通道对应的电流校准参数,以及根据理论电压值和目标电压值确定每个检测通道对应的电压校准参数,以得到与n个检测通道一一对应的n组校准参数,n组校准参数中的每组校准参数包括电流校准参数和电压校准参数。The calibration device includes a voltage output module and at least one calibration module, and the acquisition device includes n detection channels and a first processing unit, where n is a positive integer greater than or equal to 2. The output terminal of the voltage output module is connected to the input terminal of each calibration module in the at least one calibration module; the output terminal of each calibration module in the at least one calibration module is connected to at least one detection channel in the n detection channels; the first processing unit The n acquisition ends of the n detectors are connected to n detection channels one by one. The voltage output module is used to output the first voltage to each calibration module in the at least one calibration module; each calibration module in the at least one calibration module outputs the second voltage and third voltage. Each of the n detection channels is used to detect the target current value according to the second voltage input by the connected detection channel and detect the target voltage value according to the third voltage input by the connected calibration module; the first processing unit is used for The target current value and the target voltage value detected by each detection channel are obtained, and the target current value and the target voltage value are sent to the electronic device. The electronic device is used to determine the current calibration parameters corresponding to each detection channel according to the theoretical current value and the target current value, and determine the voltage calibration parameters corresponding to each detection channel according to the theoretical voltage value and the target voltage value, so as to obtain the n detection channel There are n sets of calibration parameters in one-to-one correspondence, and each set of calibration parameters in the n sets of calibration parameters includes current calibration parameters and voltage calibration parameters.
在本申请中,由于至少一个校准模块中每个校准模块的电路结构是预知的,所以在电压输出模块向至少一个校准模块中的每个校准模块输出第一电压的情况下,可事先获知至少一个校准模块中的每个校准模块预期被所连接的检测通道检测到的理论电流值和理论电压值。对于n个检测通道中任意的一个检测通道,这个检测通道在检测所连接的校准模块后实际得到的是目标电流值和目标电压值。这种情况下,根据这个检测通道所连接的校准模块对应的理论电流值和这个检测通道实际检测到的目标电流值,可以确定出这个检测通道对应的电流校准参数,并且,根据这个检测通道所连接的校准模块对应的理论电压值和这个检测通道实际检测到的目标电压值,可以确定出这个检测通道对应的电压校准参数,如此,就得到了这个检测通道对应的一组校准参数。这个检测通道对应的一组校准参数用于将这个检测通道实际的检测值校准为理论值,也即,这个检测通道对应的电流校准参数用于将这个检测通道实际检测到的电流值校准至接近或等于理论电流值,将这个检测通道实际检测到的电压值校准至接近或等于理论电压值。由于校准后的检测值接近或等于理论值,所以可以有效提高采集器件的检测精度。In this application, since the circuit structure of each calibration module in at least one calibration module is known in advance, so in the case that the voltage output module outputs the first voltage to each calibration module in at least one calibration module, it can be known in advance that at least A theoretical current value and a theoretical voltage value expected to be detected by each calibration module in a calibration module by the connected detection channel. For any detection channel among the n detection channels, what this detection channel actually obtains after detecting the connected calibration module is a target current value and a target voltage value. In this case, according to the theoretical current value corresponding to the calibration module connected to the detection channel and the target current value actually detected by the detection channel, the current calibration parameters corresponding to the detection channel can be determined, and, according to the detection channel The theoretical voltage value corresponding to the connected calibration module and the target voltage value actually detected by this detection channel can determine the voltage calibration parameters corresponding to this detection channel, so that a set of calibration parameters corresponding to this detection channel can be obtained. A set of calibration parameters corresponding to this detection channel is used to calibrate the actual detection value of this detection channel to a theoretical value, that is, the current calibration parameters corresponding to this detection channel are used to calibrate the current value actually detected by this detection channel to a value close to Or equal to the theoretical current value, and calibrate the actual detected voltage value of this detection channel to be close to or equal to the theoretical voltage value. Since the calibrated detection value is close to or equal to the theoretical value, the detection accuracy of the acquisition device can be effectively improved.
可选地,电子设备用于向电压输出模块发送校准指令;电压输出模块用于在确定当前接收到的校准指令为本次校准过程中的第一个校准指令的情况下,将第一电压设置为预设电压范围的最小值,向至少一个校准模块中的每个校准模块输出第一电压;在确定当前接收到的校准指令不为本次校准过程中接收到的第一个校准指令的情况下,若确定第一电压小于预设电压范围的最大值,则将第一电压增大预设电压,向至少一个校准模块中的每个校准模块输出第一电压,若确定第一电压等于预设电压范围的最大值,则结束本次校准过程。Optionally, the electronic device is used to send a calibration instruction to the voltage output module; the voltage output module is used to set the first voltage to Outputting the first voltage to each calibration module in at least one calibration module is the minimum value of the preset voltage range; when it is determined that the calibration instruction currently received is not the first calibration instruction received during this calibration process Next, if it is determined that the first voltage is less than the maximum value of the preset voltage range, the first voltage is increased by the preset voltage, and the first voltage is output to each calibration module in at least one calibration module, if it is determined that the first voltage is equal to the preset voltage If the maximum value of the voltage range is set, the calibration process ends.
在本申请中,电子设备可以向电压输出模块发送多个校准指令。电子设备每向电压输出模块发送一个校准指令,在接收到第一处理单元发送的目标电流值和目标电压值后,对于n个检测通道中任意的一个检测通道,电子设备会获得这个检测通道对应的一组校准电流值,这组校准电流值包括理论电流值和目标电流值,且电子设备会获得这个检测通道对应的一组校准电压值,这组校准电压值包括理论电压值和目标电压值。In this application, the electronic device can send multiple calibration instructions to the voltage output module. Each time the electronic device sends a calibration command to the voltage output module, after receiving the target current value and target voltage value sent by the first processing unit, for any one of the n detection channels, the electronic device will obtain the detection channel corresponding to A set of calibration current values, this set of calibration current values includes theoretical current values and target current values, and the electronic device will obtain a set of calibration voltage values corresponding to this detection channel, this set of calibration voltage values includes theoretical voltage values and target voltage values .
可选地,电子设备用于在本次校准过程结束后,对于n个检测通道中任意的一个检测通道,根据在本次校准过程中获取到的一个检测通道对应的多组校准电流值确定一个检测通道对应的电流校准参数,多组校准电流值中每组校准电流值包括理论电流值和目标电流值,以及根据在本次校准过程中获取到的一个检测通道对应的多组校准电压值确定一个检测通道对应的电压校准参数,多组校准电压值中每组校准电压值包括理论电压值和目标电压值。如此,可以获得n个检测通道中每个检测通道对应的一组校准参数,可以满足多通道校准需求。Optionally, the electronic device is configured to, for any one of the n detection channels after the calibration process ends, determine a The current calibration parameters corresponding to the detection channel, each set of calibration current values in multiple sets of calibration current values include theoretical current values and target current values, and are determined according to multiple sets of calibration voltage values corresponding to one detection channel obtained during this calibration process A voltage calibration parameter corresponding to a detection channel, and each set of calibration voltage values in multiple sets of calibration voltage values includes a theoretical voltage value and a target voltage value. In this way, a set of calibration parameters corresponding to each of the n detection channels can be obtained, which can meet the multi-channel calibration requirements.
可选地,电子设备用于将n组校准参数发送给第一处理单元进行存储。Optionally, the electronic device is configured to send n sets of calibration parameters to the first processing unit for storage.
可选地,电子设备用于:生成携带有n组校准参数的数据包;获取第一处理单元的缓存空间剩余大小;若数据包的大小小于或等于缓存空间剩余大小,则将数据包发送给第一处理单元;若数据包的大小大于缓存空间剩余大小,则根据数据包中的至少一组校准参数生成新的数据包,新生成的数据包的大小小于或等于缓存空间剩余大小,将新生成的数据包发送给第一处理单元;若n组校准参数中存在未被发送给第一处理单元的一组或多组校准参数,则生成携带有一组或多组校准参数的数据包,重新执行获取第一处理单元的缓存空间剩余大小的步骤及后续步骤,直至将n组校准参数均发送给第一处理单元为止。Optionally, the electronic device is used to: generate a data packet carrying n sets of calibration parameters; acquire the remaining size of the buffer space of the first processing unit; if the size of the data packet is less than or equal to the remaining size of the buffer space, send the data packet to The first processing unit; if the size of the data packet is greater than the remaining size of the buffer space, a new data packet is generated according to at least one set of calibration parameters in the data packet, the size of the newly generated data packet is less than or equal to the remaining size of the buffer space, and the new data packet is generated The generated data packet is sent to the first processing unit; if there is one or more sets of calibration parameters that have not been sent to the first processing unit in the n sets of calibration parameters, then generate a data packet carrying one or more sets of calibration parameters, and re- The step of obtaining the remaining size of the cache space of the first processing unit and subsequent steps are performed until all the n sets of calibration parameters are sent to the first processing unit.
在本申请中,提供了一种缓存空间自适应方式,通过实时监控第一处理单元的缓存空间剩余大小来调整所要下发的携带有校准参数的数据包的大小,从而可以保证第一处理单元的正常运行,也可以降低采集器件的资源消耗。In this application, a buffer space adaptive method is provided, which adjusts the size of the data packet carrying the calibration parameters to be delivered by monitoring the remaining size of the buffer space of the first processing unit in real time, thereby ensuring that the first processing unit The normal operation of the system can also reduce the resource consumption of the acquisition device.
第三方面,提供了一种采集系统,采集系统包括电子设备和多个采集器件,电子设备与多个采集器件进行连接。In a third aspect, a collection system is provided. The collection system includes electronic equipment and multiple collection devices, and the electronic device is connected to the multiple collection devices.
多个采集器件均是经上述第一方面所述的校准器件校准过的采集器件,多个采集器件中的每个采集器件存储有自身的n个检测通道中每个检测通道对应的电流校准参数和电压校准参数,多个采集器件工作时数据采集是同步的。多个采集器件中的任意两个采集器件用于采集不同对象的电流电压数据或用于采集同一对象的电流电压数据;多个采集器件中每个采集器件使用电流校准参数和电压校准参数对电流电压数据后进行校准后发送给电子设备。The plurality of acquisition devices are all acquisition devices calibrated by the calibration device described in the first aspect above, and each acquisition device in the plurality of acquisition devices stores the current calibration parameters corresponding to each detection channel in its own n detection channels And voltage calibration parameters, data acquisition is synchronized when multiple acquisition devices are working. Any two acquisition devices among the multiple acquisition devices are used to collect current and voltage data of different objects or to collect current and voltage data of the same object; each of the multiple acquisition devices uses current calibration parameters and voltage calibration parameters to adjust the current The voltage data is then calibrated and sent to the electronics.
电子设备据此可以实现对同一对象的更多负载的功耗的确认,或者可以实现对不同对象的负载的功耗的确认。如此,该采集系统通过对多个采集器件的扩展使用,可以实现更多通道的功耗测量,具有相当的灵活性。According to this, the electronic device can realize the confirmation of the power consumption of more loads of the same object, or can realize the confirmation of the power consumption of loads of different objects. In this way, the acquisition system can realize the power consumption measurement of more channels through the extended use of multiple acquisition devices, and has considerable flexibility.
可选地,电子设备与多个采集器件通过USB接口扩展器进行连接。Optionally, the electronic device is connected to multiple acquisition devices through a USB interface extender.
在一些实施例中,电子设备可以通过一个USB接口扩展器连接多个采集器件,且这多个采集器件均连接至一个对象,以采集这个对象的电流电压数据。并且,电子设备还可以通过另一个USB接口扩展器连接至另外多个采集器件,这多个采集器件可以连接至另外一个对象。如此,电子设备可以通过多个USB接口扩展器实现对多个对象的功耗测量。In some embodiments, the electronic device can be connected to multiple acquisition devices through a USB interface extender, and the multiple acquisition devices are all connected to an object, so as to collect the current and voltage data of the object. Moreover, the electronic device can also be connected to other multiple acquisition devices through another USB interface expander, and these multiple acquisition devices can be connected to another object. In this way, the electronic device can implement power consumption measurement for multiple objects through multiple USB interface extenders.
在另一些实施例中,电子设备可以通过一个USB接口扩展器连接多个采集器件,且这多个采集器件可以连接至不同的对象,以采集不同对象的电流电压数据。如此,电子设备可以通过一个USB接口扩展器实现对多个对象的功耗测量。In other embodiments, the electronic device can be connected to multiple acquisition devices through a USB interface extender, and the multiple acquisition devices can be connected to different objects to collect current and voltage data of different objects. In this way, the electronic device can implement power consumption measurement for multiple objects through a USB interface extender.
可选地,多个采集器件与电子设备连接后多个采集器件中每个采集器件的指定引脚均连接至同一节点。电子设备用于:在识别到有采集器件连接时,若确定当前已连接的采集器件的数量大于或等于2,则将第一个连接的采集器件确定为主设备,向第一个连接的采集器件发送指示消息。第一个连接的采集器件用于:接收到指示消息后,确定自身为主设备,将自身的指定引脚的电平拉高,以产生同步脉冲信号。其他采集器件用于:若检测到自身的指定引脚的电平被拉高,则确定自身为从设备,根据自身的指定引脚上产生的同步脉冲信号进行数据采集。Optionally, after the multiple collection devices are connected to the electronic device, the specified pins of each collection device in the multiple collection devices are connected to the same node. The electronic equipment is used to: when it is recognized that there is a collection device connected, if it is determined that the number of currently connected collection devices is greater than or equal to 2, then the first connected collection device is determined to be the master device, and the first connected collection device is determined to be the master device. The device sends an indication message. The first connected acquisition device is used to determine itself as the master device after receiving the indication message, and pull up the level of its designated pin to generate a synchronous pulse signal. Other acquisition devices are used to: if it detects that the level of its designated pin is pulled high, it determines itself as a slave device, and performs data acquisition according to the synchronization pulse signal generated on its designated pin.
在本申请中,设计了主从逻辑控制功能,电子设备会按照采集器件的识别顺序定义多个采集器件中的主从设备,主采集器件会产生同步脉冲信号,多个采集器件的全部检测通道都会在同步脉冲信号的控制下进行数据的采集和传输。In this application, the master-slave logic control function is designed. The electronic equipment will define the master-slave devices in multiple acquisition devices according to the identification order of the acquisition devices. The master acquisition device will generate synchronous pulse signals, and all detection channels of multiple acquisition devices Data collection and transmission will be carried out under the control of the synchronous pulse signal.
第四方面,提供了一种电子设备,所述电子设备的结构中包括处理器和存储器,所述存储器用于存储支持电子设备执行上述方面中由电子设备执行的操作的程序,以及存储用于实现上述方面中由电子设备执行的操作所涉及的数据。所述处理器被配置为用于执行所述存储器中存储的程序。所述电子设备还可以包括通信总线,所述通信总线用于在所述处理器与所述存储器之间建立连接。In a fourth aspect, an electronic device is provided, the structure of the electronic device includes a processor and a memory, and the memory is used to store a program that supports the electronic device to perform the operations performed by the electronic device in the above aspect, and stores a program for Data involved in implementing the operations performed by the electronic device in the above aspect. The processor is configured to execute programs stored in the memory. The electronic device may also include a communication bus for establishing a connection between the processor and the memory.
第五方面,提供了一种计算机可读存储介质,所述计算机可读存储介质中存储有指令,当其在计算机上运行时,使得计算机执行上述方面中由电子设备执行的操作。In a fifth aspect, a computer-readable storage medium is provided, where instructions are stored in the computer-readable storage medium, and when the computer-readable storage medium is run on a computer, it causes the computer to perform the operations performed by the electronic device in the above aspect.
第六方面,提供了一种包含指令的计算机程序产品,当其在计算机上运行时,使得计算机执行上述方面中由电子设备执行的操作。In a sixth aspect, there is provided a computer program product including instructions, which, when run on a computer, cause the computer to perform the operations performed by the electronic device in the above aspect.
附图说明Description of drawings
图1是本申请实施例提供的一种采集器件100的结构示意图;FIG. 1 is a schematic structural diagram of an
图2是本申请实施例提供的第一种采集器件100与目标对象200的连接示意图;FIG. 2 is a schematic diagram of the connection between the
图3是本申请实施例提供的第二种采集器件100与目标对象200的连接示意图;FIG. 3 is a schematic diagram of the connection between the
图4是本申请实施例提供的第一种采集器件100与电子设备300的通信示意图;FIG. 4 is a schematic diagram of communication between the
图5是本申请实施例提供的第二种采集器件100与电子设备300的通信示意图;FIG. 5 is a schematic diagram of communication between the
图6是本申请实施例提供的第一种校准器件400的结构示意图;FIG. 6 is a schematic structural diagram of a
图7是本申请实施例提供的第二种校准器件400的结构示意图;FIG. 7 is a schematic structural diagram of a
图8是本申请实施例提供的第三种校准器件400的结构示意图;FIG. 8 is a schematic structural diagram of a
图9是本申请实施例提供的第四种校准器件400的结构示意图;FIG. 9 is a schematic structural diagram of a
图10是本申请实施例提供的第五种校准器件400的结构示意图;FIG. 10 is a schematic structural diagram of a
图11是本申请实施例提供的第六种校准器件400的结构示意图;FIG. 11 is a schematic structural diagram of a
图12是本申请实施例提供的一种校准系统的示意图;Fig. 12 is a schematic diagram of a calibration system provided by an embodiment of the present application;
图13是本申请实施例提供的一种采集器件100的校准过程的示意图;FIG. 13 is a schematic diagram of a calibration process of an
图14是本申请实施例提供的一种缓存空间自适应方式的示意图;FIG. 14 is a schematic diagram of a cache space adaptive manner provided by an embodiment of the present application;
图15是本申请实施例提供的一种采集器件100的工作过程的示意图;FIG. 15 is a schematic diagram of the working process of an
图16是本申请实施例提供的一种采集系统的示意图;Fig. 16 is a schematic diagram of an acquisition system provided by an embodiment of the present application;
图17是本申请实施例提供的一种同步脉冲信号的示意图;Fig. 17 is a schematic diagram of a synchronous pulse signal provided by an embodiment of the present application;
图18是本申请实施例提供的一种主从逻辑控制功能的示意图;Fig. 18 is a schematic diagram of a master-slave logic control function provided by the embodiment of the present application;
图19是本申请实施例提供的一种电子设备300的结构示意图;FIG. 19 is a schematic structural diagram of an
图20是本申请实施例提供的一种电子设备300的软件系统的示意图。FIG. 20 is a schematic diagram of a software system of an
具体实施方式Detailed ways
为使本申请的目的、技术方案和优点更加清楚,下面将结合附图对本申请的实施方式作进一步地详细描述。In order to make the purpose, technical solution and advantages of the present application clearer, the implementation manner of the present application will be further described in detail below in conjunction with the accompanying drawings.
应当理解的是,本申请提及的“多个”是指两个或两个以上。在本申请的描述中,除非另有说明,“/”表示或的意思,比如,A/B可以表示A或B;本文中的“和/或”仅仅是一种描述关联对象的关联关系,表示可以存在三种关系,比如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B这三种情况。另外,为了便于清楚描述本申请的技术方案,采用了“第一”、“第二”等字样对功能和作用基本相同的相同项或相似项进行区分。本领域技术人员可以理解“第一”、“第二”等字样并不对数量和执行次序进行限定,并且“第一”、“第二”等字样也并不限定一定不同。It should be understood that the "plurality" mentioned in this application means two or more. In the description of this application, unless otherwise specified, "/" means or means, for example, A/B can mean A or B; "and/or" in this article is just a description of the relationship between associated objects, It means that there can be three kinds of relationships, for example, A and/or B, which can mean: A exists alone, A and B exist simultaneously, and B exists alone. In addition, in order to clearly describe the technical solution of the present application, words such as "first" and "second" are used to distinguish the same or similar items with basically the same function and effect. Those skilled in the art can understand that words such as "first" and "second" do not limit the quantity and execution order, and words such as "first" and "second" do not necessarily limit the difference.
在本申请中描述的“一个实施例”或“一些实施例”等语句意味着在本申请的一个或多个实施例中包括该实施例描述的特定特征、结构或特点。由此,在本申请中的不同之处出现的“在一个实施例中”、“在一些实施例中”、“在其他一些实施例中”、“在另外一些实施例中”等语句不是必然都参考相同的实施例,而是意味着“一个或多个但不是所有的实施例”,除非是以其他方式另外特别强调。此外,术语“包括”、“包含”、“具有”及它们的变形都意味着“包括但不限于”,除非是以其他方式另外特别强调。Phrases such as "one embodiment" or "some embodiments" described in this application mean that a particular feature, structure, or characteristic described by the embodiment is included in one or more embodiments of the present application. Thus, appearances of "in one embodiment," "in some embodiments," "in other embodiments," "in other embodiments," etc. in various places in this application are not necessarily All refer to the same embodiment, but mean "one or more but not all embodiments" unless specifically stated otherwise. In addition, the terms "including", "comprising", "having" and their variations all mean "including but not limited to", unless specifically stated otherwise.
下面对本申请实施例涉及的应用场景予以说明。The application scenarios involved in the embodiments of the present application are described below.
随着计算机技术的迅速发展,电子设备的功能越来越丰富,应用场景也越来越多。为提升电子设备的续航体验,对电子设备的功耗评测显得尤为重要。比如,在一些应用场景中,随着物联网的深入发展,越来越多的采用电池供电的终端开始出现,各种基于蓝牙(bluetooth,BT)、无线保真(wireless fidelity,Wi-Fi)、远距离(long range,LoRa)、窄带物联网(narrow band internet of things,NB-IoT)、第四代移动通信技术(the 4thgeneration mobile communication technology,4G)等通信技术的终端需要部署在无法供电的地点,这就导致电池供电成为了唯一的选择,这种情况下在研发阶段对这些终端的功耗的评测至关重要。在另一些应用场景中,可穿戴设备越来越多的深入到人们的日常生活中,蓝牙耳机、蓝牙手环、智能手表、体温检测仪、血压监测仪、血糖监测仪等可穿戴设备,无不对功耗有着严格的要求。With the rapid development of computer technology, electronic devices have more and more functions and more and more application scenarios. In order to improve the battery life experience of electronic devices, it is particularly important to evaluate the power consumption of electronic devices. For example, in some application scenarios, with the in-depth development of the Internet of Things, more and more battery-powered terminals have begun to appear. Various devices based on Bluetooth (BT), wireless fidelity (Wi-Fi), Terminals of communication technologies such as long range (LoRa), narrow band internet of things (NB-IoT), and the 4th generation mobile communication technology (4G) need to be deployed in places that cannot supply power. location, which leads to battery power supply as the only option. In this case, it is very important to evaluate the power consumption of these terminals during the research and development stage. In other application scenarios, more and more wearable devices have penetrated into people's daily life. Wearable devices such as Bluetooth headsets, Bluetooth bracelets, smart watches, temperature detectors, blood pressure monitors, and blood glucose monitors are all There are strict requirements on power consumption.
低功耗是手机、个人计算机(personal computer,PC)、平板电脑等设备的关键性能指标。低功耗测试的特点主要包括以下四点:1、电流微小:小容量的电池想要达到长续航需要对功耗锱铢必较,这就要求用于进行功耗测试的设备具备足够的小电流分辨能力,uA(微安)是基本要求。2、动态范围大:很多产品休眠的时候电流可以达到uA级别,但是一旦唤醒后电流会快速上升到数十mA(毫安)甚至A(安)的水平,这就需要用于进行功耗测试的设备能够适应电流从接近0到几A的瞬态变化,并且能够保持足够的精度。3、通道数量多:在对一个产品进行功耗检测时,不仅需要关注整机的功耗表现,更要关心各种负载的功耗表现,通过详细的功耗拆分能够掌握整机的功耗分布,继而寻找合适的优化策略,达到增加续航的目的。4、需要记录V-I-P(电压-电流-功率)特性曲线:工作电流和电压变化最好能按照实际需要记录下来,以方便硬件及软件排错(debug),或者分析研究。Low power consumption is a key performance indicator for devices such as mobile phones, personal computers (PCs), and tablets. The characteristics of the low power consumption test mainly include the following four points: 1. The current is small: the battery with a small capacity needs to compare the power consumption in order to achieve a long battery life, which requires that the equipment used for the power consumption test has enough small current Resolving power, uA (microampere) is the basic requirement. 2. Large dynamic range: when many products are in sleep, the current can reach the uA level, but once woken up, the current will quickly rise to tens of mA (milliampere) or even A (ampere) level, which needs to be used for power consumption testing The device can accommodate transient changes in current from close to 0 to several A, and can maintain sufficient accuracy. 3. Large number of channels: When testing the power consumption of a product, it is not only necessary to pay attention to the power consumption performance of the whole machine, but also to pay attention to the power consumption performance of various loads. Through detailed power consumption splitting, the power consumption of the whole machine can be grasped. consumption distribution, and then find a suitable optimization strategy to achieve the purpose of increasing battery life. 4. It is necessary to record the V-I-P (voltage-current-power) characteristic curve: it is best to record the operating current and voltage changes according to actual needs, so as to facilitate hardware and software debugging (debug), or analysis and research.
考虑上述四点需求,本申请实施例提供了一种支持多通道、高精度检测和数值记录的功耗检测方案。本申请实施例提供的功耗检测方案可以应用于在产品研发阶段对正在研发的产品进行功耗检测,也可以应用于对已发布的产品进行功耗检测,本申请实施例对此不作限定。Considering the above four requirements, the embodiment of the present application provides a power consumption detection solution that supports multi-channel, high-precision detection and value recording. The power consumption detection solution provided in the embodiment of the present application can be applied to detect the power consumption of the product under development in the product development stage, and can also be applied to the power consumption detection of the released product, which is not limited in the embodiment of the present application.
本申请实施例提供的功耗检测方案可以通过采集器件、校准器件和电子设备实现。The power consumption detection solution provided in the embodiment of the present application can be implemented by means of acquisition devices, calibration devices and electronic devices.
下面对本申请实施例提供的采集器件进行详细地解释说明。The acquisition device provided by the embodiment of the present application is explained in detail below.
图1是本申请实施例提供的一种采集器件100的结构示意图。参见图1,采集器件100包括第一处理单元102和n个检测通道101。n为大于或等于2的整数,比如,n可以为50。需说明的是,图1中仅是以采集器件100包括大于或等于4个检测通道101为例进行示例性示意,图1并不对采集器件100包括的检测通道101的数量构成限定,实际应用中,采集器件100可以包括两个或两个以上的检测通道101。FIG. 1 is a schematic structural diagram of an
n个检测通道101用于与目标对象200中的n个负载C一一连接,以检测n个负载C中每个负载C的电流值和电压值。第一处理单元102的n个采集端一一与n个检测通道101连接,以获取n个检测通道101中的每个检测通道101检测到的电流值和电压值。The
目标对象200是需要进行功耗检测的对象。目标对象200可以是各种设备,如可以是手机、平板电脑、可穿戴设备、增强现实(augmented reality,AR)设备、虚拟现实(virtual reality,VR)设备、笔记本电脑、超级移动个人计算机(ultra-mobile personalcomputer,UMPC)、上网本、个人数字助理(personal digital assistant,PDA)等,本申请实施例对此不作限定。The
该n个负载C可以包括各种类型的负载。比如,该n个负载C可以包括中央处理器(central processing unit,CPU)、图形处理器(graphics processing unit,GPU)、基带处理器、内部存储器、外部存储器、显示屏、摄像头、扬声器、通信模块、电压变换单元、传感器(sensor)等,本申请实施例对此不作限定。The n loads C may include various types of loads. For example, the n loads C may include a central processing unit (central processing unit, CPU), a graphics processing unit (graphics processing unit, GPU), a baseband processor, an internal memory, an external memory, a display screen, a camera, a speaker, and a communication module , a voltage conversion unit, a sensor (sensor), etc., which are not limited in this embodiment of the present application.
可选地,参见图2,目标对象200包括n个目标模块201,每个目标模块201包括电源V、第一电阻R1和负载C,第一电阻R1的第一端与电源V的正极连接,第一电阻R1的第二端与负载C的第一端连接,负载C的第二端与电源V的负极以及地线GND连接,由于第一电阻R1与负载C串联,所以第一电阻R1的电流即为负载C的电流。这种情况下,n个目标模块201与n个检测通道101一一对应,n个检测通道101中的每个检测通道101连接在对应的目标模块201中的第一电阻R1的两端。n个检测通道101中任意的一个检测通道101可以检测第一电阻R1的电流(即负载C的电流)以及检测负载C的电压。Optionally, referring to FIG. 2, the
示例地,检测通道101也可称为功率检测器。n个检测通道101中任意的一个检测通道101可以包括电流检测通道、电压检测通道和模拟数字转换器(analog-to-digitalconverter,ADC)采集模块。电流检测通道用于检测负载C的电流,且将检测到的模拟电流传输给ADC采集模块,ADC采集模块可以将该模拟电流转换为数字电流(即上述电流值),转换为的电流值存储在ADC采集模块中的寄存器中。电压检测通道用于检测负载C的电压,且将检测到的模拟电压传输给ADC采集模块,ADC采集模块可以将该模拟电压转换为数字电压(即上述电压值),转换为的电压值存储在ADC采集模块中的寄存器中。这种情况下,第一处理单元102可以从n个检测通道101中的每个检测通道101中的ADC采集模块中的寄存器中读取电压值和电流值。Exemplarily, the
需说明的是,本申请实施例中的ADC采集模块可以选用高比特的ADC采集模块,高比特的ADC采集模块可以保证对于快速信号的时间分辨率和精度,从而可以准确捕获微小信号,如此,可以保证对小电流的分辨能力。另外,本申请实施例中的ADC采集模块可以选用动态范围较大的ADC采集模块,如此可以适应电流较大的瞬态变化,继而保证足够的精度。示例地,本申请实施例中通过对ADC采集模块的选型,可以保证电流测量精度在0.5mA的1%(即5uA),保证电压测量精度在0.5V的1%(即5mV)。It should be noted that the ADC acquisition module in the embodiment of the present application can be a high-bit ADC acquisition module, and the high-bit ADC acquisition module can ensure the time resolution and accuracy of fast signals, thereby accurately capturing tiny signals. In this way, It can guarantee the ability to distinguish small currents. In addition, the ADC acquisition module in the embodiment of the present application may choose an ADC acquisition module with a larger dynamic range, so that it can adapt to a large transient change of current, and then ensure sufficient accuracy. For example, in the embodiment of the present application, through the selection of the ADC acquisition module, the current measurement accuracy can be guaranteed to be 1% of 0.5mA (ie 5uA), and the voltage measurement accuracy can be guaranteed to be 1% of 0.5V (ie 5mV).
第一处理单元102获取n个检测通道101中的每个检测通道101检测到的电流值和电压值,即是获取与n个检测通道101一一对应的n组电流电压数据,每组电流电压数据包括对应的一个检测通道101检测到的电流值和电压值,也即,每组电流电压数据包括对应的一个检测通道101所检测的负载C的电流值和电压值。第一处理单元102用于处理电流电压数据。比如,第一处理单元102可以是现场可编程门阵列(field-programmable gate array,FPGA)器件,当然,第一处理单元102也可以是其他能够实现电流电压数据处理的器件,本申请实施例对此不作限定。需说明的是,在第一处理单元102为FPGA的情况下,采集器件100采用的是FPGA的并行采集方案,因而可以保证采样率不随通道数量的增多而下降,示例地,通道采样率可以为7ksps(kilo samples per second,采样千次每秒)。The
示例地,第一处理单元102的n个采集端中任意的一个采集端可以是集成电路(inter-integrated circuit,I2C)接口。第一处理单元102可以通过I2C接口从检测通道101中读取电压值和电流值。当然,第一处理单元102的采集端也可以为其他接口,只要其能实现从检测通道101中读取电压值和电流值即可。For example, any one of the n collection terminals of the
在本申请实施例中,采集器件100可以采集目标对象200中的n个负载C中每个负载C的电流值和电压值,也即,采集器件100可以对目标对象200进行多通道的电流电压数据采集,后续据此可以实现对目标对象200的整体功耗和各个负载C功耗的确认,可以使得功耗检测更加准确灵活。如此,通过详细的功耗拆分可以使得技术人员能够掌握整机的功耗分布,从而可以寻找到合适的优化策略,达到增加续航的目的。In the embodiment of the present application, the
目标对象200的整体功耗为目标对象200中n个负载C的功耗之和。示例地,任意一个负载C的功耗可以为这个负载C的功率,也即,可以将这个负载C的电流值乘以电压值,得到这个负载C的功耗。或者,任意一个负载C的功耗可以为这个负载C在预设时长(如10秒、30秒或60秒)内所用电能,也即,可以将这个负载C的电流值乘以电压值后再乘以预设时长,得到这个负载C的功耗。The overall power consumption of the
需说明的是,在需要使用采集器件100进行功耗检测时,可以将采集器件100与目标对象200进行连接。采集器件100与目标对象200连接后,采集器件100中的n个检测通道101即与目标对象200中的n个负载C一一连接,如此,采集器件100可以检测到目标对象200中的n个负载C中每个负载C的电流值和电压值。示例地,如图3所示,采集器件100与目标对象200可以通过BTB连接器(也可称为板对板连接器)进行连接,当然,采集器件100与目标对象200也可以通过其他连接器进行连接,本申请实施例对此不作限定。It should be noted that, when the
可选地,第一处理单元102可以实现对n个检测通道101中每个检测通道101的配置,如可实现各个检测通道101的采样率配置、采样电阻参数配置等功能。示例地,第一处理单元102可以获取通道配置参数,然后根据该通道配置参数对各个检测通道101进行配置,具体可以将该通道配置参数发送给各个检测通道101,以便各个检测通道101据此进行配置,如配置采样率、采样电阻参数等。可选地,该通道配置参数可以是由其他设备发送给第一处理单元102的,可选地,该通道配置参数可以由技术人员预先设置。Optionally, the
在一些实施例中,参见图4,第一处理单元102获取到n组电流电压数据后,可以将该n组电流电压数据发送给电子设备300。可选地,参见图4,采集器件100中包括接口芯片103,第一处理单元102可以将该n组电流电压数据通过接口芯片103发送给电子设备300,示例地,接口芯片103可以为通用串行总线(universal serial bus,USB)接口芯片(integrated circuit,IC),如可以为USB2.0接口芯片。进一步地,参见图4,采集器件100还可以包括传输接口104(包括但不限于Type-c接口),第一处理单元102可以将该n组电流电压数据通过接口芯片103和传输接口104发送给电子设备300。In some embodiments, referring to FIG. 4 , after acquiring n sets of current and voltage data, the
电子设备300为上位机,可以根据电流电压数据确定相应的功耗。比如,电子设备300接收到采集器件100发送的n组电流电压数据后,可以根据该n组电流电压数据实现对目标对象200的整体功耗和目标对象200中各个负载C的功耗的确认。The
可选地,参见图5,电子设备300中可以安装有驱动软件和界面软件。其中,驱动软件在获得采集器件100发送的n组电流电压数据后,可以对该n组电流电压数据进行数据处理,如可以对该n组电流电压数据进行滤波处理、校准处理、功耗确认、或其他扩展处理等,本申请实施例对此不作限定。驱动软件在对该n组电流电压数据进行数据处理后,可以将数据处理结果上报给界面软件。界面软件可以根据该数据处理结果进行数据显示,比如,界面软件可以显示V-I-P特性曲线,以便技术人员可以及时获知电压、电流及功率的变化。在一些实施例中,界面软件还可以对该数据处理结果进行相关的数学计算,比如,可以对V-I-P特性曲线求均值等。可选地,界面软件还可以具有功能按钮,该功能按钮可以用于实现缩放等操作,比如,可以对显示的V-I-P特性曲线进行放大或缩小。如此,可以便于技术人员根据驱动软件的数据处理结果和界面软件的数据显示情况进行硬件及软件排错、分析研究等。Optionally, referring to FIG. 5 , driver software and interface software may be installed in the
可选地,驱动软件还可以设置采集器件100中各个检测通道101的通道配置参数,并将该通道配置参数发送给采集器件100中的第一处理单元102,由第一处理单元102根据该通道配置参数对各个检测通道101进行配置。Optionally, the driver software can also set the channel configuration parameters of each
需说明的是,因制造原因,大部分元器件生产出来都有误差,比如,检测通道101的理论值和检测值之间会存在偏差。这种情况下,为了提高采集器件100的检测精度,可以对检测通道101检测到的电流值和电压值进行校准。具体地,参见图1至图5,采集器件100还可以包括存储器105,存储器105中存储有与n个检测通道101一一对应的n组校准参数,n组校准参数中的每组校准参数包括电流校准参数和电压校准参数。对于n个检测通道101中任意的一个检测通道101,第一处理单元102在获取到这个检测通道101检测到的电流值和电压值后,可以从存储器105中获取这个检测通道101对应的一组校准参数,然后使用这组校准参数中的电流校准参数对这个检测通道101检测到的电流值进行校准,以及使用这组校准参数中的电压校准参数对这个检测通道101检测到的电压值进行校准,将校准后的电流值和电压值作为一组电流电压数据发送给电子设备300。如此,可以保证高精度检测。It should be noted that due to manufacturing reasons, most components are produced with errors, for example, there may be deviations between the theoretical value and the detected value of the
示例地,存储器105可以为flash存储器(也可称为闪存),当然,存储器105也可以为其他类型的存储器,本申请实施例对此不作限定。可选地,存储器105与第一处理单元102之间可以通过串行外设接口(serial peripheral interface,SPI)进行数据传输,当然,存储器105与第一处理单元102之间也可以通过其他接口进行数据传输,本申请实施例对此不作限定。For example, the
需说明的是,在使用采集器件100对目标对象200进行功耗检测之前,还可以先使用校准器件对采集器件100进行校准,以得到上述n组校准参数。It should be noted that before using the
下面对校准器件进行详细地解释说明。The calibration device is explained in detail below.
图6是本申请实施例提供的一种校准器件400的结构示意图。参见图6,校准器件400可以包括电压输出模块401和至少一个校准模块402。需说明的是,图6中仅是以校准器件400包括4个校准模块402为例进行示例性示意,图6并不对校准器件400包括的校准模块402的数量构成限定,实际应用中,校准器件400可以包括一个或多个校准模块402。FIG. 6 is a schematic structural diagram of a
电压输出模块401的输出端与至少一个校准模块402中每个校准模块402的输入端连接,至少一个校准模块402中每个校准模块402的输出端用于与采集器件100连接。具体地,至少一个校准模块402中任意的一个校准模块402与采集器件100中n个检测通道101中的至少一个检测通道101连接,这种情况下,该至少一个检测通道101中的每个检测通道101用于检测这个校准模块402,得到目标电流值和目标电压值。The output terminal of the
电压输出模块401用于向至少一个校准模块402中的每个校准模块402输出第一电压。至少一个校准模块402中的每个校准模块402用于模拟目标对象200中的目标模块201,至少一个校准模块402中的每个校准模块402在输入第一电压的情况下向所连接的检测通道101输出第二电压和第三电压。n个检测通道101中的每个检测通道101用于根据所连接的校准模块402输入的第二电压检测目标电流值以及根据所连接的校准模块402输入的第三电压检测目标电压值。可选地,第二电压为双极性差分电压,第三电压为共模电压。The
由于至少一个校准模块402中每个校准模块402的电路结构是预知的,所以在电压输出模块401向至少一个校准模块402中的每个校准模块402输出第一电压的情况下,可事先获知至少一个校准模块402中的每个校准模块402预期被所连接的检测通道101检测到的理论电流值和理论电压值。对于n个检测通道101中任意的一个检测通道101,这个检测通道101在检测所连接的校准模块402后实际得到的是目标电流值和目标电压值。这种情况下,根据这个检测通道101所连接的校准模块402对应的理论电流值和这个检测通道101实际检测到的目标电流值,可以确定出这个检测通道101对应的电流校准参数,并且,根据这个检测通道101所连接的校准模块402对应的理论电压值和这个检测通道101实际检测到的目标电压值,可以确定出这个检测通道101对应的电压校准参数,如此,就得到了这个检测通道101对应的一组校准参数。这个检测通道101对应的一组校准参数用于将这个检测通道101实际的检测值校准为理论值,也即,这个检测通道101对应的电流校准参数用于将这个检测通道101实际检测到的电流值校准至接近或等于理论电流值,将这个检测通道101实际检测到的电压值校准至接近或等于理论电压值。由于校准后的检测值接近或等于理论值,所以可以有效提高采集器件100的检测精度。Since the circuit structure of each
可选地,参见图7,电压输出模块401可以包括基准电压源4011、第二处理单元4012和数字模拟转换器(Digital to analog converter,DAC)4013,基准电压源4011的两个输出端一一与DAC 4013的两个基准电压端连接,第二处理单元4012的输出端与DAC 4013的输入端连接,DAC 4013的输出端与至少一个校准模块402中每个校准模块402的输入端连接。Optionally, referring to FIG. 7, the
基准电压源4011是用于输出两个基准电压的电源。这两个基准电压中的一个基准电压为预设电压范围的最大值,另一个基准电压为预设电压范围的最小值。比如,预设电压范围为-5伏至5伏,则这两个基准电压中的一个基准电压为-5伏,另一个基准电压为5伏。The
第二处理单元4012是用于输出数字电压的器件。比如,第二处理单元4012可以为微控制单元(micro controller unit,MCU),当然,第二处理单元4012也可以为其他能够输出数字电压的器件,本申请实施例对此不作限定。可选地,第二处理单元4012可以接收电子设备300发送的校准指令,然后根据该校准指令向DAC 4013输出数字电压。其中,该校准指令用于指示第二处理单元4012对采集器件100进行校准。该校准指令可以由电子设备300自动触发,也可以由技术人员在电子设备300中手动触发,本申请实施例对此不作限定。The
在需要对采集器件100进行校准时,第二处理单元4012可以向DAC 4013输出第一电压的数字量(即数字电压)。DAC 4013可以根据基准电压源4011输入的两个基准电压将该数字电压转换为模拟电压(即第一电压的模拟量),该模拟电压处于预设电压范围内。之后,DAC 4013可以将该模拟电压输出给至少一个校准模块402中的每个校准模块402。When the
示例地,本申请实施例中的DAC 4013可以为高精度DAC,如此,在基准电压源4011输出的两个基准电压的作用下,DAC 4013可以稳定且精确的输出所需的电压。For example, the
进一步地,参见图8,电压输出模块401还可以包括两个第一电压跟随器A1,其中一个第一电压跟随器A1连接在基准电压源4011的一个输出端与DAC 4013的一个基准电压端之间,另一个第一电压跟随器A1连接在基准电压源4011的另一个输出端与DAC 4013的另一个基准电压端之间。由于电压跟随器输入阻抗近似无穷大、输出阻抗极小,所以可以起到隔离缓冲的作用,因而这两个第一电压跟随器A1可以使得基准电压源4011输出至DAC 4013的两个基准电压更为稳定。Further, referring to FIG. 8 , the
示例地,第二处理单元4012与DAC 4013之间可以通过SPI进行数据传输,当然,第二处理单元4012与DAC 4013之间也可以通过其他接口进行数据传输,本申请实施例对此不作限定。For example, data transmission between the
可选地,参见图9,至少一个校准模块402中任意的一个校准模块402可以包括第二电阻R2和第三电阻R3,第二电阻R2的第一端与电压输出模块401的输出端连接,第二电阻R2的第二端与第三电阻R3的第一端连接,第三电阻R3的第二端与地线GND连接。第二电阻R2用于模拟目标对象200中的目标模块201中的第一电阻R1,第三电阻R3用于模拟目标对象200中的目标模块201中的负载C。第二电阻R2的两端用于与采集器件100中n个检测通道101中的至少一个检测通道101中的每个检测通道101连接。这种情况下,第二电阻R2的电压为上述的第二电压,第二电阻R2的电压为双极性差分电压,第三电阻R3的电压为上述的第三电压,第三电阻R3的电压为共模电压,第二电阻R2的阻值和第三电阻R3的阻值是已知的。由于第二电阻R2的阻值和第三电阻R3的阻值是已知的,所以在预知电压输出模块401向第二电阻R2输出的第一电压的情况下,可预知第二电阻R2的真实电流值(即理论电流值)和第三电阻R3的真实电压值(即理论电压值),也就预知了n个检测通道101中每个检测通道101对应的理论电流值和理论电压值。Optionally, referring to FIG. 9, any
连接在第二电阻R2的两端的检测通道101可以检测第二电阻R2的电流值(即第三电阻R3的电流值)和第三电阻R3的电压值。示例地,n个检测通道101中任意的一个检测通道101包括电流检测通道、电压检测通道和ADC采集模块。电流检测通道用于检测第三电阻R3的电流,将检测到的模拟电流传输给ADC采集模块,ADC采集模块可以将该模拟电流转换为数字电流(即上述目标电流值),转换为的目标电流值存储在ADC采集模块中的寄存器中。电压检测通道用于检测第三电阻R3的电压,将检测到的模拟电压传输给ADC采集模块,ADC采集模块可以将该模拟电压转换为数字电压(即上述目标电压值),转换为的目标电压值存储在ADC采集模块中的寄存器中。这种情况下,第一处理单元102可以从这个检测通道101中的ADC采集模块中的寄存器中读取目标电压值和目标电流值。The
进一步地,参见图10,至少一个校准模块402中任意的一个校准模块402还可以包括第二电压跟随器A2。第二电压跟随器A2连接在电压输出模块401的输出端与第二电阻R2的第一端之间,以保证电压输出模块401输出的第一电压的稳定性。Further, referring to FIG. 10 , any
可选地,参见图11,校准器件400还可以包括第三电压跟随器A3,第三电压跟随器A3连接在电压输出模块401的输出端与至少一个校准模块402中的每个校准模块402的输入端之间,以提高电压输出模块401的带载能力。Optionally, referring to FIG. 11 , the
示例地,校准器件400与采集器件100可以通过BTB连接器进行连接,当然,校准器件400与采集器件100也可以通过其他连接器进行连接,本申请实施例对此不作限定。For example, the
校准器件400与采集器件100连接后,校准器件400中的至少一个校准模块402中的每个校准模块402与采集器件100中的n个检测通道101中的至少一个检测通道101连接。在一些实施例中,将采集器件100中的n个检测通道101分为至少一组,至少一组检测通道101的组数与至少一个校准模块402的个数相同,至少一组检测通道101与至少一个校准模块402一一对应,校准器件400与采集器件100连接后,至少一个校准模块402中的每个校准模块402的输出端与对应的一组检测通道101中的每个检测通道101连接,至少一组检测通道101中的每组检测通道101中的每个检测通道101可以检测对应的一个校准模块402,得到目标电流值和目标电压值。After the
需说明的是,校准器件400中的一个校准模块402具体能够与几个检测通道101连接,可以是技术人员事先试验得到的。比如,技术人员可以将校准器件400中的一个校准模块402与一些个数的检测通道101连接,在电压输出模块401向这个校准模块402输出第一电压的情况下,使用电压检测器件检测这个校准模块402输出的第二电压和第三电压;若第二电压与第三电压之和与第一电压之间的电压差小于或等于预设电压差,则确定这个校准模块402至少能够与这些个数的检测通道101连接,即这个校准模块402能够支持当前所连接的检测通道101的个数;若第二电压与第三电压之和与第一电压之间的电压差大于预设电压差,则确定这个校准模块402不能支持当前所连接的检测通道101的个数。其中,预设电压差可以是预先进行设置的,比如,预设电压差可以是根据第一电压设置的,如预设电压差可以为第一电压的千分之一。之后,技术人员可以根据这个校准模块402是否支持当前所连接的检测通道101的个数,来相应的增加或减少这个校准模块402所连接的检测通道101的个数,之后,继续控制电压输出模块401向这个校准模块402输出第一电压,在此情况下,再使用电压检测器件检测这个校准模块402输出的第二电压和第三电压,然后据此确定这个校准模块402是否能支持当前所连接的检测通道101的个数。如此,通过多次试验,可以得到这个校准模块402最多能够连接的检测通道101的个数。根据一个校准模块402最多能够连接的检测通道101的个数,可以将采集器件100中的n个检测通道101分为至少一组,每组检测通道101中检测通道101的个数小于或等于一个校准模块402最多能够连接的检测通道101的个数。It should be noted that one
需说明的是,采集器件100的校准过程可以通过校准系统来完成。图12是本申请实施例提供的一种校准系统的示意图。参见图12,该校准系统可以包括校准器件400、采集器件100和电子设备300。在需要对采集器件100进行校准时,将校准器件400与采集器件100连接,采集器件100可与电子设备300进行通信。可选地,校准器件400也可与电子设备300进行通信。另外,由于校准器件400与采集器件100连接,所以校准器件400中的第二处理单元4012与采集器件100中的第一处理单元102也可进行通信。It should be noted that, the calibration process of the
接下来结合图12所示的校准系统对采集器件100的校准过程进行说明:Next, the calibration process of the
图13是本申请实施例提供的一种采集器件100的校准过程的示意图。参见图13,该校准过程可以包括如下步骤1301至步骤1310。FIG. 13 is a schematic diagram of a calibration process of an
步骤1301:配置采集器件100中的n个检测通道。Step 1301 : configure n detection channels in the
可选地,电子设备300向采集器件100中的第一处理单元102发送通道配置参数。第一处理单元102接收到该通道配置参数后,根据该通道配置参数对n个检测通道101中的每个检测通道101进行配置。在完成对n个检测通道101中的每个检测通道101的配置后,采集器件100即可进行正常工作。Optionally, the
步骤1302:将校准器件400与采集器件100进行连接,以开始执行校准。Step 1302: Connect the
步骤1303:电子设备300向校准器件400中的电压输出模块401发送校准指令。Step 1303 : the
可选地,电子设备300可与校准器件400直接通信。这种情况下,电子设备300可以直接向电压输出模块401发送校准指令。Optionally, the
或者,电子设备300可以通过采集器件100中的第一处理单元102向电压输出模块401发送校准指令。示例地,电子设备300可以将校准指令发送给第一处理单元102,由第一处理单元102将校准指令发送给电压输出模块401中的第二处理单元4012。Alternatively, the
步骤1304:电压输出模块401接收到校准指令后,若确定当前接收到的校准指令为本次校准过程中的第一个校准指令,则将第一电压设置为预设电压范围的最小值,向至少一个校准模块402中的每个校准模块402输出第一电压。Step 1304: After the
校准器件400在与采集器件100连接后电压输出模块401即确定开始本次校准过程。本次校准过程中的第一个校准指令即是校准器件400在与采集器件100连接后电压输出模块401接收到的第一个校准指令。After the
可选地,第二处理单元4012接收到校准指令后,若确定当前接收到的校准指令为本次校准过程中的第一个校准指令,则将第一电压设置为预设电压范围的最小值,向DAC4013输出第一电压的数字量,由DAC 4013将第一电压的数字量转换为模拟量后输出给至少一个校准模块402中的每个校准模块402。Optionally, after the
这种情况下,至少一个校准模块402中的每个校准模块402会向所连接的检测通道101输出第二电压和第三电压。采集器件100中的n个检测通道101中的每个检测通道101即可检测所连接的检测通道101。In this case, each
步骤1305:采集器件100中的n个检测通道101中的每个检测通道101检测目标电流值和目标电压值,第一处理单元102获取n个检测通道101中每个检测通道101检测到的目标电流值和目标电压值并发送给电子设备300。Step 1305: collect the target current value and target voltage value detected by each
需说明的是,电子设备300在本次校准过程中每向电压输出模块401发送一个校准指令后,可预知电压输出模块401输出的第一电压的大小,由于校准模块402的电路结构是预知的,所以在预知电压输出模块401向校准模块402输出的第一电压的大小的情况下,可预知校准模块402预期被检测到的理论电流值和理论电压值,也即,可预知n个检测通道101中每个检测通道101对应的理论电流值和理论电压值,理论电流值是期望检测通道101检测到的电流值,理论电压值是期望检测通道101检测到的电压值。It should be noted that, after the
而当电子设备300接收到第一处理单元102发送的n个检测通道101中每个检测通道101检测到的目标电流值和目标电压值,电子设备300就得到了n个检测通道101中每个检测通道101对应的目标电流值和目标电压值,目标电流值是检测通道101实际检测到的电流值,目标电压值是检测通道101实际检测到的电压值。When the
这种情况下,电子设备300每向电压输出模块401发送一个校准指令,在接收到第一处理单元102发送的目标电流值和目标电压值后,对于n个检测通道101中任意的一个检测通道101,电子设备300会获得这个检测通道101对应的一组校准电流值,这组校准电流值包括理论电流值和目标电流值,且电子设备300会获得这个检测通道101对应的一组校准电压值,这组校准电压值包括理论电压值和目标电压值。In this case, each time the
步骤1306:电子设备300继续向电压输出模块401发送下一个校准指令。Step 1306: the
步骤1307:电压输出模块401接收到校准指令后,若确定当前接收到的校准指令不为本次校准过程中的第一个校准指令,则判断第一电压是否小于预设电压范围的最大值。Step 1307: After the
步骤1308:电压输出模块401在第一电压小于预设电压范围的最大值的情况下,将第一电压增大预设电压,向至少一个校准模块402中的每个校准模块402输出第一电压。Step 1308: When the first voltage is less than the maximum value of the preset voltage range, the
预设电压可以预先进行设置。可选地,预设电压可以根据预设电压范围的最小值与最大值之间的差值来设置,比如,预设电压可以为预设电压范围的最小值与最大值之间的差值的十分之一。The preset voltage can be set in advance. Optionally, the preset voltage can be set according to the difference between the minimum value and the maximum value of the preset voltage range, for example, the preset voltage can be set as the difference between the minimum value and the maximum value of the preset voltage range one tenth.
这种情况下,至少一个校准模块402中的每个校准模块402会向所连接的检测通道101输出第二电压和第三电压。采集器件100中的n个检测通道101中的每个检测通道101即可检测所连接的检测通道101。In this case, each
步骤1309:采集器件100中的n个检测通道101中的每个检测通道101检测目标电流值和目标电压值,第一处理单元102获取n个检测通道101中每个检测通道101检测到的目标电流值和目标电压值并发送给电子设备300。Step 1309: collect the target current value and target voltage value detected by each
这种情况下,电子设备300在向电压输出模块401发送多个校准指令后,对于n个检测通道101中任意的一个检测通道101,电子设备300会获得这个检测通道101对应的多组校准电流值,每组校准电流值包括理论电流值和目标电流值,且电子设备300会获得这个检测通道101对应的多组校准电压值,每组校准电压值包括理论电压值和目标电压值。In this case, after the
之后,电子设备300可以继续向电压输出模块401发送下一个校准指令。电压输出模块401接收到校准指令后,若确定当前接收到的校准指令不为本次校准过程中的第一个校准指令,且确定第一电压小于预设电压范围的最大值,则将第一电压增大预设电压,向至少一个校准模块402中的每个校准模块402输出第一电压,以继续校准过程。而若电压输出模块401接收到校准指令后,确定当前接收到的校准指令不为本次校准过程中的第一个校准指令,且确定第一电压等于预设电压范围的最大值,则不向校准模块402输出电压,以结束本次校准过程。After that, the
可选地,电压输出模块401在确定结束本次校准过程后还可以向电子设备300发送结束消息,以指示电子设备300本次校准过程已结束。示例地,电压输出模块401可以通过第一处理单元102向电子设备300发送结束消息。Optionally, after the
在本次校准过程结束后,电子设备300可以确定n个检测通道101中每个检测通道101对应的一组校准参数,每组校准参数包括电流校准参数和电压校准参数。After this calibration process ends, the
步骤1310:电子设备300确定n个检测通道101中每个检测通道101对应的一组校准参数,以得到n组校准参数。Step 1310: The
在本次校准过程结束后,对于n个检测通道101中任意的一个检测通道101,电子设备300中存在在本次校准过程中获取到的这个检测通道101对应的多组校准电流值和多组校准电压值。电子设备300可根据这个检测通道101对应的多组校准电流值确定这个检测通道101对应的电流校准参数,以及根据这个检测通道101对应的多组校准电压值确定这个检测通道101对应的电压校准参数。如此,可以获得n个检测通道101中每个检测通道101对应的一组校准参数,可以满足多通道校准需求。After this calibration process is over, for any one of the
可选地,电子设备300可以利用最小二乘法拟合直线的方式来得到电流校准参数和电压校准参数。最小二乘法拟合直线是利用给定的多个样本数据来拟合一条最佳的拟合直线,最小二乘法拟合直线的公式为y=ax+b,其中,a、b为拟合直线的参数,a为斜率,b为截距,x为横坐标,y为纵坐标。Optionally, the
这种情况下,电子设备300根据这个检测通道101对应的多组校准电流值确定这个检测通道101对应的电流校准参数时,可以将这个检测通道101对应的多组校准电流值中的每组校准电流值作为一个样本数据,以得到多个样本数据,每个样本数据的横坐标为目标电流值、纵坐标为理论电流值;根据该多个样本数据进行直线拟合,得到拟合直线的斜率a和截距b,即确定函数y=ax+b;将拟合直线的斜率a和截距b确定为这个检测通道101对应的电流校准参数。In this case, when the
电子设备300根据这个检测通道101对应的多组校准电压值确定这个检测通道101对应的电压校准参数时,可以将这个检测通道101对应的多组校准电压值中的每组校准电压值作为一个样本数据,以得到多个样本数据,每个样本数据的横坐标为目标电压值、纵坐标为理论电压值;根据该多个样本数据进行直线拟合,得到拟合直线的斜率a和截距b,即确定函数y=ax+b;将拟合直线的斜率a和截距b确定为这个检测通道101对应的电压校准参数。When the
电子设备300在获得n组校准参数后,即完成了对采集器件100的校准过程,此时可以将校准器件400与采集器件100之间的连接断开。After the
进一步地,电子设备300在获得n组校准参数后,还可以将n组校准参数发送给采集器件100中的第一处理单元102进行存储。可选地,第一处理单元102可以将n组校准参数存储至采集器件100中的存储器105中。Further, after obtaining the n sets of calibration parameters, the
在一些实施例中,第一处理单元102接收到电子设备300发送的校准参数后,是先将校准参数存储至第一处理单元102的缓存空间中,再将缓存空间中的校准参数写入存储器105中。然而,由于采集器件100的尺寸限制,第一处理单元102的功耗和逻辑资源都十分受限,所以本申请实施例在电子设备300将校准参数发送至第一处理单元102时,提供了一种缓存空间自适应方式,通过实时监控第一处理单元102的缓存空间剩余大小来调整所要下发的携带有校准参数的数据包的大小,从而可以保证第一处理单元102的正常运行,也可以降低采集器件100的资源消耗。In some embodiments, after receiving the calibration parameters sent by the
图14是本申请实施例提供的一种缓存空间自适应方式的示意图。参见图14,该缓存空间自适应方式可以包括如下步骤1401至步骤1405。FIG. 14 is a schematic diagram of a cache space adaptive manner provided by an embodiment of the present application. Referring to FIG. 14 , the caching space adaptive manner may include steps 1401 to 1405 as follows.
步骤1401:电子设备300获取到n组校准参数后,生成携带有n组校准参数的数据包。Step 1401: After obtaining n sets of calibration parameters, the
步骤1402:电子设备300获取第一处理单元102的缓存空间剩余大小。Step 1402: The
该缓存空间剩余大小为第一处理单元102的缓存空间中尚未被占用的空间大小。The remaining size of the cache space is an unoccupied space in the cache space of the
可选地,电子设备300可以向第一处理单元102发送缓存获取请求。第一处理单元102接收到电子设备300发送的缓存获取请求后,可以确定自身当前的缓存空间剩余大小,并将该缓存空间剩余大小发送给电子设备300。Optionally, the
若电子设备300在步骤1401中生成的该数据包的大小小于或等于该缓存空间剩余大小,则电子设备300执行如下步骤1403。若该数据包的大小大于该缓存空间剩余大小,则电子设备300执行如下步骤1404。If the size of the data packet generated by the
步骤1403:若该数据包的大小小于或等于该缓存空间剩余大小,则电子设备300将该数据包发送给第一处理单元102,然后执行步骤1405。Step 1403: If the size of the data packet is less than or equal to the remaining size of the cache space, the
步骤1404:若该数据包的大小大于该缓存空间剩余大小,则电子设备300根据该数据包中的至少一组校准参数生成新的数据包,新生成的数据包的大小小于或等于该缓存空间剩余大小,将新生成的数据包发送给第一处理单元102,然后执行步骤1405。Step 1404: If the size of the data packet is greater than the remaining size of the cache space, the
步骤1405:第一处理单元102接收到该数据包后,将该数据包中的校准参数存储至第一处理单元102的缓存空间中,之后,将该缓存空间中的校准参数存储至存储器105中。Step 1405: After receiving the data packet, the
电子设备300在执行完上述步骤1403或步骤1404之后,若n组校准参数中还存在未被发送给第一处理单元102的一组或多组校准参数,则电子设备300生成携带有该一组或多组校准参数的数据包,然后重新执行上述步骤1402至步骤1405,直至将n组校准参数均发送给第一处理单元102为止。After the
由于第一处理单元102是在工作过程中不断向自身的缓存空间存入一些数据,同时也会不断将自身的缓存空间中的数据写入存储器105中,所以第一处理单元102的缓存空间剩余大小是在不断变化的。因而电子设备300在每次需要向第一处理单元102发送携带有校准参数的数据包之前,都可以先获取第一处理单元102当前的缓存空间剩余大小,再据此调整所要发送的数据包的大小,以使得最终发送给第一处理单元102的携带有校准参数的数据包的大小小于或等于第一处理单元102当前的缓存空间剩余大小,如此,可以保证第一处理单元102的正常运行。Since the
需说明的是,上述n组校准参数可以每隔一段时间进行更新。比如,每隔半年,可以使用校准器件400对采集器件100进行一次校准,以得到新的n组校准参数,新的n组校准参数可以更新至电子设备300和采集器件100中进行存储。如此,在采集器件100中的检测通道101的元器件随着时间的推移而发生性能变化的情况下,通过更新后的n组校准参数可以继续保持采集器件100的高精度检测。It should be noted that the above n groups of calibration parameters may be updated at intervals. For example, every six months, the
接下来对采集器件100的工作过程进行说明。Next, the working process of the
在需要确定目标对象200的功耗时,技术人员将采集器件100与目标对象200进行连接。采集器件100与目标对象200连接后,采集器件100中的n个检测通道101与目标对象200中的n个负载C一一连接,n个检测通道101中的每个检测通道101可以检测所连接的负载C的电流值和电压值。另外,采集器件100中的第一处理单元102可以与电子设备300进行通信。When it is necessary to determine the power consumption of the
图15是本申请实施例提供的一种采集器件100的工作过程的示意图。参见图15,该工作过程可以包括如下步骤1501至步骤1504。FIG. 15 is a schematic diagram of a working process of an
步骤1501:电子设备300向第一处理单元102发送采集指令。Step 1501: the
电子设备300可以在需要确定目标对象200的功耗的时候向第一处理单元102发送采集指令。该采集指令用于指示开始采集电流电压数据。该采集指令可以是由电子设备300自动触发的,也可以是由技术人员在电子设备300上手动触发的,本申请实施例对此不作限定。The
步骤1502:第一处理单元102接收到电子设备300发送的采集指令后,获取n个检测通道101中每个检测通道101检测到的电流值和电压值,以得到n组电流电压数据。Step 1502: After receiving the acquisition instruction sent by the
步骤1503:第一处理单元102从存储器105中获取n组校准参数,使用该n组校准参数对该n组电流电压数据进行校准。Step 1503: the
对于n个检测通道101中任意的一个检测通道101检测到的一组电流电压数据,第一处理单元102可以使用这个检测通道101对应的一组校准参数来对这组电流电压数据进行校准,得到校准后的电流电压数据。示例地,这个检测通道101对应的电流校准参数包括斜率a1和截距b1,则第一处理单元102可以将这个检测通道101检测到的电流值与a1相乘后再与b1相加,得到校准后的电流值。这个检测通道101对应的电压校准参数包括斜率a2和截距b2,则第一处理单元102可以将这个检测通道101检测到的电压值与a2相乘后再与b2相加,得到校准后的电压值。For a set of current and voltage data detected by any one of the
步骤1504:第一处理单元102将校准后的n组电流电压数据发送给电子设备300。Step 1504: the
电子设备300接收到第一处理单元102发送的校准后的n组电流电压数据后,可以根据该n组电流电压数据实现对目标对象200的整体功耗和目标对象200中各个负载C的功耗的确认。After receiving the calibrated n sets of current and voltage data sent by the
可选地,电子设备300中可以安装有驱动软件和界面软件。其中,驱动软件可以对该n组电流电压数据进行数据处理,如可以对该n组电流电压数据进行滤波处理、校准处理、功耗确认、或其他扩展处理等,本申请实施例对此不作限定。驱动软件在对该n组电流电压数据进行数据处理后,可以将数据处理结果上报给界面软件。界面软件可以根据该数据处理结果进行数据显示,比如,界面软件可以显示V-I-P特性曲线,以便技术人员可以及时获知电压、电流及功率的变化。在一些实施例中,界面软件还可以对该数据处理结果进行相关的数学计算,比如,可以对V-I-P特性曲线求均值等。可选地,界面软件还可以具有功能按钮,该功能按钮可以用于实现缩放等操作,比如,可以对显示的V-I-P特性曲线进行放大或缩小。如此,可以便于技术人员根据驱动软件的数据处理结果和界面软件的数据显示情况进行硬件及软件排错、分析研究等。Optionally, driver software and interface software may be installed in the
需说明的是,电子设备300在向第一处理单元102发送采集指令后,第一处理单元102可以不断获取n个检测通道101中每个检测通道101检测到的电流值和电压值并在使用校准参数将其校准后发送给电子设备300。比如,第一处理单元102可以周期性(如每隔1秒)获取n个检测通道101中每个检测通道101检测到的电流值和电压值并在使用校准参数将其校准后发送给电子设备300。直至电子设备300向第一处理单元102发送采集结束指令后,第一处理单元102结束采集,不再获取n个检测通道101中每个检测通道101检测到的电流值和电压值。之后,技术人员可以将采集器件100与目标对象200之间的连接断开。It should be noted that after the
电子设备300可以在无需继续确定目标对象200的功耗的时候向第一处理单元102发送采集结束指令。该采集结束指令用于指示停止采集电流电压数据。该采集结束指令可以是由电子设备300自动触发的,也可以是由技术人员在电子设备300上手动触发的,本申请实施例对此不作限定。The
在一些实施例中,为了最大程度满足多通道的测试需求,还可以对多个采集器件100进行扩展使用。这种情况下,可以将多个采集器件100均与同一对象连接,也可以将多个采集器件100与不同的对象连接,并且,将多个采集器件100均与电子设备300连接,以实现较多数量通道的同时采集,下面对此进行说明。In some embodiments,
图16是本申请实施例提供的一种采集系统的示意图。参见图16,该采集系统可以包括电子设备300和多个采集器件100。需说明的是,图16中仅是以采集系统包括4个采集器件100为例进行示例性示意,图16并不对采集系统包括的采集器件100的数量构成限定,实际应用中,采集系统可以包括比图示更多或更少的采集器件100。Fig. 16 is a schematic diagram of an acquisition system provided by an embodiment of the present application. Referring to FIG. 16 , the acquisition system may include an
电子设备300与多个采集器件100进行连接。可选地,电子设备300与多个采集器件100可以通过USB接口扩展器(即USB-HUB)进行连接,通过USB接口扩展器可以实现一个电子设备300与多个采集器件100的连接,实现1拖多扩展。示例地,采集器件100与USB接口扩展器之间的数据传输速率可以为120Mbps(兆比特每秒),电子设备300与USB接口扩展器之间的数据传输速率可以为480 Mbps。The
本申请实施例中用于连接电子设备300与多个采集器件100的USB接口扩展器可以是单独的一个USB接口扩展器,也可以是由多个USB接口扩展器级联而成的,本申请实施例对此不作限定。The USB interface expander used to connect the
可选地,USB接口扩展器可以设置在需要进行功耗测量的对象上,这种情况下,在需要对该对象进行功耗测量时,可以通过该对象上设置的USB接口扩展器连接电子设备300与多个采集器件100。Optionally, the USB interface expander can be set on the object that needs to measure the power consumption. In this case, when the power consumption measurement of the object needs to be performed, the electronic device can be connected through the USB interface expander set on the
示例地,该对象可以设置有BTB连接器。USB接口扩展器可以设置于该对象的BTB连接器上。这种情况下,在需要对该对象进行功耗测量时,将多个采集器件100连接在该对象的BTB连接器上,将电子设备300也连接在该对象的BTB连接器上,如此,不仅可以实现多个采集器件100中的每个采集器件100与该对象中的负载之间的连接,还可以实现多个采集器件100与电子设备300之间的连接。Exemplarily, the object may be provided with a BTB connector. A USB interface extender may be provided on the BTB connector of the object. In this case, when it is necessary to measure the power consumption of the object,
在一些实施例中,电子设备300可以通过一个USB接口扩展器连接多个采集器件100,且这多个采集器件100均连接至一个对象,以采集这个对象的电流电压数据。并且,电子设备300还可以通过另一个USB接口扩展器连接至另外多个采集器件100,这多个采集器件100可以连接至另外一个对象。如此,电子设备300可以通过多个USB接口扩展器实现对多个对象的功耗测量。In some embodiments, the
在另一些实施例中,电子设备300可以通过一个USB接口扩展器连接多个采集器件100,且这多个采集器件100可以连接至不同的对象,以采集不同对象的电流电压数据。如此,电子设备300可以通过一个USB接口扩展器实现对多个对象的功耗测量。In other embodiments, the
需说明的是,多个采集器件100均是经上述校准器件400校准过的采集器件,多个采集器件100中的每个采集器件100存储有自身的n个检测通道101中每个检测通道101对应的电流校准参数和电压校准参数。多个采集器件100中的任意两个采集器件100用于采集不同对象的电流电压数据或用于采集同一对象的电流电压数据。多个采集器件100中每个采集器件100使用电流校准参数和电压校准参数对检测到的电流电压数据后进行校准后发送给电子设备300。电子设备300据此可以实现对同一对象的更多负载的功耗的确认,或者可以实现对不同对象的负载的功耗的确认。如此,该采集系统通过对多个采集器件100的扩展使用,可以实现更多通道的功耗测量,具有相当的灵活性。It should be noted that the plurality of
多个采集器件100工作时数据采集是同步的。也即,多个采集器件100同时工作的时候需要保证不同采集器件100的各个检测通道101之间的数据采集和传输的同步。这种情况下,如图17所示,本申请实施例设计了主从逻辑控制功能,电子设备300会按照采集器件100的识别顺序定义多个采集器件100中的主从设备,主采集器件100会产生同步脉冲信号,多个采集器件100的全部检测通道101都会在同步脉冲信号的控制下进行数据的采集和传输。接下来对该主从逻辑控制功能进行说明。Data acquisition is synchronized when
图18是本申请实施例提供的一种主从逻辑控制功能的示意图。参见图18,该主从逻辑控制功能可以包括如下步骤1801至步骤1806。Fig. 18 is a schematic diagram of a master-slave logic control function provided by the embodiment of the present application. Referring to FIG. 18 , the master-slave logic control function may include steps 1801 to 1806 as follows.
步骤1801:电子设备300扫描USB设备。Step 1801: The
步骤1802:电子设备300识别到第一个采集器件100连接。Step 1802: The
若电子设备300识别到有采集器件100连接,则可以获取所连接的采集器件100的标识,根据该采集器件100的标识确定该采集器件100的通道数,该通道数是指该采集器件100具有的检测通道101的数量。If the
步骤1803:电子设备300创建instrument实例。Step 1803: the
instrument实例用以指示已连接的所有采集器件100总体是多少通道的,即总体具有多少数量的检测通道101。The instrument instance is used to indicate the total number of channels of all
步骤1804:电子设备300根据该采集器件100的标识创建对应的device实例。Step 1804: The
一个采集器件100对应的device实例用以指示该采集器件100是多少通道的,即该采集器件100具有多少数量的检测通道101。The device instance corresponding to an
步骤1805:电子设备300识别到第二个采集器件100或更多数量的采集器件100。Step 1805: The
电子设备300在识别到第一个采集器件100之后,每识别到一个新的采集器件100,可以更新instrument实例。After the
步骤1806:电子设备300确定已连接的采集器件100的数量大于或等于2,则确定已连接的多个采集器件100的主从关系。Step 1806: The
需要说明的是,多个采集器件100与电子设备300连接后多个采集器件100中每个采集器件100的指定引脚均连接至同一节点。It should be noted that, after the
电子设备300可以确定第一个连接的采集器件100为主设备,向第一个连接的采集器件100发送指示消息。该采集器件100接收到该指示消息后确定自身为主设备,然后将自身的指定引脚的电平拉高,以产生同步脉冲信号。由于多个采集器件100中每个采集器件100的指定引脚均连接至同一节点,所以该采集器件100将自身的指定引脚的电平拉高后,其他采集器件100会检测到自身的指定引脚的电平被拉高,也即会检测到同步脉冲信号,这种情况下,其他采集器件100确定自身为从设备,且根据检测到的同步脉冲信号进行数据采集和传输。The
可选地,电子设备300确定已连接的多个采集器件100的主从关系之后,可以根据instrument实例和device实例确定多个采集器件100中每个采集器件100的连接信息,将多个采集器件100中每个采集器件100的连接信息传输给电子设备300中的界面软件,以便界面软件后续在进行数据显示时可以参考该连接信息进行显示,比如,可以将不同采集器件100对应的数据进行独立显示或联合显示。Optionally, after the
下面对本申请实施例涉及的电子设备300予以说明。The
图19是本申请实施例提供的一种电子设备300的结构示意图。参见图19,电子设备300包括至少一个处理器1901、通信总线1902、存储器1903以及至少一个通信接口1904。FIG. 19 is a schematic structural diagram of an
处理器1901可以是微处理器(包括中央处理器(central processing unit,CPU)等)、特定应用集成电路(application-specific integrated circuit,ASIC),或者可以是一个或多个用于控制本申请方案程序执行的集成电路。The
通信总线1902可包括一通路,用于在上述组件之间传送信息。
存储器1903可以是只读存储器(read-only memory,ROM)、随机存取存储器(random access memory,RAM)、电可擦可编程只读存储器(electrically erasableprogrammable read-only memory,EEPROM)、光盘(包括只读光盘(compact disc read-only memory,CD-ROM)、压缩光盘、激光盘、数字通用光盘、蓝光光盘等)、磁盘存储介质或者其它磁存储设备,或者是能够用于携带或存储具有指令或数据结构形式的期望的程序代码并能够由计算机存取的任何其它介质,但不限于此。存储器1903可以是独立存在,并通过通信总线1902与处理器1901相连接。存储器1903也可以和处理器1901集成在一起。The
通信接口1904使用任何收发器一类的装置,用于与其它设备或通信网络通信,如以太网、无线接入网(radio access network,RAN)、无线局域网(wireless local areanetwork,WLAN)等。The
在具体实现中,作为一种实施例,处理器1901可以包括一个或多个CPU,如图19中所示的CPU0和CPU1。In a specific implementation, as an embodiment, the
在具体实现中,作为一种实施例,电子设备300可以包括多个处理器,如图19中所示的处理器1901和处理器1905。这些处理器中的每一个可以是一个单核处理器,也可以是一个多核处理器。这里的处理器可以指一个或多个设备、电路、和/或用于处理数据(如计算机程序指令)的处理核。In a specific implementation, as an example, the
在具体实现中,作为一种实施例,电子设备300还可以包括输出设备1906和输入设备1907。输出设备1906和处理器1901通信,可以以多种方式来显示信息。比如,输出设备1906可以是液晶显示器(liquid crystal display,LCD)、发光二级管(light emittingdiode,LED)显示设备、阴极射线管(cathode ray tube,CRT)显示设备或投影仪(projector)等。输入设备1907和处理器1901通信,可以以多种方式接收用户的输入。比如,输入设备1907可以是鼠标、键盘、触摸屏设备或传感设备等。In a specific implementation, as an example, the
上述的电子设备300可以是一个通用计算机设备或一个专用计算机设备。在具体实现中,电子设备300可以是台式机、便携式电脑、网络服务器、掌上电脑、移动手机、平板电脑、无线终端设备、通信设备或嵌入式设备,本申请实施例不限定电子设备300的类型。The aforementioned
其中,存储器1903用于存储执行本申请方案的程序代码1910,处理器1901用于执行存储器1903中存储的程序代码1910。电子设备300可以通过处理器1901以及存储器1903中的程序代码1910,来实现上文实施例中由电子设备300执行的操作。Wherein, the
接下来对电子设备300的软件系统予以说明。Next, the software system of the
图20是本申请实施例提供的一种电子设备300的软件系统的示意图。参见图20,电子设备300的软件系统可以包括:界面软件301、驱动软件302、嵌入式软件303。FIG. 20 is a schematic diagram of a software system of an
其中,嵌入式软件303可以进行电流数据的采集与传输、电压数据的采集与传输、多采集器件识别与数据同步、校准参数的存储与调用等功能。该电流数据的采集与传输是指:嵌入式软件303可以接收采集器件100发送的电流数据,并将该电流数据传输给驱动软件302进行处理。该电压数据的采集与传输是指:嵌入式软件303可以接收采集器件100发送的电压数据,并将该电压数据传输给驱动软件302进行处理。该多采集器件识别与数据同步是指:嵌入式软件303可以识别与电子设备300连接的多个采集器件100,且可以确定多个采集器件100之间的主从关系,以实现多个采集器件100之间的数据同步。该校准参数的存储与调用是指:嵌入式软件303可以在校准过程中确定采集器件100的校准参数,并且在有需要的时候可以使用该校准参数对相应的电流电压数据进行校准。Among them, the embedded
驱动软件302可以在获得电流电压数据后,对电流电压数据进行数据处理,如可以对电流电压数据进行滤波处理、校准处理、功耗确认、或其他扩展处理等,本申请实施例对此不作限定。驱动软件302在对电流电压数据进行数据处理后,可以将数据处理结果上报给界面软件301。可选地,驱动软件302还可以对采集器件100中的检测通道101进行配置。The
界面软件301可以根据该数据处理结果进行数据显示,比如,界面软件301可以显示V-I-P特性曲线,以便技术人员可以及时获知电压、电流及功率的变化。在一些实施例中,界面软件301还可以对该数据处理结果进行相关的数学计算,比如,可以对V-I-P特性曲线求均值等。可选地,界面软件301还可以具有功能按钮,该功能按钮可以用于实现缩放等操作,比如,可以对显示的V-I-P特性曲线进行放大或缩小。如此,可以便于技术人员根据驱动软件302的数据处理结果和界面软件301的数据显示情况进行硬件及软件排错、分析研究等。The
在上述实施例中,可以全部或部分地通过软件、硬件、固件或者其任意结合来实现。当使用软件实现时,可以全部或部分地以计算机程序产品的形式实现。所述计算机程序产品包括一个或多个计算机指令。在计算机上加载和执行所述计算机指令时,全部或部分地产生按照本申请实施例所述的流程或功能。所述计算机可以是通用计算机、专用计算机、计算机网络或其他可编程装置。所述计算机指令可以存储在计算机可读存储介质中,或者从一个计算机可读存储介质向另一个计算机可读存储介质传输,比如,所述计算机指令可以从一个网站站点、计算机、服务器或数据中心通过有线(比如:同轴电缆、光纤、数据用户线(Digital Subscriber Line,DSL))或无线(比如:红外、无线、微波等)方式向另一个网站站点、计算机、服务器或数据中心进行传输。所述计算机可读存储介质可以是计算机能够存取的任何可用介质,或者是包含一个或多个可用介质集成的服务器、数据中心等数据存储设备。所述可用介质可以是磁性介质(比如:软盘、硬盘、磁带)、光介质(比如:数字通用光盘(Digital Versatile Disc,DVD))或半导体介质(比如:固态硬盘(Solid State Disk,SSD))等。In the above embodiments, all or part may be implemented by software, hardware, firmware or any combination thereof. When implemented using software, it may be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer instructions are loaded and executed on the computer, the processes or functions according to the embodiments of the present application will be generated in whole or in part. The computer can be a general purpose computer, a special purpose computer, a computer network or other programmable devices. The computer instructions may be stored in or transmitted from one computer-readable storage medium to another computer-readable storage medium, for example, the computer instructions may be accessed from a website, computer, server, or data center Transmission to another website site, computer, server or data center via wired (such as: coaxial cable, optical fiber, Digital Subscriber Line (DSL)) or wireless (such as: infrared, wireless, microwave, etc.). The computer-readable storage medium may be any available medium that can be accessed by a computer, or may be a data storage device such as a server or a data center integrated with one or more available media. The available medium may be a magnetic medium (such as a floppy disk, a hard disk, or a magnetic tape), an optical medium (such as a digital versatile disk (Digital Versatile Disc, DVD)), or a semiconductor medium (such as a solid state disk (Solid State Disk, SSD)) wait.
以上所述为本申请提供的可选实施例,并不用以限制本申请,凡在本申请的揭露的技术范围之内,所作的任何修改、等同替换、改进等,均应包含在本申请的保护范围之内。The above-mentioned optional embodiments provided by the application are not intended to limit the application. Any modifications, equivalent replacements, improvements, etc. made within the technical scope of the disclosure of the application shall be included in the scope of the application. within the scope of protection.
Claims (15)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202310453919.5A CN116185784B (en) | 2023-04-25 | 2023-04-25 | Calibration devices, calibration systems and acquisition systems |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202310453919.5A CN116185784B (en) | 2023-04-25 | 2023-04-25 | Calibration devices, calibration systems and acquisition systems |
Publications (2)
Publication Number | Publication Date |
---|---|
CN116185784A true CN116185784A (en) | 2023-05-30 |
CN116185784B CN116185784B (en) | 2023-09-08 |
Family
ID=86433019
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202310453919.5A Active CN116185784B (en) | 2023-04-25 | 2023-04-25 | Calibration devices, calibration systems and acquisition systems |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN116185784B (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN117686961A (en) * | 2024-02-01 | 2024-03-12 | 深圳曦华科技有限公司 | Error calibration system, calibration method, computer device, and storage medium |
CN119447871A (en) * | 2025-01-13 | 2025-02-14 | 慧创科仪(北京)科技有限公司 | Interconnection device, host, host interconnection component, imaging system and acquisition method |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106501745A (en) * | 2016-12-30 | 2017-03-15 | 深圳市盛弘电气股份有限公司 | A kind of self-checking device and calibration steps |
CN112731247A (en) * | 2020-12-29 | 2021-04-30 | 欣旺达电动汽车电池有限公司 | Calibration system, calibration method, and storage medium |
CN113094230A (en) * | 2021-03-31 | 2021-07-09 | 宁畅信息产业(北京)有限公司 | Power consumption monitoring method and power consumption monitoring mainboard |
CN114121140A (en) * | 2022-01-28 | 2022-03-01 | 合肥悦芯半导体科技有限公司 | Chip testing method, system, electronic device and storage medium |
CN114252798A (en) * | 2021-12-15 | 2022-03-29 | 杭州长川科技股份有限公司 | Large-current pulse power supply output calibration method and device and electronic equipment |
CN114442021A (en) * | 2021-12-01 | 2022-05-06 | 国网山东省电力公司物资公司 | A power transformer detection system calibration device and method |
CN115878418A (en) * | 2022-11-29 | 2023-03-31 | 浪潮商用机器有限公司 | Power consumption monitoring method, device, equipment and storage medium |
-
2023
- 2023-04-25 CN CN202310453919.5A patent/CN116185784B/en active Active
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106501745A (en) * | 2016-12-30 | 2017-03-15 | 深圳市盛弘电气股份有限公司 | A kind of self-checking device and calibration steps |
CN112731247A (en) * | 2020-12-29 | 2021-04-30 | 欣旺达电动汽车电池有限公司 | Calibration system, calibration method, and storage medium |
CN113094230A (en) * | 2021-03-31 | 2021-07-09 | 宁畅信息产业(北京)有限公司 | Power consumption monitoring method and power consumption monitoring mainboard |
CN114442021A (en) * | 2021-12-01 | 2022-05-06 | 国网山东省电力公司物资公司 | A power transformer detection system calibration device and method |
CN114252798A (en) * | 2021-12-15 | 2022-03-29 | 杭州长川科技股份有限公司 | Large-current pulse power supply output calibration method and device and electronic equipment |
CN114121140A (en) * | 2022-01-28 | 2022-03-01 | 合肥悦芯半导体科技有限公司 | Chip testing method, system, electronic device and storage medium |
CN115878418A (en) * | 2022-11-29 | 2023-03-31 | 浪潮商用机器有限公司 | Power consumption monitoring method, device, equipment and storage medium |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN117686961A (en) * | 2024-02-01 | 2024-03-12 | 深圳曦华科技有限公司 | Error calibration system, calibration method, computer device, and storage medium |
CN117686961B (en) * | 2024-02-01 | 2024-06-25 | 深圳曦华科技有限公司 | Error calibration system, calibration method, computer device, and storage medium |
CN119447871A (en) * | 2025-01-13 | 2025-02-14 | 慧创科仪(北京)科技有限公司 | Interconnection device, host, host interconnection component, imaging system and acquisition method |
CN119447871B (en) * | 2025-01-13 | 2025-06-17 | 慧创科仪(北京)科技有限公司 | Interconnection device, host, host interconnection component, imaging system and acquisition method |
Also Published As
Publication number | Publication date |
---|---|
CN116185784B (en) | 2023-09-08 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN116185784B (en) | Calibration devices, calibration systems and acquisition systems | |
CN103698686B (en) | Signal testing method and signal testing equipment | |
CN101711350B (en) | System and method for testing wireless devices | |
CN111480152B (en) | An interface configuration method, terminal device and interface | |
CN102793544A (en) | System and method for measuring physiological parameter | |
CN115128429A (en) | Chip testing system and testing method | |
CN110824337A (en) | Method and device for high-temperature test of SOC chip | |
CN115250152A (en) | Terminal testing method, computer device and storage medium | |
CN102096457B (en) | processing device and operating system | |
WO2020244604A1 (en) | Circuit detection method and apparatus, device, and storage medium | |
CN111736104A (en) | Current detection calibration method and device and display device | |
US20140285177A1 (en) | Mobile current measurement equipment, current measurement terminal and current measurement method | |
US20240426931A1 (en) | Method, apparatus, storage medium and terminal equipment for estimating the impedance of battery | |
CN211148835U (en) | Open short circuit reverse test circuit and image sensor chip test device | |
WO2024260197A1 (en) | Radio frequency die module debugging device and method | |
WO2024002031A1 (en) | Chip temperature test method and apparatus | |
TWI765421B (en) | Product detection device, product detection system and product detection method applied thereto | |
CN213398860U (en) | Battery charging simulation system and test system | |
CN212111668U (en) | Express delivery cabinet test fixture | |
CN112394276B (en) | Wireless charging test method, device, system, electronic equipment and storage medium | |
TWI870155B (en) | System, device and method for determining test result of usb interface based on multiple output voltages of the usb interface | |
CN201417447Y (en) | USB concentrator device with load current and voltage detection functions | |
CN114509979B (en) | Integrated circuit safety detection system | |
US9685916B2 (en) | Audio interface circuits and methods | |
CN110377473A (en) | MCU parameter test system and method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
CP03 | Change of name, title or address |
Address after: Unit 3401, unit a, building 6, Shenye Zhongcheng, No. 8089, Hongli West Road, Donghai community, Xiangmihu street, Futian District, Shenzhen, Guangdong 518040 Patentee after: Honor Terminal Co.,Ltd. Country or region after: China Address before: 3401, unit a, building 6, Shenye Zhongcheng, No. 8089, Hongli West Road, Donghai community, Xiangmihu street, Futian District, Shenzhen, Guangdong Patentee before: Honor Device Co.,Ltd. Country or region before: China |
|
CP03 | Change of name, title or address |