A kind of torque wrench dynamic and intelligent distribution verification system and method
Technical field
The present invention relates to a kind of torque wrench dynamic and intelligent distribution verification system and method.
Background technology
Torque wrench is called torque spanner, torque spanner, moment of torsion adjustable spanner, is one kind of spanner.Can divide by power source
For:Electrokinetic moment spanner, pneumatic torque wrench, hydraulic torque spanner and manual torque spanner;The device can be monitored and tighten screw thread
Torque value during fastener, the artificial destabilizing factor for perceiving force value of removal, to ensure the stability of product quality.But it is long
Phase uses, and can increase the error of spanner, is now accomplished by verifying it and being adjusted;Meanwhile, torque wrench is dispatching from the factory it
Before, it is also desirable to by detection and demarcation, just can ensure that the accuracy of itself.
The type of device for being used to examine and determine torque wrench in the prior art is relatively simple, and mostly static torque calibrating is as a result defeated
Go out single, it is impossible to the output force value of monitor in real time torque wrench, while static verification may be to having twisted again after waiting screw to fix
Tight screw causes unpredictable influence;Secondly, existing dynamic torque calibrating is more using controllers such as PLC, and processing speed is slow,
Sample frequency is low, and user interactivity is poor.Furthermore, existing equipment volume is larger, heavy, and mobility is poor.
In sum, the device of calibrating torque wrench of the prior art has that output result is single, processing speed slow, adopts
The problem that sample frequency is low, user interactivity is poor.
The content of the invention
The present invention is in order to solve the above problems, it is proposed that a kind of torque wrench dynamic and intelligent distribution verification system and side
Method, the present invention is shown the output torque of torque wrench using central processing unit in real time, and draws real-time curve, can be dynamic
Viewing moment variations.
To achieve these goals, the present invention is adopted the following technical scheme that:
A kind of torque wrench dynamic and intelligent distribution verification system, including multiple distributed calibrating subsystems laid, often
Individual calibrating subsystem is connected to each other by things-internet gateway, while connecting host computer, each calibrating subsystem at least includes power
Square collecting unit, signal processing unit and processor, wherein:
The torque collecting unit gathers the torque signals of spanner, and torque signals are converted into analog voltage signal, and will
Analog voltage signal is transmitted to signal processing unit, and the signal processing unit is converted to numeral after analog voltage signal is amplified
Voltage signal, and processor is transferred to, the standard torque that the processor applies according to digital voltage signal with sensor at that time
Sensor is demarcated, the sensitivity of the sensor is obtained, is stored with reference to identification information, further according to true by standard torque
The transducer sensitivity decided, with reference to the real-time digital voltage signal for collecting, real-time torque is obtained by interpolation algorithm.
The host computer extracts the torque data and verification result of each calibrating subsystem, carries out respective markers action and collection
Middle management, pool running, in real time display and storage torque data and verification result, by CPU system, while detecting
The operation conditions of each calibrating subsystem.
Described signal processing unit includes signal amplification circuit and ADC sampling A/D chips, and signal amplification circuit is by analog voltage
Signal is transferred to ADC sampling A/D chips after amplifying, the analog voltage signal after amplification is converted to digital electricity by the ADC sampling A/D chips
Pressure signal, and digital voltage signal is transferred to processor circuit.
The standard torque spanner applies certain torque to torque collecting unit, when then record applies the power, obtains
Magnitude of voltage and the power ratio, as sensitivity.
The processor includes that FPGA, FPGA are configured by SPI interface to ADC sampling A/D chips, control ADC chips
Sample rate and storage location.
The processor also includes arm processor, and FPGA receives the digital voltage letter that ADC chips are exported by SPI interface
Number, and it is stored in internal memory, voltage data of the arm processor in internal memory algorithm after filtering, filtered voltage number
According to being stored in internal memory, as initial data.
Arm processor first obtains the numerical value of digital voltage signal from internal memory, is then converted into actual magnitude of voltage;So
Afterwards, using the multinomial of Newton interpolation, real-time torque is calculated, in storage to internal memory, as initial data.Use pixel simultaneously
Correspond to filter real time data, the point after filtering turns into coordinate points, is placed in vector, for drawing real-time curve, is displayed in LCD
On liquid crystal display.
Further, whether CS chip selection signals of the FPGA in SPI interface controls a job for ADC chips,
ADC chip operations when wherein CS chip selection signals are low level, on the contrary do not work.
The built-in (SuSE) Linux OS of arm processor, reads the raw voltage data in internal memory, and obtain database
In demarcation information, by newton difference arithmetic, calculate real-time torque, and by result and real-time curve output to LCD liquid
Crystalline substance screen control circuit.The interpolation knot demarcated needed for obtaining Newton Interpolation Algorithm, then derives the multinomial of Newton interpolation
(f (x)), the voltage signal for then collecting is converted into torque (i.e. F=f (x)) by f (x).
If the general principle of newton difference arithmetic is the functional value done in certain interval using function f (x), it is appropriate to make
Specific function, given value is taken on these aspects, with the value of this specific function as function f (x) on other interval aspects
Approximation, can better conform to interpolation knot and increase and decrease using newton difference arithmetic.Certainly, those skilled in the art can be in this hair
On the basis of bright operation principle, by newton difference arithmetic according to the difference of different application occasion, other difference arithmetics are replaced with,
Such as Lagrange's interpolation algorithm.
The arm processor and LCD liquid crystal screen control circuits, touch screen control circuit, USB circuit, SD card circuit, ether
Network port circuit, serial port circuit and real time clock circuit are connected.
Further, the LCD liquid crystal displays controller circuitry, can drive 24 LCD liquid crystal displays, can external LCD liquid crystal displays
Data, the information that will be gathered are in real time including on screen;The brightness of backlight of LCD liquid crystal displays can be controlled simultaneously;
Further, the touch screen control circuit has two-way, supports that four-wire resistive screen is accessed all the way, and another road supports six
Line capacitance screen is accessed, more directly and convenient with user mutual;
Further, the usb circuit is USB_HOST circuits, including interface, and the VBUS ends of the interface are divided to two
Road, connects power supply all the way, separately leads up to capacity earth, and the positive terminal and negative pole end of the interface are respectively divided into three tunnels, one
Road separately leads up to protection chip ground by resistance eutral grounding, and the 3rd tunnel road is connected to processor.
Further, the Ethernet interface circuit includes RJ45 circuits and gigabit Ethernet circuit, the gigabit Ethernet
Circuit includes ethernet control chip, and ethernet control chip is connected with core controller, the RD positive poles of ethernet control chip
End and negative pole end, TD positive terminals and negative pole end are respectively connecting to network transformer, and network transformer is connected to corresponding interface.
Further, the serial port circuit is RS232 circuits all the way, including serial port chip, the serial port chip and place
The corresponding port of reason device is connected, and T1OUT ends, R1IN ends, T2OUT ends, the R2IN ends of the serial port chip are respectively by being in series
Resistance and diode ground connection.
Further, the real time clock circuit includes real-time timepiece chip, and the vdd terminal of real-time timepiece chip divides three tunnels,
Lead up to diode and be connected to power supply end, lead up to diode, resistance and the battery ground being in series, the 3rd tunnel passes through
Electric capacity and the polar capacitor ground connection being in parallel;The real-time timepiece chip SDA ends and SCL ends pass through each self-corresponding resistance respectively
It is connected to power supply end and real-time timepiece chip SDA ends and SCL ends is connected with processor respectively.
The things-internet gateway is connected with multiple calibrating subsystems, and the calibrating subsystem constitutes stelliform connection topology configuration.
Further, each subsystem has multiple torque collecting units, can external multiple sensors, all subsystems can
With synchronous acquisition, synchronization process.Likewise, single subsystem may be comprising multiple acquisition channels.
The processor can export peak value with the moment values in cumulative comparison setting time, while real-time curve is exported, and
The torque peak value that record is sampled every time, meanwhile, the present invention can carry out following function after moment information is obtained and extend:
(1) spectrum analysis function, chooses one section of data for collecting, and carries out spectrum analysis, output spectrum analysis chart;
(2) SPC production processes statistical function:Production process is counted, the unusual fluctuations to producing are reminded in time.
Calibration method based on said system, comprises the following steps:
(1) exported using standard torque spanner in each calibrating subsystem and determine power to torque collecting unit, record is corresponding
Determine the voltage data corresponding to power, calculate the sensitivity of sensor, while in recorded database, with the sensor one for determining
One correspondence, adding its sensitivity and identification information turns into a sensor passage;
(2) selection selects corresponding nominal data according to the wrench torque to be examined and determine, sets touching for each calibrating subsystem
Hair threshold value, peak holding, duration of peak value and sampling number;
(3) sampled point is sampled using torque collecting unit, sampled data is changed, is filtered, using newton
Difference arithmetic calculates correspondence torque, forms real-time M curve;
(4) corresponding peak curve, sample record and verification result are transferred to host computer by each calibrating subsystem.
Because electric wrench has the torque of itself to export specification, such as one output torque is pulled for the electronic of 100N.m
Hand;Then, assert that its qualified standard is exactly that it can normally export torque more than 100N.m.This calibration method should be one
Accreditation is caused, and realizes that the means of such standard verification are different, calibrating can be realized by microcomputer.
Static verification is the threaded fastener for being in tight condition to be continued to tighten and is just sent out between threaded engagement face
The collection of friction torque and calibrating during raw rotation.
Dynamic calibration is to use sensor to measure peak torque while bolt is tightened;
Dynamic calibration compared to static verification more can the process tightened of real-time detection, reduction really tighten data;And it is quiet
State examines and determine the tight condition just broken when tightening for the second time before ring, at some it needs to be determined that in the case of moment of torsion and uncomfortable
Close.Statistics shows that in hard link structure, static torque is generally greater than dynamic torque.
In electric wrench industry, wrenching torque output is general to change violent, is impact-type, is turned round with greater need for real-time capture
Square or torque peak, therefore the method for dynamic calibration is better.
Beneficial effects of the present invention are:
(1) present invention is dynamic calibration process, it is to avoid static torque calibrating in the prior art is unable to monitor in real time moment of torsion
The output force value of spanner, while the screw that static verification may be to having tightened again after waiting screw to fix causes unpredictable shadow
Loud problem;
(2) present invention has gathered the parallel data processing ability of FPGA and leading to for ARM using the processor of FPGA+ARM
With property, you can with the collection torque signals of high speed, also can quick process signal, improve sample frequency, enhance user mutual
Property;
(3) sample frequency of the invention can arrive 500K/ seconds, and number of significant digit has 18, and precision is high;Pole in force value can be recognized
Trickle change, is not easily susceptible to the influence of environmental change.
(4) present invention is also equipped with the LCD liquid crystal displays of full Chinese display, can in real time show Monitoring Data, and be equipped with capacitive touch
Screen is touched, operability is stronger.The present invention also supports the functions such as network data transmission, USB data transmission, SD card read-write, without even
Connect computer, so that it may realize the upload of data and share;Can store data into simultaneously in SD card, effectively solving can not
Store the problem of mass data.
Brief description of the drawings
The Figure of description for constituting the part of the application is used for providing further understanding of the present application, and the application's shows
Meaning property embodiment and its illustrated for explaining the application, does not constitute the improper restriction to the application.
Fig. 1 is display screen circuit diagram of the invention;
Fig. 2 is power supply peripheral circuit diagram schematic diagram of the invention;
Fig. 3 is the schematic diagram of USBHost interface circuit figures of the present invention;
Fig. 4 is SD card circuit diagram of the invention;
Fig. 5 is system schematic of the invention;
Fig. 6 is schematic flow sheet of the invention.
Specific embodiment:
The invention will be further described with embodiment below in conjunction with the accompanying drawings.
It is noted that described further below is all exemplary, it is intended to provide further instruction to the application.Unless another
Indicate, all technologies used herein and scientific terminology are with usual with the application person of an ordinary skill in the technical field
The identical meanings of understanding.
It should be noted that term used herein above is merely to describe specific embodiment, and be not intended to restricted root
According to the illustrative embodiments of the application.As used herein, unless the context clearly indicates otherwise, otherwise singulative
Be also intended to include plural form, additionally, it should be understood that, when in this manual use term "comprising" and/or " bag
Include " when, it indicates existing characteristics, step, operation, device, component and/or combinations thereof.
As shown in figure 5, a kind of torque wrench dynamic and intelligent distribution verification system, including multiple distributed calibratings laid
Subsystem, each calibrating subsystem is connected to each other by things-internet gateway, while connecting host computer, things-internet gateway is connected with many
Individual calibrating subsystem, the calibrating subsystem constitutes stelliform connection topology configuration, and each calibrating subsystem is at least gathered including torque
Unit, signal processing unit and processor, wherein:
Torque signals are converted into analog voltage signal by torque collecting unit, the torque signals for implementing collection spanner,
And transmit to signal processing unit analog voltage signal;
Signal processing unit includes signal amplification circuit and ADC sampling A/D chips, and signal amplification circuit is by analog voltage signal
ADC sampling A/D chips are transferred to after amplification;
Analog voltage signal after amplification is converted to digital voltage signal by ADC sampling A/D chips, and by digital voltage signal
It is transferred to processor circuit;
Processor circuit is preserved into internal memory to the digital voltage signal for receiving.Voltage of the processor circuit in internal memory
Data after filtering demarcate and spanner dynamic calibration by the laggard line sensor of algorithm;
Transducer calibration is to apply certain torque to torque collecting unit by standard torque spanner, and then record applies to be somebody's turn to do
During power, the magnitude of voltage of acquisition and the ratio of the power, as sensitivity, and recorded database;
Spanner dynamic calibration be according to the voltage data that the sensitivity that gets and Real-time Collection are arrived is demarcated, it is poor by newton
Value-based algorithm obtains real-time torque;Then, the moment values in cumulative comparison certain hour, export peak value, while real-time curve is exported,
And in each torque peak records sampled to database.
Further, in torque collecting unit, Real-time Collection torque signals are converted to analog voltage signal, and transmit
To signal processing unit.
Further, in signal processing unit, analog voltage signal is amplified, and number is converted into by ADC chips
Word voltage signal, digital voltage signal is further transferred to processor circuit;
Further, the processor circuit includes FPGA and arm processor, and FPGA is by SPI interface to ADC sampling cores
Piece is configured, and controls the sample rate and storage location of ADC chips;
Further, FPGA receives the digital voltage signal that ADC chips are exported by SPI interface, and is stored in internal memory,
Voltage data of the arm processor in internal memory algorithm after filtering, filtered voltage data is stored in internal memory, as
Initial data;
Further, the built-in (SuSE) Linux OS of arm processor, can read the raw voltage data in internal memory, and obtain
Demarcation information in database, by newton difference arithmetic, calculates real-time torque, and result and real-time curve output are arrived
LCD liquid crystal screen control circuits.
Further, CS chip selection signals of the processor FPGA in SPI interface control a job for ADC chips with
It is no, ADC chip operations when wherein CS chip selection signals are low level, on the contrary do not work.
Further, the processor circuit also with LCD liquid crystal screen control circuits, touch screen control circuit, USB circuit,
SD card circuit as shown in figure 4, Ethernet interface circuit, serial port circuit and real time clock circuit be connected;
Further, the LCD liquid crystal displays controller circuitry, can drive 24 LCD liquid crystal displays, can external LCD liquid crystal displays
Data, the information that will be gathered are in real time including on screen;The brightness of backlight of LCD liquid crystal displays can be controlled simultaneously;
Further, the touch screen control circuit has two-way, supports that four-wire resistive screen is accessed all the way, and another road supports six
Line capacitance screen is accessed, with user mutual with direct and convenient;
Further, as shown in figure 3, the usb circuit is USB_HOST circuits, including interface, the interface
VBUS ends point two-way, connects power supply all the way, separately leads up to capacity earth, and the positive terminal and negative pole end of the interface divide respectively
It is three tunnels, leads up to resistance eutral grounding, separately lead up to protection chip ground, the 3rd tunnel road is connected to processor.
Further, the Ethernet interface circuit includes RJ45 circuits and gigabit Ethernet circuit, the gigabit Ethernet
Circuit includes ethernet control chip, and ethernet control chip is connected with core controller, the RD positive poles of ethernet control chip
End and negative pole end, TD positive terminals and negative pole end are respectively connecting to network transformer, and network transformer is connected to corresponding interface.
Further, the serial port circuit is RS232 circuits all the way, including serial port chip, the serial port chip and place
The corresponding port of reason device is connected, and T1OUT ends, R1IN ends, T2OUT ends, the R2IN ends of the serial port chip are respectively by being in series
Resistance and diode ground connection.For debugging.
Further, the real time clock circuit includes real-time timepiece chip, and the vdd terminal of real-time timepiece chip divides three tunnels,
Lead up to diode and be connected to power supply end, lead up to diode, resistance and the battery ground being in series, the 3rd tunnel passes through
Electric capacity and the polar capacitor ground connection being in parallel;The real-time timepiece chip SDA ends and SCL ends pass through each self-corresponding resistance respectively
It is connected to power supply end and real-time timepiece chip SDA ends and SCL ends is connected with processor respectively.
The torque of spanner output is converted to corresponding analog voltage signal by torque sensor, and analog voltage signal passes through
After amplification, data signal is converted to by ADC chips, these data signals (i.e. electric signal) are transferred to FPGA by SPI interface.
Especially, whether the CS chip selection signals in the SPI interface of present invention design high-speed ADC chip control a job for ADC chips,
ADC chip operations when wherein CS chip selection signals are high level, on the contrary do not work.
FPGA carries out preliminary treatment to the data signal for receiving, and by it according to certain logic storage to memory grain
In DDR3 and the address of each data of arm processor is supplied to, arm processor can be according to the data in these address extraction internal memories
It is processed, the present invention is filtered using filtering algorithm to the torque data in internal memory, is then calculated using Newton interpolation
Method is recognized and processes the torque data in internal memory, and the result for recognizing and calculating will be exported by C3.Meanwhile, connect by C4
Receive user's operation.
C3 is LCD liquid crystal screen control circuits, and the present invention drives LCD screen using linux LCD drivers, by RGB888
Interface can include on LCD liquid crystal displays result of calculation in real time.
Processor includes housing, mainboard, display module, touch modules, and mainboard includes processor, internal memory, memory and phase
The peripheral circuit answered, mainboard connection display module and touch modules.
Mainboard includes:The system-level processor chips of integrated FPGA+ARM processors, DDR3 memory grains, by NAND
Memory, ADC chips, USB interface, network interface and mainboard that FLASH chip and optional expansible memory TF cards are constituted
Upper corresponding peripheral circuit.
Corresponding peripheral circuit on mainboard, including ADC sample circuit C1, processor chips (FPGA+ARM processors) periphery
Circuit C2, LCD display circuit C3, touch screen circuitry C4, usb circuit C5, SD card circuit C6, Ethernet interface circuit C7, string
Mouth circuit C8 and real time clock circuit C9.Wherein, C3 is used for display test data in real time, and C4 is used to receive user's operation, C3, C4
Common completion is interacted with user's.C5 can connect USB flash disk, and C6 can insert SD card, and C7 is used to connect internet, and C8 is used to debug, and C9 is used for
Power down time keeps.
In processor chips carry linux 3.17.0 operating systems, its peripheral circuit C2 and above-mentioned C1, C3, C4, C5,
C6, C7, C8, C9 are connected, and above-mentioned relevant device is controlled by corresponding driving.Wherein ADC is driven to independent development, leads to
Linux drivers are crossed to be configured by the SPI interface to FPGA, and then the SPI interface of FPGA can accordingly control ADC cores
Piece.Other interfaces are all linux standard devices.
Display module is 7 cun of LCD liquid crystal displays, 24bit view data;Touch modules are 7 cun of capacitance touch screens,
It is integrated on the display panel.Display board independence, is connected with mainboard using fpc-50pin winding displacements.Using full Chinese display interface, in real time
The moment values that display sampling is obtained, and real-time curve is shown, and the peak value in the setting time.Touch-screen can also be coordinated simultaneously
Curve is zoomed in and out and is moved, it is also possible to obtain the value of the point on curve, and recorded database.
A kind of display screen circuit of its implementation method is as shown in Figure 1.
Specific verification process, including:
Step one:Calibration sensor:
1.1 export determination power to torque collecting unit using standard torque spanner;
1.2 records mutually should determine that the voltage data corresponding to power;
1.3 voltage torque gradients are the sensitivity of the sensor, record the sensitivity of different sampled points to database;
Step 2:Relative parameters setting:
2.1 selections select the data of corresponding transducer calibration according to the wrench torque to be examined and determine;
2.2 set the parameters such as activation threshold value, peak holding, duration of peak value, sampling number
Step 3:Dynamic calibration:
3.1 are sampled using torque collecting unit to sampled point;
3.2 sampled point torque signals are converted into data signal, are delivered to internal memory;
3.3ARM processors read data signal from correspondence memory, after filtering after algorithm, use newton difference arithmetic
Correspondence torque is calculated, the peak value and sampling curve of instantaneous value, certain hour are then exported by LCD, and preservation is adopted every time
The peak value of sample forms sample record.
The preferred embodiment of the application is the foregoing is only, the application is not limited to, for the skill of this area
For art personnel, the application can have various modifications and variations.It is all within spirit herein and principle, made any repair
Change, equivalent, improvement etc., should be included within the protection domain of the application.
Although above-mentioned be described with reference to accompanying drawing to specific embodiment of the invention, not to present invention protection model
The limitation enclosed, one of ordinary skill in the art should be understood that on the basis of technical scheme those skilled in the art are not
Need the various modifications made by paying creative work or deformation still within protection scope of the present invention.