Relay durability testing method, device, equipment and storage medium
Through the multi-function relay durability test tool, the input and output modules are used to generate signals, the driving circuit controls the relay operation, and the current detection module monitors the current, solving the problem of high durability testing of multi-function relays, realizing automated testing and real-time monitoring, saving costs.
Patent Information
- Application Number
- CN202210496029.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-05-07
- Publication Date
- 2025-08-15
- Estimated Expiration
- 2042-05-07
AI Technical Summary
The durability testing of multifunction relays is high, and the existing testing methods rely on signal generators or real-time testing leads to high costs and the inability to monitor intermediate processes in real time.
The multi-function relay durability test tool is adopted to generate test signals through input and output modules, the driving circuit controls the relay operation, the current detection module monitors the current to determine the working state, simulates the signal generator and the actual vehicle test environment, and realizes automated testing.
Save hardware and labor costs, realize automation of multi-function relay durability testing, can monitor the test process in real time, discover problems in a timely manner, and avoid repeated testing.
Smart Images

Figure CN114966384B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of relay performance testing, and in particular to a relay durability testing method, device, equipment and storage medium. Background Art
[0002] Relays are electrical control devices that use small currents to control large currents and are commonly used in automated control circuits. Multifunction relays extend the electrical control capabilities of relays by adding software control, making them suitable for a wide range of applications. For example, in some cars, multifunction relays control the lights and windshield wipers.
[0003] To ensure the longevity of multi-function relays, stringent durability requirements are imposed. Testing the durability of multi-function relays during product development often requires purchasing specialized equipment such as signal generators or relying on suppliers for on-vehicle testing. However, both approaches present high testing costs. Summary of the Invention
[0004] The main purpose of the present invention is to provide a relay durability testing method, device, equipment and storage medium, aiming to solve the technical problem of high testing cost during durability testing of multifunctional relays.
[0005] To achieve the above objectives, the present invention provides a relay durability testing method, which is applied to a multifunctional relay durability testing tool. The multifunctional relay durability testing tool includes a main control module, and an input / output module, a current detection module, and a drive circuit module electrically connected to the main control module;
[0006] The relay durability test method includes:
[0007] obtaining a test plan for relay durability based on the input-output module, and generating an input signal according to the test plan;
[0008] Converting the input signal into a level signal;
[0009] According to the level signal, based on the driving circuit, the relay to be tested is controlled to operate, so as to drive the controlled device connected to the relay to operate and generate an operating current;
[0010] The operating current is detected based on the current detection module to determine the operating state of the relay according to the operating current.
[0011] Optionally, before the step of acquiring a test plan for relay durability based on the input-output module and generating an input signal according to the test plan, the step further includes:
[0012] Based on the input and output module, obtaining durability test parameters;
[0013] A test plan is generated according to the durability test parameters, and the test plan is stored in the input and output module.
[0014] Optionally, the step of acquiring a test plan for relay durability based on the input-output module and generating an input signal according to the test plan includes:
[0015] Based on the input and output module, receiving a test scheme selection instruction, and obtaining a test scheme for a relay durability test according to the test scheme selection instruction;
[0016] An input signal is generated according to the time parameters in the test plan.
[0017] Optionally, the step of controlling the relay to be tested to operate based on the driving circuit according to the level signal to drive a controlled device connected to the relay to operate and generate an operating current includes:
[0018] The driving circuit outputs a level to the relay according to the level signal;
[0019] The relay is controlled to be closed or opened according to the level, so as to drive the controlled device connected to the relay to operate and generate a working current.
[0020] Optionally, the step of detecting the operating current based on the current detection module to determine the operating state of the relay according to the operating current includes:
[0021] Detecting a current value and a flip frequency of the operating current based on the current detection module;
[0022] The working state of the relay is determined according to the current value and the flipping frequency.
[0023] Optionally, the step of determining the working state of the relay according to the current value and the flipping frequency includes:
[0024] If it is detected that the current value is less than a preset current threshold or the flip frequency exceeds a preset frequency range, it is determined that the relay state is abnormal and the number of errors is recorded.
[0025] Optionally, after the step of detecting the operating current based on the current detection module to determine the operating state of the relay according to the operating current, the method further includes:
[0026] If a test pause instruction is received, the current test progress is retained and the current test duration corresponding to the current test progress is recorded;
[0027] After receiving the continue test instruction, the input signal is generated according to the current test duration and the test plan.
[0028] In addition, to achieve the above-mentioned object, the present invention further provides a relay durability testing device, the relay durability testing device comprising:
[0029] An input-output module, configured to obtain a test plan for relay durability and generate an input signal according to the test plan;
[0030] A main control module, used for converting the input signal into a level signal;
[0031] A driving circuit module, configured to control the relay to be tested to operate according to the level signal, so as to drive the controlled device connected to the relay to operate and generate an operating current;
[0032] The current detection module is used to detect the working current to determine the working state of the relay according to the working current.
[0033] In addition, to achieve the above-mentioned purpose, the present invention also provides a multifunctional relay durability testing tool, which includes: a memory, a main control module, an input and output module, a current detection module and a drive circuit electrically connected to the main control module, and a relay durability testing program stored in the memory and runnable on the main control module, wherein the relay durability testing program is configured to implement the steps of the relay durability testing method described above.
[0034] In addition, to achieve the above-mentioned purpose, the present invention also provides a computer-readable storage medium, characterized in that a relay durability test program is stored on the computer-readable storage medium, and when the relay durability test program is executed by the main control module, the steps of the relay durability test method described above are implemented.
[0035] The present invention obtains a test plan for relay durability based on the input and output modules, generates an input signal according to the test plan, the main control module converts the input signal into a level signal, the driving circuit controls the operation of the relay to be tested according to the level signal, drives the controlled device to operate and generate a working current, the current detection module detects the working current, and determines the working state of the relay according to the working current. With the main control module as the core, the main control module is electrically connected to the input and output modules, the current detection module and the driving circuit module, and can simulate the signal generation process of the signal generator and the actual vehicle test, saving the hardware cost during the test. After the tester selects the test plan, the test tool can perform automatic testing according to the test plan, saving the cost of manually setting the input signal. BRIEF DESCRIPTION OF THE DRAWINGS
[0036] Figure 1 This is a schematic structural diagram of a multifunctional relay durability testing tool according to an embodiment of the present invention;
[0037] Figure 2 Schematic diagram of the flow of a first embodiment of a relay durability testing method according to the present invention;
[0038] Figure 3 This is a schematic diagram of the durability test of a multi-function relay;
[0039] Figure 4 This is a schematic diagram of the debugging interface of the test tool;
[0040] Figure 5 This is a schematic diagram of the monitoring interface of the test tool;
[0041] Figure 6 1 is a flow chart of a second embodiment of a method for testing the durability of a relay according to the present invention;
[0042] Figure 7 1 is a flow chart of a third embodiment of a method for testing the durability of a relay according to the present invention;
[0043] Figure 8 Schematic diagram of a relay durability testing device according to an embodiment of the present invention.
[0044] The purpose, features and advantages of the present invention will be further described with reference to the accompanying drawings and in conjunction with the embodiments. DETAILED DESCRIPTION
[0045] It should be understood that the specific embodiments described herein are only used to explain the present invention and are not intended to limit the present invention.
[0046] If laboratory or supplier testing methods are used during product development, then according to the test plan, the input signal must be manually set when the signal is changed to obtain the test results directly. The intermediate process cannot be monitored in real time. If real-time monitoring is not carried out, the problem and the time of the problem cannot be recorded after it occurs, and retesting may be required, which wastes a lot of resources over and over again.
[0047] The main technical solution of the present invention is: based on the input-output module, a test scheme for the durability of the relay is obtained, and an input signal is generated according to the test scheme; the input signal is converted into a level signal; based on the level signal, the relay to be tested is controlled to operate based on the drive circuit to drive the controlled device connected to the relay to operate and generate a working current; based on the current detection module, the working current is detected to determine the working state of the relay according to the working current.
[0048] Reference Figure 1 , Figure 1This is a schematic structural diagram of a multifunctional relay durability testing tool according to an embodiment of the present invention.
[0049] like Figure 1 As shown, the multifunctional relay durability test tool may include: a processor 1001, such as a central processing unit (CPU), a communication bus 1002, a user interface 1003, a network interface 1004, and a memory 1005. The communication bus 1002 is used to realize the connection and communication between these components. The user interface 1003 may include a display screen (Display), an input unit such as a keyboard (Keyboard), and the user interface 1003 may also include a standard wired interface and a wireless interface. The network interface 1004 may optionally include a standard wired interface and a wireless interface (such as a wireless fidelity (WIreless-FIdelity, WI-FI) interface). The memory 1005 may be a high-speed random access memory (Random Access Memory, RAM) memory, or a stable non-volatile memory (Non-Volatile Memory, NVM), such as a disk memory. The memory 1005 may also be a storage device independent of the aforementioned processor 1001.
[0050] Those skilled in the art will understand that Figure 1 The structure shown in the figure does not constitute a limitation on the multifunctional relay durability testing tool, and may include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently.
[0051] like Figure 1 As shown, the memory 1005 as a storage medium may include an operating system, a network communication module, a user interface module, and a relay durability test program.
[0052] exist Figure 1 In the multifunctional relay durability test tool shown, the network interface 1004 is primarily used for data communication with other devices; the user interface 1003 is primarily used for data interaction with the user; the processor 1001 and memory 1005 in the multifunctional relay durability test tool of the present invention can be provided within the multifunctional relay durability test tool. The multifunctional relay durability test tool invokes the relay durability test program stored in the memory 1005 via the processor 1001 and executes the following steps:
[0053] obtaining a test plan for relay durability based on the input-output module, and generating an input signal according to the test plan;
[0054] Converting the input signal into a level signal;
[0055] According to the level signal, the device to be tested is controlled based on the driving circuit to drive the controlled device connected to the relay to operate and generate a working current;
[0056] The operating current is detected based on the current detection module to determine the operating state of the relay according to the operating current.
[0057] In one embodiment, the processor 1001 calls the relay durability test program stored in the memory 1005 and may further perform the following steps:
[0058] Based on the input and output module, obtaining durability test parameters;
[0059] A test plan is generated according to the durability test parameters, and the test plan is saved.
[0060] In one embodiment, the processor 1001 calls the relay durability test program stored in the memory 1005 and may further perform the following steps:
[0061] Based on the input and output module, receiving a test scheme selection instruction, and obtaining a test scheme for a relay durability test according to the test scheme selection instruction;
[0062] An input signal is generated according to the time parameters in the test plan.
[0063] In one embodiment, the processor 1001 calls the relay durability test program stored in the memory 1005 and may further perform the following steps:
[0064] The driving circuit outputs a level to the relay according to the level signal;
[0065] The relay is controlled to be closed or opened according to the level, so as to drive the controlled device connected to the relay to operate and generate a working current.
[0066] In one embodiment, the processor 1001 calls the relay durability test program stored in the memory 1005 and may further perform the following steps:
[0067] Detecting a current value and a flip frequency of the operating current based on the current detection module;
[0068] The working state of the relay is determined according to the current value and the flipping frequency.
[0069] In one embodiment, the processor 1001 calls the relay durability test program stored in the memory 1005 and may further perform the following steps:
[0070] If it is detected that the current value is less than a preset current threshold or the flip frequency exceeds a preset frequency range, it is determined that the relay state is abnormal and the number of errors is recorded.
[0071] In one embodiment, the processor 1001 calls the relay durability test program stored in the memory 1005 and may further perform the following steps:
[0072] If a test pause instruction is received, the current test progress is retained and the current test duration corresponding to the current test progress is recorded;
[0073] After receiving the continue test instruction, the input signal is generated according to the current test duration and the test plan.
[0074] The embodiment of the present invention provides a relay durability testing method, referring to Figure 2 , Figure 2 This is a flow chart of a first embodiment of a relay durability testing method according to the present invention.
[0075] In this embodiment, the relay durability testing method includes:
[0076] Step S10, obtaining a test plan for relay durability based on the input-output module, and generating an input signal according to the test plan;
[0077] Figure 3 This is a schematic diagram of the durability test of the multi-function relay. When testing the durability of the multi-function relay, you can refer to Figure 3 Connect the test tool, the multi-function relay to be tested, the controlled device and the external power supply. Figure 3 As shown, the multifunctional relay durability test tool may include a main control module, an input / output module electrically connected to the main control module, a current detection module, and a drive circuit. The input / output module may be a touch screen or a combination of a display screen and an external keyboard and mouse.
[0078] In one implementation, the test tool is provided with an external power supply with an adjustable test voltage. The test tool's output signal line is connected to the multi-function relay's input signal pin, and current in / out wiring is added between the controlled device and the multi-function relay. After setting the appropriate test voltage for the external power supply, selecting a test plan on the touchscreen, and clicking the Start Test button on the touchscreen, the test tool will then test the relay according to the test plan.
[0079] As an example, before the step of obtaining a stored test plan and generating an input signal according to the test plan, the method further includes:
[0080] Step A1: Obtain durability test parameters based on the input / output module. Durability test parameters are parameters related to relay durability testing and may include voltage, current, and time. A tester can input the durability test parameters into the test tool via the tool's touchscreen for subsequent test plan generation.
[0081] Step A2, generating a test plan according to the durability test parameters, and saving the test plan. In the test plan, the time parameters may include the total duration, the working duration, and the intermittent duration. According to the actual test needs, the test plan may adopt different time distribution methods, such as continuous testing, intermittent testing, and a combination of continuous testing and intermittent testing. For example, a possible test plan for a continuous test is: a total duration of 100 hours and a working duration of 100 hours. For another example, a possible test plan for an intermittent test is: a total duration of 200 hours, a working duration of 15 seconds, an intermittent duration of 15 seconds, and alternating working and intermittent states within the total duration. For another example, a possible test plan combining a continuous test with an intermittent test is: a total duration of 200 hours, a continuous duration of 100 hours in the first 100 hours, a working duration of 15 seconds in the second 100 hours, and an intermittent duration of 15 seconds.
[0082] The test plan can be saved in the input and output module or stored in the memory inside the test tool.
[0083] As an example, the steps of obtaining a saved test plan and generating an input signal according to the test plan include:
[0084] Step A3: Receive a test plan selection instruction based on the input / output module, and obtain a test plan for the relay durability test based on the test plan selection instruction. The input / output module may include a unit for storing data to store the test plan. A tester can select a saved test plan via the touch screen. After selecting the test plan, the test tool retrieves the contents of the test plan.
[0085] Step A4, generating an input signal according to the time parameters in the test scheme. An external power supply can provide a test voltage for the test tool. When performing a durability test, the test voltage can be adjusted according to the actual test needs. During the test, the working environment of the multi-function relay when it is installed on a real vehicle is simulated. The greater the test voltage in the voltage parameter, the greater the working pressure of the multi-function relay. Therefore, when designing a test scheme, the test voltage and time parameters can be set more strictly to ensure that the performance of the multi-function relay meets the test requirements. During the test, the test tool controls the relay to alternate between the working state and the intermittent state under the test voltage. The duration of the working state is the working time, and the duration of the intermittent state is the intermittent time. When the controlled device connected to the relay is a double flash light, the double flash light is in a flashing state in the working state and in a dark state in the intermittent state.
[0086] The test plan is written and selected through the input and output module. The input and output module can generate input signals according to the test plan, simulate the signal generator and the signal generation function of the actual vehicle test.
[0087] Step S20, converting the input signal into a level signal;
[0088] Input signals can be generated at the input / output modules. Within the test tool, the main control module, which can be an MCU (Micro Control Unit), converts the input signals into level signals. The MCU communicates with the input / output modules via a UART (Universal Asynchronous Receiver / Transmitter). The MCU can convert the input signals injected by the touch screen into level signals. Level signals are represented by electrical levels, which can be categorized as high ("1") or low ("0").
[0089] Step S30, controlling the relay to be tested to operate based on the driving circuit according to the level signal, so as to drive a controlled device connected to the relay to operate and generate an operating current;
[0090] The main control module is electrically connected to the driver circuit, transmitting the level signal to the driver circuit. A multifunction relay installed in a car can control various lamps and windshield wipers. A single multifunction relay can also control multiple lamps simultaneously, such as the front and rear turn signals on the same side of the car. During testing, multiple lamps can be connected to the multifunction relay to simulate actual vehicle operating conditions.
[0091] As an example, controlling the relay to operate according to the level signal to drive the controlled device connected to the relay to operate, the step of generating the operating current may include:
[0092] Step B1: The driving circuit outputs a level to the relay according to the level signal.
[0093] Step B2: controlling the relay to close or open according to the electrical level to drive the controlled device connected to the relay to operate and generate a working current.
[0094] like Figure 3 As shown in the figure, when controlling the operation of a multi-function relay, a driver circuit can be configured in the test tool. After the input signal is converted into a level signal, the MCU can transmit the level signal to the driver circuit. The driver circuit outputs the level signal to the multi-function relay based on the level signal, controlling the operating state of the multi-function relay, which in turn drives the controlled device to operate. Figure 4 This is a schematic diagram of the debugging interface of the test tool, such as Figure 4 As shown, the controlled device can be any one or more of the following: left turn signal, right turn signal, hazard lights, rear fog lights, position lights, headlights, front fog lights, front washers, and intermittent wipers. During testing, after installing the controlled device, select the controlled device type in the debugging interface. When the multi-function relay drives the controlled device, operating current will be generated in the circuit where the controlled device is located.
[0095] Step S40, detecting the operating current based on the current detection module to determine the operating state of the relay according to the operating current;
[0096] The current detection module may be a current detection chip, which is used to monitor the operating current in real time. Figure 5 This is a diagram of the monitoring interface of the test tool, such as Figure 5 As shown, during real-time monitoring, the touch screen can display the real-time waveform of the operating current. Testers can determine the real-time operating status of the multi-function relay by observing the current waveform. The current detection module and the main control module can be electrically connected.
[0097] Specifically, when the controlled device driven by the multi-function relay is a turn signal, the turn signal's operating states can be divided into a dark state and a flashing state. The current flowing through the turn signal during operation is unstable. When the operating current is zero, the turn signal is in a dark state; when the operating current is not zero, the turn signal flashes, continuously switching between on and off. When the turn signal is on, the instantaneous current flowing through it reaches its maximum value during each flashing cycle, exerting the greatest impact on the multi-function relay. If testers observe a decrease in the current flowing through it, and the fluctuation exceeds the normal range, they can determine that the multi-function relay is operating abnormally.
[0098] The test tool can also monitor the changes in current value and current frequency through the current detection chip. When an abnormality is detected, the number of errors found will be displayed on the touch screen.
[0099] In this embodiment, after the tester clicks to start the test in the interface of the test tool, the test tool can simulate the working environment of the signal generator and the actual vehicle test according to the selected test plan, and perform automated testing on the multi-function relay, saving the hardware cost during testing and the manpower cost of manually setting and debugging the input signal. The test process can also be monitored by the working current to promptly discover problems that arise during the test process, avoiding repeating the test process after an error occurs and wasting test resources. In addition, the components used in the test tool are simple to assemble, the application cost is low, and the test tool is easy to operate.
[0100] Further, in the second embodiment of the relay durability testing method of the present invention, referring to Figure 6 , the method comprising:
[0101] Step S11, detecting the current value and flip frequency of the working current based on the current detection module;
[0102] like Figure 3 As shown, the current detection chip and the controlled device are in the same loop, and the current detection chip can feed back the duty cycle waveform of the working current to the touch screen for display. Figure 5 As shown in the figure, the current value of the working current changes regularly, and the flip frequency can be regarded as the time required for the current value to complete a periodic change. Generally, there are certain requirements for the flip frequency of the multi-function relay during the test process.
[0103] Step S12: determining the working state of the relay according to the current value and the flipping frequency.
[0104] When the working current is too low, the lamp may be damaged. When the flip frequency is unstable, the output duty cycle of the multi-function relay software may be unstable. These situations are all errors.
[0105] If the current value is detected to be less than a preset current threshold or the switching frequency exceeds a preset frequency range, the relay is determined to be in an abnormal state and the number of errors is recorded. When testing different multi-function relays connected to different controlled devices, the operating current value and switching frequency may vary. The current threshold and frequency range can be set based on the standard current value and switching frequency of the multi-function relay during normal operation.
[0106] For example, if the standard flip frequency of the multi-function relay is 720ms, the preset interval is set to 660ms-780ms. When the flip frequency is detected to be less than 660ms or greater than 780ms, it can be determined that the multi-function relay has a working error, and the counter is turned on to record the number of errors.
[0107] Testers can visually determine the operating status of the multi-function relay by counting errors. Error counts can also be cleared during testing using the touchscreen. By monitoring dynamic current in real time through the input and output modules, testers can develop filtering algorithms tailored to current detection, quickly identify and resolve bugs in the multi-function relay software, and improve development efficiency.
[0108] In this embodiment, the number of errors is recorded by the change in current value and flipping frequency. The tester can judge whether the software of the multi-function relay is stable by the number of errors, thereby achieving the effect of testing both the durability of the multi-function relay hardware and the stability of the multi-function relay software in a single test.
[0109] Further, in the third embodiment of the relay durability testing method of the present invention, referring to Figure 7 , the method comprising:
[0110] Step S21: if a test pause instruction is received, retain the current test progress and record the current test duration corresponding to the current test progress;
[0111] Once the test tool begins testing according to the selected test plan, if the multi-function relay fails during the test, the test tool will continue to operate until the current test duration reaches the total test duration, at which point the test ends. If the multi-function relay fails completely, no current will flow through the current detection circuit of the controlled device. At this point, the tester can turn off the external power supply to stop the test tool.
[0112] like Figure 5 As shown, the monitoring interface includes a button for pausing the test. When the tester clicks the button for pausing the test, the test tool can pause the test process, and the test data obtained by the test is retained. The current waveform and test time displayed on the touch screen interface maintain the display state when it was paused.
[0113] Before the test is completed, the test may be paused multiple times. The touch screen interface can record the current test duration by storing the time.
[0114] Step S22: after receiving the instruction to continue the test, the input signal is generated according to the current test duration and the test plan.
[0115] After the tester clicks the button to continue testing, the test tool can start from the recorded current test time, continue testing according to the test plan, and generate input signals at the input and output modules.
[0116] In this embodiment, if a lamp or wiper is damaged, the lamp or wiper can be replaced after pausing the test, and the test progress is retained, avoiding affecting the test progress due to damage to the controlled equipment.
[0117] The embodiment of the present invention also provides a relay durability testing device, such as Figure 8 As shown, the relay durability testing device includes:
[0118] The input and output unit 101 is used to obtain a stored test plan and generate an input signal according to the test plan;
[0119] The main control unit 102 is used to convert the input signal into a level signal;
[0120] The driving circuit unit 103 is used to control the relay to operate according to the level signal, so as to drive the controlled device connected to the relay to operate and generate an operating current;
[0121] The current detection unit 104 is configured to detect the operating current to determine the operating state of the relay according to the operating current.
[0122] Optionally, the input and output unit 101 is further configured to:
[0123] Based on the input and output module, obtaining durability test parameters;
[0124] A test plan is generated according to the durability test parameters, and the test plan is saved.
[0125] Optionally, the input and output unit 101 is further configured to:
[0126] Based on the input and output module, receiving a test scheme selection instruction, and obtaining a test scheme for a relay durability test according to the test scheme selection instruction;
[0127] An input signal is generated according to the time parameters in the test plan.
[0128] Optionally, the driving circuit unit 103 is further configured to:
[0129] The driving circuit outputs a level to the relay according to the level signal;
[0130] The relay is controlled to be closed or opened according to the level, so as to drive the controlled device connected to the relay to operate and generate a working current.
[0131] Optionally, the current detection unit 104 is further configured to:
[0132] Detecting a current value and a flip frequency of the operating current based on the current detection module;
[0133] The working state of the relay is determined according to the current value and the flipping frequency.
[0134] Optionally, the current detection unit 104 is further configured to:
[0135] If it is detected that the current value is less than a preset current threshold or the flip frequency exceeds a preset frequency range, it is determined that the relay state is abnormal and the number of errors is recorded.
[0136] Optionally, the input and output unit 101 is further configured to:
[0137] If a test pause instruction is received, the current test progress is retained and the current test duration corresponding to the current test progress is recorded;
[0138] After receiving the continue test instruction, the input signal is generated according to the current test duration and the test plan.
[0139] An embodiment of the present invention further provides a multifunctional relay durability testing tool, comprising: a memory, a main control module, an input / output module, a current detection module, and a drive circuit electrically connected to the main control module; and a relay durability testing program stored in the memory and executable on the main control module. The relay durability testing program is configured to implement the steps of the relay durability testing method described above. The specific implementation of the multifunctional relay durability testing tool of the present invention is described with reference to the various embodiments of the relay durability testing method described above and will not be further elaborated here.
[0140] An embodiment of the present invention further provides a computer-readable storage medium storing a relay durability test program. When executed by a main control module, the relay durability test program implements the steps of the relay durability test method described above. The specific implementation of the computer-readable storage medium of the present invention is described in detail in the embodiments of the relay durability test method described above and will not be further elaborated here.
[0141] It should be noted that, in this document, the terms "comprises," "includes," or any other variations thereof are intended to encompass non-exclusive inclusion, such that a process, method, article, or system comprising a series of elements includes not only those elements but also other elements not explicitly listed, or elements inherent to such process, method, article, or system. In the absence of further limitations, an element defined by the phrase "comprising a ..." does not exclude the presence of other identical elements in the process, method, article, or system comprising the element.
[0142] The serial numbers of the above embodiments of the present invention are for description only and do not represent the advantages or disadvantages of the embodiments.
[0143] Through the description of the above embodiments, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus the necessary general hardware platform, and of course can also be implemented by hardware, but in many cases the former is a better embodiment. Based on this understanding, the technical solution of the present invention is essentially or the part that contributes to the prior art can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk) as described above, and includes a number of instructions for enabling a terminal device (which can be a mobile phone, computer, server, or network device, etc.) to execute the methods described in each embodiment of the present invention.
[0144] The above are only preferred embodiments of the present invention and are not intended to limit the patent scope of the present invention. Any equivalent structure or equivalent process transformation made using the contents of the present invention description and drawings, or directly or indirectly applied in other related technical fields, are also included in the patent protection scope of the present invention.
Claims
1. A relay durability testing method, characterized in that: The relay durability testing method is applied to a multifunctional relay durability testing tool, which includes a main control module, and an input / output module, a current detection module, and a drive circuit electrically connected to the main control module; The relay durability testing method comprises the following steps: Based on the input and output module, obtaining durability test parameters, the durability test parameters including voltage parameters, current parameters and time parameters; generating a test plan according to the durability test parameters, and saving the test plan; obtaining a test plan for relay durability based on the input-output module, and generating an input signal according to the test plan; Converting the input signal into a level signal; According to the level signal, based on the driving circuit, the relay to be tested is controlled to operate, so as to drive the controlled device connected to the relay to operate and generate an operating current; The operating current is detected based on the current detection module to determine the operating state of the relay according to the operating current.
2. The relay durability testing method according to claim 1, wherein: The step of obtaining a test plan for relay durability based on the input-output module and generating an input signal according to the test plan includes: Based on the input and output module, receiving a test scheme selection instruction, and obtaining a test scheme for a relay durability test according to the test scheme selection instruction; An input signal is generated according to the time parameters in the test plan.
3. The relay durability testing method according to claim 1, wherein: The step of controlling the relay to be tested to operate based on the driving circuit according to the level signal to drive the controlled device connected to the relay to operate and generate the operating current includes: The driving circuit outputs a level to the relay according to the level signal; The relay is controlled to be closed or opened according to the level, so as to drive the controlled device connected to the relay to operate and generate a working current.
4. The relay durability testing method according to claim 1, wherein: The step of detecting the operating current based on the current detection module to determine the operating state of the relay according to the operating current includes: Detecting a current value and a flip frequency of the operating current based on the current detection module; The working state of the relay is determined according to the current value and the flipping frequency.
5. The relay durability testing method according to claim 4, wherein: The step of determining the working state of the relay according to the current value and the flipping frequency includes: If it is detected that the current value is less than a preset current threshold or the flip frequency exceeds a preset frequency range, it is determined that the relay state is abnormal and the number of errors is recorded.
6. The relay durability testing method according to any one of claims 1 to 5, characterized in that: After the step of detecting the operating current based on the current detection module to determine the operating state of the relay according to the operating current, the method further includes: If a test pause instruction is received, the current test progress is retained and the current test duration corresponding to the current test progress is recorded; After receiving the continue test instruction, the input signal is generated according to the current test duration and the test plan.
7. A relay durability testing device, characterized in that: The relay durability test device is applied to a multifunctional relay durability test tool and is configured in a main control module. The relay durability test device includes: An input-output unit, configured to obtain a test plan for the durability of the relay and generate an input signal according to the test plan; A main control unit, configured to convert the input signal into a level signal; A driving circuit unit, configured to control the relay to be tested to operate according to the level signal, so as to drive the controlled device connected to the relay to operate and generate an operating current; a current detection unit, configured to detect the operating current, so as to determine the operating state of the relay according to the operating current; Input and output units are also used for: Based on the input and output module, obtaining durability test parameters, the durability test parameters including voltage parameters, current parameters and time parameters; A test plan is generated according to the durability test parameters, and the test plan is saved.
8. A multifunctional relay durability testing tool, characterized in that: The multifunctional relay durability testing tool includes: a memory, a main control module, an input and output module, a current detection module and a drive circuit electrically connected to the main control module, and a relay durability testing program stored in the memory and executable on the main control module. The relay durability testing program is configured to implement the steps of the relay durability testing method as described in any one of claims 1 to 6.
9. A computer-readable storage medium, characterized in that The computer-readable storage medium stores a relay durability test program, which, when executed by the main control module, implements the steps of the relay durability test method according to any one of claims 1 to 6.
Citation Information
Patent Citations
Device and method for testing durability of automobile relay
CN102135598A
Optocoupler relay operation state detection method and device
CN113933694A
Relay durability testing device
CN210665954U