Embodiment
As shown in Figure 1, microhardness testers computer measurement and control system of the present invention mainly is made up of microhardness testers 4, CCD camera 2, automatic sample platform 1 and control box 3, video frequency collection card (image card) 5, computer control I/O plate 6, computing machine 7, printer 8.
Described microhardness testers can adopt existing micro-hardness testing device, microhardness testers as the HT-100 model, its function and purpose are to the laboratory sample imposed load, by the impression on the camera lens observation sample, so the microhardness testers agent structure mainly contains the optical lens of the pressure head of placing example platform (being the automatic sample platform), imposed load and counterweight, observation impression.
The routine measurement of microhardness testers all is useful on the eyepiece of observing and measuring usually.The sclerometer inner optical system sends sample topography and impression to observe and test eyepiece, and this image can be sent to photograph or shooting mouth by one group of prism.
Tipping CCD camera on the photograph of microhardness testers and camera interface can be hinged with the camera of multiple model as required.Resolution is high more, and then the image adopted of computing machine is clear more.Choose the above camera of 300 lines and just can obtain better effects.
Described automatic sample platform has adopted special X-Y automatic sample platform, its structure is with reference to Fig. 2, shown in Figure 3, described X-Y automatic sample platform 1 by last, middle level moving metal platform 101 ', 102 ' and lower floor location metal platform 103 ' constitute, each metal table top by be in contact with one another the end face that slides be formed with the V-way 2 that moves mutually for upper and lower two table tops ', this V-way can make the mutual sliding contact surface minimum of upper and lower two table tops, the suffered friction force that guarantees to slide is less, is beneficial to smooth sliding; Go up with the middle level table top between guide rail with in the lower floor table top between guide rail that direction is set is vertical mutually.By synoptic diagram as seen, metal platform 101 ' with metal platform 102 ' can relatively move in the Y direction along guide rail, metal platform 102 ' with metal platform 103 ' relatively move at directions X.Be provided with between the following table on each for two springs 4 of return ', 5 ', to guarantee that sample stage is subjected to certain pulling force in moving range, reduce into hysterisis error, maintenance operates steadily, it is provided with the position can be located at the appropriate position between two table tops (position shown in Fig. 3 is signal just, not limited by this) up and down as required.The promotion of sample stage is finished by stepper motor and screw mandrel; the appropriate position of each table top side limit bit switch 6 '; when moving displacement exceeded the stroke of sample stage, limit switch cut off step motor drive module primary power, can effectively protect the stepper motor nonoverload.
As shown in Figure 4, be equipped with between V-type rail between each metal table top ball slide plate 3 ', it be on a slide plate that is suitable for settling in the V-type rail, offer a round 301 ', settle in the hole ball 302 ', like this, ball relies on the slide plate location, can overcome the defective in the prior art (jam easily takes place during rolling single row's ball each other), upper and lower two table tops rely on ball to slide, reduce the friction force of each slipping plane, guaranteed that sample stage moves steadily.
X-Y two direction motors are controlled by control box 3, computing machine sends instruction and snaps into sample automatic station control box by the 1/O on the PCI slot, two power amplifier modules is installed, with OV in the control box, but the Computer signal of SV is amplified to the OV of drive stepping motor, the SV pulse signal.Amplification module is the market sale standardized product.
The described CCD first road output of making a video recording can connect video recorder, and the CCD camera is sent out the VIDEO vision signal, and the machine that can videoed is recorded.
The native system video frequency collection card adopts the ordinary video image pick-up card, image show in real time in the window of setting size, can finish image-capture and playback by software, color, brightness, contrast, color saturation can be by software adjustment.
Optical image is sent to computing machine by CCD camera and common computer video frequency collection card (image card).
Computing machine can display image by software, sends instruction according to testing requirements, test findings is calculated, judged data are handled and statistical study, and experimental result can store and print.
Computer-implemented control is as follows:
Computer control is finished by Computer I/O plate input, output channel.24 tunnel inputs of selection standard model and 24 tunnel output I/O plates, every paths light is isolated.
Microhardness testers send one group of TTL high level by interface when work, by opening into signal operation of I/O plate, whether judge microhardness testers work.When microhardness testers in when work, computing machine locks stepper motor by program, and sample stage can not be moved, the pressure head that can effectively protect microhardness testers can not cause the pressure head damage because of maloperation mobile example platform when depressing like this.
Open into signal with the work of CPU routine inspection mode, its working line is referring to Fig. 5: external signal is imported optical coupler through R* after the R dividing potential drop, and electric current makes the triode conducting by light emitting diode, reads in the computer data line by eight D-latchs.Open into the signal correspondence for one group and one eight D-latch, every road is opened into the signal correspondence and one digit number according to line, and promptly CPU reads data from the I/O mouth.CPU judges the state of input signal by directly reading the data of I/O.
The operation of microhardness testers can be sent enabling signal by computing machine, microhardness testers are started working, the delivery outlet of computing machine by the I/O plate sends to the outside and leaves signal, and the second the road leaves the power control relay on the signal controling stepping motor driver module.When the sample automatic station stops, at any time by the primary power on the solid-state relay disconnection driver module.Third Road and the four road is left signal sends to X-Y two stepper motors respectively as pulse signal driver module.Select for use 42BYG series stepper motor generally to adopt pulsed frequency 500-2000HZ in this programme.And each the channel data input of MS-4202 switching value I/O interface board, the output response promptly can make the signal transmission frequency of port reach 10 by program at the microsecond order of magnitude
5HZ postpones through appropriate time, and software can be realized the port signal transmission frequency of 500-2000HZ.The the five the road and the six the road leaves signal sends to the forward and reverse control signal of X-Y two step motor drive modules as switching value respectively.
MS-4202 switching value I/O interface board, it leaves signal is 24 the tunnel, port circuit such as Fig. 6: computing machine send " 0 " Darlington transistor conducting, and computing machine send " 1 " Darlington transistor to end.Leave that signal is all with lock to be deposited.Leaving signal condition reads by main frame.Main frame is carried out single job to an address, has just sent one group of 8 road signal.The state latch of leaving signal is to the execution of next time write operation, and main frame can be carried out read operation at any time, with the state of the output signal that obtains switching value this moment.
Fig. 8 is the block diagram of computer control system software, can be realized by computer control system software:
1, input raw data---sample title, sample number into spectrum, test load and the dwell time.
2, image acquisition---sample topography is presented on the computer screen in real time, and can preserves.
3, image parameter is set---and color, brightness, contrast, color saturation can be set by menu.
4, the control sample stage moves---and the amount of movement of sample stage is set, and the control sample stage is finished automatically and is moved and the location.
5, programming is from dynamic test---the some points of even test in the sample certain limit, can import the coordinate of each testing site, and finish the test of each point
6, sclerometer control-, directly control sclerometer and begin test by the selected specimen test zone of computer screen.
During measurement, image is presented in the window interface on the screen in real time, and each pixel of image all has corresponding coordinate position, and the coordinate position on impression summit can determine that the catercorner length of impression can be calculated by following formula by cursor:
Wherein: d: catercorner length
K: image magnification factor
(x1, y1), (x2, y2): the diagonal line apex coordinate
(load load) after the input primary data, by measuring the impression catercorner length, program promptly can calculate the micro-vickers hardness value rapidly.
HV=1.854F/d
2
A sample is tested in multiple spot in carrying out the micro-vickers hardness measuring process usually.The data point that measures is carried out the data statistics processing automatically by computer program, and well is in the end stored and printed in the data file, comprises the following:
(1) mean value Mean value
(2) variance SD
(3) discrete CV
(4) fluctuation range Range
(5) maximal value Max value
(6) minimum M in value
Micro-vickers hardness measurement requirement precision is very high, and its key point is to measure the impression catercorner length., be sent to and collect on the computer display after the CCD camera amplifies again after amplifying through optical lens for sample topography, image has amplified 2,000 times approximately.This provides condition for carry out precision measurement on computer display.Demarcation before measuring is necessary.Native system adopts the micron chi, demarcates the amplification coefficient of whole system, and after demarcating, this cover system promptly can be obtained satisfied measuring accuracy.
By studies show that, because image amplifies through transmitting, the easier border of seeing the sample impression clearly of tester, for the most basic condition that provides accurately is provided, the scale-up factor of screen display can accurately be calibrated, the substantive test digital proof image measurement precision and the stability after amplifying significantly improve.