CN114994402B - Terminal module power consumption testing device, method and system - Google Patents

Terminal module power consumption testing device, method and system Download PDF

Info

Publication number
CN114994402B
CN114994402B CN202111028490.2A CN202111028490A CN114994402B CN 114994402 B CN114994402 B CN 114994402B CN 202111028490 A CN202111028490 A CN 202111028490A CN 114994402 B CN114994402 B CN 114994402B
Authority
CN
China
Prior art keywords
detection
switch
power consumption
pins
terminal module
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.)
Active
Application number
CN202111028490.2A
Other languages
Chinese (zh)
Other versions
CN114994402A (en
Inventor
孟龙龙
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Honor Device Co Ltd
Original Assignee
Beijing Honor Device Co Ltd
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
Application filed by Beijing Honor Device Co Ltd filed Critical Beijing Honor Device Co Ltd
Priority to CN202111028490.2A priority Critical patent/CN114994402B/en
Publication of CN114994402A publication Critical patent/CN114994402A/en
Application granted granted Critical
Publication of CN114994402B publication Critical patent/CN114994402B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R21/00Arrangements for measuring electric power or power factor
    • G01R21/06Arrangements for measuring electric power or power factor by measuring current and voltage
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Abstract

The application discloses terminal module power consumption testing equipment, method and system, and the equipment comprises: the circuit comprises a switch matrix, a controller and a detection circuit, wherein the switch matrix comprises a plurality of switches; the first group of pins of the switch matrix is used for connecting the terminal module; the second group of pins of the switch matrix is used for connecting the terminal mainboard; the controller is used for controlling the switching states of the switches according to the line sequence between the terminal module and the terminal mainboard, so that a plurality of signal paths corresponding to the line sequence are formed between the first group of pins and the second group of pins; a detection circuit for acquiring power consumption data in a plurality of signal paths; and the controller is also used for obtaining the power consumption of the terminal module according to the power consumption data. The equipment can enable the first group of pins and the second group of pins to be connected according to a specific mapping relation through the connection states of the switches, so that different line sequences between various terminal modules and a terminal mainboard are adapted, the universality of the power consumption testing equipment is improved, and the cost of the power consumption testing equipment is reduced.

Description

Terminal module power consumption testing device, method and system
Technical Field
The application relates to the technical field of hardware testing, in particular to a terminal module power consumption testing device, method and system.
Background
The terminal device includes a plurality of different terminal modules, for example: when the terminal device is a mobile phone, the mobile phone includes modules such as a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), and a Camera module (Camera). The measurement of the power consumption of different terminal modules has great significance for power consumption management and control and power supply design of terminal equipment.
A signal path exists between a terminal main board and a terminal module of a terminal device, and at present, power consumption measuring equipment is used for collecting current of the signal path between the terminal module and the terminal main board and calculating power consumption of the terminal module.
However, the pins of different terminal modules and terminal motherboards have different line sequences, which refer to the arrangement sequence of the pins corresponding to different signals on the terminal modules or the terminal motherboards. Therefore, different power consumption measuring devices are required to be involved in testing different terminal modules, so that the pins of the terminal mainboard and the pins of the tested terminal modules are connected according to the corresponding relation. Because different terminal modules, even the same kind of terminal module of different producers production all need to design power consumption measuring equipment according to its line sequence specially, measure its consumption, consumed a large amount of costs.
Disclosure of Invention
In order to solve the technical problem, the application provides a terminal module power consumption testing device, a method and a system, which can test different terminal modules, so that the cost of the power consumption testing device is reduced.
The embodiment of the application provides a terminal module power consumption test equipment, includes: the circuit comprises a switch matrix, a controller and a detection circuit, wherein the switch matrix comprises a plurality of switches; the first group of pins of the switch matrix is used for connecting the terminal module; the second group of pins of the switch matrix is used for connecting a terminal mainboard; the controller is used for controlling the switch states of the switches according to the line sequence between the terminal module and the terminal mainboard, so that a plurality of signal paths corresponding to the line sequence are formed between the first group of pins and the second group of pins; a detection circuit for acquiring power consumption data in a plurality of signal paths; and the controller is also used for obtaining the power consumption of the terminal module according to the power consumption data.
The signal path formed by the switches is not a fixed circuit, but a temporary path formed by opening or closing the switches in the switch matrix, and when the line sequence between the terminal module and the terminal main board provided by the embodiment of the application is changed, the switch matrix provided by the embodiment of the application can form a new signal path according to the line sequence, so that the universality of the power test equipment provided by the embodiment of the application is improved. Therefore, the power test equipment provided by the embodiment of the application can be adapted to various terminal modules and terminal mainboards, the same set of power test equipment can be applied when the power consumption of different terminal modules is measured by the power test equipment provided by the embodiment of the application, and the cost of the power test equipment is reduced.
As a possible implementation manner, a plurality of switches in the switch matrix provided in the embodiment of the present application form N 2 A switching node, N 2 The switch nodes are arranged to form a matrix of N x N 2 Each of the switch nodes includes four terminals, N 2 Adjacent switch nodes in the switch nodes are connected through end points; the first group of pins comprises N first pins, and the second group of pins comprises N second pins; n first pins are respectively connected with N 2 The end points of the N switch nodes in the first row in the switch nodes are connected; n second pins are respectively connected with N 2 The end points of N switch nodes in the first column in the switch nodes are connected, and N is a positive integer greater than 1; a controller for controlling N according to line sequence between the terminal module and the terminal motherboard 2 Between four terminals of a switch nodeAnd in the connection state, a plurality of signal paths corresponding to the line sequence are formed between the first group of pins and the second group of pins. N in switch matrix provided by the embodiment of the application 2 The switch nodes can realize signal intercommunication between different rows and different columns, so that the switch matrix can form different signal paths, the same set of power consumption test equipment can be applied when the power consumption test equipment provided by the embodiment of the application is used for measuring the power consumption of different terminal modules, and the cost of the power consumption test equipment is reduced.
As a possible implementation manner, the four endpoints provided in the embodiment of the present application include: a first endpoint, a second endpoint, a third endpoint, and a fourth endpoint; the connection state between the four endpoints includes any one of: all four endpoints are disconnected; the first end point is connected with the second end point to form a signal path; the first end point and the third end point are connected to form a signal path; the second end point and the fourth end point are connected to form a signal path; the first end point is connected with the third end point, and the second end point is connected with the fourth end point to form a signal path. The switch node provided by the embodiment of the application can have one signal path and also can have two signal paths, so that the switch matrix provided by the embodiment of the application can provide more diversified signal paths, and the flexibility of the terminal module power consumption testing equipment provided by the embodiment of the application is increased to a certain extent.
As a possible implementation manner, each of the switch nodes provided in the embodiments of the present application includes: a first switch, a second switch, and a third switch; the first switch is connected between the first endpoint and the second endpoint, the second switch is connected between the first endpoint and the third endpoint, and the third switch is connected between the second endpoint and the fourth endpoint; and the controller is specifically used for controlling the connection states of the first switch, the second switch and the third switch according to a line sequence between the terminal module and the terminal mainboard.
As a possible implementation manner, the controller provided in this embodiment of the present application is specifically configured to control connection states of the first switch, the second switch, and the third switch according to the switch signal matrix; the switching signal matrix comprises 2 A switchNode corresponding N 2 A numerical value; n is a radical of 2 Different ones of the individual values correspond to different connection states of the first switch, the second switch and the third switch. The embodiment of the application provides switch matrix and carries out simultaneous control through switch matrix signal, avoids controlling a plurality of switches in the switch matrix alone, has improved switch matrix's control efficiency, has reduced the risk that the signal makes mistakes to a certain extent simultaneously.
As a possible implementation manner, the terminal module power consumption testing apparatus provided in the embodiment of the present application further includes: a first set of board-to-board connectors and a second set of board-to-board connectors; the first ends of the first group of board-to-board connectors are connected with the first group of pins; the second end of the board-to-board connector, matched with the terminal module, in the first group of board-to-board connectors is used for connecting the terminal module; the first ends of the second group of board-to-board connectors are connected with a second group of pins; and the second end of the board-to-board connector matched with the terminal mainboard in the second group of board-to-board connectors is used for connecting the terminal mainboard. The terminal module power consumption test equipment that this application embodiment provided can be connected the terminal module of board connector through first group board to the board connector directness and have different boards, and terminal module power consumption test equipment can be connected the terminal mainboard that the board connector is direct and have different boards to the board connector through second group board simultaneously. Therefore, the problem that the terminal module power consumption testing equipment cannot be used due to the fact that the terminal module power consumption testing equipment is inconsistent with the board-to-board connector of the terminal module or the terminal mainboard is solved.
As a possible implementation manner, the terminal module power consumption testing apparatus provided in the embodiment of the present application further includes: n detection resistors; the first ends of the N detection resistors are respectively connected with the N first pins; the second ends of the N detection resistors are respectively connected with the N switch nodes in the first row; the power consumption data comprises voltages at two ends of the detection resistors corresponding to the plurality of signal paths; and the detection circuit is specifically used for detecting the voltage at two ends of at least one resistor in the N detection resistors and acquiring power consumption data. The terminal module power consumption test equipment provided by the embodiment of the application is connected with the detection resistor and the first group of pins, and can ensure that at least one detection resistor exists on each signal path formed by the switch matrix, so that the power consumption data can be acquired.
As a possible implementation manner, the terminal module power consumption testing apparatus provided in the embodiment of the present application further includes: n detection resistors; the first ends of the N detection resistors are respectively connected with the N second pins; second ends of the N detection resistors are respectively connected with N switch nodes in the first column; the power consumption data comprises voltages at two ends of the detection resistors corresponding to the plurality of signal paths; and the detection circuit is specifically used for detecting the voltage at two ends of at least one resistor in the N detection resistors and acquiring power consumption data. The terminal module power consumption test equipment provided by the embodiment of the application is connected with the detection resistor and the second group of pins, and can ensure that at least one detection resistor exists on each signal path formed by the switch matrix, thereby ensuring that power consumption data can be collected.
As a possible implementation manner, the controller provided in this embodiment of the present application is specifically configured to obtain a current of the detection resistor according to a voltage across the detection resistor and a resistance value of the detection resistor, and determine the power consumption of the terminal module according to the current of the detection resistor and the voltage across the detection resistor.
As a possible implementation manner, a detection circuit provided in an embodiment of the present application includes: a voltage detection circuit and an analog-to-digital converter; the voltage detection circuit comprises N detection switches; the first ends of the N detection switches are connected with the analog-to-digital converter, the second ends of the N detection switches are respectively connected with the first ends of the N detection resistors, and the second ends of the N detection resistors are connected with the analog-to-digital converter; and the controller is also used for controlling the detection switches corresponding to the power consumption data in the N detection switches to be closed in sequence, so that the detection circuit detects the voltages at two ends of the detection resistor corresponding to the power consumption data in sequence to obtain the power consumption data. It should be understood that, in the detection circuit provided in the embodiment of the present application, a scheme that the same analog-to-digital converter detects a plurality of detection resistors can be implemented by N detection switches, so that the detection circuit provided in the embodiment of the present application is simplified, and the cost of the terminal module power consumption test equipment is reduced.
As a possible implementation manner, the voltage detection circuit provided in the embodiment of the present application further includes: a first detection main switch and a second detection main switch; the first end of the first detection main switch is connected with the first input end of the analog-to-digital converter, and the second end of the first detection main switch is connected with the N detection switches; the first end of the second detection main switch is connected with the second input end of the analog-to-digital converter, and the second end of the second detection main switch is connected with the N detection resistors; the controller is specifically used for controlling the first detection main switch and the second detection main switch to be sequentially conducted, so that the detection circuit sequentially obtains a first detection voltage and a second detection voltage; and the controller is also used for obtaining the power consumption of the terminal module according to the first detection voltage, the second detection voltage and the resistance value of the detection resistor. It should be understood that, in the detection circuit provided in this application, the voltage at two ends of the detection resistor can be detected by the same analog-to-digital converter through the first detection main switch and then the second detection main switch, so that the detection circuit provided in this application is simplified, and the cost of the terminal module power consumption test equipment is reduced.
According to the embodiment, the terminal module power consumption testing equipment is provided, the embodiment of the application also provides a terminal module power consumption testing method, the method is applied to the terminal module power consumption testing equipment, and the terminal module power consumption testing equipment comprises: a switch matrix and a detection circuit, the switch matrix including a plurality of switches; the first group of pins of the switch matrix is used for connecting the terminal module; the second group of pins of the switch matrix is used for connecting a terminal mainboard; the method comprises the following steps: controlling the switch states of the switches according to the line sequence between the terminal module and the terminal mainboard, so that a plurality of signal paths corresponding to the line sequence are formed between the first group of pins and the second group of pins; acquiring power consumption data in a plurality of signal paths through a detection circuit; and obtaining the power consumption of the terminal module according to the power consumption data.
As a possible implementation, a plurality of switches in the switch matrix form N 2 Individual switch node, N 2 The switch nodes are arranged to form a matrix of N x N 2 Each of the switch nodes comprises four end points, and adjacent switch nodes in the N2 switch nodes are connected through the end points; the first group of pins comprises N first pins, and the second group of pins comprises N second pins; n toA pin is respectively connected with N 2 The end points of the N switch nodes in the first row in the switch nodes are connected; n second pins are respectively connected with N 2 The end points of N switch nodes in the first column in the switch nodes are connected, and N is a positive integer greater than 1; according to the line sequence between terminal module and the terminal mainboard control the on off state of a plurality of switches, make a plurality of signal path that form the line sequence and correspond between first group pin and the second group pin, include: controlling N according to the line sequence between the terminal module and the terminal mainboard 2 The connection state of the four endpoints in the switch nodes enables a plurality of signal paths corresponding to the line sequence to be formed between the first group of pins and the second group of pins.
As a possible implementation manner, the terminal module power consumption testing apparatus further includes: n detection resistors; the first ends of the N detection resistors are respectively connected with the N first pins; second ends of the N detection resistors are respectively connected with the N switch nodes in the first row; the power consumption data comprises voltages at two ends of the detection resistors corresponding to the plurality of signal paths; acquiring, by a detection circuit, power consumption data in a plurality of signal paths, comprising: and detecting the voltage at two ends of at least one resistor in the N detection resistors through the detection circuit to obtain power consumption data.
As a possible implementation manner, the terminal module power consumption testing apparatus further includes: n detection resistors; the first ends of the N detection resistors are respectively connected with the N second pins; second ends of the N detection resistors are respectively connected with N switch nodes in the first column; the power consumption data comprises voltages at two ends of the detection resistors corresponding to the plurality of signal paths; acquiring, by a detection circuit, power consumption data in a plurality of signal paths, comprising: and detecting the voltage at two ends of at least one resistor in the N detection resistors through the detection circuit to obtain power consumption data.
As a possible implementation manner, obtaining the power consumption of the terminal module according to the power consumption data includes: and obtaining the current of the detection resistor according to the voltage at the two ends of the detection resistor and the resistance value of the detection resistor, and determining the power consumption of the terminal module according to the current of the detection resistor and the voltage at the two ends of the detection resistor.
As a possible implementation, the detection circuit comprises: a voltage detection circuit and an analog-to-digital converter; the voltage detection circuit comprises N detection switches; the first ends of the N detection switches are connected with the analog-to-digital converter, the second ends of the N detection switches are respectively connected with the first ends of the N detection resistors, and the second ends of the N detection resistors are connected with the analog-to-digital converter; detect the voltage at least one resistance both ends in N detection resistance through detection circuitry, acquire the consumption data, include: and controlling the detection switches corresponding to the power consumption data in the N detection switches to be closed in sequence, so that the detection circuit detects the voltages at two ends of the detection resistor corresponding to the power consumption data in sequence to obtain the power consumption data.
As a possible implementation, the voltage detection circuit further includes: a first detection main switch and a second detection main switch; the first end of the first detection main switch is connected with the first input end of the analog-to-digital converter, and the second end of the first detection main switch is connected with the N detection switches; the first end of the second detection main switch is connected with the second input end of the analog-to-digital converter, and the second end of the second detection main switch is connected with the N detection resistors; detect the voltage at least one resistance both ends in N detection resistance through detection circuitry, acquire the consumption data, include: controlling the first detection main switch and the second detection main switch to be sequentially conducted, so that the detection circuit sequentially obtains a first detection voltage and a second detection voltage; obtaining the power consumption of the terminal module according to the power consumption data, comprising: and obtaining the power consumption of the terminal module according to the first detection voltage, the second detection voltage and the resistance value of the detection resistor.
According to the terminal module power consumption test device and the terminal module power consumption test method provided by the embodiments, the embodiments of the present application further provide a terminal module power consumption test system, which includes: the system comprises a switch matrix, a controller, a detection circuit and a terminal main board, wherein the switch matrix comprises a plurality of switches; the first group of pins of the switch matrix is used for connecting the terminal module; a second group of pins of the switch matrix are connected with the terminal mainboard; the controller is used for controlling the switching states of the switches according to the line sequence between the terminal module and the terminal mainboard, so that a plurality of signal paths corresponding to the line sequence are formed between the first group of pins and the second group of pins; a detection circuit for acquiring power consumption data in a plurality of signal paths; and the controller is also used for obtaining the power consumption of the terminal module according to the power consumption data.
The application has at least the following advantages:
the embodiment of the application provides a terminal module power consumption testing device, a method and a system, wherein the device comprises: the circuit comprises a switch matrix, a controller and a detection circuit, wherein the switch matrix comprises a plurality of switches; the first group of pins of the switch matrix is used for connecting the terminal module; the second group of pins of the switch matrix is used for connecting the terminal mainboard; the controller is used for controlling the switch states of the switches according to the line sequence between the terminal module and the terminal mainboard, so that a plurality of signal paths corresponding to the line sequence are formed between the first group of pins and the second group of pins; a detection circuit for acquiring power consumption data in a plurality of signal paths; and the controller is also used for obtaining the power consumption of the terminal module according to the power consumption data.
Therefore, the terminal module power consumption testing equipment provided by the embodiment of the application comprises a switch matrix, wherein the switch matrix comprises a plurality of switches. The line sequence between different terminal modules and terminal motherboards is different, which results in the difference of signal paths between different terminal modules and terminal motherboards. The switch matrix provided by the embodiment of the application can form different signal paths between the first group of pins and the second group of pins through different connection states of the switches, so that the terminal module and the terminal mainboard are connected according to a specific line sequence. Therefore, the terminal module power consumption testing equipment provided by the embodiment of the application can be connected with the second group of pins according to a specific mapping relation through the connection states of the switches, so that different line sequences between various terminal modules and the terminal mainboard can be adapted, the power consumption testing equipment provided by the embodiment of the application can be widely applied between various terminal modules and the terminal mainboard, the universality of the power consumption testing equipment is improved, and the cost of the power consumption testing equipment is reduced.
Drawings
Fig. 1 is an application scenario diagram of a terminal module power consumption testing device according to an embodiment of the present application;
fig. 2 is a schematic diagram of a terminal module power consumption testing apparatus according to an embodiment of the present disclosure;
fig. 3a is a schematic diagram of a switch matrix according to an embodiment of the present application;
fig. 3b is a schematic diagram of a switching node according to an embodiment of the present application;
fig. 4 is a circuit diagram of a switching node according to an embodiment of the present application;
fig. 5 is a schematic diagram of a terminal module power consumption testing apparatus including a detection resistor according to an embodiment of the present disclosure;
fig. 6 is a schematic diagram of another power consumption testing apparatus for a terminal module including a detection resistor according to an embodiment of the present disclosure;
FIG. 7 is a schematic diagram of a detection circuit according to an embodiment of the present disclosure;
fig. 8 is a schematic diagram of a terminal module power consumption testing apparatus according to an embodiment of the present disclosure;
fig. 9 is a flowchart of a method for testing power consumption of a terminal module according to an embodiment of the present disclosure;
fig. 10 is a schematic diagram of a power consumption testing system of a terminal module according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be described below with reference to the drawings in the embodiments of the present application.
The terms "first," "second," and the like in the following description are used for descriptive purposes only and are not to be construed as indicating or implying relative importance or implying any number of technical features indicated. Thus, a feature defined as "first," "second," etc. may explicitly or implicitly include one or more of that feature. In the description of the present application, "a plurality" means two or more unless otherwise specified.
In the present application, unless expressly stated or limited otherwise, the term "coupled" is to be construed broadly, e.g., "coupled" may be a fixed connection, a removable connection, or an integral part; may be directly connected or indirectly connected through an intermediate. Furthermore, the term "coupled" may be a manner of making electrical connections that communicate signals. "coupled" may be a direct electrical connection or an indirect electrical connection through intervening media.
In order to enable those skilled in the art to better understand the technical solution provided in the embodiment of the present application, a scenario in which the terminal module power consumption testing device provided in the embodiment of the present application is applied is described below with reference to the accompanying drawings.
Referring to fig. 1, the figure is an application scenario diagram of a terminal module power consumption testing device according to an embodiment of the present application.
The terminal module power consumption test system that this application embodiment provided includes: terminal module 100, terminal module power consumption test equipment 200 and terminal mainboard 300.
Wherein, the terminal module power consumption test device 200 is connected between the terminal module 100 and the terminal main board 300.
It should be understood that the terminal module 100 includes a plurality of pins for inputting or outputting various signals, such as a control signal, a power signal, and a data signal from the terminal main board 300. The pins are arranged in a certain order on the interface of the terminal module 100, and the arrangement order is called the line order of the terminal module 100. Also, the terminal main board 300 has a plurality of pins for inputting/outputting various signals. Therefore, when the terminal module 100 is connected to the terminal main board 300, corresponding pins of the terminal module 100 and the terminal main board 300 need to be connected according to a line sequence between the terminal module 100 and the terminal main board 300. After the terminal module 100 is connected to a plurality of corresponding pins in the terminal motherboard 300, a plurality of signal paths between the terminal module 100 and the terminal motherboard 300 are formed.
The terminal module power consumption testing equipment provided by the embodiment of the application can acquire the power consumption data of a plurality of signal paths to obtain the power consumption of the terminal module. However, since the terminal modules manufactured by different models or manufacturers have different line sequences, different signal paths need to be designed for the terminal module power consumption testing equipment to connect the terminal module with the corresponding pins of the terminal motherboard. Therefore, different terminal module power consumption test equipment needs to be designed according to the line sequence of different terminal modules, and a large amount of cost is consumed.
The embodiment of the application provides a terminal module power consumption test equipment, can different line sequences between multiple terminal module of adaptation and the terminal mainboard to can test to the consumption of multiple terminal module, improve power consumption test equipment's universality, reduce power consumption test equipment's cost. The following describes a terminal module power consumption testing apparatus provided in an embodiment of the present application with reference to the accompanying drawings.
Referring to fig. 2, the figure is a schematic view of a terminal module power consumption testing apparatus provided in an embodiment of the present application.
The terminal module power consumption test equipment 200 provided by the embodiment of the application comprises: a switch matrix 201, a controller 202 and a detection circuit 203, wherein the switch matrix 201 comprises a plurality of switches.
A first group of pins of the switch matrix 201 is used for connecting the terminal module 100; a second group of pins of the switch matrix 201 is used for connecting the terminal main board 300;
the controller 202 is configured to control the on-off states of the switches according to a line sequence between the terminal module and the terminal motherboard, so that a plurality of signal paths corresponding to the line sequence are formed between the first group of pins and the second group of pins; a detection circuit 203 for acquiring power consumption data in a plurality of signal paths; and the controller 202 is further configured to obtain power consumption of the terminal module according to the power consumption data.
Different tested terminal modules can correspond to different line sequences, and the equipment provided by the embodiment of the application comprises the switch matrix 201, so that the switch states of a plurality of switches in the switch matrix 201 can be controlled to form a connection relation with the tested terminal modules corresponding to the line sequences, namely, a plurality of signal paths between the tested terminal modules and the terminal main board are realized. Due to the controllability of the switch matrix 201, various connection relationships can be realized, the flexibility is high, and new test equipment does not need to be redesigned due to the difference of the tested terminal modules.
In order to reduce the influence of the switch matrix on the signals in the signal path, as a possible implementation, the switch matrix in the embodiment of the present application may be an electronic switch matrix. It should be understood that, when the switch matrix provided in the embodiments of the present application is an electronic switch matrix, all of the switches included in the switch matrix in the embodiments of the present application are also electronic switches. As an example, the electronic switch in the embodiment of the present application may be specifically implemented by a Metal-Oxide-Semiconductor Field-Effect Transistor (MOSFET), or may be implemented by an Insulated Gate Bipolar Transistor (IGBT) or a Bipolar Junction Transistor (BJT).
The switch matrix provided in the embodiment of the present application does not limit the specific arrangement form of the switches, that is, the switches in the switch matrix provided in the present application may be arranged in a rectangle, or may also be arranged in a polygon or a circle, and the like. In this embodiment of the present application, the first group of pins and the second group of pins may be interchanged, that is, the first group of pins may be used to connect the terminal template, and the second group of pins may be used to connect the terminal module.
After the power consumption data in the multiple signal paths are acquired by the detection circuit 203 provided by the embodiment of the application, the power consumption data are sent to the controller 202, and the controller 202 processes the power consumption data to acquire the power consumption of the terminal module. As a possible implementation manner, the detection circuit provided in the embodiment of the present application may include: a voltage detection circuit and an analog-to-Digital Converter (ADC). The voltage detection circuit is used for detecting power consumption data in a plurality of signal paths; the analog-to-digital converter is used for converting the detected power consumption data into digital signals and sending the digital signals to the controller.
The switch matrix provided by the embodiment of the application can form a plurality of signal paths from a group of pins to a second group of pins by closing part of switches in a plurality of switches, so that a plurality of corresponding pins in the terminal module and the terminal mainboard are connected. It should be understood that the signal paths in the embodiment of the present application are not fixed circuits, but temporary paths formed by opening or closing a plurality of switches in a switch matrix, and when the line sequence between the terminal module and the terminal motherboard provided in the embodiment of the present application is changed, that is, when a plurality of signal paths between the terminal module and the terminal motherboard are changed, the switch matrix provided in the embodiment of the present application may also be changed along with the change of the plurality of signal paths.
The plurality of switches included in the switch matrix provided by the embodiment of the application can form a plurality of new signal paths according to a new line sequence, so that the universality of the power testing equipment provided by the embodiment of the application is improved. Because the power test equipment that this application embodiment provided can carry out the adaptation with multiple terminal module and terminal mainboard, can use same set of consumption test equipment when consequently measuring the consumption of different terminal modules, reduced consumption test equipment's cost.
As a possible implementation manner, a plurality of switches in the switch matrix provided in the embodiments of the present application form N 2 A plurality of switch nodes, each switch node being cross-shaped like N 2 The switch nodes are arranged to form a matrix of N x N 2 Each of the switch nodes includes four end points, N 2 The adjacent switch nodes in the switch nodes are connected through the end points. In addition, N is 2 Each of the first row, the nth row, the first column and the nth column of the plurality of switch nodes includes only 3 or 2 adjacent switch nodes, and thus only 3 or 2 terminals of the switch nodes of the first row, the nth row, the first column and the nth column are connected to the adjacent switch nodes. Except for the first row (first row), the first column (first column), the last row (last row) and the last column (last column), the remaining rows and the remaining columns comprise 4 adjacent switching nodes per switching node.
The first group of pins of the switch matrix comprises N first pins, and the second group of pins of the switch matrix comprises N second pins; n first pins are respectively connected with N 2 The end points of the N switch nodes in the first row in the switch nodes are connected; n second pins are respectively connected with N 2 The end points of N switch nodes in the first column in the switch nodes are connected.
N in the embodiments of the present application may be any integer greater than 1, for example: 35. 40 or 50, and the embodiments of the present application are not limited herein.
Taking N equal to 40 as an example, that is, both the first group of pins and the second group of pins in the switch matrix include 40 pins, the switch matrix in the terminal module power consumption testing device provided in the embodiment of the present application is introduced.
Referring to fig. 3a, this figure is a schematic diagram of a switch matrix provided in an embodiment of the present application.
As shown in fig. 3a, the first group of pins of the switch matrix 201 includes 40 pins, which are pin 1 to pin 40; the second group of pins comprises 40 pins from A to AO; the first group of pins comprises 40 pin leading-out 40 columns, the second group of pins comprises 40 pin leading-out 40 rows, and the 40 columns and the 40 rows are crossed to form 40 2 And each switch node can realize signal intercommunication between different rows and different columns through the switch. Multiple switch formations 40 in switch matrix 201 2 The switch nodes, i.e. 40 horizontal lines and 40 vertical lines in the switch matrix 201 form 40 2 And each intersection point represents a switch node. 40 2 The switch nodes are arranged to form a40 x 40 matrix, for example, the switch node in the first row and the first column is A1, and the switch node in the 40 th row and the 40 th column is AO40.
For better understanding of the switching nodes in the electronic matrix provided by the embodiments of the present application, the switching nodes provided by the embodiments of the present application will be described below with reference to the accompanying drawings.
Referring to fig. 3b, the figure is a schematic diagram of a switching node according to an embodiment of the present application.
As shown in fig. 3b, the switch node provided in the embodiment of the present application includes four end points, which are a first end point Port1, a second end point Port2, a third end point Port3, and a fourth end point Port4.
The adjacent switch nodes in the switch matrix are connected through end points, taking the switch node A2 in the first row and the second column in fig. 3a as an example, the Port2 of the switch node A2 is connected with the Port4 of the switch node A1 in the first row and the first column, the Port4 of the switch node A2 is connected with the Port2 of the switch node A3 in the third row and the third column, and the Port3 of the switch node A2 is connected with the Port1 of the switch node B2 in the second row and the second column. Since A2 is the first row of switch nodes, A2 is connected to only 3 adjacent nodes, and Port1 of A2 is directly connected to pin 2 of the first group of pins.
The first group of pins comprises 40 first pins, namely pins 1-40; the second group of pins includes 40 second pins, namely pins A-AO.40 first pins are respectively connected with 40 2 The end points of the N switch nodes in the first row in the switch nodes are connected, namely the pins 1-40 are respectively connected with the end points Port1 of the switch nodes A1-A40; 40 second pins are respectively connected with 40 2 The terminals of the 40 switch nodes in the first column of switch nodes are connected, i.e., pins a-AO are connected to terminals Port2 of switch nodes A1-AO1, respectively.
A controller 202, specifically configured to control N according to a line sequence between the terminal module and the terminal motherboard 2 The connection state among the four terminals (Port 1, port2, port3 and Port 4) of each switch node enables a plurality of signal paths corresponding to the line sequence to be formed between the first group of pins (pins 1-40) and the second group of pins (pins A-AO).
It should be noted that, as a possible implementation manner, the signal paths corresponding to the line sequence in the embodiment of the present application may include signal paths formed by connecting the first group of pins and the second group of pins in the order of the pins, for example: pin 1 is connected to pin a and pin 2 is connected to pin B, etc. As another possible implementation, if the line sequence in the board-to-board interfaces of the terminal module and the terminal motherboard is not completely consistent, the signal path in the embodiment of the present application may also include a signal path formed according to the line sequence connection between the terminal module and the terminal motherboard, for example: pin 1 is connected to pin C, and pin 2 is connected to pin AO, etc., which are not limited herein in this embodiment of the application.
The pin count of terminal module and terminal mainboard in this application embodiment can be less than or equal to N, and the pin count of terminal module and terminal mainboard promptly can be less than or equal to the pin count of terminal module consumption test equipment, and the terminal module consumption test equipment of N pin that this application embodiment provided promptly can compatible pin count and is less than N's terminal module promptly. As a possible implementation manner, when the pin number of the terminal module is less than N, the switch node corresponding to the redundant pin in the terminal module power consumption testing device is turned off.
The four endpoints of the switch node provided by the embodiment of the application include: a first endpoint Port1, a second endpoint Port2, a third endpoint Port3, and a fourth endpoint Port4. As a possible implementation, the connection state between the four endpoints includes any one of the following:
all four endpoints are disconnected;
the first end Port1 and the second end Port2 are connected to form a signal path;
the first end point Port1 and the third end point Port3 are connected to form a signal path;
the second end point Port2 is connected with the fourth end point Port4 to form a signal path;
the first Port1 and the third Port3 are connected and the second Port2 and the fourth Port4 are connected to form 2 signal paths.
The switch matrix provided by the embodiment of the application passes through N 2 The connection state of the plurality of switching nodes may form a plurality of signal paths. Specifically, as a possible implementation, when all of the four terminals of the switch node are turned off, it indicates that no signal path of the plurality of signal paths passes through the switch node; when a first end point Port1 and a third end point Port3 or a second end point Port2 and a fourth end point Port4 of a switch node are connected, it indicates that one of a plurality of signal paths passes through the switch node; when the first and third end points Port1 and Port3 and the second and fourth end points Port2 and Port4 of the switching node are connected, it indicates that two signal paths of the plurality of signal paths pass through the node.
Therefore, the switch node provided by the embodiment of the application can have at most two signal paths to pass through, and can have at least no signal path to pass through. It should be understood that, because the switch node provided in the embodiment of the present application may have two signal paths passing through at the same time, the switch matrix provided in the embodiment of the present application may provide more diversified signal paths, and the flexibility of the terminal module power consumption testing device provided in the embodiment of the present application is increased to a certain extent.
In order to better understand the terminal module power consumption testing device provided in the embodiment of the present application, a specific implementation manner of the switch node in the switch matrix will be described below with reference to the accompanying drawings.
Referring to fig. 4, a circuit diagram of a switching node according to an embodiment of the present application is shown.
As shown in fig. 4, N provided in the embodiments of the present application 2 Each of the plurality of switching nodes includes: a first switch K1, a second switch K2 and a third switch K3. The first switch K1 is connected between the first end point Port1 and the second end point Port2, the second switch K2 is connected between the first end point Port1 and the third end point Port3, and the third switch K3 is connected between the second end point Port2 and the fourth end point Port4.
The controller 202 is specifically configured to control connection states of the first switch K1, the second switch K2, and the third switch K3 according to a line sequence between the terminal module and the terminal motherboard. The controller in the embodiment of the present application can realize various connection states among four end points (Port 1, port2, port3, and Port 4) of the switch node by controlling the connection states of the first switch K1, the second switch K2, and the third switch K3. For example: when the first switch K1, the second switch K2 and the third switch K3 are all disconnected, the four end points of the switch node are all disconnected; when the first switch K1 is closed and the second switch K2 and the third switch K3 are disconnected, the first end point Port1 and the third end point Port3 of the switch node are connected to form a signal path; when the second switch K2 is closed and the first switch K1 and the third switch K3 are opened, the second end point Port2 and the fourth end point Port4 of the switch node are connected to form a signal path; when the second switch K2 and the third switch K3 are closed, the first switch K1 is opened, the first end point Port1 and the third end point Port3 of the switch node are connected, and the second end point Port2 and the fourth end point Port4 are connected to form a signal path.
The circuit structure of the switch matrix is mainly described above, and the specific scheme for controlling the switch matrix by the controller will be described below.
As a possible embodiment, the controller is specifically configured to control the connection states of the first switch, the second switch and the third switch in accordance with the electronic switch signal matrix.
The switching signal matrix comprises 2 N corresponding to each switch node 2 Number of values, N 2 The values form a matrix of N x N values. Wherein, N 2 Different ones of the values correspond to different connection states of the first switch, the second switch and the third switch. As an example, an embodiment of the present application provides a control signal matrix of a switch matrix: { [5,1,2, \ 8230;, 2,2]
[5,3,5,5,1,2,…,2,2,2,2]
[5,3,5,1,5,2,…,2,2,2,2]
[5,3,1,5,5,2,…,2,2,2,2]
[1,3,5,5,5,2,…,2,2,2,2]
[5,3,5,5,5,1,…,2,2,2,2]
[3,3,3,3,3,3,…,5,5,5,1]
[3,3,3,3,3,3,…,1,2,2,0]
[3,3,3,3,3,3,…,3,5,1,0]
[3,3,3,3,3,3,…,3,1,0,0]}
As indicated above, 0 in the matrix represents a total disconnection between the four endpoints; 1 represents that a first end point Port1 and a second end point Port2 are connected to form a signal path; 2, a first end Port1 and a third end Port3 are connected to form a signal path; 3 represents that the second end point Port2 and the fourth end point Port4 are connected to form a signal path; and 5, the first end point Port1 is connected with the third end point Port3, and the second end point Port2 is connected with the fourth end point Port4 to form a signal path.
The controller provided by the embodiment of the application can directly receive the input switch signal matrix and control the switch matrix according to the switch signal matrix. The controller can also receive other types of control signals, as long as the control signals contain the line sequence between the terminal module and the terminal main board, the controller can control the switch matrix to form a signal path corresponding to the line sequence between the terminal module and the terminal main board, and in addition, the controller can also generate the control signals to control the switch matrix.
The structure and control scheme of the switch matrix are mainly described above, and the detection circuit and its related circuit elements provided in the embodiments of the present application will be described below with reference to the accompanying drawings.
As a possible implementation manner, the terminal module power consumption testing device provided in this embodiment of the present application may further include: n detection resistors; the first ends of the N detection resistors are respectively connected with the N first pins; second ends of the N detection resistors are respectively connected with the N switch nodes in the first row; the power consumption data comprises voltages at two ends of the detection resistors corresponding to the plurality of signal paths; and the detection circuit is specifically used for detecting the voltage at two ends of at least one resistor in the N detection resistors and acquiring power consumption data. In the following, taking N equal to 40 as an example, that is, a group of pins in a switch matrix includes 40 pins, a detection resistor in the terminal module power consumption testing apparatus provided in the embodiment of the present application will be described.
Referring to fig. 5, the figure is a schematic diagram of a terminal module power consumption testing apparatus including a detection resistor according to an embodiment of the present application.
As shown in fig. 5, the terminal module power consumption testing apparatus provided in the embodiment of the present application includes 40 detection resistors, i.e., R1 to R40. The first ends of the 40 detection resistors R1-R40 are respectively connected with 40 pins in the first group of pins, namely pins 1-40; the second terminals of the 40 detection resistors R1-R40 are respectively connected to the 40 switch nodes in the first row of the switch matrix 201.
The power consumption data provided by the embodiment of the application can comprise voltages at two ends of the detection resistors corresponding to the plurality of signal paths; and the detection circuit is specifically used for detecting the voltage at two ends of at least one resistor in the 40 detection resistors and acquiring power consumption data. It should be noted that the switch matrix in the embodiment of the present application forms a plurality of signal paths, and the detection circuit provided in the embodiment of the present application may detect power consumption of any one of the plurality of signal paths through the detection resistor, but in practical applications, the detection circuit may detect only voltages on a part of the plurality of signal paths, so that complete power consumption data may be obtained. For example: when the power consumption of the LCD needs to be detected, the bias signals VSP and VSN, the backlight power signal LEDA, and the interface power signal (VIO) need to be measured.
Therefore, the detection circuit provided in the embodiment of the present application may collect voltages at two ends of any number of detection resistors, and the embodiment of the present application is not limited herein. As a possible implementation manner, the detection circuit is specifically configured to obtain the current of the detection resistor according to the voltage across the detection resistor and the resistance value of the detection resistor, and determine the power consumption of the terminal module according to the current of the detection resistor and the voltage across the detection resistor.
As another possible implementation manner, the terminal module power consumption testing device provided in this embodiment of the present application may further include: n detection resistors; the first ends of the N detection resistors are respectively connected with the N second pins; second ends of the N detection resistors are respectively connected with N switch nodes in the first column; the power consumption data comprises voltages at two ends of the detection resistors corresponding to the plurality of signal paths; and the detection circuit is specifically used for detecting the voltage at two ends of at least one detection resistor in the N detection resistors and acquiring power consumption data. Another detection resistor in the terminal module power consumption testing apparatus provided in the embodiment of the present application will be described below by taking N equal to 40 as an example, that is, a group of pins in the switch matrix includes 40 pins.
Referring to fig. 6, the figure is a schematic view of another power consumption testing apparatus for a termination module including a detection resistor according to an embodiment of the present application.
As shown in fig. 6, the terminal module power consumption testing apparatus provided in the embodiment of the present application includes 40 detection resistors, i.e., R1 to R40. The first ends of the 40 detection resistors R1-R40 are respectively connected with 40 pins in the second group of pins, namely a pin A-pin AO; second ends of the 40 detection resistors R1-R40 are respectively connected to the 40 switch nodes of the first column of the switch matrix 201.
It should be understood that the detection resistor provided in the embodiment of the present application may be connected to not only the first group of pins but also the second group of pins, and any one of the plurality of signal paths formed by the switch matrix is connected to at least one detection resistor.
The specific structure of the detection circuit provided in the embodiments of the present application will be described below with reference to the accompanying drawings.
Referring to fig. 7, the diagram is a schematic diagram of a detection circuit according to an embodiment of the present disclosure.
As shown in fig. 7, the detection circuit 203 provided in the embodiment of the present application includes: a voltage detection circuit 213 and an analog-to-digital converter 223. The voltage detection circuit 213 is used for detecting the voltages at two ends of the detection resistors R1-RN, and the analog-to-digital converter 223 is used for converting the obtained voltage analog signals into data signals to be sent to the controller.
The voltage detection circuit 213 includes: n detection switches, namely K1-KN. First ends of the N detection switches K1-KN are connected with a first input end of the analog-to-digital converter 223, second ends of the N detection switches K1-KN are respectively connected with first ends of the N detection resistors R1-RN, and second ends of the N detection resistors R1-RN are connected with the analog-to-digital converter 223;
and the controller is further used for controlling the detection switches corresponding to the power consumption data in the N detection switches K1-KN to be sequentially closed, so that the detection circuit 203 sequentially detects the voltages at two ends of the detection resistor corresponding to the power consumption data to obtain the power consumption data. In practical applications, the detection circuit provided in the embodiment of the present application may not need to detect the detection resistors on all signal paths, and only needs to detect the voltages at two ends of the detection resistors on the signal paths related to the power consumption of the terminal module.
For example, when the power consumption of the terminal module X is tested, the signal paths related to the power consumption of the terminal module X are signal path 1, signal path 2 and signal path 3, respectively. The controller provided by the embodiment of the application can control the detection switch corresponding to the signal path 1 to be turned on, other detection switches to be turned off, the voltage at two ends of the detection resistor corresponding to the signal path 1 is detected, and the voltage signal is converted into the digital signal and then sent to the controller; then controlling the detection switch corresponding to the signal path 2 to be closed, and other detection switches to be opened, detecting the voltage at two ends of the detection resistor corresponding to the signal path 2, converting the voltage signal into a digital signal and then sending the digital signal to the controller; and finally, the detection switch corresponding to the signal path 3 is controlled to be closed, other detection switches are controlled to be opened, the voltages at two ends of the detection resistor corresponding to the signal path 3 are detected, and the voltage signals are converted into digital signals and then sent to the controller.
As shown in fig. 7, as a possible implementation manner, the voltage detection circuit provided in the embodiment of the present application may further include: a first detection main switch Q1 and a second detection main switch Q2. A first end of the first detection main switch Q1 is connected to a first input end of the analog-to-digital converter 223, and a second end of the first detection main switch Q1 is connected to first ends of the N detection switches; a first end of the second detection main switch Q2 is connected to a second input end of the analog-to-digital converter 223, and a second end of the second detection main switch Q2 is connected to the N detection resistors R1-RN.
The controller is specifically used for controlling the first detection main switch Q1 and the second detection main switch Q2 to be sequentially conducted, so that the detection circuit sequentially obtains a first detection voltage and a second detection voltage; and the controller is also used for obtaining the power consumption of the terminal module according to the first detection voltage, the second detection voltage and the resistance value of the detection resistor. For example, after the detection switch corresponding to the signal path is closed, the controller controls the first detection main switch Q1 to be closed, the second detection main switch Q2 to be opened, and the digital-to-analog converter converts the voltage at the first end of the detection resistor into a data signal and sends the data signal to the controller; then the controller controls the second detection main switch Q2 to be closed, the first detection main switch Q1 is opened, and the digital-to-analog converter converts the voltage of the second end of the detection resistor into a data signal and sends the data signal to the controller; the controller obtains the voltages at the two ends of the detection resistor according to the voltage at the first end of the detection resistor and the voltage at the second end of the detection resistor, and obtains the power consumption of the terminal module according to the voltages at the two ends of the detection resistor and the resistance value of the detection resistor.
In addition to the switch matrix, the controller, and the detection circuit provided in the foregoing embodiments, the terminal module power consumption test apparatus provided in this embodiment may further include a first group of board-to-board connectors and a second group of board-to-board connectors, and the terminal module power consumption test apparatus including the first group of board-to-board connectors and the second group of board-to-board connectors provided in this embodiment is specifically described below with reference to the accompanying drawings.
Referring to fig. 8, the figure is a schematic view of a terminal module power consumption testing apparatus provided in the embodiment of the present application.
As shown in fig. 8, the terminal module power consumption testing apparatus provided in the embodiment of the present application further includes: a first set of board-to-board connectors 204 and a second set of board-to-board connectors 205.
Wherein, the first ends of the first group of board-to-board connectors 204 are connected with the first group of pins; a second end of the board-to-board connector of the first set of board-to-board connectors 204, which is matched with the terminal module, for connecting the terminal module 100; the first ends of the second set of board-to-board connectors 205 are connected to a second set of pins; a second end of the board-to-board connector of the second set of board-to-board connectors 205, which mates with the terminal motherboard, is used to connect the terminal motherboard 300.
The first group of board-to-board connectors and the second group of board-to-board connectors provided by the embodiments of the present application include multiple types of board-to-board connectors, for example: the 32 pin, 40 pin and 50 pin board-to-board connectors, the terminal module and the terminal motherboard also include a board-to-board connector. The board-to-board connector of the terminal module is connected with the matched board-to-board connector in the first group of board-to-board connectors, and the board-to-board connector of the terminal mainboard is connected with the matched board-to-board connector in the second group of board-to-board connectors. Therefore, the terminal module power consumption testing equipment provided by the embodiment of the application can be connected with various types of terminal modules and terminal mainboards.
To sum up, the terminal module power consumption testing equipment provided by the embodiment of the application comprises a switch matrix, wherein the switch matrix comprises a plurality of switches. The line sequence between different terminal modules and terminal motherboards is different, which results in the difference of signal paths between different terminal modules and terminal motherboards. The switch matrix provided by the embodiment of the application can form different signal paths between the first group of pins and the second group of pins through different connection states of the switches, so that the terminal module and the terminal mainboard are connected according to a specific line sequence. Therefore, the terminal module power consumption testing equipment provided by the embodiment of the application can be connected with the second group of pins according to a specific mapping relation through the connection states of the switches, so that different line sequences between various terminal modules and the terminal mainboard can be adapted, the power consumption testing equipment provided by the embodiment of the application can be widely applied between various terminal modules and the terminal mainboard, the universality of the power consumption testing equipment is improved, and the cost of the power consumption testing equipment is reduced.
According to the terminal module power consumption testing device provided by the embodiment, the embodiment of the application further provides a terminal module power consumption testing method.
Referring to fig. 9, the figure is a flowchart of a method for testing power consumption of a terminal module according to an embodiment of the present application.
The terminal module power consumption testing method provided by the embodiment of the application is applied to terminal module power consumption testing equipment, and the terminal module power consumption testing equipment comprises the following steps: a switch matrix and a detection circuit, the switch matrix including a plurality of switches; the first group of pins of the switch matrix is used for connecting the terminal module; the second group of pins of the switch matrix is used for connecting the terminal mainboard; as shown in fig. 9, the method includes:
s901: and controlling the switch states of the switches according to the line sequence between the terminal module and the terminal mainboard, so that a plurality of signal paths corresponding to the line sequence are formed between the first group of pins and the second group of pins.
S902: power consumption data in a plurality of signal paths is acquired by a detection circuit.
S903: and obtaining the power consumption of the terminal module according to the power consumption data.
It should be understood that the signal paths in the embodiment of the present application are not fixed circuits, but temporary paths formed by opening or closing a plurality of switches in a switch matrix, and when the line sequence between the terminal module and the terminal motherboard provided in the embodiment of the present application is changed, that is, when a plurality of signal paths between the terminal module and the terminal motherboard are changed, the switch matrix provided in the embodiment of the present application may also be changed along with the change of the plurality of signal paths.
The plurality of switches included in the switch matrix provided by the embodiment of the application can form a plurality of new signal paths according to a new line sequence, so that the universality of the power testing equipment provided by the embodiment of the application is improved. Because the power test equipment that this application embodiment provided can carry out the adaptation with multiple terminal module and terminal mainboard, can use same set of consumption test equipment when consequently measuring the consumption of different terminal modules, reduced consumption test equipment's cost.
As a possible implementation, a plurality of switches in the switch matrix form N 2 A switching node, N 2 The switch nodes are arranged to form a matrix of N x N 2 Each of the switch nodes includes four terminals, N 2 Adjacent switch nodes in the switch nodes are connected through end points; the first group of pins comprises N first pins, and the second group of pins comprises N second pins; n first pins are respectively connected with N 2 The end points of N switch nodes in the first row in the switch nodes are connected; n second pins are respectively connected with N 2 The end points of N switch nodes in the first column in the switch nodes are connected, and N is a positive integer greater than 1. The switching state of a plurality of switches is controlled according to the line sequence between terminal module and the terminal mainboard that this application embodiment provided, makes and forms a plurality of signal path that the line sequence corresponds between first group pin and the second group pin, includes: controlling N according to the line sequence between the terminal module and the terminal mainboard 2 The connection state of four end points in each switch node enables a plurality of signal paths corresponding to the line sequence to be formed between the first group of pins and the second group of pins.
As a possible implementation manner, the terminal module power consumption testing apparatus further includes: n detection resistors; the first ends of the N detection resistors are respectively connected with the N first pins; the second ends of the N detection resistors are respectively connected with the N switch nodes in the first row; the power consumption data includes voltages across the sensing resistors corresponding to the plurality of signal paths. In this embodiment, acquiring power consumption data in multiple signal paths through a detection circuit includes: and detecting the voltage at two ends of at least one resistor in the N detection resistors through the detection circuit to obtain power consumption data.
As a possible implementation manner, the terminal module power consumption testing apparatus in the embodiment of the present application further includes: n detection resistors; the first ends of the N detection resistors are respectively connected with the N second pins; second ends of the N detection resistors are respectively connected with N switch nodes in the first column; the power consumption data includes voltages across the sensing resistors corresponding to the plurality of signal paths. In the embodiment of the present application, acquiring power consumption data in a plurality of signal paths by a detection circuit includes: and detecting the voltage at two ends of at least one resistor in the N detection resistors through the detection circuit to obtain power consumption data.
As a possible implementation manner, the obtaining of the power consumption of the terminal module according to the power consumption data in the embodiment of the present application includes: and obtaining the current of the detection resistor according to the voltage at the two ends of the detection resistor and the resistance value of the detection resistor, and determining the power consumption of the terminal module according to the current of the detection resistor and the voltage at the two ends of the detection resistor.
As a possible implementation manner, the detection circuit in the embodiment of the present application includes: a voltage detection circuit and an analog-to-digital converter; the voltage detection circuit comprises N detection switches; the first ends of the N detection switches are connected with the analog-to-digital converter, the second ends of the N detection switches are respectively connected with the first ends of the N detection resistors, and the second ends of the N detection resistors are connected with the analog-to-digital converter; detect the voltage at least one resistance both ends in N detection resistance through detection circuitry, acquire the consumption data, include: and controlling the detection switches corresponding to the power consumption data in the N detection switches to be closed in sequence, so that the detection circuit detects the voltages at two ends of the detection resistor corresponding to the power consumption data in sequence to obtain the power consumption data.
After the detection circuit detects the voltages at the two ends of the detection resistor corresponding to the power consumption data in sequence, the power consumption data can be traversed to determine whether all the power consumption data are detected completely, and if the power consumption data are not detected completely, the detection switch corresponding to the undetected power consumption data is controlled to be closed to obtain the undetected power consumption data.
As a possible implementation manner, the voltage detection circuit in the embodiment of the present application further includes: a first detection main switch and a second detection main switch; the first end of the first detection main switch is connected with the first input end of the analog-to-digital converter, and the second end of the first detection main switch is connected with the N detection switches; the first end of the second detection main switch is connected with the second input end of the analog-to-digital converter, and the second end of the second detection main switch is connected with the N detection resistors. In this application embodiment, detect the voltage at least one resistance both ends in N detection resistance through detection circuitry, acquire the consumption data, include: controlling the first detection main switch and the second detection main switch to be sequentially conducted, so that the detection circuit sequentially obtains a first detection voltage and a second detection voltage; the power consumption of obtaining the terminal module according to the power consumption data in the embodiment of the application includes: and obtaining the power consumption of the terminal module according to the first detection voltage, the second detection voltage and the resistance value of the detection resistor.
To sum up, the power consumption testing method for the terminal module, provided by the embodiment of the application, can enable the first group of pins and the second group of pins to be connected according to a specific mapping relationship by controlling the connection states of the plurality of switches, so as to adapt to different line sequences between various terminal modules and a terminal mainboard. Therefore, the power consumption testing method provided by the embodiment of the application can be matched with different terminal mainboards and different terminal modules, the universality of power consumption testing is improved, and the cost of the power consumption testing is reduced.
According to the terminal module power consumption testing device and the terminal module power consumption testing method provided by the embodiment, the embodiment of the application further provides a terminal module power consumption testing system.
Referring to fig. 10, the figure is a schematic diagram of a system for testing power consumption of a terminal module according to an embodiment of the present application.
As shown in fig. 10, the terminal module power consumption testing apparatus provided in the embodiment of the present application includes: the terminal comprises a switch matrix 201, a controller 202, a detection circuit 203 and a terminal main board 300, wherein the switch matrix 201 comprises a plurality of switches;
a first group of pins of the switch matrix 201 is used for connecting the terminal module; a second group of pins of the switch matrix 201 are connected with the terminal main board 300;
the controller 202 is configured to control the on-off states of the switches according to a line sequence between the terminal module 100 and the terminal motherboard 300, so that a plurality of signal paths corresponding to the line sequence are formed between the first group of pins and the second group of pins;
a detection circuit 203 for acquiring power consumption data in a plurality of signal paths;
and the controller 202 is further configured to obtain power consumption of the terminal module according to the power consumption data.
To sum up, the terminal module power consumption test system that this application embodiment provided can make first group pin and second group pin connect according to specific mapping relation through the connection state of a plurality of switches for the line order of the multiple terminal module of adaptation makes the power consumption test system that this application embodiment provided can wide application in multiple terminal module, has improved power consumption test system's universality, has reduced power consumption test system's cost.
It should be understood that in the present application, "at least one" means one or more, "a plurality" means two or more. "and/or" for describing an association relationship of associated objects, indicating that there may be three relationships, e.g., "a and/or B" may indicate: only A, only B and both A and B are present, wherein A and B may be singular or plural. The character "/" generally indicates that the former and latter associated objects are in an "or" relationship. "at least one of the following" or similar expressions refer to any combination of these items, including any combination of single item(s) or plural items. For example, at least one (one) of a, b, or c, may represent: a, b, c, "a and b", "a and c", "b and c", or "a and b and c", wherein a, b, c may be single or plural.
The foregoing is illustrative of the preferred embodiments of the present application and is not to be construed as limiting the present application in any way. Although the present application has been described with reference to the preferred embodiments, it is not intended to limit the present application to the details shown. Those skilled in the art can now make numerous possible variations and modifications to the disclosed embodiments, or modify equivalent embodiments, using the methods and techniques disclosed above, without departing from the scope of the claimed embodiments. Therefore, any simple modification, equivalent change and modification made to the above embodiments according to the technical essence of the present application still fall within the protection scope of the technical solution of the present application without departing from the content of the technical solution of the present application.

Claims (16)

1. A terminal module power consumption test equipment, characterized in that includes: the circuit comprises a switch matrix, a controller and a detection circuit, wherein the switch matrix comprises a plurality of switches;
the first group of pins of the switch matrix is used for connecting the terminal module; the second group of pins of the switch matrix is used for connecting a terminal mainboard;
a plurality of switches in the switch matrix form N 2 A switch node, N 2 The switch nodes are arranged to form a matrix of N x N 2 Each of the switch nodes includes four endpoints, N 2 Adjacent switch nodes in the switch nodes are connected through the end points;
the first group of pins comprises N first pins, and the second group of pins comprises N second pins;
the N first pins are respectively connected with the N 2 The end points of N switch nodes in the first row in the switch nodes are connected; the N second pins are respectively connected with the N 2 The end points of N switch nodes in a first column in the switch nodes are connected, wherein N is a positive integer greater than 1;
the controller is specifically configured to control the N according to a line sequence between the terminal module and the terminal motherboard 2 The connection state among four end points in each switch node enables a plurality of signal paths corresponding to the line sequence to be formed between the first group of pins and the second group of pins;
the detection circuit is used for acquiring power consumption data in the plurality of signal paths;
the controller is further used for obtaining the power consumption of the terminal module according to the power consumption data; the four endpoints include: a first endpoint, a second endpoint, a third endpoint, and a fourth endpoint;
the connection state between the four endpoints includes any one of:
all four endpoints are disconnected;
the first end point and the second end point are connected to form a signal path;
the first end point and the third end point are connected to form a signal path;
the second end point and the fourth end point are connected to form a signal path;
the first end point is connected with the third end point, and the second end point is connected with the fourth end point to form a signal path.
2. The apparatus of claim 1, wherein each of the switching nodes comprises: a first switch, a second switch, and a third switch;
the first switch is connected between the first end point and the second end point, the second switch is connected between the first end point and the third end point, and the third switch is connected between the second end point and the fourth end point;
the controller is specifically configured to control connection states of the first switch, the second switch, and the third switch according to a line sequence between the terminal module and the terminal motherboard.
3. The apparatus of claim 2, wherein the controller is specifically configured to control connection states of the first switch, the second switch, and the third switch according to a switch signal matrix;
the switching signal matrix comprises N 2 N corresponding to each switch node 2 A numerical value; said N is 2 Different ones of the values correspond to different connection states of the first switch, the second switch and the third switch.
4. The apparatus of claim 1, further comprising: a first set of board-to-board connectors and a second set of board-to-board connectors;
the first ends of the first group of board-to-board connectors are connected with the first group of pins; the second end of the board-to-board connector, which is matched with the terminal module, in the first group of board-to-board connectors is used for connecting the terminal module;
the first ends of the second group of board-to-board connectors are connected with the second group of pins; and the second end of the board-to-board connector, which is matched with the terminal mainboard, in the second group of board-to-board connectors is used for connecting the terminal mainboard.
5. The apparatus of claim 4, further comprising: n detection resistors;
the first ends of the N detection resistors are respectively connected with the N first pins; second ends of the N detection resistors are respectively connected with the N switch nodes in the first row;
the power consumption data comprises voltages at two ends of the detection resistor corresponding to the plurality of signal paths;
the detection circuit is specifically configured to detect a voltage across at least one resistor of the N detection resistors, and acquire the power consumption data.
6. The apparatus of claim 4, further comprising: n detection resistors;
the first ends of the N detection resistors are respectively connected with the N second pins; second ends of the N detection resistors are respectively connected with the N switch nodes in the first column;
the power consumption data comprises voltages at two ends of the detection resistor corresponding to the plurality of signal paths;
the detection circuit is specifically configured to detect voltages at two ends of at least one of the N detection resistors, and obtain the power consumption data.
7. The device according to claim 5 or 6, wherein the controller is specifically configured to obtain a current of the detection resistor according to the voltage across the detection resistor and the resistance value of the detection resistor, and determine the power consumption of the terminal module according to the current of the detection resistor and the voltage across the detection resistor.
8. The apparatus of claim 5 or 6, wherein the detection circuit comprises: a voltage detection circuit and an analog-to-digital converter; the voltage detection circuit comprises N detection switches;
the first ends of the N detection switches are connected with the analog-to-digital converter, the second ends of the N detection switches are respectively connected with the first ends of the N detection resistors, and the second ends of the N detection resistors are connected with the analog-to-digital converter;
the controller is further used for controlling the detection switches corresponding to the power consumption data in the N detection switches to be closed in sequence, so that the detection circuits detect the voltages at two ends of the detection resistors corresponding to the power consumption data in sequence, and the power consumption data are obtained.
9. The apparatus of claim 8, wherein the voltage detection circuit further comprises: a first detection main switch and a second detection main switch;
the first end of the first detection main switch is connected with the first input end of the analog-to-digital converter, and the second end of the first detection main switch is connected with the N detection switches; the first end of the second detection main switch is connected with the second input end of the analog-to-digital converter, and the second end of the second detection main switch is connected with the N detection resistors;
the controller is specifically configured to control the first detection main switch and the second detection main switch to be sequentially turned on, so that the detection circuit sequentially obtains a first detection voltage and a second detection voltage; the controller is further configured to obtain power consumption of the terminal module according to the first detection voltage, the second detection voltage and the resistance value of the detection resistor.
10. A terminal module power consumption testing method is characterized in that the method is applied to terminal module power consumption testing equipment, and the terminal module power consumption testing equipment comprises the following steps: switch matrix and detection circuit, thereforThe switch matrix comprises a plurality of switches; the first group of pins of the switch matrix is used for connecting the terminal module; the second group of pins of the switch matrix is used for connecting a terminal mainboard; a plurality of switches in the switch matrix form N 2 A switching node, N 2 The switch nodes are arranged to form a matrix of N x N 2 Each of the switch nodes comprises four end points, N 2 Adjacent ones of the switch nodes are connected by the end points;
the first group of pins comprises N first pins, and the second group of pins comprises N second pins;
the N first pins are respectively connected with the N 2 The end points of the N switch nodes in the first row in the switch nodes are connected; the N second pins are respectively connected with the N 2 The end points of N switch nodes in a first column in the switch nodes are connected, wherein N is a positive integer greater than 1; the method comprises the following steps:
controlling the N according to the line sequence between the terminal module and the terminal mainboard 2 The connection state of four end points in each switch node enables a plurality of signal paths corresponding to the line sequence to be formed between the first group of pins and the second group of pins;
acquiring, by the detection circuit, power consumption data in the plurality of signal paths;
obtaining the power consumption of the terminal module according to the power consumption data;
the four endpoints include: a first endpoint, a second endpoint, a third endpoint, and a fourth endpoint;
the connection state between the four endpoints includes any one of:
all four endpoints are disconnected;
the first end point and the second end point are connected to form a signal path;
the first end point and the third end point are connected to form a signal path;
the second end point and the fourth end point are connected to form a signal path;
the first end point is connected with the third end point, and the second end point is connected with the fourth end point to form a signal path.
11. The method of claim 10, wherein the terminal module power consumption test equipment further comprises: n detection resistors; the first ends of the N detection resistors are respectively connected with the N first pins; second ends of the N detection resistors are respectively connected with the N switch nodes in the first row; the power consumption data comprises voltages at two ends of the detection resistor corresponding to the plurality of signal paths;
the acquiring, by the detection circuit, power consumption data in the plurality of signal paths includes:
and detecting the voltage at two ends of at least one resistor in the N detection resistors through the detection circuit to obtain the power consumption data.
12. The method of claim 10, wherein the terminal module power consumption test equipment further comprises: n detection resistors; the first ends of the N detection resistors are respectively connected with the N second pins; second ends of the N detection resistors are respectively connected with the N switch nodes in the first column; the power consumption data comprises voltages at two ends of the detection resistor corresponding to the plurality of signal paths;
the acquiring, by the detection circuit, power consumption data in the plurality of signal paths includes:
and detecting the voltage at two ends of at least one resistor in the N detection resistors through the detection circuit to obtain the power consumption data.
13. The method according to claim 11 or 12, wherein the obtaining of the power consumption of the terminal module according to the power consumption data comprises:
and obtaining the current of the detection resistor according to the voltage at the two ends of the detection resistor and the resistance value of the detection resistor, and determining the power consumption of the terminal module according to the current of the detection resistor and the voltage at the two ends of the detection resistor.
14. The method of claim 11 or 12, wherein the detection circuit comprises: a voltage detection circuit and an analog-to-digital converter; the voltage detection circuit comprises N detection switches;
the first ends of the N detection switches are connected with the analog-to-digital converter, the second ends of the N detection switches are respectively connected with the first ends of the N detection resistors, and the second ends of the N detection resistors are connected with the analog-to-digital converter;
the detecting circuit detects the voltage at two ends of at least one resistor in the N detecting resistors to obtain the power consumption data, and the detecting circuit includes:
and controlling the detection switches corresponding to the power consumption data in the N detection switches to be closed in sequence, so that the detection circuit detects the voltages at two ends of the detection resistor corresponding to the power consumption data in sequence to obtain the power consumption data.
15. The method of claim 14, wherein the voltage detection circuit further comprises: a first detection main switch and a second detection main switch; the first end of the first detection main switch is connected with the first input end of the analog-to-digital converter, and the second end of the first detection main switch is connected with the N detection switches; the first end of the second detection main switch is connected with the second input end of the analog-to-digital converter, and the second end of the second detection main switch is connected with the N detection resistors;
the detecting circuit detects the voltage at two ends of at least one resistor in the N detecting resistors to obtain the power consumption data, and the detecting circuit includes:
controlling the first detection main switch and the second detection main switch to be sequentially conducted, so that the detection circuit sequentially obtains a first detection voltage and a second detection voltage;
the obtaining of the power consumption of the terminal module according to the power consumption data includes:
and obtaining the power consumption of the terminal module according to the first detection voltage, the second detection voltage and the resistance value of the detection resistor.
16. A terminal module power consumption test system, comprising: the system comprises a switch matrix, a controller, a detection circuit and a terminal main board, wherein the switch matrix comprises a plurality of switches; the first group of pins of the switch matrix is used for connecting the terminal module; a second group of pins of the switch matrix are connected with the terminal main board; a plurality of switches in the switch matrix form N 2 A switch node, N 2 The switch nodes are arranged to form a matrix of N x N, N 2 Each of the switch nodes comprises four end points, N 2 Adjacent switch nodes in the switch nodes are connected through the end points;
the first group of pins comprises N first pins, and the second group of pins comprises N second pins;
the N first pins are respectively connected with the N 2 The end points of N switch nodes in the first row in the switch nodes are connected; the N second pins are respectively connected with the N 2 The end points of N switch nodes in a first column in the switch nodes are connected, wherein N is a positive integer greater than 1;
the controller is used for controlling the N according to the line sequence between the terminal module and the terminal mainboard 2 The connection state of four end points in each switch node enables a plurality of signal paths corresponding to the line sequence to be formed between the first group of pins and the second group of pins;
the detection circuit is used for acquiring power consumption data in the plurality of signal paths;
the controller is further used for obtaining the power consumption of the terminal module according to the power consumption data;
the four endpoints include: a first endpoint, a second endpoint, a third endpoint, and a fourth endpoint;
the connection state between the four endpoints includes any one of:
all four endpoints are disconnected;
the first end point and the second end point are connected to form a signal path;
the first end point and the third end point are connected to form a signal path;
the second end point and the fourth end point are connected to form a signal path;
the first end point is connected with the third end point, and the second end point is connected with the fourth end point to form a signal path.
CN202111028490.2A 2021-09-02 2021-09-02 Terminal module power consumption testing device, method and system Active CN114994402B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111028490.2A CN114994402B (en) 2021-09-02 2021-09-02 Terminal module power consumption testing device, method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111028490.2A CN114994402B (en) 2021-09-02 2021-09-02 Terminal module power consumption testing device, method and system

Publications (2)

Publication Number Publication Date
CN114994402A CN114994402A (en) 2022-09-02
CN114994402B true CN114994402B (en) 2023-04-11

Family

ID=83018862

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111028490.2A Active CN114994402B (en) 2021-09-02 2021-09-02 Terminal module power consumption testing device, method and system

Country Status (1)

Country Link
CN (1) CN114994402B (en)

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI372874B (en) * 2009-03-11 2012-09-21 Star Techn Inc Method for configuring a combinational switching matrix and testing system for semiconductor devices using the same
CN102778647B (en) * 2012-08-17 2015-04-15 中国科学院高能物理研究所 System and method for circuit testing
CN105510736B (en) * 2015-11-26 2019-03-12 北京东方计量测试研究所 A kind of test macro and method of satellite borne equipment
CN208188289U (en) * 2018-04-08 2018-12-04 深圳辉烨通讯技术有限公司 A kind of test macro of circuit power consumption
CN108983082A (en) * 2018-08-03 2018-12-11 德丰电创科技股份有限公司 Matrix switch de-vice and system
CN111351983A (en) * 2018-12-24 2020-06-30 北京忆恒创源科技有限公司 Power consumption measuring system and method thereof
CN110609223A (en) * 2019-06-25 2019-12-24 眸芯科技(上海)有限公司 Automatic test system and method for embedded system
CN110851386B (en) * 2019-10-24 2021-05-04 深圳市信锐网科技术有限公司 Interface configuration equipment
CN112750388A (en) * 2019-10-31 2021-05-04 海信视像科技股份有限公司 Test method

Also Published As

Publication number Publication date
CN114994402A (en) 2022-09-02

Similar Documents

Publication Publication Date Title
KR102230405B1 (en) Automatic data bus wire integrity verification device
CN104569730A (en) Cable testing system applied to minisatellite
US4467275A (en) DC characteristics measuring system
US9465062B2 (en) Device and method for automatically detecting low voltage differential signal interface matching resistor
CN204595098U (en) Micro-resistance testing device
US7378835B2 (en) Interleaved differential multiplexer
CN114994402B (en) Terminal module power consumption testing device, method and system
EP1655612A1 (en) Universal test fixture
CN102945648B (en) Test device and test method for display apparatus
CN102445651B (en) Device for testing touch screen functional circuit on circuit board
CN104237642A (en) Automatic hall resistivity testing method
CN103529285A (en) Test equipment for automatically detecting power consumption of PCIE (Peripheral Component Interface Express) equipment
CN102288894A (en) Method and device for testing functional circuit of touch screen of motherboard
CN211123024U (en) PCB branch current detection device and PCB detection system
CN1797012A (en) Impedance measurement system and method
CN201876523U (en) Circuit board schematic diagram plotting device
CN102393504A (en) Plotting device of schematic diagram of circuit board
RU158297U1 (en) AUTOMATED DEVICE FOR FUNCTIONAL MONITORING AND MONITORING OF PARAMETERS OF ELECTRIC CIRCUITS OF COMPLEX TECHNICAL PRODUCTS
CN216209536U (en) Test system, intelligent module and smart machine
CN216696545U (en) Channel multiplexing module, chip interface board and detection device
CN216248275U (en) Multi-core wire open circuit short circuit detection device
CN108717138A (en) A kind of substrate current test circuit and system
CN216771824U (en) Conversion device for rapidly checking current detection loop problem
US6617841B2 (en) Method and apparatus for characterization of electronic circuitry
CN109061524A (en) Power supply test circuit 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