CN106771708B - Hot plug test method and device for interconnection power supply of master equipment and slave equipment - Google Patents
Hot plug test method and device for interconnection power supply of master equipment and slave equipment Download PDFInfo
- Publication number
- CN106771708B CN106771708B CN201611033651.6A CN201611033651A CN106771708B CN 106771708 B CN106771708 B CN 106771708B CN 201611033651 A CN201611033651 A CN 201611033651A CN 106771708 B CN106771708 B CN 106771708B
- Authority
- CN
- China
- Prior art keywords
- signal
- power
- power supply
- master device
- voltage
- 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
Links
Images
Classifications
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01R—MEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
- G01R31/00—Arrangements for testing electric properties; Arrangements for locating electric faults; Arrangements for electrical testing characterised by what is being tested not provided for elsewhere
Landscapes
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Power Sources (AREA)
- Details Of Connecting Devices For Male And Female Coupling (AREA)
Abstract
The invention discloses a hot plug test method and a hot plug test device for interconnection power supply of main equipment and slave equipment, wherein a power supply interface of the main equipment comprises a power supply output terminal and a signal receiving terminal, and a power receiving interface of the slave equipment comprises a power supply receiving terminal and a signal sending terminal, wherein the test method comprises the following steps: a first signal source is arranged between the power output terminal and the power receiving terminal, and a second signal source is arranged between the signal receiving terminal and the signal transmitting terminal; controlling the power supply interface of the master equipment to be plugged with the power receiving interface of the slave equipment; collecting a first voltage signal between a power output terminal and a power receiving terminal, a first current signal of the power receiving terminal and a second voltage signal between the signal receiving terminal and a signal sending terminal; and determining hot plug test results of the master equipment and the slave equipment according to the first voltage signal, the first current signal and the second voltage signal. The technical scheme of the invention can test whether the hot plug function of the interconnection power supply of the master equipment and the slave equipment is normal.
Description
Technical Field
The invention relates to the technical field of hot plug, in particular to a hot plug test method and a hot plug test device for interconnection power supply of master equipment and slave equipment.
Background
Hot plug is an operation of inserting or extracting a slave device when the master device is charged.
In the production process of the master device and the slave device, if the power output management mechanism of the master device or the hot plug interface of the master device and the slave device is set unreasonably, the hot plug function of the master device or the slave device is abnormal. In this way, during the hot plug operation of the master device and the slave device, situations such as electric shock, incapability of working of the slave device due to incapability of obtaining power supply through the master device, and the like are easy to occur.
Therefore, after the master device and the slave device are designed, hot plug test needs to be performed on the master device and the slave device. However, there is currently no relevant testing method or device.
Disclosure of Invention
The invention mainly aims to test whether the hot plug function of the power supply interconnection of the master device and the slave device is normal.
In order to achieve the above object, the present invention provides a hot plug test method for interconnecting power supplies of a master device and a slave device, where a power supply interface of the master device includes a power output terminal and a signal receiving terminal, and a power receiving interface of the slave device includes a power receiving terminal and a signal transmitting terminal, where the method includes the following steps:
a first signal source is arranged between the power output terminal and the power receiving terminal, and a second signal source is arranged between the signal receiving terminal and the signal transmitting terminal;
controlling the power supply interface of the master device to be plugged with the power receiving interface of the slave device;
collecting a first voltage signal between the power output terminal and the power receiving terminal, a first current signal of the power receiving terminal and a second voltage signal between the signal receiving terminal and the signal sending terminal;
and determining hot plug test results of the master equipment and the slave equipment according to the first voltage signal, the first current signal and the second voltage signal.
Preferably, the step of determining the hot plug test result of the master device and the slave device according to the first voltage signal, the current signal and the second voltage signal specifically includes:
when the voltage value corresponding to the first voltage signal is smaller than a first preset voltage value, timing is started;
when the voltage value corresponding to the second voltage signal is smaller than a second preset voltage value, acquiring first timing time;
when the current value corresponding to the first current signal is larger than a first preset current value, acquiring second timing time;
and when the first timing time is within a first preset time interval and the difference value between the second timing time and the first timing time is within a second preset time interval, determining that the hot plug test results of the master equipment and the slave equipment are qualified.
Preferably, after the step of determining the hot plug test result of the master device and the slave device according to the first voltage signal, the first current signal and the second voltage signal, the method further includes:
controlling a power supply interface of the master device to be disconnected from a power receiving interface of the slave device;
collecting a third voltage signal between the signal receiving terminal and the signal sending terminal, a second current signal of the power supply receiving terminal and a fourth voltage signal between the power supply output terminal and the power supply receiving terminal;
and determining hot plug test results of the master equipment and the slave equipment according to the third voltage signal, the second current signal and the fourth voltage signal.
Preferably, the step of determining the hot plug test result of the master device and the slave device according to the third voltage signal, the second current signal and the fourth voltage signal specifically includes:
when the voltage value corresponding to the third voltage signal is greater than a third preset voltage value, timing is started;
when the current value corresponding to the second current signal is smaller than a second preset current value, acquiring a third timing time;
when the voltage value corresponding to the fourth voltage signal is greater than a fourth preset voltage value, acquiring fourth timing time;
and when the third timing time is within a third preset time interval and the fourth timing time is within a fourth preset time interval, determining that the hot plug test result of the master device and the slave device is qualified.
Preferably, the first signal source is configured to output a constant voltage and a constant current, and the second signal source is configured to output a constant voltage.
Correspondingly, the present invention further provides a hot plug test apparatus for interconnecting and supplying power to a master device and a slave device, where a power supply interface of the master device includes a power output terminal and a signal receiving terminal, and a power receiving interface of the slave device includes a power receiving terminal and a signal sending terminal, where the apparatus includes:
an auxiliary power supply module, configured to configure a first signal source between the power output terminal and the power receiving terminal, and configure a second signal source between the signal receiving terminal and the signal transmitting terminal;
the plug-in control module is used for controlling the plug-in of the power supply interface of the master equipment and the power receiving interface of the slave equipment;
the first signal acquisition module is used for acquiring a first voltage signal between the power output terminal and the power receiving terminal, a first current signal of the power receiving terminal and a second voltage signal between the signal receiving terminal and the signal sending terminal;
and the first result determining module is used for determining hot plug test results of the master equipment and the slave equipment according to the first voltage signal, the first current signal and the second voltage signal.
Preferably, the first result determination module comprises:
the first timing unit is used for starting timing when the voltage value corresponding to the first voltage signal is smaller than a first preset voltage value;
the first timing time acquisition unit is used for acquiring first timing time when the voltage value corresponding to the second voltage signal is smaller than a second preset voltage value;
the second timing time acquisition unit is used for acquiring second timing time when the current value corresponding to the first current signal is greater than a first preset current value;
and the first result determining unit is used for determining that the hot plug test results of the master device and the slave device are qualified when the first timing time is within a first preset time interval and the difference value between the second timing time and the first timing time is within a second preset time interval.
Preferably, the hot plug test apparatus for interconnecting the master device and the slave device to supply power further includes:
the separation control module is used for controlling the separation of a power supply interface of the master equipment and a power receiving interface of the slave equipment;
the second signal acquisition module is used for acquiring a third voltage signal between the signal receiving terminal and the signal sending terminal, a second current signal of the power supply receiving terminal and a fourth voltage signal between the power supply output terminal and the power supply receiving terminal;
and the second result determining module is used for determining hot plug test results of the master equipment and the slave equipment according to the third voltage signal, the second current signal and the fourth voltage signal.
Preferably, the second result determination module comprises:
the second timing unit is used for starting timing when the voltage value corresponding to the third voltage signal is greater than a third preset voltage value;
a third timing time obtaining unit, configured to obtain a third timing time when the current value corresponding to the second current signal is smaller than a second preset current value;
the fourth timing time acquisition unit is used for acquiring fourth timing time when the voltage value corresponding to the fourth voltage signal is greater than a fourth preset voltage value;
and the second result determining unit is used for determining that the hot plug test result of the master device and the hot plug test result of the slave device are qualified when the third timing time is within a third preset time interval and the fourth timing time is within a fourth preset time interval.
Preferably, the first signal source is configured to output a constant voltage and a constant current, and the second signal source is configured to output a constant voltage.
Advantages of the invention will be set forth in part in the description which follows, and in part will be obvious from the description, or may be learned by practice of the invention.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the structures shown in the drawings without creative efforts.
FIG. 1 is a functional block diagram of an embodiment of a master device and a slave device interconnect power supply;
FIG. 2 is a flowchart illustrating a hot plug test method for interconnecting a master device and a slave device to supply power according to a first embodiment of the present invention;
FIG. 3 is a schematic view of a detailed process of step S400 in FIG. 2;
fig. 4 is a waveform diagram of the first voltage signal, the first current signal, and the second voltage signal during the plugging process of the power supply interface of the master device and the power receiving interface of the slave device.
FIG. 5 is a schematic view of a detailed flow chart of another embodiment of step S400 in FIG. 2;
FIG. 6 is a flowchart illustrating a second embodiment of a hot plug test method for power supply interconnection between a master device and a slave device according to the present invention;
FIG. 7 is a detailed flowchart of one embodiment of step S700 in FIG. 6;
fig. 8 is a waveform diagram of a third voltage signal, a second current signal, and a fourth voltage signal during a process of separating a power supply interface of a master device from a power receiving interface of a slave device;
FIG. 9 is a schematic diagram illustrating a detailed flow of another embodiment of step S700 in FIG. 6;
FIG. 10 is a functional block diagram of a hot plug test apparatus according to a first embodiment of the present invention, in which a master device and a slave device are interconnected to supply power;
FIG. 11 is a block diagram illustrating a refinement function of one embodiment of the first result determination module of FIG. 10;
FIG. 12 is a block diagram illustrating a refinement function of another embodiment of the first result determination module of FIG. 10;
FIG. 13 is a functional block diagram of a hot plug test apparatus according to a second embodiment of the present invention, in which a master device and a slave device are interconnected to supply power;
FIG. 14 is a block diagram illustrating a refinement function of an embodiment of the second result determination module of FIG. 13;
FIG. 15 is a block diagram illustrating a refinement function of another embodiment of the second result determination module of FIG. 13;
fig. 16 is a schematic circuit structure diagram of a third embodiment of a hot plug test apparatus for supplying power to a master device and a slave device in an interconnected manner according to the present invention.
The implementation, functional features and advantages of the objects of the present invention will be further explained with reference to the accompanying drawings.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
It should be noted that, if all the directional indications (such as up, down, left, right, front, and back … …) in the embodiment of the present invention are used, they are only used to explain the relative position relationship between the components, the motion situation, etc. in a specific posture (as shown in the drawing), and if the specific posture is changed, the directional indication is changed accordingly.
In addition, the descriptions related to "first", "second", etc. in the present invention are for descriptive purposes only and are not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include at least one such feature. In addition, technical solutions between various embodiments may be combined with each other, but must be realized by a person skilled in the art, and when the technical solutions are contradictory or cannot be realized, such a combination should not be considered to exist, and is not within the protection scope of the present invention.
Referring to fig. 1, in the present invention, a power supply interface (not shown) of a master device to be tested includes a power output terminal and a signal receiving terminal, and a power receiving interface (not shown) of a slave device includes a power receiving terminal and a signal transmitting terminal.
If the hot plug function of the master device and the slave device to be tested is normal, then:
(1) during the process of inserting the slave into the master:
first, the power output terminal of the master device is brought into contact with the power receiving terminal of the slave device. At this time, the master device does not output power at its power output terminal because it does not receive the power output control signal, and the slave device cannot obtain power supply from the master device through the power receiving terminal.
Then, the signal transmitting terminal of the slave device is brought into contact with the signal receiving terminal of the master device. At this time, the master device obtains a power output control signal through the signal receiving terminal.
Finally, the master device outputs power at its power output terminal, and the slave device obtains power supply from the master device through the power receiving terminal.
(2) In the process of pulling the slave device out of the master device:
first, the signal transmitting terminal of the slave device is disengaged from the signal receiving terminal of the master device. At this time, the power output control signal received by the signal receiving terminal is interrupted.
Then, the master device stops outputting power at its power output terminal because the power output control signal is not received, and the power supply of the slave device is cut off.
Finally, the power receiving terminal of the slave device is disengaged from the signal receiving terminal of the master device.
Thus, hot plug of the power supply of the main device and the slave device are realized.
Based on the above embodiments, the present invention provides a hot plug test method for interconnection power supply of a master device and a slave device, where the method includes the following embodiments:
the first embodiment:
referring to fig. 2, the hot plug test method for interconnecting the master device and the slave device to supply power includes the following steps:
s100, configuring a first signal source between the power output terminal and the power receiving terminal, and configuring a second signal source between the signal receiving terminal and the signal transmitting terminal;
in this embodiment, the first signal source includes a first positive output terminal and a first negative output terminal. In configuring the first signal source, the first positive output terminal is generally electrically connected to the power output terminal, and the first negative output terminal is generally electrically connected to the power receiving terminal. Preferably, the output voltage of the first signal source is VA, and the output current is IA. Typically, VA is between 0-10V; IA ≈ 1 mA.
The second signal source comprises a second positive output end and a second negative output end. In configuring the second signal source, the second positive output terminal is typically electrically connected to the signal receiving terminal, and the second negative output terminal is electrically connected to the signal transmitting terminal. Preferably, the output voltage of the second signal source is VB, and VB is between 0-10V.
S200, controlling a power supply interface of the master equipment to be plugged with a power receiving interface of the slave equipment;
in this embodiment:
(1) if the power supply interface of the master device is flexibly connected with the master device body, and the power receiving interface of the slave device is fixedly connected with the slave device body, the insertion of the power supply interface and the power receiving interface is completed in the following manners:
the power receiving interface of the slave device is fixed, and the power supply interface of the master device is moved and plugged into the power receiving interface of the slave device.
(2) If the power supply interface of the master device is flexibly connected with the master device body and the power receiving interface of the slave device is flexibly connected with the slave device body, the insertion and connection actions of the power supply interface and the power receiving interface are completed in the following manners:
and the power supply interface of the mobile master equipment and the power receiving interface of the slave equipment are plugged.
(3) If the power supply interface of the master device is fixedly connected with the master device body and the power receiving interface of the slave device is fixedly connected with the slave device body, the insertion of the power supply interface and the power receiving interface is completed in the following manners:
after the power supply interface of the master device is fixed and the power receiving interface of the slave device is fixed,
the first end of the flexible connecting wire is connected with the power supply interface, and then the second end of the flexible connecting wire is connected with the power receiving interface; the completion of the plugging of the second end of the flexible connecting wire and the power receiving interface marks the completion of the plugging of the power supply interface and the power receiving interface.
Or the second end of the flexible connecting wire is connected with the power receiving interface, and then the first end of the flexible connecting wire is connected with the power supply interface; the completion of the plugging of the first end of the flexible connecting line and the power supply interface marks the completion of the plugging of the power supply interface and the power receiving interface.
The first end of the flexible connecting line is provided with an auxiliary power receiving interface with the same specification parameters as the power receiving interface, and the second end of the flexible connecting line is provided with an auxiliary power supply interface with the same specification parameters as the power supply interface.
(4) If the power supply interface of the master device is fixedly connected with the master device body and the power receiving interface of the slave device is flexibly connected with the slave device body, the insertion and connection actions of the power supply interface and the power receiving interface are completed in the following manners:
the power supply interface of the master device is fixed, and the power receiving interface of the slave device is moved and plugged with the power supply interface of the master device.
It should be noted that, in the present embodiment, regardless of the connection manner between the power supply interface of the master device and the master device body and the connection manner between the power receiving interface of the slave device and the slave device body, the power receiving terminal and the power output terminal should be associated with each other, and the signal transmitting terminal and the signal receiving terminal should be associated with each other, before the power supply interface of the master device and the power receiving interface of the slave device are plugged into each other.
S300, collecting a first voltage signal between the power output terminal and the power receiving terminal, a first current signal of the power receiving terminal and a second voltage signal between the signal receiving terminal and the signal sending terminal;
it should be noted that, in the whole process of plugging the power supply interface of the master device and the power receiving interface of the slave device, a first voltage signal between the power output terminal and the power receiving terminal, a first current signal of the power receiving terminal, and a second voltage signal between the signal receiving terminal and the signal transmitting terminal need to be collected.
Wherein, the whole process that power supply interface and power receiving interface peg graft includes:
the first stage is as follows: before the power output terminal contacts the power receiving terminal;
and a second stage: the power output terminal and the power receiving terminal are contacted until the signal sending terminal and the signal receiving terminal are contacted;
and a third stage: the signal transmitting terminal and the signal receiving terminal are contacted to the power output terminal before outputting power;
a fourth stage: the power output terminal outputs the power and outputs the power.
S400, determining hot plug test results of the master device and the slave device according to the first voltage signal, the first current signal and the second voltage signal.
It can be understood that, if the hot plug function of the master device and the slave device is normal, in the whole process of plugging the power supply interface and the power receiving interface, the change situations of the voltage value corresponding to the first voltage signal, the current value corresponding to the first current signal, and the voltage value corresponding to the second voltage signal are shown in table 1. In table 1, IR is the current value corresponding to the output power of the output terminal of the main device power supply, generally, IR is much larger than IA, and IR is between 0.1 and 20A.
TABLE 1
That is to say, in the process of plugging the master device and the slave device, if the voltage value corresponding to the first voltage signal, the current value corresponding to the first current signal, and the change condition of the voltage value corresponding to the second voltage signal are shown in table 1, it is indicated that the hot plug function test of the power supply by interconnection of the master device and the slave device is passed, otherwise, the test is failed.
Based on the description of the first embodiment, please refer to fig. 3 and fig. 4, in an embodiment, the step S400 specifically includes:
s410, when the voltage value corresponding to the first voltage signal is smaller than a first preset voltage value, timing is started;
it should be noted that, in this embodiment, the first preset voltage value may be any value between 0 and VA, and the specific size thereof is not limited herein.
It can be understood that the moment when the voltage value corresponding to the first voltage signal is just smaller than the first preset voltage value is the moment when the power output terminal of the master device is in contact with the power receiving terminal of the slave device.
It should be noted that, in the testing process, if the voltage value corresponding to the first voltage signal is not smaller than the first preset voltage value, it is determined that the hot plug test for interconnecting the master device and the slave device to supply power is not qualified.
S420, when the voltage value corresponding to the second voltage signal is smaller than a second preset voltage value, acquiring first timing time;
it should be noted that, in this embodiment, the second preset voltage value may be any value between 0 and VB, and the specific size thereof is not limited herein.
It can be understood that the time when the voltage value corresponding to the second voltage signal is just smaller than the second preset voltage value is the time when the signal receiving terminal of the master device is in contact with the signal transmitting terminal of the slave device.
It should be noted that, in the testing process, if the voltage value corresponding to the second voltage signal is not smaller than the second preset voltage value, it is determined that the hot plug test in which the master device and the slave device are interconnected to supply power is not qualified.
Further, the first timed time is an interval time from the contact of the power supply output terminal of the master device and the power supply receiving terminal of the slave device to the termination of the contact of the signal receiving terminal of the master device and the signal transmitting terminal of the slave device.
S430, when the current value corresponding to the first current signal is larger than a first preset current value, acquiring second timing time;
it should be noted that, in this embodiment, the first preset current value may be any value between IA and IR, and the specific magnitude thereof is not limited herein. Preferably, the first predetermined current value is IA.
It can be understood that the time when the current value corresponding to the first current signal is greater than the first preset current value is the time when the master device outputs the power supply to the slave device.
It should be noted that, in the testing process, if the current value corresponding to the first current signal is not greater than the first preset current value, it is determined that the hot plug test for interconnecting the master device and the slave device to supply power is not qualified.
Further, the second timed time is an interval time from the contact of the power supply output terminal of the master device and the power supply receiving terminal of the slave device to the termination of the output of the power supply from the master device to the slave device.
S440, when the first timing time is within a first preset time interval and the difference value between the second timing time and the first timing time is within a second preset time interval, determining that the hot plug test results of the master device and the slave device are qualified.
The first timing time is within a first preset time interval, which indicates that the master device and the slave device can safely complete the plugging operation in a state where the master device is charged. Reflecting that the specification parameters of the power output terminal and the signal receiving terminal of the main equipment are set to be qualified, and the specification parameters of the power receiving terminal and the signal sending terminal of the corresponding slave equipment are set to be qualified.
The difference value between the second timing time and the first timing time is within a second preset time interval, which indicates that the master device can respond to the received power output control signal within the specified time and output the power supply through the power output terminal. Reflecting the normal control mechanism between the signal receiving terminal and the power supply output terminal of the main equipment.
Based on the description of the first embodiment, please refer to fig. 4 and fig. 5, in another embodiment, the step S400 specifically includes:
s401, calculating a first difference value of voltage values corresponding to the first voltage signal and the second voltage signal, starting timing when the first difference value is smaller than a fifth preset voltage value, and acquiring fifth timing time when the first difference value is larger than a sixth preset voltage value;
it should be noted that, in this embodiment, the fifth preset voltage value may be any value between (-VB) and (VA-VB), and the specific size thereof is not limited herein.
It will be appreciated that the moment in the test when the first difference is just less than the fifth predetermined voltage value is the moment when the power supply output terminal of the master device is in contact with the power supply receiving terminal of the slave device.
It should be noted that, in the testing process, if the first difference value is not smaller than the fifth preset voltage value, it is determined that the hot plug test for interconnecting the master device and the slave device to supply power is not qualified.
The sixth predetermined voltage value may be any value between (-VB) and zero, and the specific magnitude thereof is not limited herein.
It will be appreciated that, during the test, the moment when the first difference is just greater than the sixth preset voltage value is the moment when the signal receiving terminal of the master device is in contact with the signal transmitting terminal of the slave device.
It should be noted that, in the testing process, if the first difference value is not greater than the sixth preset voltage value, it is determined that the hot plug test in which the master device and the slave device are interconnected to supply power is not qualified.
In addition, the fifth timing time is an interval time from the time when the power output terminal of the master device comes into contact with the power receiving terminal of the slave device to the time when the signal receiving terminal of the master device comes into contact with the signal transmitting terminal of the slave device.
S402, when the current value corresponding to the first current signal is larger than a third preset current value, acquiring sixth timing time;
it should be noted that, in this embodiment, the third preset current value may be any value between IA and IR, and the specific magnitude thereof is not limited herein.
It can be understood that the time when the current value corresponding to the first current signal is greater than the third preset current value is the time when the master device outputs the power supply to the slave device.
It should be noted that, in the testing process, if the current value corresponding to the first current signal is not greater than the third preset current value, it is determined that the hot plug test for interconnecting the master device and the slave device to supply power is not qualified.
Further, the sixth clocked time is an interval time from when the power output terminal of the master device and the power receiving terminal of the slave device come into contact to when the master device outputs the power supply to the slave device.
And S403, when the fifth timing time is within a fifth preset time interval and the difference value between the sixth timing time and the fifth timing time is within a sixth preset time interval, determining that the hot plug test result of the master device and the slave device is qualified.
The fifth timing time is within a fifth preset time interval, which indicates that the master device and the slave device can safely complete the plugging operation in a state where the master device is charged. Reflecting that the specification parameters of the power output terminal and the signal receiving terminal of the main equipment are set to be qualified, and the specification parameters of the power receiving terminal and the signal sending terminal of the corresponding slave equipment are set to be qualified.
And the difference value between the sixth timing time and the fifth timing time is within a sixth preset time interval, which indicates that the master device can respond to the received power output control signal within the specified time and output the power supply through the power output terminal. Reflecting the normal control mechanism between the signal receiving terminal and the power supply output terminal of the main equipment.
Second embodiment:
referring to fig. 6, based on the description of the first embodiment, in this embodiment, after the step S400, the method further includes:
s500, controlling a power supply interface of the master device to be separated from a power receiving interface of the slave device;
in this embodiment:
(1) if the power supply interface of the master device is flexibly connected to the master device body and the power receiving interface of the slave device is fixedly connected to the slave device body, the following methods are included but not limited to complete the separation between the power supply interface and the power receiving interface:
the power receiving interface of the slave device is fixed, and the power supply interface of the master device is moved and separated from the power receiving interface of the slave device.
(2) If the power supply interface of the master device is flexibly connected to the master device body and the power receiving interface of the slave device is flexibly connected to the slave device body, the following methods are included but not limited to complete the detachment of the power supply interface and the power receiving interface:
the power supply interface of the master device is moved, and the power receiving interface of the slave device is separated.
(3) If the power supply interface of the master device is fixedly connected to the master device body and the power receiving interface of the slave device is fixedly connected to the slave device body, the following methods are included but not limited to complete the disengagement between the power supply interface and the power receiving interface:
after the power supply interface of the master device is fixed and the power receiving interface of the slave device is fixed,
the first end of the flexible connecting line is separated from the power supply interface, and then the second end of the flexible connecting line is separated from the power receiving interface; the completion of the separation of the second end of the flexible connecting wire from the power receiving interface marks the completion of the separation of the power supply interface from the power receiving interface.
Or the second end of the flexible connecting line is separated from the power receiving interface, and then the first end of the flexible connecting line is separated from the power supply interface; the completion of the separation of the first end of the flexible connecting line from the power supply interface marks the completion of the separation of the power supply interface from the power receiving interface.
The first end of the flexible connecting line is provided with an auxiliary power receiving interface with the same specification parameters as the power receiving interface, and the second end of the flexible connecting line is provided with an auxiliary power supply interface with the same specification parameters as the power supply interface.
(4) If the power supply interface of the master device is fixedly connected with the master device body and the power receiving interface of the slave device is flexibly connected with the slave device body, the following methods are included but not limited to complete the separation action of the power supply interface and the power receiving interface:
the power supply interface of the master device is fixed, and the power receiving interface of the slave device is moved and separated from the power supply interface of the master device.
S600, collecting a third voltage signal between the signal receiving terminal and the signal sending terminal, a second current signal of the power supply receiving terminal and a fourth voltage signal between the power supply output terminal and the power supply receiving terminal;
it should be noted that, in the whole process of plugging the power supply interface of the master device and the power receiving interface of the slave device, the third voltage signal between the signal receiving terminal and the signal transmitting terminal, the second current signal of the power receiving terminal, and the fourth voltage signal between the power output terminal and the power receiving terminal need to be collected.
Wherein, the whole process that power supply interface and power receiving interface break away from includes:
the fifth stage: before the signal transmitting terminal is separated from the signal receiving terminal;
the sixth stage: the signal transmitting terminal and the signal receiving terminal are separated until the power output terminal stops outputting the power supply;
a seventh stage: the power output terminal stops outputting the power supply until the power output terminal is separated from the power receiving terminal;
an eighth stage: after the power output terminal is separated from the power receiving terminal.
S700, determining hot plug test results of the master device and the slave device according to the third voltage signal, the second current signal and the fourth voltage signal.
It can be understood that, if the hot swap function of the master device and the slave device is normal, the change of the voltage value corresponding to the third voltage signal, the current value corresponding to the second current signal, and the voltage value corresponding to the fourth voltage signal in the whole process of the power supply interface being disconnected from the power receiving interface is as shown in table 2 below. In table 2, IR is the current value corresponding to the output power of the output terminal of the main device power supply, generally, IR is much larger than IA, and IR is between 0.1 and 20A.
TABLE 2
That is to say, in the process of separating the master device from the slave device, if the voltage value corresponding to the third voltage signal, the current value corresponding to the second current signal, and the voltage value corresponding to the fourth voltage signal are changed as shown in table 2, it is indicated that the hot plug function test of the power supply by the interconnection of the master device and the slave device is passed, otherwise, the test is failed.
Based on the description of the second embodiment, referring to fig. 7, in an embodiment, the step S700 specifically includes:
s710, when the voltage value corresponding to the third voltage signal is larger than a third preset voltage value, timing is started;
it should be noted that, in this embodiment, the third preset voltage value may be any value between 0 and VB, and the specific size thereof is not limited herein.
It is understood that the moment when the voltage value corresponding to the third voltage signal is just greater than the third preset voltage value is the moment when the signal receiving terminal of the master device is disconnected from the signal transmitting terminal of the slave device.
It should be noted that, in the testing process, if the voltage value corresponding to the third voltage signal is not greater than the third preset voltage value, it is determined that the hot plug test in which the master device and the slave device are interconnected to supply power is not qualified.
S720, when the current value corresponding to the second current signal is smaller than a second preset current value, obtaining a third timing time;
it should be noted that, in this embodiment, the second preset current value may be any value between IA and IR, and the specific magnitude thereof is not limited herein.
It can be understood that the time when the current value corresponding to the second current signal is smaller than the second preset current value is the time when the main device stops outputting the power supply through the power output terminal.
It should be noted that, in the testing process, if the current value corresponding to the second current signal is not smaller than the second preset current value, it is determined that the hot plug test for interconnecting the master device and the slave device to supply power is not qualified.
The third timing time is an interval from when the signal receiving terminal of the master device and the signal transmitting terminal of the slave device are disengaged to when the power output terminal of the master device stops outputting the power supply.
S730, when the voltage value corresponding to the fourth voltage signal is larger than a fourth preset voltage value, acquiring fourth timing time;
it should be noted that, in this embodiment, the voltage value corresponding to the fourth preset voltage signal may be any value between zero and VA, and the specific size thereof is not limited herein.
It can be understood that the time when the voltage value corresponding to the fourth preset voltage signal is greater than the fourth preset voltage value is the time when the power output terminal of the master device is disconnected from the power receiving terminal of the slave device.
It should be noted that, in the testing process, if the voltage value corresponding to the fourth voltage signal is not greater than the fourth preset voltage value, it is determined that the hot plug test in which the master device and the slave device are interconnected to supply power is not qualified.
Further, the fourth timer is an interval time from when the power output terminal of the master stops outputting the power supply to when the disengagement of the power output terminal of the master and the power receiving terminal of the slave is terminated.
And S740, when the third timing time is within a third preset time interval and the fourth timing time is within a fourth preset time interval, determining that the hot plug test result of the master device and the slave device is qualified.
The third timing time is within a third preset time interval, which indicates that the master device can respond to the received power output control signal within a specified time and output the power supply through the power output terminal. Reflecting the normal control mechanism between the signal receiving terminal and the power supply output terminal of the main equipment.
The fourth timing time is within a fourth preset time interval, which indicates that the master device and the slave device can safely complete the plugging action in the state that the master device is electrified. Reflecting that the specification parameters of the power output terminal and the signal receiving terminal of the main equipment are set to be qualified, and the specification parameters of the power receiving terminal and the signal sending terminal of the corresponding slave equipment are set to be qualified.
Based on the description of the second embodiment, please refer to fig. 9, in another embodiment, the step S700 specifically includes:
s701, calculating a second difference value of voltage values corresponding to the third voltage signal and the fourth voltage signal, starting timing when the second difference value is larger than a seventh preset voltage value, and acquiring seventh timing time when a current value corresponding to the second current signal is smaller than a fourth preset current value;
it should be noted that, in this embodiment, the seventh preset voltage value may be any value between zero and VB, and the specific size thereof is not limited herein.
It will be appreciated that the moment in the test when the second difference is just greater than the seventh preset voltage value is the moment when the signal receiving terminal of the master device is disengaged from the signal transmitting terminal of the slave device.
It should be noted that, in the testing process, if the second difference value is not greater than the seventh preset voltage value, it is determined that the hot plug test in which the master device and the slave device are interconnected to supply power is not qualified.
The fourth preset current value may be any value between zero and IA, and the specific magnitude thereof is not limited herein.
It can be understood that, in the test process, the time when the current value corresponding to the second current signal is smaller than the fourth preset current value is the time when the power output terminal of the main device stops outputting the power supply.
It should be noted that, in the testing process, if the current value corresponding to the second current signal is not smaller than the fourth preset current value, it is determined that the hot plug test for interconnecting the master device and the slave device to supply power is not qualified.
Further, the seventh timing is an interval from when the signal receiving terminal of the master device is disengaged from the signal transmitting terminal of the slave device to when the power output terminal of the master device stops outputting the power supply.
S702, when the second difference value is smaller than an eighth preset voltage value, acquiring eighth timing time;
it should be noted that, in this embodiment, the eighth preset voltage value may be any value between (-VA) and zero, and the specific size thereof is not limited herein.
It is understood that the timing at which the second difference is smaller than the eighth preset voltage value is the timing at which the power supply output terminal of the master device is disconnected from the power supply receiving terminal of the slave device.
It should be noted that, in the testing process, if the second difference value is not smaller than the eighth preset voltage value, it is determined that the hot plug test in which the master device and the slave device are interconnected to supply power is not qualified.
Further, the eighth timer is an interval time from when the power output terminal of the master stops outputting the power supply to when the disengagement of the power output terminal of the master and the power receiving terminal of the slave is terminated.
And S703, when the seventh timing time is within a seventh preset time interval and the eighth timing time is within an eighth preset time interval, determining that the hot plug test result of the master device and the slave device is qualified.
It should be noted that the seventh timing time is within a seventh preset time interval, which indicates that the master device can respond to the received power output control signal within a specified time and output the power supply through the power output terminal. Reflecting the normal control mechanism between the signal receiving terminal and the power supply output terminal of the main equipment.
The eighth timing time is within an eighth preset time interval, which indicates that the master device and the slave device can safely complete the plugging action in the state that the master device is electrified. Reflecting that the specification parameters of the power output terminal and the signal receiving terminal of the main equipment are set to be qualified, and the specification parameters of the power receiving terminal and the signal sending terminal of the corresponding slave equipment are set to be qualified.
It should be noted that, preferably, the first signal source is used for outputting a constant voltage and a constant current, and the second signal source is used for outputting a constant voltage.
Correspondingly, the invention also provides a hot plug test device for interconnection power supply of the master equipment and the slave equipment, which comprises the following embodiments:
the first embodiment:
referring to fig. 10, the hot plug test apparatus for interconnecting the master device and the slave device to supply power includes:
an auxiliary power supply module 100 configured to configure a first signal source between the power output terminal and the power receiving terminal, and configure a second signal source between the signal receiving terminal and the signal transmitting terminal;
in this embodiment, the first signal source includes a first positive output terminal and a first negative output terminal. In configuring the first signal source, the first positive output terminal is generally electrically connected to the power output terminal, and the first negative output terminal is generally electrically connected to the power receiving terminal. Preferably, the output voltage of the first signal source is VA, and the output current is IA. Typically, VA is between 0-10V; IA ≈ 1 mA.
The second signal source comprises a second positive output end and a second negative output end. In configuring the second signal source, the second positive output terminal is typically electrically connected to the signal receiving terminal, and the second negative output terminal is electrically connected to the signal transmitting terminal. Preferably, the output voltage of the second signal source is VB, and VB is between 0-10V.
The plug-in control module 200 is configured to control a power supply interface of the master device and a power receiving interface of the slave device to be plugged in;
in this embodiment:
(1) if the power supply interface of the master device is flexibly connected with the master device body, and the power receiving interface of the slave device is fixedly connected with the slave device body, the insertion of the power supply interface and the power receiving interface is completed in the following manners:
the power receiving interface of the slave device is fixed, and the power supply interface of the master device is moved and plugged into the power receiving interface of the slave device.
(2) If the power supply interface of the master device is flexibly connected with the master device body and the power receiving interface of the slave device is flexibly connected with the slave device body, the insertion and connection actions of the power supply interface and the power receiving interface are completed in the following manners:
and the power supply interface of the mobile master equipment and the power receiving interface of the slave equipment are plugged.
(3) If the power supply interface of the master device is fixedly connected with the master device body and the power receiving interface of the slave device is fixedly connected with the slave device body, the insertion of the power supply interface and the power receiving interface is completed in the following manners:
after the power supply interface of the master device is fixed and the power receiving interface of the slave device is fixed,
the first end of the flexible connecting wire is connected with the power supply interface, and then the second end of the flexible connecting wire is connected with the power receiving interface; the completion of the plugging of the second end of the flexible connecting wire and the power receiving interface marks the completion of the plugging of the power supply interface and the power receiving interface.
Or the second end of the flexible connecting wire is connected with the power receiving interface, and then the first end of the flexible connecting wire is connected with the power supply interface; the completion of the plugging of the first end of the flexible connecting line and the power supply interface marks the completion of the plugging of the power supply interface and the power receiving interface.
The first end of the flexible connecting line is provided with an auxiliary power receiving interface with the same specification parameters as the power receiving interface, and the second end of the flexible connecting line is provided with an auxiliary power supply interface with the same specification parameters as the power supply interface.
(4) If the power supply interface of the master device is fixedly connected with the master device body and the power receiving interface of the slave device is flexibly connected with the slave device body, the insertion and connection actions of the power supply interface and the power receiving interface are completed in the following manners:
the power supply interface of the master device is fixed, and the power receiving interface of the slave device is moved and plugged with the power supply interface of the master device.
It should be noted that, in the present embodiment, regardless of the connection manner between the power supply interface of the master device and the master device body and the connection manner between the power receiving interface of the slave device and the slave device body, the power receiving terminal and the power output terminal should be associated with each other, and the signal transmitting terminal and the signal receiving terminal should be associated with each other, before the power supply interface of the master device and the power receiving interface of the slave device are plugged into each other.
A first signal collecting module 300, configured to collect a first voltage signal between the power output terminal and the power receiving terminal, a first current signal of the power receiving terminal, and a second voltage signal between the signal receiving terminal and the signal sending terminal;
it should be noted that, in the whole process of plugging the power supply interface of the master device and the power receiving interface of the slave device, a first voltage signal between the power output terminal and the power receiving terminal, a first current signal of the power receiving terminal, and a second voltage signal between the signal receiving terminal and the signal transmitting terminal need to be collected.
Wherein, the whole process that power supply interface and power receiving interface peg graft includes:
the first stage is as follows: before the power output terminal contacts the power receiving terminal;
and a second stage: the power output terminal and the power receiving terminal are contacted until the signal sending terminal and the signal receiving terminal are contacted;
and a third stage: the signal transmitting terminal and the signal receiving terminal are contacted to the power output terminal before outputting power;
a fourth stage: the power output terminal outputs the power and outputs the power.
A first result determining module 400, configured to determine a hot plug test result of the master device and the slave device according to the first voltage signal, the first current signal, and the second voltage signal.
It can be understood that, if the hot plug function of the master device and the slave device is normal, in the whole process of plugging the power supply interface and the power receiving interface, the change situations of the voltage value corresponding to the first voltage signal, the current value corresponding to the first current signal, and the voltage value corresponding to the second voltage signal are shown in table 3. In table 3, IR is the current value corresponding to the output power of the output terminal of the main device power supply, generally, IR is much larger than IA, and IR is between 0.1 and 20A.
TABLE 3
That is to say, in the process of plugging the master device and the slave device, if the voltage value corresponding to the first voltage signal, the current value corresponding to the first current signal, and the change condition of the voltage value corresponding to the second voltage signal are shown in table 3, it is indicated that the hot plug function test of the power supply by interconnection of the master device and the slave device is passed, otherwise, the test is failed.
Based on the description of the first embodiment, please refer to fig. 11, in an embodiment, the first result determining module 400 specifically includes:
a first timing unit 410, configured to start timing when a voltage value corresponding to the first voltage signal is smaller than a first preset voltage value;
it should be noted that, in this embodiment, the first preset voltage value may be any value between 0 and VA, and the specific size thereof is not limited herein.
It can be understood that the moment when the voltage value corresponding to the first voltage signal is just smaller than the first preset voltage value is the moment when the power output terminal of the master device is in contact with the power receiving terminal of the slave device.
It should be noted that, in the testing process, if the voltage value corresponding to the first voltage signal is not smaller than the first preset voltage value, it is determined that the hot plug test for interconnecting the master device and the slave device to supply power is not qualified.
A first timing time obtaining unit 420, configured to obtain a first timing time when the voltage value corresponding to the second voltage signal is smaller than a second preset voltage value;
it should be noted that, in this embodiment, the second preset voltage value may be any value between 0 and VB, and the specific size thereof is not limited herein.
It can be understood that the time when the voltage value corresponding to the second voltage signal is just smaller than the second preset voltage value is the time when the signal receiving terminal of the master device is in contact with the signal transmitting terminal of the slave device.
It should be noted that, in the testing process, if the voltage value corresponding to the second voltage signal is not smaller than the second preset voltage value, it is determined that the hot plug test in which the master device and the slave device are interconnected to supply power is not qualified.
Further, the first timed time is an interval time from the contact of the power supply output terminal of the master device and the power supply receiving terminal of the slave device to the termination of the contact of the signal receiving terminal of the master device and the signal transmitting terminal of the slave device.
A second timing time obtaining unit 430, configured to obtain a second timing time when a current value corresponding to the first current signal is greater than a first preset current value;
it should be noted that, in this embodiment, the first preset current value may be any value between IA and IR, and the specific magnitude thereof is not limited herein. Preferably, the first predetermined current value is IA.
It can be understood that the time when the current value corresponding to the first current signal is greater than the first preset current value is the time when the master device outputs the power supply to the slave device.
It should be noted that, in the testing process, if the current value corresponding to the first current signal is not greater than the first preset current value, it is determined that the hot plug test for interconnecting the master device and the slave device to supply power is not qualified.
Further, the second timed time is an interval time from the contact of the power supply output terminal of the master device and the power supply receiving terminal of the slave device to the termination of the output of the power supply from the master device to the slave device.
A first result determining unit 440, configured to determine that the hot plug test result of the master device and the slave device is qualified when the first timing time is within a first preset time interval and a difference between the second timing time and the first timing time is within a second preset time interval.
The first timing time is within a first preset time interval, which indicates that the master device and the slave device can safely complete the plugging operation in a state where the master device is charged. Reflecting that the specification parameters of the power output terminal and the signal receiving terminal of the main equipment are set to be qualified, and the specification parameters of the power receiving terminal and the signal sending terminal of the corresponding slave equipment are set to be qualified.
The difference value between the second timing time and the first timing time is within a second preset time interval, which indicates that the master device can respond to the received power output control signal within the specified time and output the power supply through the power output terminal. Reflecting the normal control mechanism between the signal receiving terminal and the power supply output terminal of the main equipment.
Referring to fig. 12 based on the description of the first embodiment, in another embodiment, the first result determining module 400 specifically includes:
a fifth timing time obtaining unit 401, configured to calculate a first difference between voltage values corresponding to the first voltage signal and the second voltage signal, start timing when the first difference is smaller than a fifth preset voltage value, and obtain a fifth timing time when the first difference is larger than a sixth preset voltage value;
it should be noted that, in this embodiment, the fifth preset voltage value may be any value between (-VB) and (VA-VB), and the specific size thereof is not limited herein.
It will be appreciated that the moment in the test when the first difference is just less than the fifth predetermined voltage value is the moment when the power supply output terminal of the master device is in contact with the power supply receiving terminal of the slave device.
It should be noted that, in the testing process, if the first difference value is not smaller than the fifth preset voltage value, it is determined that the hot plug test for interconnecting the master device and the slave device to supply power is not qualified.
The sixth predetermined voltage value may be any value between (-VB) and zero, and the specific magnitude thereof is not limited herein.
It will be appreciated that, during the test, the moment when the first difference is just greater than the sixth preset voltage value is the moment when the signal receiving terminal of the master device is in contact with the signal transmitting terminal of the slave device.
It should be noted that, in the testing process, if the first difference value is not greater than the sixth preset voltage value, it is determined that the hot plug test in which the master device and the slave device are interconnected to supply power is not qualified.
In addition, the fifth timing time is an interval time from the time when the power output terminal of the master device comes into contact with the power receiving terminal of the slave device to the time when the signal receiving terminal of the master device comes into contact with the signal transmitting terminal of the slave device.
A sixth timing time obtaining unit 402, configured to obtain a sixth timing time when a current value corresponding to the first current signal is greater than a third preset current value;
it should be noted that, in this embodiment, the third preset current value may be any value between IA and IR, and the specific magnitude thereof is not limited herein.
It can be understood that the time when the current value corresponding to the first current signal is greater than the third preset current value is the time when the master device outputs the power supply to the slave device.
It should be noted that, in the testing process, if the current value corresponding to the first current signal is not greater than the third preset current value, it is determined that the hot plug test for interconnecting the master device and the slave device to supply power is not qualified.
Further, the sixth clocked time is an interval time from when the power output terminal of the master device and the power receiving terminal of the slave device come into contact to when the master device outputs the power supply to the slave device.
A third result determining unit 403, configured to determine that the hot plug test result of the master device and the slave device is qualified when the fifth timing time is within a fifth preset time interval and a difference between the sixth timing time and the fifth timing time is within a sixth preset time interval.
The fifth timing time is within a fifth preset time interval, which indicates that the master device and the slave device can safely complete the plugging operation in a state where the master device is charged. Reflecting that the specification parameters of the power output terminal and the signal receiving terminal of the main equipment are set to be qualified, and the specification parameters of the power receiving terminal and the signal sending terminal of the corresponding slave equipment are set to be qualified.
And the difference value between the sixth timing time and the fifth timing time is within a sixth preset time interval, which indicates that the master device can respond to the received power output control signal within the specified time and output the power supply through the power output terminal. Reflecting the normal control mechanism between the signal receiving terminal and the power supply output terminal of the main equipment.
Second embodiment:
referring to fig. 13, based on the description of the first embodiment, in this embodiment, the hot plug test apparatus for interconnecting the master device and the slave device to supply power further includes:
a disengagement control module 500, configured to control disengagement of a power supply interface of the master device and a power receiving interface of the slave device;
in this embodiment:
(1) if the power supply interface of the master device is flexibly connected to the master device body and the power receiving interface of the slave device is fixedly connected to the slave device body, the following methods are included but not limited to complete the separation between the power supply interface and the power receiving interface:
the power receiving interface of the slave device is fixed, and the power supply interface of the master device is moved and separated from the power receiving interface of the slave device.
(2) If the power supply interface of the master device is flexibly connected to the master device body and the power receiving interface of the slave device is flexibly connected to the slave device body, the following methods are included but not limited to complete the detachment of the power supply interface and the power receiving interface:
the power supply interface of the master device is moved, and the power receiving interface of the slave device is separated.
(3) If the power supply interface of the master device is fixedly connected to the master device body and the power receiving interface of the slave device is fixedly connected to the slave device body, the following methods are included but not limited to complete the disengagement between the power supply interface and the power receiving interface:
after the power supply interface of the master device is fixed and the power receiving interface of the slave device is fixed,
the first end of the flexible connecting line is separated from the power supply interface, and then the second end of the flexible connecting line is separated from the power receiving interface; the completion of the separation of the second end of the flexible connecting wire from the power receiving interface marks the completion of the separation of the power supply interface from the power receiving interface.
Or the second end of the flexible connecting line is separated from the power receiving interface, and then the first end of the flexible connecting line is separated from the power supply interface; the completion of the separation of the first end of the flexible connecting line from the power supply interface marks the completion of the separation of the power supply interface from the power receiving interface.
The first end of the flexible connecting line is provided with an auxiliary power receiving interface with the same specification parameters as the power receiving interface, and the second end of the flexible connecting line is provided with an auxiliary power supply interface with the same specification parameters as the power supply interface.
(4) If the power supply interface of the master device is fixedly connected with the master device body and the power receiving interface of the slave device is flexibly connected with the slave device body, the following methods are included but not limited to complete the separation action of the power supply interface and the power receiving interface:
the power supply interface of the master device is fixed, and the power receiving interface of the slave device is moved and separated from the power supply interface of the master device.
A second signal collecting module 600, configured to collect a third voltage signal between the signal receiving terminal and the signal sending terminal, a second current signal of the power receiving terminal, and a fourth voltage signal between the power output terminal and the power receiving terminal;
it should be noted that, in the whole process of plugging the power supply interface of the master device and the power receiving interface of the slave device, the third voltage signal between the signal receiving terminal and the signal transmitting terminal, the second current signal of the power receiving terminal, and the fourth voltage signal between the power output terminal and the power receiving terminal need to be collected.
Wherein, the whole process that power supply interface and power receiving interface break away from includes:
the fifth stage: before the signal transmitting terminal is separated from the signal receiving terminal;
the sixth stage: the signal transmitting terminal and the signal receiving terminal are separated until the power output terminal stops outputting the power supply;
a seventh stage: the power output terminal stops outputting the power supply until the power output terminal is separated from the power receiving terminal;
an eighth stage: after the power output terminal is separated from the power receiving terminal.
A second result determining module 700, configured to determine a hot plug test result of the master device and the slave device according to the third voltage signal, the second current signal, and the fourth voltage signal.
It can be understood that, if the hot swap function of the master device and the slave device is normal, the change of the voltage value corresponding to the third voltage signal, the current value corresponding to the second current signal, and the voltage value corresponding to the fourth voltage signal in the whole process of the power supply interface being disconnected from the power receiving interface is as shown in table 4 below. In table 4, IR is the current value corresponding to the output power of the output terminal of the main device power supply, generally, IR is much larger than IA, and IR is between 0.1 and 20A.
TABLE 4
That is, in the process of separating the master device from the slave device, if the voltage value corresponding to the third voltage signal, the current value corresponding to the second current signal, and the voltage value corresponding to the fourth voltage signal are changed as shown in table 4, it is indicated that the hot plug function test of the power supply by the interconnection of the master device and the slave device is passed, otherwise, the test is failed.
Based on the description of the second embodiment, please refer to fig. 14, in an embodiment, the second result determining module specifically includes:
a second timing unit 710, configured to start timing when a voltage value corresponding to the third voltage signal is greater than a third preset voltage value;
it should be noted that, in this embodiment, the third preset voltage value may be any value between 0 and VB, and the specific size thereof is not limited herein.
It is understood that the moment when the voltage value corresponding to the third voltage signal is just greater than the third preset voltage value is the moment when the signal receiving terminal of the master device is disconnected from the signal transmitting terminal of the slave device.
It should be noted that, in the testing process, if the voltage value corresponding to the third voltage signal is not greater than the third preset voltage value, it is determined that the hot plug test in which the master device and the slave device are interconnected to supply power is not qualified.
A third timing time obtaining unit 720, configured to obtain a third timing time when the current value corresponding to the second current signal is smaller than a second preset current value;
it should be noted that, in this embodiment, the second preset current value may be any value between IA and IR, and the specific magnitude thereof is not limited herein.
It can be understood that the time when the current value corresponding to the second current signal is smaller than the second preset current value is the time when the main device stops outputting the power supply through the power output terminal.
It should be noted that, in the testing process, if the current value corresponding to the second current signal is not smaller than the second preset current value, it is determined that the hot plug test for interconnecting the master device and the slave device to supply power is not qualified.
The third timing time is an interval from when the signal receiving terminal of the master device and the signal transmitting terminal of the slave device are disengaged to when the power output terminal of the master device stops outputting the power supply.
A fourth timing time obtaining unit 730, configured to obtain a fourth timing time when the voltage value corresponding to the fourth voltage signal is greater than a fourth preset voltage value;
it should be noted that, in this embodiment, the voltage value corresponding to the fourth preset voltage signal may be any value between zero and VA, and the specific size thereof is not limited herein.
It can be understood that the time when the voltage value corresponding to the fourth preset voltage signal is greater than the fourth preset voltage value is the time when the power output terminal of the master device is disconnected from the power receiving terminal of the slave device.
It should be noted that, in the testing process, if the voltage value corresponding to the fourth voltage signal is not greater than the fourth preset voltage value, it is determined that the hot plug test in which the master device and the slave device are interconnected to supply power is not qualified.
Further, the fourth timer is an interval time from when the power output terminal of the master stops outputting the power supply to when the disengagement of the power output terminal of the master and the power receiving terminal of the slave is terminated.
A second result determining unit 740, configured to determine that the hot plug test result of the master device and the slave device is qualified when the third timing time is within a third preset time interval and the fourth timing time is within a fourth preset time interval.
The third timing time is within a third preset time interval, which indicates that the master device can respond to the received power output control signal within a specified time and output the power supply through the power output terminal. Reflecting the normal control mechanism between the signal receiving terminal and the power supply output terminal of the main equipment.
The fourth timing time is within a fourth preset time interval, which indicates that the master device and the slave device can safely complete the plugging action in the state that the master device is electrified. Reflecting that the specification parameters of the power output terminal and the signal receiving terminal of the main equipment are set to be qualified, and the specification parameters of the power receiving terminal and the signal sending terminal of the corresponding slave equipment are set to be qualified.
Referring to fig. 15 based on the description of the second embodiment, in another embodiment, the step of determining the second result 700 specifically includes:
a seventh timing time obtaining unit 701, configured to calculate a second difference between voltage values corresponding to the third voltage signal and the fourth voltage signal, start timing when the second difference is greater than a seventh preset voltage value, and obtain a seventh timing time when a current value corresponding to the second current signal is smaller than a fourth preset current value;
it should be noted that, in this embodiment, the seventh preset voltage value may be any value between zero and VB, and the specific size thereof is not limited herein.
It will be appreciated that the moment in the test when the second difference is just greater than the seventh preset voltage value is the moment when the signal receiving terminal of the master device is disengaged from the signal transmitting terminal of the slave device.
It should be noted that, in the testing process, if the second difference value is not greater than the seventh preset voltage value, it is determined that the hot plug test in which the master device and the slave device are interconnected to supply power is not qualified.
The fourth preset current value may be any value between zero and IA, and the specific magnitude thereof is not limited herein.
It can be understood that, in the test process, the time when the current value corresponding to the second current signal is smaller than the fourth preset current value is the time when the power output terminal of the main device stops outputting the power supply.
It should be noted that, in the testing process, if the current value corresponding to the second current signal is not smaller than the fourth preset current value, it is determined that the hot plug test for interconnecting the master device and the slave device to supply power is not qualified.
Further, the seventh timing is an interval from when the signal receiving terminal of the master device is disengaged from the signal transmitting terminal of the slave device to when the power output terminal of the master device stops outputting the power supply.
An eighth timing time obtaining unit 702, configured to obtain an eighth timing time when the second difference is smaller than an eighth preset voltage value;
it should be noted that, in this embodiment, the eighth preset voltage value may be any value between (-VA) and zero, and the specific size thereof is not limited herein.
It is understood that the timing at which the second difference is smaller than the eighth preset voltage value is the timing at which the power supply output terminal of the master device is disconnected from the power supply receiving terminal of the slave device.
It should be noted that, in the testing process, if the second difference value is not smaller than the eighth preset voltage value, it is determined that the hot plug test in which the master device and the slave device are interconnected to supply power is not qualified.
Further, the eighth timer is an interval time from when the power output terminal of the master stops outputting the power supply to when the disengagement of the power output terminal of the master and the power receiving terminal of the slave is terminated.
A fourth result determining unit 703 is configured to determine that the hot plug test result of the master device and the slave device is qualified when the seventh timing time is within a seventh preset time interval and the eighth timing time is within an eighth preset time interval.
It should be noted that the seventh timing time is within a seventh preset time interval, which indicates that the master device can respond to the received power output control signal within a specified time and output the power supply through the power output terminal. Reflecting the normal control mechanism between the signal receiving terminal and the power supply output terminal of the main equipment.
The eighth timing time is within an eighth preset time interval, which indicates that the master device and the slave device can safely complete the plugging action in the state that the master device is electrified. Reflecting that the specification parameters of the power output terminal and the signal receiving terminal of the main equipment are set to be qualified, and the specification parameters of the power receiving terminal and the signal sending terminal of the corresponding slave equipment are set to be qualified.
It should be noted that, preferably, as shown in fig. 16, the auxiliary power module includes a first signal source 110 and a second signal source 120; the first signal source is used for outputting constant voltage and constant current, and the second signal source is used for outputting constant voltage.
The third embodiment:
referring to fig. 16, in the embodiment, the master device is a display screen, the slave device is a box, and the electronic system formed by the master device and the slave device is a split television.
In one embodiment, the power supply interface of the display screen is a socket and the power receiving interface of the box is a plug. It will be appreciated that in another embodiment, the power supply interface of the display is a plug and the power receiving interface of the box is a socket.
When the hot plug test of the power supply of the display screen and the box in the split television is carried out:
firstly:
a power supply is arranged between the power supply output terminal of the display screen and the power supply receiving terminal of the box. Preferably, the current source includes a first voltage source VA 'and a constant current device I, a negative electrode of the first voltage source VA' is electrically connected to the power receiving terminal, a positive electrode of the first voltage source VA is connected to one end of the constant current device I, and the other end of the constant current device I is electrically connected to the power output terminal.
A voltage source is arranged between the signal receiving terminal of the display screen and the signal transmitting terminal of the box. Preferably, the voltage source includes a second voltage source VB ' and a resistor R, a cathode of the second voltage source VB ' is electrically connected to the signal transmitting terminal, an anode of the second voltage source VB ' is connected to one end of the resistor R, and the other end of the resistor R is electrically connected to the signal receiving terminal.
Then:
the plug of the box is inserted into the socket of the display screen, and the A channel of the oscilloscope tests the voltage between the power supply output terminal and the power supply receiving terminal, the B channel tests the current flowing through the power supply receiving terminal, and the C channel tests the voltage between the signal receiving terminal and the signal sending terminal.
And then, judging whether the hot plug function of the display screen and the box in the split television for supplying power in an interconnected manner is qualified or not according to the waveform displayed on the oscilloscope.
Specifically, in this process, if the waveform on the oscilloscope has all the following characteristics, the test is qualified:
the method is characterized in that: the amplitude of the waveform of the a channel jumps from VA to 0.
And (2) feature: and simultaneously when the A channel waveform jumps, the amplitude of the B channel waveform jumps from zero to IA.
And (3) feature: after the transition of the waveform of the A channel, the amplitude of the waveform of the C channel is transitioned from VB to 0.
And (4) feature: after the C channel waveform jumps, the amplitude of the B channel waveform is slowly increased from IA and remains stable after increasing to IR.
It can be understood that if the waveform displayed by the oscilloscope does not have any one of the feature 1, the feature 2 and the feature 3, the setting of the plug of the socket or the box of the display screen is not qualified. And if the waveform displayed by the oscilloscope does not have the characteristic 4, the power supply control mechanism in the display screen is unqualified.
And finally, separating the plug of the box from the socket of the display screen, and judging whether the hot plug function of the interconnection power supply of the display screen and the box in the split television is qualified or not according to the waveform displayed on the oscilloscope.
Specifically, in this process, if the waveform on the oscilloscope has all the following characteristics, the test is qualified:
the method is characterized in that: the amplitude of the waveform of the C channel jumps from 0 to VB.
And (2) feature: after the C channel waveform jumps, the amplitude of the B channel waveform is rapidly reduced from IR to IA and remains stable.
And (3) feature: after the C channel waveform jumps, the amplitude of the A channel waveform jumps from 0 to VA.
And (4) feature: the amplitude of the waveform of the B channel jumps from IA to 0 at the same time when the waveform of the A channel jumps.
It can be understood that if the waveform on the oscilloscope does not have any of the three of the feature 1, the feature 3 and the feature 4, the setting of the plug of the socket or the box of the display screen is not qualified. And if the waveform displayed by the oscilloscope does not have the characteristic 2, the power supply control mechanism in the display screen is unqualified.
It is worth mentioning that in this embodiment, the magnitude of the supply current to the box from the display is preferably between 1-5A.
The above description is only a preferred embodiment of the present invention, and is not intended to limit the scope of the present invention, and all modifications and equivalents of the present invention, which are made by the contents of the present specification and the accompanying drawings, or directly/indirectly applied to other related technical fields, are included in the scope of the present invention.
Claims (8)
1. A hot plug test method for power supply interconnection between a master device and a slave device, wherein a power supply interface of the master device comprises a power output terminal and a signal receiving terminal, and a power receiving interface of the slave device comprises a power receiving terminal and a signal sending terminal, the method comprises the following steps:
a first signal source is arranged between the power output terminal and the power receiving terminal, and a second signal source is arranged between the signal receiving terminal and the signal transmitting terminal;
controlling the power supply interface of the master device to be plugged with the power receiving interface of the slave device;
collecting a first voltage signal between the power output terminal and the power receiving terminal, a first current signal of the power receiving terminal and a second voltage signal between the signal receiving terminal and the signal sending terminal;
determining hot plug test results of the master device and the slave device according to the first voltage signal, the first current signal and the second voltage signal;
the step of determining hot plug test results of the master device and the slave device according to the first voltage signal, the current signal and the second voltage signal specifically comprises:
when the voltage value corresponding to the first voltage signal is smaller than a first preset voltage value, timing is started;
when the voltage value corresponding to the second voltage signal is smaller than a second preset voltage value, acquiring first timing time;
when the current value corresponding to the first current signal is larger than a first preset current value, acquiring second timing time;
and when the first timing time is within a first preset time interval and the difference value between the second timing time and the first timing time is within a second preset time interval, determining that the hot plug test results of the master equipment and the slave equipment are qualified.
2. The method for hot plug testing of power supplied by an interconnection of a master device and a slave device as claimed in claim 1, wherein the step of determining the hot plug test result of the master device and the slave device according to the first voltage signal, the first current signal and the second voltage signal further comprises the following steps:
controlling a power supply interface of the master device to be disconnected from a power receiving interface of the slave device;
collecting a third voltage signal between the signal receiving terminal and the signal sending terminal, a second current signal of the power supply receiving terminal and a fourth voltage signal between the power supply output terminal and the power supply receiving terminal;
and determining hot plug test results of the master equipment and the slave equipment according to the third voltage signal, the second current signal and the fourth voltage signal.
3. The method for hot plug test of interconnected power supply of master device and slave device according to claim 2, wherein the step of determining the hot plug test result of the master device and slave device according to the third voltage signal, the second current signal and the fourth voltage signal comprises:
when the voltage value corresponding to the third voltage signal is greater than a third preset voltage value, timing is started;
when the current value corresponding to the second current signal is smaller than a second preset current value, acquiring a third timing time;
when the voltage value corresponding to the fourth voltage signal is greater than a fourth preset voltage value, acquiring fourth timing time;
and when the third timing time is within a third preset time interval and the fourth timing time is within a fourth preset time interval, determining that the hot plug test result of the master device and the slave device is qualified.
4. A method for hot plug testing of power supplied by an interconnect between a master device and a slave device as claimed in any of claims 1 to 3, wherein:
the first signal source is used for outputting constant voltage and constant current, and the second signal source is used for outputting constant voltage.
5. A hot plug test device for interconnecting and supplying power to a master device and a slave device, wherein a power supply interface of the master device comprises a power output terminal and a signal receiving terminal, and a power receiving interface of the slave device comprises a power receiving terminal and a signal sending terminal, the device comprising:
an auxiliary power supply module, configured to configure a first signal source between the power output terminal and the power receiving terminal, and configure a second signal source between the signal receiving terminal and the signal transmitting terminal;
the plug-in control module is used for controlling the plug-in of the power supply interface of the master equipment and the power receiving interface of the slave equipment;
the first signal acquisition module is used for acquiring a first voltage signal between the power output terminal and the power receiving terminal, a first current signal of the power receiving terminal and a second voltage signal between the signal receiving terminal and the signal sending terminal;
the first result determining module is used for determining hot plug test results of the master device and the slave device according to the first voltage signal, the first current signal and the second voltage signal;
the first timing unit is used for starting timing when the voltage value corresponding to the first voltage signal is smaller than a first preset voltage value;
the first timing time acquisition unit is used for acquiring first timing time when the voltage value corresponding to the second voltage signal is smaller than a second preset voltage value;
the second timing time acquisition unit is used for acquiring second timing time when the current value corresponding to the first current signal is greater than a first preset current value;
and the first result determining unit is used for determining that the hot plug test results of the master device and the slave device are qualified when the first timing time is within a first preset time interval and the difference value between the second timing time and the first timing time is within a second preset time interval.
6. The apparatus for hot plug testing of power supplied by interconnection of a master device and a slave device as claimed in claim 5, wherein the apparatus for hot plug testing of power supplied by interconnection of a master device and a slave device further comprises:
the separation control module is used for controlling the separation of a power supply interface of the master equipment and a power receiving interface of the slave equipment;
the second signal acquisition module is used for acquiring a third voltage signal between the signal receiving terminal and the signal sending terminal, a second current signal of the power supply receiving terminal and a fourth voltage signal between the power supply output terminal and the power supply receiving terminal;
and the second result determining module is used for determining hot plug test results of the master equipment and the slave equipment according to the third voltage signal, the second current signal and the fourth voltage signal.
7. The apparatus for hot plug test of interconnected power supplies of a master device and a slave device as claimed in claim 6, wherein the second result determination module comprises:
the second timing unit is used for starting timing when the voltage value corresponding to the third voltage signal is greater than a third preset voltage value;
a third timing time obtaining unit, configured to obtain a third timing time when the current value corresponding to the second current signal is smaller than a second preset current value;
the fourth timing time acquisition unit is used for acquiring fourth timing time when the voltage value corresponding to the fourth voltage signal is greater than a fourth preset voltage value;
and the second result determining unit is used for determining that the hot plug test result of the master device and the hot plug test result of the slave device are qualified when the third timing time is within a third preset time interval and the fourth timing time is within a fourth preset time interval.
8. The apparatus for hot plug testing of interconnection power supply of master device and slave device according to any of claims 5-7, wherein the first signal source is used for outputting constant voltage and constant current, and the second signal source is used for outputting constant voltage.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201611033651.6A CN106771708B (en) | 2016-11-15 | 2016-11-15 | Hot plug test method and device for interconnection power supply of master equipment and slave equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201611033651.6A CN106771708B (en) | 2016-11-15 | 2016-11-15 | Hot plug test method and device for interconnection power supply of master equipment and slave equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106771708A CN106771708A (en) | 2017-05-31 |
CN106771708B true CN106771708B (en) | 2020-02-14 |
Family
ID=58970831
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201611033651.6A Active CN106771708B (en) | 2016-11-15 | 2016-11-15 | Hot plug test method and device for interconnection power supply of master equipment and slave equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106771708B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
TWI710911B (en) * | 2019-05-02 | 2020-11-21 | 緯創資通股份有限公司 | Electronic system, host device and control method |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102169154A (en) * | 2011-01-13 | 2011-08-31 | 深圳创维-Rgb电子有限公司 | A method and a device for testing an HDMI |
CN102207530A (en) * | 2010-03-31 | 2011-10-05 | 炬力集成电路设计有限公司 | Method of detecting hot swap equipment and system thereof |
CN104808104A (en) * | 2014-01-28 | 2015-07-29 | 广东欧珀移动通信有限公司 | Interface plugging anomaly detection circuit and method |
CN104849646A (en) * | 2014-02-14 | 2015-08-19 | 神讯电脑(昆山)有限公司 | Hot-pluggable test module and test system with same |
CN105067944A (en) * | 2015-09-02 | 2015-11-18 | 广东欧珀移动通信有限公司 | Detection circuit and detection method for audio interfaces |
CN105573879A (en) * | 2016-01-04 | 2016-05-11 | 浙江德景电子科技有限公司 | Method and device for separated detection of intelligent terminal USB and charger interface |
CN105589542A (en) * | 2014-11-13 | 2016-05-18 | 鸿富锦精密工业(武汉)有限公司 | Interface power supply circuit |
CN105823957A (en) * | 2016-02-26 | 2016-08-03 | 保定友源电力科技有限公司 | Electric automobile DC charging interface connection state and communication performance test system |
-
2016
- 2016-11-15 CN CN201611033651.6A patent/CN106771708B/en active Active
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102207530A (en) * | 2010-03-31 | 2011-10-05 | 炬力集成电路设计有限公司 | Method of detecting hot swap equipment and system thereof |
CN102169154A (en) * | 2011-01-13 | 2011-08-31 | 深圳创维-Rgb电子有限公司 | A method and a device for testing an HDMI |
CN104808104A (en) * | 2014-01-28 | 2015-07-29 | 广东欧珀移动通信有限公司 | Interface plugging anomaly detection circuit and method |
CN104849646A (en) * | 2014-02-14 | 2015-08-19 | 神讯电脑(昆山)有限公司 | Hot-pluggable test module and test system with same |
CN105589542A (en) * | 2014-11-13 | 2016-05-18 | 鸿富锦精密工业(武汉)有限公司 | Interface power supply circuit |
CN105067944A (en) * | 2015-09-02 | 2015-11-18 | 广东欧珀移动通信有限公司 | Detection circuit and detection method for audio interfaces |
CN105573879A (en) * | 2016-01-04 | 2016-05-11 | 浙江德景电子科技有限公司 | Method and device for separated detection of intelligent terminal USB and charger interface |
CN105823957A (en) * | 2016-02-26 | 2016-08-03 | 保定友源电力科技有限公司 | Electric automobile DC charging interface connection state and communication performance test system |
Also Published As
Publication number | Publication date |
---|---|
CN106771708A (en) | 2017-05-31 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN101951446B (en) | It is connected to the detection of the ancillary equipment of electronic equipment via audio/video plug, identifies and operate | |
CN110412345B (en) | Device for field verification of multi-device power over ethernet | |
CN104882924B (en) | The identification equipment that charges and its recognition methods | |
CN101102119A (en) | A charging detection circuit of appliance device and charging detection method | |
JP2016218972A (en) | USB hub device | |
CN107783630A (en) | Electronic installation and its control method and computer-readable recording medium | |
GB2446055A (en) | Connection unit for connecting a secondary battery to a smart charger | |
CN106771708B (en) | Hot plug test method and device for interconnection power supply of master equipment and slave equipment | |
CN210322115U (en) | Multi-point conduction and insertion and extraction force detection all-in-one machine | |
CN216957463U (en) | Voltage bias power supply circuit and solid state disk testing device | |
CN106526403B (en) | A kind of terminal leakage current detection circuit, terminal and terminal leakage current test system | |
JP2018013932A (en) | Electronic apparatus | |
US11675021B2 (en) | Test apparatus for USB-PD device | |
CN107209224A (en) | A kind of detection BTB fastens method, terminal and the detection means of reliability | |
CN106155956B (en) | Interface identification method and terminal | |
CN104105046A (en) | Detection circuit | |
CN107102234B (en) | Detection device and method for voltage sampling wire harness of battery module | |
CN110077271A (en) | Communication unit for vehicle | |
CN105891559B (en) | HDMI high speed signal test fixture and test method | |
CN104935842A (en) | Standby circuit, control method and television system of standby circuit | |
CN112511223B (en) | Signal multiplexing circuit and device based on optical module clock signal and state detection | |
CN209861060U (en) | Anti-misplug device and electronic product production system | |
US20200257600A1 (en) | Test apparatus for usb-pd device | |
CN117458657A (en) | Equipment to be charged, charging cable, charging test method and device | |
CN202721805U (en) | Device for automatically identifying microphone pin and ground pin of audio interface and signature tool |
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 |