WO2023103743A1 - On/off switching time test method, related system and device, and storage medium - Google Patents

On/off switching time test method, related system and device, and storage medium Download PDF

Info

Publication number
WO2023103743A1
WO2023103743A1 PCT/CN2022/132751 CN2022132751W WO2023103743A1 WO 2023103743 A1 WO2023103743 A1 WO 2023103743A1 CN 2022132751 W CN2022132751 W CN 2022132751W WO 2023103743 A1 WO2023103743 A1 WO 2023103743A1
Authority
WO
WIPO (PCT)
Prior art keywords
switch
waveform
switching time
output
oscilloscope
Prior art date
Application number
PCT/CN2022/132751
Other languages
French (fr)
Chinese (zh)
Inventor
薛厚
郭嘉帅
Original Assignee
深圳飞骧科技股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 深圳飞骧科技股份有限公司 filed Critical 深圳飞骧科技股份有限公司
Publication of WO2023103743A1 publication Critical patent/WO2023103743A1/en

Links

Images

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R31/00Arrangements for testing electric properties; Arrangements for locating electric faults; Arrangements for electrical testing characterised by what is being tested not provided for elsewhere
    • G01R31/327Testing of circuit interrupters, switches or circuit-breakers

Definitions

  • the invention relates to the technical field of switch testing, in particular to a switch switching time testing method, a switch switching time testing system, a switch switching time testing device and a computer-readable storage medium.
  • AP wireless access point
  • the purpose of the present invention is to overcome the above technical problems, and provide a switch switching time testing method, a switch switching time testing device and a computer-readable storage medium with a simple test structure and easy operation.
  • the embodiment of the present invention provides a switch switching time testing method, providing a waveform generator, an inverter, an oscilloscope, a switch, a signal generator, a power amplifier, and a wave detector.
  • the method includes the following steps:
  • Td is the switching time of the switch
  • Tosc is the start-stop time of the switch
  • Tdet is the delay time difference
  • the preset waveform is set such that the output waveform of the waveform generator is set at a frequency of 100Khz and an amplitude of 3V.
  • the preset output state is set such that the output waveform of the signal generator is set at a frequency of 1Ghz and a power amplitude of -10dbm.
  • the preset output state settings are adjusted accordingly according to the properties of the power amplifier.
  • the preset output state is set such that the output waveform of the signal generator is set at a frequency of 5Ghz and a power amplitude of -20dbm.
  • the embodiment of the present invention also provides a switch switching time test system, the system includes a test module and a calculation module,
  • the test module includes a waveform generator, an inverter, an oscilloscope, a switch, a signal generator, a power amplifier, and a wave detector; the output terminals of the waveform generator are respectively connected to the input ends of the inverter, the oscilloscope
  • the first input terminal of the switch and the first control terminal of the switch, the output terminal of the inverter is connected to the second control terminal of the switch, and the output terminal of the signal generator is connected to the power amplifier after being connected in series to the input end of the switch, the output end of the switch is connected to the input end of the wave detector, and the output end of the wave detector is connected to the second input end of the wave detector;
  • the waveform generator, the The inverter, the oscilloscope, the switch, the signal generator, the power amplifier and the detector are energized and set to work, the waveform generator is adjusted to a preset waveform setting, and the signal the generator is adjusted to a preset output state setting, and the oscilloscope is adjusted to a preset
  • the calculation module is used to read the first waveform output by the waveform generator and the second waveform output by the detector displayed by the oscilloscope, according to the high potential or low potential in one cycle of the first waveform Potential and the low potential or high potential of the initial stable state of the corresponding second waveform in this cycle to obtain the switch start and stop time, and obtain the delay time difference according to the high and low level inversion time of the second waveform, and according to the switch
  • the switching time of the switch is obtained by calculating the start-stop time and the delay time difference, and satisfies the following formula:
  • Td is the switching time of the switch
  • Tosc is the start-stop time of the switch
  • Tdet is the delay time difference
  • the embodiment of the present invention also provides a switching time testing device, including a processor and a memory, the processor is used to read the program in the memory, and the processor reads the program in the memory The program executes the steps in the above-mentioned switching time testing method of the embodiment of the present invention.
  • an embodiment of the present invention also provides a computer-readable storage medium, the computer-readable storage medium stores a computer program, the computer program includes program instructions, and when the program instructions are executed by a processor, the above The steps in the switch switching time test method described in any one.
  • the switching time testing method of the present invention includes the following steps: building a testing system, starting the testing system, adjusting testing equipment, and calculating the switching time.
  • the implementation of this step builds a test system with a simple structure, which includes a waveform generator, an inverter, an oscilloscope, a switch, a signal generator, a power amplifier, and a wave detector.
  • Test equipment which is beneficial for testers to test and operate.
  • the tester finishes building the test system he only needs to power on the relevant equipment and devices, and after making simple adjustments to the waveform generator, the signal generator and the oscilloscope, read the The oscilloscope displays the first waveform output by the waveform generator and the second waveform output by the detector, and performs a simple subtraction calculation to obtain the switching time of the switch.
  • the whole test process is simple and easy to operate. Therefore, the test structure of the switch switching time test method, the switch switch time test system, the switch switch time test equipment and the computer-readable storage medium of the present invention are simple and easy to operate.
  • Fig. 1 is a block flow diagram of a switch switching time testing method provided by an embodiment of the present invention
  • FIG. 2 is a schematic structural diagram of a test system of a switch switching time test method provided by an embodiment of the present invention
  • Fig. 3 is the output waveform diagram of waveform generator, inverter and detector in Fig. 2;
  • FIG. 4 is a block diagram of a module structure of a switching time testing system provided by an embodiment of the present invention.
  • FIG. 5 is a schematic structural diagram of a switching time testing device provided by an embodiment of the present invention.
  • FIG. 1 is a flow chart of the switching time testing method of the present invention.
  • the present invention provides a switch switching time testing method, and the switch switching time testing method includes the following steps:
  • Step S1 building a test system.
  • Fig. 2 is a schematic structural diagram of a test system for a switching time test method provided by an embodiment of the present invention.
  • the test system of the switch switching time test method includes a waveform generator, an inverter, an oscilloscope, a switch, a signal generator, a power amplifier and a wave detector.
  • Step S2 start the test system.
  • Step S3 adjusting the testing equipment.
  • adjusting the waveform generator to a preset waveform setting adjusting the signal generator to a preset output state setting, and adjusting the oscilloscope to a preset resolution reading setting.
  • the preset waveform setting is that the output waveform of the waveform generator is set at a frequency of 100Khz and an amplitude of 3V. After adjusting the waveform generator, the tester only needs to confirm whether the waveform state is consistent with the setting.
  • the preset output state setting is that the output waveform of the signal generator is set at a frequency of 1Ghz and a power amplitude of -10dbm. After the tester adjusts the signal generator, he only needs to confirm whether the output signal state is consistent with the setting.
  • the preset output state setting is adjusted accordingly according to the property of the power amplifier. That is to say, the tester can replace the power amplifier of different models during the test and readjust the output waveform of the signal generator.
  • This setting is conducive to flexible adjustment during the test of the switching time of the switch. Easy to operate for testers.
  • the preset output state setting is adjusted so that the output waveform of the signal generator is set at a frequency of 5Ghz and a power amplitude of -20dbm.
  • the preset resolution reading means that the oscilloscope is adjusted to a suitable reading resolution condition, and the tester checks whether the reading is normal.
  • Step S4 calculating the switching time of the switch.
  • Td is the switching time of the switch
  • Tosc is the start-stop time of the switch
  • Tdet is the delay time difference
  • the waveform generator and the inverter are combined into a logic control circuit to quickly switch the switch between two states.
  • the switch shown in FIG. 2 is directly and quickly switched between two connection states of CA and CB.
  • the signal generator provides a low-power radio frequency signal as a signal input, the signal is amplified by the power amplifier, and then converted by the detector to be used as the oscilloscope as a marker signal for detection, i.e. waveform W3;
  • the oscilloscope also detects the waveform W1 of the waveform generator to determine the switch flipping state.
  • the time for the switch to switch from CA to CB, that is, from state 1 to state 2, is measured.
  • the switch start-stop time Tosc is 500ns
  • the delay time difference Tdet is 300ns.
  • the switching time Td of the switch is calculated to be 200 ns.
  • the delay of the inverter itself is about 20 ns.
  • FIG. 4 is a block diagram of a module structure of a switching time testing system provided by an embodiment of the present invention.
  • the present invention also provides a switching time testing system 100 .
  • the switching time test system 100 includes a test module 1 and a calculation module 2 .
  • the test module 1 includes a waveform generator, an inverter, an oscilloscope, a switch, a signal generator, a power amplifier and a wave detector; the output terminals of the waveform generator are respectively connected to the input terminals of the inverter, the The first input terminal of the oscilloscope and the first control terminal of the switch, the output terminal of the inverter is connected to the second control terminal of the switch, and the output terminal of the signal generator is connected to the input end of the switch, the output end of the switch is connected to the input end of the detector, and the output end of the detector is connected to the second input end of the shown wave detector; wherein, the waveform generator, The inverter, the oscilloscope, the switch, the signal generator, the power amplifier and the detector are powered on and set to work, the waveform generator is adjusted to a preset waveform setting, and the The signal generator is tuned to a preset output state setting and the oscilloscope is tuned to a preset resolution readout setting.
  • the calculation module 2 is used to read the first waveform output by the waveform generator and the second waveform output by the detector displayed by the oscilloscope, according to the high potential or The low potential and the low potential or high potential corresponding to the initial stable state of the second waveform in this cycle obtain the switch start and stop time, obtain the delay time difference according to the high and low level inversion time of the second waveform, and according to the The switch switching time is obtained by calculating the switching start and stop time and the delay time difference, and satisfies the following formula:
  • Td is the switching time of the switch
  • Tosc is the start-stop time of the switch
  • Tdet is the delay time difference
  • FIG. 5 is a schematic structural diagram of a switching time testing device 1000 of the present invention.
  • the present invention also provides a switching time testing device 1000 .
  • the switching time testing device 1000 includes a processor 1001, a memory 1002, a network interface 1003 and a computer program stored on the memory 1002 and operable on the processor 1001, and the processor 1001 is used to read the The program in 1002, the processor 1001 implements the steps in the switching time testing method provided by the embodiment when executing the computer program. That is, the processor 1001 executes the steps in the switching time testing method.
  • the processor 1001 is configured to perform the following steps:
  • Step S1 building a test system. Specifically:
  • the output terminal of the waveform generator is connected to the input terminal of the inverter, the first input terminal of the oscilloscope and the first control terminal of the switch respectively, and the output terminal of the inverter is connected to
  • the second control terminal of the switch connects the output terminal of the signal generator to the input terminal of the switch after connecting the power amplifier in series, and connects the output terminal of the switch to the input terminal of the detector , connect the output of the detector to the second input of the detector.
  • Step S2 start the test system. Specifically:
  • Step S3 adjusting the testing equipment. Specifically:
  • the waveform generator is adjusted to a preset waveform setting
  • the signal generator is adjusted to a preset output state setting
  • the oscilloscope is adjusted to a preset resolution readout setting.
  • Step S4 calculating the switching time of the switch. Specifically:
  • the switch start and stop time is obtained, and the delay time difference is obtained according to the high and low level inversion time of the second waveform, and according to the switch start and stop time and the The delay time difference is calculated to obtain the switching time of the switch, and satisfies the following formula:
  • Td is the switching time of the switch
  • Tosc is the start-stop time of the switch
  • Tdet is the delay time difference
  • the switch switching time testing device 1000 provided in the embodiment of the present invention can realize various implementation modes and corresponding beneficial effects in the switch switching time testing method embodiment. To avoid repetition, details are not repeated here.
  • the switching time testing device 1000 is a device that can automatically perform numerical calculation and/or information processing according to preset or stored instructions, and its hardware includes but not Limited to microprocessors, application specific integrated circuits (Application Specific Integrated Circuit, ASIC), programmable gate arrays (Field-Programmable GateArray, FPGA), digital processors (Digital Signal Processor, DSP), embedded devices, etc.
  • ASIC Application Specific Integrated Circuit
  • FPGA Field-Programmable GateArray
  • DSP Digital Signal Processor
  • the memory 1002 includes at least one type of readable storage medium, and the readable storage medium includes flash memory, hard disk, multimedia card, card-type memory (for example, SD or DX memory, etc.), random access memory (RAM), static random access Memory (SRAM), Read Only Memory (ROM), Electrically Erasable Programmable Read Only Memory (EEPROM), Programmable Read Only Memory (PROM), Magnetic Memory, Magnetic Disk, Optical Disk, etc.
  • the memory 1002 may be an internal storage unit of the switching time testing device 1000, such as a hard disk or a memory of the switching time testing device 1000.
  • the memory 1002 can also be an external storage device of the switching time testing device 1000, such as a plug-in hard disk equipped on the switching time testing device 1000, a smart memory card (Smart Media Card , SMC), Secure Digital (Secure Digital, SD) card, Flash Card (Flash Card), etc.
  • the memory 1002 may also include both the internal storage unit of the switching time testing device 1000 and its external storage device.
  • the memory 1002 is generally used to store the operating system and various application software installed in the switching time testing device 1000 , such as the program code of the switching time testing method of the switching time testing device 1000 .
  • the memory 1002 can also be used to temporarily store various types of data that have been output or will be output.
  • the processor 1001 may be a central processing unit (Central Processing Unit, CPU), controller, microcontroller, microprocessor, or other data processing chips in some embodiments.
  • the processor 1001 is generally used to control the overall operation of the switching time testing device 1000 .
  • the processor 1001 is configured to run program codes stored in the memory 1002 or process data, for example, program codes for running a switching time testing method of the switching time testing device 1000 .
  • the network interface 1003 may include a wireless network interface or a wired network interface, and the network interface 1003 is generally used to establish a communication connection between the switching time testing device 1000 and other electronic devices.
  • the present invention also provides a computer-readable storage medium, the computer-readable storage medium stores a computer program, the computer program includes program instructions, and when the program instructions are executed by the processor 1001, the switch switching time as described above is realized A step in a test method.
  • the storage medium may be a magnetic disk, an optical disk, a read-only memory (Read-Only Memory, ROM) or a random access memory (Random Access Memory, RAM for short).
  • the switching time testing method of the present invention includes the following steps: building a testing system, starting the testing system, adjusting testing equipment, and calculating the switching time.
  • the implementation of this step builds a test system with a simple structure, which includes a waveform generator, an inverter, an oscilloscope, a switch, a signal generator, a power amplifier, and a wave detector.
  • Test equipment which is beneficial for testers to test and operate.
  • the tester finishes building the test system he only needs to power on the relevant equipment and devices, and after making simple adjustments to the waveform generator, the signal generator and the oscilloscope, read the The oscilloscope displays the first waveform output by the waveform generator and the second waveform output by the detector, and performs a simple subtraction calculation to obtain the switching time of the switch.
  • the whole test process is simple and easy to operate. Therefore, the test structure of the switch switching time test method, the switch switch time test system, the switch switch time test equipment and the computer-readable storage medium of the present invention are simple and easy to operate.

Abstract

An on/off switching time test method, which involves a waveform generator, an inverter, an oscilloscope, a switch, a signal generator, a power amplifier, and a detector. The method comprises the following steps: building a test system, starting the test system, adjusting a test device, and calculating on/off switching time. Also provided are an on/off switching time test system, an on/off switching time test device, and a computer-readable storage medium. The test structure using this technical solution is simple and easy to operate.

Description

开关切换时间测试方法、相关系统和设备及存储介质Switching time test method, related system and equipment, and storage medium 技术领域technical field
本发明涉及开关测试技术领域,尤其涉及一种开关切换时间测试方法、开关切换时间测试系统、开关切换时间测试设备以及计算机可读存储介质。The invention relates to the technical field of switch testing, in particular to a switch switching time testing method, a switch switching time testing system, a switch switching time testing device and a computer-readable storage medium.
背景技术Background technique
随着即时通讯终端数量及音视频数据量的急速递增,对无线接入点(Access Point,简称AP)性能提出了更高要求。其中,为满足日益增长的多任务数据传输需求,低延时的任务切换尤为重要。测试开关的开关切换时间成为基本的测试需求。With the rapid increase in the number of instant messaging terminals and the amount of audio and video data, higher requirements are placed on the performance of wireless access points (Access Point, referred to as AP). Among them, in order to meet the growing demand for multi-task data transmission, low-latency task switching is particularly important. Testing the switching time of switches becomes a basic test requirement.
目前,现有技术中,测试人员通过不同的测试设备进行测试,仪器厂商未提供成套的解决方案。如何提供一套结构简单,方便测试人员利用通用的测试设备快速对开关切换时间进行测试成为一项需要解决的技术问题。At present, in the prior art, testers conduct tests through different test equipment, and instrument manufacturers do not provide a complete set of solutions. How to provide a set of simple structure, which is convenient for testers to quickly test the switch switching time by using general test equipment has become a technical problem that needs to be solved.
因此,实有必要提供一种新的方法、相关系统和设备来解决上述技术问题。Therefore, it is necessary to provide a new method, related system and equipment to solve the above technical problems.
发明内容Contents of the invention
本发明的目的是克服上述技术问题,提供一种测试结构简单且易于操作的开关切换时间测试方法、开关切换时间测试设备以及计算机可读存储介质。The purpose of the present invention is to overcome the above technical problems, and provide a switch switching time testing method, a switch switching time testing device and a computer-readable storage medium with a simple test structure and easy operation.
第一方面,本发明实施例提供了一种开关切换时间测试方法,提供波形发生器、反相器、示波器、开关、信号发生器、功率放大器以及检波器,该方法包括如下步骤:In the first aspect, the embodiment of the present invention provides a switch switching time testing method, providing a waveform generator, an inverter, an oscilloscope, a switch, a signal generator, a power amplifier, and a wave detector. The method includes the following steps:
搭建测试系统,将所述波形发生器的输出端分别连接至所述反相 器的输入端、所述示波器的第一输入端以及所述开关的第一控制端,将所述反相器的输出端连接至所述开关的第二控制端,将所述信号发生器的输出端通过串联所述功率放大器后连接至所述开关的输入端,将所述开关的输出端连接至所述检波器的输入端,将所述检波器的输出端连接至所示波器的第二输入端;Build a test system, connect the output terminal of the waveform generator to the input terminal of the inverter, the first input terminal of the oscilloscope and the first control terminal of the switch respectively, and connect the The output end is connected to the second control end of the switch, the output end of the signal generator is connected to the input end of the switch after connecting the power amplifier in series, and the output end of the switch is connected to the detection The input end of the wave detector is connected to the second input end of the wave detector shown in the output end of the wave detector;
启动测试系统,将所述波形发生器、所述反相器、所述示波器、所述开关、所述信号发生器、所述功率放大器以及所述检波器通电并设置于工作状态;Start the test system, energize the waveform generator, the inverter, the oscilloscope, the switch, the signal generator, the power amplifier and the wave detector and set them in a working state;
调整测试设备,将所述波形发生器调整至预设波形设置,将所述信号发生器调整至预设输出状态设置,将所述示波器调整至预设分辨读数设置;Adjusting the test equipment, adjusting the waveform generator to a preset waveform setting, adjusting the signal generator to a preset output state setting, and adjusting the oscilloscope to a preset resolution reading setting;
计算开关切换时间,通过读取所述示波器显示的所述波形发生器输出的第一波形和所述检波器输出的第二波形,根据所述第一波形的其中一个周期中的高电位或低电位和与该周期内相应的所述第二波形的初始稳定状态的低电位或高电位获得开关起止时间,根据所述第二波形的高低电平翻转时间获得延时时间差,并根据所述开关起止时间和所述延时时间差计算得出所述开关切换时间,并满足如下公式:Calculate the switching time of the switch, by reading the first waveform output by the waveform generator and the second waveform output by the detector displayed by the oscilloscope, according to the high potential or low potential in one cycle of the first waveform Potential and the low potential or high potential of the initial stable state of the corresponding second waveform in this cycle to obtain the switch start and stop time, and obtain the delay time difference according to the high and low level inversion time of the second waveform, and according to the switch The switching time of the switch is obtained by calculating the start-stop time and the delay time difference, and satisfies the following formula:
Td=Tosc–Tdet,Td = Tosc - Tdet,
其中,Td为所述开关切换时间,Tosc为所述开关起止时间,Tdet为所述延时时间差。Wherein, Td is the switching time of the switch, Tosc is the start-stop time of the switch, and Tdet is the delay time difference.
优选的,所述预设波形设置为所述波形发生器的输出波形设置于100Khz的频率和3V的幅度。Preferably, the preset waveform is set such that the output waveform of the waveform generator is set at a frequency of 100Khz and an amplitude of 3V.
优选的,所述预设输出状态设置为所述信号发生器的输出波形设置于1Ghz的频率和-10dbm的功率幅度。Preferably, the preset output state is set such that the output waveform of the signal generator is set at a frequency of 1Ghz and a power amplitude of -10dbm.
优选的,所述预设输出状态设置根据所述功率放大器的属性进行相应调整。Preferably, the preset output state settings are adjusted accordingly according to the properties of the power amplifier.
优选的,所述预设输出状态设置为所述信号发生器的输出波形设置于5Ghz的频率和-20dbm的功率幅度。Preferably, the preset output state is set such that the output waveform of the signal generator is set at a frequency of 5Ghz and a power amplitude of -20dbm.
第二方面,本发明实施例还提供了一种开关切换时间测试系统,该系统包括测试模块和计算模块,In the second aspect, the embodiment of the present invention also provides a switch switching time test system, the system includes a test module and a calculation module,
所述测试模块包括波形发生器、反相器、示波器、开关、信号发生器、功率放大器以及检波器;所述波形发生器的输出端分别连接至所述反相器的输入端、所述示波器的第一输入端以及所述开关的第一控制端,所述反相器的输出端连接至所述开关的第二控制端,所述信号发生器的输出端通过串联所述功率放大器后连接至所述开关的输入端,所述开关的输出端连接至所述检波器的输入端,所述检波器的输出端连接至所示波器的第二输入端;其中,所述波形发生器、所述反相器、所述示波器、所述开关、所述信号发生器、所述功率放大器以及所述检波器通电并设置于工作状态,所述波形发生器调整至预设波形设置,所述信号发生器调整至预设输出状态设置,所述示波器调整至预设分辨读数设置;The test module includes a waveform generator, an inverter, an oscilloscope, a switch, a signal generator, a power amplifier, and a wave detector; the output terminals of the waveform generator are respectively connected to the input ends of the inverter, the oscilloscope The first input terminal of the switch and the first control terminal of the switch, the output terminal of the inverter is connected to the second control terminal of the switch, and the output terminal of the signal generator is connected to the power amplifier after being connected in series to the input end of the switch, the output end of the switch is connected to the input end of the wave detector, and the output end of the wave detector is connected to the second input end of the wave detector; wherein, the waveform generator, the The inverter, the oscilloscope, the switch, the signal generator, the power amplifier and the detector are energized and set to work, the waveform generator is adjusted to a preset waveform setting, and the signal the generator is adjusted to a preset output state setting, and the oscilloscope is adjusted to a preset resolution reading setting;
所述计算模块用于读取所述示波器显示的所述波形发生器输出的第一波形和所述检波器输出的第二波形,根据所述第一波形的其中一个周期中的高电位或低电位和与该周期内相应的所述第二波形的初始稳定状态的低电位或高电位获得开关起止时间,根据所述第二波形的高低电平翻转时间获得延时时间差,并根据所述开关起止时间和所述延时时间差计算得出所述开关切换时间,并满足如下公式:The calculation module is used to read the first waveform output by the waveform generator and the second waveform output by the detector displayed by the oscilloscope, according to the high potential or low potential in one cycle of the first waveform Potential and the low potential or high potential of the initial stable state of the corresponding second waveform in this cycle to obtain the switch start and stop time, and obtain the delay time difference according to the high and low level inversion time of the second waveform, and according to the switch The switching time of the switch is obtained by calculating the start-stop time and the delay time difference, and satisfies the following formula:
Td=Tosc–Tdet,Td = Tosc - Tdet,
其中,Td为所述开关切换时间,Tosc为所述开关起止时间,Tdet为所述延时时间差。Wherein, Td is the switching time of the switch, Tosc is the start-stop time of the switch, and Tdet is the delay time difference.
第三方面,本发明实施例还提供了一种开关切换时间测试设备,包括处理器和存储器,所述处理器用于读取所述存储器中的程序,所述处理器读取所述存储器中的程序时执行本发明实施例的上述的开关切换时间测试方法中的步骤。In the third aspect, the embodiment of the present invention also provides a switching time testing device, including a processor and a memory, the processor is used to read the program in the memory, and the processor reads the program in the memory The program executes the steps in the above-mentioned switching time testing method of the embodiment of the present invention.
第四方面,本发明实施例还提供了一种计算机可读存储介质,所述计算机可读存储介质存储有计算机程序,所述计算机程序包括程序 指令,所述程序指令被处理器执行时实现如上中任意一项所述的开关切换时间测试方法中的步骤。In a fourth aspect, an embodiment of the present invention also provides a computer-readable storage medium, the computer-readable storage medium stores a computer program, the computer program includes program instructions, and when the program instructions are executed by a processor, the above The steps in the switch switching time test method described in any one.
与现有技术相比,本发明的开关切换时间测试方法通过如下步骤:搭建测试系统,启动测试系统,调整测试设备,计算开关切换时间。该步骤的实施,构建一个结构简单的测试系统,该测试系统包括波形发生器、反相器、示波器、开关、信号发生器、功率放大器以及检波器,该测试系统并未采用专业和复杂操作的测试设备,有利于测试人员进行测试和操作。更优的,测试人员在完成搭建测试系统后,只需对相关设备和器件进行通电启动,并对所述波形发生器、所述信号发生器及所述示波器进行简单调整后,读取所述示波器显示的所述波形发生器输出的第一波形和所述检波器输出的第二波形,并进行简单减法计算即可获得所述开关切换时间,整个测试过程简单并易于操作。从而使得本发明的开关切换时间测试方法、开关切换时间测试系统、开关切换时间测试设备以及计算机可读存储介质的测试结构简单且易于操作。Compared with the prior art, the switching time testing method of the present invention includes the following steps: building a testing system, starting the testing system, adjusting testing equipment, and calculating the switching time. The implementation of this step builds a test system with a simple structure, which includes a waveform generator, an inverter, an oscilloscope, a switch, a signal generator, a power amplifier, and a wave detector. Test equipment, which is beneficial for testers to test and operate. More preferably, after the tester finishes building the test system, he only needs to power on the relevant equipment and devices, and after making simple adjustments to the waveform generator, the signal generator and the oscilloscope, read the The oscilloscope displays the first waveform output by the waveform generator and the second waveform output by the detector, and performs a simple subtraction calculation to obtain the switching time of the switch. The whole test process is simple and easy to operate. Therefore, the test structure of the switch switching time test method, the switch switch time test system, the switch switch time test equipment and the computer-readable storage medium of the present invention are simple and easy to operate.
附图说明Description of drawings
为了更清楚地说明本发明实施例中的技术方案,下面将对实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其它的附图,其中,In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings that need to be used in the description of the embodiments will be briefly introduced below. Obviously, the drawings in the following description are only some embodiments of the present invention. For those of ordinary skill in the art, other drawings can also be obtained based on these drawings without creative work, wherein,
图1为本发明实施例提供的一种开关切换时间测试方法的流程框图;Fig. 1 is a block flow diagram of a switch switching time testing method provided by an embodiment of the present invention;
图2为本发明实施例提供的一种开关切换时间测试方法的测试系统的结构示意图;FIG. 2 is a schematic structural diagram of a test system of a switch switching time test method provided by an embodiment of the present invention;
图3为图2中的波形发生器、反相器和检波器的输出波形图;Fig. 3 is the output waveform diagram of waveform generator, inverter and detector in Fig. 2;
图4为本发明实施例提供的一种开关切换时间测试系统的模块结构框图;FIG. 4 is a block diagram of a module structure of a switching time testing system provided by an embodiment of the present invention;
图5为本发明实施例提供的一种开关切换时间测试设备的结构示意图。FIG. 5 is a schematic structural diagram of a switching time testing device provided by an embodiment of the present invention.
具体实施方式Detailed ways
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅是本发明的一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其它实施例,都属于本发明保护的范围。The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some, not all, embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.
本申请的说明书和权利要求书及附图说明中的术语“包括”和“具有”以及它们的任何变形,意图在于覆盖不排他的包含。本申请的说明书和权利要求书或附图中的术语“第一”、“第二”等是用于区别不同对象,而不是用于描述特定顺序。在本文中提及“实施例或本实施方式”意味着,结合实施例描述的特定特征、结构或特性可以包含在本申请的至少一个实施例中。在说明书中的各个位置出现该短语并不一定均是指相同的实施例,也不是与其它实施例互斥的独立的或备选的实施例。本领域技术人员显式地和隐式地理解的是,本文所描述的实施例可以与其它实施例相结合。The terms "comprising" and "having" and any variations thereof in the specification, claims and descriptions of the drawings of this application are intended to cover a non-exclusive inclusion. The terms "first", "second" and the like in the specification and claims of the present application or in the drawings are used to distinguish different objects, rather than to describe a specific order. Reference herein to "an embodiment or this embodiment" means that a particular feature, structure or characteristic described in connection with the embodiment may be included in at least one embodiment of the present application. The occurrences of this phrase in various places in the specification are not necessarily all referring to the same embodiment, nor are separate or alternative embodiments mutually exclusive of other embodiments. It is understood explicitly and implicitly by those skilled in the art that the embodiments described herein can be combined with other embodiments.
请参照图1所示,图1为本发明开关切换时间测试方法的流程框图。本发明提供一种开关切换时间测试方法,所述开关切换时间测试方法包括如下步骤:Please refer to FIG. 1 . FIG. 1 is a flow chart of the switching time testing method of the present invention. The present invention provides a switch switching time testing method, and the switch switching time testing method includes the following steps:
步骤S1、搭建测试系统。Step S1, building a test system.
具体为:将所述波形发生器的输出端分别连接至所述反相器的输入端、所述示波器的第一输入端以及所述开关的第一控制端;将所述反相器的输出端连接至所述开关的第二控制端;将所述信号发生器的输出端通过串联所述功率放大器后连接至所述开关的输入端;将所述开关的输出端连接至所述检波器的输入端;将所述检波器的输出端连接至所示波器的第二输入端。Specifically: connect the output end of the waveform generator to the input end of the inverter, the first input end of the oscilloscope and the first control end of the switch; the output of the inverter terminal is connected to the second control terminal of the switch; the output terminal of the signal generator is connected to the input terminal of the switch after connecting the power amplifier in series; the output terminal of the switch is connected to the detector the input terminal of the oscilloscope; the output terminal of the oscilloscope is connected to the second input terminal of the oscilloscope shown.
请参照图2所示,图2为本发明实施例提供的一种开关切换时间 测试方法的测试系统的结构示意图。所述开关切换时间测试方法的测试系统包括波形发生器、反相器、示波器、开关、信号发生器、功率放大器以及检波器。Please refer to Fig. 2, which is a schematic structural diagram of a test system for a switching time test method provided by an embodiment of the present invention. The test system of the switch switching time test method includes a waveform generator, an inverter, an oscilloscope, a switch, a signal generator, a power amplifier and a wave detector.
需要指出的是,本实用新型采用的波形发生器、反相器、示波器、开关、信号发生器、功率放大器以及检波器均为本领域常用的设备和元器件,对应的具体的选型和参数根据实际应用进行调整,在此,不作详细赘述。It should be pointed out that the waveform generator, inverter, oscilloscope, switch, signal generator, power amplifier and wave detector used in the utility model are all commonly used equipment and components in the field, and the corresponding specific selection and parameters Adjustments are made according to actual applications, and details are not described here.
步骤S2、启动测试系统。Step S2, start the test system.
具体为:将所述波形发生器、所述反相器、所述示波器、所述开关、所述信号发生器、所述功率放大器以及所述检波器通电并设置于工作状态。Specifically: power on the waveform generator, the inverter, the oscilloscope, the switch, the signal generator, the power amplifier and the wave detector and set them in a working state.
步骤S3、调整测试设备。Step S3, adjusting the testing equipment.
具体为:将所述波形发生器调整至预设波形设置,将所述信号发生器调整至预设输出状态设置,将所述示波器调整至预设分辨读数设置。Specifically: adjusting the waveform generator to a preset waveform setting, adjusting the signal generator to a preset output state setting, and adjusting the oscilloscope to a preset resolution reading setting.
在所述波形发生器调整至预设波形设置中,所述预设波形设置为所述波形发生器的输出波形设置于100Khz的频率和3V的幅度。测试人员将所述波形发生器调整后,只需确认波形状态是否与所设置一致即可。In the adjustment of the waveform generator to the preset waveform setting, the preset waveform setting is that the output waveform of the waveform generator is set at a frequency of 100Khz and an amplitude of 3V. After adjusting the waveform generator, the tester only needs to confirm whether the waveform state is consistent with the setting.
在将所述信号发生器调整至预设输出状态设置中,所述预设输出状态设置为所述信号发生器的输出波形设置于1Ghz的频率和-10dbm的功率幅度。测试人员将所述信号发生器调整后,只需确认输出信号状态是否与所设置一致即可。In adjusting the signal generator to a preset output state setting, the preset output state setting is that the output waveform of the signal generator is set at a frequency of 1Ghz and a power amplitude of -10dbm. After the tester adjusts the signal generator, he only needs to confirm whether the output signal state is consistent with the setting.
当然,不限于此,为了在测试中灵活调整,所述预设输出状态设置根据所述功率放大器的属性进行相应调整。也就是说,测试人员可以在测试中更换不同型号的所述功率放大器,并对应对所述信号发生器的输出波形进行重新调整,该设置有利于测试所述开关切换时间的过程中灵活调整,易于测试人员的操作。例如,在另外一个实施例中, 所述预设输出状态设置调整为所述信号发生器的输出波形设置于5Ghz的频率和-20dbm的功率幅度。Of course, it is not limited thereto. In order to adjust flexibly during the test, the preset output state setting is adjusted accordingly according to the property of the power amplifier. That is to say, the tester can replace the power amplifier of different models during the test and readjust the output waveform of the signal generator. This setting is conducive to flexible adjustment during the test of the switching time of the switch. Easy to operate for testers. For example, in another embodiment, the preset output state setting is adjusted so that the output waveform of the signal generator is set at a frequency of 5Ghz and a power amplitude of -20dbm.
在所述示波器调整至预设分辨读数设置中,所述预设分辨读数为所述示波器调整在宜读数分辨条件下,测试人员检查示数是否正常。In the setting of adjusting the oscilloscope to a preset resolution reading, the preset resolution reading means that the oscilloscope is adjusted to a suitable reading resolution condition, and the tester checks whether the reading is normal.
步骤S4、计算开关切换时间。Step S4, calculating the switching time of the switch.
具体为:通过读取所述示波器显示的所述波形发生器输出的第一波形和所述检波器输出的第二波形,根据所述第一波形的其中一个周期中的高电位或低电位和与该周期内相应的所述第二波形的初始稳定状态的低电位或高电位获得开关起止时间,根据所述第二波形的高低电平翻转时间获得延时时间差,并根据所述开关起止时间和所述延时时间差计算得出所述开关切换时间,并满足如下公式:Specifically: by reading the first waveform output by the waveform generator and the second waveform output by the detector displayed by the oscilloscope, according to the high potential or low potential and The low potential or high potential of the initial stable state of the second waveform corresponding to this cycle obtains the switch start and end time, obtains the delay time difference according to the high and low level inversion time of the second waveform, and obtains the delay time difference according to the switch start and stop time and the delay time difference to calculate the switching time of the switch, and satisfy the following formula:
Td=Tosc–Tdet,Td = Tosc - Tdet,
其中,Td为所述开关切换时间,Tosc为所述开关起止时间,Tdet为所述延时时间差。Wherein, Td is the switching time of the switch, Tosc is the start-stop time of the switch, and Tdet is the delay time difference.
其中,所述波形发生器与所述反相器组合成逻辑控制电路使所述开关在两种状态之间快速切换。例如图2中所示的开关在CA和CB两种连接状态直接快速切换。Wherein, the waveform generator and the inverter are combined into a logic control circuit to quickly switch the switch between two states. For example, the switch shown in FIG. 2 is directly and quickly switched between two connection states of CA and CB.
所述信号发生器提供一个低功率射频信号作为信号输入,经所述功率放大器将该信号进行放大,再通过所述检波器转换以作为所述示波器作为标志信号检测,即波形W3;同时所述示波器也检测所述波形发生器的波形W1以确定开关翻转状态。The signal generator provides a low-power radio frequency signal as a signal input, the signal is amplified by the power amplifier, and then converted by the detector to be used as the oscilloscope as a marker signal for detection, i.e. waveform W3; The oscilloscope also detects the waveform W1 of the waveform generator to determine the switch flipping state.
结合所述开关翻转状态和所述检波器的输出波形W3来确认所述开关起止时间Tosc,并快速从所述示波器显示的波形中读取值。若所需测试切换状态改变只需手动更改所述反相器的连接状态即可,若要看不同输入功率及频率下所述开关的延时的变化,只需要更改所述信号发生器输出频率与功率即可。因此,所述开关切换时间测试方法的测试结构简单且易于操作。Combining the switch flip state and the output waveform W3 of the detector to confirm the switch start-stop time Tosc, and quickly read the value from the waveform displayed by the oscilloscope. If the required test switching state changes, you only need to manually change the connection state of the inverter. If you want to see the change of the delay of the switch under different input power and frequency, you only need to change the output frequency of the signal generator. With power you can. Therefore, the test structure of the switch switching time test method is simple and easy to operate.
以下以一种测试为例进行说明:The following is an example of a test:
测量所述开关由CA切换到CB的时间,即由状态1切换至状态2。The time for the switch to switch from CA to CB, that is, from state 1 to state 2, is measured.
测试中逻辑关系如下中的表1所示:The logical relationship in the test is shown in Table 1 below:
状态state W1W1 W2W2 连接关系 connection relationship
状态1state 1 11 00 CA CA
状态2state 2 00 11 CBCB
表1、测试中逻辑关系Table 1. Logical relationship in the test
测试可得出:所述开关起止时间Tosc为500ns,所述延时时间差Tdet为300ns。It can be obtained from the test that: the switch start-stop time Tosc is 500ns, and the delay time difference Tdet is 300ns.
所述开关切换时间Td计算得出200ns。The switching time Td of the switch is calculated to be 200 ns.
其中,所述反相器的自身延时约20ns。Wherein, the delay of the inverter itself is about 20 ns.
请参照图4所示,图4为本发明实施例提供的一种开关切换时间测试系统的模块结构框图。本发明还提供一种开关切换时间测试系统100。Please refer to FIG. 4 , which is a block diagram of a module structure of a switching time testing system provided by an embodiment of the present invention. The present invention also provides a switching time testing system 100 .
所述开关切换时间测试系统100包括测试模块1和计算模块2。The switching time test system 100 includes a test module 1 and a calculation module 2 .
所述测试模块1包括波形发生器、反相器、示波器、开关、信号发生器、功率放大器以及检波器;所述波形发生器的输出端分别连接至所述反相器的输入端、所述示波器的第一输入端以及所述开关的第一控制端,所述反相器的输出端连接至所述开关的第二控制端,所述信号发生器的输出端通过串联所述功率放大器后连接至所述开关的输入端,所述开关的输出端连接至所述检波器的输入端,所述检波器的输出端连接至所示波器的第二输入端;其中,所述波形发生器、所述反相器、所述示波器、所述开关、所述信号发生器、所述功率放大器以及所述检波器通电并设置于工作状态,所述波形发生器调整至预设波形设置,所述信号发生器调整至预设输出状态设置,所述示波器调整至预设分辨读数设置。The test module 1 includes a waveform generator, an inverter, an oscilloscope, a switch, a signal generator, a power amplifier and a wave detector; the output terminals of the waveform generator are respectively connected to the input terminals of the inverter, the The first input terminal of the oscilloscope and the first control terminal of the switch, the output terminal of the inverter is connected to the second control terminal of the switch, and the output terminal of the signal generator is connected to the input end of the switch, the output end of the switch is connected to the input end of the detector, and the output end of the detector is connected to the second input end of the shown wave detector; wherein, the waveform generator, The inverter, the oscilloscope, the switch, the signal generator, the power amplifier and the detector are powered on and set to work, the waveform generator is adjusted to a preset waveform setting, and the The signal generator is tuned to a preset output state setting and the oscilloscope is tuned to a preset resolution readout setting.
所述计算模块2用于读取所述示波器显示的所述波形发生器输出的第一波形和所述检波器输出的第二波形,根据所述第一波形的其中 一个周期中的高电位或低电位和与该周期内相应的所述第二波形的初始稳定状态的低电位或高电位获得开关起止时间,根据所述第二波形的高低电平翻转时间获得延时时间差,并根据所述开关起止时间和所述延时时间差计算得出所述开关切换时间,并满足如下公式:The calculation module 2 is used to read the first waveform output by the waveform generator and the second waveform output by the detector displayed by the oscilloscope, according to the high potential or The low potential and the low potential or high potential corresponding to the initial stable state of the second waveform in this cycle obtain the switch start and stop time, obtain the delay time difference according to the high and low level inversion time of the second waveform, and according to the The switch switching time is obtained by calculating the switching start and stop time and the delay time difference, and satisfies the following formula:
Td=Tosc–Tdet,Td = Tosc - Tdet,
其中,Td为所述开关切换时间,Tosc为所述开关起止时间,Tdet为所述延时时间差。Wherein, Td is the switching time of the switch, Tosc is the start-stop time of the switch, and Tdet is the delay time difference.
请参照图5所示,图5为本发明开关切换时间测试设备1000的结构示意图。本发明还提供一种开关切换时间测试设备1000。Please refer to FIG. 5 , which is a schematic structural diagram of a switching time testing device 1000 of the present invention. The present invention also provides a switching time testing device 1000 .
所述开关切换时间测试设备1000包括处理器1001、存储器1002、网络接口1003及存储在存储器1002上并可在处理器1001上运行的计算机程序,所述处理器1001用于读取所述存储器中1002的程序,处理器1001执行计算机程序时实现实施例提供的开关切换时间测试方法中的步骤。即处理器1001执行所述开关切换时间测试方法中的步骤。The switching time testing device 1000 includes a processor 1001, a memory 1002, a network interface 1003 and a computer program stored on the memory 1002 and operable on the processor 1001, and the processor 1001 is used to read the The program in 1002, the processor 1001 implements the steps in the switching time testing method provided by the embodiment when executing the computer program. That is, the processor 1001 executes the steps in the switching time testing method.
具体的,处理器1001用于执行以下步骤:Specifically, the processor 1001 is configured to perform the following steps:
步骤S1、搭建测试系统。具体为:Step S1, building a test system. Specifically:
将所述波形发生器的输出端分别连接至所述反相器的输入端、所述示波器的第一输入端以及所述开关的第一控制端,将所述反相器的输出端连接至所述开关的第二控制端,将所述信号发生器的输出端通过串联所述功率放大器后连接至所述开关的输入端,将所述开关的输出端连接至所述检波器的输入端,将所述检波器的输出端连接至所示波器的第二输入端。The output terminal of the waveform generator is connected to the input terminal of the inverter, the first input terminal of the oscilloscope and the first control terminal of the switch respectively, and the output terminal of the inverter is connected to The second control terminal of the switch connects the output terminal of the signal generator to the input terminal of the switch after connecting the power amplifier in series, and connects the output terminal of the switch to the input terminal of the detector , connect the output of the detector to the second input of the detector.
步骤S2、启动测试系统。具体为:Step S2, start the test system. Specifically:
将所述波形发生器、所述反相器、所述示波器、所述开关、所述信号发生器、所述功率放大器以及所述检波器通电并设置于工作状态;Powering on the waveform generator, the inverter, the oscilloscope, the switch, the signal generator, the power amplifier and the wave detector and setting them in a working state;
步骤S3、调整测试设备。具体为:Step S3, adjusting the testing equipment. Specifically:
将所述波形发生器调整至预设波形设置,将所述信号发生器调整 至预设输出状态设置,将所述示波器调整至预设分辨读数设置。The waveform generator is adjusted to a preset waveform setting, the signal generator is adjusted to a preset output state setting, and the oscilloscope is adjusted to a preset resolution readout setting.
步骤S4、计算开关切换时间。具体为:Step S4, calculating the switching time of the switch. Specifically:
通过读取所述示波器显示的所述波形发生器输出的第一波形和所述检波器输出的第二波形,根据所述第一波形的其中一个周期中的高电位或低电位和与该周期内相应的所述第二波形的初始稳定状态的低电位或高电位获得开关起止时间,根据所述第二波形的高低电平翻转时间获得延时时间差,并根据所述开关起止时间和所述延时时间差计算得出所述开关切换时间,并满足如下公式:By reading the first waveform output by the waveform generator and the second waveform output by the detector displayed by the oscilloscope, according to the high potential or low potential in one cycle of the first waveform and the cycle According to the low potential or high potential of the initial stable state of the corresponding second waveform, the switch start and stop time is obtained, and the delay time difference is obtained according to the high and low level inversion time of the second waveform, and according to the switch start and stop time and the The delay time difference is calculated to obtain the switching time of the switch, and satisfies the following formula:
Td=Tosc–Tdet,Td = Tosc - Tdet,
其中,Td为所述开关切换时间,Tosc为所述开关起止时间,Tdet为所述延时时间差。Wherein, Td is the switching time of the switch, Tosc is the start-stop time of the switch, and Tdet is the delay time difference.
本发明实施例提供的所述开关切换时间测试设备1000能够实现开关切换时间测试方法实施例中的各个实施方式,以及相应有益效果,为避免重复,这里不再赘述。The switch switching time testing device 1000 provided in the embodiment of the present invention can realize various implementation modes and corresponding beneficial effects in the switch switching time testing method embodiment. To avoid repetition, details are not repeated here.
需要指出的是,图5中仅展示出了具有组件的1001-1003,但是应理解的是,并不要求实施所有示出的组件,可以替代的实施更多或者更少的组件。其中,本技术领域技术人员可以理解,这里的所述开关切换时间测试设备1000是一种能够按照事先设定或存储的指令,自动进行数值计算和/或信息处理的设备,其硬件包括但不限于微处理器、专用集成电路(Application Specific Integrated Circuit,ASIC)、可编程门阵列(Field-Programmable GateArray,FPGA)、数字处理器(Digital Signal Processor,DSP)、嵌入式设备等。It should be noted that only 1001-1003 with components are shown in FIG. 5, but it should be understood that it is not required to implement all the components shown, and more or fewer components may be implemented instead. Among them, those skilled in the art can understand that the switching time testing device 1000 here is a device that can automatically perform numerical calculation and/or information processing according to preset or stored instructions, and its hardware includes but not Limited to microprocessors, application specific integrated circuits (Application Specific Integrated Circuit, ASIC), programmable gate arrays (Field-Programmable GateArray, FPGA), digital processors (Digital Signal Processor, DSP), embedded devices, etc.
所述存储器1002至少包括一种类型的可读存储介质,可读存储介质包括闪存、硬盘、多媒体卡、卡型存储器(例如,SD或DX存储器等)、随机访问存储器(RAM)、静态随机访问存储器(SRAM)、只读存储器(ROM)、电可擦除可编程只读存储器(EEPROM)、可编程只读存储器(PROM)、磁性存储器、磁盘、光盘等。在一些实施例中,所述存储器1002可以是所述开关切换时间测试设备1000的 内部存储单元,例如所述开关切换时间测试设备1000的硬盘或内存。在另一些实施例中,所述存储器1002也可以是所述开关切换时间测试设备1000的外部存储设备,例如该开关切换时间测试设备1000上配备的插接式硬盘,智能存储卡(Smart Media Card,SMC),安全数字(Secure Digital,SD)卡,闪存卡(Flash Card)等。当然,所述存储器1002还可以既包括所述开关切换时间测试设备1000的内部存储单元也包括其外部存储设备。本实施例中,所述存储器1002通常用于存储安装于所述开关切换时间测试设备1000的操作系统和各类应用软件,例如开关切换时间测试设备1000的开关切换时间测试方法的程序代码等。此外,所述存储器1002还可以用于暂时地存储已经输出或者将要输出的各类数据。The memory 1002 includes at least one type of readable storage medium, and the readable storage medium includes flash memory, hard disk, multimedia card, card-type memory (for example, SD or DX memory, etc.), random access memory (RAM), static random access Memory (SRAM), Read Only Memory (ROM), Electrically Erasable Programmable Read Only Memory (EEPROM), Programmable Read Only Memory (PROM), Magnetic Memory, Magnetic Disk, Optical Disk, etc. In some embodiments, the memory 1002 may be an internal storage unit of the switching time testing device 1000, such as a hard disk or a memory of the switching time testing device 1000. In some other embodiments, the memory 1002 can also be an external storage device of the switching time testing device 1000, such as a plug-in hard disk equipped on the switching time testing device 1000, a smart memory card (Smart Media Card , SMC), Secure Digital (Secure Digital, SD) card, Flash Card (Flash Card), etc. Of course, the memory 1002 may also include both the internal storage unit of the switching time testing device 1000 and its external storage device. In this embodiment, the memory 1002 is generally used to store the operating system and various application software installed in the switching time testing device 1000 , such as the program code of the switching time testing method of the switching time testing device 1000 . In addition, the memory 1002 can also be used to temporarily store various types of data that have been output or will be output.
所述处理器1001在一些实施例中可以是中央处理器(Central Processing Unit,CPU)、控制器、微控制器、微处理器、或其他数据处理芯片。该所述处理器1001通常用于控制所述开关切换时间测试设备1000的总体操作。本实施例中,所述处理器1001用于运行所述存储器1002中存储的程序代码或者处理数据,例如运行开关切换时间测试设备1000的开关切换时间测试方法的程序代码。The processor 1001 may be a central processing unit (Central Processing Unit, CPU), controller, microcontroller, microprocessor, or other data processing chips in some embodiments. The processor 1001 is generally used to control the overall operation of the switching time testing device 1000 . In this embodiment, the processor 1001 is configured to run program codes stored in the memory 1002 or process data, for example, program codes for running a switching time testing method of the switching time testing device 1000 .
网络接口1003可包括无线网络接口或有线网络接口,该网络接口1003通常用于在开关切换时间测试设备1000与其他电子设备之间建立通信连接。The network interface 1003 may include a wireless network interface or a wired network interface, and the network interface 1003 is generally used to establish a communication connection between the switching time testing device 1000 and other electronic devices.
本发明还提供一种计算机可读存储介质,所述计算机可读存储介质存储有计算机程序,所述计算机程序包括程序指令,所述程序指令被处理器1001执行时实现如上所述的开关切换时间测试方法中的步骤。The present invention also provides a computer-readable storage medium, the computer-readable storage medium stores a computer program, the computer program includes program instructions, and when the program instructions are executed by the processor 1001, the switch switching time as described above is realized A step in a test method.
本领域普通技术人员可以理解实现实施例开关切换时间测试设备1000的开关切换时间测试方法中的全部或部分流程,是可以通过计算机程序来指令相关的硬件来完成,的程序可存储于一计算机可读取存储介质中,该程序在执行时,可包括如各方法的实施例的流程。其中, 存储介质可为磁碟、光盘、只读存储记忆体(Read-Only Memory,ROM)或随机存取存储器(Random Access Memory,简称RAM)等。Those of ordinary skill in the art can understand that all or part of the flow in the switching time testing method of the switching time testing device 1000 of the embodiment can be completed by instructing related hardware through a computer program, and the program can be stored in a computer. When the program is read from the storage medium and executed, it may include the processes of the embodiments of the methods. Wherein, the storage medium may be a magnetic disk, an optical disk, a read-only memory (Read-Only Memory, ROM) or a random access memory (Random Access Memory, RAM for short).
在本发明实施例中提到的本实施方式为了便于表述。以上所揭露的仅为本发明较佳实施例而已,当然不能以此来限定本发明之权利范围,因此依本发明权利要求所作的等同变化,仍属本发明所涵盖的范围。The implementation manner mentioned in the embodiments of the present invention is for convenience of description. The above disclosures are only preferred embodiments of the present invention, and certainly cannot limit the scope of rights of the present invention. Therefore, equivalent changes made according to the claims of the present invention still fall within the scope of the present invention.
与现有技术相比,本发明的开关切换时间测试方法通过如下步骤:搭建测试系统,启动测试系统,调整测试设备,计算开关切换时间。该步骤的实施,构建一个结构简单的测试系统,该测试系统包括波形发生器、反相器、示波器、开关、信号发生器、功率放大器以及检波器,该测试系统并未采用专业和复杂操作的测试设备,有利于测试人员进行测试和操作。更优的,测试人员在完成搭建测试系统后,只需对相关设备和器件进行通电启动,并对所述波形发生器、所述信号发生器及所述示波器进行简单调整后,读取所述示波器显示的所述波形发生器输出的第一波形和所述检波器输出的第二波形,并进行简单减法计算即可获得所述开关切换时间,整个测试过程简单并易于操作。从而使得本发明的开关切换时间测试方法、开关切换时间测试系统、开关切换时间测试设备以及计算机可读存储介质的测试结构简单且易于操作。Compared with the prior art, the switching time testing method of the present invention includes the following steps: building a testing system, starting the testing system, adjusting testing equipment, and calculating the switching time. The implementation of this step builds a test system with a simple structure, which includes a waveform generator, an inverter, an oscilloscope, a switch, a signal generator, a power amplifier, and a wave detector. Test equipment, which is beneficial for testers to test and operate. More preferably, after the tester finishes building the test system, he only needs to power on the relevant equipment and devices, and after making simple adjustments to the waveform generator, the signal generator and the oscilloscope, read the The oscilloscope displays the first waveform output by the waveform generator and the second waveform output by the detector, and performs a simple subtraction calculation to obtain the switching time of the switch. The whole test process is simple and easy to operate. Therefore, the test structure of the switch switching time test method, the switch switch time test system, the switch switch time test equipment and the computer-readable storage medium of the present invention are simple and easy to operate.
以上所述的仅是本发明的实施方式,在此应当指出,对于本领域的普通技术人员来说,在不脱离本发明创造构思的前提下,还可以做出改进,但这些均属于本发明的保护范围。What has been described above is only the embodiment of the present invention. It should be pointed out that for those of ordinary skill in the art, improvements can be made without departing from the creative concept of the present invention, but these all belong to the present invention. scope of protection.

Claims (8)

  1. 一种开关切换时间测试方法,提供波形发生器、反相器、示波器、开关、信号发生器、功率放大器以及检波器,其特征在于,该方法包括如下步骤:A switch switching time testing method, providing a waveform generator, an inverter, an oscilloscope, a switch, a signal generator, a power amplifier and a wave detector, is characterized in that the method comprises the following steps:
    搭建测试系统,将所述波形发生器的输出端分别连接至所述反相器的输入端、所述示波器的第一输入端以及所述开关的第一控制端,将所述反相器的输出端连接至所述开关的第二控制端,将所述信号发生器的输出端通过串联所述功率放大器后连接至所述开关的输入端,将所述开关的输出端连接至所述检波器的输入端,将所述检波器的输出端连接至所示波器的第二输入端;Build a test system, connect the output terminal of the waveform generator to the input terminal of the inverter, the first input terminal of the oscilloscope and the first control terminal of the switch respectively, and connect the The output end is connected to the second control end of the switch, the output end of the signal generator is connected to the input end of the switch after connecting the power amplifier in series, and the output end of the switch is connected to the detection The input end of the wave detector is connected to the second input end of the wave detector shown in the output end of the wave detector;
    启动测试系统,将所述波形发生器、所述反相器、所述示波器、所述开关、所述信号发生器、所述功率放大器以及所述检波器通电并设置于工作状态;Start the test system, energize the waveform generator, the inverter, the oscilloscope, the switch, the signal generator, the power amplifier and the wave detector and set them in a working state;
    调整测试设备,将所述波形发生器调整至预设波形设置,将所述信号发生器调整至预设输出状态设置,将所述示波器调整至预设分辨读数设置;Adjusting the test equipment, adjusting the waveform generator to a preset waveform setting, adjusting the signal generator to a preset output state setting, and adjusting the oscilloscope to a preset resolution reading setting;
    计算开关切换时间,通过读取所述示波器显示的所述波形发生器输出的第一波形和所述检波器输出的第二波形,根据所述第一波形的其中一个周期中的高电位或低电位和与该周期内相应的所述第二波形的初始稳定状态的低电位或高电位获得开关起止时间,根据所述第二波形的高低电平翻转时间获得延时时间差,并根据所述开关起止时间和所述延时时间差计算得出所述开关切换时间,并满足如下公式:Calculate the switching time of the switch, by reading the first waveform output by the waveform generator and the second waveform output by the detector displayed by the oscilloscope, according to the high potential or low potential in one cycle of the first waveform Potential and the low potential or high potential of the initial stable state of the corresponding second waveform in this cycle to obtain the switch start and stop time, and obtain the delay time difference according to the high and low level inversion time of the second waveform, and according to the switch The switching time of the switch is obtained by calculating the start-stop time and the delay time difference, and satisfies the following formula:
    Td=Tosc–Tdet,Td = Tosc - Tdet,
    其中,Td为所述开关切换时间,Tosc为所述开关起止时间,Tdet为所述延时时间差。Wherein, Td is the switching time of the switch, Tosc is the start-stop time of the switch, and Tdet is the delay time difference.
  2. 根据权利要求1所述的开关切换时间测试方法,其特征在于,所述预设波形设置为所述波形发生器的输出波形设置于100Khz的频率和3V的幅度。The switching time testing method according to claim 1, characterized in that, the preset waveform is set such that the output waveform of the waveform generator is set at a frequency of 100Khz and an amplitude of 3V.
  3. 根据权利要求2所述的开关切换时间测试方法,其特征在于,所述预设输出状态设置为所述信号发生器的输出波形设置于1Ghz的频率和-10dbm的功率幅度。The switching time testing method according to claim 2, wherein the preset output state is set to the output waveform of the signal generator at a frequency of 1Ghz and a power amplitude of -10dbm.
  4. 根据权利要求2所述的开关切换时间测试方法,其特征在于,所述预设输出状态设置根据所述功率放大器的属性进行相应调整。The method for testing switching time of a switch according to claim 2, wherein the preset output state setting is adjusted accordingly according to the property of the power amplifier.
  5. 根据权利要求4所述的开关切换时间测试方法,其特征在于,所述预设输出状态设置为所述信号发生器的输出波形设置于5Ghz的频率和-20dbm的功率幅度。The switching time testing method according to claim 4, wherein the preset output state is set to the output waveform of the signal generator set at a frequency of 5Ghz and a power amplitude of -20dbm.
  6. 一种开关切换时间测试系统,其特征在于,该系统包括测试模块和计算模块,A switch switching time test system is characterized in that the system includes a test module and a calculation module,
    所述测试模块包括波形发生器、反相器、示波器、开关、信号发生器、功率放大器以及检波器;所述波形发生器的输出端分别连接至所述反相器的输入端、所述示波器的第一输入端以及所述开关的第一控制端,所述反相器的输出端连接至所述开关的第二控制端,所述信号发生器的输出端通过串联所述功率放大器后连接至所述开关的输入端,所述开关的输出端连接至所述检波器的输入端,所述检波器的输出端连接至所示波器的第二输入端;其中,所述波形发生器、所述反相器、所述示波器、所述开关、所述信号发生器、所述功率放大器以及所述检波器通电并设置于工作状态,所述波形发生器调整至预设波形设置,所述信号发生器调整至预设输出状态设置,所述示波器调整至预设分辨读数设置;The test module includes a waveform generator, an inverter, an oscilloscope, a switch, a signal generator, a power amplifier, and a wave detector; the output terminals of the waveform generator are respectively connected to the input ends of the inverter, the oscilloscope The first input terminal of the switch and the first control terminal of the switch, the output terminal of the inverter is connected to the second control terminal of the switch, and the output terminal of the signal generator is connected to the power amplifier after being connected in series to the input end of the switch, the output end of the switch is connected to the input end of the wave detector, and the output end of the wave detector is connected to the second input end of the wave detector; wherein, the waveform generator, the The inverter, the oscilloscope, the switch, the signal generator, the power amplifier and the detector are energized and set to work, the waveform generator is adjusted to a preset waveform setting, and the signal the generator is adjusted to a preset output state setting, and the oscilloscope is adjusted to a preset resolution reading setting;
    所述计算模块用于读取所述示波器显示的所述波形发生器输出的第一波形和所述检波器输出的第二波形,根据所述第一波形的其中一个周期中的高电位或低电位和与该周期内相应的所述第二波形的初始稳定状态的低电位或高电位获得开关起止时间,根据所述第二波形的高低电平翻转时间获得延时时间差,并根据所述开关起止时间和所述延时时间差计算得出所述开关切换时间,并满足如下公式:The calculation module is used to read the first waveform output by the waveform generator and the second waveform output by the detector displayed by the oscilloscope, according to the high potential or low potential in one cycle of the first waveform Potential and the low potential or high potential of the initial stable state of the corresponding second waveform in this cycle to obtain the switch start and stop time, and obtain the delay time difference according to the high and low level inversion time of the second waveform, and according to the switch The switching time of the switch is obtained by calculating the start-stop time and the delay time difference, and satisfies the following formula:
    Td=Tosc–Tdet,Td = Tosc - Tdet,
    其中,Td为所述开关切换时间,Tosc为所述开关起止时间,Tdet为所述延时时间差。Wherein, Td is the switching time of the switch, Tosc is the start-stop time of the switch, and Tdet is the delay time difference.
  7. 一种开关切换时间测试设备,其特征在于,包括处理器和存储器,所述处理器用于读取所述存储器中的程序,执行如权利要求1至5中任意一项所述的开关切换时间测试方法中的步骤。A switch switching time testing device, characterized in that it includes a processor and a memory, the processor is used to read the program in the memory, and execute the switch switching time test according to any one of claims 1 to 5 steps in the method.
  8. 一种计算机可读存储介质,其特征在于,所述计算机可读存储介质存储有计算机程序,所述计算机程序包括程序指令,所述程序指令被处理器执行时实现如权利要求1-5中任意一项所述的开关切换时间测试方法中的步骤。A computer-readable storage medium, characterized in that the computer-readable storage medium stores a computer program, the computer program includes program instructions, and when the program instructions are executed by a processor, any of claims 1-5 can be implemented. A step in the switching time test method described in one item.
PCT/CN2022/132751 2021-12-06 2022-11-18 On/off switching time test method, related system and device, and storage medium WO2023103743A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202111480038.XA CN114167274B (en) 2021-12-06 2021-12-06 Switch switching time testing method, related system and equipment and storage medium
CN202111480038.X 2021-12-06

Publications (1)

Publication Number Publication Date
WO2023103743A1 true WO2023103743A1 (en) 2023-06-15

Family

ID=80483656

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2022/132751 WO2023103743A1 (en) 2021-12-06 2022-11-18 On/off switching time test method, related system and device, and storage medium

Country Status (2)

Country Link
CN (1) CN114167274B (en)
WO (1) WO2023103743A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114167274B (en) * 2021-12-06 2024-04-12 深圳飞骧科技股份有限公司 Switch switching time testing method, related system and equipment and storage medium

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2009046747A1 (en) * 2007-10-08 2009-04-16 Siemens Aktiengesellschaft Method for testing the free triggering behavior of an electromechanically activated power switch and device for performing said method
CN103412255A (en) * 2013-07-18 2013-11-27 西安空间无线电技术研究所 Space-borne multichannel microwave switch testing device
CN104267338A (en) * 2014-09-12 2015-01-07 哈尔滨理大晟源科技开发有限公司 Switching time measurement system and method of microwave high-speed switch
CN106371005A (en) * 2016-08-17 2017-02-01 中国电子科技集团公司第四十研究所 Switch matrix based microwave component switch response time measuring device and method
CN107167729A (en) * 2017-05-26 2017-09-15 中国电子科技集团公司第四十研究所 The relay operation time automatic testing equipment and method controlled using trigger pulse
CN109347550A (en) * 2018-09-29 2019-02-15 国家电网有限公司 Based on optical channel intelligent switching system
CN109613848A (en) * 2018-10-26 2019-04-12 中国船舶重工集团公司第七0九研究所 A kind of multi-channel high-speed signal switching system and control method
CN112198428A (en) * 2020-12-02 2021-01-08 佛山市联动科技股份有限公司 Method and system for testing response time of radio frequency switch chip
CN112219124A (en) * 2018-06-15 2021-01-12 菲尼克斯电气公司 Switch monitoring device
CN114167274A (en) * 2021-12-06 2022-03-11 深圳飞骧科技股份有限公司 Method for testing switching time, related system and device and storage medium

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2009046747A1 (en) * 2007-10-08 2009-04-16 Siemens Aktiengesellschaft Method for testing the free triggering behavior of an electromechanically activated power switch and device for performing said method
CN103412255A (en) * 2013-07-18 2013-11-27 西安空间无线电技术研究所 Space-borne multichannel microwave switch testing device
CN104267338A (en) * 2014-09-12 2015-01-07 哈尔滨理大晟源科技开发有限公司 Switching time measurement system and method of microwave high-speed switch
CN106371005A (en) * 2016-08-17 2017-02-01 中国电子科技集团公司第四十研究所 Switch matrix based microwave component switch response time measuring device and method
CN107167729A (en) * 2017-05-26 2017-09-15 中国电子科技集团公司第四十研究所 The relay operation time automatic testing equipment and method controlled using trigger pulse
CN112219124A (en) * 2018-06-15 2021-01-12 菲尼克斯电气公司 Switch monitoring device
CN109347550A (en) * 2018-09-29 2019-02-15 国家电网有限公司 Based on optical channel intelligent switching system
CN109613848A (en) * 2018-10-26 2019-04-12 中国船舶重工集团公司第七0九研究所 A kind of multi-channel high-speed signal switching system and control method
CN112198428A (en) * 2020-12-02 2021-01-08 佛山市联动科技股份有限公司 Method and system for testing response time of radio frequency switch chip
CN114167274A (en) * 2021-12-06 2022-03-11 深圳飞骧科技股份有限公司 Method for testing switching time, related system and device and storage medium

Also Published As

Publication number Publication date
CN114167274B (en) 2024-04-12
CN114167274A (en) 2022-03-11

Similar Documents

Publication Publication Date Title
WO2023103743A1 (en) On/off switching time test method, related system and device, and storage medium
US20100306592A1 (en) Computer system on and off test apparatus and method
TW200809611A (en) Embedded system and the boot code auto-copy method
WO2021056393A1 (en) Test method, electronic device and computer-readable storage medium
CN113077834A (en) Storage device testing method and device, television and storage medium
CN112363044B (en) Chip grading method and device
CN111211937B (en) Method, device and system for testing stability of server link signals
CN112291022A (en) Radio frequency parameter detection circuit, method and electronic equipment
US11696159B2 (en) Method, apparatus, and non-transitory computer readable medium for testing terminals
CN102854417B (en) Master test board and testing method thereof
TWI515551B (en) Computer stick expansion system and power management method thereof
CN112557882B (en) Chip initial address self-adaptive detection method, device, equipment and storage medium
US8407372B2 (en) Device and method for detecting motherboard voltage
US20170010643A1 (en) Testing method and electronic device
CN113295986A (en) Chip, and method and device for measuring chip process corner
CN116015486A (en) Radio frequency device testing system, method and device
CN113567834A (en) Small card circuit path testing method and device, computer equipment and storage medium
US8228084B1 (en) Systems and methods for self-testing of integrated devices during production
CN104796687A (en) Testing device for frequency mixer of distributed cable mode termination system
CN113360331B (en) OTG test switching equipment, method, device, equipment and storage medium
CN109597787B (en) SIO UART configuration method, system, device and readable storage medium
US20090128235A1 (en) Power save mode for audio interface drive amplifier
CN113472603B (en) Fault detection method and device of uplink communication module and computer equipment
US7496792B2 (en) Repeat digital message transmission between a microprocessor monitoring circuit and an analyzing tool
US9084059B2 (en) Electronic audio device to determine matching and non-matching speakers

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 22903166

Country of ref document: EP

Kind code of ref document: A1