CN113203947A - Switch sensor test platform - Google Patents

Switch sensor test platform Download PDF

Info

Publication number
CN113203947A
CN113203947A CN202110544238.0A CN202110544238A CN113203947A CN 113203947 A CN113203947 A CN 113203947A CN 202110544238 A CN202110544238 A CN 202110544238A CN 113203947 A CN113203947 A CN 113203947A
Authority
CN
China
Prior art keywords
circuit
power supply
switch sensor
voltage
motor
Prior art date
Legal status (The legal status 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 status listed.)
Pending
Application number
CN202110544238.0A
Other languages
Chinese (zh)
Inventor
童海宇
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Wenzhou Haidu Electronic Technology Co ltd
Original Assignee
Wenzhou Haidu Electronic Technology Co ltd
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 Wenzhou Haidu Electronic Technology Co ltd filed Critical Wenzhou Haidu Electronic Technology Co ltd
Priority to CN202110544238.0A priority Critical patent/CN113203947A/en
Publication of CN113203947A publication Critical patent/CN113203947A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R31/00Arrangements for testing electric properties; Arrangements for locating electric faults; Arrangements for electrical testing characterised by what is being tested not provided for elsewhere
    • G01R31/327Testing of circuit interrupters, switches or circuit-breakers
    • 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/04Housings; Supporting members; Arrangements of terminals
    • G01R1/0408Test fixtures or contact fields; Connectors or connecting adaptors; Test clips; Test sockets
    • G01R1/0416Connectors, terminals

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Tests Of Electronic Circuits (AREA)

Abstract

The invention discloses a switch sensor testing platform which comprises a control chip and an interface circuit, wherein a tested switch sensor is connected with the control chip through the interface circuit, the interface circuit is used for monitoring quiescent current, working current and working voltage drop of the tested switch sensor, and a touch screen for information interaction with the control chip is also connected onto the control chip. Through the test platform, the test of five core parameters of quiescent current, working voltage drop, response frequency and power supply range of the switch sensor can be realized simultaneously, and the test platform is simple and convenient to operate and high in accuracy.

Description

Switch sensor test platform
Technical Field
The invention relates to a switch sensor testing platform.
Background
At present, a traditional switch sensor tester simply indicates the on-off of a switch sensor only through an LED lamp or a buzzer, and lacks of testing five core parameters of quiescent current, working voltage drop, response frequency and power supply range of the switch sensor.
In the prior art, if the core parameters are to be tested, separate instruments are required to perform detection one by one, for example, an oscilloscope is used for acquiring frequency, a universal meter is used for testing leakage current, and the like, so that the detection is time-consuming and labor-consuming in operation, and a general operator cannot quickly master a test method.
Disclosure of Invention
Aiming at the defects of the prior art, the invention provides a test platform for a switch sensor, which can simultaneously test five core parameters of quiescent current, working voltage drop, response frequency and power supply range of the switch sensor, and has the advantages of simple operation and high accuracy.
In order to achieve the above purpose, the present invention provides a switch sensor testing platform, which includes a control chip and an interface circuit, wherein a switch sensor to be tested is connected to the control chip through the interface circuit, the interface circuit is used for monitoring quiescent current, working current and working voltage drop of the switch sensor to be tested, and the control chip is further connected to a touch screen for information interaction therewith. Through the interface circuit, the quiescent current, the working current and the working voltage drop of the tested switch can be monitored.
The invention can be further set that the interface circuit comprises a first binding post, a second binding post, a third binding post, a fourth binding post, a first relay, a second relay, a first triode, a second triode, a static current acquisition module and a working current acquisition module;
first terminal and second terminal all meet through first relay and adjustable voltage, the second triode meets with first relay, and be used for controlling first relay switch on or break off, be connected with first voltage drop monitoring module on the branch that first terminal and first relay meet, be connected with the voltage monitoring module who is used for real-time supervision to go out adjustable voltage value on the branch that second terminal and first relay meet, the third terminal meets through second relay and adjustable voltage, and select to switch on with quiescent current collection module or switch on with operating current collection module through the switching of second relay, first triode meets with the second relay, and be used for controlling the switching selection of second relay, be connected with second voltage drop monitoring module on the fourth terminal.
The arrangement is mainly used for the existing switch sensors and generally comprises a two-wire switch sensor, a three-wire NPN switch sensor and a three-wire PNP switch sensor. When the two-wire switch sensor is tested, the positive pole and the negative pole of the two-wire switch sensor are respectively connected with the first wiring terminal and the third wiring terminal; when the tested three-wire NPN switch sensor is used, the signal end, the positive electrode and the negative electrode of the three-wire NPN switch sensor are respectively connected with the first binding post, the second binding post and the third binding post; when the three-wire PNP switch sensor is tested, the anode, the cathode and the signal end of the three-wire PNP switch sensor are respectively connected with the second, the third and the fourth binding posts, so that the quiescent current, the working current and the working voltage drop of the tested switch sensor can be correspondingly monitored through the first and the second voltage drop monitoring modules, the quiescent current acquisition module and the working current acquisition module, and meanwhile, because the first and the second relays are connected with adjustable voltage, the regulated voltage value can be monitored in real time through the voltage monitoring module, and the power supply range of the tested switch sensor can be tested. In conclusion, the testing device can test three different types of switch sensors, namely the two-wire switch sensor, the three-wire NPN switch sensor and the three-wire PNP switch sensor through the four binding posts, and is simple and convenient to operate and high in accuracy. In addition, compared with a test platform which can only test one type of switch sensor, the invention has better universality and saves the hardware requirement on the interface circuit part.
The invention can also be further arranged to further comprise an external power supply circuit, an internal power supply circuit, a working state indicating circuit and a power supply regulating circuit;
the external power supply circuit is connected with a power supply, and supplies the power supply voltage to the power supply regulating circuit and the internal power supply circuit after being reduced and regulated;
the internal power supply circuit reduces and regulates the voltage regulated by the external power supply circuit again and then supplies the voltage to the working state indicating circuit and the control chip;
the working state indicating circuit is connected with the control chip and is used for indicating the working state of the switch sensor in the test process and the type of the tested switch sensor;
the power supply regulating circuit is used for regulating the voltage supplied to the interface circuit.
By adopting the scheme, the input power supply can be converted into the power supply voltage required by the work of each hardware through the regulation and voltage reduction of the external power supply circuit and the internal power supply circuit; the working state and the type of the tested switch sensor can be indicated through the working state indicating circuit; the power supply regulating circuit is used for regulating the voltage supplied to the interface circuit so as to test the power supply range of the tested switch sensor.
The invention can also be further arranged to further comprise a motor for driving the tested switch sensor to act, the motor is connected with the control chip through a motor interface circuit, a motor speed regulating circuit for regulating the rotating speed of the motor and a motor rotating speed detection circuit for monitoring the rotating speed of the motor in real time are connected between the motor and the control chip, a motor working power supply circuit is arranged between the motor and the external power supply circuit, and the motor working power supply circuit is used for converting the voltage provided by the external power supply circuit into the voltage required by the motor to work and providing the voltage for the motor.
The motor drives the tested switch sensor to act, so that the response frequency of the tested switch sensor can be tested, meanwhile, the rotating speed of the motor can be correspondingly adjusted through the motor speed adjusting circuit, and the rotating speed value of the motor can be monitored in real time through the motor rotating speed detecting circuit, so that the rotating speed of the motor can be better adjusted.
The invention can be further provided that the working current acquisition module is formed by connecting a first resistor and a second voltage stabilizing diode; the static current acquisition module is formed by connecting a second resistor and a first voltage stabilizing diode, wherein the resistance value of the second resistor is 100 times that of the first resistor. Therefore, the precision of the two current tests can be effectively improved.
The invention can be further set that the static current and the working current measured by the interface circuit are collected and selected by the collection selection circuit, and the collected current analog signal is converted into a current digital signal by the signal conversion circuit and is provided to the control chip. This further contributes to achieving accurate measurement.
The invention can be further set that the touch screen is connected with the control chip through the touch screen interface circuit. Therefore, information interaction between the touch screen and the control chip can be realized.
The invention has the beneficial effects that: through the test platform, the test of five core parameters of quiescent current, working voltage drop, response frequency and power supply range of the switch sensor can be realized simultaneously, and the test platform is simple and convenient to operate and high in accuracy. Meanwhile, the invention can meet the test of three different types of switch sensors, namely a two-wire switch sensor, a three-wire NPN switch sensor and a three-wire PNP switch sensor, has better universality and saves the hardware requirement on an interface circuit part.
Drawings
FIG. 1 is a functional block diagram of the present invention;
FIG. 2 is a circuit diagram of a signal conversion circuit;
FIG. 3 is a circuit diagram of an acquisition selection circuit;
FIG. 4 is a circuit diagram of a control chip;
FIG. 5 is a circuit diagram of an interface circuit;
FIG. 6 is a circuit diagram of an external power supply circuit;
FIG. 7 is a circuit diagram of a power supply regulation circuit;
FIG. 8 is a circuit diagram of an internal power supply circuit;
FIG. 9 is a circuit diagram of an operating condition indicating circuit;
FIG. 10 is a circuit diagram of a touch screen interface circuit;
FIG. 11 is a circuit diagram of a motor operating power supply circuit;
FIG. 12 is a circuit diagram of a motor speed regulation circuit;
FIG. 13 is a circuit diagram of a motor speed detection circuit;
fig. 14 is a circuit diagram of a motor interface circuit.
Detailed Description
As shown in fig. 1 to 14, a switch sensor test platform is provided, which includes a control chip and an interface circuit, a circuit diagram of the control chip is shown in fig. 4, a switch sensor to be tested is connected to the control chip through the interface circuit, the interface circuit is used for monitoring a quiescent current, a working current and a working voltage drop of the switch sensor to be tested, the control chip is further connected to a touch screen for information interaction therewith, the touch screen is connected to the control chip through the touch screen interface circuit, and a circuit diagram of the touch screen interface circuit is shown in fig. 10.
As shown in fig. 5, the interface circuit specifically includes a first terminal, a second terminal, a third terminal, a fourth terminal, a first relay JK1, a second relay JK2, a first triode Q1, a second triode Q2, a quiescent current acquisition module, and a working current acquisition module;
the first terminal, the bk (npn) 1 connection terminal of fig. 5; the second terminal, BN1 connection on fig. 5; the third terminal, the BU1 connection terminal on fig. 5; the fourth terminal is the BK (PNP) 1 terminal shown in FIG. 5. The working current acquisition module is formed by connecting a first resistor R1 and a second voltage-stabilizing diode DZ 2; the static current acquisition module is formed by connecting a second resistor R2 and a first voltage-stabilizing diode DZ1, wherein the resistance value of the second resistor R2 is 100 times that of the first resistor R1.
The first wiring terminal and the second wiring terminal are connected with an adjustable voltage through a first relay JK1, a second triode Q2 is connected with a first relay JK1 and used for controlling the first relay JK1 to be switched on or switched off, a branch circuit of the first wiring terminal connected with the first relay JK1 is connected with a first voltage drop monitoring module, and the connection parts of R17, R20 and DZ4 on the attached diagram 5 form the first voltage drop monitoring module. A branch circuit of the second terminal connected with the first relay JK1 is connected with a voltage monitoring module for monitoring an adjustable voltage value in real time, and the connection parts of R8, R10 and DZ3 in fig. 5 form the voltage monitoring module. The third terminal is connected with an adjustable voltage through a second relay JK2, and is switched to be conducted with a static current acquisition module or a working current acquisition module through the switching of a second relay JK2, a first triode Q1 is connected with a second relay JK2 and is used for controlling the switching selection of the second relay JK2, a fourth terminal is connected with a second voltage drop monitoring module, and the connection parts of R15, R22, R16, R21, DZ5 and DZ6 in the attached figure 5 form the second voltage drop monitoring module.
The arrangement is mainly used for the existing switch sensors and generally comprises a two-wire switch sensor, a three-wire NPN switch sensor and a three-wire PNP switch sensor. When the two-wire switch sensor is tested, the positive pole and the negative pole of the two-wire switch sensor are respectively connected with the first wiring terminal and the third wiring terminal; when the tested three-wire NPN switch sensor is used, the signal end, the positive electrode and the negative electrode of the three-wire NPN switch sensor are respectively connected with the first binding post, the second binding post and the third binding post; when the three-wire PNP switch sensor is tested, the anode, the cathode and the signal end of the three-wire PNP switch sensor are respectively connected with the second, the third and the fourth binding posts, so that the quiescent current, the working current and the working voltage drop of the tested switch sensor can be correspondingly monitored through the first and the second voltage drop monitoring modules, the quiescent current acquisition module and the working current acquisition module, and meanwhile, because the first and the second relays are connected with adjustable voltage, the regulated voltage value can be monitored in real time through the voltage monitoring module, and the power supply range of the tested switch sensor can be tested.
The invention also comprises an external power supply circuit (such as a circuit diagram shown in figure 6), an internal power supply circuit (such as a circuit diagram shown in figure 8), an operating state indicating circuit (such as a circuit diagram shown in figure 9) and a power supply regulating circuit (such as a circuit diagram shown in figure 7);
in the circuit diagram of fig. 6, the corresponding interface is a DC power socket, the diode D4 plays a role in protection against reverse connection in the circuit, the diode D5 plays a role in protection against surge of the external power supply, the F1 is a recoverable fuse, and plays a role in protection against circuit break, and the LED2 plays a role in power indication.
In the circuit diagram of fig. 8, U5 converts the 36V power supply voltage converted by the external power supply circuit into 5V power supply to the operating state indicating circuit; u6 converts the 36V power supply voltage converted by the external power supply circuit into 3.3V power supply to the control chip.
The working state indicating circuit is connected with the control chip and used for indicating the working state of the switch sensor testing process and the type of the tested switch sensor, as shown in the circuit diagram of fig. 9, the circuit mainly comprises a common anode three-color LED which is respectively red, green and blue, and the three colors respectively correspond to the testing states of the two-wire switch sensor, the three-wire NPN switch sensor and the three-wire PNP switch sensor.
The power supply regulating circuit is used for regulating the voltage supplied to the interface circuit, in the circuit diagram of fig. 7, U4 is an adjustable LDO (low dropout linear regulator), RP1 is an external adjustable resistor, and the power supply voltage of the switch sensor under test is regulated through RP 1.
By adopting the scheme, the input power supply can be converted into the power supply voltage required by the work of each hardware through the regulation and voltage reduction of the external power supply circuit and the internal power supply circuit; the working state and the type of the tested switch sensor can be indicated through the working state indicating circuit; the power supply regulating circuit is used for regulating the voltage supplied to the interface circuit so as to test the power supply range of the tested switch sensor.
The invention also comprises a motor for driving the tested switch sensor to act, wherein the motor is connected with the control chip through a motor interface circuit (as a circuit diagram shown in fig. 14), a motor speed regulating circuit (as a circuit diagram shown in fig. 12) for regulating the rotating speed of the motor and a motor rotating speed detection circuit (as a circuit diagram shown in fig. 13) for monitoring the rotating speed of the motor in real time are also connected between the motor and the control chip, in fig. 12, one part of the motor speed regulating circuit is a voltage division feedback circuit consisting of R35 and RP2, wherein RP2 is an external adjustable resistor, and the rotating speed of the motor is regulated through RP 2; the other part is a PWM driving circuit composed of Q7 and Q8. In fig. 13, U8 is a motor speed detecting sensor, which detects the actual speed of the motor in real time through U8.
A motor working power supply circuit (as a circuit diagram shown in fig. 11) is arranged between the motor and the external power supply circuit, and the motor working power supply circuit is used for converting the 36V voltage provided by the external power supply circuit into 9V voltage required by the motor to work and providing the 9V voltage for the motor.
The motor drives the tested switch sensor to act, so that the response frequency of the tested switch sensor can be tested, meanwhile, the rotating speed of the motor can be correspondingly adjusted through the motor speed adjusting circuit, and the rotating speed value of the motor can be monitored in real time through the motor rotating speed detecting circuit, so that the rotating speed of the motor can be better adjusted.
The quiescent current and the working current measured by the interface circuit are collected and selected by a collection selection circuit (such as a circuit diagram shown in fig. 3), and the collected current analog signal is converted into a current digital signal by a signal conversion circuit (such as a circuit diagram shown in fig. 2) and is provided for the control chip. The circuit shown in fig. 2 mainly adopts a high-performance ADC U1 chip manufactured by TI corporation, and the ADC has a sampling precision of 16bit and a sampling rate of 300K, thereby ensuring accurate measurement of quiescent current of the switch sensor within 10 uA; the circuit shown in fig. 3 mainly comprises a 2-to-1U 2 analog switch, and the main function of the switch is to connect the signals of the quiescent current and the working current to the sampling and measuring terminal of the ADC according to the instruction of the control chip.
In conclusion, the test platform can simultaneously test five core parameters of the quiescent current, the working voltage drop, the response frequency and the power supply range of the switch sensor, and is simple and convenient to operate and high in accuracy. Meanwhile, the invention can meet the test of three different types of switch sensors, namely a two-wire switch sensor, a three-wire NPN switch sensor and a three-wire PNP switch sensor, has better universality and saves the hardware requirement on an interface circuit part.

Claims (7)

1. A switch sensor test platform which characterized in that: the device comprises a control chip and an interface circuit, wherein a tested switch sensor is connected with the control chip through the interface circuit, the interface circuit is used for monitoring the quiescent current, the working current and the working voltage drop of the tested switch sensor, and the control chip is also connected with a touch screen for information interaction with the control chip.
2. The switch sensor test platform of claim 1, wherein: the interface circuit comprises a first binding post, a second binding post, a third binding post, a fourth binding post, a first relay, a second relay, a first triode, a second triode, a static current acquisition module and a working current acquisition module;
first terminal and second terminal all meet through first relay and adjustable voltage, the second triode meets with first relay, and be used for controlling first relay switch on or break off, be connected with first voltage drop monitoring module on the branch that first terminal and first relay meet, be connected with the voltage monitoring module who is used for real-time supervision to go out adjustable voltage value on the branch that second terminal and first relay meet, the third terminal meets through second relay and adjustable voltage, and select to switch on with quiescent current collection module or switch on with operating current collection module through the switching of second relay, first triode meets with the second relay, and be used for controlling the switching selection of second relay, be connected with second voltage drop monitoring module on the fourth terminal.
3. The switch sensor test platform of claim 2, wherein: the power supply circuit also comprises an external power supply circuit, an internal power supply circuit, a working state indicating circuit and a power supply regulating circuit;
the external power supply circuit is connected with a power supply, and supplies the power supply voltage to the power supply regulating circuit and the internal power supply circuit after being reduced and regulated;
the internal power supply circuit reduces and regulates the voltage regulated by the external power supply circuit again and then supplies the voltage to the working state indicating circuit and the control chip;
the working state indicating circuit is connected with the control chip and is used for indicating the working state of the switch sensor in the test process and the type of the tested switch sensor;
the power supply regulating circuit is used for regulating the voltage supplied to the interface circuit.
4. The switch sensor test platform of claim 3, wherein: the motor is connected with the control chip through a motor interface circuit, a motor speed regulating circuit used for regulating the rotating speed of the motor and a motor rotating speed detection circuit used for monitoring the rotating speed of the motor in real time are connected between the motor and the control chip, a motor working power supply circuit is arranged between the motor and an external power supply circuit, and the motor working power supply circuit is used for converting voltage provided by the external power supply circuit into voltage required by the motor to work and providing the voltage for the motor.
5. The switch sensor test platform of claim 2, 3 or 4, wherein: the working current acquisition module is formed by connecting a first resistor and a second voltage stabilizing diode; the static current acquisition module is formed by connecting a second resistor and a first voltage stabilizing diode, wherein the resistance value of the second resistor is 100 times that of the first resistor.
6. The switch sensor test platform of claim 1 or 2 or 3 or 4, wherein: the static current and the working current measured by the interface circuit are collected and selected through the collection selection circuit, and the collected current analog signals are converted into current digital signals through the signal conversion circuit and are provided to the control chip.
7. The switch sensor test platform of claim 1 or 2 or 3 or 4, wherein: the touch screen is connected with the control chip through a touch screen interface circuit.
CN202110544238.0A 2021-05-19 2021-05-19 Switch sensor test platform Pending CN113203947A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110544238.0A CN113203947A (en) 2021-05-19 2021-05-19 Switch sensor test platform

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110544238.0A CN113203947A (en) 2021-05-19 2021-05-19 Switch sensor test platform

Publications (1)

Publication Number Publication Date
CN113203947A true CN113203947A (en) 2021-08-03

Family

ID=77031745

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110544238.0A Pending CN113203947A (en) 2021-05-19 2021-05-19 Switch sensor test platform

Country Status (1)

Country Link
CN (1) CN113203947A (en)

Similar Documents

Publication Publication Date Title
US6384608B1 (en) Battery tester using internal resistance to measure a condition of a battery
US6388448B1 (en) Electronic battery tester with normal/cold test modes and terminal connection detection
US4315204A (en) Ripple detector for automotive alternator battery charging systems
CN105508049B (en) A kind of master controller and control method for diesel engine monitoring system
US4314193A (en) Field coil fault detector for automotive alternator battery charging systems
CN111157841B (en) Fault quick positioning device for secondary circuit of electric operation type isolating switch
CN213181942U (en) Be applicable to BMS simulation front end and gather chip functional test frock
CN116593924A (en) Power module test system
CN109387717B (en) Handheld portable servo valve tester and testing method
CN113203947A (en) Switch sensor test platform
CN212932876U (en) On-board relay contact detection circuit
CN111474401B (en) High-voltage charged display device with fault detection function and fault detection method
CN201765302U (en) Device for detecting performances of Hall integrated circuit
CN113777452B (en) DC system grounding test device and method for voltage self-adaptive station
CN111426926A (en) Surge protector detector and detection method thereof
CN115050237A (en) Automobile engine rotating speed control practical training device and control method
CN214751575U (en) Voltage compensation circuit, voltage compensation device and voltage compensation automation equipment
CN213275769U (en) Novel low-voltage loop resistance tester
CN209656796U (en) A kind of detecting tool of SCR system diagnostic device
CN111123073B (en) Quick self-checking device of hardware board card
CN210863881U (en) Improved generation segmentation return circuit resistance tester
CN211348522U (en) Subway vehicle IGBT fault detection device
CN104833875B (en) The coalignment and automatic matching method of transformer secondary lateral load
CN219625616U (en) Test system for detecting electrical property of coil product
CN201110966Y (en) Detector of electrical motorcycle controller

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination