|
In addition to collecting data in response to the clock pattern, the test system has to collect data in response to an index pulse, which is generated by the encoder once in every revolution of the mechanism.
The package testing consist of
| 1 |
Temperature monitoring. |
| 2 |
Analog Voltage monitoring. |
| 3 |
Generating 4 MHz base clock. |
| 4 |
Issuing pulse commands. |
| 5 |
Issuing data commands |
| 6 |
Issuing level commands. |
| 7 |
8 Bit monitoring. |
| 8 |
16 Bit monitoring. |
| 9 |
Power supply controlling and monitoring. |
a). Temperature monitoring:
The SCE system contains 10 thermistors to monitor temperature. The test system has to measure temperature using these thermistors. The acquired data has to be logged for post analysis.
b). Analog Voltage monitoring:
The SCE system contains various transducers to measure certain parameters like motor current, friction, etc. The test system has to acquire these voltage signals from SCE.
c). 4 MHz base clock:
This is the clock signal which the SCE uses to derive clock signals for other operations. This clock must be running to run the electronics.
d). Pulse commands:
The SCE system needs a pulse of 64mSec. to turn on or off some part of electronics. The test system has to generate these 10 pulse commands on 10 digital output lines. These pulse commands should be issued in a particular order. Therefore some kind of interlocking is required here. Figure below shows pulse timing information.

e). Data Command:
The SCE system need 16 bit data serially to set some reference value (Set point). The test system has to provide this 16 bit reference data to the SCE system. To input this data to the SCE system, the test system has to generate an 8 KHz clock and strobe signal along with the data. The timings of these signals are shown below.

f). Level Commands:
The SCE system needs two level commands. The test system has to generate these signals. These commands sends high or low signal on two digital output lines.
g). 8 Bit monitoring:
The SCE system gives 8 bit data serially on 12 digital lines. 6 out of these 12 lines are containing the same information as remaining 6. In fact 6, 8 bit lines are coming form primary channels of the system, while remaining 6 are coming from the redundant channels. The test system has to read these data lines. To read data, the test system should generate a clock signal of 40 KHz and a mode signal. In response to these signals the SCE system will shift out 8 bit data serially. The timings of these signals are shown below.

Out of 12, 8 bit data lines, 2 lines are the status lines, one from the primary channel and other from the redundant channel. The status lines give status information about the system. The remaining 10 channels are grouped together to form a word channel, and then converted to decimal equivalent and finally to the desired unit by applying the EU factor. This data after EU conversion is to be displayed to the user and logged for post processing.
h). 16 Bit monitoring:
The SCE system gives 16 Bit position data serially. This data corresponds to the position of mechanism the values of which ranges form 0 to 360 degree. The test system has to read this 16 bit position data. To read this data from SCE, the test system has to generate a data taking clock, the frequency of which is user selectable in between 150 to 250Hz. In response to each rising edge of this clock, the SCE system sends a 500 KHz signal, strobe, and data. The timings of these signals are shown below.

The test system after reading 16 bits of data has to convert it to parallel 16 bit blocks. The decimal equivalent of this data has to be multiplied by the EU factor to convert into angle equivalent.
i). Power supply control and monitoring:
The SCE system is powered using a GPIB controlled power supply. This power supply has to be controlled and monitored. The load current drawn from the power supply has to be logged for post processing.
The system also involves lot of processing on the logged data, which includes.
| 1 |
Calculating position deviation wrt the reference position. |
| 2 |
Calculation of speed from the position data. |
| 3 |
Calculation of torque from position data and motor current. |
| 4 |
Calculating speed error wrt a reference speed. |
| 5 |
Applying FFT on the analog data. |
| 6 |
Signal scaling by applying a second order polynomial equation. |
System Design:
The timing requirements of this application are very much critical. These requirements cannot be met using high speed digital input output cards. To meet these requirements a custom hardware is required. That is why NI FPGA 7831R board is used for this application. To acquire temperature and analog voltage signals, 2 numbers of NI M-Series DAQ cards are used each with 16 analog input channels. The GPIB controlled power supply is controlled and monitored using the NI GPIB card.
To interface SCE system with the test system, in the digital monitoring part, line drivers (26LS31), line receivers (26LS32) and input/output buffers (CD4050) are used. To interface the thermistors and voltage signals some more circuitry is used.

In the test system 40 digital lines of FPGA card are used, 20 lines form the M-series card are used to measure temperature and voltage signals.
Software Implementation:
The software is developed using LabVIEW 8.0. To generate custom hardware using 7831R board, NI FPGA 8.0 and NI RIO 2.0 software are used. To acquire temperature and analog voltage signals, NI DAQmx driver is used. To control the power supply, the power supply drivers written in LabVIEW are used.
|