Functional test system, method, apparatus, and storage medium
By combining load simulation equipment and environmental simulation equipment, the working environment and human body impedance of implantable medical devices are simulated in real time, which solves the problems of low accuracy and poor efficiency in traditional testing and realizes high-precision and high-efficiency functional testing.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- SHANGHAI NEURAZING CO LTD
- Filing Date
- 2021-12-27
- Publication Date
- 2026-05-01
AI Technical Summary
Traditional functional testing techniques suffer from low accuracy and inefficiency, failing to meet the high-precision testing requirements of implantable medical devices.
A functional testing system is provided, including a load simulation device, an environment simulation device, and a control device. By simulating the working environment of an implantable medical device and the human body's matching impedance in real time, the system outputs test commands in real time, enabling synchronous testing of environmental and load changes.
It improves the accuracy and efficiency of functional testing, reduces human error, enables real-time testing under different working environments and human workloads, and enhances the accuracy and efficiency of test results.
Smart Images

Figure CN116350939B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of testing technology for medical devices, and in particular to a functional testing system, method, apparatus and storage medium. Background Technology
[0002] With advancements in medical technology, active implantable medical devices are finding increasing applications, and the market for implantable electronic medical devices is growing rapidly. Examples include widely used implantable pacemakers, implantable neurostimulators, and emerging devices such as cochlear implants and implantable defibrillators. These devices generally share a common characteristic: they require an implanted pulse generator to output electrical stimulation waveforms at different target locations to achieve their clinical effects. Furthermore, an external programmable device wirelessly communicates with the implanted pulse generator to send parameter adjustment commands, enabling stimulation with varying parameters.
[0003] During the implementation process, the inventors discovered that traditional technologies have at least the following problems: traditional technologies suffer from low accuracy and poor efficiency in the process of functional testing. Summary of the Invention
[0004] Therefore, it is necessary to provide a functional testing system, method, apparatus, and storage medium that can improve the accuracy and efficiency of functional testing in response to the above-mentioned technical problems.
[0005] To achieve the above objectives, in one aspect, embodiments of the present invention provide a functional testing system, comprising:
[0006] Load simulation equipment; the load simulation equipment is used to connect to the pulse generator under test;
[0007] Environmental simulation equipment is used to adjust the working environment of the pulse generator under test.
[0008] The control device is connected to both the load simulation device and the environment simulation device. It sends operating parameter commands corresponding to the current test task to both the load simulation device and the environment simulation device, and sends test commands corresponding to the current test task to the pulse generator under test. The control device also receives test data returned by the corresponding test commands and environmental information returned by the environment simulation device, and generates test results based on the test data and environmental information. The operating parameter commands include environmental parameter commands and impedance adjustment commands. The environmental parameter commands instruct the environment simulation device to perform corresponding environmental adjustment actions; the impedance adjustment commands instruct the load simulation device to perform corresponding impedance adjustment actions.
[0009] In one embodiment, the control device includes a first controller and a second controller connected to the first controller;
[0010] The first controller is used to send operating parameter instructions to the load simulation device and the environment simulation device;
[0011] The second controller is used to send test commands to the pulse generator under test and receive test data returned by the corresponding test commands and environmental information returned by the environmental simulation device; the second controller is also used to generate test results based on the test data and environmental information.
[0012] In one embodiment, a data acquisition device is also included;
[0013] The control equipment receives test data through the data acquisition equipment.
[0014] In one embodiment, the control device is further configured to, when there are unprocessed test tasks in the task pool, take at least one unprocessed test task as the current test task, and execute the steps of sending the working parameter instructions of the current test task to the load simulation device and the environment simulation device, and sending the test instructions of the current test task to the pulse generator under test, until all test tasks in the task pool are completed.
[0015] In one embodiment, the environmental simulation device includes any one and any combination of the following devices: a moving fixture, a programmable power supply, a vibration device, and a temperature control device;
[0016] The control equipment is connected to the moving tooling, programmable power supply, vibration equipment and temperature control equipment via a bus.
[0017] On the one hand, embodiments of the present invention also provide a functional testing method, including the following steps:
[0018] The system sends operating parameter commands corresponding to the current test task to the load simulation device and the environment simulation device, and sends test commands corresponding to the current test task to the pulse generator under test. The load simulation device is used to connect to the pulse generator under test; the environment simulation device is used to adjust the operating environment of the pulse generator under test; the operating parameter commands include environmental parameter commands and impedance adjustment commands; the environmental parameter commands instruct the environment simulation device to perform corresponding environmental adjustment actions; the impedance adjustment commands instruct the load simulation device to perform corresponding impedance adjustment actions.
[0019] It receives test data returned by the corresponding test command and environmental information returned by the environmental simulation device, and generates test results based on the test data and environmental information.
[0020] In one embodiment, the step further includes:
[0021] If there are unprocessed test tasks in the task pool, at least one unprocessed test task is taken as the current test task, and the steps of sending the working parameter instructions corresponding to the current test task to the load simulation device and the environment simulation device, and sending the test instructions corresponding to the current test task to the pulse generator under test are executed, until all test tasks in the task pool are completed.
[0022] In one embodiment, the test command includes a voltage command to read the charging voltage of the pulse generator under test; the operating parameter command includes a distance command to adjust and change the charging distance of the pulse generator under test.
[0023] The steps of receiving test data returned by the corresponding test command and environmental information returned by the environmental simulation device, and generating test results based on the test data and environmental information, include:
[0024] Returns the current charging voltage value based on the voltage command, and returns the current charging distance value based on the distance command;
[0025] The current charging distance when the current charging voltage is less than the preset voltage threshold is determined as the maximum charging distance of the pulse generator under test.
[0026] In one embodiment, the current test task includes a stimulus test task; the test instructions include stimulus test instructions; and the test also includes the step of:
[0027] Send a stimulus test command corresponding to the stimulus test task to the pulse generator under test, so that the pulse generator under test sends stimulus parameters to the load simulation device according to the stimulus test command;
[0028] Send impedance adjustment commands corresponding to the stimulus test task to the load simulation equipment;
[0029] It receives the stimulation parameters returned by the pulse generator under test and the impedance parameters returned by the load simulation device, and completes the stimulation test; wherein, the impedance parameters are obtained by the load simulation device according to the impedance adjustment command.
[0030] On one hand, embodiments of the present invention also provide a functional testing apparatus, including:
[0031] The working instruction sending module is used to send working parameter instructions corresponding to the current test task to the load simulation device and the environment simulation device, and to send test instructions corresponding to the current test task to the pulse generator under test. The load simulation device is used to connect to the pulse generator under test; the environment simulation device is used to adjust the working environment of the pulse generator under test; the working parameter instructions include environmental parameter instructions and impedance adjustment instructions; the environmental parameter instructions instruct the environment simulation device to perform corresponding environmental adjustment actions; the impedance adjustment instructions instruct the load simulation device to perform corresponding impedance adjustment actions.
[0032] The test analysis module is used to receive test data returned by the corresponding test command and environmental information returned by the environmental simulation device, and generate test results based on the test data and environmental information.
[0033] On one hand, embodiments of the present invention also provide a computer-readable storage medium storing a computer program thereon, which, when executed by a processor, implements the steps of any of the methods described above. One of the above technical solutions has the following advantages and beneficial effects:
[0034] The aforementioned functional testing equipment simulates the working environment of the pulse generator under test in real time through an environmental simulation device, simulates the human body matching impedance in real time through a load simulation device, and controls the equipment to output test commands, environmental parameter commands to instruct the environmental simulation device to perform corresponding environmental adjustment actions, and impedance adjustment commands to instruct the load simulation device to perform corresponding impedance adjustment actions in real time, so as to achieve functional testing while the working environment and human body load change in real time. Attached Figure Description
[0035] The above and other objects, features, and advantages of this application will become clearer through a more detailed description of the preferred embodiments illustrated in the accompanying drawings. The same reference numerals denote the same parts throughout the drawings, and the drawings are not intentionally drawn to scale with actual dimensions; the focus is on illustrating the main points of this application.
[0036] Figure 1 This is a first schematic structural block diagram of a functional testing system in one embodiment;
[0037] Figure 2 This is a second schematic structural block diagram of a functional testing system in one embodiment;
[0038] Figure 3 This is a third schematic structural block diagram of a functional testing system in one embodiment;
[0039] Figure 4 This is a first schematic flowchart of a functional testing method in one embodiment;
[0040] Figure 5 This is a second illustrative flowchart of a functional testing method in one embodiment;
[0041] Figure 6 This is a structural block diagram of a functional testing device in one embodiment. Detailed Implementation
[0042] To facilitate understanding of this application, a more complete description will be provided below with reference to the accompanying drawings, which illustrate preferred embodiments of the application. However, this application may be implemented in many different forms and is not limited to the embodiments described herein. Rather, these embodiments are provided so that the disclosure of this application will be thorough and complete.
[0043] It should be noted that when one element is considered to be "connected" to another element, it can be directly connected to and integrated with the other element, or there may be an intervening element present. The terms "adjustment," "one end," "the other end," and similar expressions used in this document are for illustrative purposes only.
[0044] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this application belongs. The terminology used in this specification is for the purpose of describing particular embodiments only and is not intended to be limiting of the application. The term "and / or" as used herein includes any and all combinations of one or more of the associated listed items.
[0045] In one embodiment, such as Figure 1 As shown, a functional testing system is provided, including:
[0046] Load simulation equipment; the load simulation equipment is used to connect to the pulse generator under test;
[0047] Environmental simulation equipment is used to adjust the working environment of the pulse generator under test and the load simulation equipment.
[0048] The control device is connected to both the load simulation device and the environment simulation device. It sends operating parameter instructions for the current test task to both the load simulation device and the environment simulation device, and sends test instructions for the current test task to the pulse generator under test. The control device also receives test data returned by the load simulation device and environmental information returned by the environment simulation device, and generates test results based on the test data and environmental information. The operating parameter instructions include environmental parameter instructions and impedance adjustment instructions. The environmental parameter instructions instruct the environment simulation device to perform corresponding environmental adjustment actions; the impedance adjustment instructions instruct the load simulation device to perform corresponding impedance adjustment actions.
[0049] The load simulation device is used to simulate human body load and can be any device capable of simulating load in the field, such as a multi-channel impedance transformer. The pulse-to-test (PTS) generator is one of the components in an active implantable medical device. It outputs electrical stimulation waveforms to different target locations to achieve its clinical effect. Active implantable medical devices can include implantable pacemakers, implantable neurostimulators, and emerging implantable cochlear implants and implantable defibrillators. Current test tasks all include corresponding test commands and operating parameter commands. Operating parameter commands include environmental parameter commands and impedance adjustment commands, with the environmental parameter commands generally controlled by an environmental simulation device.
[0050] Environmental simulation equipment is designed with corresponding tooling based on the different operating environment variables of the actual product. For example, active implantable pulse generators will face many different operating environments during actual clinical use, all of which may affect the product's performance. Specifically, the operating environment can be the stress it withstands (temperature, vibration stress, etc.), or the distance and offset between the pulse generator under test and other devices. Therefore, different operating environment variables need to be simulated during testing, such as a three-axis moving fixture that controls the wireless charging distance and offset, a programmable power supply that simulates the battery charge Vt curve output, a three-axis vibration table that simulates the mechanical vibration acceleration of the human body, and a water bath or incubator that simulates human body heating, etc.
[0051] The type of control device is unrestricted and can be configured according to the actual application. For example, it can be a general-purpose processor, including a Central Processing Unit (CPU), a Network Processor (NP), etc.; it can also be a Digital Signal Processor (DSP), an Application-Specific Integrated Circuit (ASIC), an Off-the-shelf Programmable Gate Array (FPGA), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. In a specific example, the control device includes a first controller and a second controller; the first controller can be a PXI system (i.e., a central control system), and the second controller can be a non-threaded control device. The non-threaded control device receives the pre-set test instruction set to be tested from the PXI system via physical link data transmission and transmits these test instruction sets to the pulse generator under test via wireless communication. The PXI system connects to the other end of the load simulation device, the environment simulation device, and the non-threaded control device. The control part of the PXI system is used to send the working parameter instructions of the current test task to the load simulation device and the environment simulation device, and to send the test instructions of the current test task to the pulse generator under test through the non-threaded control device. It is also used to receive the test data returned by the load simulation device and the environmental information returned by the environment simulation device, and to generate test results based on the test data and tooling information.
[0052] Specifically, the operating parameter instructions are pre-set according to the current test task. It should be noted that the operating parameter instructions include environmental parameter instructions and impedance adjustment instructions. Environmental parameter instructions are used to instruct the environmental simulation equipment to perform corresponding environmental adjustment actions, such as applying vibration stress or temperature stress to the pulse generator under test. Impedance adjustment instructions are used to instruct the load simulation equipment to adjust the corresponding impedance. Further, the environmental parameter instructions include a first adjustment time and parameter value; the environmental simulation equipment receiving this instruction can change the operating environmental parameters of the pulse generator under test in real time according to the first adjustment time and parameter value. The impedance adjustment instructions include a second adjustment time and impedance value; the load simulation equipment receiving this instruction can change the resistance value in real time. Test instructions may include stimulation parameters and the number of channels opened, and may also include data reading instructions. Upon receiving the test instruction, the pulse generator under test outputs a corresponding electrical signal waveform to the load simulation equipment according to the number of channels opened and the stimulation parameters.
[0053] The control device can acquire test data and environmental information using any technical method in this field, and further process the test data and environmental information to obtain test results. In a specific example, the test process of data acquisition, calculation, and judgment for each test task can be encapsulated into a test subroutine. When performing different test tasks, it is only necessary to call different test subroutines to execute the corresponding actions. Furthermore, the working parameter instructions and the above-mentioned test subroutines can be integrated into the TestStand test system. It is only necessary to solidify all the instructions that need to be sent, send them one by one, and call the selected test subroutine until all test tasks are completed, then end the test and output the test results based on the test data and tooling information.
[0054] The aforementioned functional testing system uses an environmental simulation device to simulate the working environment of the pulse generator under test in real time, and a load simulation device to simulate the human body matching impedance in real time. The control device outputs test commands, environmental parameter commands to instruct the environmental simulation device to perform corresponding environmental adjustment actions, and impedance adjustment commands to instruct the load simulation device to perform corresponding impedance adjustment actions in real time, so as to achieve functional testing while the working environment and human body load change in real time.
[0055] In one embodiment, such as Figure 2 As shown, the control device includes a first controller and a second controller;
[0056] The first controller is used to send operating parameter instructions to the load simulation device and the environment simulation device;
[0057] The second controller is used to send test commands to the pulse generator under test, and to receive test data returned by the load simulation device and the corresponding test command of the pulse generator under test, as well as environmental information returned by the environmental simulation device; the second controller is also used to generate test results based on the test data and tooling information.
[0058] Specifically, the first controller controls the load simulation device, the environment simulation device, and the second controller. In a specific example, the first controller can be a PXI system, which performs central control and testing functions, controlling the load simulation device to change its impedance value, controlling the environment simulation device to change its operating environment, and outputting test commands to the second controller.
[0059] The second controller sends test commands to the pulse generator under test, replacing the programmable control device in traditional technology. It should be noted that the communication method and protocol used by the second controller are the same as those used by the programmable control device in traditional technology. The second controller and the first controller can establish a connection via a serial port. Furthermore, test commands can be written into the second controller frame by frame. The second controller automatically sends test commands and reads the returned data, achieving automatic testing and comparison. The second controller can be a non-threaded control device.
[0060] The aforementioned functional testing system simulates the process of sending test commands to the pulse generator under test via a programmable control device through a second controller. Since each test task is different, the type of programmable control device varies. This application integrates the test commands from each programmable control device through the second controller, and automatically sends and retrieves the test commands for each test task, effectively reducing the inconvenience of traditional technologies and improving testing efficiency.
[0061] In one specific embodiment, such as Figure 3 As shown, it also includes data acquisition equipment;
[0062] The control equipment receives test data through the data acquisition equipment.
[0063] The data acquisition device can be selected from different virtual modular instruments or other readily available testing equipment, depending on the test function to be implemented. For example, it can be a data acquisition device that can replace an oscilloscope for electrical signal acquisition. Optionally, the data acquisition device can be any device with data acquisition capabilities in the field, such as an information acquisition card, sampling circuit, or acquisition board.
[0064] In one specific embodiment, the control device is further configured to, when there are unprocessed test tasks in the task pool, designate at least one unprocessed test task as the current test task and execute the step of sending the working parameter instructions of the current test task to the load simulation device and the environment simulation device, until all test tasks in the task pool are completed.
[0065] Specifically, the test tasks in the task pool are pre-set. For example, if multiple test tasks need to be performed on the pulse generator under test, all the necessary test tasks are placed in the task pool. After completing the current test task, the control device executes the next test task until all test tasks are completed.
[0066] In one specific embodiment, the environmental simulation device includes any one and any combination of the following devices: a moving fixture, a programmable power supply, a vibration device, and a temperature control device;
[0067] The control equipment is connected to the moving tooling, programmable power supply, vibration equipment and temperature control equipment via a bus.
[0068] Specifically, the movable fixture is used to control the movement of the pulse generator under test; the programmable power supply is used to simulate the battery charge Vt curve output; the vibration device is used to simulate the mechanical vibration acceleration or vibration stress of the human body; and the temperature control device is used to simulate human body heat, which can be a water bath or a temperature chamber. Each device is connected to the control device via a PXI bus, allowing the control device to change the working environment and human body matching impedance while sending test commands. It should be noted that the environmental simulation device may also include devices other than those mentioned above; any device capable of adjusting the working environment should be included within the scope of protection claimed in this application. In a specific example, this bus can be a PXI bus.
[0069] In one embodiment, such as Figure 4 As shown, a functional testing method is provided, including the following steps:
[0070] S410 sends operating parameter commands to the load simulation device and the environmental simulation device, and sends test commands to the pulse generator under test; wherein, the load simulation device is connected to the pulse generator under test; the environmental simulation device is used to adjust the operating environment of the pulse generator under test; the operating parameter commands include environmental parameter commands and impedance adjustment commands; the environmental parameter commands are used to instruct the environmental simulation device to perform corresponding environmental adjustment actions; the impedance adjustment commands are used to instruct the load simulation device to perform corresponding impedance adjustment actions;
[0071] Specifically, the issuance of operating parameter commands and test commands can be performed simultaneously, or the operating parameter commands can be issued first, followed by the test commands. Test commands can include stimulation parameters and the number of channels open, as well as data reading commands. Upon receiving the test command, the pulse generator under test outputs a corresponding electrical signal waveform to the load simulation device based on the number of channels open and the stimulation parameters. In a specific example, the test commands and operating parameter commands are executed synchronously. For instance, taking a threadless control device as the first controller, when the environmental simulation device is a three-axis moving fixture, the charging distance of the implanted pulse generator is changed by setting the moving coordinates of the three-axis moving fixture. Simultaneously, a set of commands to read the charging voltage of the implanted pulse generator (i.e., the pulse generator under test) is sent. The threadless control device reads the returned data. When the returned current voltage value is less than a preset voltage threshold, the current moving distance of the three-axis moving fixture is simultaneously read. This current moving distance is determined as the maximum charging distance, thus realizing the maximum charging distance testing function.
[0072] S420 receives the test data returned by the corresponding test command and the environmental information returned by the environmental simulation device, and generates the test results based on the test data and environmental information.
[0073] Specifically, test data returned by the load simulation device can be received by any means in the art, such as data acquisition using a data acquisition device. During the data acquisition process, data can be collected by any means in the art, such as calling the corresponding stimulus parameter test LabVIEW test subroutine to collect data and perform further calculations, judgments, and storage.
[0074] It should be noted that test results can be generated based on test data and tooling information using any method in this field. In a specific example, the test instructions include a voltage instruction to read the charging voltage of the pulse generator under test; operating parameter instructions include a distance instruction to adjust and change the charging distance of the pulse generator under test; the current charging voltage value is returned based on the voltage instruction, and the current charging distance value is returned based on the distance instruction; the current charging distance value when the current charging voltage value is less than a preset voltage threshold is determined as the maximum charging distance of the pulse generator under test. Thus, the maximum charging distance testing function is implemented.
[0075] In another embodiment, taking the current test task as including a stimulus test task and the test instruction as including a stimulus test instruction as an example, the above functional test method includes the following steps: sending a stimulus test instruction corresponding to the stimulus test task to the pulse generator under test, so that the pulse generator under test sends stimulus parameters to the load simulation device according to the stimulus test instruction; sending an impedance adjustment instruction corresponding to the stimulus test task to the load simulation device; receiving the stimulus parameters returned by the pulse generator under test and the impedance parameters returned by the load simulation device, and completing the stimulus test; wherein, the impedance parameters are obtained by the load simulation device according to the impedance adjustment instruction. Specifically, a working instruction, such as a specific set of stimulus parameters, can be sent to the implantable pulse generator under test (i.e., the pulse generator under test) via wireless communication through a wireless control device (i.e., the second controller mentioned above), and then the stimulus waveform of the corresponding channel can be acquired through an oscilloscope (i.e., the data acquisition device mentioned above). Thus, this embodiment can automatically complete the test by sending multiple sets of stimulus parameters sequentially through a wireless control device, and can also achieve automatic cyclic testing of multiple sets of stimulus parameters in conjunction with different environmental parameters. The aforementioned functional testing method replaces the programmable control devices required in traditional testing, transforming manual commands into automatic sending and reading, and direct comparison with test results. This reduces manual testing and recording operations, significantly improving existing testing efficiency and minimizing human error. Furthermore, changes in the working environment or human workload are conducted concurrently with the testing, facilitating the study of the real-time impact of different working environments and human workloads on test results.
[0076] In one embodiment, such as Figure 5 As shown, it also includes the following steps:
[0077] S510, if there are unprocessed test tasks in the task pool, at least one unprocessed test task is taken as the current test task, and the step of sending the working parameter instructions of the current test task to the load simulation device and the environment simulation device is executed until all test tasks in the task pool are completed.
[0078] Specifically, the test tasks in the task pool are preset. For example, if multiple test tasks are required for the pulse generator under test, all necessary test tasks are placed in the task pool. After the current test task is completed, the next test task is executed until all test tasks are completed.
[0079] It should be understood that, although Figure 4-5 The steps in the flowchart are shown sequentially as indicated by the arrows, but these steps are not necessarily executed in the order indicated by the arrows. Unless otherwise specified herein, there is no strict order in which these steps are executed, and they can be performed in other orders. Figure 4-5 At least some of the steps in the process may include multiple sub-steps or multiple stages. These sub-steps or stages are not necessarily executed at the same time, but may be executed at different times. The execution order of these sub-steps or stages is not necessarily sequential, but may be executed in turn or alternately with other steps or at least some of the sub-steps or stages of other steps.
[0080] In one embodiment, such as Figure 6 As shown, a functional testing apparatus is provided, comprising:
[0081] The working instruction sending module is used to send working parameter instructions corresponding to the current test task to the load simulation device and the environment simulation device, and to send test instructions corresponding to the current test task to the pulse generator under test; wherein, the load simulation device is used to connect to the pulse generator under test; the environment simulation device is used to adjust the working environment of the pulse generator under test; the working parameter instructions include environment parameter instructions and impedance adjustment instructions; the working environment parameter instructions are used to instruct the environment simulation device to perform corresponding environmental adjustment actions; the impedance adjustment instructions are used to instruct the load simulation device to perform corresponding impedance adjustment actions; the load simulation device and the environment simulation device in this embodiment are the same as those in the above embodiments.
[0082] The test analysis module is used to receive test data returned by the corresponding test command and environmental information returned by the environmental simulation device, and generate test results based on the test data and environmental information.
[0083] In one embodiment, the work instruction sending module is further configured to, if there are unprocessed test tasks in the task pool, take at least one unprocessed test task as the current test task and execute the step of sending the work parameter instructions of the current test task to the load simulation device and the environment simulation device, until all test tasks in the task pool are completed.
[0084] Specific limitations regarding the functional testing apparatus can be found in the functional testing method limitations outlined above, and will not be repeated here. Each module in the aforementioned functional testing apparatus can be implemented entirely or partially through software, hardware, or a combination thereof. These modules can be embedded in or independent of the processor in the computer device in hardware form, or stored in the memory of the computer device in software form, so that the processor can call and execute the operations corresponding to each module.
[0085] In one embodiment, a computer-readable storage medium is provided having a computer program stored thereon, the computer program performing the following steps when executed by a processor:
[0086] The system sends operating parameter commands to the load simulation device and the environmental simulation device, and sends test commands to the pulse generator under test. One end of the load simulation device is used to connect to the pulse generator under test. The environmental simulation device is used to adjust the operating environment of the pulse generator under test. The operating parameter commands include environmental parameter commands and impedance adjustment commands. The environmental parameter commands are used to instruct the environmental simulation device to perform corresponding environmental adjustment actions. The impedance adjustment commands are used to instruct the load simulation device to perform corresponding impedance adjustment actions.
[0087] It receives test data returned by the load simulation device and environmental information returned by the environment simulation device, and generates test results based on the test data and environmental information.
[0088] In one embodiment, when the computer program is executed by a processor, it also performs the following steps:
[0089] If there are unprocessed test tasks in the task pool, at least one unprocessed test task is taken as the current test task, and the step of sending the working parameter instructions of the current test task to the load simulation device and the environment simulation device is executed until all test tasks in the task pool are completed.
[0090] In one embodiment, when the step of receiving test data returned by the corresponding test instruction and environmental information returned by the environmental simulation device, and generating test results based on the test data and environmental information is executed by the processor, the following steps are also implemented:
[0091] Returns the current charging voltage value based on the voltage command, and returns the current charging distance value based on the distance command;
[0092] The current charging distance when the current charging voltage is less than the preset voltage threshold is determined as the maximum charging distance of the pulse generator under test.
[0093] In one embodiment, when the computer program is executed by a processor, it also performs the following steps:
[0094] Send a stimulus test command corresponding to the stimulus test task to the pulse generator under test, so that the pulse generator under test sends stimulus parameters to the load simulation device according to the stimulus test command;
[0095] Send impedance adjustment commands corresponding to the stimulus test task to the load simulation equipment;
[0096] It receives the stimulation parameters returned by the pulse generator under test and the impedance parameters returned by the load simulation device, and completes the stimulation test; wherein, the impedance parameters are obtained by the load simulation device according to the impedance adjustment command.
[0097] Those skilled in the art will understand that all or part of the processes in the methods of the above embodiments can be implemented by a computer program instructing related hardware. The computer program can be stored in a non-volatile computer-readable storage medium. When executed, the computer program can include the processes of the embodiments of the above methods. Any references to memory, storage, databases, or other media used in the embodiments provided in this application can include non-volatile and / or volatile memory. Non-volatile memory can include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM), or flash memory. Volatile memory can include random access memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in various forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), dual data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link DRAM (SLDRAM), memory bus DRAM (RDRAM), and interface DRAM (DRDRAM), etc.
[0098] The technical features of the above embodiments can be combined in any way. For the sake of brevity, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0099] The above embodiments merely illustrate several implementation methods of this application, and their descriptions are relatively specific and detailed, but they should not be construed as limiting the scope of the invention patent. It should be noted that those skilled in the art can make various modifications and improvements without departing from the concept of this application, and these all fall within the protection scope of this application. Therefore, the protection scope of this invention patent should be determined by the appended claims.
Claims
1. A functional testing system, characterized in that, include: A load simulation device is used to connect to the pulse generator under test, and the load simulation device is used to simulate human body matching impedance in real time. An environmental simulation device is used to adjust the working environment of the pulse generator under test. A control device is provided, connected to both the load simulation device and the environment simulation device. The control device sends operating parameter instructions corresponding to the current test task to both the load simulation device and the environment simulation device, and sends test instructions corresponding to the current test task to the pulse generator under test. The control device also receives test data returned by the corresponding test instructions and environmental information returned by the environment simulation device, and generates test results based on the test data and the environmental information. The operating parameter instructions include environmental parameter instructions and impedance adjustment instructions. The environmental parameter instructions instruct the environment simulation device to perform corresponding environmental adjustment actions. The impedance adjustment instructions instruct the load simulation device to perform corresponding impedance adjustment actions. The control device includes a first controller and a second controller connected to the first controller; The first controller is used to send operating parameter instructions to the load simulation device and the environment simulation device; The second controller is used to send test commands to the pulse generator under test, and receive test data returned in accordance with the test commands and environmental information returned by the environmental simulation device; the second controller is also used to generate test results based on the test data and the environmental information; the second controller is used to simulate or replace the programmable control device.
2. The functional testing system according to claim 1, characterized in that, It also includes data acquisition equipment; The control device receives the test data through the data acquisition device.
3. The functional testing system according to claim 1, characterized in that, The control device is further configured to, when there are unprocessed test tasks in the task pool, designate at least one unprocessed test task as the current test task, and execute the steps of sending the working parameter instructions of the current test task to the load simulation device and the environment simulation device, and sending the test instructions of the current test task to the pulse generator under test, until all test tasks in the task pool are completed.
4. The functional testing system according to claim 1, characterized in that, The environmental simulation equipment includes any one and any combination of the following devices: mobile tooling, programmable power supply, vibration equipment, and temperature control equipment; The control device is connected to the mobile tooling, the programmable power supply, the vibration device, and the temperature control device via a bus.
5. A functional testing method, characterized in that, Including the following steps: The system sends operating parameter commands corresponding to the current test task to the load simulation device and the environment simulation device via a first controller, and sends test commands corresponding to the current test task to the pulse generator under test via a second controller. The load simulation device is used to connect to the pulse generator under test and to simulate human body impedance in real time. The environment simulation device is used to adjust the operating environment of the pulse generator under test. The operating parameter commands include environmental parameter commands and impedance adjustment commands. The environmental parameter commands instruct the environment simulation device to perform corresponding environmental adjustment actions, and the impedance adjustment commands instruct the load simulation device to perform corresponding impedance adjustment actions. The second controller receives test data returned by the corresponding test command and environmental information returned by the environmental simulation device, and generates test results based on the test data and the environmental information; the second controller is used to simulate or replace the programmable control device.
6. The functional testing method according to claim 5, characterized in that, It also includes the following steps: If there are unprocessed test tasks in the task pool, at least one unprocessed test task is taken as the current test task, and the steps of sending the working parameter instructions corresponding to the current test task to the load simulation device and the environment simulation device, and sending the test instructions corresponding to the current test task to the pulse generator under test are executed, until all test tasks in the task pool are completed.
7. The functional testing method according to claim 5, characterized in that, The test command includes a voltage command to read the charging voltage of the pulse generator under test; the operating parameter command includes a distance command to adjust and change the charging distance of the pulse generator under test. The step of receiving test data returned corresponding to the test command and environmental information returned by the environmental simulation device, and generating test results based on the test data and the environmental information, includes: The current charging voltage value is returned according to the voltage command, and the current charging distance value is returned according to the distance command; The current charging distance when the current charging voltage is less than a preset voltage threshold is determined as the maximum charging distance of the pulse generator under test.
8. The functional testing method according to claim 5, characterized in that, The current test task includes a stimulus test task; the test instructions include stimulus test instructions; and the test also includes the following steps: Send a stimulus test instruction corresponding to the stimulus test task to the pulse generator under test, so that the pulse generator under test sends stimulus parameters to the load simulation device according to the stimulus test instruction; Send the impedance adjustment command corresponding to the stimulus test task to the load simulation device; The device receives the stimulation parameters returned by the pulse generator under test and the impedance parameters returned by the load simulation device, and completes the stimulation test; wherein the impedance parameters are obtained by the load simulation device according to the impedance adjustment command.
9. A functional testing device, characterized in that, include: The working instruction sending module is used to send working parameter instructions corresponding to the current test task to the load simulation device and the environment simulation device through a first controller, and to send test instructions corresponding to the current test task to the pulse generator under test through a second controller; wherein, the load simulation device is used to connect to the pulse generator under test, and the load simulation device is used to simulate human body matching impedance in real time; the environment simulation device is used to adjust the working environment of the pulse generator under test; the working parameter instructions include environmental parameter instructions and impedance adjustment instructions; the working environment parameter instructions are used to instruct the environment simulation device to perform corresponding environmental adjustment actions; the impedance adjustment instructions are used to instruct the load simulation device to perform corresponding impedance adjustment actions; The test analysis module is used to receive test data returned by the corresponding test command and environmental information returned by the environmental simulation device through the second controller, and generate test results based on the test data and the environmental information; the second controller is used to simulate or replace the programmable control device.
10. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by a processor, it implements the steps of the method according to any one of claims 5 to 8.
Citation Information
Patent Citations
Test method, test device and controller
CN105629180A
Instruction test system of in-vitro control equipment for implantable medical instrument
CN113204224A
Circuit board test device
CN207663012U
Function test system
CN218685731U