WO2024077692A1 - Oscilloscope probe, probe detection method and apparatus, oscilloscope, system, and medium - Google Patents

Oscilloscope probe, probe detection method and apparatus, oscilloscope, system, and medium Download PDF

Info

Publication number
WO2024077692A1
WO2024077692A1 PCT/CN2022/130230 CN2022130230W WO2024077692A1 WO 2024077692 A1 WO2024077692 A1 WO 2024077692A1 CN 2022130230 W CN2022130230 W CN 2022130230W WO 2024077692 A1 WO2024077692 A1 WO 2024077692A1
Authority
WO
WIPO (PCT)
Prior art keywords
oscilloscope
probe
voltage
target
value
Prior art date
Application number
PCT/CN2022/130230
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 WO2024077692A1 publication Critical patent/WO2024077692A1/en

Links

Images

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R13/00Arrangements for displaying electric variables or waveforms
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R1/00Details of instruments or arrangements of the types included in groups G01R5/00 - G01R13/00 and G01R31/00
    • G01R1/02General constructional details
    • G01R1/06Measuring leads; Measuring probes
    • G01R1/067Measuring probes
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R35/00Testing or calibrating of apparatus covered by the other groups of this subclass

Definitions

  • the embodiments of the present invention relate to the field of computer technology, and in particular to an oscilloscope probe, a probe detection method, a probe detection device, an oscilloscope, a system and a storage medium.
  • the probe is an important part of the oscilloscope system, and plays a vital role in the integrity of the measured signal input into the oscilloscope. Therefore, a reliable method is needed in the oscilloscope system to detect whether the probe is normally connected to the oscilloscope to complete the accurate measurement of the measured signal. After the oscilloscope probe is connected to the oscilloscope, for different probes, it is necessary to set the correct coupling mode, attenuation ratio, input resistance and other channel parameters for the channel to which the probe is connected, so as to ensure the correct use of the probe, reduce the probability of test errors, and help oscilloscope users obtain measurement results conveniently and quickly.
  • the access detection scheme of oscilloscope probes generally adopts the resistor voltage division method.
  • the problem faced by this method is that if a resistor with a smaller resistance value is selected, it will generate a large amount of heat. Since the sealing of the oscilloscope probe is relatively high, when its heat is transferred to the circuit board, it is easy to increase the temperature of the analog channel, affecting the measured signal in the oscilloscope system, thereby reducing the reliability of the measurement system, while bringing unnecessary power waste to the oscilloscope system and bringing certain power supply pressure to the overall power supply system.
  • the resistor voltage division method is used to identify the different types of probes connected to the oscilloscope.
  • the types of resistors used are relatively more. If a resistor with a larger resistance value is used to complete the voltage division, then the resistor with a larger resistance value can be approximated as a passive antenna. When the oscilloscope measures a small signal, the noise will be superimposed on the measurement signal, which will seriously affect the accuracy of the test.
  • the embodiments of the present invention provide an oscilloscope probe, a probe detection method, a device, an oscilloscope, a system and a storage medium, which can optimize the existing probe detection solution.
  • an oscilloscope probe comprising a signal test path and a detection circuit, wherein:
  • the signal test path is used to connect to an oscilloscope channel of an oscilloscope and send the measured signal to the oscilloscope channel;
  • the detection circuit includes a capacitor and a detection connector, the first end of the capacitor is grounded, the second end of the capacitor is electrically connected to the first end of the detection connector, and the second end of the detection connector is used to connect to the identification circuit in the oscilloscope, wherein the capacitance value of the capacitor is related to the type of the oscilloscope probe.
  • a probe detection method is provided, which is executed by a processor in an oscilloscope, wherein the oscilloscope further comprises an identification circuit, wherein the identification circuit comprises a resistor, a constant voltage source and a voltage detection unit, wherein a first end of the resistor is electrically connected to a first end of the voltage detection unit and is used to be connected to a detection connector of an oscilloscope probe, a second end of the resistor is connected to a first end of the constant voltage source, a second end of the constant voltage source is grounded, and a second end of the voltage detection unit is connected to the processor;
  • the identification circuit comprises a resistor, a constant voltage source and a voltage detection unit, wherein a first end of the resistor is electrically connected to a first end of the voltage detection unit and is used to be connected to a detection connector of an oscilloscope probe, a second end of the resistor is connected to a first end of the constant voltage source, a second end of the constant voltage source is grounded, and a second end
  • the method comprises:
  • each group of voltage data includes a voltage value of the first end of the resistor detected by the voltage detection unit and a detection time corresponding to the voltage value
  • the target type of the current oscilloscope probe is determined according to the target capacitance value, wherein the preset mapping relationship includes a corresponding relationship between the capacitance value and the type of the oscilloscope probe.
  • a probe detection device which is integrated in an oscilloscope, wherein the oscilloscope further comprises an identification circuit, wherein the identification circuit comprises a resistor, a constant voltage source and a voltage detection unit, wherein a first end of the resistor is electrically connected to a first end of the voltage detection unit and is used to be connected to a detection connector of an oscilloscope probe, a second end of the resistor is connected to a first end of the constant voltage source, a second end of the constant voltage source is grounded, and a second end of the voltage detection unit is connected to the processor;
  • the identification circuit comprises a resistor, a constant voltage source and a voltage detection unit, wherein a first end of the resistor is electrically connected to a first end of the voltage detection unit and is used to be connected to a detection connector of an oscilloscope probe, a second end of the resistor is connected to a first end of the constant voltage source, a second end of the constant voltage source is grounded, and a second end of the voltage detection unit is connected
  • the device comprises:
  • a voltage data acquisition module used to acquire multiple groups of voltage data, wherein each group of voltage data includes a voltage value of the first end of the resistor detected by the voltage detection unit and a detection time corresponding to the voltage value;
  • a capacitance value determination module used to determine a target capacitance value of a capacitor in a current oscilloscope probe according to the plurality of sets of voltage data
  • the type determination module is used to determine the target type of the current oscilloscope probe according to the target capacitance value based on a preset mapping relationship, wherein the preset mapping relationship includes a corresponding relationship between the capacitance value and the type of the oscilloscope probe.
  • an oscilloscope comprising an identification circuit, a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein:
  • the identification circuit includes a resistor, a constant voltage source and a voltage detection unit, wherein a first end of the resistor is electrically connected to a first end of the voltage detection unit and is used to be connected to a detection connector of an oscilloscope probe, a second end of the resistor is connected to a first end of the constant voltage source, a second end of the constant voltage source is grounded, and a second end of the voltage detection unit is connected to the processor;
  • an oscilloscope system comprising the oscilloscope probe according to any embodiment of the present invention, and the oscilloscope according to any embodiment of the present invention.
  • a computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a processor to implement the probe detection method described in any embodiment of the present invention when executed.
  • the technical solution of the embodiment of the present invention replaces the resistor in the detection circuit of the oscilloscope probe with a capacitor.
  • the capacitance value of the capacitor is related to the type of the oscilloscope probe, that is, the type of the probe can be determined by detecting the capacitance value.
  • the resistor voltage division method there is no extra power waste, no excess heat will be brought to the system to cause system detection temperature drift, and no excessive noise will be introduced into the precision probe. While saving power consumption, it can effectively ensure measurement accuracy and reliability.
  • FIG. 1 is a schematic diagram of a connection between an oscilloscope probe and an oscilloscope provided in an embodiment of the present invention
  • FIG2 is a flow chart of a probe detection method provided by an embodiment of the present invention.
  • FIG3 is a flow chart of another probe detection method provided by an embodiment of the present invention.
  • FIG. 4 is a schematic structural diagram of a probe detection device provided by an embodiment of the present invention.
  • the oscilloscope probe (hereinafter referred to as probe) provided in the embodiment of the present invention may include a passive probe and an active probe.
  • FIG1 is a schematic diagram of connecting an oscilloscope probe and an oscilloscope provided in the embodiment of the present invention, and FIG1 includes a probe 10 and an oscilloscope 20 provided in the embodiment of the present invention.
  • the probe 10 includes a signal test path 110 and a detection circuit 120.
  • the signal test path 110 is used to connect to the oscilloscope channel 210 of the oscilloscope 20, and send the measured signal to the oscilloscope channel 210.
  • the signal test path may include an analog front end (such as a probe amplifier), a cable, and a probe connector, and the probe connector may specifically be a Bayonet Neill-Concelman (BNC) connector; for an active probe, in addition to the analog front end (such as a probe amplifier), a cable, and a probe connector, it may also include a digital-to-analog converter (DAC) and a probe control unit.
  • DAC digital-to-analog converter
  • the detection circuit 120 includes a capacitor 121 and a detection connector 122, wherein the first end of the capacitor 121 is grounded, the second end of the capacitor 121 is electrically connected to the first end of the detection connector 122, and the second end of the detection connector 122 is used to connect to the identification circuit 220 in the oscilloscope, wherein the capacitance value of the capacitor is related to the type of the oscilloscope probe.
  • oscilloscope probes which can include high-resistance probes, high-voltage probes, and current probes in addition to passive probes and active probes.
  • different capacitance values can be selected for the capacitor 121.
  • the capacitance value corresponding to the high-resistance probe is 1 microfarad
  • the capacitance value corresponding to the high-voltage probe is 100 microfarad
  • the capacitance value corresponding to the current probe is 10 microfarad, and so on.
  • the access detection scheme of the oscilloscope probe generally adopts the resistance voltage division method, that is, the position of the capacitor 121 in Figure 1 is a resistor.
  • the resistor in order to distinguish probes of different models and types, it is inevitable to choose a resistor with a larger or smaller resistance.
  • a smaller resistor may generate a large amount of heat, affecting the measured signal in the oscilloscope system, thereby reducing the reliability of the measurement system, causing unnecessary power waste for the oscilloscope system, and also bringing certain power supply pressure to the overall power supply system.
  • a larger resistor may also superimpose noise on the measurement signal, seriously affecting the accuracy of the test.
  • the above problem can be effectively solved by replacing the resistor with a capacitor.
  • the constant voltage source in the oscilloscope will charge the capacitor. After the capacitor is fully charged, the voltage is stable.
  • the identification circuit in the oscilloscope can detect the stable voltage.
  • the type of probe can be determined by determining the capacitance value of the capacitor. The specific method of determining the capacitance value is not limited.
  • the oscilloscope 20 may include a processor 230
  • the identification circuit 220 includes a resistor 221, a constant voltage source 222 and a voltage detection unit 223, the first end of the resistor 221 is electrically connected to the first end of the voltage detection unit 223, and is used to connect to the detection connector 122 of the probe 10, the second end of the resistor 221 is connected to the first end of the constant voltage source 222, the second end of the constant voltage source 222 is grounded, and the second end of the voltage detection unit 223 is connected to the processor 230.
  • the voltage detection unit 223 can detect the voltage value of the first end of the resistor 221, and then calculate the capacitance value of the capacitor 121.
  • the voltage detection unit 223 can be a digital-to-analog converter (ADC).
  • the charging of the capacitor is generally completed in a limited time period. There is no extra power waste, nor will it bring excess heat to the system and cause system detection temperature drift like small resistance voltage dividers. At the same time, it will not introduce excessive noise to the precision probe like large resistances.
  • the oscilloscope can set the correct channel parameters such as coupling mode, attenuation ratio and input resistance for the channel to which the probe is connected, so as to ensure the correct use of the probe.
  • the channel parameters previously set for the probe will be cleared.
  • the channel parameters need to be reset. If the probe is frequently connected and disconnected due to poor contact, a lot of time will be wasted on setting the channel parameters, which seriously affects the test efficiency.
  • the change pattern of the capacitor voltage can be determined by detecting and identifying the circuit to identify the poor contact phenomenon, and then targeted processing can be performed, such as prompting the user, which helps the user to adopt corresponding measures to continue the test.
  • the oscilloscope probe is characterized in that it also includes: a first indicator light connected in parallel with the capacitor and/or a second indicator light connected to the probe control unit; wherein the first indicator light is used to indicate the abnormality of the probe by switching between an off state and an on state when the current flowing through the first indicator light changes due to an abnormality of the probe; the probe control unit is located in the oscilloscope probe, and is used to control the second indicator light to change to a target working state when receiving the probe abnormality indication sent by the oscilloscope, and the target working state is used to indicate the abnormality of the probe.
  • the advantage of such a setting is that an indicator light is added to the probe, and when an abnormality occurs in the probe due to poor contact or other reasons, the user can be promptly reminded of the occurrence of the abnormality through the indicator light.
  • the indicator light can be a light emitting diode (LED) or the like.
  • the capacitor has a certain charge storage capacity, so the voltage stability of the non-grounded side of the capacitor can be maintained.
  • the constant voltage source 222 inside the oscilloscope provides the charging path of the capacitor 121 through the detection connector 122 of the probe 10 with a short circuit or incomplete contact risk, when the charging current to the capacitor 121 is less than the discharge current of the capacitor 121, the voltage of the capacitor 121 connected to the detection connector 122 will be reduced, if the oscilloscope 20 and the detection connector 122 of the probe 10 are restored to normal connection, the charging current on the capacitor 121 will be greater than its discharge current, so the current flowing through the first indicator light will also change, so that the first indicator light flashes, so as to achieve the purpose of abnormal reminder, if the probe is frequently connected and disconnected due to poor contact, the first indicator light will flash frequently, which can enhance the effectiveness of the reminder.
  • abnormal reminders can also be made through the second indicator light.
  • the charging current to capacitor 121 is less than the discharge current of capacitor 121, the voltage connected to the probe detection connector of capacitor 121 will decrease. If the oscilloscope 20 and the detection connector 122 of the probe 10 are restored to normal connection, the charging current on capacitor 121 will be greater than its discharge current, then the voltage of the detection connector 122 of the probe 10 that can be detected by the oscilloscope system will change repeatedly within the range calibrated within the system (such as 0 to the voltage value of the constant voltage source), and then determine that the probe is abnormal, and send a probe abnormal indication to the probe control unit, so that the probe control unit can control the second indicator light to change to the target working state for prompting the probe abnormality when receiving the probe abnormal indication.
  • the target working state can be, for example, always on or flashing, etc., which is not specifically limited.
  • abnormal reminders can also be given through the first indicator light, and the first indicator light and the second indicator light can also be set at the same time, and reminders can be given through the two types of indicator lights at the same time to further enhance the effectiveness of the reminder.
  • FIG2 is a flow chart of a probe detection method provided by an embodiment of the present invention. This embodiment is applicable to the case of detecting the type of the oscilloscope probe provided by the embodiment of the present invention.
  • the method can be executed by a probe detection device, which can be implemented in the form of hardware and/or software.
  • the probe detection device can be configured in an oscilloscope, specifically in a processor of the oscilloscope, and the method is executed by the processor.
  • the oscilloscope also includes an identification circuit, the identification circuit includes a resistor, a constant voltage source and a voltage detection unit, the first end of the resistor is electrically connected to the first end of the voltage detection unit, and is used to connect to the detection connector of the oscilloscope probe, the second end of the resistor is connected to the first end of the constant voltage source, the second end of the constant voltage source is grounded, and the second end of the voltage detection unit is connected to the processor.
  • the identification circuit includes a resistor, a constant voltage source and a voltage detection unit, the first end of the resistor is electrically connected to the first end of the voltage detection unit, and is used to connect to the detection connector of the oscilloscope probe, the second end of the resistor is connected to the first end of the constant voltage source, the second end of the constant voltage source is grounded, and the second end of the voltage detection unit is connected to the processor.
  • the specific connection relationship can be seen in FIG1.
  • the method includes:
  • Step 201 Acquire multiple groups of voltage data, wherein each group of voltage data includes a voltage value of a first end of a resistor detected by a voltage detection unit and a detection time corresponding to the voltage value.
  • the voltage value of the first end of the resistor can be detected by a voltage detection unit at a preset frequency or in real time, and when the voltage value is detected, the corresponding detection time is recorded.
  • the detected voltage value and the corresponding detection time are associated and stored as a set of voltage data. After multiple detections, multiple sets of voltage data can be obtained.
  • Step 202 Determine a target capacitance value of a capacitor in a current oscilloscope probe according to multiple sets of voltage data.
  • the current oscilloscope probe can be understood as the oscilloscope probe currently connected to the oscilloscope.
  • the constant voltage source in the oscilloscope will charge the capacitor. After the capacitor is fully charged, the voltage is stable, and the identification circuit in the oscilloscope can detect the stable voltage. After the stable voltage is detected, the capacitance value of the capacitor in the oscilloscope probe currently connected to the oscilloscope can be calculated.
  • Step 203 Based on a preset mapping relationship, determine the target type of the current oscilloscope probe according to the target capacitance value, wherein the preset mapping relationship includes a corresponding relationship between the capacitance value and the type of the oscilloscope probe.
  • the correspondence between the capacitance value of the capacitor in the probe and the type of probe can be recorded to form a preset mapping relationship, and the preset mapping relationship can be written into the oscilloscope.
  • a separate configuration file can be generated in the oscilloscope to store the preset mapping relationship, and when the probe type needs to be determined based on the capacitance value, the preset mapping relationship can be read from it.
  • the preset mapping relationship can support modification, such as adding the correspondence between the capacitance value corresponding to a new type of probe and the type of oscilloscope probe, or modifying the stored correspondence, etc., to improve scalability.
  • the probe detection method of the embodiment of the present invention replaces the resistor in the detection circuit of the oscilloscope probe with a capacitor, the capacitance value of the capacitor is related to the type of the oscilloscope probe, the oscilloscope can continuously detect the voltage value of the resistor end connected to the detection connector of the probe inside the oscilloscope through a voltage detection unit, calculate the capacitance value of the capacitor in the currently connected probe according to the voltage value and the corresponding detection time, and then quickly determine the current probe type according to a preset mapping relationship including the correspondence between the capacitance value and the probe type.
  • the resistor voltage division method there is no extra power waste, no excess heat will be brought to the system to cause the occurrence of system detection temperature drift, and no excessive noise will be introduced into the precision probe. While saving power consumption, it can effectively ensure measurement accuracy and reliability.
  • the method may further include: setting channel parameters for the connected channel of the current oscilloscope probe according to the target type, wherein the channel parameters may include coupling mode, attenuation ratio, input resistance, etc.
  • the channel parameters may include coupling mode, attenuation ratio, input resistance, etc.
  • the target serial number of the current oscilloscope probe can be obtained through the control data line connected to the probe control unit, and channel parameters can be set for the channel to which the current oscilloscope probe is connected according to the target type and target serial number, so that the channel parameters can be set more accurately.
  • the target capacitance value of the capacitor in the current oscilloscope probe is determined according to the multiple sets of voltage data, including: determining the target capacitance value of the capacitor in the current oscilloscope probe according to the voltage value of the constant voltage source, the first detection time in the first voltage data, the target voltage value in the second voltage data, and the second detection time in the second voltage data; wherein the voltage value in the previous set of voltage data of the first voltage data is the voltage value of the constant voltage source; the voltage value of the constant voltage source is greater than the voltage value in the first voltage data; the second voltage data is the first set of voltage data in a continuous multiple sets of target voltage data; the absolute difference between each voltage value in the multiple sets of target voltage data and the target voltage value is less than the first preset threshold; the number of groups of the target voltage data is greater than the second preset threshold.
  • the target capacitance value of the capacitor in the current oscilloscope probe can be accurately calculated, and then the type of probe can be accurately detected.
  • the first preset threshold can be set according to actual needs (such as detection accuracy, etc.), and the second preset threshold can be set according to actual conditions (such as the length of time the capacitor is fully charged and the detection frequency of the voltage detection unit, etc.).
  • the target capacitance value can be determined based on the capacitor charging formula.
  • the voltage detected by the voltage detection unit 223 in the oscilloscope 20 is the voltage (denoted as V) of the constant voltage source 222 on the resistor 221 (for ease of description, its resistance is denoted as R).
  • V the voltage of the constant voltage source 222 on the resistor 221
  • R the resistance
  • the probe 10 is not connected to the oscilloscope 20
  • the detection time is denoted as t1 (which can be understood as the first detection time).
  • the earliest time t2 (which can be understood as the second detection time) when the voltage on the resistor 221 becomes Vt in the internally stored data record can be found, and the capacitance value C of the capacitor 121 can be calculated according to the capacitor charging formula:
  • the preset change rule includes: after rising from the first voltage value to the peak value, it drops to the second voltage value within a preset time; and the absolute difference between the first voltage value and the second voltage value and the target voltage value, respectively, is less than the first preset threshold.
  • the advantage of such a setting is that if it is detected that the probe has poor contact, etc., the previously set channel parameters can be kept unchanged, avoiding frequent connection and disconnection of the probe due to poor contact, wasting a lot of time on setting the channel parameters, and improving test efficiency.
  • the detected voltage will rise slowly, and will not directly return to the voltage of the unconnected state like the resistor voltage division detection scheme. If the connection is restored within a certain period of time, the voltage will slowly drop. According to this rule, the poor contact situation can be identified.
  • the preset time can be set according to actual needs.
  • the method may further include: continuing to acquire multiple sets of voltage data, and if the change of the voltage value in the acquired multiple sets of voltage data satisfies the preset change rule, then outputting the preset abnormal prompt information through the display device of the oscilloscope and/or sending the probe abnormal indication to the probe control unit in the current oscilloscope probe.
  • the probe abnormal indication is used to instruct the probe control unit to control the indicator light in the current oscilloscope probe to change to the target working state
  • the target working state is used to indicate the probe abnormality
  • the preset change rule includes: after rising from the first voltage value to the peak value, it drops to the second voltage value within a preset time; and the absolute difference between the first voltage value and the second voltage value and the target voltage value, respectively, is less than the first preset threshold.
  • the detection method in the embodiment of the present invention is different from the resistance voltage division detection method.
  • the pin voltage detected by the oscilloscope system at this time is consistent with the voltage value detected when the oscilloscope probe is not connected to the channel, which is easy to cause the oscilloscope to misjudge.
  • the change law of the detected voltage can be used to accurately distinguish between the poor contact situation and the real disconnection situation. If the poor contact is determined, the oscilloscope will remind the user that the oscilloscope probe used has a risk of poor contact and needs to be repaired or replaced in time, while keeping the set channel parameters unchanged to improve the test efficiency.
  • FIG3 is a flow chart of another probe detection method provided by an embodiment of the present invention, which is optimized based on the above optional embodiments. As shown in FIG3 , the method includes:
  • Step 301 Acquire multiple groups of voltage data, wherein each group of voltage data includes a voltage value of a first end of a resistor detected by a voltage detection unit and a detection time corresponding to the voltage value.
  • Step 302 based on the capacitor charging formula, determine the target capacitance value of the capacitor in the current oscilloscope probe according to the voltage value of the constant voltage source, the first detection time in the first voltage data, the target voltage value in the second voltage data, and the second detection time in the second voltage data.
  • Step 303 Based on a preset mapping relationship, determine the target type of the current oscilloscope probe according to the target capacitance value, wherein the preset mapping relationship includes a corresponding relationship between the capacitance value and the type of the oscilloscope probe.
  • Step 304 Set the corresponding channel parameters in the oscilloscope to target parameter values that match the target type.
  • Step 305 continue to obtain multiple groups of voltage data. If the change of the voltage value in the multiple groups of voltage data obtained meets the preset change rule, the parameter value of the channel parameter is maintained as the target parameter value, the preset abnormal prompt information is output through the display device of the oscilloscope, and the probe abnormality indication is sent to the probe control unit in the current oscilloscope probe.
  • the preset abnormal prompt information may be, for example, text information displayed on the display screen of the oscilloscope, such as “The current probe may have poor contact, please pay attention to repair or replace it”.
  • the probe detection method provided in the embodiment of the present invention replaces the resistor in the detection circuit of the oscilloscope probe with a capacitor.
  • the user can be reminded in time through the oscilloscope display device and the probe indicator light, so as to maintain the set channel parameters, enhance the user experience, and effectively improve the test efficiency.
  • the embodiment of the present invention also provides a probe detection device, which is integrated in an oscilloscope.
  • the oscilloscope also includes an identification circuit, and the identification circuit includes a resistor, a constant voltage source, and a voltage detection unit.
  • the first end of the resistor is electrically connected to the first end of the voltage detection unit and is used to connect to the detection connector of the oscilloscope probe.
  • the second end of the resistor is connected to the first end of the constant voltage source, the second end of the constant voltage source is grounded, and the second end of the voltage detection unit is connected to the processor.
  • Figure 4 is a schematic diagram of the structure of a probe detection device provided by an embodiment of the present invention.
  • the probe detection device includes:
  • a voltage data acquisition module 401 is used to acquire multiple groups of voltage data, wherein each group of voltage data includes a voltage value of the first end of the resistor detected by the voltage detection unit and a detection time corresponding to the voltage value;
  • a capacitance value determination module 402 configured to determine a target capacitance value of a capacitor in a current oscilloscope probe according to the plurality of sets of voltage data;
  • the type determination module 403 is used to determine the target type of the current oscilloscope probe according to the target capacitance value based on a preset mapping relationship, wherein the preset mapping relationship includes a corresponding relationship between the capacitance value and the type of the oscilloscope probe.
  • the probe detection device replaces the resistor in the detection circuit of the oscilloscope probe with a capacitor, the capacitance value of the capacitor is related to the type of the oscilloscope probe, the oscilloscope can continuously detect the voltage value of the resistor end connected to the detection connector of the probe inside the oscilloscope through a voltage detection unit, calculate the capacitance value of the capacitor in the currently connected probe according to the voltage value and the corresponding detection time, and then quickly determine the current probe type according to a preset mapping relationship including the correspondence between the capacitance value and the probe type.
  • the resistor voltage division method there is no extra power waste, no excess heat will be brought to the system to cause the occurrence of system detection temperature drift, and no excessive noise will be introduced into the precision probe. While saving power consumption, it can effectively ensure measurement accuracy and reliability.
  • the capacitance value determination module is specifically used for:
  • the target capacitance value of the capacitor in the current oscilloscope probe is determined according to the voltage value of the constant voltage source, the first detection time in the first voltage data, the target voltage value in the second voltage data, and the second detection time in the second voltage data; wherein the voltage value in the previous group of voltage data of the first voltage data is the voltage value of the constant voltage source; the voltage value of the constant voltage source is greater than the voltage value in the first voltage data; the second voltage data is the first group of voltage data in a plurality of consecutive groups of target voltage data; the absolute difference between each voltage value in the plurality of groups of target voltage data and the target voltage value is less than a first preset threshold; and the number of groups of the target voltage data is greater than a second preset threshold.
  • the device further comprises:
  • a parameter setting module configured to set corresponding channel parameters in the oscilloscope to target parameter values matching the target type after determining the target type of the current oscilloscope probe according to the target capacitance value based on the preset mapping relationship;
  • a parameter value maintaining module used for continuously acquiring multiple sets of voltage data, and if the changes in the voltage values in the acquired multiple sets of voltage data satisfy a preset change rule, maintaining the parameter value of the channel parameter as the target parameter value;
  • the preset change rule includes: after rising from a first voltage value to a peak value, it drops to a second voltage value within a preset time period; and the absolute differences between the first voltage value and the second voltage value and the target voltage value, respectively, are both less than the first preset threshold.
  • the device further comprises:
  • an abnormality prompt module used for continuing to acquire multiple sets of voltage data, and if the change of the voltage value in the acquired multiple sets of voltage data satisfies the preset change rule, outputting preset abnormality prompt information through the display device of the oscilloscope and/or sending a probe abnormality indication to the probe control unit in the current oscilloscope probe;
  • the probe abnormality indication is used to instruct the probe control unit to control the indicator light in the current oscilloscope probe to change to a target working state, and the target working state is used to indicate probe abnormality;
  • the preset change rule includes: after rising from a first voltage value to a peak value, it drops to a second voltage value within a preset time period; and the absolute differences between the first voltage value and the second voltage value and the target voltage value, respectively, are both less than the first preset threshold.
  • the embodiment of the present invention further provides an oscilloscope, in which the probe detection device provided by the embodiment of the present invention can be integrated.
  • the oscilloscope includes an identification circuit, a memory, a processor, and a computer program stored in the memory and executable on the processor.
  • the identification circuit includes a resistor, a constant voltage source, and a voltage detection unit, wherein the first end of the resistor is electrically connected to the first end of the voltage detection unit and is used to connect to the detection connector of the oscilloscope probe, the second end of the resistor is connected to the first end of the constant voltage source, the second end of the constant voltage source is grounded, and the second end of the voltage detection unit is connected to the processor; when the processor executes the computer program, the probe detection method provided by the embodiment of the present invention is implemented.
  • the specific structure of the oscilloscope can be seen in Figure 1 and the relevant content above.
  • An embodiment of the present invention further provides an oscilloscope system, comprising the oscilloscope probe as described in any embodiment of the present invention, and the oscilloscope as described in any embodiment of the present invention.
  • An embodiment of the present invention further provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and the computer program is used to enable a processor to implement the probe detection method described in any embodiment of the present invention when executed.
  • a computer readable storage medium may be a tangible medium that may contain or store a computer program for use by or in conjunction with an instruction execution system, device, or equipment.
  • a computer readable storage medium may include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, devices, or equipment, or any suitable combination of the foregoing.
  • a computer readable storage medium may be a machine readable signal medium.
  • a more specific example of a machine readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
  • RAM random access memory
  • ROM read-only memory
  • EPROM or flash memory erasable programmable read-only memory
  • CD-ROM portable compact disk read-only memory
  • CD-ROM compact disk read-only memory
  • magnetic storage device or any suitable combination of the foregoing.
  • an oscilloscope having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and pointing device (e.g., a mouse or trackball) through which the user can provide input to the oscilloscope.
  • a display device e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor
  • a keyboard and pointing device e.g., a mouse or trackball
  • Other types of devices may also be used to provide interaction with the user; for example, the feedback provided to the user may be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form (including acoustic input, voice input, or tactile input).
  • the probe detection device, oscilloscope and storage medium provided in the above embodiments can execute the probe detection method provided in any embodiment of the present invention, and have the corresponding functional modules and beneficial effects of executing the method.
  • the probe detection method provided in any embodiment of the present invention please refer to the probe detection method provided in any embodiment of the present invention.

Abstract

Disclosed in the present invention are an oscilloscope probe, a probe detection method and apparatus, an oscilloscope, a system, and a storage medium. The oscilloscope probe comprises a signal testing path and a detection circuit, wherein the signal testing path is used for connecting to an oscilloscope channel of an oscilloscope and transmitting a signal under test to the oscilloscope channel; and the detection circuit comprises a capacitor and a detection connector, a first end of the capacitor being grounded, a second end of the capacitor being electrically connected to a first end of the detection connector, and a second end of the detection connector being used for connecting to an identification circuit in the oscilloscope, wherein the capacitance value of the capacitor is related to the type of the oscilloscope probe. By means of the technical solution, the measurement accuracy and reliability can be effectively ensured while the power consumption is reduced.

Description

示波器探头、探头检测方法、装置、示波器、系统及介质Oscilloscope probe, probe detection method, device, oscilloscope, system and medium 技术领域Technical Field
本发明实施例涉及计算机技术领域,尤其涉及示波器探头、探头检测方法、装置、示波器、系统及存储介质。The embodiments of the present invention relate to the field of computer technology, and in particular to an oscilloscope probe, a probe detection method, a probe detection device, an oscilloscope, a system and a storage medium.
背景技术Background technique
探头是示波器系统的重要组成部分,对于被测信号输入示波器中的完整度起到至关重要的作用,因此,在示波器系统中需要使用可靠的方法来检测探头是否正常接入示波器中,完成对被测信号的准确测量。示波器探头接入示波器后,对于不同的探头,需要为该探头所接入的通道设置正确的耦合方式、衰减比例以及输入电阻等通道参数,以此来保证该探头的正确使用,减少测试的错误几率的同时,也可以帮助示波器使用者便捷以及快速地获得测量结果。The probe is an important part of the oscilloscope system, and plays a vital role in the integrity of the measured signal input into the oscilloscope. Therefore, a reliable method is needed in the oscilloscope system to detect whether the probe is normally connected to the oscilloscope to complete the accurate measurement of the measured signal. After the oscilloscope probe is connected to the oscilloscope, for different probes, it is necessary to set the correct coupling mode, attenuation ratio, input resistance and other channel parameters for the channel to which the probe is connected, so as to ensure the correct use of the probe, reduce the probability of test errors, and help oscilloscope users obtain measurement results conveniently and quickly.
目前,示波器探头的接入检测方案普遍采用电阻分压法,该方法面临的问题是,如果选择阻值较小的电阻则会使其产生较大的热量,由于示波器探头的密封性较高,当其热量传递到电路板上时容易使模拟通道的温度变高,影响示波器系统中被测信号,从而导致测量系统的可靠性降低,同时为示波器系统带来不必要的功率浪费,也给整体的电源系统带来一定的供电压力。此外,采用电阻分压法来识别接入示波器中的不同探头种类,由于目前示波器探头种类以及型号繁多,因此所采用的电阻种类相对来说会更多,若采用阻值较大的电阻来完成分压,那么阻值较大的电阻可以近似为无源天线,当示波器测量小信号时,该噪声会叠加在测量信号上,从而严重影响测试的准确性。At present, the access detection scheme of oscilloscope probes generally adopts the resistor voltage division method. The problem faced by this method is that if a resistor with a smaller resistance value is selected, it will generate a large amount of heat. Since the sealing of the oscilloscope probe is relatively high, when its heat is transferred to the circuit board, it is easy to increase the temperature of the analog channel, affecting the measured signal in the oscilloscope system, thereby reducing the reliability of the measurement system, while bringing unnecessary power waste to the oscilloscope system and bringing certain power supply pressure to the overall power supply system. In addition, the resistor voltage division method is used to identify the different types of probes connected to the oscilloscope. Due to the wide variety of types and models of oscilloscope probes, the types of resistors used are relatively more. If a resistor with a larger resistance value is used to complete the voltage division, then the resistor with a larger resistance value can be approximated as a passive antenna. When the oscilloscope measures a small signal, the noise will be superimposed on the measurement signal, which will seriously affect the accuracy of the test.
发明内容Summary of the invention
本发明实施例提供了示波器探头、探头检测方法、装置、示波器、系统及存储介质,可以优化现有的探头检测方案。The embodiments of the present invention provide an oscilloscope probe, a probe detection method, a device, an oscilloscope, a system and a storage medium, which can optimize the existing probe detection solution.
根据本发明的一方面,提供了一种示波器探头,包括信号测试路径和检测电路,其中:According to one aspect of the present invention, an oscilloscope probe is provided, comprising a signal test path and a detection circuit, wherein:
所述信号测试路径,用于与示波器的示波器通道连接,将被测信号送至所述示波器通道;The signal test path is used to connect to an oscilloscope channel of an oscilloscope and send the measured signal to the oscilloscope channel;
所述检测电路中包括电容和检测连接器,所述电容的第一端接地,所述电容的第二端与所述检测连接器的第一端电连接,所述检测连接器的第二端用于与所述示波器中的识别电路连接,其中,所述电容的电容值与所述示波器探头的种类相关。The detection circuit includes a capacitor and a detection connector, the first end of the capacitor is grounded, the second end of the capacitor is electrically connected to the first end of the detection connector, and the second end of the detection connector is used to connect to the identification circuit in the oscilloscope, wherein the capacitance value of the capacitor is related to the type of the oscilloscope probe.
根据本发明的另一方面,提供了一种探头检测方法,由示波器中的处理器执行,所述示波器中还包含识别电路,所述识别电路包括电阻、恒压源和电压检测单元,所述电阻的第一端与所述电压检测单元的第一端电连接,并用于与示波器探头的检测连接器连接,所述电阻的第二端与所述恒压源的第一端连接,所述恒压源的第二端接地,所述电压检测单元的第二端与所述处理器连接;According to another aspect of the present invention, a probe detection method is provided, which is executed by a processor in an oscilloscope, wherein the oscilloscope further comprises an identification circuit, wherein the identification circuit comprises a resistor, a constant voltage source and a voltage detection unit, wherein a first end of the resistor is electrically connected to a first end of the voltage detection unit and is used to be connected to a detection connector of an oscilloscope probe, a second end of the resistor is connected to a first end of the constant voltage source, a second end of the constant voltage source is grounded, and a second end of the voltage detection unit is connected to the processor;
所述方法包括:The method comprises:
获取多组电压数据,其中,每组电压数据中包含所述电压检测单元检测到的所述电阻的第一端的电压值以及该电压值对应的检测时间;Acquire multiple groups of voltage data, wherein each group of voltage data includes a voltage value of the first end of the resistor detected by the voltage detection unit and a detection time corresponding to the voltage value;
根据所述多组电压数据确定当前示波器探头中的电容的目标电容值;Determine a target capacitance value of a capacitor in a current oscilloscope probe according to the multiple sets of voltage data;
基于预设映射关系,根据所述目标电容值确定所述当前示波器探头的目标种类,其中,所述预设映射关系包括电容值与示波器探头的种类的对应关系。Based on a preset mapping relationship, the target type of the current oscilloscope probe is determined according to the target capacitance value, wherein the preset mapping relationship includes a corresponding relationship between the capacitance value and the type of the oscilloscope probe.
根据本发明的另一方面,提供了一种探头检测装置,集成于示波器中,所述示波器中还包含识别电路,所述识别电路包括电阻、恒压源和电压检测单元,所述电阻的第一端与所述电压检测单元的第一端电连接,并用于与示波器探头的检测连接器连接,所述电阻的第二端与所述恒压源的第一端连接,所述恒压源的第二端接地,所述电压检测单元的第二端与所述处理器连接;According to another aspect of the present invention, a probe detection device is provided, which is integrated in an oscilloscope, wherein the oscilloscope further comprises an identification circuit, wherein the identification circuit comprises a resistor, a constant voltage source and a voltage detection unit, wherein a first end of the resistor is electrically connected to a first end of the voltage detection unit and is used to be connected to a detection connector of an oscilloscope probe, a second end of the resistor is connected to a first end of the constant voltage source, a second end of the constant voltage source is grounded, and a second end of the voltage detection unit is connected to the processor;
所述装置包括:The device comprises:
电压数据获取模块,用于获取多组电压数据,其中,每组电压数据中包含所述电压检测单元检测到的所述电阻的第一端的电压值以及该电压值对应的检测时间;A voltage data acquisition module, used to acquire multiple groups of voltage data, wherein each group of voltage data includes a voltage value of the first end of the resistor detected by the voltage detection unit and a detection time corresponding to the voltage value;
电容值确定模块,用于根据所述多组电压数据确定当前示波器探头中的电容的目标电容值;A capacitance value determination module, used to determine a target capacitance value of a capacitor in a current oscilloscope probe according to the plurality of sets of voltage data;
种类确定模块,用于基于预设映射关系,根据所述目标电容值确定所述当前示波器探头的目标种类,其中,所述预设映射关系包括电容值与示波器探头的种类的对应关系。The type determination module is used to determine the target type of the current oscilloscope probe according to the target capacitance value based on a preset mapping relationship, wherein the preset mapping relationship includes a corresponding relationship between the capacitance value and the type of the oscilloscope probe.
根据本发明的另一方面,提供了一种示波器,包括识别电路、存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序,其特征在于,According to another aspect of the present invention, there is provided an oscilloscope, comprising an identification circuit, a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein:
所述识别电路包括电阻、恒压源和电压检测单元,所述电阻的第一端与所述电压检测单元的第一端电连接,并用于与示波器探头的检测连接器连接,所述电阻的第二端与所述恒压源的第一端连接,所述恒压源的第二端接地,所述电压检测单元的第二端与所述处理器连接;The identification circuit includes a resistor, a constant voltage source and a voltage detection unit, wherein a first end of the resistor is electrically connected to a first end of the voltage detection unit and is used to be connected to a detection connector of an oscilloscope probe, a second end of the resistor is connected to a first end of the constant voltage source, a second end of the constant voltage source is grounded, and a second end of the voltage detection unit is connected to the processor;
所述处理器执行所述计算机程序时实现本发明任意实施例所述的探头检测方法。When the processor executes the computer program, the probe detection method described in any embodiment of the present invention is implemented.
根据本发明的另一方面,提供了一种示波器系统,包括如本发明任意实施例所述的示波器探头、以及本发明任意实施例所述的示波器。According to another aspect of the present invention, an oscilloscope system is provided, comprising the oscilloscope probe according to any embodiment of the present invention, and the oscilloscope according to any embodiment of the present invention.
根据本发明的另一方面,提供了一种计算机可读存储介质,所述计算机可读存储介质存储有计算机指令,所述计算机指令用于使处理器执行时实现本发明任一实施例所述的探头检测方法。According to another aspect of the present invention, a computer-readable storage medium is provided, wherein the computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a processor to implement the probe detection method described in any embodiment of the present invention when executed.
本发明实施例的技术方案,将示波器探头的检测电路中的电阻替换成电容,电容的电容值与示波器探头的种类相关,也即可以通过检测电容值来确定探头种类,相比于电阻分压方式来说,不存在额外的功率的浪费,不会给系统带来多余热量导致系统检测温漂的发生,也不会给精密的探头引入过多的噪声,节省功耗的同时,可有效保证测量准确性以及可靠性。The technical solution of the embodiment of the present invention replaces the resistor in the detection circuit of the oscilloscope probe with a capacitor. The capacitance value of the capacitor is related to the type of the oscilloscope probe, that is, the type of the probe can be determined by detecting the capacitance value. Compared with the resistor voltage division method, there is no extra power waste, no excess heat will be brought to the system to cause system detection temperature drift, and no excessive noise will be introduced into the precision probe. While saving power consumption, it can effectively ensure measurement accuracy and reliability.
应当理解,本部分所描述的内容并非旨在标识本发明的实施例的关键或重要特征,也不用于限制本发明的范围。本发明的其它特征将通过以下的说明书而变得容易理解。It should be understood that the contents described in this section are not intended to identify the key or important features of the embodiments of the present invention, nor are they intended to limit the scope of the present invention. Other features of the present invention will become easily understood through the following description.
附图说明BRIEF DESCRIPTION OF THE DRAWINGS
为了更清楚地说明本发明实施例中的技术方案,下面将对实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
图1是本发明实施例提供的一种示波器探头与示波器连接示意图;1 is a schematic diagram of a connection between an oscilloscope probe and an oscilloscope provided in an embodiment of the present invention;
图2是本发明实施例提供的一种探头检测方法的流程图;FIG2 is a flow chart of a probe detection method provided by an embodiment of the present invention;
图3是本发明实施例提供的又一种探头检测方法的流程图;FIG3 is a flow chart of another probe detection method provided by an embodiment of the present invention;
图4是本发明实施例提供的一种探头检测装置的结构示意图。FIG. 4 is a schematic structural diagram of a probe detection device provided by an embodiment of the present invention.
具体实施方式Detailed ways
为了使本技术领域的人员更好地理解本发明方案,下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分的实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都应当属于本发明保护的范围。In order to enable those skilled in the art to better understand the scheme of the present invention, the technical scheme in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present invention.
需要说明的是,本发明的说明书和权利要求书及上述附图中的术语“第一”、“第二”等是用于区别类似的对象,而不必用于描述特定的顺序或先后次序。应该理解这样使用的数据在适当情况下可以互换,以便这里描述的本发明的实施例能够以除了在这里图示或描述的那些以外的顺序实施。此外,术语“包括”和“具有”以及他们的任何变形,意图在于覆盖不排他的包含,例如,包含了一系列步骤或单元的过程、方法、系统、产品或设备不必限于清楚地列出的那些步骤或单元,而是可包括没有清楚地列出的或对于这些过程、方法、产品或设备固有的其它步骤或单元。It should be noted that the terms "first", "second", etc. in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
本发明实施例提供的示波器探头(以下简称探头)可包括无源探头和有源探头。图1是根据本发明实施例提供的一种示波器探头与示波器连接示意图,图1中包括本发明实施例提供的探头10和示波器20。其中,探头10包括信号测试路径110和检测电路120。The oscilloscope probe (hereinafter referred to as probe) provided in the embodiment of the present invention may include a passive probe and an active probe. FIG1 is a schematic diagram of connecting an oscilloscope probe and an oscilloscope provided in the embodiment of the present invention, and FIG1 includes a probe 10 and an oscilloscope 20 provided in the embodiment of the present invention. The probe 10 includes a signal test path 110 and a detection circuit 120.
信号测试路径110,用于与示波器20的示波器通道210连接,将被测信号送至示波器通道210。示例性的,对于无源探头,信号测试路径可包括模拟前端(如探头放大器)、线缆以及探头连接器,探头连接器具体可以是尼尔-康塞曼卡口(Bayonet Neill-Concelman,BNC)连接器;对于有源探头,在模拟前端(如探头放大器)、线缆以及探头连接器基础上,还可包括数字模拟转换器(DAC)和探头控制单元等。The signal test path 110 is used to connect to the oscilloscope channel 210 of the oscilloscope 20, and send the measured signal to the oscilloscope channel 210. Exemplarily, for a passive probe, the signal test path may include an analog front end (such as a probe amplifier), a cable, and a probe connector, and the probe connector may specifically be a Bayonet Neill-Concelman (BNC) connector; for an active probe, in addition to the analog front end (such as a probe amplifier), a cable, and a probe connector, it may also include a digital-to-analog converter (DAC) and a probe control unit.
检测电路120中包括电容121和检测连接器122,电容121的第一端接地,电容121的第二端与检测连接器122的第一端电连接,检测连接器122的第二端用于与示波器中的识别电路220连接,其中,电容的电容值与所述示波器探头的种类相关。The detection circuit 120 includes a capacitor 121 and a detection connector 122, wherein the first end of the capacitor 121 is grounded, the second end of the capacitor 121 is electrically connected to the first end of the detection connector 122, and the second end of the detection connector 122 is used to connect to the identification circuit 220 in the oscilloscope, wherein the capacitance value of the capacitor is related to the type of the oscilloscope probe.
示波器探头的种类繁多,除划分为无源探头和有源探头之外,还可包括高阻探头、高压探头和电流探头等,本公开实施例中,为了区分不同种类的探头,可以为电容121选择不同的电容值。例如,高阻探头对应的电容值为1微法,高压探头对应的电容值为100微法,电流探头对应的电容值为10微法等等。There are many types of oscilloscope probes, which can include high-resistance probes, high-voltage probes, and current probes in addition to passive probes and active probes. In the embodiment of the present disclosure, in order to distinguish different types of probes, different capacitance values can be selected for the capacitor 121. For example, the capacitance value corresponding to the high-resistance probe is 1 microfarad, the capacitance value corresponding to the high-voltage probe is 100 microfarad, the capacitance value corresponding to the current probe is 10 microfarad, and so on.
相关技术中,示波器探头的接入检测方案普遍采用电阻分压法,也即图1中的电容121的位置为电阻,如前文所述,为了区分不同型号以及种类的探头,难免会选择阻值较大或较小的电阻,较小的电阻可能会产生较大热量,影响示波器系统中被测信号,从而导致测量系统的可靠性降低,为示波器系统带来不必要的功率浪费,也给整体的电源系统带来一定的供电压力,较大的 电阻还可能将噪声叠加在测量信号上,严重影响测试的准确性。In the related art, the access detection scheme of the oscilloscope probe generally adopts the resistance voltage division method, that is, the position of the capacitor 121 in Figure 1 is a resistor. As mentioned above, in order to distinguish probes of different models and types, it is inevitable to choose a resistor with a larger or smaller resistance. A smaller resistor may generate a large amount of heat, affecting the measured signal in the oscilloscope system, thereby reducing the reliability of the measurement system, causing unnecessary power waste for the oscilloscope system, and also bringing certain power supply pressure to the overall power supply system. A larger resistor may also superimpose noise on the measurement signal, seriously affecting the accuracy of the test.
而本发明实施例中,通过将电阻替换为电容,可以有效解决上述问题。当探头接入示波器后,示波器中的恒压源会给电容充电,电容充满电后,电压稳定,示波器中的识别电路可以检测到稳定电压,可以通过确定电容的电容值来确定探头种类,电容值的具体确定方式不做限定。In the embodiment of the present invention, the above problem can be effectively solved by replacing the resistor with a capacitor. When the probe is connected to the oscilloscope, the constant voltage source in the oscilloscope will charge the capacitor. After the capacitor is fully charged, the voltage is stable. The identification circuit in the oscilloscope can detect the stable voltage. The type of probe can be determined by determining the capacitance value of the capacitor. The specific method of determining the capacitance value is not limited.
示例性的,示波器20中可包括处理器230,所述识别电路220包括电阻221、恒压源222和电压检测单元223,电阻221的第一端与电压检测单元223的第一端电连接,并用于与探头10的检测连接器122连接,电阻221的第二端与恒压源222的第一端连接,恒压源222的第二端接地,电压检测单元223的第二端与处理器230连接。可选的,可以由电压检测单元223对电阻221的第一端的电压值进行检测,进而计算得到电容121的电容值。其中,电压检测单元223可以是数模转换器(ADC)。Exemplarily, the oscilloscope 20 may include a processor 230, the identification circuit 220 includes a resistor 221, a constant voltage source 222 and a voltage detection unit 223, the first end of the resistor 221 is electrically connected to the first end of the voltage detection unit 223, and is used to connect to the detection connector 122 of the probe 10, the second end of the resistor 221 is connected to the first end of the constant voltage source 222, the second end of the constant voltage source 222 is grounded, and the second end of the voltage detection unit 223 is connected to the processor 230. Optionally, the voltage detection unit 223 can detect the voltage value of the first end of the resistor 221, and then calculate the capacitance value of the capacitor 121. Among them, the voltage detection unit 223 can be a digital-to-analog converter (ADC).
电容的充电一般是在有限时间段下完成的步骤,不存在额外的功率的浪费,也不会像小阻值电阻分压一样给系统带来多余热量导致系统检测温漂的发生,同时也不会像大阻值电阻一样给精密的探头引入过多的噪声。The charging of the capacitor is generally completed in a limited time period. There is no extra power waste, nor will it bring excess heat to the system and cause system detection temperature drift like small resistance voltage dividers. At the same time, it will not introduce excessive noise to the precision probe like large resistances.
在准确识别探头种类后,可便于示波器为该探头所接入的通道设置正确的耦合方式、衰减比例以及输入电阻等通道参数,以此来保证该探头的正确使用。After accurately identifying the type of probe, the oscilloscope can set the correct channel parameters such as coupling mode, attenuation ratio and input resistance for the channel to which the probe is connected, so as to ensure the correct use of the probe.
示波器探头的长期使用容易导致接触端机械结构老化,进而造成示波器探头与示波器系统之间发生接触不良,另外,由于示波器探头在测量信号的过程中需要更换不同的测试点,也容易导致探头接口与示波器通道检测的针脚出现短暂的短路,若采用电阻分压方案,由于电阻没有电压保持能力,当出现上述情况时,示波器系统无法检测到探头电阻的分压值,系统会判定此时探头未接入示波器,造成示波器系统的误检测,测试过程受阻,影响整个测试过程。此外,若系统判定此时探头未接入示波器,会将此前为探头设置的通道参数清零,当探头重新接入后,需要重新设置通道参数,若探头因接触不良而出现频繁的接入和断开时,会浪费大量的时间在通道参数的设置上,严重影响测试效率。Long-term use of oscilloscope probes can easily lead to aging of the mechanical structure of the contact end, which in turn causes poor contact between the oscilloscope probe and the oscilloscope system. In addition, since the oscilloscope probe needs to change different test points during the signal measurement process, it is also easy to cause a short circuit between the probe interface and the pins of the oscilloscope channel detection. If a resistor voltage divider solution is used, since the resistor has no voltage holding ability, when the above situation occurs, the oscilloscope system cannot detect the voltage divider value of the probe resistor. The system will determine that the probe is not connected to the oscilloscope at this time, causing the oscilloscope system to misdetect, the test process is blocked, and the entire test process is affected. In addition, if the system determines that the probe is not connected to the oscilloscope at this time, the channel parameters previously set for the probe will be cleared. When the probe is reconnected, the channel parameters need to be reset. If the probe is frequently connected and disconnected due to poor contact, a lot of time will be wasted on setting the channel parameters, which seriously affects the test efficiency.
而采用本发明实施例的技术方案,当探头由于长期使用而产生机械结构的老化或者测量过程中发生连接松动等情况时,由于电容具有一定的电压保持能力,若因接触不良而断开,但在短时间内恢复连接,可以通过检测识别电路来确定电容的电压的变化规律,来识别出这种接触不良的现象,进而进行有针对性的处理,如对用户进行提示等,有助于用户采用相应措施来继续测试。By adopting the technical solution of the embodiment of the present invention, when the mechanical structure of the probe ages due to long-term use or the connection becomes loose during the measurement process, since the capacitor has a certain voltage holding ability, if it is disconnected due to poor contact but the connection is restored in a short time, the change pattern of the capacitor voltage can be determined by detecting and identifying the circuit to identify the poor contact phenomenon, and then targeted processing can be performed, such as prompting the user, which helps the user to adopt corresponding measures to continue the test.
在一些实施例中,示波器探头,其特征在于,还包括:与所述电容并联的第一指示灯和/或与探头控制单元连接的第二指示灯;其中,所述第一指示灯用于在因探头异常导致流经所述第一指示灯的电流发生变化时,通过熄灭状态和亮起状态的切换来提示探头异常;所述探头控制单元位于所述示波器探头内,用于在接收到所述示波器发送的探头异常指示时,控制所述第二指示灯变更至目标工作状态,所述目标工作状态用于提示探头异常。这样设置的好处在于,在探头上增设指示灯,可以在探头因接触不良等原因发生异常时,通过指示灯来及时提醒用户该异常的发生。可选的,指示灯可以是发光二极管(Light Emitting Diode,LED)等。In some embodiments, the oscilloscope probe is characterized in that it also includes: a first indicator light connected in parallel with the capacitor and/or a second indicator light connected to the probe control unit; wherein the first indicator light is used to indicate the abnormality of the probe by switching between an off state and an on state when the current flowing through the first indicator light changes due to an abnormality of the probe; the probe control unit is located in the oscilloscope probe, and is used to control the second indicator light to change to a target working state when receiving the probe abnormality indication sent by the oscilloscope, and the target working state is used to indicate the abnormality of the probe. The advantage of such a setting is that an indicator light is added to the probe, and when an abnormality occurs in the probe due to poor contact or other reasons, the user can be promptly reminded of the occurrence of the abnormality through the indicator light. Optionally, the indicator light can be a light emitting diode (LED) or the like.
示例性的,对于无源探头来说,探头内部一般不存在探头控制单元,可以通过在检测电路中的电容上并联的第一指示灯来进行异常提醒。当探头由于长期使用而产生机械结构的老化或者测量过程中发生连接松动等情况时,由于电容具有一定电荷存储能力,因此可以维持电容非接地侧的电压稳定。当探头松动时,示波器内部恒压源222通过探头10的检测连接器122给电容121的充电通路存在短路或者不完全接触的风险,当出现给电容121的充电电流小于电容121的放电电流时,电容121连接到检测连接器122上的电压将会降低,若示波器20与探头10的检测连接器122重新恢复正常连接时,此时电容121上的充电电流会大于其放电电流,因此流经第一指示灯上的电流也会发生变化,使得第一指示灯发生闪烁,从而达到异常提醒目的,若探头因接触不良而出现频繁的接入和断开时,则第一指示灯会发生频繁闪烁,可增强提醒的有效性。Exemplary, for passive probes, there is generally no probe control unit inside the probe, and an abnormal reminder can be made by connecting the first indicator light in parallel to the capacitor in the detection circuit. When the probe produces aging of the mechanical structure due to long-term use or loose connection during the measurement process, the capacitor has a certain charge storage capacity, so the voltage stability of the non-grounded side of the capacitor can be maintained. When the probe is loose, the constant voltage source 222 inside the oscilloscope provides the charging path of the capacitor 121 through the detection connector 122 of the probe 10 with a short circuit or incomplete contact risk, when the charging current to the capacitor 121 is less than the discharge current of the capacitor 121, the voltage of the capacitor 121 connected to the detection connector 122 will be reduced, if the oscilloscope 20 and the detection connector 122 of the probe 10 are restored to normal connection, the charging current on the capacitor 121 will be greater than its discharge current, so the current flowing through the first indicator light will also change, so that the first indicator light flashes, so as to achieve the purpose of abnormal reminder, if the probe is frequently connected and disconnected due to poor contact, the first indicator light will flash frequently, which can enhance the effectiveness of the reminder.
示例性的,对于有源探头来说,也可以通过第二指示灯进行异常提醒。如前文所述,当出现给电容121的充电电流小于电容121的放电电流时,电容121连接到探头检测连接器上的电压将会降低,若示波器20与探头10的检测连接器122重新恢复正常连接时,此时电容121上的充电电流会大于其放电电流,那么示波器系统可以检测到的探头10的检测连接器122的电压将会在系统内部标定的范围(如0到恒压源的电压值)之内反复变化,进而确定探头出现异常,可以向探头控制单元发送探头异常指示,使得探头控制单元可以在接收到探头异常指示时,控制第二指示灯变更至用于提示探头异常目标工作状态,目标工作状态例如可以是常亮或闪烁等,具体不做限定。Exemplarily, for active probes, abnormal reminders can also be made through the second indicator light. As described above, when the charging current to capacitor 121 is less than the discharge current of capacitor 121, the voltage connected to the probe detection connector of capacitor 121 will decrease. If the oscilloscope 20 and the detection connector 122 of the probe 10 are restored to normal connection, the charging current on capacitor 121 will be greater than its discharge current, then the voltage of the detection connector 122 of the probe 10 that can be detected by the oscilloscope system will change repeatedly within the range calibrated within the system (such as 0 to the voltage value of the constant voltage source), and then determine that the probe is abnormal, and send a probe abnormal indication to the probe control unit, so that the probe control unit can control the second indicator light to change to the target working state for prompting the probe abnormality when receiving the probe abnormal indication. The target working state can be, for example, always on or flashing, etc., which is not specifically limited.
当然,需要说明的是,对于有源探头来说,也可以通过第一指示灯进行异常提醒,还可以同时设置第一指示灯和第二指示灯,通过两类指示灯同时进行提醒,以进一步增强提醒的有效性。Of course, it should be noted that for active probes, abnormal reminders can also be given through the first indicator light, and the first indicator light and the second indicator light can also be set at the same time, and reminders can be given through the two types of indicator lights at the same time to further enhance the effectiveness of the reminder.
图2是本发明实施例提供的一种探头检测方法的流程图,本实施例可适用于对本发明实施例提供的示波器探头的种类进行检测的情况,该方法可以由探头检测装置来执行,该探头检测装置可以采用硬件和/或软件的形式实现,该探头检测装置可配置于示波器中,具体可配置于示波器的处理器中,由处理器执行该方法。其中,示波器中还包含识别电路,所述识别电路包括电阻、恒压源和电压检测单元,所述电阻的第一端与所述电压检测单元的第一端电连接,并用于与示波器探头的检测连接器连接,所述电阻的第二端与所述恒压源的第一端连接,所述恒压源的第二端接地,所述电压检测单元的第二端与所述处理器连接,具体连接关系可参见图1。FIG2 is a flow chart of a probe detection method provided by an embodiment of the present invention. This embodiment is applicable to the case of detecting the type of the oscilloscope probe provided by the embodiment of the present invention. The method can be executed by a probe detection device, which can be implemented in the form of hardware and/or software. The probe detection device can be configured in an oscilloscope, specifically in a processor of the oscilloscope, and the method is executed by the processor. The oscilloscope also includes an identification circuit, the identification circuit includes a resistor, a constant voltage source and a voltage detection unit, the first end of the resistor is electrically connected to the first end of the voltage detection unit, and is used to connect to the detection connector of the oscilloscope probe, the second end of the resistor is connected to the first end of the constant voltage source, the second end of the constant voltage source is grounded, and the second end of the voltage detection unit is connected to the processor. The specific connection relationship can be seen in FIG1.
如图2所示,该方法包括:As shown in FIG. 2 , the method includes:
步骤201、获取多组电压数据,其中,每组电压数据中包含电压检测单元检测到的电阻的第一端的电压值以及该电压值对应的检测时间。Step 201 : Acquire multiple groups of voltage data, wherein each group of voltage data includes a voltage value of a first end of a resistor detected by a voltage detection unit and a detection time corresponding to the voltage value.
示例性的,可以通过电压检测单元以预设频率或实时检测电阻的第一端的电压值,并在检测到电压值时,记录对应的检测时间,将检测到的一个电压值和对应的检测时间作为一组电压数据进行关联存储,检测多次后,可以得到多组电压数据。Exemplarily, the voltage value of the first end of the resistor can be detected by a voltage detection unit at a preset frequency or in real time, and when the voltage value is detected, the corresponding detection time is recorded. The detected voltage value and the corresponding detection time are associated and stored as a set of voltage data. After multiple detections, multiple sets of voltage data can be obtained.
步骤202、根据多组电压数据确定当前示波器探头中的电容的目标电容值。Step 202: Determine a target capacitance value of a capacitor in a current oscilloscope probe according to multiple sets of voltage data.
示例性的,当前示波器探头可理解为当前接入示波器的示波器探头。如前文所述,当探头接入示波器后,示波器中的恒压源会给电容充电,电容充满电后,电压稳定,示波器中的识别电路可以检测 到稳定电压。在检测到稳定电压后,可以计算当前接入示波器的示波器探头中的电容的电容值。Exemplarily, the current oscilloscope probe can be understood as the oscilloscope probe currently connected to the oscilloscope. As described above, when the probe is connected to the oscilloscope, the constant voltage source in the oscilloscope will charge the capacitor. After the capacitor is fully charged, the voltage is stable, and the identification circuit in the oscilloscope can detect the stable voltage. After the stable voltage is detected, the capacitance value of the capacitor in the oscilloscope probe currently connected to the oscilloscope can be calculated.
步骤203、基于预设映射关系,根据目标电容值确定当前示波器探头的目标种类,其中,预设映射关系包括电容值与示波器探头的种类的对应关系。Step 203 : Based on a preset mapping relationship, determine the target type of the current oscilloscope probe according to the target capacitance value, wherein the preset mapping relationship includes a corresponding relationship between the capacitance value and the type of the oscilloscope probe.
示例性的,在设计各示波器探头时,可记录探头内的电容的电容值和探头种类的对应关系,形成预设映射关系,将预设映射关系写入示波器中,例如,示波器中可以生成单独的如配置文件来存储预设映射关系,待需要根据电容值确定探头种类时,从中读取预设映射关系。可选的,预设映射关系在写入示波器后,可支持修改,如增加新种类的探头对应的电容值与示波器探头的种类的对应关系,或修改已存储的对应关系等,以提升可扩展性。Exemplarily, when designing each oscilloscope probe, the correspondence between the capacitance value of the capacitor in the probe and the type of probe can be recorded to form a preset mapping relationship, and the preset mapping relationship can be written into the oscilloscope. For example, a separate configuration file can be generated in the oscilloscope to store the preset mapping relationship, and when the probe type needs to be determined based on the capacitance value, the preset mapping relationship can be read from it. Optionally, after the preset mapping relationship is written into the oscilloscope, it can support modification, such as adding the correspondence between the capacitance value corresponding to a new type of probe and the type of oscilloscope probe, or modifying the stored correspondence, etc., to improve scalability.
本发明实施例的探头检测方法,将示波器探头的检测电路中的电阻替换成电容,电容的电容值与示波器探头的种类相关,示波器可以通过电压检测单元不断检测示波器内部与探头的检测连接器连接的电阻端的电压值,根据电压值和对应的检测时间,计算当前接入的探头中的电容的电容值,进而根据包含电容值与探头种类对应关系的预设映射关系,快速确定当前探头种类,相比于电阻分压方式来说,不存在额外的功率的浪费,不会给系统带来多余热量导致系统检测温漂的发生,也不会给精密的探头引入过多的噪声,节省功耗的同时,可有效保证测量准确性以及可靠性。The probe detection method of the embodiment of the present invention replaces the resistor in the detection circuit of the oscilloscope probe with a capacitor, the capacitance value of the capacitor is related to the type of the oscilloscope probe, the oscilloscope can continuously detect the voltage value of the resistor end connected to the detection connector of the probe inside the oscilloscope through a voltage detection unit, calculate the capacitance value of the capacitor in the currently connected probe according to the voltage value and the corresponding detection time, and then quickly determine the current probe type according to a preset mapping relationship including the correspondence between the capacitance value and the probe type. Compared with the resistor voltage division method, there is no extra power waste, no excess heat will be brought to the system to cause the occurrence of system detection temperature drift, and no excessive noise will be introduced into the precision probe. While saving power consumption, it can effectively ensure measurement accuracy and reliability.
可选的,确定当前示波器探头的目标种类之后,还可包括:根据所述目标种类为当前示波器探头的所接入的通道设置通道参数,其中,通道参数可包括耦合方式、衰减比例以及输入电阻等。可选的,锁定已设定的预设通道参数的参数值,以防止用户设置错误的通道参数来损坏探头以及示波器测量系统。Optionally, after determining the target type of the current oscilloscope probe, the method may further include: setting channel parameters for the connected channel of the current oscilloscope probe according to the target type, wherein the channel parameters may include coupling mode, attenuation ratio, input resistance, etc. Optionally, locking the parameter value of the preset channel parameter that has been set to prevent the user from setting the wrong channel parameter to damage the probe and the oscilloscope measurement system.
可选的,对于有源探头来说,还可通过与探头控制单元连接的控制数据线获取当前示波器探头的目标序列号,根据目标种类和目标序列号为当前示波器探头的所接入的通道设置通道参数,可以更加精确地设置通道参数。Optionally, for active probes, the target serial number of the current oscilloscope probe can be obtained through the control data line connected to the probe control unit, and channel parameters can be set for the channel to which the current oscilloscope probe is connected according to the target type and target serial number, so that the channel parameters can be set more accurately.
在一些实施例中,所述根据所述多组电压数据确定当前示波器探头中的电容的目标电容值,包括:根据所述恒压源的电压值、第一电压数据中的第一检测时间、第二电压数据中的目标电压值、以及所述第二电压数据中的第二检测时间,确定当前示波器探头中的电容的目标电容值;其中,所述第一电压数据的上一组电压数据中的电压值为所述恒压源的电压值;所述恒压源的电压值大于所述第一电压数据中的电压值;所述第二电压数据为连续多组目标电压数据中的首组电压数据;所述多组目标电压数据中的各电压值分别与所述目标电压值的绝对差值,均小于第一预设阈值;所述目标电压数据的组数大于第二预设阈值。这样设置的好处在于,可以准确地计算当前示波器探头中的电容的目标电容值,进而精准地检测出探头的种类。其中,第一预设阈值可以根据实际需求(如检测精度等)设置,第二预设阈值可以根据实际情况(如电容充满电的时长以及电压检测单元的检测频率等)设置。示例性的,可以基于电容充电公式确定目标电容值。In some embodiments, the target capacitance value of the capacitor in the current oscilloscope probe is determined according to the multiple sets of voltage data, including: determining the target capacitance value of the capacitor in the current oscilloscope probe according to the voltage value of the constant voltage source, the first detection time in the first voltage data, the target voltage value in the second voltage data, and the second detection time in the second voltage data; wherein the voltage value in the previous set of voltage data of the first voltage data is the voltage value of the constant voltage source; the voltage value of the constant voltage source is greater than the voltage value in the first voltage data; the second voltage data is the first set of voltage data in a continuous multiple sets of target voltage data; the absolute difference between each voltage value in the multiple sets of target voltage data and the target voltage value is less than the first preset threshold; the number of groups of the target voltage data is greater than the second preset threshold. The advantage of such a setting is that the target capacitance value of the capacitor in the current oscilloscope probe can be accurately calculated, and then the type of probe can be accurately detected. Among them, the first preset threshold can be set according to actual needs (such as detection accuracy, etc.), and the second preset threshold can be set according to actual conditions (such as the length of time the capacitor is fully charged and the detection frequency of the voltage detection unit, etc.). Exemplarily, the target capacitance value can be determined based on the capacitor charging formula.
示例性的,当探头10未接入示波器20中时,示波器20中电压检测单元223所检测的电压为电阻221(为便于描述,其阻值记为R)上的恒压源222的电压(记为V),探头10未接入示波器20时, 需要给探头10中的电容121(为便于描述,其电容值记为C)充电,电压检测单元223所检测的电压开始下降,此时检测时间记为t 1(可理解为第一检测时间),当电压检测单元223所检测的电压稳定为V t(可理解为目标电压值)时,可查找内部存储的数据记录中电阻221上的电压变成V t的最早时间t 2(可理解为第二检测时间),可根据电容充电公式计算电容121的电容值C: Exemplarily, when the probe 10 is not connected to the oscilloscope 20, the voltage detected by the voltage detection unit 223 in the oscilloscope 20 is the voltage (denoted as V) of the constant voltage source 222 on the resistor 221 (for ease of description, its resistance is denoted as R). When the probe 10 is not connected to the oscilloscope 20, it is necessary to charge the capacitor 121 (for ease of description, its capacitance is denoted as C) in the probe 10, and the voltage detected by the voltage detection unit 223 begins to decrease. At this time, the detection time is denoted as t1 (which can be understood as the first detection time). When the voltage detected by the voltage detection unit 223 stabilizes at Vt (which can be understood as the target voltage value), the earliest time t2 (which can be understood as the second detection time) when the voltage on the resistor 221 becomes Vt in the internally stored data record can be found, and the capacitance value C of the capacitor 121 can be calculated according to the capacitor charging formula:
t 2-t 1=R*Cln[V/(V-V t)] t2 - t1 =R*Cln[V/( VVt )]
在一些实施例中,在所述基于预设映射关系,根据所述目标电容值确定所述当前示波器探头的目标种类之后,还包括:将所述示波器中相应的通道参数设置为与所述目标种类相匹配的目标参数值;继续获取多组电压数据,若所获取的多组电压数据中电压值的变化满足预设变化规律,则保持所述通道参数的参数值为所述目标参数值。其中,所述预设变化规律包括:从第一电压值升至峰值后,在预设时长内下降至第二电压值;以及,所述第一电压值和所述第二电压值分别与所述目标电压值的绝对差值,均小于所述第一预设阈值。这样设置的好处在于,若检测到探头出现接触不良等情况时,可以保持之前设定的通道参数不变,避免探头因接触不良而出现频繁的接入和断开时,浪费大量的时间在通道参数的设置上,提高测试效率。In some embodiments, after determining the target type of the current oscilloscope probe according to the target capacitance value based on the preset mapping relationship, it also includes: setting the corresponding channel parameters in the oscilloscope to the target parameter values that match the target type; continuing to obtain multiple sets of voltage data, if the change in the voltage value in the multiple sets of voltage data obtained satisfies the preset change rule, then maintaining the parameter value of the channel parameter as the target parameter value. Wherein, the preset change rule includes: after rising from the first voltage value to the peak value, it drops to the second voltage value within a preset time; and the absolute difference between the first voltage value and the second voltage value and the target voltage value, respectively, is less than the first preset threshold. The advantage of such a setting is that if it is detected that the probe has poor contact, etc., the previously set channel parameters can be kept unchanged, avoiding frequent connection and disconnection of the probe due to poor contact, wasting a lot of time on setting the channel parameters, and improving test efficiency.
其中,如前文所述,探头出现接触不良时,所检测的电压会缓慢上升,而不会像电阻分压检测方案那样,直接回到未连接状态的电压,若在一定时长内恢复连接,电压会缓慢下降,根据该规律可以识别出接触不良的情况。其中,预设时长可以根据实际需求设定。As mentioned above, when the probe has poor contact, the detected voltage will rise slowly, and will not directly return to the voltage of the unconnected state like the resistor voltage division detection scheme. If the connection is restored within a certain period of time, the voltage will slowly drop. According to this rule, the poor contact situation can be identified. The preset time can be set according to actual needs.
在一些实施例中,该方法还可包括:继续获取多组电压数据,若所获取的多组电压数据中电压值的变化满足预设变化规律,则通过所述示波器的显示装置输出预设异常提示信息和/或向所述当前示波器探头中的探头控制单元发送探头异常指示。其中,所述探头异常指示用于指示所述探头控制单元控制所述当前示波器探头中的指示灯变更至目标工作状态,所述目标工作状态用于提示探头异常;其中,所述预设变化规律包括:从第一电压值升至峰值后,在预设时长内下降至第二电压值;以及,所述第一电压值和所述第二电压值分别与所述目标电压值的绝对差值,均小于所述第一预设阈值。这样设置的好处在于,若检测到探头出现接触不良等情况时,可以及时在示波器的显示装置上输出异常提示,或指示探头通过指示灯进行异常提示,有助于用户采用相应措施来继续测试。In some embodiments, the method may further include: continuing to acquire multiple sets of voltage data, and if the change of the voltage value in the acquired multiple sets of voltage data satisfies the preset change rule, then outputting the preset abnormal prompt information through the display device of the oscilloscope and/or sending the probe abnormal indication to the probe control unit in the current oscilloscope probe. Wherein, the probe abnormal indication is used to instruct the probe control unit to control the indicator light in the current oscilloscope probe to change to the target working state, and the target working state is used to indicate the probe abnormality; wherein, the preset change rule includes: after rising from the first voltage value to the peak value, it drops to the second voltage value within a preset time; and the absolute difference between the first voltage value and the second voltage value and the target voltage value, respectively, is less than the first preset threshold. The advantage of such a setting is that if the probe is detected to have poor contact, etc., an abnormal prompt can be output on the display device of the oscilloscope in time, or the probe can be instructed to give an abnormal prompt through the indicator light, which helps the user to take corresponding measures to continue the test.
本发明实施例中的检测方式有别于电阻分压检测的方式,探头连接器老化松动后,在电阻检测方式中,此时示波器系统检测到的引脚电压,与示波器探头未接入该通道的情况下检测到的电压值是一致的,容易造成示波器的误判。而本发明实施例中,可通过检测到的电压的变化规律来准确地区分接触不良的情况和真实断开连接的情况,若确定接触不良,示波器会提醒用户所使用的示波器探头已经出现接触不良的风险需要及时维修或者更换示波器探头,同时保持已设置好的通道参数不变,提高测试效率。The detection method in the embodiment of the present invention is different from the resistance voltage division detection method. When the probe connector is aged and loose, in the resistance detection method, the pin voltage detected by the oscilloscope system at this time is consistent with the voltage value detected when the oscilloscope probe is not connected to the channel, which is easy to cause the oscilloscope to misjudge. In the embodiment of the present invention, the change law of the detected voltage can be used to accurately distinguish between the poor contact situation and the real disconnection situation. If the poor contact is determined, the oscilloscope will remind the user that the oscilloscope probe used has a risk of poor contact and needs to be repaired or replaced in time, while keeping the set channel parameters unchanged to improve the test efficiency.
图3是本发明实施例提供的又一种探头检测方法的流程图,在上述各可选实施例基础上进行优化。以探头为有源探头为例。如图3所示,该方法包括:FIG3 is a flow chart of another probe detection method provided by an embodiment of the present invention, which is optimized based on the above optional embodiments. As shown in FIG3 , the method includes:
步骤301、获取多组电压数据,其中,每组电压数据中包含电压检测单元检测到的电阻的第一端的电压值以及该电压值对应的检测时间。Step 301 : Acquire multiple groups of voltage data, wherein each group of voltage data includes a voltage value of a first end of a resistor detected by a voltage detection unit and a detection time corresponding to the voltage value.
步骤302、基于电容充电公式,根据恒压源的电压值、第一电压数据中的第一检测时间、第二电压数据中的目标电压值、以及第二电压数据中的第二检测时间,确定当前示波器探头中的电容的目标电容值。 Step 302, based on the capacitor charging formula, determine the target capacitance value of the capacitor in the current oscilloscope probe according to the voltage value of the constant voltage source, the first detection time in the first voltage data, the target voltage value in the second voltage data, and the second detection time in the second voltage data.
步骤303、基于预设映射关系,根据目标电容值确定当前示波器探头的目标种类,其中,预设映射关系包括电容值与示波器探头的种类的对应关系。Step 303 : Based on a preset mapping relationship, determine the target type of the current oscilloscope probe according to the target capacitance value, wherein the preset mapping relationship includes a corresponding relationship between the capacitance value and the type of the oscilloscope probe.
步骤304、将示波器中相应的通道参数设置为与目标种类相匹配的目标参数值。Step 304: Set the corresponding channel parameters in the oscilloscope to target parameter values that match the target type.
步骤305、继续获取多组电压数据,若所获取的多组电压数据中电压值的变化满足预设变化规律,则保持通道参数的参数值为目标参数值,通过示波器的显示装置输出预设异常提示信息,以及向当前示波器探头中的探头控制单元发送探头异常指示。 Step 305, continue to obtain multiple groups of voltage data. If the change of the voltage value in the multiple groups of voltage data obtained meets the preset change rule, the parameter value of the channel parameter is maintained as the target parameter value, the preset abnormal prompt information is output through the display device of the oscilloscope, and the probe abnormality indication is sent to the probe control unit in the current oscilloscope probe.
示例性的,预设异常提示信息例如可以是在示波器的显示屏上显示的文字信息,如“当前探头可能存在接触不良情况,请注意维修或更换”等。Exemplarily, the preset abnormal prompt information may be, for example, text information displayed on the display screen of the oscilloscope, such as “The current probe may have poor contact, please pay attention to repair or replace it”.
本发明实施例提供的探头检测方法,将示波器探头的检测电路中的电阻替换成电容,电容的电容值与示波器探头的种类存在对应关系,基于该对应关系可快速根据计算得到的电容值确定当前探头种类,可有效保证测量准确性以及可靠性,并可检测到探头机械结构的老化,通过示波器显示装置以及探头指示灯等方式对用户进行及时提醒,保持已设定好的通道参数,提升用户使用体验,并有效提高测试效率。The probe detection method provided in the embodiment of the present invention replaces the resistor in the detection circuit of the oscilloscope probe with a capacitor. There is a corresponding relationship between the capacitance value of the capacitor and the type of the oscilloscope probe. Based on the corresponding relationship, the current probe type can be quickly determined according to the calculated capacitance value, which can effectively ensure the measurement accuracy and reliability, and can detect the aging of the mechanical structure of the probe. The user can be reminded in time through the oscilloscope display device and the probe indicator light, so as to maintain the set channel parameters, enhance the user experience, and effectively improve the test efficiency.
本发明实施例还提供一种探头检测装置,集成于示波器中,所述示波器中还包含识别电路,所述识别电路包括电阻、恒压源和电压检测单元,所述电阻的第一端与所述电压检测单元的第一端电连接,并用于与示波器探头的检测连接器连接,所述电阻的第二端与所述恒压源的第一端连接,所述恒压源的第二端接地,所述电压检测单元的第二端与所述处理器连接。图4是本发明实施例提供的一种探头检测装置的结构示意图。探头检测装置,如图4所示,该装置包括:The embodiment of the present invention also provides a probe detection device, which is integrated in an oscilloscope. The oscilloscope also includes an identification circuit, and the identification circuit includes a resistor, a constant voltage source, and a voltage detection unit. The first end of the resistor is electrically connected to the first end of the voltage detection unit and is used to connect to the detection connector of the oscilloscope probe. The second end of the resistor is connected to the first end of the constant voltage source, the second end of the constant voltage source is grounded, and the second end of the voltage detection unit is connected to the processor. Figure 4 is a schematic diagram of the structure of a probe detection device provided by an embodiment of the present invention. The probe detection device, as shown in Figure 4, includes:
电压数据获取模块401,用于获取多组电压数据,其中,每组电压数据中包含所述电压检测单元检测到的所述电阻的第一端的电压值以及该电压值对应的检测时间;A voltage data acquisition module 401 is used to acquire multiple groups of voltage data, wherein each group of voltage data includes a voltage value of the first end of the resistor detected by the voltage detection unit and a detection time corresponding to the voltage value;
电容值确定模块402,用于根据所述多组电压数据确定当前示波器探头中的电容的目标电容值;A capacitance value determination module 402, configured to determine a target capacitance value of a capacitor in a current oscilloscope probe according to the plurality of sets of voltage data;
种类确定模块403,用于基于预设映射关系,根据所述目标电容值确定所述当前示波器探头的目标种类,其中,所述预设映射关系包括电容值与示波器探头的种类的对应关系。The type determination module 403 is used to determine the target type of the current oscilloscope probe according to the target capacitance value based on a preset mapping relationship, wherein the preset mapping relationship includes a corresponding relationship between the capacitance value and the type of the oscilloscope probe.
本发明实施例提供的探头检测装置,将示波器探头的检测电路中的电阻替换成电容,电容的电容值与示波器探头的种类相关,示波器可以通过电压检测单元不断检测示波器内部与探头的检测连接器连接的电阻端的电压值,根据电压值和对应的检测时间,计算当前接入的探头中的电容的电容值,进而根据包含电容值与探头种类对应关系的预设映射关系,快速确定当前探头种类,相比于电阻分压方式来说,不存在额外的功率的浪费,不会给系统带来多余热量导致系统检测温漂的发生,也不会给精密的探头引入过多的噪声,节省功耗的同时,可有效保证测量准确性以及可靠性。The probe detection device provided by the embodiment of the present invention replaces the resistor in the detection circuit of the oscilloscope probe with a capacitor, the capacitance value of the capacitor is related to the type of the oscilloscope probe, the oscilloscope can continuously detect the voltage value of the resistor end connected to the detection connector of the probe inside the oscilloscope through a voltage detection unit, calculate the capacitance value of the capacitor in the currently connected probe according to the voltage value and the corresponding detection time, and then quickly determine the current probe type according to a preset mapping relationship including the correspondence between the capacitance value and the probe type. Compared with the resistor voltage division method, there is no extra power waste, no excess heat will be brought to the system to cause the occurrence of system detection temperature drift, and no excessive noise will be introduced into the precision probe. While saving power consumption, it can effectively ensure measurement accuracy and reliability.
可选的,所述电容值确定模块具体用于:Optionally, the capacitance value determination module is specifically used for:
根据所述恒压源的电压值、第一电压数据中的第一检测时间、第二电压数据中的目标电压值、以及所述第二电压数据中的第二检测时间,确定当前示波器探头中的电容的目标电容值;其中,所述第一电压数据的上一组电压数据中的电压值为所述恒压源的电压值;所述恒压源的电压值大于所述第一电压数据中的电压值;所述第二电压数据为连续多组目标电压数据中的首组电压数据;所述多组目标电压数据中的各电压值分别与所述目标电压值的绝对差值,均小于第一预设阈值;所述目标电压数据的组数大于第二预设阈值。The target capacitance value of the capacitor in the current oscilloscope probe is determined according to the voltage value of the constant voltage source, the first detection time in the first voltage data, the target voltage value in the second voltage data, and the second detection time in the second voltage data; wherein the voltage value in the previous group of voltage data of the first voltage data is the voltage value of the constant voltage source; the voltage value of the constant voltage source is greater than the voltage value in the first voltage data; the second voltage data is the first group of voltage data in a plurality of consecutive groups of target voltage data; the absolute difference between each voltage value in the plurality of groups of target voltage data and the target voltage value is less than a first preset threshold; and the number of groups of the target voltage data is greater than a second preset threshold.
可选的,该装置还包括:Optionally, the device further comprises:
参数设置模块,用于在所述基于预设映射关系,根据所述目标电容值确定所述当前示波器探头的目标种类之后,将所述示波器中相应的通道参数设置为与所述目标种类相匹配的目标参数值;A parameter setting module, configured to set corresponding channel parameters in the oscilloscope to target parameter values matching the target type after determining the target type of the current oscilloscope probe according to the target capacitance value based on the preset mapping relationship;
参数值保持模块,用于继续获取多组电压数据,若所获取的多组电压数据中电压值的变化满足预设变化规律,则保持所述通道参数的参数值为所述目标参数值;A parameter value maintaining module, used for continuously acquiring multiple sets of voltage data, and if the changes in the voltage values in the acquired multiple sets of voltage data satisfy a preset change rule, maintaining the parameter value of the channel parameter as the target parameter value;
其中,所述预设变化规律包括:从第一电压值升至峰值后,在预设时长内下降至第二电压值;以及,所述第一电压值和所述第二电压值分别与所述目标电压值的绝对差值,均小于所述第一预设阈值。Among them, the preset change rule includes: after rising from a first voltage value to a peak value, it drops to a second voltage value within a preset time period; and the absolute differences between the first voltage value and the second voltage value and the target voltage value, respectively, are both less than the first preset threshold.
可选的,该装置还包括:Optionally, the device further comprises:
异常提示模块,用于继续获取多组电压数据,若所获取的多组电压数据中电压值的变化满足预设变化规律,则通过所述示波器的显示装置输出预设异常提示信息和/或向所述当前示波器探头中的探头控制单元发送探头异常指示;an abnormality prompt module, used for continuing to acquire multiple sets of voltage data, and if the change of the voltage value in the acquired multiple sets of voltage data satisfies the preset change rule, outputting preset abnormality prompt information through the display device of the oscilloscope and/or sending a probe abnormality indication to the probe control unit in the current oscilloscope probe;
其中,所述探头异常指示用于指示所述探头控制单元控制所述当前示波器探头中的指示灯变更至目标工作状态,所述目标工作状态用于提示探头异常;Wherein, the probe abnormality indication is used to instruct the probe control unit to control the indicator light in the current oscilloscope probe to change to a target working state, and the target working state is used to indicate probe abnormality;
其中,所述预设变化规律包括:从第一电压值升至峰值后,在预设时长内下降至第二电压值;以及,所述第一电压值和所述第二电压值分别与所述目标电压值的绝对差值,均小于所述第一预设阈值。Among them, the preset change rule includes: after rising from a first voltage value to a peak value, it drops to a second voltage value within a preset time period; and the absolute differences between the first voltage value and the second voltage value and the target voltage value, respectively, are both less than the first preset threshold.
本发明实施例还提供了一种示波器,该示波器中可集成本发明实施例提供的探头检测装置。示波器包括识别电路、存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序。所述识别电路包括电阻、恒压源和电压检测单元,所述电阻的第一端与所述电压检测单元的第一端电连接,并用于与示波器探头的检测连接器连接,所述电阻的第二端与所述恒压源的第一端连接,所述恒压源的第二端接地,所述电压检测单元的第二端与所述处理器连接;所述处理器执行所述计算机程序时实现如本发明实施例提供的探头检测方法。示波器的具体结构可参见图1和上文中的相关内容。The embodiment of the present invention further provides an oscilloscope, in which the probe detection device provided by the embodiment of the present invention can be integrated. The oscilloscope includes an identification circuit, a memory, a processor, and a computer program stored in the memory and executable on the processor. The identification circuit includes a resistor, a constant voltage source, and a voltage detection unit, wherein the first end of the resistor is electrically connected to the first end of the voltage detection unit and is used to connect to the detection connector of the oscilloscope probe, the second end of the resistor is connected to the first end of the constant voltage source, the second end of the constant voltage source is grounded, and the second end of the voltage detection unit is connected to the processor; when the processor executes the computer program, the probe detection method provided by the embodiment of the present invention is implemented. The specific structure of the oscilloscope can be seen in Figure 1 and the relevant content above.
本发明实施例还提供了一种示波器系统,包括如本发明任意实施例所述的示波器探头、以及本发明任意实施例所述的示波器。An embodiment of the present invention further provides an oscilloscope system, comprising the oscilloscope probe as described in any embodiment of the present invention, and the oscilloscope as described in any embodiment of the present invention.
本发明实施例还提供了一种计算机可读存储介质,所述计算机可读存储介质存储有计算机程序,所述计算机程序用于使处理器执行时实现本发明任一实施例所述的探头检测方法。An embodiment of the present invention further provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and the computer program is used to enable a processor to implement the probe detection method described in any embodiment of the present invention when executed.
在本发明的上下文中,计算机可读存储介质可以是有形的介质,其可以包含或存储以供指令执行系统、装置或设备使用或与指令执行系统、装置或设备结合地使用的计算机程序。计算机可读存储介质可以包括但不限于电子的、磁性的、光学的、电磁的、红外的、或半导体系统、装 置或设备,或者上述内容的任何合适组合。备选地,计算机可读存储介质可以是机器可读信号介质。机器可读存储介质的更具体示例会包括基于一个或多个线的电气连接、便携式计算机盘、硬盘、随机存取存储器(RAM)、只读存储器(ROM)、可擦除可编程只读存储器(EPROM或快闪存储器)、光纤、便捷式紧凑盘只读存储器(CD-ROM)、光学储存设备、磁储存设备、或上述内容的任何合适组合。In the context of the present invention, a computer readable storage medium may be a tangible medium that may contain or store a computer program for use by or in conjunction with an instruction execution system, device, or equipment. A computer readable storage medium may include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, devices, or equipment, or any suitable combination of the foregoing. Alternatively, a computer readable storage medium may be a machine readable signal medium. A more specific example of a machine readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
为了提供与用户的交互,可以在示波器上实施此处描述的系统和技术,该示波器具有:用于向用户显示信息的显示装置(例如,CRT(阴极射线管)或者LCD(液晶显示器)监视器);以及键盘和指向装置(例如,鼠标或者轨迹球),用户可以通过该键盘和该指向装置来将输入提供给示波器。其它种类的装置还可以用于提供与用户的交互;例如,提供给用户的反馈可以是任何形式的传感反馈(例如,视觉反馈、听觉反馈、或者触觉反馈);并且可以用任何形式(包括声输入、语音输入或者、触觉输入)来接收来自用户的输入。To provide interaction with a user, the systems and techniques described herein may be implemented on an oscilloscope having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and pointing device (e.g., a mouse or trackball) through which the user can provide input to the oscilloscope. Other types of devices may also be used to provide interaction with the user; for example, the feedback provided to the user may be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form (including acoustic input, voice input, or tactile input).
应该理解,可以使用上面所示的各种形式的流程,重新排序、增加或删除步骤。例如,本发明中记载的各步骤可以并行地执行也可以顺序地执行也可以不同的次序执行,只要能够实现本发明的技术方案所期望的结果,本文在此不进行限制。It should be understood that the various forms of processes shown above can be used to reorder, add or delete steps. For example, the steps described in the present invention can be executed in parallel, sequentially or in different orders, as long as the desired results of the technical solution of the present invention can be achieved, and this document does not limit this.
上述实施例中提供的探头检测装置、示波器及存储介质可执行本发明任意实施例所提供的探头检测方法,具备执行该方法相应的功能模块和有益效果。未在上述实施例中详尽描述的技术细节,可参见本发明任意实施例所提供的探头检测方法。The probe detection device, oscilloscope and storage medium provided in the above embodiments can execute the probe detection method provided in any embodiment of the present invention, and have the corresponding functional modules and beneficial effects of executing the method. For technical details not described in detail in the above embodiments, please refer to the probe detection method provided in any embodiment of the present invention.
上述具体实施方式,并不构成对本发明保护范围的限制。本领域技术人员应该明白的是,根据设计要求和其他因素,可以进行各种修改、组合、子组合和替代。任何在本发明的精神和原则之内所作的修改、等同替换和改进等,均应包含在本发明保护范围之内。The above specific implementations do not constitute a limitation on the protection scope of the present invention. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions can be made according to design requirements and other factors. Any modification, equivalent substitution and improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims (10)

  1. 一种示波器探头,其特征在于,包括信号测试路径和检测电路,其中:An oscilloscope probe, characterized in that it comprises a signal test path and a detection circuit, wherein:
    所述信号测试路径,用于与示波器的示波器通道连接,将被测信号送至所述示波器通道;The signal test path is used to connect to an oscilloscope channel of an oscilloscope and send the measured signal to the oscilloscope channel;
    所述检测电路中包括电容和检测连接器,所述电容的第一端接地,所述电容的第二端与所述检测连接器的第一端电连接,所述检测连接器的第二端用于与所述示波器中的识别电路连接,其中,所述电容的电容值与所述示波器探头的种类相关。The detection circuit includes a capacitor and a detection connector, the first end of the capacitor is grounded, the second end of the capacitor is electrically connected to the first end of the detection connector, and the second end of the detection connector is used to connect to the identification circuit in the oscilloscope, wherein the capacitance value of the capacitor is related to the type of the oscilloscope probe.
  2. 根据权利要求1所述的示波器探头,其特征在于,还包括:与所述电容并联的第一指示灯和/或与探头控制单元连接的第二指示灯;The oscilloscope probe according to claim 1, further comprising: a first indicator light connected in parallel with the capacitor and/or a second indicator light connected to a probe control unit;
    其中,所述第一指示灯用于在因探头异常导致流经所述第一指示灯的电流发生变化时,通过熄灭状态和亮起状态的切换来提示探头异常;所述探头控制单元位于所述示波器探头内,用于在接收到所述示波器发送的探头异常指示时,控制所述第二指示灯变更至目标工作状态,所述目标工作状态用于提示探头异常。Among them, the first indicator light is used to indicate the probe abnormality by switching between an off state and a lit state when the current flowing through the first indicator light changes due to a probe abnormality; the probe control unit is located in the oscilloscope probe, and is used to control the second indicator light to change to a target working state when receiving a probe abnormality indication sent by the oscilloscope, and the target working state is used to indicate the probe abnormality.
  3. 一种探头检测方法,其特征在于,由示波器中的处理器执行,所述示波器中还包含识别电路,所述识别电路包括电阻、恒压源和电压检测单元,所述电阻的第一端与所述电压检测单元的第一端电连接,并用于与示波器探头的检测连接器连接,所述电阻的第二端与所述恒压源的第一端连接,所述恒压源的第二端接地,所述电压检测单元的第二端与所述处理器连接;A probe detection method, characterized in that it is executed by a processor in an oscilloscope, the oscilloscope further comprising an identification circuit, the identification circuit comprising a resistor, a constant voltage source and a voltage detection unit, the first end of the resistor is electrically connected to the first end of the voltage detection unit and is used to be connected to a detection connector of the oscilloscope probe, the second end of the resistor is connected to the first end of the constant voltage source, the second end of the constant voltage source is grounded, and the second end of the voltage detection unit is connected to the processor;
    所述方法包括:The method comprises:
    获取多组电压数据,其中,每组电压数据中包含所述电压检测单元检测到的所述电阻的第一端的电压值以及该电压值对应的检测时间;Acquire multiple groups of voltage data, wherein each group of voltage data includes a voltage value of the first end of the resistor detected by the voltage detection unit and a detection time corresponding to the voltage value;
    根据所述多组电压数据确定当前示波器探头中的电容的目标电容值;Determine a target capacitance value of a capacitor in a current oscilloscope probe according to the multiple sets of voltage data;
    基于预设映射关系,根据所述目标电容值确定所述当前示波器探头的目标种类,其中,所述预设映射关系包括电容值与示波器探头的种类的对应关系。Based on a preset mapping relationship, the target type of the current oscilloscope probe is determined according to the target capacitance value, wherein the preset mapping relationship includes a corresponding relationship between the capacitance value and the type of the oscilloscope probe.
  4. 根据权利要求3所述的方法,其特征在于,所述根据所述多组电压数据确定当前示波器探头中的电容的目标电容值,包括:The method according to claim 3, characterized in that determining the target capacitance value of the capacitor in the current oscilloscope probe according to the multiple sets of voltage data comprises:
    根据所述恒压源的电压值、第一电压数据中的第一检测时间、第二电压数据中的目标电压值、以及所述第二电压数据中的第二检测时间,确定当前示波器探头中的电容的目标电容值;其中,所述第一电压数据的上一组电压数据中的电压值为所述恒压源的电压值;所述恒压源的电压值大于所述第一电压数据中的电压值;所述第二电压数据为连续多组目标电压数据中的首组电压数据;所述多组目标电压数据中的各电压值分别与所述目标电压值的绝对差值,均小于第一预设阈值;所述目标电压数据的组数大于第二预设阈值。The target capacitance value of the capacitor in the current oscilloscope probe is determined according to the voltage value of the constant voltage source, the first detection time in the first voltage data, the target voltage value in the second voltage data, and the second detection time in the second voltage data; wherein the voltage value in the previous group of voltage data of the first voltage data is the voltage value of the constant voltage source; the voltage value of the constant voltage source is greater than the voltage value in the first voltage data; the second voltage data is the first group of voltage data in multiple consecutive groups of target voltage data; the absolute difference between each voltage value in the multiple groups of target voltage data and the target voltage value is less than a first preset threshold; and the number of groups of target voltage data is greater than a second preset threshold.
  5. 根据权利要求4所述的方法,其特征在于,在所述基于预设映射关系,根据所述目标电容值确定所述当前示波器探头的目标种类之后,还包括:The method according to claim 4, characterized in that after determining the target type of the current oscilloscope probe according to the target capacitance value based on the preset mapping relationship, it also includes:
    将所述示波器中相应的通道参数设置为与所述目标种类相匹配的目标参数值;Setting corresponding channel parameters in the oscilloscope to target parameter values matching the target category;
    继续获取多组电压数据,若所获取的多组电压数据中电压值的变化满足预设变化规律,则保持所述通道参数的参数值为所述目标参数值;Continue to acquire multiple sets of voltage data, and if changes in voltage values in the acquired multiple sets of voltage data satisfy a preset change rule, maintain the parameter value of the channel parameter as the target parameter value;
    其中,所述预设变化规律包括:从第一电压值升至峰值后,在预设时长内下降至第二电压值;以及,所述第一电压值和所述第二电压值分别与所述目标电压值的绝对差值,均小于所述第一预设阈值。Among them, the preset change rule includes: after rising from a first voltage value to a peak value, it drops to a second voltage value within a preset time period; and the absolute differences between the first voltage value and the second voltage value and the target voltage value, respectively, are both less than the first preset threshold.
  6. 根据权利要求4所述的方法,其特征在于,还包括:The method according to claim 4, further comprising:
    继续获取多组电压数据,若所获取的多组电压数据中电压值的变化满足预设变化规律,则通过所述示波器的显示装置输出预设异常提示信息和/或向所述当前示波器探头中的探头控制单元发送探头异常指示;Continue to acquire multiple sets of voltage data, and if changes in voltage values in the acquired multiple sets of voltage data satisfy a preset change rule, output preset abnormal prompt information through the display device of the oscilloscope and/or send a probe abnormality indication to a probe control unit in the current oscilloscope probe;
    其中,所述探头异常指示用于指示所述探头控制单元控制所述当前示波器探头中的指示灯变更至目标工作状态,所述目标工作状态用于提示探头异常;Wherein, the probe abnormality indication is used to instruct the probe control unit to control the indicator light in the current oscilloscope probe to change to a target working state, and the target working state is used to indicate probe abnormality;
    其中,所述预设变化规律包括:从第一电压值升至峰值后,在预设时长内下降至第二电压值;以及,所述第一电压值和所述第二电压值分别与所述目标电压值的绝对差值,均小于所述第一预设阈值。Among them, the preset change rule includes: after rising from a first voltage value to a peak value, it drops to a second voltage value within a preset time period; and the absolute differences between the first voltage value and the second voltage value and the target voltage value, respectively, are both less than the first preset threshold.
  7. 一种探头检测装置,其特征在于,集成于示波器中,所述示波器中还包含识别电路,所述识别电路包括电阻、恒压源和电压检测单元,所述电阻的第一端与所述电压检测单元的第一端电连接,并用于与示波器探头的检测连接器连接,所述电阻的第二端与所述恒压源的第一端连接,所述恒压源的第二端接地,所述电压检测单元的第二端与所述处理器连接;A probe detection device, characterized in that it is integrated in an oscilloscope, the oscilloscope further comprises an identification circuit, the identification circuit comprises a resistor, a constant voltage source and a voltage detection unit, a first end of the resistor is electrically connected to a first end of the voltage detection unit and is used to be connected to a detection connector of an oscilloscope probe, a second end of the resistor is connected to a first end of the constant voltage source, a second end of the constant voltage source is grounded, and a second end of the voltage detection unit is connected to the processor;
    所述装置包括:The device comprises:
    电压数据获取模块,用于获取多组电压数据,其中,每组电压数据中包含所述电压检测单元检测到的所述电阻的第一端的电压值以及该电压值对应的检测时间;A voltage data acquisition module, used to acquire multiple groups of voltage data, wherein each group of voltage data includes a voltage value of the first end of the resistor detected by the voltage detection unit and a detection time corresponding to the voltage value;
    电容值确定模块,用于根据所述多组电压数据确定当前示波器探头中的电容的目标电容值;A capacitance value determination module, used to determine a target capacitance value of a capacitor in a current oscilloscope probe according to the plurality of sets of voltage data;
    种类确定模块,用于基于预设映射关系,根据所述目标电容值确定所述当前示波器探头的目标种类,其中,所述预设映射关系包括电容值与示波器探头的种类的对应关系。The type determination module is used to determine the target type of the current oscilloscope probe according to the target capacitance value based on a preset mapping relationship, wherein the preset mapping relationship includes a corresponding relationship between the capacitance value and the type of the oscilloscope probe.
  8. 一种示波器,包括识别电路、存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序,其特征在于,An oscilloscope comprises an identification circuit, a memory, a processor and a computer program stored in the memory and executable on the processor, characterized in that:
    所述识别电路包括电阻、恒压源和电压检测单元,所述电阻的第一端与所述电压检测单元的第一端电连接,并用于与示波器探头的检测连接器连接,所述电阻的第二端与所述恒压源的第一端连接,所述恒压源的第二端接地,所述电压检测单元的第二端与所述处理器连接;The identification circuit includes a resistor, a constant voltage source and a voltage detection unit, wherein a first end of the resistor is electrically connected to a first end of the voltage detection unit and is used to be connected to a detection connector of an oscilloscope probe, a second end of the resistor is connected to a first end of the constant voltage source, a second end of the constant voltage source is grounded, and a second end of the voltage detection unit is connected to the processor;
    所述处理器执行所述计算机程序时实现如权利要求3-6任一项所述的方法。When the processor executes the computer program, the method according to any one of claims 3 to 6 is implemented.
  9. 一种示波器系统,其特征在于,包括如权利要求1-2任一项所述的示波器探头、以及如权利要求8所述的示波器。An oscilloscope system, characterized by comprising the oscilloscope probe according to any one of claims 1 to 2, and the oscilloscope according to claim 8.
  10. 一种计算机可读存储介质,其上存储有计算机程序,其特征在于,该程序被处理器执行时实现如权利要求3-6任一项所述的方法。A computer-readable storage medium having a computer program stored thereon, characterized in that when the program is executed by a processor, the method according to any one of claims 3 to 6 is implemented.
PCT/CN2022/130230 2022-10-13 2022-11-07 Oscilloscope probe, probe detection method and apparatus, oscilloscope, system, and medium WO2024077692A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202211252327.9 2022-10-13
CN202211252327.9A CN115469125A (en) 2022-10-13 2022-10-13 Oscilloscope probe, probe detection method, device, oscilloscope, system and medium

Publications (1)

Publication Number Publication Date
WO2024077692A1 true WO2024077692A1 (en) 2024-04-18

Family

ID=84337087

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2022/130230 WO2024077692A1 (en) 2022-10-13 2022-11-07 Oscilloscope probe, probe detection method and apparatus, oscilloscope, system, and medium

Country Status (2)

Country Link
CN (1) CN115469125A (en)
WO (1) WO2024077692A1 (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4310794A (en) * 1977-11-25 1982-01-12 Simmonds Precision Products, Inc. Capacitive probe detection systems
US4672306A (en) * 1985-04-08 1987-06-09 Tektronix, Inc. Electronic probe having automatic readout of identification and status
CN1525183A (en) * 2003-02-25 2004-09-01 安捷伦科技有限公司 Probe based information storage for probes used for opens detection in in-circuit testing
CN111289786A (en) * 2020-05-13 2020-06-16 深圳市鼎阳科技股份有限公司 Probe interface circuit and probe adapter circuit for probe of oscilloscope
CN112684234A (en) * 2021-03-19 2021-04-20 深圳市鼎阳科技股份有限公司 Probe identification method of oscilloscope and oscilloscope

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4310794A (en) * 1977-11-25 1982-01-12 Simmonds Precision Products, Inc. Capacitive probe detection systems
US4672306A (en) * 1985-04-08 1987-06-09 Tektronix, Inc. Electronic probe having automatic readout of identification and status
CN1525183A (en) * 2003-02-25 2004-09-01 安捷伦科技有限公司 Probe based information storage for probes used for opens detection in in-circuit testing
CN111289786A (en) * 2020-05-13 2020-06-16 深圳市鼎阳科技股份有限公司 Probe interface circuit and probe adapter circuit for probe of oscilloscope
CN112684234A (en) * 2021-03-19 2021-04-20 深圳市鼎阳科技股份有限公司 Probe identification method of oscilloscope and oscilloscope

Also Published As

Publication number Publication date
CN115469125A (en) 2022-12-13

Similar Documents

Publication Publication Date Title
US9753445B1 (en) DUT continuity test with only digital IO structures apparatus and methods associated thereof
TW201329731A (en) Apparatus and method of identifying a USB or an MHL device
TW201307861A (en) Testing circuit
CN110658439B (en) Test method and system for protection circuit
CN104748658A (en) Method and instrument for automatically measuring loss amount of pin tip of probe card
WO2024077692A1 (en) Oscilloscope probe, probe detection method and apparatus, oscilloscope, system, and medium
CN211347212U (en) Fast detection device of full-bridge pressure sensor
CN108571998A (en) The automatic setting of alarm limit
JP6219073B2 (en) Insulation inspection equipment
JPH08123739A (en) Inactive-state termination tester
CN103529285A (en) Test equipment for automatically detecting power consumption of PCIE (Peripheral Component Interface Express) equipment
CN109061524B (en) Power supply test circuit and method
CN109900970A (en) A kind of multi channel detector capacitor automatic measurement system
RU2437138C1 (en) Method, apparatus and automated system for controlling electrical parameters of laser diode drivers
US7443253B2 (en) Detection device for detecting oscillator
CN209417253U (en) A kind of electric quantity display device
CN211741386U (en) Device for optimizing voltage probe error of oscilloscope
CN106199484A (en) Mainboard error of time of day automatic debugging system
CN219039237U (en) Measure tool of mainboard Type-C interface voltage
CN203786239U (en) Power supply line electrical on-off test device
CN205210279U (en) Small -size storage battery microcomputer tester
CN218995566U (en) Detection device of DVI unit of test system
CN105203961A (en) Small-sized storage battery electric quantity measuring instrument
CN203084059U (en) High-voltage testing apparatus based on semiconductor discrete device testing system
CN219417598U (en) High-precision loop resistance tester