CN117109508A - Device and method for testing displacement function of wireless dynamometer - Google Patents
Device and method for testing displacement function of wireless dynamometer Download PDFInfo
- Publication number
- CN117109508A CN117109508A CN202311376503.4A CN202311376503A CN117109508A CN 117109508 A CN117109508 A CN 117109508A CN 202311376503 A CN202311376503 A CN 202311376503A CN 117109508 A CN117109508 A CN 117109508A
- Authority
- CN
- China
- Prior art keywords
- pin
- resistor
- main control
- grounded
- socket
- 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.)
- Granted
Links
- 238000006073 displacement reaction Methods 0.000 title claims abstract description 33
- 238000012360 testing method Methods 0.000 title claims abstract description 20
- 238000000034 method Methods 0.000 title claims abstract description 11
- 239000002184 metal Substances 0.000 claims abstract description 67
- 230000006698 induction Effects 0.000 claims abstract description 60
- 229910000831 Steel Inorganic materials 0.000 claims abstract description 11
- 239000010959 steel Substances 0.000 claims abstract description 11
- 239000003990 capacitor Substances 0.000 claims description 46
- 230000003287 optical effect Effects 0.000 claims description 23
- 230000001960 triggered effect Effects 0.000 claims description 7
- 238000005259 measurement Methods 0.000 abstract description 9
- 238000005086 pumping Methods 0.000 abstract description 9
- 230000001133 acceleration Effects 0.000 abstract description 5
- 239000000463 material Substances 0.000 abstract description 3
- 230000000737 periodic effect Effects 0.000 abstract description 2
- 239000002699 waste material Substances 0.000 abstract description 2
- 238000010586 diagram Methods 0.000 description 10
- 230000001681 protective effect Effects 0.000 description 7
- 238000004891 communication Methods 0.000 description 3
- 238000001514 detection method Methods 0.000 description 2
- 238000012795 verification Methods 0.000 description 2
- 230000001174 ascending effect Effects 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000005540 biological transmission Effects 0.000 description 1
- 230000001939 inductive effect Effects 0.000 description 1
- 230000010354 integration Effects 0.000 description 1
- 238000012797 qualification Methods 0.000 description 1
- 230000007306 turnover Effects 0.000 description 1
Classifications
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01B—MEASURING LENGTH, THICKNESS OR SIMILAR LINEAR DIMENSIONS; MEASURING ANGLES; MEASURING AREAS; MEASURING IRREGULARITIES OF SURFACES OR CONTOURS
- G01B21/00—Measuring arrangements or details thereof, where the measuring technique is not covered by the other groups of this subclass, unspecified or not relevant
- G01B21/02—Measuring arrangements or details thereof, where the measuring technique is not covered by the other groups of this subclass, unspecified or not relevant for measuring length, width, or thickness
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01L—MEASURING FORCE, STRESS, TORQUE, WORK, MECHANICAL POWER, MECHANICAL EFFICIENCY, OR FLUID PRESSURE
- G01L25/00—Testing or calibrating of apparatus for measuring force, torque, work, mechanical power, or mechanical efficiency
- G01L25/006—Testing or calibrating of apparatus for measuring force, torque, work, mechanical power, or mechanical efficiency for measuring work or mechanical power or mechanical efficiency
Landscapes
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Arrangements For Transmission Of Measured Signals (AREA)
Abstract
The invention discloses a device and a method for testing the displacement function of a wireless dynamometer, which are used for simulating the pumping movement of a pumping unit so as to develop the wireless dynamometer. The device comprises a fixed bracket, a motor, a guide rod, a fixed table, a fixed pulley, a limiting metal induction sensor, a steel wire rope and a control circuit board. The motor drives the fixed table to do periodic motion up and down through the steel wire rope, the guide rod and the fixed pulley under the cooperation of the control circuit and the limiting metal induction sensor. The wireless indicator is fixed on the fixed table, and along with the up-down periodical motion of the fixed table, the displacement is calculated by utilizing an internal acceleration sensor of the wireless indicator, and the distance comparison between the wireless indicator and an uplink and downlink limiting metal induction sensor on the fixed support is qualified when the difference value accords with the product performance index error range of the wireless indicator. The displacement measurement function is tested before each wireless indicator leaves the factory, so that the yield of products is ensured, problems are avoided to be found after the wireless indicator is installed on the oil pumping unit, and the waste of manpower and material resources is reduced.
Description
Technical Field
The invention relates to production of a wireless dynamometer and quality detection of products, in particular to a device and a method for testing a displacement function of the wireless dynamometer.
Background
The wireless indicator is an instrument integrating load value measurement, displacement measurement and wireless communication, can automatically collect the load and stroke of the pumping unit, calculate the work diagram data, and realize remote work diagram transmission independently or through cooperation with an on-site RTU.
When the wireless indicator or verification is produced, the load value measurement can be measured through the load calibration instrument, the wireless communication function can be used for verifying with RTU communication, only the detection of the displacement function is difficult to solve, the displacement is obtained by collecting the value of an acceleration sensor arranged in the wireless indicator and integrating the acceleration, the accuracy of the displacement measurement function can not be detected before the production of the proper instrument at present, and whether the displacement measurement is accurate or not can be confirmed only after the proper instrument is installed on the pumping unit to operate on site and the calculated result is collected through the RTU and the operation displacement of the pumping unit is compared, so that manpower and material resources can be wasted, and the credibility of products can be influenced.
Disclosure of Invention
In view of the problems and conditions in the prior art, in order to solve the problem of difficult verification of the displacement measurement function of the wireless dynamometer, the invention provides a device and a method for testing the displacement function of the wireless dynamometer, which are used for simulating the pumping motion of a pumping unit so as to develop the wireless dynamometer. The device and the method can change the positions of the uplink control and the downlink control to freely adjust the up-down displacement, can test the displacement measurement function before each wireless indicator leaves a factory, and ensure the qualification rate of products.
The technical scheme adopted by the invention for realizing the purposes is as follows: the device for testing the displacement function of the wireless dynamometer comprises a fixed bracket, a motor, a guide rod with a sliding block, a fixed table, a fixed pulley, a limiting metal induction sensor, a steel wire rope and a control circuit board; the motor is arranged on a bottom plate of the fixed bracket, one end of the steel wire rope is connected to the motor, the other end of the steel wire rope is connected to the fixed table through the fixed pulley, and the fixed table is arranged on two guide rods with sliding blocks at left and right sides so as to ensure the stability of the fixed table in the moving process; the fixed pulley is arranged on the lower side of the upper plate of the fixed support, the four limit metal induction sensors are arranged on a stand column with scales of the fixed support, and the upper limit metal induction sensor, the lower limit metal induction sensor and the lower limit metal induction sensor are sequentially arranged from top to bottom; the control circuit board is arranged on the upper side of the upper plate of the fixed support, and a power line of the motor and signal lines of the four limit metal induction sensors are connected to the control circuit board.
The control circuit board is provided with an uplink protection circuit, an uplink control circuit, a downlink protection circuit, a relay control power supply circuit and a main control circuit; the control circuit comprises an uplink protection circuit, an uplink protection limiting metal sensor, a relay control power supply circuit, a downlink protection circuit, a motor and a main control circuit, wherein the uplink protection circuit is respectively connected with the uplink protection limiting metal sensor and the main control circuit, the uplink control circuit is respectively connected with the uplink limiting metal sensor and the main control circuit, the downlink control circuit is respectively connected with the downlink limiting metal sensor and the main control circuit, and the relay control power supply circuit is respectively connected with the motor and the main control circuit.
A method for testing a device for a wireless dynamometer displacement function: the device for testing the displacement function of the wireless dynamometer performs the following operations: the control circuit board is electrified, the main control chip N1 is initialized, pins PC5 and PC0 are output at low level, a switch S3 is closed, a key S1 is pressed to trigger interruption, the main control chip N1 receives interruption, the PC0 is set at high level, the control circuit board supplies power to the motor, the device starts to work, the fixed table moves along with the rotation of the motor, when the fixed table reaches a limit metal induction sensor, interruption is triggered, the main control chip N1 judges whether an up-control PC1 pin interruption signal is received, if the PC5 pin interruption signal is received, the motor is turned over, the motor reversely rotates to drive the fixed table to reversely move, a program continues to run, when the fixed table reaches the limit metal induction sensor again, the main control chip N1 judges whether an up-protection PC2 pin interruption signal or a down-protection PC4 pin interruption signal is received, if the up-protection PC2 pin interruption signal or the down-protection PC4 pin interruption signal is received, the main control chip N1 is powered down, the motor is powered down by the motor, if the up-protection PC2 pin interruption signal or the down pin interruption signal is not received, the main control chip N1 is not received, and if the up-protection PC1 pin interruption signal is reversely rotated, and if the up-protection signal is not received by the main control chip is reversely rotated, and if the PC1 pin interruption signal is continuously runs, and if the program is continuously, and the power is judged if the up protection signal is not is a down-protection signal is continuously, and the up-protection signal is a PC signal is continuously, and if the power signal is a signal is continuously, and is a signal is running signal.
The beneficial effects of the invention are as follows: the displacement measurement function can be tested before each wireless indicator leaves the factory, the yield of products is ensured, problems are avoided being found when the wireless indicator is installed on the pumping unit, and the waste of manpower and material resources is reduced.
Drawings
FIG. 1 is a block diagram of an apparatus for testing the displacement function of a wireless dynamometer according to the present invention;
FIG. 2 is a circuit connection block diagram of the control circuit board of FIG. 1;
FIG. 3 is a schematic diagram of the main control circuit of FIG. 2;
FIG. 4 is a schematic diagram of the up-going control circuit of FIG. 2;
FIG. 5 is a schematic diagram of the downstream control circuit of FIG. 2;
FIG. 6 is a schematic diagram of the up-current protection circuit of FIG. 2;
FIG. 7 is a schematic diagram of the downstream protection circuit of FIG. 2;
FIG. 8 is a schematic diagram of the relay control power supply circuit of FIG. 2;
fig. 9 is a flowchart of the operation of the control circuit board software of fig. 2.
Detailed Description
The invention is further described below with reference to the accompanying drawings.
As shown in fig. 1, the device for testing the displacement function of the wireless dynamometer comprises a fixed bracket 1, a motor 2, a guide rod 3 with a sliding block, a fixed table 4, a fixed pulley 5, a limit metal induction sensor 6, a steel wire rope 7 and a control circuit board 8; wherein, the motor 2 is arranged on the bottom plate of the fixed bracket 1, one end of the steel wire rope 7 is connected on the motor 2, the other end is connected on the fixed table 4 through the fixed pulley 5, and the fixed table 4 is arranged on the left and right guide rods 3 with sliding blocks so as to ensure the stability of the fixed table in the moving process; the fixed pulley 5 is arranged on the lower side of the upper plate of the fixed bracket 1, and the four limit metal induction sensors 6 are arranged on a column with scales of the fixed bracket 1, and are an uplink protection limit metal induction sensor, an uplink limit metal induction sensor, a downlink limit metal induction sensor and a downlink protection limit metal induction sensor in sequence from top to bottom; the control circuit board is installed in the upper side of the upper plate of fixed bolster 1, and the power cord of motor 2 and the signal line of four spacing metal inductive sensor are all connected to the control circuit board.
As shown in fig. 2, the control circuit board 8 is mounted with an uplink protection circuit, an uplink control circuit, a downlink protection circuit, a relay control power supply circuit and a main control circuit; the control circuit comprises an upper protective circuit, a lower protective circuit, a relay control power supply circuit, a motor 2 and a main control circuit, wherein the upper protective circuit is respectively connected with the upper protective limit metal induction sensor and the main control circuit, the upper control circuit is respectively connected with the upper protective limit metal induction sensor and the main control circuit, the lower protective circuit is respectively connected with the lower protective limit metal induction sensor and the main control circuit, and the relay control power supply circuit is respectively connected with the motor 2 and the main control circuit.
After the device is electrified, the motor drives the fixed table to do periodic motion up and down through the cooperation of the control circuit and the limiting metal induction sensor through the steel wire rope, the guide rod with the sliding block and the fixed pulley. The wireless indicator is fixed on the fixed table, and along with the up-down periodical motion of the fixed table, the displacement is calculated by utilizing an internal acceleration sensor of the wireless indicator, and the distance comparison between the wireless indicator and an uplink and downlink limiting metal induction sensor on the fixed support is qualified when the difference value accords with the product performance index error range of the wireless indicator.
As shown in fig. 3, the main control circuit adopts a main control chip N1 with a model of STM32L475, a pin 1 of the main control chip N1 is connected with one end of a capacitor C14 and one end of a capacitor C30, and the other end of the capacitor C14 and the other end of the capacitor C30 are grounded; the 32 pin of the main control chip N1 is connected with one end of the capacitor C11 and one end of the capacitor C21, the other end of the capacitor C11 and the other end of the capacitor C21 are grounded, the 64 pin of the main control chip N1 is connected with one end of the capacitor C3 and one end of the capacitor C32, and the other end of the capacitor C3 and the other end of the capacitor C32 are grounded; the 60 pins of the main control chip N1 are respectively connected with one end of a resistor R9 and one end of a key S2, the other end of the resistor R9 is grounded, and the other end of the key S2 is connected with 3.3V through a resistor R8; the pin 49 of the main control chip N1 is respectively connected with one end of the resistor R10 and one end of the key S1, the other end of the resistor R10 is grounded, and the other end of the key S1 is connected with 3.3V through the resistor R16.
As shown in fig. 4, the uplink control circuit comprises a socket XS3 and an optical coupler OP3, wherein one end of the uplink limiting metal induction sensor is fixed on the fixed bracket, and the other end of the uplink limiting metal induction sensor is inserted into the socket XS 3; the 1 pin of the socket XS3 is grounded, the 3 pin is connected with 12VIN, the 2 pin is connected with one end of a resistor R18, the other end of the resistor R18 is connected with the 1 pin of the optical coupler OP3, the 2 pin of the optical coupler OP3 is grounded, the 3 pin is connected with the 9 pin of the main control chip N1, the 4 pin is connected with one end of a resistor R17, and the other end of the resistor R17 is connected with 3.3V.
As shown in fig. 5, the downlink control circuit comprises a socket XS5 and an optical coupler OP5, wherein one end of the downlink limiting metal induction sensor is fixed on the fixed bracket, and the other end of the downlink limiting metal induction sensor is inserted into the socket XS 5; the 1 pin of the socket XS5 is grounded, the 3 pin is connected with 12VIN, the 2 pin is connected with one end of a resistor R22, the other end of the resistor R22 is connected with the 1 pin of the optical coupler OP5, the 2 pin of the optical coupler OP5 is grounded, the 3 pin is connected with the 11 pin of the main control chip N1, the 4 pin is connected with one end of a resistor R21, and the other end of the resistor R21 is connected with 3.3V.
As shown in fig. 6, the uplink protection circuit includes a socket XS1, a socket XS4, an optocoupler OP4, a P-channel MOS transistor VT1, and an NPN transistor VT2; one end of the uplink protection limit metal induction sensor is fixed on the fixed bracket, the other end of the uplink protection limit metal induction sensor is inserted into the socket XS4, the 1 pin of the socket XS4 is grounded, the 3 pin of the socket XS4 is connected with 12VIN, the 2 pin of the socket XS is connected with one end of a resistor R20, the other end of the resistor R20 is connected with the 1 pin of an optical coupler OP4, the 2 pin of the optical coupler OP4 is grounded, the 3 pin of the resistor R4 is connected with the 10 pin of a main control chip N1, the 4 pin of the resistor R19 is connected with one end, and the other end of the resistor R19 is connected with 3.3V; the 2-pin VIN of the P-channel MOS tube VT1, the 3-pin is connected with one end of the inductor L4, the other end of the resistor R13 is connected with the 1-pin of the P-channel MOS tube VT1, the anode of the voltage-stabilizing diode Z1 is connected with the 3-pin of the NPN transistor VT2, the 2-pin of the NPN transistor VT2 is grounded, the 1-pin is connected with one end of the resistor R15, the other end of the resistor R14 is connected with the 8-pin of the main control chip N1, the other end of the resistor R15 is grounded, the other end of the inductor L4 is connected with the cathode of the diode D5, the anode of the diode D5 is connected with the 2-pin of the socket XS1 (motor power supply input) through the switch S3, and the 1-pin of the socket XS1 is grounded.
As shown in fig. 7, the downlink protection circuit includes a socket XS1, a socket XS6, an optocoupler OP6, a P-channel MOS transistor VT1, and an NPN transistor VT2; one end of the downlink protection limit metal induction sensor is fixed on the fixed bracket, the other end of the downlink protection limit metal induction sensor is inserted into the socket XS6, the 1 pin of the socket XS6 is grounded, the 3 pin of the socket XS6 is connected with 12VIN, the 2 pin of the socket XS is connected with one end of a resistor R24, the other end of the resistor R24 is connected with the 1 pin of an optical coupler OP6, the 2 pin of the optical coupler OP6 is grounded, the 3 pin of the resistor R3 is connected with the 24 pin of a main control chip N1, the 4 pin of the resistor R23 is connected with one end, and the other end of the resistor R23 is connected with 3.3V; the 2-pin VIN of the P-channel MOS tube VT1, the 3-pin is connected with one end of the inductor L4, the other end of the resistor R13 is connected with one end of the resistor R13, the other end of the resistor R13 is connected with the 1-pin of the P-channel MOS tube VT1, the anode of the voltage-stabilizing diode Z1 is connected with the 3-pin of the NPN transistor VT2, the 2-pin of the NPN transistor VT2 is grounded, one end of the resistor R15 is connected with one end of the resistor R14, the other end of the resistor R14 is connected with the 8-pin of the main control chip N1, the other end of the resistor R15 is grounded, the other end of the inductor L4 is connected with the cathode of the diode D5, the anode of the diode D5 is connected with the 2-pin of the socket XS1 through the switch S3, and the 1-pin of the socket XS1 is grounded.
As shown in fig. 8, the relay control power supply circuit includes a relay K1, a relay K2, a socket XS2, an optocoupler OP1, and an optocoupler OP2; the relay K1 is connected with the pin 4 and the pin 5, and is connected with one end of a capacitor C12 and one end of a capacitor C15, and is connected with the pin 1 of a socket XS2 (power supply output of a motor), the other end of the capacitor C12 is connected with one end of a resistor R1, the other end of the resistor R1 is connected with the pin 3 of the relay K1, and is grounded, the other end of the capacitor C15 is connected with one end of a resistor R2, the other end of the resistor R2 is connected with the pin 6 of the relay K1, and is connected with the pin 2 of a P-channel MOS tube VT1, the cathode of a diode D3 is connected with the pin 8 of the relay K1, the anode is connected with the pin 1 of the relay K1, and is connected with the pin 4 of an optocoupler OP1, the pins 2 and 3 of the optocoupler OP1 are grounded, one end of the pin 1 is connected with one end of a resistor R5, and is connected with the pin 25 of a master control chip N1, one end of the capacitor C8 is connected with the pin 8 of the relay K1, and the other end of the capacitor C8 is grounded. The 4 feet and the 5 feet of the relay K2 are connected with one end of the capacitor C16 and one end of the capacitor C17, the relay K2 is connected with the 2 feet of the socket XS2, the other end of the capacitor C16 is connected with one end of the resistor R6, the other end of the resistor R6 is connected with the 3 feet of the relay K2, the 2 feet of the P-channel MOS tube VT1 is connected, the other end of the capacitor C17 is connected with one end of the resistor R7, the other end of the resistor R7 is connected with the 6 feet of the relay K2 and is grounded, the cathode of the diode D4 is connected with the 8 feet of the relay K2, the anode is connected with the 1 foot of the relay K2 and is grounded, the 4 feet of the optocoupler OP2 are connected with one end of the resistor R12, the 25 feet of the master control chip N1 are connected with one end of the resistor C13, the 8 feet of the relay K2 are connected with the other end of the resistor C13, and the other end of the capacitor C13 is grounded.
As shown in fig. 2 to 8, the operator supplies power to two paths of the control circuit board, one path supplies power to the main control circuit (12V), the other path supplies power to the motor (10-24V), after the main control circuit board is powered on, the switch S3 is closed, the key S1 is pressed, the main control chip N1 is set to be high, the control circuit board supplies power to the motor, the device starts to work, the motor rotates with the fixed table to move upwards, when the fixed table reaches the up limit metal induction sensor, the up control circuit is triggered, the 1 pin of the optical coupler OP3 is high, the 3 pin and the 4 pin are conducted, the 3 pin outputs a high level, after the 9 pin (PC 1) of the main control chip N1 receives an interrupt signal, the 25 th pin (PC 5) is set to be high, after the coils of the relay K1 and the relay K2 are conducted, the 3 pin and the 4 pin of the relay K2 are sucked, XS2 turns over to drive the fixed table to move downwards, when reaching the descending limit metal induction sensor, the descending control circuit is triggered, the 1 foot of the optical coupler OP5 is high, the 3 foot and the 4 foot are conducted, the 3 foot outputs high level, the 11 foot (PC 3) of the main control chip N1 is set to be low after receiving an interrupt signal, the 25 th foot (PC 5) is set to be low, after the coils of the relay K1 and the relay K2 are disconnected, the 5 foot and the 6 foot of the relay K1 and the relay K2 are sucked, the socket XS2 turns over to drive the motor to turn over to drive the fixed table to move upwards, the acceleration sensor in the wireless indicator is used for calculating displacement through integration, the calculated result is acquired through RTU and the distance between the ascending limit metal induction sensor and the descending limit metal induction sensor fixed on the bracket is compared, and the difference value accords with the product performance index error range of the wireless indicator, and is qualified.
The uplink and downlink protection circuits are based on the consideration of the operation safety of the device, when the fixed table reaches the uplink limiting metal induction sensor, the uplink control circuit fails, the motor can drive the fixed table to continue to move upwards, when the fixed table reaches the top of the fixed bracket, the fixed table is blocked and can not move any more, the motor is always rotating, a wire rope can be broken, after the uplink protection circuit is added, when the fixed table reaches the uplink protecting limiting metal induction sensor, a protection mechanism is triggered, the 1 pin of the optocoupler OP4 is arranged high, the 4 pin is used for interrupting the 10 pin (PC 2) of the main control chip N1, the 8 th pin (PC 0) is arranged low immediately after the main control chip N1 receives the interruption, the power supply of the motor is closed, and the device stops working; when the fixed station reaches the downlink limiting metal induction sensor, the downlink control circuit fails, the motor can continuously move downwards with the fixed station, so that operation is disordered, after the downlink protection circuit is added, when the fixed station reaches the downlink protection limiting metal induction sensor, a protection mechanism is triggered, the 1 pin of the optical coupler OP6 is arranged high, the 4 pin is used for interrupting the 24 pin (PC 4) of the main control chip N1, the 8 th pin (PC 0) is arranged low immediately after the main control chip N1 receives the interruption, the motor is turned off, and the device stops working.
As shown in fig. 9, the control circuit board is powered on, the main control chip N1 is initialized, pins PC5 and PC0 are output at low level, a switch S3 is closed, a key S1 is pressed to trigger interruption, after the main control chip N1 receives interruption, the PC0 is set at high level, the control circuit board supplies power to the motor, the device starts to work, the fixed table moves along with the rotation of the motor, when the fixed table reaches the limit metal induction sensor, interruption is triggered, the main control chip N1 judges whether an uplink control PC1 pin interruption signal is received, if the PC1 pin interruption signal is received, the PC5 pin level is inverted, the motor is turned over to enable the motor to reversely rotate, the fixed table is driven to reversely move, the program continues to run, when the fixed table reaches the limit metal induction sensor again, the main control chip N1 judges whether an uplink protection PC2 pin interruption signal or a downlink protection PC4 pin interruption signal is received, if the signal is an uplink protection PC2 pin interrupt signal or a downlink protection PC4 pin interrupt signal, the main control chip N1 sets the PC0 level low, the motor is powered off, the device stops running, if the signal is not the uplink protection PC2 pin interrupt signal or the downlink protection PC4 pin interrupt signal, the program continues running, the main control chip N1 judges whether the signal is an uplink control PC1 pin interrupt signal or not, if the signal is not the PC1 pin interrupt signal, the main control chip N1 judges whether the signal is a downlink control PC3 pin interrupt signal or not, if the signal is the PC3 pin interrupt signal, the PC5 pin level is inverted, the motor is powered on and turned over, the motor is reversely rotated to drive the fixed table to reversely move, if the signal is not the PC3 pin interrupt signal, the main control chip N1 judges whether the signal is the uplink protection PC2 pin interrupt signal or the downlink protection PC4 pin interrupt signal or not, the program runs circularly all the time according to the flow.
Claims (9)
1. The device for testing the displacement function of the wireless dynamometer is characterized by comprising a fixed support (1), a motor (2), a guide rod (3) with a sliding block, a fixed table (4), a fixed pulley (5), a limiting metal induction sensor (6), a steel wire rope (7) and a control circuit board (8);
the motor (2) is arranged on a bottom plate of the fixed support (1), one end of the steel wire rope (7) is connected to the motor (2), the other end of the steel wire rope is connected to the fixed table (4) through the fixed pulley (5), and the fixed table (4) is arranged on two guide rods (3) with sliding blocks at left and right sides so as to ensure the stability of the fixed table in the moving process; the fixed pulleys (5) are arranged on the lower side of an upper plate of the fixed support (1), and the four limit metal induction sensors (6) are arranged on a column with scales of the fixed support (1) and sequentially comprise an uplink protection limit metal induction sensor, an uplink limit metal induction sensor, a downlink limit metal induction sensor and a downlink protection limit metal induction sensor from top to bottom; the control circuit board is arranged on the upper side of the upper plate of the fixed support (1), and the power line of the motor (2) and the signal lines of the four limit metal induction sensors are connected to the control circuit board.
2. The device for testing the displacement function of the wireless dynamometer according to claim 1, wherein an uplink protection circuit, an uplink control circuit, a downlink protection circuit, a relay control power supply circuit and a main control circuit are arranged on the control circuit board (8); the control circuit comprises an uplink protection circuit, an uplink protection limiting metal induction sensor, a main control circuit, a relay control power supply circuit, a motor (2) and a main control circuit, wherein the uplink protection circuit is respectively connected with the uplink protection limiting metal induction sensor and the main control circuit, the uplink control circuit is respectively connected with the uplink limiting metal induction sensor and the main control circuit, the downlink control circuit is respectively connected with the downlink limiting metal induction sensor and the main control circuit, and the downlink protection circuit is respectively connected with the downlink protection limiting metal induction sensor and the main control circuit.
3. The device for testing the displacement function of the wireless dynamometer according to claim 2, wherein the main control circuit adopts a main control chip N1 with the model STM32L475, and 1 pin of the main control chip N1
One end of the capacitor C14 is connected with one end of the capacitor C30, and the other end of the capacitor C14 is grounded with the other end of the capacitor C30; the 32 pin of the main control chip N1 is connected with one end of the capacitor C11 and one end of the capacitor C21, the other end of the capacitor C11 and the other end of the capacitor C21 are grounded, the 64 pin of the main control chip N1 is connected with one end of the capacitor C3 and one end of the capacitor C32, and the other end of the capacitor C3 and the other end of the capacitor C32 are grounded; the 60 pins of the main control chip N1 are respectively connected with one end of a resistor R9 and one end of a key S2, the other end of the resistor R9 is grounded, and the other end of the key S2 is connected with 3.3V through a resistor R8; the pin 49 of the main control chip N1 is respectively connected with one end of the resistor R10 and one end of the key S1, the other end of the resistor R10 is grounded, and the other end of the key S1 is connected with 3.3V through the resistor R16.
4. The device for testing the displacement function of the wireless dynamometer according to claim 3, wherein the uplink control circuit comprises a socket XS3 and an optical coupler OP3, one end of the uplink limiting metal induction sensor is fixed on the fixed bracket, and the other end of the uplink limiting metal induction sensor is inserted into the socket XS 3; the 1 pin of the socket XS3 is grounded, the 3 pin is connected with 12VIN, the 2 pin is connected with one end of a resistor R18, the other end of the resistor R18 is connected with the 1 pin of the optical coupler OP3, the 2 pin of the optical coupler OP3 is grounded, the 3 pin is connected with the 9 pin of the main control chip N1, the 4 pin is connected with one end of a resistor R17, and the other end of the resistor R17 is connected with 3.3V.
5. The device for testing the displacement function of the wireless dynamometer according to claim 4, wherein the downlink control circuit comprises a socket XS5 and an optical coupler OP5, one end of the downlink limiting metal sensor is fixed on the fixed bracket, and the other end of the downlink limiting metal sensor is inserted into the socket XS 5; the 1 pin of the socket XS5 is grounded, the 3 pin is connected with 12VIN, the 2 pin is connected with one end of a resistor R22, the other end of the resistor R22 is connected with the 1 pin of the optical coupler OP5, the 2 pin of the optical coupler OP5 is grounded, the 3 pin is connected with the 11 pin of the main control chip N1, the 4 pin is connected with one end of a resistor R21, and the other end of the resistor R21 is connected with 3.3V.
6. The device for testing the displacement function of the wireless dynamometer according to claim 5, wherein the uplink protection circuit comprises a socket XS1, a socket XS4, an optocoupler OP4, a P-channel MOS transistor VT1 and an NPN transistor VT2; one end of the uplink protection limit metal induction sensor is fixed on the fixed bracket, the other end of the uplink protection limit metal induction sensor is inserted into the socket XS4, the 1 pin of the socket XS4 is grounded, the 3 pin of the socket XS4 is connected with 12VIN, the 2 pin of the socket XS is connected with one end of a resistor R20, the other end of the resistor R20 is connected with the 1 pin of an optical coupler OP4, the 2 pin of the optical coupler OP4 is grounded, the 3 pin of the resistor R4 is connected with the 10 pin of a main control chip N1, the 4 pin of the resistor R19 is connected with one end, and the other end of the resistor R19 is connected with 3.3V;
the 2-pin VIN of the P-channel MOS tube VT1, the 3-pin is connected with one end of the inductor L4, the other end of the resistor R13 is connected with one end of the resistor R13, the other end of the resistor R13 is connected with the 1-pin of the P-channel MOS tube VT1, the anode of the voltage-stabilizing diode Z1 is connected with the 3-pin of the NPN transistor VT2, the 2-pin of the NPN transistor VT2 is grounded, one end of the resistor R15 is connected with one end of the resistor R14, the other end of the resistor R14 is connected with the 8-pin of the main control chip N1, the other end of the resistor R15 is grounded, the other end of the inductor L4 is connected with the cathode of the diode D5, the anode of the diode D5 is connected with the 2-pin of the socket XS1 through the switch S3, and the 1-pin of the socket XS1 is grounded.
7. The device for testing the displacement function of the wireless dynamometer of claim 6, wherein the downlink protection circuit comprises a socket XS1, a socket XS6, an optocoupler OP6, a P-channel MOS transistor VT1 and an NPN transistor VT2; one end of the downlink protection limit metal induction sensor is fixed on the fixed bracket, the other end of the downlink protection limit metal induction sensor is inserted into the socket XS6, the 1 pin of the socket XS6 is grounded, the 3 pin of the socket XS6 is connected with 12VIN, the 2 pin of the socket XS is connected with one end of a resistor R24, the other end of the resistor R24 is connected with the 1 pin of an optical coupler OP6, the 2 pin of the optical coupler OP6 is grounded, the 3 pin of the resistor R3 is connected with the 24 pin of a main control chip N1, the 4 pin of the resistor R23 is connected with one end, and the other end of the resistor R23 is connected with 3.3V;
the 2-pin VIN of the P-channel MOS tube VT1, the 3-pin is connected with one end of the inductor L4, the other end of the resistor R13 is connected with one end of the resistor R13, the other end of the resistor R13 is connected with the 1-pin of the P-channel MOS tube VT1, the anode of the voltage-stabilizing diode Z1 is connected with the 3-pin of the NPN transistor VT2, the 2-pin of the NPN transistor VT2 is grounded, one end of the resistor R15 is connected with one end of the resistor R14, the other end of the resistor R14 is connected with the 8-pin of the main control chip N1, the other end of the resistor R15 is grounded, the other end of the inductor L4 is connected with the cathode of the diode D5, the anode of the diode D5 is connected with the 2-pin of the socket XS1 through the switch S3, and the 1-pin of the socket XS1 is grounded.
8. The device for testing the displacement function of the wireless dynamometer according to claim 7, wherein the relay control power supply circuit comprises a relay K1, a relay K2, a socket XS2, an optocoupler OP1 and an optocoupler OP2; the 4 pin and the 5 pin of the relay K1 are connected with one end of a capacitor C12 and one end of a capacitor C15, and are connected with the 1 pin of a socket XS2 at the same time, the other end of the capacitor C12 is connected with one end of a resistor R1, the other end of the resistor R1 is connected with the 3 pin of the relay K1 and is grounded at the same time, the other end of the capacitor C15 is connected with one end of a resistor R2, the other end of the resistor R2 is connected with the 6 pin of the relay K1 and is connected with the 2 pin of a P channel MOS tube VT1 at the same time, the cathode of a diode D3 is connected with the 8 pin of the relay K1, the anode is connected with the 1 pin of the relay K1 and is connected with the 4 pin of an optocoupler OP1 at the same time, the 2 pin and the 3 pin of the optocoupler OP1 is grounded, one end of the 1 pin is connected with the 25 pin of a main control chip N1 at the same time, one end of the capacitor C8 is connected with the 8 pin of the relay K1 at the same time, and the other end of the capacitor C8 is grounded at the same time;
the 4 feet and the 5 feet of the relay K2 are connected with one end of the capacitor C16 and one end of the capacitor C17, the relay K2 is connected with the 2 feet of the socket XS2, the other end of the capacitor C16 is connected with one end of the resistor R6, the other end of the resistor R6 is connected with the 3 feet of the relay K2, the 2 feet of the P-channel MOS tube VT1 is connected, the other end of the capacitor C17 is connected with one end of the resistor R7, the other end of the resistor R7 is connected with the 6 feet of the relay K2 and is grounded, the cathode of the diode D4 is connected with the 8 feet of the relay K2, the anode is connected with the 1 foot of the relay K2 and is grounded, the 4 feet of the optocoupler OP2 are connected with one end of the resistor R12, the 25 feet of the master control chip N1 are connected with one end of the resistor C13, the 8 feet of the relay K2 are connected with the other end of the resistor C13, and the other end of the capacitor C13 is grounded.
9. A method according to any of claims 1 to 8, wherein the means for testing the displacement function of the wireless dynamometer performs the following operations:
the control circuit board is electrified, the main control chip N1 is initialized, pins PC5 and PC0 are output at low level, a switch S3 is closed, a key S1 is pressed to trigger interruption, the main control chip N1 receives interruption, the PC0 is set at high level, the control circuit board supplies power to the motor, the device starts to work, the fixed table moves along with the rotation of the motor, when the fixed table reaches a limit metal induction sensor, interruption is triggered, the main control chip N1 judges whether an up-control PC1 pin interruption signal is received, if the PC5 pin interruption signal is received, the motor is turned over, the motor reversely rotates to drive the fixed table to reversely move, a program continues to run, when the fixed table reaches the limit metal induction sensor again, the main control chip N1 judges whether an up-protection PC2 pin interruption signal or a down-protection PC4 pin interruption signal is received, if the up-protection PC2 pin interruption signal or the down-protection PC4 pin interruption signal is received, the main control chip N1 is powered down, the motor is powered down by the motor, if the up-protection PC2 pin interruption signal or the down pin interruption signal is not received, the main control chip N1 is not received, and if the up-protection PC1 pin interruption signal is reversely rotated, and if the up-protection signal is not received by the main control chip is reversely rotated, and if the PC1 pin interruption signal is continuously runs, and if the program is continuously, and the power is judged if the up protection signal is not is a down-protection signal is continuously, and the up-protection signal is a PC signal is continuously, and if the power signal is a signal is continuously, and is a signal is running signal.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202311376503.4A CN117109508B (en) | 2023-10-24 | 2023-10-24 | Device and method for testing displacement function of wireless dynamometer |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202311376503.4A CN117109508B (en) | 2023-10-24 | 2023-10-24 | Device and method for testing displacement function of wireless dynamometer |
Publications (2)
Publication Number | Publication Date |
---|---|
CN117109508A true CN117109508A (en) | 2023-11-24 |
CN117109508B CN117109508B (en) | 2024-03-12 |
Family
ID=88811387
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202311376503.4A Active CN117109508B (en) | 2023-10-24 | 2023-10-24 | Device and method for testing displacement function of wireless dynamometer |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN117109508B (en) |
Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN202836532U (en) * | 2012-08-29 | 2013-03-27 | 合肥海德数控液压设备有限公司 | Hydraulic press ejection oil cylinder pull wire-type position accurate detection device |
CN103488191A (en) * | 2013-09-27 | 2014-01-01 | 浙江水利水电学院 | Distributed leveling controller circuit |
CN206053885U (en) * | 2016-06-16 | 2017-03-29 | 上海嘉地仪器有限公司 | Double guiding support devices for being oriented to electronic dragging instrument |
CN108825210A (en) * | 2018-05-23 | 2018-11-16 | 大庆市亿动科技有限公司 | Integrated telemetering indicator based on baroceptor |
CN108896088A (en) * | 2018-05-07 | 2018-11-27 | 中国石油天然气股份有限公司长庆油田分公司技术监测中心 | A kind of indicator displacement calibrating installation and method |
CN109115634A (en) * | 2018-10-17 | 2019-01-01 | 福州大学 | It can accurately measure the falling weight impact test platform and test method of shock loading and dynamic displacement |
CN209976531U (en) * | 2019-03-07 | 2020-01-21 | 中国石油天然气集团有限公司 | Integrated indicator |
CN210795419U (en) * | 2019-09-06 | 2020-06-19 | 宝鸡文理学院 | Construction elevator monitor terminal |
CN114183124A (en) * | 2020-09-15 | 2022-03-15 | 中国石油天然气股份有限公司 | Dynamometer load displacement integrated calibration device and calibration method |
-
2023
- 2023-10-24 CN CN202311376503.4A patent/CN117109508B/en active Active
Patent Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN202836532U (en) * | 2012-08-29 | 2013-03-27 | 合肥海德数控液压设备有限公司 | Hydraulic press ejection oil cylinder pull wire-type position accurate detection device |
CN103488191A (en) * | 2013-09-27 | 2014-01-01 | 浙江水利水电学院 | Distributed leveling controller circuit |
CN206053885U (en) * | 2016-06-16 | 2017-03-29 | 上海嘉地仪器有限公司 | Double guiding support devices for being oriented to electronic dragging instrument |
CN108896088A (en) * | 2018-05-07 | 2018-11-27 | 中国石油天然气股份有限公司长庆油田分公司技术监测中心 | A kind of indicator displacement calibrating installation and method |
CN108825210A (en) * | 2018-05-23 | 2018-11-16 | 大庆市亿动科技有限公司 | Integrated telemetering indicator based on baroceptor |
CN109115634A (en) * | 2018-10-17 | 2019-01-01 | 福州大学 | It can accurately measure the falling weight impact test platform and test method of shock loading and dynamic displacement |
CN209976531U (en) * | 2019-03-07 | 2020-01-21 | 中国石油天然气集团有限公司 | Integrated indicator |
CN210795419U (en) * | 2019-09-06 | 2020-06-19 | 宝鸡文理学院 | Construction elevator monitor terminal |
CN114183124A (en) * | 2020-09-15 | 2022-03-15 | 中国石油天然气股份有限公司 | Dynamometer load displacement integrated calibration device and calibration method |
Also Published As
Publication number | Publication date |
---|---|
CN117109508B (en) | 2024-03-12 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN101818632A (en) | Digital automatic oil extraction control system | |
CN104101830B (en) | Keyboard testing machine | |
CN203773021U (en) | PCBA board test device | |
CN104166085A (en) | PCBA board testing device | |
CN102879198B (en) | Speed limiter test table for elevator and testing system thereof | |
CN104062577A (en) | Keyboard Testing Machine | |
CN102642750B (en) | Digital elevators system control housing test macro and method | |
CN101912995B (en) | High-performance online cutting-off device | |
CN117109508B (en) | Device and method for testing displacement function of wireless dynamometer | |
CN208517454U (en) | Tuyere puncher | |
CN105236207A (en) | Intelligent servo tensioner | |
CN106643607A (en) | Lathe cylindrical shell circular run-out detection device and circular run-out detection method | |
CN106525105A (en) | Sensor automatic testing device | |
CN207263562U (en) | A kind of Friction Tester | |
CN206561957U (en) | Micro packaging device | |
CN219601652U (en) | Quantitative weighing and packaging equipment | |
CN208285737U (en) | High-precision full-automatic chip mounter | |
CN201129995Y (en) | Engine cylinder cap air valve spring detecting machine | |
CN209589016U (en) | PIN needle Laser Welding intelligence cutting machine testing agency | |
CN204831370U (en) | Check out test set for relay | |
CN210719102U (en) | Automatic thickness measuring device for lithium ion battery | |
CN207407832U (en) | workpiece identification and detection platform | |
CN207930734U (en) | A kind of PVC pipe process equipment with length measuring device | |
CN207528830U (en) | Electric operator Hall element Auto-Test System | |
CN206213403U (en) | Foxing strip for rubber shoes width self-operated measuring unit |
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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant |