• No results found

Modes of the measurement and control software

MacAdios U Diagnosis

Calibration

Pre-adjustment

Experiment

check the hardware of the MacAdios U board and TurboDrivers software

calibrate the sensors, instruments, amplifiers and the A / D converters

adjust the temperature of disk and the velocity of the spindle

. measure and control the experiments

Figure 5.1 Five modules of the software

(1) MacAdios U Diagnosis

This module is used to check the hardware of the MacAdios II board and the interface software of TurboDrivers. A/D converters check D/A converters, and vice versa, and

the in-circuit amplifiers are checked as well. Digital input and output and timer/counter inDut and outnut are also checked in this module.

Chapter 5 Software Design of M e a s u r e m e n t and Control S y s t e m 105

(2) Calibration

All the measurement chains including sensors, instruments, signal conditioners and A/D converters are calibrated. The calibrating data will be analysed and calibrating files are produced, which will be automatically called in experiment and simulation processes.

(3) Pre-adjustment

Pre-adjustment is conducted before the experiment, such as heating the disk to the required temperature and changing the velocity of spindle (disk). This module is for measurement, indication and control of the pre-adjustment process.

(4) Experiment

The experimental processes of the high temperature wear test rig can be measured and controlled automatically in this module. This is the default mode if the MacAdios II board exists in the computer. It has powerful processing functions, such as digital low-pass filter and bad-data eliminator, test rig condition monitoring based on parameter measuring with both fixed threshold and dynamic threshold judgement, software error recognition and Watchdog software process monitoring. It also has very friendly

interfaces with operators, such as clear and flexible figure displays, display scale and scroll change buttons, parameter edit fields, menu functions, soft control buttons and message feedback window.

(5) Simulation

Chapter 5 Software Design of M e a s u r e m e n t and Control S y s t e m 106

It is used to simulate the experimental process without the support of the hardware.

This is the default m o d e w h e n the M a c A d i o s II board does not exist in the computer.

This m o d e is also useful for reviewing the results of the finished experiments.

On-line help and prompt are always available on the CRT. Operations which are used frequently and should be responded quickly are triggered by soft buttons or shortcut keys. One-touch trigger m a k e s these operations easier and quicker. Almost all the screen displayed and currently active w i n d o w can be sent to the printer or saved as a postscript file for later calling. It is useful for the calibration, pre-adjustment and experiment processes. For example, the screen display and currently active w i n d o w can be transferred into Microsoft word processing series software.

The integrated software for the test rig is listed in Appendix D.

5.2 MacAdios board diagnosis process

This module checks and diagnoses almost all of the channels of the hardware of the MacAdios II board and the interface software of TurboDrivers. A / D converter and its in-circuit amplifiers, D / A converter, digital input and output, timer/counter input and output are checked in this module.

The general flowchart of the process is shown as Figure 5.2.

Chapter 5 Software Design of M e a s u r e m e n t and Control S y s t e m 107 start

window setting

"

menu setting

"

MacAdios II board type check

"

A/D and D/A check

digital input and output check

\

timer/counter check

( return j

Figure 5.2 General flowchart of MacAdios Diagnosis process

This module must be executed when the measurement and control system has been

disconnected from the wear test rig. At first, it checks what kind of MacAdios II board is installed in the computer. Then the hardware connections are required for the further checks. The checks for the different functional components are designed to be carried out mutually. For example, A/D converters read the output of D/A converters. If the mutual check is accurate or right, it is believed that both of the components are accurate or right, because it is impossible that both of the mutual check hardware are inaccurate or faulty and the mutual check are accurate or right at the same

measurement point. No extra chips and components are required in this kind of check.

Chapter 5 Software Design of Measurement and Control System 108

Therefore, accurate diagnosis can be obtained in the process and this kind of method is reliable.

Figure 5.3 is the screen copy w h e n MacAdios II Diagnosis m e n u is selected from Experiment or Simulation module. Figure 5.4 is the screen copy when the kind of board is detected.

w System

EXPERIMENTS FOR HOT ROLLING WEAR

Experiment Series:

Experiment Date:

Temper ature(C):

Material:

Rolling Sp..d(m/s):

00198 09-01-96 800 mild steel 0.20

Wright (N):

Redraw Step(ptt):

Interval's):

Trigger Tkne(min):

Pressure(MPe):

120 4 6 100 100

change of d (urn) (gall

45C

Horizontal Scroll

Are you ready to test? Please oheck all the instruments before start.

l_LJ 12_

Horizont»l Seal*

STOP 1 00:00 TIME LEFT [ START J [ COiNT. ) (p/STOP)

MacAdios 11 Diagnosis

This section checks all the functions of the MacAdios board and TurboDrivers which the measuring and controlling system will use.

Some hardware setting and preparation will be required.

A R E YOU S U R E YOU H A V E D I S C O N N E C T E D T H E W E A R T E S T RIB?

OR THE FOLLOWING CHECK PROGRAM WILL CAUSE SOME DAMAGEI

H " l

[

NO

]

coefficient (blue) 4

Figure 53 Screen copy when MacAdios Diagnosis module is triggered

In the module, there are mainly three sub-modules: A / D and D/A check sub-module, digital input and output check sub-module and timer/counter check sub-module.

Chapter 5 Software Design of Measurement and Control System 109

w 113 System I 18

EXPERIMENTS FOR HOT ROLLING WEAR

Experiment Series;

Experiment Date:

Temper ature(C):

Material:

Rolling Speed(m/j)

00171

800_

mild steel

L2L

V2:

07-19^9q Redraw Step(pts):

Interval (s):

Trigger Tlme(mfci):

FYessurKMPe):

n/j_

6Q_

100

ifl£L

Horizontal Scroll