Return to the RRS Verification Page

1. Direction Recognition

Direction Label Rule

Two-Vote Agreement

where
  E−W, N−S : horizontal direction labels
  V−S, V−W : vertical direction labels
  H, V : horizontal and vertical
  n votes : number of OCR readings that agree


RRS and FRS differ between the horizontal and vertical directions, so the direction of each graph must be known before comparing.
The program reads the Direction label below the graph with OCR and classifies it as horizontal (H) or vertical (V), setting it automatically only when two readings agree.
Otherwise the user chooses the direction, which prevents comparing the wrong curves.

2. Grid Detection

Grid Line Extraction

Plot Area Bounds

where
  B(x, y) : dark-pixel map (1 = dark)
  I(x, y) : pixel brightness (0–255)
  L h , L v : lengths of horizontal and vertical lines
  W, H : image width and height
  n lines : number of grid lines with the same start and end
  x L , x R , y T , y B : left, right, top and bottom edges of the plot


A graph image only has pixel coordinates, so the location of the real axes in the image has to be found first.
The program extracts long horizontal and vertical lines of dark pixels as grid lines and uses lines that repeat at the same position to set the plot boundary.
This creates the link between image coordinates and graph coordinates.

3. Log Mapping

Frequency Axis Mapping

Acceleration Axis Mapping

where
  x, y : pixel position of a point
  f : frequency [Hz]
  a : acceleration [g]
  x L , x R , y T , y B : pixel edges of the plot area
  0.5, 50 : limits of the frequency axis [Hz]
  0.05, 35 : limits of the acceleration axis [g]


FRS graphs usually use log scales for both frequency and acceleration, so a simple linear proportion of pixel positions gives wrong values.
The program uses the pixel positions of the plot boundary and the axis values to interpolate linearly on the log axes.
Only then can the RRS points be drawn accurately in the same coordinate system as the FRS.

4. Overlay Check

Envelope Criterion

Margin Ratio

where
  RRS(f) : required response spectrum of the test
  FRS(f) : floor response spectrum
  Margin(f) : margin ratio at frequency f
  f : frequency [Hz]


In equipment qualification testing, the RRS must envelop the FRS over the whole frequency range of interest (0.5–50 Hz).
The program calculates the RRS/FRS ratio at each frequency as the margin and marks the ranges below 1.
Whether the test input satisfies the required spectrum can then be seen at a glance.

Return to the RRS Verification Page
EXAMPLE 2

Instrument Rack Retest Example

This example checks the vertical test spectrum of a safety-related instrument rack retest against the floor response spectrum (SSE, 3 % damping, V-S direction, 0.5 to 50 Hz). The shake table limited the vertical input above 14 Hz, and the 19 RRS points were pasted from Excel. The program read the Direction label as V-S, found the plot area (x 102 to 837 px, y 112 to 568 px) and drew the RRS line. The red line drops below the FRS between 13.9 and 24.0 Hz with a minimum margin of 0.70 at 19.8 Hz, so the RRS does not envelop the FRS and this range must be retested or justified.

Return to the RRS Verification Page