Testing device and method

By designing a test device that supports dual-mode power supply of DC and AC, the problem that the existing electronic control unit test device cannot work in the scenario without AC is solved, flexible testing conditions and diversified adaptability of equipment are achieved, and the application range and reliability of the test device are improved.

CN120428690APending Publication Date: 2025-08-05CHONGQING SELIS PHOENIX INTELLIGENT INNOVATION TECH CO LTD
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
CN202510547887.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-04-28
Publication Date
2025-08-05

AI Technical Summary

Technical Problem

The existing electronic control unit test devices rely on AC power supply and cannot work in AC-free scenarios. The load box function is highly coupled with specific electronic control units, resulting in low flexibility in the test scenario and low equipment reuse rate, which increases the cost of testing equipment resource.

Method used

A test device is designed, including a power input module and a control module, which supports dual-mode power supply for DC and AC. Through the dynamic power allocation capability of the control module, flexible switching between DC and AC input is achieved. The independent power supply design enables the load box to adapt to diverse testing needs.

Benefits of technology

It realizes stable testing under different power supply conditions, expands the application boundaries of the load box, solves the contradiction between power supply limitations and equipment specificity, and provides reliable testing facility support.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120428690A_ABST
    Figure CN120428690A_ABST
Patent Text Reader

Abstract

The invention provides a testing device and method, and the device comprises a power input module and a control module, the power input module is used for receiving DC input and / or AC input, and the control module is used for supplying power to a first interface and a second interface through DC input under the condition that only DC input is received. Power is supplied to the first interface and the second interface through the alternating current input under the condition that only the alternating current input is received, or power is supplied to the first interface through the alternating current input and power is supplied to the second interface through the direct current input under the condition that the direct current input and the alternating current input are received at the same time, and the first interface and the second interface are connected with a load; according to the invention, through the compatible design of the power supply input module, direct-current and alternating-current dual-mode power supply and electric measurement of simultaneous access of the dual power supplies are supported, and the application boundary of the load box is expanded, and then the dynamic power supply allocation capability of the control module cooperates with the independent power supply design of the first and second interfaces. Different loads can be accessed through the interfaces to meet diversified test requirements.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of automobile testing, and in particular to a testing device and method. Background Art

[0002] As the core control center of modern automobiles, the electronic control unit has significantly increased its functional complexity with the development of automobile intelligence, and diversified service contents have been developed and applied. Based on the effectiveness and safety of the application, the development of the electronic control unit must undergo rigorous testing and verification to ensure that it meets the application standards or requirements. In the development and testing of electronic control units, load boxes are mainly used for testing. Their functions include providing stable power supply for the electronic control unit to be tested, simulating various electrical signals in the vehicle operating environment, and supporting fault injection to verify the fault tolerance of the electronic control unit under abnormal working conditions. The current mainstream load box adopts AC power supply mode, and generates the DC power supply required for electronic control unit testing through the internal conversion module.

[0003] Existing electronic control units rely entirely on the AC power grid for power supply through the load box testing process and cannot work in scenarios without AC power. The existing single power supply method limits the flexibility of the test scenario. Secondly, in the existing test environment and conventional testing practices, the load box function is highly coupled with the specific electronic control unit function, resulting in the load box being unable to be applied to the development and testing process of other functional electronic control units after development is completed, resulting in low equipment reuse rate and increased test equipment resource cost investment. Summary of the Invention

[0004] The purpose of the embodiments of the present invention is to provide a testing device and method to solve the above technical problems.

[0005] The present invention provides a testing device, which includes a power input module and a control module electrically connected in sequence; the power input module is used to receive DC input and / or AC input; the control module is used to power a first interface and a second interface through the DC input when the power input module only receives DC input; or, when the power input module only receives AC input, power the first interface and the second interface through the AC input; or, when the power input module simultaneously receives DC input and AC input, power the first interface through the AC input and power the second interface through the DC input; the first interface and the second interface are connected to a load.

[0006] In one embodiment of the present invention, under the condition that the power input module only receives DC input, the control module includes a second diode, a fourth relay and a fourth diode; the positive pole of the DC input is respectively connected to the positive poles of the second diode and the fourth diode, the negative pole of the second diode is connected to the first end of the fourth relay, the third end of the fourth relay is connected to the first interface, the second end of the fourth relay is connected to the negative pole of the fourth diode, the negative pole of the fourth diode is connected to the second interface, and the negative pole of the DC input is connected to the first interface via the ground end; the positive pole of the DC input closes the normally open contact of the fourth relay through the positive pole of the second diode, and supplies power to the first interface after passing through the fourth diode, and the positive pole of the DC input directly supplies power to the second interface after passing through the fourth diode.

[0007] In one embodiment of the present invention, under the condition that the power input module only receives AC input, the control module includes an AC conversion unit, a first diode, a fourth relay, and a third diode; the input end of the AC conversion unit is connected to the external AC input power supply, the positive electrode of the AC conversion unit is connected to the positive electrodes of the first diode and the third diode respectively, the cathode of the first diode is connected to the first end of the fourth relay, the third end of the fourth relay is connected to the cathode of the third diode, the second end of the fourth relay is connected to the second interface, the cathode of the third diode is connected to the first interface, and the cathode of the AC conversion unit is connected to the ground end and the first interface respectively; the input end of the AC conversion unit receives AC input and converts it into DC output, the positive electrode of the AC conversion unit closes the normally open contact of the fourth relay through the positive electrode of the first diode, and supplies power to the second interface after passing through the third diode, and the positive electrode of the AC conversion unit directly supplies power to the first interface after passing through the third diode.

[0008] In one embodiment of the present invention, under the condition that the power input module receives DC input and AC input at the same time, the control module includes a first diode, a second diode, a third diode, a fourth diode, a fourth relay and an auxiliary control unit; the input end of the AC conversion unit is connected to the external AC input power supply, the positive pole of the AC conversion unit is respectively connected to the positive poles of the first diode and the third diode, the positive pole of the DC input is respectively connected to the positive poles of the second diode and the fourth diode, the cathode of the third diode is connected to the first interface, the cathode of the fourth diode is connected to the second interface, the cathode of the DC input is connected to the first interface via the ground terminal, the cathode of the AC conversion unit is respectively connected to the ground terminal and the first interface; the first end of the fourth relay is respectively connected to the cathodes of the first diode and the second diode, The second end of the fourth relay is connected to the second interface, the third end of the fourth relay is connected to the first interface, the third end of the fourth relay is connected to the cathode of the third diode, and the second end of the fourth relay is connected to the cathode of the fourth diode; the first end of the auxiliary control unit is connected to the positive pole of the AC conversion unit, the second end of the auxiliary control unit is connected to the positive pole of the DC input, and the third end of the auxiliary control unit is connected to the first end of the fourth relay; the positive pole of the AC conversion unit and the positive pole of the DC input are connected to close the auxiliary control unit through the auxiliary control unit, and the auxiliary control unit controls the fourth relay to disconnect. The positive pole of the AC conversion unit directly supplies power to the first interface after passing through the third diode, and the positive pole of the DC input directly supplies power to the second interface after passing through the fourth diode.

[0009] In one embodiment of the present invention, the auxiliary control unit includes a first relay, a second relay, and a third relay; the first end of the fourth relay is grounded via the normally open contact of the third relay; the cathode of the second diode is connected in series with the normally open contact of the first relay, the normally open contact of the second relay, and the first end of the coil of the third relay, and the second end of the coil of the third relay is grounded; the positive pole of the AC conversion unit is grounded via the coil of the first relay, and the positive pole of the DC input is grounded via the coil of the second relay; the positive pole of the AC conversion unit closes the first relay, the positive pole of the DC input closes the second relay, the closure of the first and second relays closes the third relay, and the closure of the third relay controls the fourth relay to be disconnected; the positive pole of the AC conversion unit directly supplies power to the first interface after passing through the third diode, and the positive pole of the DC input directly supplies power to the second interface after passing through the fourth diode.

[0010] In one embodiment of the present invention, the testing device further includes a first resistor, a second resistor, a third resistor, a fourth resistor, a first indicator light, a second indicator light, a third indicator light and a first fuse; the first end of the first resistor is connected to the negative pole of the first diode and the second diode respectively, and the second end of the first resistor is connected to the first end of the fourth relay; the first indicator light is arranged between the third diode and the positive pole of the AC conversion unit, and the first indicator light is connected between the positive pole of the AC conversion unit and the ground via the third resistor, for indicating the AC power supply status; the third indicator light is connected between the first end of the coil of the third relay and the ground via the second resistor, for indicating the electrical measurement operation status; the first fuse is arranged between the positive pole of the DC input and the fourth diode; the second indicator light is arranged between the fourth diode and the first safety fuse, and the second indicator light is connected between the output end of the first safety fuse and the ground via the fourth resistor, for indicating the DC power supply status.

[0011] In one embodiment of the present invention, the load includes a power supply module and a test module; the power supply module is connected to the first interface, and the test module is connected to the second interface; the power supply module includes multiple power supply channels, each of the power supply channels provides a power supply pin of the device under test, and the power supply channel includes at least one of a power supply signal channel, a pulse signal channel, a high-side load channel, a low-side load channel, an H-bridge load channel and a high-voltage interlock test channel; the test module includes multiple test channels, each of the test channels provides a test pin of the device under test, and the test channel includes at least one of a wake-up signal channel, a power supply channel and a ground signal channel.

[0012] In one embodiment of the present invention, the power supply module also includes a power supply transformer unit and a pulse modulation unit; the power supply transformer unit includes multiple voltage transformer and regulation devices, the input end of each voltage transformer and regulation device is connected to the first interface or the output end of other voltage transformer and regulation devices, and each of the voltage transformer and regulation devices provides a corresponding power supply signal channel; the pulse modulation unit includes multiple pulse modulators, the input end of each pulse modulator is connected to the output end of the corresponding voltage transformer and regulation device, and each of the pulse modulators provides a corresponding pulse signal channel.

[0013] In one embodiment of the present invention, the load module also includes a load indication unit and a cooling fan unit; the load indication unit includes a fourth indicator light, a fifth indicator light and a second fuse, the second fuse is connected to the output end of any voltage transformer and regulating device, and the power supply ends of the fourth indicator light and the fifth indicator light are respectively connected to the two ends of the second fuse; the cooling fan unit includes at least one cooling fan, and the power supply end of the cooling fan is connected to the output end of any voltage transformer and regulating device.

[0014] An embodiment of the present invention also provides a testing method, which is applied to the testing device as described in any of the above embodiments, and the testing method includes: receiving external DC input and / or AC input; if only DC input is received, powering the first interface and the second interface through the DC input; if only AC input is received, powering the first interface and the second interface through the AC input; if both DC input and AC input are received at the same time, powering the first interface through the AC input, and powering the second interface through the DC input, and the first interface and the second interface are connected to the load.

[0015] A testing device and method provided by the present invention include a power input module and a control module electrically connected in sequence, the power input module being used to receive DC input and / or AC input, the control module being used to power a first interface and a second interface through the DC input when only DC input is received, or to power the first interface and the second interface through the AC input when only AC input is received, or to power the first interface through the AC input and the second interface through the DC input when both DC and AC inputs are received, the first interface and the second interface being connected to a load; the present application supports DC and AC dual-mode power supply and electrical testing with dual power supplies connected simultaneously through the compatible design of the power input module, thereby ensuring the stability of the test task and expanding the application boundaries of the load box; the dynamic power allocation capability of the control module, combined with the independent power supply design of the first and second interfaces, enables the load box to no longer be bound to a specific electronic control unit function, and can be connected to different loads through interfaces to adapt to diverse testing requirements. In summary, the contradiction between the power supply limitations in electronic control unit testing and the equipment specificity of the test load box is resolved, providing reliable testing facility support for the development of electronic control units.

[0016] It should be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present application. BRIEF DESCRIPTION OF THE DRAWINGS

[0017] The accompanying drawings are incorporated into and constitute a part of the specification, illustrating embodiments consistent with the present application and, together with the specification, serving to explain the principles of the present application. It is obvious that the drawings described below are merely some embodiments of the present application, and a person of ordinary skill in the art can derive other drawings based on these drawings without inventive effort. In the drawings:

[0018] Figure 1 is a schematic diagram of an exemplary system architecture shown in an exemplary embodiment of the present application;

[0019] Figure 2 is a schematic diagram of a testing device shown in an exemplary embodiment of the present application;

[0020] Figure 3 1 is a schematic diagram of partial circuit conduction of a control module under a DC input condition, shown in an exemplary embodiment of the present application;

[0021] Figure 4 1 is a schematic diagram of partial circuit conduction of a control module under AC input conditions, shown in an exemplary embodiment of the present application;

[0022] Figure 5 This is a schematic diagram of partial circuit conduction of a control module under the condition of receiving DC input and AC input simultaneously, shown in an exemplary embodiment of the present application;

[0023] Figure 6 is a circuit diagram of a testing device shown in an exemplary embodiment of the present application;

[0024] Figure 7 is a schematic diagram of a specific load circuit shown in an exemplary embodiment of the present application;

[0025] Figure 8 is a flow chart of a testing method shown in an exemplary embodiment of the present application;

[0026] Figure 9 It is a structural diagram of a computer system of an electronic device shown in an exemplary embodiment of the present application. DETAILED DESCRIPTION

[0027] The following will describe embodiments of the present invention with reference to the accompanying drawings and specific embodiments. Those skilled in the art will readily appreciate the other advantages and benefits of the present invention from the disclosure herein. The present invention may also be implemented or applied through various other specific embodiments, and the details in this specification may be modified or altered based on different viewpoints and applications without departing from the spirit of the present invention. It should be understood that the preferred embodiments are intended only to illustrate the present invention and are not intended to limit the scope of protection of the present invention.

[0028] It should be noted that the illustrations provided in the following embodiments are merely schematic illustrations of the basic concept of the present invention. Therefore, the illustrations only show components related to the present invention and are not drawn according to the number, shape, and size of components in actual implementation. In actual implementation, the type, quantity, and proportion of each component may be changed arbitrarily, and the component layout may also be more complex.

[0029] In the following description, numerous details are discussed to provide a more thorough explanation of the embodiments of the present invention. However, it will be apparent to those skilled in the art that the embodiments of the present invention may be practiced without these specific details. In other embodiments, well-known structures and devices are shown in block diagram form rather than in detail to avoid obscuring the embodiments of the present invention.

[0030] The term "and / or" used in this application describes a relationship between associated objects, indicating that three possible relationships exist. For example, "A and / or B" can represent: A exists alone, A and B exist simultaneously, or B exists alone. The character " / " generally indicates that the associated objects are in an "or" relationship.

[0031] Figure 1 It is a schematic diagram of an exemplary system architecture shown in an exemplary embodiment of the present application.

[0032] Reference Figure 1 As shown, the system architecture may include an external power supply 110, a test device 120, a device under test 130, and a computer device 140. The computer device 140 controls the test device 120 to receive DC and / or AC inputs from the external power supply 110. If the test device 120 only receives DC input, the DC input is used to power a load via a first interface and a second interface, and the device under test 130 is tested. If the test device 120 only receives AC input, the AC input is used to power a load via a first interface and a second interface, and the device under test 130 is tested. If the test device 120 receives both DC and AC inputs, the AC input is used to power at least part of the load via the first interface, and the DC input is used to power the remaining load via the second interface, to test the device under test 130. The computer device 140 is a computing power-providing device used to host the program implementation environment for executing the test method, and includes but is not limited to a microcomputer, an industrial control computer, and a cloud virtual machine. The external power supply 110 includes an AC input power supply and / or a DC input power supply. The device under test 130 includes electronic control units of various models or functions.

[0033] Illustratively, the computer device 140 controls the test device 120 to receive the DC input and / or AC input inputted by the external power supply 110. If the test device 120 only receives the DC input, the load is powered by the DC input through the first interface and the second interface and the device under test 130 is tested. If the test device 120 only receives the AC input, the load is powered by the AC input through the first interface and the second interface and the device under test 130 is tested. If the test device 120 receives both the DC input and the AC input, at least part of the load is powered by the AC input through the first interface, and the remaining load is powered by the DC input through the second interface. The load is powered to test the device under test 130; through the compatible design of the power input module, it supports DC and AC dual-mode power supply and electrical testing with dual power supplies connected at the same time, ensuring the stability of the test task and expanding the application boundary of the load box. The dynamic power allocation capability of the control module, combined with the independent power supply design of the first and second interfaces, makes the load box no longer bound to the specific electronic control unit function, and can be connected to different loads through the interfaces to adapt to diverse test requirements. In summary, it solves the contradiction between the power supply limitation in the test of the electronic control unit and the equipment specificity of the test load box, and provides reliable test facility support for the development of the electronic control unit.

[0034] Figure 2 This is a schematic diagram of a test device shown in an exemplary embodiment of the present application, referring to Figure 2 As shown, the test includes at least a power input module 210 and a control module 220 electrically connected in sequence, wherein the power input module 210 is used to receive DC input and / or AC input, and the above-mentioned control module 220 is used to power the first interface and the second interface through the DC input under the condition that the power input module only receives DC input; or, is used to power the first interface and the second interface through the AC input under the condition that the power input module only receives AC input; or, is used to power the first interface through the AC input and the second interface through the above-mentioned DC input under the condition that the power input module receives both DC input and AC input, wherein the first interface and the second interface are connected to the load 230.

[0035] It should be noted that the above-mentioned testing device is preferably used to test the vehicle-mounted electronic control unit ECU, and its application environment is preferably used in vehicle testing, but it should be understood that when the load is adjusted based on demand, the testing device of the present application can also be extended to the testing of other control units.

[0036] In one embodiment of the present application, under the condition that the power input module only receives DC input, the partial circuit conduction diagram of the control module is as follows: Figure 3 As shown, Figure 3This is a schematic diagram of a partial circuit conduction of a control module under the condition of DC input shown in an exemplary embodiment of the present application, referring to Figure 3 As shown, the control module includes a second diode D2, a fourth relay Rly4, and a fourth diode D4. The positive electrode DC+ of the DC input is connected to the positive electrodes of the second diode D2 and the fourth diode D4, respectively. The cathode of the second diode D2 is connected to the first end of the fourth relay Rly4. The third end of the fourth relay Rly4 is connected to the first interface. The second end of the fourth relay Rly4 is connected to the cathode of the fourth diode D4. The cathode of the fourth diode D4 is connected to the second interface. The negative electrode DC- of the DC input is connected to the first interface via the ground terminal. It should be noted that a freewheeling diode D7 is connected in parallel at both ends of the coil of the fourth relay Rly4. The first end of the fourth relay Rly4 is the non-grounded end of the coil of the fourth relay Rly4.

[0037] In one embodiment of the present application, the positive pole DC+ of the DC input closes the normally open contact of the fourth relay Rly4 via the positive pole of the second diode D2, and then supplies power to the first interface after passing through the fourth diode D4. The positive pole DC+ of the DC input then directly supplies power to the second interface after passing through the fourth diode D4. Specifically, the voltage provided by the positive pole DC+ of the DC input conducts through the positive pole of the second diode D2, and after the coil of the fourth relay Rly4 conducts, the normally open contact of the fourth relay Rly4 is attracted and closed. At this time, on the one hand, the voltage provided by the positive pole DC+ of the DC input supplies power to the first interface via the fourth diode D4, and on the other hand, the voltage provided by the positive pole DC+ of the DC input directly supplies power to the second interface after passing through the fourth diode D4.

[0038] In one embodiment of the present application, under the condition that the power input module only receives AC input, the partial circuit conduction diagram of the control module is as follows: Figure 4 As shown, Figure 4 This is a schematic diagram of a partial circuit conduction of a control module under AC input conditions shown in an exemplary embodiment of the present application, referring to Figure 4 As shown, under the condition that the power input module only receives AC input, the control module includes an AC conversion unit V1, a first diode D1, a fourth relay Rly4 and a third diode D3; the input end of the AC conversion unit V1 is connected to the external AC input power supply, the positive electrode of the AC conversion unit V1 is connected to the positive electrodes of the first diode D1 and the third diode D3 respectively, the cathode of the first diode D1 is connected to the first end of the fourth relay Rly4, the third end of the fourth relay Rly4 is connected to the cathode of the third diode D3, the second end of the fourth relay Rly4 is connected to the second interface, the cathode of the third diode D3 is connected to the first interface, and the cathode of the AC conversion unit V1 is connected to the ground end and the first interface respectively.

[0039] In one embodiment of the present application, the input end of the AC conversion unit V1 receives AC input and converts it into a DC output. The anode of the AC conversion unit V1 closes the normally open contact of the fourth relay Rly4 through the anode of the first diode D1, and then supplies power to the second interface through the third diode D3. The anode of the AC conversion unit V1 directly supplies power to the first interface through the third diode D3. Specifically, the input end of the AC conversion unit V1 receives AC input and converts it into a DC output. The voltage provided by the anode of the AC conversion unit V1 conducts the coil of the fourth relay Rly4 through the anode of the first diode D1. After the coil of the fourth relay Rly4 conducts, the normally open contact of the fourth relay Rly4 is attracted to close. At this time, on the one hand, the voltage provided by the anode of the AC conversion unit V1 supplies power to the second interface through the third diode D3. On the other hand, the voltage provided by the anode of the AC conversion unit V1 directly supplies power to the first interface through the third diode D3.

[0040] In one embodiment of the present application, under the condition that the power input module receives DC input and AC input at the same time, the partial circuit conduction diagram of the control module is as follows: Figure 5 As shown, Figure 5 This is a schematic diagram of a partial circuit conduction of a control module under the condition of receiving DC input and AC input at the same time, shown in an exemplary embodiment of the present application. Figure 5 As shown, under the condition that the power input module receives DC input and AC input at the same time, the control module includes a first diode D1, a second diode D2, a third diode D3, a fourth diode D4, a fourth relay Rly4 and an auxiliary control unit, the input end of the AC conversion unit V1 is connected to the external AC input power supply, the positive electrode of the AC conversion unit V1 is connected to the positive electrode of the first diode D1 and the third diode D3 respectively, the positive electrode DC+ of the DC input is connected to the positive electrode of the second diode D2 and the fourth diode D4 respectively, the cathode of the third diode D3 is connected to the first interface, the cathode of the fourth diode D4 is connected to the second interface, and the negative electrode DC- of the DC input is connected to the first interface via the ground terminal. The negative electrode of the AC conversion unit V1 is connected to the ground terminal and the first interface respectively, the first end of the fourth relay Rly4 is connected to the negative electrodes of the first diode D1 and the second diode D2 respectively, the second end of the fourth relay Rly4 is connected to the second interface, the third end of the fourth relay Rly4 is connected to the first interface, the third end of the fourth relay Rly4 is connected to the negative electrode of the third diode D3, the second end of the fourth relay Rly4 is connected to the negative electrode of the fourth diode D4, the first end of the auxiliary control unit is connected to the positive electrode of the AC conversion unit V1, the second end of the auxiliary control unit is connected to the positive electrode DC+ of the DC input, and the third end of the auxiliary control unit is connected to the first end of the fourth relay Rly4.

[0041] Among them, the auxiliary control unit includes a first relay Rly1, a second relay Rly2 and a third relay Rly3, the first end of the fourth relay Rly4 is grounded via the normally open contact of the third relay Rly3, the cathode of the second diode D2 is connected in series with the normally open contact of the first relay Rly1, the normally open contact of the second relay Rly2 and the first end of the coil of the third relay Rly3, the second end of the coil of the third relay Rly3 is grounded, the positive pole of the AC conversion unit V1 is grounded via the coil of the first relay Rly1, and the positive pole DC+ of the DC input is grounded via the coil of the second relay Rly2.

[0042] In one embodiment of the present application, the positive pole of the AC conversion unit V1 and the positive pole DC+ of the DC input are connected to the auxiliary control unit to close the auxiliary control unit, and the auxiliary control unit controls the fourth relay Rly4 to disconnect. The positive pole of the AC conversion unit V1 directly supplies power to the first interface after passing through the third diode D3, and the positive pole DC+ of the DC input directly supplies power to the second interface after passing through the fourth diode D4.

[0043] Specifically, the voltage provided by the positive electrode of the AC conversion unit V1 turns on the coil of the first relay Rly1. After the coil of the first relay Rly1 turns on, it attracts the normally open contact of the first relay Rly1 and closes it, closing the first relay Rly1. The voltage provided by the positive electrode of the DC input DC+ turns on the coil of the second relay Rly2. After the coil of the second relay Rly2 turns on, it attracts the normally open contact of the second relay Rly2 and closes it, closing the second relay Rly2. After the first and second relays Rly1 and Rly2 are closed, the coil of the third relay Rly3 turns on and attracts the normally open contact and closes it. After the third relay Rly3 is closed, it pulls the upper end of the coil of the fourth relay Rly4 to ground, preventing the fourth relay Rly4 from closing and maintaining the open state, thus isolating the upper and lower ends of the normally open contact of the fourth relay Rly4. At this time, the voltage provided by the positive electrode of the AC conversion unit V1 directly powers the first interface after passing through the third diode D3, and the voltage provided by the positive electrode of the DC input DC+ directly powers the second interface after passing through the fourth diode D4.

[0044] Based on the three power supply modes described above, the test device can be powered by AC, DC, and used for electrical testing. When powered by AC only, the load box operates normally. When AC is unavailable, the load box can be powered by an external DC power supply and operate normally. When electrical testing is required, both AC and DC are connected simultaneously, and the test device load box automatically switches to electrical testing mode, operating via the AC input on the first interface and injecting electrical test waveforms via the DC input through the second interface, acting only on the device under test.

[0045] In one embodiment of the present application, Figure 6 This is a circuit diagram of a test device shown in an exemplary embodiment of the present application, referring to Figure 6 As shown, the testing device further includes a first resistor R1, a second resistor R2, a third resistor R3, a fourth resistor R4, a first indicator light Lamp1, a second indicator light Lamp2, a third indicator light Lamp3 and a first fuse F1. The input end of the AC conversion unit V1 is connected to the external AC input power supply, the positive electrode of the AC conversion unit V1 is connected to the positive electrodes of the first diode D1 and the third diode D3 respectively, the positive electrode DC+ of the DC input is connected to the positive electrodes of the second diode D2 and the fourth diode D4 respectively, the cathode of the third diode D3 is connected to the first interface, the cathode of the fourth diode D4 is connected to the second interface, the negative electrode DC- of the DC input is connected to the first interface via the ground end, the negative electrode of the AC conversion unit V1 is connected to the ground end and the first interface respectively, the first end of the fourth relay Rly4 is connected to the cathode of the first diode D1 and the second diode D2 respectively, the second end of the fourth relay Rly4 is connected to the second interface, the third end of the fourth relay Rly4 is connected to the first interface, the third end of the fourth relay Rly4 is connected to the cathode of the third diode D3, the second end of the fourth relay Rly4 is connected to the cathode of the fourth diode D4, the first end of the first resistor R1 is connected to the cathode of the first diode D1 and the second diode D2 respectively, the second end of the first resistor R1 and the coil of the fourth relay Rly4 are grounded, and the The second end of a resistor R1 is grounded via a normally open contact of a third relay Rly3. The cathode of a second diode D2 is connected in series with the normally open contact of the first relay Rly1, the normally open contact of the second relay Rly2, and the first end of the coil of the third relay Rly3. The second end of the coil of the third relay Rly3 is grounded. The anode of the AC conversion unit V1 is grounded via the coil of the first relay Rly1. The positive electrode DC+ of the DC input is grounded via the coil of the second relay Rly2. A first indicator light Lamp1 is disposed between the third diode D3 and the positive electrode of the AC conversion unit V1. The first indicator light Lamp1 is connected between the positive electrode of the AC conversion unit V1 and ground via the third resistor R3. The third indicator light Lamp3 is connected between the first end of the coil of the third relay Rly3 and ground via the second resistor R2. A first fuse F1 is disposed between the positive electrode DC+ of the DC input and a fourth diode D4. A second indicator light Lamp2 is disposed between the fourth diode D4 and the first safety fuse. The second indicator light Lamp2 is connected between the output end of the first safety fuse and ground via the fourth resistor R4. It should be noted that a freewheeling diode D5 is connected in parallel at both ends of the coil of the first relay Rly1, a freewheeling diode D8 is connected in parallel at both ends of the coil of the second relay Rly2, a freewheeling diode D6 is connected in parallel at both ends of the coil of the third relay Rly3, and a freewheeling diode D7 is connected in parallel at both ends of the coil of the fourth relay Rly4.

[0046] The first indicator light Lamp1 is used to indicate the AC power supply status, the third indicator light Lamp3 is used to indicate the electrical test operation status, and the second indicator light Lamp2 is used to indicate the DC power supply status.

[0047] In some specific embodiments, the first fuse F1 is a 90A fuse, and the AC conversion unit V1 is a 220V or 380V AC to DC converter with an adjustable DC range of 9V to 16V.

[0048] In one embodiment of the present application, the load includes a power supply module and a test module, wherein the power supply module is connected to the first interface and the test module is connected to the second interface. The power supply module includes multiple power supply channels, each of which provides a power supply pin for the device under test.

[0049] In one embodiment of the present application, the power supply channel includes at least one of a power supply signal channel, a pulse signal channel, a high-side load channel, a low-side load channel, an H-bridge load channel, and a high-voltage interlock test channel.

[0050] Each high-side load channel includes a high-side load unit, and a first end of the high-side load unit is connected to the positive output end of the input AC conversion unit V1 or the positive output end of any intermediate voltage transformation module.

[0051] In one embodiment of the present application, the test module includes multiple test channels, each test channel provides a test pin of the device under test, and the test channel includes at least one of a wake-up signal channel, a power supply channel, and a ground signal channel.

[0052] It should be noted that, specifically, the above-mentioned multiple power supply channels and test channels are circuit channels for transmitting electrical signals, which use physical connecting line channels to transmit media. The transmission end of each channel serves as the output interface of the channel, and the channel output interface can be connected to the specific pins of the module to be tested. In addition to the connecting lines, the connection channel can also include loads with different structures, different resistance values, different inductances, or electrical signals of different levels and forms, which can be set according to actual needs.

[0053] In one embodiment of the present application, the power supply module further includes a power supply transformer unit and a pulse modulation unit, wherein the power supply transformer unit includes a plurality of transformer and regulating devices, the input end of each transformer and regulating device is connected to the output end of the first interface or other transformer and regulating device, and each transformer and regulating device provides a corresponding power supply signal channel, and the pulse modulation unit includes a plurality of pulse modulators, the input end of each pulse modulator is connected to the output end of the corresponding transformer and regulating device, and each pulse modulator provides a corresponding pulse signal channel. It should be noted that the specific connection relationship and numerical setting of the power supply transformer unit can be designed according to the voltage level requirements. Usually, multiple power supply transformer units are in cascade form, that is, the voltage level gradually decreases.

[0054] Among them, the power supply transformer unit in each power supply signal channel converts the received voltage into other voltages and outputs it, and the output voltage is also the electrical signal provided by the power supply signal channel to the power pin of the electronic control unit; the pulse modulation unit in each pulse signal channel converts the received voltage signal into a pulse signal, such as a pulse signal with a specific duty cycle, and the output end of the pulse modulation unit is connected to the pin of the electronic control unit as a channel terminal and provides a pulse signal; the high-voltage load unit in each high-side load channel includes a load with a specific resistance value and structure, and one end of the high-voltage load unit is connected to a high level, and the other end of the first load unit is connected to the high-side load pin of the electronic control unit as a channel terminal, and provides a corresponding electrical signal to the high-side load pin.

[0055] In one embodiment of the present application, the load module also includes a load indication unit and a cooling fan unit; the load indication unit includes a fourth indicator light, a fifth indicator light and a second fuse, the second fuse is connected to the output end of any voltage transformer and regulating device, the power ends of the fourth indicator light and the fifth indicator light are respectively connected to the two ends of the second fuse, and the cooling fan unit includes at least one cooling fan, and the power end of the cooling fan is connected to the output end of any voltage transformer and regulating device.

[0056] In one embodiment of the present application, Figure 7 This is a schematic diagram of a specific load circuit shown in an exemplary embodiment of the present application, referring to Figure 7 As shown, in this specific embodiment, the load portion connected to the first interface is a power supply module, which includes multiple power supply channels. The output end of each power supply channel is connected to the pin to be tested of the electronic control unit to provide a corresponding electrical signal to the pin, where the electrical signal includes multiple electrical signals of different levels or forms. The power supply channel includes at least one of a power supply signal channel, a pulse signal channel, a high-side load channel, a low-side load channel, an H-bridge load channel, and a high-voltage interlock test channel.

[0057] In this specific embodiment, the input end of each power supply signal channel is connected to the output end of the corresponding power supply transformation unit. As shown in the specific embodiment in the figure, the power supply transformation unit includes a first power supply transformation unit V2 and a second power supply transformation unit V3. The first power supply transformation unit V2 converts the DC voltage output by the positive pole DC+ of the AC conversion unit V1 or the DC input into a stable DC voltage of 12V. The allowable input voltage range of the first power supply transformation unit V2 is between 6 and 36V. At this time, the five output ends of the first power supply transformation unit V2 are all power supply signal channels, namely PSL_12V_OUT1, PSL_12V_OUT2, PSL_12V_OUT3, PSL_12V_OUT4 and PSL_12V_OUT5, which are used to provide 12V power supply for the electronic control unit, and more channels can be expanded. The input of the second power transformer unit V3 is connected to the output of the first power transformer unit V2. The second power transformer unit V3 converts the 12V DC voltage into a stable 5V DC voltage. The five outputs of the second power transformer unit V3 are power signal channels: PSL_5V_OUT1, PSL_5V_OUT2, PSL_5V_OUT3, PSL_5V_OUT4, and PSL_5V_OUT5. These channels provide 5V power to the electronic control unit (ECU). Additional channels can be added. The first power transformer unit V2 uses a transformer that converts a 6V to 36V DC input into a stable 12V DC output. The second power transformer unit V3 uses a transformer that converts a 12V DC input into a stable 5V DC output.

[0058] It should be noted that the above power supply modules are all channels connected to the power supply transformer unit, and channels that are not connected to the input transformer module or other intermediate transformer modules and only include loads can also be set.

[0059] In this specific embodiment, each pulse signal channel is connected to the output end of the corresponding pulse modulation unit. As shown in the specific embodiment in the figure, the pulse modulation unit includes a first modulation unit G1 and a second modulation unit G2. The first modulation unit G1 and the second modulation unit G2 both output PWM signals. The input end of the first modulation unit G1 is connected to the output end of the first power supply transformation unit V2. The first modulation unit G1 generates a corresponding 12V PWM signal based on the DC voltage of the first power supply transformation unit V2. At this time, the five output ends of the first modulation unit G1 are all pulse signal channels, namely 12V_PWM_OUT1, 12V_PWM_OUT2, 12V_PWM_OUT3, 12V_PWM_OUT4 and 12V_PWM_OUT5, which are used to provide 12V PWM signals for the electronic control unit, and more channels can be expanded. The input of the second modulation unit G2 is connected to the output of the second power supply transformer unit V3. Based on the DC voltage of the second power supply transformer unit V3, the second modulation unit G2 generates a corresponding 5V PWM signal. The five outputs of the second modulation unit G2 are 5V_PWM_OUT1, 5V_PWM_OUT2, 5V_PWM_OUT3, 5V_PWM_OUT4, and 5V_PWM_OUT5, respectively, which provide 5V PWM signals to the electronic control unit. Further channels can be expanded. The first modulation unit G1 uses a PMM generator with an amplitude of 0 to 12V, a frequency of 0 to 1000Hz, and an adjustable duty cycle of 0 to 100%. The second modulation unit G2 uses a PWM generator with an amplitude of 0 to 5V, a frequency of 0 to 1000Hz, and an adjustable duty cycle of 0 to 100%.

[0060] In this specific embodiment, the second end of the high-side load cell serves as the output end of the high-side load channel, connected to the high-side load pin of the electronic control unit and providing a corresponding electrical signal to the high-side load pin. As shown in the specific embodiment shown in the figure, the output ends of the five high-side load channels are HSD_Load1, HSD_Load2, HSD_Load3, HSD_Load4, and HSD_Load5. The first end of the high-side load cell in each high-side load channel is connected to the positive output end of the first power supply transformer unit V2. The output end of each high-side load channel can provide a high-side load for the electronic control unit.

[0061] It should be noted that the above number of power supply signal channels, number of pulse signal channels, number of high-side load channels, number of power supply transformer units, number of output ends of the pulse modulation unit, specific output parameters of the power supply transformer unit, specific output parameters of the pulse modulation unit, specific structure and parameters of the power supply module, input end connection object of the power supply transformer unit, and input end connection object of the pulse modulation unit are all illustrative examples and can be adjusted and set according to actual conditions and wide application requirements. No specific restrictions are imposed here.

[0062] In this specific embodiment, the power supply module further includes a low-side load channel, an H-bridge load channel, and a high-voltage interlock test channel.

[0063] In this specific embodiment, each low-side load channel includes a low-voltage load unit, the input end of the low-voltage load unit is connected to the ground end, and the second end of the low-voltage load unit serves as the output end of the low-side load channel, which is used to connect to the low-side load pin of the electronic control unit and provide a corresponding electrical signal to the low-side load pin, wherein the output ends of the five low-side load channels are LSD_Load1, LSD_Load2, LSD_Load3, LSD_Load4 and LSD_Load5, which are used to provide low-side load for the electronic control unit.

[0064] Among them, each H-bridge load channel includes an H-bridge load unit, and the two ends of the H-bridge load unit serve as the first output end and the second output end of the H-bridge load channel, and are connected to an H-bridge load pin pair of the electronic control unit, and are used to provide corresponding electrical signals to the H-bridge load pin pair. The three H-bridge load units are HBD_Load1, HBD_Load2 and HBD_Load3, and the first output ends of the three H-bridge load channels are HBD_Load1_IN, HBD_Load2_IN and HBD_Load3_IN respectively. The second output ends of the three H-bridge load channels are HBD_Load1_OUT, HBD_Load2_OUT and HBD_Load3_OUT respectively, and are used to provide H-bridge loads for the electronic control unit. The specific H-bridge load unit can be implemented by a motor with an H-bridge structure.

[0065] In this specific embodiment, each high-voltage interlock test channel includes a high-voltage interlock switch, and the two ends of the high-voltage interlock switch serve as the first output end and the second output end of the high-voltage interlock test channel, connected to a high-voltage interlock pin pair of the electronic control unit, and used to provide a corresponding electrical signal to the high-voltage interlock pin pair. The three high-voltage interlock switches are SW1, SW2, and SW3, and the first output ends of the corresponding three high-voltage interlock test channels are HVIL1_IN, HVIL2_IN, and HVIL3_IN, respectively. The second output ends of the corresponding three high-voltage interlock test channels are HVIL1_OUT, HVIL2_OUT, and HVIL3_OUT, respectively, for providing the electronic control unit with a load signal corresponding to the high-voltage interlock pin, so that the electronic control unit responds to the current test status based on the high-voltage interlock test channel.

[0066] In this embodiment, the test load box is further provided with fuses F2 and F3 corresponding to different positions. In this embodiment, fuses F2 and F3 are both 80A fuses. The fuse F2 is provided between the second interface and the BAT BUS connection.

[0067] In this specific embodiment, the fourth indicator light and the fifth indicator light of the status indicator lights at different positions are Lamp4 and Lamp5 in the figure respectively. The power supply ends of the fourth indicator light Lamp4 and the fifth indicator light Lamp5 of the two status indicator lights are respectively connected to the two ends of the fuse F2. When the fourth indicator light Lamp4 and the fifth indicator light Lamp5 are both on, it proves that the circuit is normal. When the fourth indicator light Lamp4 is on but the fifth indicator light Lamp5 is off, it proves that the fuse F2 is disconnected. The middle resistors R5 and R6 are protective resistors connected in series with the power supply ends of the fourth indicator light Lamp4 and the fifth indicator light Lamp5 respectively.

[0068] In this specific embodiment, the cooling fan includes FAN1 and FAN2 shown in the figure. The power supply end of the cooling fan is connected to the positive output end of the first power supply transformer unit V2, and the other ends of FAN1 and FAN2 are grounded.

[0069] In this specific embodiment, the load connected to the second interface is a test module, which includes a test bus (BAT BUS). In this specific load example, each test channel is merely a connecting line; no other load units are connected to the test channel, which only receives test electrical signals transmitted by the test bus (BAT BUS). In this specific load example, the power supply channels in the test channel include "Other power supply 1 from BAT+ to ECU," "Other power supply 2 from BAT+ to ECU," "Other power supply 3 from BAT+ to ECU," and "KL30." The number of power supply channels can be further expanded. The wake-up signal channel in the test channel includes "KL15," which is used to provide a wake-up signal to the electronic control unit of the device under test. The ground channel in the test channel includes "KL31," which is used to provide a ground terminal for the ECU. The inputs of the power supply channels and wake-up signal channels of all test channels are connected to the second interface, the inputs of the ground channels are connected to the ground terminal, and the outputs of the power supply channels, wake-up signal channels, and ground channels are used to connect to the pins under test of the electronic control unit. The outputs of the ground channels are used to connect to the ground pins of the electronic control unit. Among them, Other power supply1 from BAT+ to ECU, Other power supply2 from BAT+ to ECU, and Other power supply3 from BAT+ to ECU provide the same power supply as KL30.

[0070] In an embodiment of the present application, the test device integrates all the functions required for testing the electronic control unit into the test device, and reserves an interface on the test device panel. For example, the power supply signal channel, pulse signal channel, high-side load channel, low-side load channel, H-bridge load channel, high-voltage interlock test channel, wake-up signal channel, power supply channel and ground signal channel are integrated inside and the load interface is connected to the standard interface connector. The test signals required in the development process of the electronic control unit are connected through the connector, which can decouple the functions of the electronic control unit and the test device and improve resource utilization.

[0071] The following describes a method embodiment of the present application, which can be applied to the test device in the above-mentioned embodiment of the present application. For details not disclosed in the method embodiment of the present application, please refer to the above-mentioned embodiment of the test device of the present application.

[0072] Figure 8 is a flow chart of a testing method shown in an exemplary embodiment of the present application. The testing method can be Figure 1The implementation environment can be implemented in other implementation environments, and the above implementation environment is not specifically limited here. Figure 8 As shown, the flowchart of the testing method includes at least steps S810 to S820, which are described in detail as follows:

[0073] In step S810 , an external DC input and / or AC input is received.

[0074] In one embodiment of the present application, a DC input and / or an AC input is received through the power input module 210 .

[0075] In step S820, if only DC input is received, the first interface and the second interface are powered by the DC input; if only AC input is received, the first interface and the second interface are powered by the AC input; if both DC input and AC input are received, the first interface is powered by the AC input, and the second interface is powered by the DC input, and the first interface and the second interface are connected to the load.

[0076] In one embodiment of the present application, if only DC input is received, the first interface and the second interface are powered by the DC input, including the positive pole DC+ of the DC input passing through the positive pole of the second diode D2 to close the normally open contact of the fourth relay Rly4, and powering the first interface after passing through the fourth diode D4, and the positive pole DC+ of the DC input directly powers the second interface after passing through the fourth diode D4.

[0077] In one embodiment of the present application, if only AC input is received, powering the first interface and the second interface through the AC input includes the input end of the AC conversion unit V1 receiving the AC input and converting it into a DC output, the positive electrode of the AC conversion unit V1 closing the normally open contact of the fourth relay Rly4 through the positive electrode of the first diode D1, and powering the second interface after passing through the third diode D3, and the positive electrode of the AC conversion unit V1 directly powers the first interface after passing through the third diode D3.

[0078] In one embodiment of the present application, a DC input and an AC input are simultaneously received, and power is supplied to the first interface through the AC input, and power is supplied to the second interface through the DC input, including that a voltage provided by the positive pole of the AC conversion unit V1 turns on the coil of the first relay Rly1, and after the coil of the first relay Rly1 is turned on, the coil of the first relay Rly1 attracts the normally open contact of the first relay Rly1 to close, so that the first relay Rly1 is closed, a voltage provided by the positive pole DC+ of the DC input turns on the coil of the second relay Rly2, and after the coil of the second relay Rly2 is turned on, the normally open contact of the second relay Rly2 is attracted to close, so that the second relay Rly2 is closed, and after the first relay Rly1 and the second relay Rly2 are closed, the coil of the third relay Rly3 is turned on and then attracts the normally open contact to close, and after the third relay Rly3 is closed, the upper end of the coil of the fourth relay Rly4 is pulled to ground, so that the fourth relay Rly4 cannot be closed and remains in an open state, thereby achieving isolation of the upper and lower ends of the normally open contact of the fourth relay Rly4. At this time, the voltage provided by the positive electrode of the AC conversion unit V1 directly powers the first interface after passing through the third diode D3, and the voltage provided by the positive electrode DC+ of the DC input directly powers the second interface after passing through the fourth diode D4.

[0079] A testing device and method provided by the present invention include a power input module and a control module electrically connected in sequence, the power input module being used to receive DC input and / or AC input, the control module being used to power a first interface and a second interface through the DC input when only DC input is received, or to power the first interface and the second interface through the AC input when only AC input is received, or to power the first interface through the AC input and the second interface through the DC input when both DC and AC inputs are received, the first interface and the second interface being connected to a load; the present application supports DC and AC dual-mode power supply and electrical testing with dual power supplies connected simultaneously through the compatible design of the power input module, thereby ensuring the stability of the test task and expanding the application boundaries of the load box; the dynamic power allocation capability of the control module, combined with the independent power supply design of the first and second interfaces, enables the load box to no longer be bound to a specific electronic control unit function, and can be connected to different loads through interfaces to adapt to diverse testing requirements. In summary, the contradiction between the power supply limitations in electronic control unit testing and the equipment specificity of the test load box is resolved, providing reliable testing facility support for the development of electronic control units.

[0080] An embodiment of the present application also provides an electronic device, comprising: one or more processors; a storage device for storing one or more programs, wherein when the one or more programs are executed by one or more processors, the electronic device implements the test methods provided in the above-mentioned embodiments.

[0081] Figure 9This is a schematic diagram of the structure of a computer system of an electronic device according to an exemplary embodiment of the present application. Figure 9 The computer system 900 of the electronic device shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present application.

[0082] like Figure 9 As shown, the computer system 900 includes a central processing unit (CPU) 901, which can perform various appropriate actions and processes according to the program stored in the read-only memory (ROM) 902 or the program loaded from the storage portion into the random access memory (RAM) 903, such as the method for executing the above embodiment. In RAM 903, various programs and data required for system operation are also stored. CPU 901, ROM 902 and RAM 903 are connected to each other via a bus. I / O interface 905 is also connected to bus 904, wherein I / O interface 905 refers to an input / output (Input / Output) interface.

[0083] The following components are connected to the I / O interface 905: an input section 906 including a keyboard, a mouse, etc.; an output section 907 including devices such as a cathode ray tube (CRT), a liquid crystal display (LCD), and a speaker; a storage section 908 including a hard disk, etc.; and a communication section 909 including a network interface card such as a LAN (Local Area Network) card or a modem. The communication section performs communication processing via a network such as the Internet. A drive is also connected to the I / O interface 905 as needed. Removable media 911, such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, etc., are installed in the drive 910 as needed so that computer programs read therefrom can be installed into the storage section 908 as needed.

[0084] In particular, according to an embodiment of the present application, the process described above with reference to the flowchart can be implemented as a computer software program. For example, an embodiment of the present application includes a computer program product, which includes a computer program carried on a computer-readable medium, and the computer program includes a computer program for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from a network via the communication section 909, and / or installed from a removable medium 911. When the computer program is executed by the central processing unit (CPU) 901, the various functions defined in the system of the present application are executed.

[0085] It should be noted that the computer-readable medium shown in the embodiment of the present application can be a computer-readable signal medium or a computer-readable storage medium or any combination of the above two. The computer-readable storage medium can be, for example, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples of computer-readable storage media can include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM), a flash memory, an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In the present application, a computer-readable signal medium can include a data signal propagated in baseband or as part of a carrier wave, which carries a computer-readable computer program. This propagated data signal can take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. A computer-readable signal medium may also be any computer-readable medium other than a computer-readable storage medium that can transmit, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. A computer program embodied on a computer-readable medium may be transmitted using any suitable medium, including but not limited to wireless, wired, or any suitable combination thereof.

[0086] The flowcharts and block diagrams in the accompanying drawings illustrate the possible implementation architecture, functions and operations of the systems, methods and computer program products according to various embodiments of the present application. Among them, each box in the flowchart or block diagram can represent a module, program segment, or part of the code, and the above-mentioned module, program segment, or part of the code contains one or more executable instructions for implementing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in an order different from that marked in the accompanying drawings. For example, two boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram or flowchart, and the combination of boxes in the block diagram or flowchart, can be implemented with a dedicated hardware-based system that performs the specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.

[0087] In the corresponding drawings of the above embodiments, connecting lines can represent the connection relationship between various components to represent more constituent signal paths (constituent_signalpath) and / or one or more ends of some lines have arrows to indicate the main information flow direction. The connecting lines serve as an identifier and are not a limitation to the scheme itself. Instead, the use of these lines in combination with one or more exemplary embodiments helps to connect circuits or logic units more easily. Any represented signal (determined by design requirements or preferences) may actually include one or more signals that can be transmitted in any direction and can be implemented with any appropriate type of signal scheme.

[0088] The units involved in the embodiments described in this application may be implemented by software or hardware, and the units described may also be set in a processor. In some cases, the names of these units do not constitute limitations on the units themselves.

[0089] Another aspect of the present application provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the aforementioned method. The computer-readable storage medium may be included in the electronic device described in the above embodiments, or may exist independently and not be incorporated into the electronic device.

[0090] An embodiment of the present application further provides a computer program product, comprising a computer program, which implements the testing method according to any one of the above embodiments when the computer program is executed by a processor.

[0091] It should be noted that, although several modules or units of the device for action execution are mentioned in the above detailed description, this division is not mandatory. In fact, according to the embodiment of the application, the features and functions of two or more modules or units described above can be concretized in one module or unit. On the contrary, the features and functions of one module or unit described above can be further divided into multiple modules or units to be concretized.

[0092] Through the description of the above embodiments, it is easy for those skilled in the art to understand that the example embodiments described herein can be implemented by software or by combining software with necessary hardware. Therefore, the technical solution according to the embodiments of the present application can be embodied in the form of a software product, which can be stored in a non-volatile storage medium (which can be a CD-ROM, a USB flash drive, a mobile hard disk, etc.) or on a network, and includes several instructions to enable a computing device (which can be a personal computer, a server, a touch terminal, or a network device, etc.) to execute the method according to the embodiments of the present application.

[0093] It should be noted that the present application can be used in a wide variety of general-purpose or special-purpose computing system environments or configurations, such as personal computers, server computers, handheld or portable devices, tablet devices, multiprocessor systems, microprocessor-based systems, set-top boxes, programmable consumer electronics, network PCs, minicomputers, mainframe computers, distributed computing environments that include any of the above, and the like.

[0094] Those skilled in the art will readily conceive of other embodiments of the present application after considering the specification and practicing the embodiments disclosed herein. This application is intended to cover any variations, uses, or adaptations of the present application that follow the general principles of this application and include common knowledge or customary techniques in the art that are not disclosed herein.

[0095] It should be understood that the above content of this application is only a preferred exemplary embodiment of this application and is not intended to limit the implementation scheme of this application. Ordinary technicians in this field can easily make corresponding changes or modifications based on the main concept and spirit of this application. Therefore, the scope of protection of this application should be the scope of protection required by the claims.

Claims

1. A testing device, characterized in that: The testing device includes a power input module and a control module electrically connected in sequence; The power input module is used to receive DC input and / or AC input; The control module is configured to supply power to the first interface and the second interface through the DC input when the power input module only receives DC input; Alternatively, when the power input module only receives AC input, the first interface and the second interface are powered by the AC input; Alternatively, when the power input module receives both DC input and AC input, the first interface is powered by the AC input, and the second interface is powered by the DC input; The first interface and the second interface are connected to a load.

2. The testing device according to claim 1, wherein: Under the condition that the power input module only receives DC input, the control module includes a second diode, a fourth relay and a fourth diode; The positive electrode of the DC input is connected to the positive electrodes of the second diode and the fourth diode respectively, the negative electrode of the second diode is connected to the first end of the fourth relay, the third end of the fourth relay is connected to the first interface, the second end of the fourth relay is connected to the negative electrode of the fourth diode, the negative electrode of the fourth diode is connected to the second interface, and the negative electrode of the DC input is connected to the first interface via the ground terminal; The positive pole of the DC input closes the normally open contact of the fourth relay through the positive pole of the second diode, and supplies power to the first interface after passing through the fourth diode. The positive pole of the DC input directly supplies power to the second interface after passing through the fourth diode.

3. The testing device according to claim 1, wherein: Under the condition that the power input module only receives AC input, the control module includes an AC conversion unit, a first diode, a fourth relay and a third diode; The input end of the AC conversion unit is connected to the external AC input power supply, the positive electrode of the AC conversion unit is connected to the positive electrodes of the first diode and the third diode respectively, the negative electrode of the first diode is connected to the first end of the fourth relay, the third end of the fourth relay is connected to the negative electrode of the third diode, the second end of the fourth relay is connected to the second interface, the negative electrode of the third diode is connected to the first interface, and the negative electrode of the AC conversion unit is connected to the ground end and the first interface respectively; The input end of the AC conversion unit receives AC input and converts it into DC output. The positive electrode of the AC conversion unit closes the normally open contact of the fourth relay through the positive electrode of the first diode, and supplies power to the second interface after passing through the third diode. The positive electrode of the AC conversion unit directly supplies power to the first interface after passing through the third diode.

4. The testing device according to claim 1, wherein: Under the condition that the power input module receives both DC input and AC input, the control module includes a first diode, a second diode, a third diode, a fourth diode, a fourth relay and an auxiliary control unit; The input end of the AC conversion unit is connected to the external AC input power supply, the positive electrode of the AC conversion unit is connected to the positive electrodes of the first diode and the third diode respectively, the positive electrode of the DC input is connected to the positive electrodes of the second diode and the fourth diode respectively, the cathode of the third diode is connected to the first interface, the cathode of the fourth diode is connected to the second interface, the negative electrode of the DC input is connected to the first interface via the ground terminal, and the negative electrode of the AC conversion unit is connected to the ground terminal and the first interface respectively; The first end of the fourth relay is connected to the cathode of the first diode and the second diode respectively, the second end of the fourth relay is connected to the second interface, the third end of the fourth relay is connected to the first interface, the third end of the fourth relay is connected to the cathode of the third diode, and the second end of the fourth relay is connected to the cathode of the fourth diode; A first end of the auxiliary control unit is connected to the positive electrode of the AC conversion unit, a second end of the auxiliary control unit is connected to the positive electrode of the DC input, and a third end of the auxiliary control unit is connected to the first end of the fourth relay; The positive pole of the AC conversion unit and the positive pole of the DC input are connected through the auxiliary control unit to close the auxiliary control unit, and the auxiliary control unit controls the fourth relay to disconnect. The positive pole of the AC conversion unit directly supplies power to the first interface after passing through the third diode, and the positive pole of the DC input directly supplies power to the second interface after passing through the fourth diode.

5. The testing device according to claim 4, characterized in that: The auxiliary control unit includes a first relay, a second relay and a third relay; The first end of the fourth relay is grounded via the normally open contact of the third relay; The cathode of the second diode is connected in series with the normally open contact of the first relay, the normally open contact of the second relay, and the first end of the coil of the third relay, and the second end of the coil of the third relay is grounded; The positive electrode of the AC conversion unit is grounded via the coil of the first relay, and the positive electrode of the DC input is grounded via the coil of the second relay; The positive pole of the AC conversion unit closes the first relay, the positive pole of the DC input closes the second relay, the closure of the first relay and the second relay closes the third relay, and the closure of the third relay controls the disconnection of the fourth relay. The positive pole of the AC conversion unit directly supplies power to the first interface after passing through the third diode, and the positive pole of the DC input directly supplies power to the second interface after passing through the fourth diode.

6. The testing device according to any one of claims 1 to 5, characterized in that: The testing device further includes a first resistor, a second resistor, a third resistor, a fourth resistor, a first indicator light, a second indicator light, a third indicator light and a first fuse; The first end of the first resistor is connected to the cathode of the first diode and the cathode of the second diode respectively, and the second end of the first resistor is connected to the first end of the fourth relay; The first indicator light is arranged between the third diode and the positive electrode of the AC conversion unit, and the first indicator light is connected between the positive electrode of the AC conversion unit and the ground via the third resistor, for indicating the AC power supply status; The third indicator light is connected between the first end of the coil of the third relay and the ground via a second resistor, and is used to indicate the electrical measurement operation status; The first fuse is arranged between the positive electrode of the DC input and the fourth diode; The second indicator light is arranged between the fourth diode and the first safety fuse. The second indicator light is connected between the output end of the first safety fuse and the ground via a fourth resistor, and is used to indicate the DC power supply status.

7. The testing device according to claim 1, characterized in that The load includes a power supply module and a test module; The power supply module is connected to the first interface, and the test module is connected to the second interface; The power supply module includes multiple power supply channels, each of which provides a power supply pin for the device under test, and the power supply channel includes at least one of a power supply signal channel, a pulse signal channel, a high-side load channel, a low-side load channel, an H-bridge load channel, and a high-voltage interlock test channel; The test module includes a plurality of test channels, each of which provides a test pin for the device under test, and the test channel includes at least one of a wake-up signal channel, a power supply channel, and a ground signal channel.

8. The testing device according to claim 7, characterized in that: The power supply module also includes a power supply transformation unit and a pulse modulation unit; The power supply voltage transformation unit includes a plurality of voltage transformation and regulation devices, the input end of each voltage transformation and regulation device is connected to the first interface or the output end of other voltage transformation and regulation devices, and each of the voltage transformation and regulation devices provides a corresponding power supply signal channel; The pulse modulation unit includes a plurality of pulse modulators, the input end of each pulse modulator is connected to the output end of the corresponding voltage transformer and regulator, and each pulse modulator provides a corresponding pulse signal channel.

9. The testing device according to claim 7, characterized in that: The load module also includes a load indicating unit and a cooling fan unit; The load indicating unit includes a fourth indicator light, a fifth indicator light and a second fuse, the second fuse is connected to the output end of any voltage transformer and regulator, and the power supply ends of the fourth indicator light and the fifth indicator light are respectively connected to the two ends of the second fuse; The heat dissipation fan unit includes at least one heat dissipation fan, and the power supply end of the heat dissipation fan is connected to the output end of any voltage transformation and regulation device.

10. A testing method, characterized in that: Applied to the testing device according to any one of claims 1 to 9, the testing method comprises: Receive external DC input and / or AC input; If only DC input is received, the first interface and the second interface are powered by the DC input; if only AC input is received, the first interface and the second interface are powered by the AC input; if both DC input and AC input are received, the first interface is powered by the AC input, and the second interface is powered by the DC input, and the first interface and the second interface are connected to the load.

Citation Information

Patent Citations

  • Multi-source power supply conversion equipment and method based on direct current bus

    CN115566656A

  • Integrated AC / DC withstand voltage testing device

    CN116859188A

  • Test load box

    CN118689195A

  • Energy storage cabinet test system

    CN222420414U

  • Extension cord with ac and DC outputs for coupling ac and DC sources

    US20130175864A1