Disclosure of Invention
This section is for the purpose of summarizing some aspects of embodiments of the invention and to briefly introduce some preferred embodiments. In this section, as well as in the abstract and the title of the invention of this application, simplifications or omissions may be made to avoid obscuring the purpose of the section, the abstract and the title, and such simplifications or omissions are not intended to limit the scope of the invention.
The present invention has been made in view of the above and/or other problems occurring in the conventional test tools.
Therefore, the invention aims to provide an intelligent hardware tool detection system which can be used for carrying out multiple function tests on a fire hydrant, and has the advantages of high tool testing efficiency, good integration level and simplicity in operation.
To solve the above technical problem, according to an aspect of the present invention, the present invention provides the following technical solutions:
an intelligent hardware tool detection system, comprising:
the detection probe is contacted with a test point of the hardware to be detected;
an electronic control unit comprising:
MCU;
the current sampling circuit is configured to receive a power consumption detection output signal of the MCU, output current to a test point of the hardware to be tested through the detection probe, and collect a resistance voltage reduction value of the current sampling circuit and transmit the resistance voltage reduction value back to the MCU;
the voltage detection circuit is configured to receive a voltage detection output signal of the MCU, output a specified voltage signal to a test point of the hardware to be detected through the detection probe, and collect a voltage value of the hardware to be detected and transmit the voltage value back to the MCU;
the pressure detection circuit is configured to receive a pressure detection output signal of the MCU, output a specified voltage signal to a test point of the hardware to be detected through the detection probe, and collect a pressure measurement value of the hardware to be detected and transmit the pressure measurement value back to the MCU;
the liquid level detection circuit is configured to receive a liquid level detection output signal of the MCU, output a specified electrical signal to a test point of the hardware to be detected through the detection probe, and collect a liquid level state of the hardware to be detected and transmit the liquid level state back to the MCU;
the Bluetooth function detection circuit is configured to receive the MCU Bluetooth function detection output signal, output a specified signal to the hardware to be detected through the Bluetooth wireless module, and collect a return signal of the hardware to be detected and transmit the return signal to the MCU;
and the upper computer outputs instructions to the MCU and receives signals returned by the MCU.
As a preferred scheme of the intelligent hardware tool detection system, the top of the base is provided with a first support frame and a second support frame which are perpendicular to the base and are symmetrically arranged;
the first rotating assembly comprises a turnover plate arranged between the first support frame and the second support frame, a first motor for driving the turnover plate to turn over relative to the first support frame and the second support frame, and a first motor driver which is electrically connected with the electric control unit and drives the first motor to operate;
the second rotating assembly comprises a second motor arranged at the bottom of the turnover plate, a test platform positioned at the upper part of the turnover plate and connected with the output end of the second motor, and a second motor driver electrically connected with the electric control unit and driving the second motor to operate, and the test platform is provided with a detection probe;
the pressing assembly comprises guide posts symmetrically arranged on the test platform, a support plate fixed on the top of the guide posts, and a cylinder barrel arranged on the top of the support plate, wherein a piston rod penetrates through a telescopic cylinder at the bottom of the support plate, and a pressing plate which is connected with the end part of the piston rod of the telescopic cylinder and can ascend or descend along the guide posts;
the electronic control unit comprises an angle detection circuit which is configured to collect the turning angle of the hardware to be detected and transmit the turning angle back to the MCU.
As a preferable scheme of the intelligent hardware tool detection system, the first motor and the second motor are both servo motors.
As a preferable scheme of the intelligent hardware tool detection system, a through guide hole is formed in the surface of the pressure plate, the guide hole is sleeved on the outer wall of the guide post, and the diameter of the guide hole is the same as the outer diameter of the guide post.
Compared with the prior art, the invention has the beneficial effects that:
1. through the cooperation of guide post, clamp plate and test probe, can be fast accurate place the hardware that awaits measuring, guarantee that the hardware test point that awaits measuring and test probe contact are good.
2. Through the cooperation rotation of first rotating assembly and second rotating assembly, can simulate each angle of the hardware that awaits measuring and empty to the realization is to the function short-term test that empties of the hardware that awaits measuring.
3. MCU, voltage detection circuit, pressure detection circuit, liquid level detection circuit, bluetooth function detection circuit and the current sampling circuit through setting up in the automatically controlled part to communicate with the host computer, can detect all functions of hardware that await measuring on a testing platform, test fixture is efficient, and the integrated level is good, only needs to operate the host computer model moreover and can test easy operation convenience.
Detailed Description
In order to make the aforementioned objects, features and advantages of the present invention comprehensible, embodiments accompanied with figures are described in detail below.
Next, the present invention will be described in detail with reference to the drawings, wherein for convenience of illustration, the cross-sectional view of the device structure is not enlarged partially according to the general scale, and the drawings are only examples, which should not limit the scope of the present invention. In addition, the three-dimensional dimensions of length, width and depth should be included in the actual fabrication.
In order to make the objects, technical solutions and advantages of the present invention more apparent, embodiments of the present invention will be described in detail with reference to the accompanying drawings.
Fig. 1 is a schematic block diagram of an embodiment of an intelligent hardware tool detection system according to the present invention, and referring to fig. 1, a main body of the intelligent hardware tool detection system according to the present embodiment includes a detection probe 100, an electronic control unit 200, and an upper computer 300.
The detection probe 100 is in contact with a test point of the hardware to be tested, and is used as a middle conducting medium between the electronic control unit 200 and the hardware fire hydrant to be tested, and is used for conducting an electrical signal to the hardware to be tested and returning the electrical signal to the electronic control unit 200.
The electronic control unit 200 is used for receiving the instruction output by the upper computer 300 and detecting power consumption, voltage, pressure, liquid level and Bluetooth functions of hardware to be detected. Specifically, the electronic control unit 200 includes an MCU201, a current sampling circuit 202, a voltage detection circuit 203, a pressure detection circuit 204, a liquid level detection circuit 205, and a bluetooth function detection circuit 206.
The MCU201 is used as a main control unit of the electronic control unit 200, and is configured to communicate with the upper computer 300 and send and receive commands to the current sampling circuit 202, the voltage detection circuit 203, the pressure detection circuit 204, the liquid level detection circuit 205, and the bluetooth function detection circuit 206.
The current sampling circuit 202 is configured to receive a power consumption detection output signal of the MCU201, output current to a test point of hardware to be detected through the detection probe 100, and collect a voltage drop value of a resistor of the current sampling circuit 202 and transmit the voltage drop value back to the MCU201, specifically, when detecting a power consumption function of the hardware to be detected, the current sampling circuit 202 detects current of the hardware to be detected through a series resistor connected to a wire of the detection probe 100, and tests the voltage drop value of the resistor of the current sampling circuit 202, obtain a supply current after conversion, and transmit the supply current back to the MCU201, the MCU201 determines whether the result is consistent with a preset result, and transmits the result to the upper computer 300 to determine whether the power consumption function of the hardware to be detected is normal.
The voltage detection circuit 203 is configured to receive a voltage detection output signal of the MCU201, output a specified voltage signal to a test point of the hardware to be detected through the detection probe 100, and collect a voltage value of the hardware to be detected and transmit the voltage value back to the MCU201, and particularly, when detecting a voltage function of the hardware to be detected, the voltage detection circuit 203 of the electronic control component 200 outputs the specified voltage signal to the hardware to be detected, read the voltage value uploaded by the hardware to be detected through a serial port and transmit the voltage value back to the MCU201, the MCU201 judges whether the result is consistent with a preset result or not, and uploads the result to the upper computer 300 to judge whether the voltage detection function of the hardware to be detected is normal or not.
The pressure detection circuit 204 is configured to receive a pressure detection output signal of the MCU201, output a specified voltage signal to a test point of the hardware to be detected through the detection probe 100, and collect a pressure measurement value of the hardware to be detected and transmit the pressure measurement value back to the MCU201, specifically, the pressure detection circuit 204 outputs a specified voltage signal to the hardware to be detected, read a pressure measurement value uploaded by the hardware to be detected through a serial port and transmit the pressure measurement value back to the MCU201, and the MCU201 determines whether the pressure detection function of the hardware to be detected is normal or not according to a preset result and uploads the pressure measurement value to the upper computer 300.
The liquid level detection circuit 205 is configured to receive MCU 201's liquid level detection output signal, through test probe 100 to the test point output appointed voltage signal of hardware that awaits measuring, and gather the liquid level state of hardware that awaits measuring and pass back to MCU201, it is concrete, when the liquid level to the hardware that awaits measuring is examined, liquid level detection circuit 205 outputs appointed voltage signal to the hardware that awaits measuring, read the liquid level state that the hardware that awaits measuring uploaded through the serial ports and pass back to MCU201, MCU201 judges whether unanimous with the result of predetermineeing, and upload to host computer 300, judge whether normal the liquid level function of the hardware that awaits measuring.
Bluetooth function detection circuitry 206 is configured to receive MCU201 Bluetooth function detection output signal, through bluetooth wireless module to hardware output assigned signal that awaits measuring, and gather the passback signal transmission of hardware that awaits measuring to MCU201, and is concrete, bluetooth function detection circuitry 206 is as the master, the bluetooth module of hardware that awaits measuring is as slave unit, the frock board reads the mac address by the hardware bluetooth that awaits measuring through the serial ports, the bluetooth that follows of this mac address is connected to the rethread bluetooth, connect successfully and communicate, test whether Bluetooth function is normal.
The upper computer 300 outputs an instruction to the MCU201, receives a signal transmitted back from the MCU201, and determines whether the state of the hardware to be tested is normal.
In this embodiment, this kind of intelligent hardware frock detecting system still includes the hardware positioner that awaits measuring, and electrical control unit 200 still includes angle detection circuit 207, is configured to gather the flip angle of the hardware that awaits measuring and passes back to MCU201 for fix the hardware that awaits measuring and empty the detection to the hardware that awaits measuring. Referring to fig. 2, the apparatus for positioning hardware to be tested specifically includes: a base 400, a first rotating assembly 500, a second rotating assembly 600, and a pressing assembly 700.
The base 400 is used for supporting and mounting the electric control component 200 and other components, the top of the base 400 is provided with a first support frame 401 and a second support frame 402 which are perpendicular to and symmetrically arranged with the base 400, and the first support frame 401 and the second support frame 402 are used for supporting and mounting the first rotating assembly 500.
The first rotating assembly 500 includes a flipping panel 501 disposed between the first support frame 401 and the second support frame 402, a first motor 502 for driving the flipping panel 501 to flip relative to the first support frame 401 and the second support frame 402, and a first motor driver 503 electrically connected to the electronic control unit 200 and driving the first motor 502 to operate. During specific operation, the first motor driver 503 drives the output shaft of the first motor 503 to rotate, and the first motor 503 drives the turning plate 501 to turn between the first support frame 401 and the second support frame 402, so as to drive the second rotating assembly 600 to turn.
The second rotating assembly 600 comprises a second motor 601 arranged at the bottom of the turnover plate 501, a second motor driver 603 located at the upper portion of the turnover plate 501, a test platform 602 connected with the output end of the second motor 601, and a second motor driver 603 electrically connected with the electronic control unit 200 and driving the second motor 601 to operate, wherein the test platform 602 is provided with a detection probe 100, when the test platform operates specifically, the second motor driver 603 drives the output shaft of the second motor 601 to rotate, and the second motor 601 drives the test platform 602 to rotate, so as to drive the hardware to be tested located thereon to rotate.
The pressing assembly 700 comprises guide posts 701 symmetrically arranged on the test platform 602, a support plate 702 fixed at the tops of the guide posts 701, and a cylinder barrel arranged at the top of the support plate 702, wherein a piston rod penetrates through a telescopic cylinder 703 at the bottom of the support plate 702 and is connected with the end part of the piston rod of the telescopic cylinder 703, and can ascend or descend along the guide posts 701, when the test platform operates specifically, the telescopic cylinder 703 drives the press plate 704 to descend along the guide posts 701 to be in contact with the hardware to be tested placed on the test platform 602, so as to press and fix the hardware to be tested.
With reference to fig. 1-2, the intelligent hardware tool detection system of the present embodiment specifically performs the following steps:
the hardware fire hydrant to be tested is placed on the test platform 602, the compression plate 704 is driven to descend along the guide column 701 through the telescopic cylinder 703, and is in contact with the hardware to be tested placed on the test platform 602, and the hardware to be tested is compressed and fixed.
Connecting lines of the electric control part 200 with the upper computer 300, selecting a functional item to be tested on the upper computer, and clicking to start testing.
When the power consumption function of the hardware to be detected is detected, the current sampling circuit 202 detects the current of the hardware to be detected through the resistor connected in series on the lead connected with the detection probe 100, the voltage drop value of the resistor of the current sampling circuit 202 is tested, the power supply current is obtained after conversion and is transmitted back to the MCU201, the MCU201 judges whether the result is consistent with the preset result or not, and the result is uploaded to the upper computer 300 to judge whether the power consumption function of the hardware to be detected is normal or not.
When the voltage function of the hardware to be detected is detected, the voltage detection circuit 203 outputs the level of the designated voltage to the hardware to be detected, reads the voltage value uploaded by the hardware to be detected through the serial port and transmits the voltage value back to the MCU201, and the MCU201 judges whether the voltage value is consistent with the preset result or not and uploads the result to the upper computer 300 to judge whether the voltage detection function of the hardware to be detected is normal or not.
When the pressure of the hardware to be detected can be detected, the pressure detection circuit 204 outputs the level of the designated voltage to the hardware to be detected, reads the pressure value uploaded by the hardware to be detected through the serial port and transmits the pressure value back to the MCU201, and the MCU201 judges whether the pressure value is consistent with the preset result or not and uploads the pressure value to the upper computer 300 to judge whether the pressure detection function of the hardware to be detected is normal or not.
When detecting the liquid level of the hardware to be detected, the liquid level detection circuit 205 outputs the level of the designated voltage to the hardware to be detected, reads the liquid level state uploaded by the hardware to be detected through the serial port and transmits the liquid level state back to the MCU201, and the MCU201 judges whether the liquid level state is consistent with the preset result or not and uploads the liquid level state to the upper computer 300 to judge whether the liquid level function of the hardware to be detected is normal or not.
When the bluetooth function to the hardware that awaits measuring detects, bluetooth function detection circuitry 206 is as the master, and the bluetooth module of the hardware that awaits measuring is as the slave unit, and the frock board reads the mac address by the hardware bluetooth that awaits measuring through the serial ports, and the rethread bluetooth of the address of this mac of bluetooth connection connects successfully and communicates, tests whether bluetooth function is normal.
When the toppling of the hardware to be detected is detected, the first motor driver 503 drives the output shaft of the first motor 503 to rotate, and the first motor 503 drives the turnover plate 501 to turn over between the first support frame 401 and the second support frame 402, so as to drive the second rotating assembly 600 to turn over. Meanwhile, the second motor driver 603 drives the output shaft of the second motor 601 to rotate, and the second motor 601 drives the test platform 602 to rotate, thereby driving the hardware to be tested located thereon to rotate. The angle detection circuit 207 of the electronic control unit 200 collects the turning angle of the hardware to be detected and transmits the turning angle back to the MCU201, and the MCU201 transmits the turning angle back to the upper computer 300.
While the invention has been described above with reference to an embodiment, various modifications may be made and equivalents may be substituted for elements thereof without departing from the scope of the invention. In particular, the various features of the disclosed embodiments of the invention may be used in any combination, provided that no structural conflict exists, and the combinations are not exhaustively described in this specification merely for the sake of brevity and resource conservation. Therefore, it is intended that the invention not be limited to the particular embodiments disclosed, but that the invention will include all embodiments falling within the scope of the appended claims.