Background
Multiple devices are usually deployed in the robot, common power supply ports are 48V, 24V and 12V, and in order to achieve power management and low power consumption control, a multi-channel individual management mode is usually adopted, for example, 48V is divided into multiple channels, each channel is individually controllable, a 24V power supply is divided into multiple channels, each channel is individually controllable, 12V is divided into multiple channels, and each channel is individually controllable. However, the increase of the number of power channels brings increased workload to the test in the production process, and usually, research and development personnel need to turn on each channel one by one for testing the power module, and measure the output voltage by using a multimeter to ensure that the produced power module can work normally.
However, if the number of test channels is too many, the power module is tested by using the current test method, and the following disadvantages are inevitably caused: firstly, the production efficiency is low, and the production efficiency is influenced; secondly, a large amount of labor cost is consumed; thirdly, due to the excessive number of test channels, the missing detection condition is easy to occur.
Disclosure of Invention
In view of this, embodiments of the present invention provide a power module testing system and method to solve the above technical problems in the prior art.
In a first aspect, an embodiment of the present invention provides a power module testing system, where the system includes: the device comprises a starting-up starting device, a test starting device, a controller, a memory and a multi-path voltage display device;
the starting device is used for starting the power module testing system after the power supply is switched on according to the first operation instruction, and the power supply is also used for supplying power to the tested power module;
the test starting device is used for generating a test trigger signal according to the second operation instruction;
the controller is used for reading a pre-configured channel output instruction from the memory according to the test trigger signal when the test trigger signal is detected, and sending the channel output instruction to the tested power supply module, wherein the channel output instruction is used for indicating the tested power supply module to open all voltage output channels;
each voltage display device in the multiple voltage display devices is used for displaying the voltage output by the voltage output channel electrically connected with the voltage display device.
In one possible embodiment, the system further comprises: and the first voltage conversion circuit is respectively electrically connected with the power supply and the tested power supply module and is used for converting the voltage provided by the power supply into the voltage which is directly used by the tested power supply module.
In one possible embodiment, the first voltage conversion circuit is a conversion circuit that converts an alternating voltage into a direct voltage.
In one possible embodiment, the system further comprises a second voltage conversion circuit for converting the voltage conforming to the direct use of the tested power supply module into the voltage conforming to the direct use of the controller; or for converting the voltage provided by the power supply into a voltage that is suitable for direct use by the controller.
In one possible embodiment, the system further includes an interface conversion circuit, configured to transmit a channel output command issued by the controller to the power module under test after the electrical connection between the controller and the power module under test is established.
In a possible embodiment, the system further includes a display panel, the multiple voltage display devices are all located on the display panel, and the preset position of the display panel is further used for displaying the voltage range of the output voltage of each voltage output channel.
In a possible embodiment, the system further includes a tested power module interface, and the tested power module is electrically connected to each of the multiple voltage display devices and the interface conversion circuit through the tested power module interface.
In one possible embodiment, the tested power supply module is electrically connected with the first voltage conversion circuit through the tested power supply module interface.
In a second aspect, an embodiment of the present invention provides a power module testing method, where the method is executed by the system described in any implementation manner of the first aspect, and includes:
according to the first operation instruction, after the power supply is switched on, starting a power supply module test system;
generating a test trigger signal according to the second operation instruction;
reading a pre-configured channel output instruction according to the test trigger signal, and sending the channel output instruction to the tested power supply module, wherein the channel output instruction is used for indicating the tested power supply module to open all voltage output channels;
and respectively displaying the voltage output by each voltage output channel in the tested power supply module.
In one possible embodiment, after the voltages output by each voltage output channel in the power module under test are respectively displayed, the method further includes:
and when the third operation instruction is detected, controlling the power module test system to be closed according to the third operation instruction.
In a third aspect, an embodiment of the present invention provides a computer storage medium, where one or more programs are stored, and the one or more programs may be executed by the power module testing system described in any embodiment of the first aspect, so as to implement the power module testing method described in any embodiment of the second aspect.
In the power module testing system provided by the embodiment of the invention, after the power testing system is started by the starting device according to the first operation instruction, the testing starting device generates the testing trigger signal according to the second operation instruction. After detecting the test trigger signal, the controller reads a pre-configured channel output instruction from the memory and then sends the instruction to the tested power supply module. The power supply module to be tested is controlled to open all the voltage output channels. Therefore, the tested power supply module outputs voltage through the voltage output channel and displays the voltage on the voltage display device. The staff can also judge whether the power module to be tested works normally according to the voltage output by each voltage output channel displayed on the voltage display device. Through this kind of mode, the staff no longer need test in proper order by the condition of each way voltage output channel of test power module, realizes that a key opens all output channels, shows all output channel's voltage measured value simultaneously, makes things convenient for the staff directly to judge whether voltage module is normal, and then improves production efficiency, reduces the omission factor, greatly reduced cost of labor moreover.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, 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 some, but not all, embodiments of the present invention. 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.
For the convenience of understanding of the embodiments of the present invention, the following description will be further explained with reference to specific embodiments, which are not to be construed as limiting the embodiments of the present invention.
Fig. 1 is a schematic structural diagram of a power module testing system according to an embodiment of the present invention, and as shown in fig. 1, the system includes: the device comprises a starting device 10, a test starting device 20, a controller 30, a multi-path voltage display device 40 and a memory 50.
The starting device 10 is used for starting the power module testing system after the power supply is switched on according to the first operation instruction, and the power supply is also used for supplying power to the tested power module;
the test starting device 20 is used for generating a test trigger signal according to the second operation instruction;
the controller 30 is configured to, when a test trigger signal is detected, read a preconfigured channel output instruction from the memory 50 according to the test trigger signal, and send the channel output instruction to the power supply module to be tested, where the channel output instruction is used to instruct the power supply module to be tested to open all voltage output channels;
each of the multiple voltage display devices 40 (only 4 are exemplarily shown in fig. 1) is configured to display the voltage output from the voltage output channel electrically connected thereto for displaying to the operator, so that the operator can determine whether the power module under test is working normally.
Specifically, the power supply supplies power to each component in the power module test system and the tested power module after the startup starting device is closed. After detecting the second operation instruction, the test starting device 20 generates a test trigger signal and transmits the test trigger signal to the controller 30. In a specific example, both the power-on enabling means and the test enabling means 20 may be a switch. Referring to fig. 2, a schematic diagram of a circuit structure of a power module testing system is shown. After receiving the test trigger signal, the controller 30 reads a pre-configured channel output command from the memory 50 (e.g., the flash memory of fig. 2) and transmits the pre-configured channel output command to the power module under test. When the tested power supply module receives the channel output instruction, all the voltage output channels of the tested power supply module are opened to output voltage. Each voltage output channel is electrically connected to a voltage display device 40 (e.g. the voltmeter in fig. 2), and the voltage display device 40 is used for the voltage output by the voltage output channel electrically connected to it. And the output voltage is displayed to the working personnel, and the working personnel can judge whether the tested power supply module works normally according to the output voltage.
Specifically, during normal operation, the voltage output by each voltage output channel of the tested power supply module should be within a certain range, and if the voltage output by a certain current voltage output channel is not within a preset range, it indicates that the tested power supply module has a fault, i.e., works abnormally, and needs to be repaired.
Optionally, in order to facilitate the staff to check the normal working range of the output voltage of each voltage output channel, that is, the preset range, the system further includes a display panel 60, and the multiple voltage display devices 40 are all installed on the display panel 60. And displays the operating range of the output voltage of the corresponding voltage output channel in the vicinity of the mounting position of each voltage display device 40 on the display panel 60. The operating range of the output channel output voltage is displayed, for example, on the lower side or the left side of the installation position of the voltage display device 40. The specific setting is according to the actual conditions, and not too much description here. Fig. 3 is a schematic diagram of a display panel of a power module testing system. Fig. 4 is a side view of the power module testing system structure, and fig. 4 shows that there is a tilted panel tilted 45 ° to the horizontal, which is a display panel 60, and particularly, the object indicated by reference numeral 4 in fig. 4 is the display panel 60. As can be seen from fig. 3, the voltage meter corresponding to each voltage output channel in the power module under test is installed on the display panel 60 for displaying the output voltage. For example, fig. 3 shows a schematic diagram of a display panel of a 24-channel digital voltmeter. The corresponding position of the display panel 60 is designed with a silk screen for displaying the normal working range of the voltage output from the voltage output channel, so that the worker can conveniently determine whether the tested power module is in the normal working state according to the voltage range output from the voltage output channel of each voltage display device 40 in the multiple voltage display devices 40 and the currently output voltage. In fig. 3, the screen printing values are located on the left side, or the upper side, of the voltmeter mounting position, respectively. The left-hand recess of fig. 3 is used for mounting the power module under test. Referring to the position of reference numeral 1 in fig. 3, reference numeral 1 is used to indicate the power module interface 70 to be tested, reference numeral 2 is used to indicate the test starting device 20, and reference numeral 3 is used to indicate the power-on starting device 10. Reference numeral 4 is used for indicating a display panel, reference numeral 5 is used for indicating a voltmeter, and reference numeral 6 is used for indicating standard value silk screen printing.
Optionally, the system further comprises a power module interface 70 to be tested, as shown in fig. 1 in particular. The tested power supply module is electrically connected with each voltage display device 40 in the multiple voltage display devices 40 through the tested power supply module interface 70.
Alternatively, it is considered that the power supply used by us at ordinary times is 220v of alternating current power supply. The voltage required by the power module under test and the functional components in the power module testing system may be a dc power supply and the voltage is much less than 220V, so the system may further include the first voltage conversion circuit 80. The first voltage conversion circuit 80 is electrically connected to the power supply and the power module under test, respectively, and is configured to convert the voltage provided by the power supply into a voltage that is suitable for being directly used by the power module under test. In a specific example, the first voltage conversion circuit is a conversion circuit that converts an alternating voltage into a direct voltage.
For example, in fig. 2, the voltage required by the power module under test is DC 48V, so the first voltage conversion circuit 80 is an AC/DC voltage converter converting 220V to 48V, and the converted voltage is directly input to the power module under test.
Optionally, the power module under test is electrically connected to the first voltage conversion circuit 80 through the power module under test interface 70. For receiving the voltage converted by the first voltage conversion circuit 80.
Further alternatively, considering that the voltage required by the controller 30 may be lower than 48V, for example, the voltage required by the controller 30 is 3.3V. Therefore, the system may further include a second voltage conversion circuit 90 for converting a voltage conforming to the direct use of the power module under test into a voltage conforming to the direct use of the controller 30; or alternatively, for converting the voltage provided by the power supply to a voltage that is compatible for direct use by the controller 30.
In fig. 2, the second voltage converting circuit 90 is a DC/DC voltage converter, which is located between the first voltage converting circuit 80 and the controller 30, and converts the voltage converted by the first voltage converting circuit 80 into 3.3V for the controller 30 to use. In addition, since the controller 30 directly detects the test trigger signal generated by the test enabling device 20 and reads the preconfigured channel output instruction from the memory 50 after detecting the test trigger signal, the controller 30 is electrically connected to the test enabling device 20 and the memory 50, respectively, as shown in fig. 1 or fig. 2.
Optionally, the system may further include an interface conversion circuit 100, configured to transmit a channel output command issued by the controller 30 to the power module under test after the electrical connection between the controller 30 and the power module under test is established, as shown in fig. 1 or fig. 2. It should be noted that, because fig. 2 is a specific application example, the components in fig. 2 are not written with corresponding component numbers, and only specific components are taken as an example for description. However, the circuit principle used is the same as that of fig. 1, and will not be described more here.
In a specific example of an application, see in particular fig. 3. The left side of the power module testing system is an interface (see the position marked with the number 1 in fig. 3) between the power module to be tested and the power module testing system, and the power module to be tested is placed on the interface of the power module testing system. Firstly, a tester presses a starting switch (the position marked as 3 in fig. 3), 220V voltage of a 220V external power supply is converted into 48V voltage through an AC-to-DC conversion module, a power supply module testing system and a tested power supply module work, and the 48V voltage is converted into 3.3V voltage through a DC module to be supplied to a controller to work. And after the set-up key is pressed down, the tested power supply module and the power supply module testing system enter a working state.
Secondly, when the tester presses down a test switch (see the position marked as 2 in fig. 3) of the power module test system, when the controller detects that the test switch is closed, the controller can read channel output instructions stored in the flash and send the channel output instructions to the tested power module through the interface conversion circuit, the tested power module can open all voltage output channels after receiving the instructions, at the moment, a plurality of digital voltmeters (such as the voltmeters shown in the position marked as 5 in fig. 3) connected on the power module test system can display output voltage values of channels corresponding to the digital voltmeters in real time, the tester observes the head numerical values of the voltmeters and the standard value silk screen on the display panel, the tester presses down a switch key after the measurement is completed, the tested power module is taken down, then the next tested power module is changed to press down the switch key, and then the test key is pressed down to continue the test.
In the above specific example, the tested power module adopts a CAN differential bus communication mode, the controller CAN only recognize the TTL level, and in order to enable the controller and the power module to communicate normally, an interface conversion circuit that converts TTL to CAN is added between the controller and the tested module to implement protocol and level conversion. Of course, the interface conversion circuit may be other circuits, which are set according to actual conditions, such as signal conditions recognized by the power supply module under test and the controller, respectively, and will not be further described here.
In the power module testing system provided by the embodiment of the invention, after the power testing system is started by the starting device according to the first operation instruction, the testing starting device generates the testing trigger signal according to the second operation instruction. After detecting the test trigger signal, the controller reads a pre-configured channel output instruction from the memory and then sends the instruction to the tested power supply module. The power supply module to be tested is controlled to open all the voltage output channels. Therefore, the tested power supply module outputs voltage through the voltage output channel and displays the voltage on the voltage display device. The staff can also judge whether the power module to be tested works normally according to the voltage output by each voltage output channel displayed on the voltage display device. Through this kind of mode, the staff no longer need test in proper order by the condition of each way voltage output channel of test power module, realizes that a key opens all output channels, shows all output channel's voltage measured value simultaneously, makes things convenient for the staff directly to judge whether voltage module is normal, and then improves production efficiency, reduces the omission factor, greatly reduced cost of labor moreover.
Fig. 5 is a power module testing method according to an embodiment of the present invention, where the method includes:
and step 510, according to the first operation instruction, after the power supply is switched on, starting a power supply module test system.
And step 520, generating a test trigger signal according to the second operation instruction.
And 530, reading a pre-configured channel output instruction according to the test trigger signal, and sending the channel output instruction to the tested power supply module, wherein the channel output instruction is used for indicating the tested power supply module to open all voltage output channels.
That is, step 530 is executed to open all the voltage output channels according to the channel output command by the power module under test.
And 540, respectively displaying the voltage output by each voltage output channel in the tested power supply module for displaying to the working personnel.
So that the worker can determine whether the tested power supply module works normally.
Optionally, after the voltages output by each voltage output channel in the tested power supply module are respectively displayed, the method further includes:
and when the third operation instruction is detected, controlling the power supply module testing system to be closed according to the third operation instruction so that a worker can take down the current tested power supply module and further test the next tested power supply module.
The method steps in the power module testing method provided in this embodiment have been described in detail in the embodiment corresponding to fig. 1, and therefore are not described herein again.
According to the power module testing method provided by the embodiment of the invention, after the starting-up starting device starts the power testing system according to the first operation instruction, the testing starting device generates the testing trigger signal according to the second operation instruction. After detecting the test trigger signal, the controller reads a pre-configured channel output instruction from the memory and then sends the instruction to the tested power supply module. The power supply module to be tested is controlled to open all the voltage output channels. Therefore, the tested power supply module outputs voltage through the voltage output channel and displays the voltage on the voltage display device. The staff can also judge whether the power module to be tested works normally according to the voltage output by each voltage output channel displayed on the voltage display device. Through this kind of mode, the staff no longer need test in proper order by the condition of each way voltage output channel of test power module, realizes that a key opens all output channels, shows all output channel's voltage measured value simultaneously, makes things convenient for the staff directly to judge whether voltage module is normal, and then improves production efficiency, reduces the omission factor, greatly reduced cost of labor moreover.
The embodiment of the invention also provides a storage medium (computer readable storage medium). The storage medium herein stores one or more programs. Among others, the storage medium may include volatile memory, such as random access memory; the memory may also include non-volatile memory, such as read-only memory, flash memory, a hard disk, or a solid state disk; the memory may also comprise a combination of memories of the kind described above.
When one or more programs in the storage medium are executable by one or more processors, the power module testing method performed on the power module testing system side as described above is implemented.
The processor is used for executing the power module test program stored in the memory so as to realize the following steps of the power module test method executed on the power module test system side:
according to the first operation instruction, after the power supply is switched on, starting a power supply module test system;
generating a test trigger signal according to the second operation instruction;
reading a pre-configured channel output instruction according to the test trigger signal, and sending the channel output instruction to the tested power supply module, wherein the channel output instruction is used for indicating the tested power supply module to open all voltage output channels;
and respectively displaying the voltage output by each voltage output channel in the tested power supply module for displaying to the working personnel so that the working personnel can determine whether the tested power supply module works normally.
Optionally, when a third operation instruction is detected, the power module testing system is controlled to be turned off according to the third operation instruction, so that a worker can take off the current power module to be tested, and then test the next power module to be tested.
Those of skill would further appreciate that the various illustrative components and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware, computer software, or combinations of both, and that the various illustrative components and steps have been described above generally in terms of their functionality in order to clearly illustrate this interchangeability of hardware and software. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
The steps of a method or algorithm described in connection with the embodiments disclosed herein may be embodied in hardware, a software module executed by a processor, or a combination of the two. A software module may reside in Random Access Memory (RAM), memory, Read Only Memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art.
The above embodiments are provided to further explain the objects, technical solutions and advantages of the present invention in detail, it should be understood that the above embodiments are merely exemplary embodiments of the present invention and are not intended to limit the scope of the present invention, and any modifications, equivalents, improvements and the like made within the spirit and principle of the present invention should be included in the scope of the present invention.