Diagnostic system for a digital signal processor

Abstract: A diagnostic system for a digital signal processor, having an input module, an output module and a plurality of successive processing modules defining a signal processing path, monitors various internal test points within each module. Any one of the test points may be connected to a diagnostic bus. The output of the diagnostic bus may be appropriately modified and input to the output module in lieu of the digital signal from the last processing module to provide a diagnostic display.

Description: Background of the Invention The present invention relates to diagnostic systems, and more particularly to a diagnostic system for a digital signal processor which monitors various internal test points of the processor to determine that small portion of the total circuitry which is the source of an error. When a signal processor fails, it is the job of a maintenance or service person to restore the processor to working order as quickly as possible. The first task in such a job is to generally find the area of the processor within which the malfunction occurred, i.e., the circuit board or module level, and then to replace that module with a spare. This allows the processor to be put back into service while the problem module is repaired off-line or during a planned maintenance period. Even where there are no spare modules available so that repairs have to be made on-line, the ability to quickly narrow the fault to a limited range of circuitry greatly speeds the repair process, decreasing the overall down-time of the processor. Most problems in signal processors involve a known good signal, or set of signals, at the input of the processor generating a bad signal, or set of signals, at the output. By tracing along the internal signal path of the processor from input to output the service person can usually determine the faulty circuit by noting when the good signal turns bad. Conversely the signal path may be traced from the output toward the input and noting when the bad signal becomes good. If this tracing is done in discrete steps, for example at the input and output of each functional or physical module, the faulty module can quickly be identified as the circuitry between where the signal was good and where it started to go bad. When the processor processes signals in analog form, the signal path is relatively easy to follow since the signal usually is represented by a single wire or point. This point can be probed with various types of test equipment, such as oscilloscopes and the like, to give the service person an easy means for reading the status of the signal. When the internal processing is digital, however, a given signal may exist as many discrete wires, or many bits of data multiplexed on a single wire, all of which must be simultaneously taken into account to derive an indication of that signal's status. Except for the most trivial problems, this is beyond the ability of oscilloscopes and usually requires more complex test equipment, such as logic analyzers and the like. These more complex test instruments take longer to set up, since individual probes must be attached to each wire of the signal path, and are usually limited to single "snapshots" of a signal at a time. The "snapshot" is then analyzed by the service person. If the problem is intermittent in nature, the chance of having the failure occurring during one of the "snapshots" is low, adding to the total service time. A desirable alternative would be to display various test points in a form with which the service person is familiar. In the case of a digital audio signal processor this might be analog audio. In the case of a digital video signal processor the preferred output would be video pictures. Since the original fault was probably initially identified by listening to or looking at the output of the processor, if the internal test points could also be displayed at the output on the same monitoring equipment, it would aid in recognizing whether the signal at a given test point is good or bad. EP-A-0,095,928 discloses a pipeline processing apparatus having a test function, the apparatus comprises an input portion for applying data to be processed to a first pipeline stage, an output portion for taking out data which has been processed in the pipeline stages, and a plurality of pipeline stages. A common bus is coupled to the input portion and has a plurality of coupling portions to which the pipeline stages are coupled. The common bus is coupled to the output portion and a circuit designates at least one pipeline stage in response to which a second circuit couples the designated pipeline stage to the common bus. US-A-4,183,461 discloses a fault diagnosing method for an electronic computer in which a fault diagnosing unit is coupled via selectors to plural sequential circuits so as to enable a fault occurring in any of the sequential circuits to be diagnosed. Summary of the Invention According to the present invention there is provided a diagnostic system for a signal processor, having an input module, an output module and a plurality of successive processing modules to form a path for processing an input signal, comprising: a diagnostic bus; means for selecting one of the modules prior to the output module; coupling means for coupling the diagnostic bus to the output module characterised by: means for selecting a test point within the selected module for connection to the diagnostic bus; and said coupling means comprising: means for switching the input to the output module between the output of the diagnostic bus and the output of the last processing module; and means for modifying the output of the diagnostic bus prior to input to the output module so that the output from the diagnostic bus is compatible with the input to the output module such that the output from the output module represents the selected test point. Accordingly the present invention provides a diagnostic system for a digital signal processor which monitors various internal test points of the processor. A plurality of switches connect the test points to a diagnostic bus upon appropriate command. The diagnostic bus is connected to the output via a diagnostic switch so that the digital signal at any test point within the processor may be displayed. The data on the diagnostic bus may first access a lookup table prior to the output, and necessary sync pulses may be added to assure a stable output display. The objects, advantages and other novel features of the present invention will be apparent from the following detailed description when read in conjunction with the appended claims and attached drawing. Brief Description of the Drawing Fig. 1 is a block diagram view of a digital signal processor incorporating a diagnostic system of the present invention. Fig. 2 is a block diagram view of a diagnostic transformation circuit for the diagnostic system of Fig. 1. Fig. 3 is a block diagram view of a timing circuit for the diagnostic system of Fig. 1. Description of the Preferred Embodiment Referring now to Fig. 1 a digital signal processor 10, such as a digital video effects generator, has a plurality of modules which make up a signal path. An input module 20 receives an analog input signal, such as an analog video signal from a camera, video tape recorder or the like, and converts the analog signal to a digital signal in an analog to digital converter 22. The resulting digital siqnal is input to a first processing module 30 where, various manipulations are performed upon the digital signal, such as deinterlacing, transformations, etc., by various circuits 32, 34. The output of the first processing module 30 is input to subsequent processing modules for additional signal processing. The output from the Nth processing module 40 is input to an output module 50 where the processed digital signal is converted to an analog output, such as a processed video picture, by an digital to analog converter 52 for subsequent display on a monitor. A timing circuit 54 also receives a portion of the processed digital signal which contains timing data synchronized with the digital signal to provide timing signal inputs, such as horizontal and vertical sync pulses for a television system, to the D/A converter 52 as are appropriate to provide a recognizable, stable display of the analog output. A service person interacts with a diagnostic system incorporated into the digital signal processor 10 via a controller 60. The controller 60, or operator interface, may consist of front panel switches, which provide input to an internal microprocessor, or a computer terminal connected to the digital signal processor 10. The diagnostic system has a diagnostic bus 66 which is connected to a plurality of module selection switches 62, 63, 64. For modules with more than one internal test point, a test point selection switch 36, 46 is provided for each module, the test point selection switch being connected in turn to the respective module selection switch 63, 64. As shown in Fig. 1 the input module 20 has a single test point TP21 at the output of the A/D converter 22 which is connected to the input module select switch 62. The first processing module 30 has three test points TP31, TP33, TP35 at the respective inputs and outputs of the internal circuits 32, 34, which test points are connected to the first processing module test point selection switch 36. Likewise the Nth processing module 40 has illustrated three test points TP41, TP43, TP45 at the input and/or output of respective internal circuits 42, 44, which test points are connected to the Nth processing module test point selection switch 46. As is shown not all circuits being monitored process the digital signal. For example the circuit 44 in the Nth processing module represents a general function generator which might provide an input to processing circuit 42. Thus upon appropriate operator input to the controller 60, or automatically, any test point within the digital signal processor 10 may be connected to the diagnostic bus 66. However, by an appropriate interlocking structure, as is well known in the art, only one test point can be connected to the diagnostic bus at any given time. In the output module 50 an output diagnostic switch 65 selects the input for processing by the output module. In normal operation the processed digital signal is connected via the diagnostic switch 65 to the D/A converter 52 and timing circuit 54. However, during diagnostic operation the diagnostic bus 66, via a diagnostic transformation circuit 68, is connected to the D/A converter 52 and timing circuit 54 via the diagnostic switch 65. Thus any of the internal test points can be displayed at the output of the digital signal processor 10 by a service person without interrupting the internal digital processing of the processor. The controller 60 is connected via appropriate command lines 67, 69 to the switches, the diagnostic transformation circuit 68, and the timing circuit 54. It should be noted that the test point and corresponding module selection switches may be combined into a single switch, as is evident to one skilled in the art. Also output from the output module 50 is a STROBE pulse from the timing circuit 54 to provide a trigger to an external test instrument 70, such as a logic analyzer, which is connected to the diagnostic bus 66, the STROBE pulse corresponding to a particular sample or pixel within the digital signal. It is often the case that several different forms of signals may exist within the digital signal processor 10 that need to be monitored. These signals may vary in format, level and/or transmission mode. When a common output monitor is used, such as a television video screen, it is desirable to translate one or more of these different signals to a common format so that the operator gets a visual representation of the various signals without having to readjust the monitor for each different format. For example in video processing a key signal may vary in level as it passes from stage to stage within the processor 10. As shown in Fig. 2 the signal from the diagnostic bus 66 is input to a first register 92 within the diagnostic transformation circuit 68. The output of the first register 92 is output via a switch 91 to a lookup table memory 80 which contains a plurality of lookup tables, including a unity table. The selection of the appropriate lookup table within the lookup table memory 80, generally stored in ROM, may be used to automatically level shift the output of the diagnostic bus 66 depending on the selected test point. The appropriate lookup table from the lookup table memory 80 may also be used to make a "meaningful" display of non-video information, such as addresses or control data. The output of the diagnostic bus 66 for these functions would be mapped into a black to white display that would be meaningful to the operator. Another common form of signal to be monitored is one in which two independent waveforms have been time multiplexed together, such as the U and V components of chrominance in a television signal. It is usually more meaningful to an operator to be able to examine the component waveforms independently than to look at the time multiplexed combination, so a demultiplexer 90 is required. Although the demultiplexer 90 is shown as part of the diagnostic transformation circuit 68, individual demultiplexers may be placed in each module prior to the respective module switches to perform the demultiplexing and interpolating function of the digital signal from the selected test point prior to the diagnostic bus 66. Fig. 2 shows a combination demultiplexer and interpolator for two way interleaved signals, the interpolator being used to fill in the gaps between demultiplexed samples, which may also be done by reducing the output clock rate of the D/A sections and following filters of the D/A converter 52 at the cost of additional complexity. The demultiplexer output switch 91 alternates between the output of the first register 92 and the output of a divider 94. When switched to the output of the first register 92, the output at the switch 91 is the input multiplexed sample delayed one clock cycle. When switched to the output of the divider 94, the output is the average of two adjacent common samples as developed by a second register 96, an adder 98 and the divider 94 as is well known to those in the art. Other systems could alternately use higher order interpolators and/or more complex demultiplexers for multiplexed signals of higher order, i.e., three way, four way, etc. A digital signal is subject to delays at each processing stage through the processor 10. When this occurs the output of the diagnostic bus 66 varies in time relative to a fixed external point, such as the input signal, as various test points are selected. This makes it difficult to monitor a given sample, or pixel, as it traverses the processor 10 unless some reference is used that also varies in time by the same amount from test point to test point. Fig. 3 shows a system by which a horizontal and vertical timing reference, obtained from the diagnostic bus 66, is used to drive a set of counters 100, 102 in synchronization with the incoming diagnostic digital signal. The horizontal counter 100 is clocked by a column, or pixel, clock from the controller 60, and the vertical counter 102 is clocked by a row, or line, clock from the controller. The timing data, such as horizontal and vertical sync, from the diagnostic bus 66 resets the counters 100, 102 which then count up. Each test point provides to the diagnostic bus 66 timing data as well as the digital signal, the timing data having been delayed the same amount as the digital data, i.e., the timing data is in time sync with the test point digital signal. The outputs of the counters 100, 102 are decoded by a lookup table and sync generator 104 to give some set of synchronizing signals, such as video sync. To obtain the STROBE pulse for use by external test instruments 70 the output of the counters 100, 102 are input to respective comparators 106, 108. The other input to the comparators 106, 108 are X-position and Y-position commands from the controller 60 which define the sample or pixel upon which a trigger is desired. The outputs of the comparators 106, 108 are input to a combining circuit 110 so that the STROBE pulse occurs only when the desired sample is present on the diagnostic bus 66. Also the timing circuit 54 shown in Fig. 3 is used for "two-dimensional" signals, such as video. Other forms of signals, such as audio, may only use one set of counters, or more sets of counters may be needed by more advanced signals. Although only one signal path is shown in the Figures, in reality each signal path may consist of one or more components, such as luminance, chrominance and key in a digital video effects system, with each component having one or more parallel bits, usually 8-10 bits plus synchronizing or timing bits. In operation a service person decides whether or not to turn on the diagnostic system via switch 65 when a fault is suspected, and determines which module and test point within that module to connect to the diagnostic bus 66 for display. The controller 60 automatically conditions the appropriate circuits within the diagnostic transformation circuit 68 and the timing circuit 54 to apply appropriate offsets, timing pulses and/or transformations to the signal on the diagnostic bus 66 so that the signal may be appropriately displayed in a recognizable and stable manner. Alternatively the diagnostic system may operate automatically upon initiation by the operator to sample each test point in turn and record the resulting information on the test instrument 70. Thus the present invention provides a diagnostic system for digital signal processing equipment which monitors various internal test points of the equipment to allow a service person to quickly determine that portion of the total processor circuitry which is the source of a fault.

Claims: A diagnostic system for a signal processor (10), having an input module (20), an output module (50) and a plurality of successive processing modules (30, 40) to form a path for processing an input signal, comprising: a diagnostic bus (66); means (36, 46, 60, 62, 63, 64) for selecting one of the modules (20, 30, 40) prior to the output module; coupling means for coupling the diagnostic bus to the output module characterised by: means (65) for selecting a test point (TP21, TP31, TP33, TP35, TP41, TP45) within the selected module for connection to the diagnostic bus (66); and said coupling means comprising: means for switching the input to the output module (50) between the output of the diagnostic bus (66) and the output of the last processing module (40); and means (68) for modifying the output of the diagnostic bus prior to input to the output module so that the output from the diagnostic bus is compatible with the input to the output module such that the output from the output module (50) represents the selected test point. A diagnostic system according to claim 1 wherein the modifying means (68) comprises a lookup table memory (80) for translating the format of the output from the diagnostic bus (66) to one compatible with the input to the output module (60). A diagnostic system according to claim 2 wherein the coupling means further comprises means (60) for selecting between a plurality of tables contained within the lookup table memory (80), the selected table being applied to the output of the diagnostic bus according to the test point selected by the module and test point selecting means. A diagnostic system according to any preceding claim wherein the modifying means comprises means (90) for separating a portion of the output of the diagnostic bus (66), the separated portion being input to the output module (50). A diagnostic system according to claim 4 wherein the coupling means further comprises means (91) for selecting which portion of the output of the diagnostic bus is input to the output module. A diagnostic system according to any preceding claim wherein the modifying means further comprises means (100, 102) for applying appropriate timing to the output of the diagnostic bus (66) to compensate for time delays in the signal processing path. A diagnostic system according to claim 6 wherein the coupling means further comprises means (104) for generating appropriate timing signals for addition to the output of the diagnostic bus according to the test point selected by the module and test point selecting means to compensate for the processing delay at the selected test point. A diagnostic system according to claim 6 or 7 wherein the applying means further comprises means (106, 108, 110) for generating a strobe at a particular point within the output of the diagnostic bus to allow a specific value to be captured by a test instrument connected to the output of the diagnostic bus. A diagnostic system according to any preceding claim wherein the selecting means comprises: a test point switch (36, 46) for selecting between a plurality of test points within the selected module; a module select switch (63, 64) for connecting the selected test point to the diagnostic bus; and means (60) for controlling the selection of modules and test points such that only one test point is selected for connection to the diagnostic bus at any given time.

Inventors: ABT JOHN, BARNETT RONNIE D, BLECKSMITH JAMES E, JACKSON RICHARD A, LAKE DAVID E JR, ABT, JOHN, BARNETT, RONNIE D., BLECKSMITH, JAMES E., JACKSON, RICHARD A., LAKE, DAVID E., JR.
Applicants: GRASS VALLEY GROUP, THE GRASS VALLEY GROUP, INC.
Application year: 1987
Main classification: G06F11
IPC codes: G06F11, G01R31