DATA PROCESSING SYSTEM
20190324609 ยท 2019-10-24
Assignee
Inventors
- Alan T. GRESHAM (Derby, GB)
- Mark D. REEVE (Derby, GB)
- Lee R. BERESFORD (Derby, GB)
- Mark W. FRANKLIN (Derby, GB)
Cpc classification
G06F11/3058
PHYSICS
G05B19/418
PHYSICS
Y02E30/00
GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
G05B2219/31469
PHYSICS
G06F11/3089
PHYSICS
G06F3/0481
PHYSICS
International classification
G06F3/0483
PHYSICS
G06F3/0488
PHYSICS
Abstract
There is disclosed a data processing system for generating pages of image data to be displayed in a monitoring system which monitors the condition of one or more instrument operation parameters. The data processing system comprising a display sub-system configured to receive parameter data representing the condition of one or more operation parameters being monitored and read a set of configuration data for a page to be displayed, wherein the set of configuration data indicates a configuration of a page for displaying a group of at least one operation parameter of the one or more operation parameters being monitored. The display sub-system is further configured to generate a page to be displayed based on the parameter data, the configuration data and pre-generated image data stored in memory.
Claims
1. A data processing system for generating pages of image data to be displayed in a monitoring system which monitors a condition of one or more operation parameters of an instrument, the data processing system comprising a display sub-system configured to: receive parameter data representing the condition of the one or more operation parameters being monitored for the instrument; read a set of pre-generated configuration data for a current page to be displayed, wherein the set of configuration data indicates a pre-defined page configuration for displaying a group of at least one operation parameter of the one or more operation parameters being monitored in the current page; for each operation parameter in the group of at least one operation parameter to which the set of configuration data relates: determine the current condition of the operation parameter from the parameter data; and select, based on the current condition of the operation parameter, corresponding pre-generated image data from a set of stored pre-generated image data representing a plurality of pre-defined conditions for the operation parameter; and generate the current page to be displayed, wherein the current page includes the selected pre-generated image data for the group of at least one operation parameter, and wherein an attribute of the selected pre-generated image data within the generated current page to be displayed is controlled based on the set of configuration data.
2. The data processing system as claimed in claim 1, wherein the display sub-system is configured to select corresponding pre-generated image data based on the current condition of the operation parameter by: using the current condition of the operation parameter to generate a pointer to a location in memory at which pre-generated image data that represents a corresponding pre-defined condition is stored.
3. The data processing system as claimed in claim 2, wherein: locations in memory for the set of stored pre-generated image data representing the plurality of pre-defined conditions for the operation parameter are indicated in respective entries of a corresponding address look-up table in memory; the set of configuration data for the current page to be displayed comprises data identifying a base address of the corresponding address look-up table; and the pointer is in the form of an offset from the base address to an entry in the corresponding address look-up table at which the location in memory for the pre-generated image data that represents the corresponding pre-defined condition is indicated.
4. The data processing system as claimed in claim 1, wherein the set of configuration data comprises at least one of: data indicating the horizontal position within the current page that the selected pre-generated image data should take; data indicating the vertical position within the current page that the selected pre-generated image data should take; and data indicating a type of graphic element that the selected pre-generated image data corresponds to.
5. The data processing system as claimed in claim 1, wherein: the set of configuration data further indicates a pre-defined page configuration for at least one pre-defined user-input option that is to be represented in the current page to be displayed; and the display sub-system is configured to include pre-generated image data representing the at least one pre-defined user-input option in the generated current page.
6. The data processing system as claimed in claim 5, wherein the data processing system comprises a user sub-system configured to: receive an input from a user of the monitoring system corresponding to a selection of a pre-defined user-input option that is represented in the current page for the at least one operation parameter; and issue an instruction to alter operation of a device that influences the operation parameter, based on the received input and information stored in an input look-up table, wherein respective entries in the input look-up table each corresponds to a pre-defined user input option and includes information indicating a corresponding instruction to alter operation of the device.
7. The data processing system as claimed in claim 1, wherein: the set of configuration data that is read for the current page to be displayed is one of a plurality of different sets of pre-generated configuration data indicating respective page configurations for displaying a group of at least one operation parameter being monitored or at least one pre-defined user-input option; and the display sub-system is configured to select the set of configuration data that is read for the current page to be displayed based on an input from a user of the monitoring system, wherein the input is received by a user sub-system of the data processing system.
8. The data processing system as claimed in claim 7, wherein the user sub-system is configured to: receive the input from a user of the monitoring system; determine which set of configuration data should be read for the current page to be displayed based on the received input and information stored in a corresponding entry in an input look-up table, wherein the corresponding entry in the input look-up table includes information indicating a corresponding set of configuration data to be read for the current page to be displayed; and send state signalling indicating the result of the determination to the display sub-system.
9. The data processing system as claimed in claim 7, wherein: the set of configuration data that is read for the current page to be displayed further indicates a reference condition value for the operation parameter; the display sub-system is configured to compare the determined current condition of the operation parameter with the reference condition value and indicate the results of the comparison to the user sub-system; and the user sub-system is configured to: determine which set of the plurality of different sets of pre-generated configuration data should be read by the display sub-system for a subsequent page to be displayed, based on the results of the comparison; and send state signalling to the display sub-system indicating which set of pre-generated configuration data should be read for a subsequent page to be displayed.
10. A method of operating a data processing system for generating pages of image data to be displayed in a monitoring system which monitors a condition of one or more operation parameters of an instrument; the method comprising a display sub-system of the data processing system: receiving parameter data representing the condition of the one or more operation parameters being monitored for the instrument; reading a set of pre-generated configuration data for a current page to be displayed, wherein the set of configuration data indicates a pre-defined page configuration for displaying a group of at least one operation parameter of the one or more operation parameters being monitored in the current page; for each operation parameter in the group of at least one operation parameter to which the set of configuration data relates: determining the current condition of the operation parameter from the parameter data; and selecting, based on the current condition of the operation parameter, corresponding pre-generated image data from a set of stored pre-generated image data representing a plurality of pre-defined conditions for the operation parameter; and generating the current page to be displayed, wherein the current page includes the selected pre-generated image data for the group of at least one operation parameter, and wherein an attribute of the selected pre-generated image data within the generated current page to be displayed is controlled based on the set of configuration data.
11. The method as claimed in claim 10, wherein selecting corresponding pre-generated image data based on the current condition of the operation parameter comprises: the display sub-system using the current condition of the operation parameter to generate a pointer to a location in memory at which pre-generated image data that represents a corresponding pre-defined condition is stored.
12. The method as claimed in claim 11, wherein: locations in memory for the set of stored pre-generated image data representing the plurality of pre-defined conditions for the operation parameter are indicated in respective entries of a corresponding address look-up table in memory; the set of configuration data for the current page to be displayed comprises data identifying a base address of the corresponding address look-up table; and the pointer is in the form of an offset from the base address to an entry in the corresponding address look-up table at which the location in memory for the pre-generated image data that represents the corresponding pre-defined condition is indicated.
13. The method as claimed in claim 10, wherein the set of configuration data comprises at least one of: data indicating the horizontal position within the current page that the selected pre-generated image data should take; data indicating the vertical position within the current page that the selected pre-generated image data should take; and data indicating a type of graphic element that the selected pre-generated image data corresponds to.
14. The method as claimed in claim 10, wherein: the set of configuration data further indicates a pre-defined page configuration for at least one pre-defined user-input option that is to be represented in the current page to be displayed; and the generated current page includes pre-generated image data representing the at least one pre-defined user-input option.
15. The method as claimed in claim 14, wherein the method comprises a user sub-system: receiving an input from a user of the monitoring system corresponding to a selection of a pre-defined user input option that is represented in the current page for the at least one operation parameter; and issuing an instruction to alter operation of a device that influences the operation parameter, based on the received input and information stored in an input look-up table, wherein respective entries in the input look-up table each corresponds to a pre-defined user input option and includes information indicating a corresponding instruction to alter operation of the device.
16. The method as claimed in claim 10, wherein: the set of configuration data that is read for the current page to be displayed is one of a plurality of different sets of pre-generated configuration data indicating respective page configurations for displaying a group of at least one operation parameter being monitored or at least one pre-defined user-input option; and the method comprises the display sub-system selecting the set of configuration data that is read for the current page to be displayed based on an input from a user of the monitoring system, wherein the input is received by a user sub-system of the data processing system.
17. The method as claimed in claim 16, wherein the method comprises the user sub-system: receiving the input from a user of the monitoring system; determining which set of configuration data should be read for the current page to be displayed based on the received input and information stored in a corresponding entry in an input look-up table, wherein the corresponding entry in the input look-up table includes information indicating a corresponding set of configuration data to be read for the current page to be displayed; and sending state signalling indicating the result of the determination to the display sub-system.
18. The method as claimed in claim 16, wherein: the set of configuration data that is read for the current page to be displayed further indicates a reference condition value for the operation parameter; the method further comprises the display sub-system comparing the determined current condition of the operation parameter with the reference condition value and indicating the results of the comparison to the user sub-system; and the method further comprises the user sub-system: determining which set of the plurality of different sets of pre-generated configuration data should be read by the display sub-system for a subsequent page to be displayed, based on the results of the comparison; and sending state signalling to the display sub-system indicating which set of pre-generated configuration data should be read for a subsequent page to be displayed.
19. A non-transitory computer readable storage medium comprising computer readable instructions that, when read by a computer, cause performance of the method as claimed in claim 10.
20. One or more field-programmable gate arrays configured to perform the method as claimed in claim 10.
Description
BRIEF DESCRIPTION
[0058] Embodiments will now be described by way of example only, with reference to the Figures, in which:
[0059]
[0060]
[0061]
[0062]
[0063]
[0064]
[0065]
[0066]
[0067]
[0068]
[0069]
[0070]
[0071]
[0072]
[0073]
[0074]
[0075]
DETAILED DESCRIPTION
[0076] Like reference numerals will be used, where appropriate, for like features shown in the Figures.
[0077]
[0078] The control and monitoring system 10 may monitor the (e.g. current) condition of multiple operation parameters of the plant 11 via sensors which provide signals representing the measured conditions to a data concentrator 12. The data concentrator 12 is a pre-processing module and operates to convert signals representing the measured conditions into appropriate parameter data of a type that is suitable for use by the data processing system 13. The data concentrator 12 may also be responsible for validating sensor inputs. The parameter data may be sent to the data processing system 13 at predefined time intervals. The data processing system 13 keeps a current copy of the parameter data in memory and determines which operation parameters are to be included in a page to be displayed based on, e.g., configuration data stored in a memory for the data processing system 13 and state signalling corresponding to one or more user (touch) inputs received on the touchscreen 14 of the system.
[0079] The data processing system 13 then creates a page for display using pre-generated image data (e.g. bitmap images or graphics) stored in its memory. For example, and as will be described further below, the data processing system 13 may use the received parameter data (or a subset thereof, indicated by appropriate configuration data) as a set of lookup addresses to point to pre-generated image data, corresponding to the received parameter data (and thus the measured condition of one or more operation parameters), which it will then assemble into a foreground buffer which is merged with a background image to create a page. In this way, the value of each pixel in the page (and on a display screen) can be deterministically traced to the received parameter data. This can be (and in embodiments is) accomplished without software, processor, or a graphics processor by using only logic implemented in FPGA fabric and through a set of look-up data tables.
[0080] In some cases, user input on the touchscreen 14 may cause the data processing system 13 to issue control commands to the actuation system 15. The actuation system may in turn process such control commands and issue corresponding actuator demands to an actuator of the plant, such as a demand to actuate a mechanical valve of the plant. The actuation status and any commands that affect the information to be displayed in a page may be fed back to the data concentrator 12.
[0081] As mentioned above, the data concentrator 12 may convert the signals received from the sensors to parameter data of a type that is suitable for use by the data processing system 13, e.g. as values that are indexed to a set of lookup addresses pointing to pre-generated image data corresponding to the received parameter data. These suitable data types will now be described with respect to
[0082]
[0083] The value of the operation parameter condition may be stored in a way that is dependent on the type of operation parameter that is included in the sensor signals, e.g. a graphics type that is specific to the operation parameter in question.
[0084] A limited number of graphics types may be required (or desired) to make up a scene, as will now be discussed.
[0085] As shown in the example of
[0086] Where the operation parameter is of a graphics type comprising a collection of eight enumeration values (e.g. the numeric value 1234.567), as shown in
[0087] In the example of
[0088] The values 23 of operation parameters (conditions) in the form of an operating bands graphics type may be represented using 20 bits, 10 bits for each one of the lower and upper value of the band (each as a value between 0.0 and 100.0), as shown in
[0089] The values of operation parameters (conditions) in the form of a plot points graphics type may be represented as appropriate x and y position values (with 10 bits each, corresponding to a value between 0.0 and 100.0) and a point type enumeration value (with 8 bits), as shown in
[0090] In the example of
[0091] In the example of
[0092]
[0093] The display sub-system 31 of the data processing system 13 may be configured to generate a page of image data for display using the parameter data (stream), the pre-generated image data (not shown), configuration data (not shown) and state signalling (referred to in the Figures as the Pagestate) provided by the user sub-system 32.
[0094] As will be described in further detail below, the state signalling provides an indication of the state of a page to be displayed on the touchscreen 14. For example, it may be used at least in part, together with corresponding configuration data, to select which operation parameters and in turn what pre-generated image data to use when generating a page to be displayed. Pagestate is used to select what operation parameters are displayed and the parameter value(s) (the value(s) of the operation parameter condition(s) in the parameter data stream) is used to determine the appearance of one or more graphics elements to represent the operation parameters condition(s).
[0095] The user sub-system 32 may recognise one or more touch events indicative of a user input received on the touchscreen 14 of the overall system 10 and generate appropriate state signalling based on those touch events. The user sub-system may also issue control commands to the actuation system 15 in response to touch events as described with respect to
[0096] The operation of the data processing system 13 will now be described in greater detail with respect to the display sub-system 31 and the user sub-system 32 in turn.
Display Sub-System
[0097] As shown in
[0098] The display sub-system 31 is operable to receive and validate appropriately converted parameter data and store the parameter data in the shared memory 41 for later use.
[0099] The page builder state machine 42 operates to determine which pre-generated image data in memory 48 should be used to generate a (e.g. the current) page to be displayed. This is done based on state signalling (referred to as Pagestate in the Figures) indicating which set of configuration data 49 to use, which in turn determines what operation parameters are read from the shared memory 41. In particular, the page builder state machine 42 may determine an address in the memory 48 at which pre-generated image data that should be used to generate a page to be displayed is stored and then pass this address, together with other configuration data, to the graphics generator 43 for processing the image data stored at those memory addresses to generate the page. The page builder state machine 42 may also pass suitable control signalling to the graphics generator 43.
[0100] The pre-generated image data stored in memory 48 may be addressed using appropriate image address lookup tables. For example, the locations in memory 48 of image data representing different pre-defined conditions within a set of pre-generated image data are indicated in a corresponding graphics look-up table in memory. The display sub-system 31 may use the condition (e.g. the value and status) of an operation parameter that is represented by the parameter data to generate a pointer to (e.g. the address of) the position within a corresponding graphics look-up table at which the address for the image data corresponding to the condition of the operation parameter that is represented by the parameter data is indicated.
[0101] The graphics generator 43 uses the memory address(es) provided by the page builder state machine 42 to retrieve the appropriate (determined) primitive image data (e.g. graphic objects or icons) stored in memory 48 (which may be non-volatile memory (NVM)). The graphics generator 43 may then use the selected primitive image data to draw appropriate foreground image pixel data (for the operation parameter(s)) into a buffer within the foreground buffer generator 44.
[0102] The graphics generator 43 may also generate data representing the addresses in the foreground buffer for the eventual pixel data. This may be facilitated by the primitive image data being stored in memory 48 with height and width information that is indicative of the position that the primitive image data should take within an overall page (and so the position within the foreground buffer and on the page). The graphics generator 43 may also signal whether a read modify write in the foreground buffer is required for each pixel. (This may be desired when multiple pixels are written to the foreground buffer at once and some merging with existing foreground buffer contents is required. For example, a read-modify-write operation will allow primitives to be written to the foreground buffer to the nearest pixel, such that the edges of overlaid primitives in the foreground buffer meet to the nearest pixel.)
[0103] The foreground buffer generator 44 stores the foreground image pixel data generated by the graphics generator 43 in a memory buffer, from where it can be retrieved by the background merger 45 for integration with an appropriate background image.
[0104] To facilitate the integration of the foreground image and the background image, a predefined colour pallet is used for the foreground image pixel data, wherein one of the colours that may be used for a pixel is used to indicate that the pixel is transparent, i.e. that a pixel having the transparent colour in the foreground image should be given the colour of the corresponding pixel in the background image when the two are merged. All other colours used for a pixel in the foreground image will take precedence over the colour used in a corresponding pixel in the background image.
[0105] The foreground buffer generator 44 may implement four memory buffers that are used in a round-robin fashion for each page as follows: [0106] 1. The first foreground buffer is tested and cleared (the pixels of the foreground buffer are set to be transparent); [0107] 2. A second foreground buffer is checked to ensure it has been cleared; [0108] 3. A third foreground buffer is updated with foreground image pixel data received from the graphics generator 43this may include a mixture of transparent and non-transparent colours; and [0109] 4. A fourth foreground buffer is read by the background merger 45.
[0110] As mentioned above, the background merger 45 is responsible for integrating (e.g. merging) a, e.g., fixed bitmap background image (which may be selected based on the page builder state machine 42 control signalling mentioned above) from memory 46 with the foreground image pixel data in the foreground buffer and passing the integrated pixel data to the video interface 47.
[0111] In the video interface 47, pixels from the integrated pixel data (page) may be handled four pixels at a time, with a limited colour palette (e.g. of 16 colours). The video interface 47 may translate the integrated pixel data, four pixels at a time, into corresponding twenty-four bit colour codes. These are in turn multiplexed into a standard Digital Visual Interface (DVI) page for display (not shown). The display may be refreshed for each DVI page, typically within 16.6 ms and each refresh taking image data from the next completed foreground buffer.
[0112] As mentioned above with respect to
[0113] The configuration data 49 may be any such information that can be used by the display sub-system 31, e.g. the page builder state machine 42 and graphics generator 43, to control an aspect of page generation. It may be any information that is indicative of the current page being displayed or a (subsequent) page to be displayed.
[0114] For example, the configuration data 49 may indicate what the background image is or should be, what graphic icons (pre-generated image data) should be placed where, what image data are included, what controls, pop-ups and bezels are present on the display etc. The configuration data may also indicate one or more operation parameters represented in the parameter data that should be included in the current page to be displayed.
[0115] The data processing system 13 may be operable to generate a page illustrating one or more operation parameters in a variety of different, pre-defined configurations. For example, the data processing system 13 may be able to generate a page illustrating the condition of a single operation parameter according to a first pre-defined configuration or a page illustrating the same condition of the operation parameter (and/or the conditions of one or more other operation parameters) in a second pre-defined configuration, and so on and so forth for each configuration.
[0116] The data processing system 13 may accordingly maintain plural sets of configuration data for plural configurations, wherein each set of configuration data is indicative of how the page to be displayed should be generated according to the configuration to which the set of configuration data in question relates.
[0117] Each set of configuration data may be arranged in a corresponding, so-called Definition Table, as will now be described with respect to
[0118]
[0119] Each definition table will include (one or more) entries corresponding respectively to the various (one or more) operation parameters to be displayed in the page being generated.
[0120] As can be seen in
[0128] With regard to read-modify-write, it is noted here that primitives (image data) may be written to the foreground buffer sequentially as defined by the display list/page definition tables (in each 16.6 ms cycle) as described below, starting at the top of the list and working down to the bottom. Therefore, if a write-only operation is used, the Primitives written last will overwrite earlier primitives where they are coincident at the same location in the foreground buffer (e.g. for the same pixel(s)). A read-modify-write operation, however, will allow new image data to be merged with existing foreground buffer content. Where the primitives are written to the foreground buffer for four pixels at a time, a read-modify-write operation will allow primitives to be written to the foreground buffer to the nearest pixel, such that the edges of overlaid primitives meet to the nearest pixel, rather than to the nearest four pixels as would be the case if a write only operation was used. It will be appreciated that a read-modify-write operation takes more time than a write-only operation, so the flag may be set to write-only to improve performance.
[0129] Where the nature of the parameter data and the location at which the parameter data is to be stored is known in advance, the configuration data can be prepared, e.g. at manufacture, before the parameter data is received.
[0130] The data processing system 13 may maintain a definition table(s) for each configuration of operation parameters and their corresponding graphics types. Thus the data processing system 13 will, in this arrangement, maintain a number of definition tables 50 that may or may not relate to the current page to be (or being) generated, depending on what information is desired, e.g. selected or required, for display on the touchscreen 14.
[0131] In order for the display sub-system 31 to know which definition table (set of configuration data) is relevant to the page to be displayed (or rather the operation parameter(s) to be displayed on the touchscreen 14), and that should therefore be used to generate the page, the display sub-system 31 is provided with appropriate state signalling (referred to in the Figures as the Pagestate) from the user sub-system 32. This state signalling provides an indication of the definition table(s) that is relevant to the page to be displayed and the display sub-system 31 may use this information to select the definition tables 50 (configuration data) to use when generating the page. The state signalling may be based on an input from a user of the touchscreen 14.
[0132] As shown in the arrangement of
[0133] The page builder state machine 42 may continually (sequentially) process each entry 51 in each definition table 50 pointed to by the display list 59 for the current Pagestate signalling. When the last page definition table for the current pagestate is processed, the pagestate is checked. If the current Pagestate signalling changes, a new display list 59 entry point is used (when the current definition tables have been processed), pointing to a different set of page definition tables 50. If the current Pagestate is the same, the page builder state machine 42 processes the same entries 51 in the same definition tables 50 pointed to by the display list 59 with the same entry point. This approach allows efficient reuse of the page definition tables 50, for example if there is only a small difference in a scene, such as a button being pressed, or a pop-up panel being present therein.
[0134] The page builder state machine 42 may process each entry 51 in a given page definition table 50 in sequence, and use the information it contains to process graphical data for the graphics generator 43. The operation of the page builder state machine 42 and the graphics generator 43 will now be described in further detail with respect to
[0135]
[0136] A parameter reader 61 of the page builder state machine 42 operates to read field 52 of the definition table entry 51 in order to identify the parameter data, particularly the operation parameter, in the shared memory 41 that is to be used to generate the page. An index generator 62 may then use the value and status of the operation parameter, as indicated in the parameter data, to generate an index into an image address lookup table 64 and (as appropriate for the graphic type indicated in field 53) an index into a graphical offset lookup table 63. The index may be in the form of an offset relative to base addresses indicated by fields 54 and 55 of the definition table entry 51, as shown.
[0137] The image address lookup table 64 provides the address in memory 48 of the pre-generated image data to be used by the graphics generator 43 for the page.
[0138] If the graphics type is of a kind that moves around the screen (such as a plot point, line, level or caret), or is part drawn (such as a fill, operating band or bar graph), the graphical offset lookup table base address 55 and the graphical offset lookup table index are translated into corresponding X and Y pixel offsets through the graphical offset lookup table 63.
[0139] The X and Y pixel offsets are then passed to a screen position calculator 66, where the pixel offsets are combined with the base X and Y positions in fields 56 and 57 of the definition table entry 51. This information is then used to determine the actual placement positions and also the start and end positions within the image primitives for the graphics generator 43 to use (this allows only part of the image to be drawn, for example part of a fill primitive). For lines, the graphical offset lookup table 63 may be accessed twice for the coordinates of the start and end of the line; these are provided by the screen position calculator 66 to the graphics generator 43 as X1,Y1 and X2,Y2 values.
[0140] The state machine control logic 65 provides control of processing logic and sequencing, also providing the graphics generator 43 with the draw direction (to facilitate drawing bar graphs down the page rather than up the page for negative values) and the draw type (i.e. either primitive draw or a line draw).
[0141] The signals passed from the page builder state machine 42 to the graphics generator 43 allow drawing of the different graphic types, under control of the state machine control logic. These are summarised below:
TABLE-US-00001 TABLE 1 Page builder/graphics generator interface Signal Specific Use for Different Types of Name Description Graphic Object Primitive NVM start address of the primitive Used by all graphic object types to specify Address used to draw the graphic object. the source of pixel data. (For line draws, this value is used to point to a primitive that informs the line draw function of the colour and width to be drawn). X1 Position of graphical object on the Used by all graphic object types to indicate screen, in X. (Range 0 to 1919 drawing position of graphic on the screen. pixels). For line draws, (X1, Y1) represents the Y1 Position of graphical object on the start of the line. screen, in Y. (Range 0 to 1079 pixels). Start_X2 Used to define the drawing start For line draws, Start_X2 and End_Y2 point within the primitive, or the represent the X and Y coordinates of the final X coordinate for the line end of the line (X2, Y2). draw. For all primitive based objects such as For situations where the whole Valves, Tank Fills, Vertical Bar Graphs, primitive is to be displayed, this and Horizontal Bar Graphs, Start_X2 value is set to zero. represents the drawing start point within End_Y2 Used to define the drawing finish the primitive, and End_Y2 represents the point within the primitive, or the drawing end point. final Y coordinate for the line Start_X2 and End_Y2 define what draw. proportion of the primitive is to be For situations where the whole displayed and are specified in pixels. primitive is to be displayed, this value is set to full scale. Draw Defines in which direction (+ve or Typically set to positive, but for negative Direction ve) the primitive is to be going bar graphs it would be set to ve. displayed. Read Signal controls whether the Set TRUE when attempting to overlay Modify graphics generator 43 uses a multiple foreground graphics. Normally Write Read-Modify-Write or straight set FALSE to enable the Graphics Write-Only transactions when Generator 43 to use the faster Straight writing to foreground video RAM. Write-Only transactions wherever possible. Draw Signal controls how the graphics All graphical objects are based on a Type generator 43 interprets the above predefined set of primitives, except the line inputs, and whether it writes a draw which is calculated in real time. simple primitive based object to memory, or invokes a line draw. Ctrl The page builder signals the The control lines between the page builder graphics generator 43 to initiate a state machine 42 and graphics generator draw process and the graphics is used with all types of graphical object. generator 43 signals to the page The time for setup of interface signals and builder state machine 42 when the the time to complete a draw will depend draw is complete. upon the particular graphic being processed.
[0142] The graphics generator 43 may have two modes of operation, primitive draw and line draw, and the graphics generator 43 may be set to operate in one of the two modes based on a Draw type signal from the state machine control logic 65. The two modes of operation are summarised below: [0143] Primitive draw: The drawn pixel data is copied into the foreground buffer. The address specifies the primitive to be copied, the Start_X2 and End_Y2 signals specify what proportion of the primitive data is to be copied. [0144] Line draw: X1,Y1 and Start_X2,End_Y2 define the two end points of the line. The primitive image address specifies the primitive to be used for a, e.g. Bresenham, line draw algorithm at the graphics generator 43.
[0145] After the graphics generator 43 has generated foreground image pixel data, it will send this data, together with the corresponding addresses in the foreground buffer and a read-modify-write flag to the subsequent stage(s) of the display sub-system 31.
[0146] It should be appreciated that the method illustrated in
[0147] The method described above can be used to generate pages illustrating the condition of a number of different operation parameters in a number of different configurations.
[0148]
[0149] The value and status of the parameter data stored in the shared memory 41 form a bit pattern that is used to calculate and index into the corresponding image address lookup table 64.
[0150] The particular index value in the example shown in
[0151] Not all valves will necessarily be required to be capable of showing all the possible conditions of the valve that are stored in memory. Consider a valve that has no alarms, warnings or alerts, for example. In such cases, the image address lookup table 64 for this particular type of valve will have entries that map to an Offline primitive icon, as shown. In this way only valid mappings are defined. If the parameter data has invalid unmapped values, the image is shown as offline indicating an error in the parameter data.
[0152]
[0153] The status 22 and the lower and upper bound values 23 of the parameter data stored in the shared memory form a bit pattern that is used to calculate and index into the corresponding image address lookup table 64. This may be done, as is the case in the arrangement of
[0154] The particular index value in the example shown in
[0155] The mapping of the image icon height in pixels to the upper and lower bounds values is done through the graphical offset lookup table 63, as shown. In this case, the control logic will access the graphical offset lookup table 63 twice to provide the start and end pixel points of the primitive for the graphics generator (Start_X2 and End_X2 values).
[0156] The Start_X2 value is also subtracted (Y increases down the page) from the Y position 57 in the definition table entry 51, as the drawing point in the buffer has to be offset to take into account the lower bound point. This becomes the Y1 value passed to the graphics generator 43. The X position 56 and read modify write flag 58 in the definition table are passed directly to the graphics generator 43.
User Sub-System
[0157] As shown in
[0158] The touch state machine 92 is responsible for processing touch events received from a touchscreen via a touch panel interface 91 and issue appropriate control commands to the plant, such as actuation commands to operate an actuation system of the plant relating to the instrument being monitored, in response to the touch events.
[0159] The touch state machine 92 may receive a touch event indication from the touch panel interface 91 in one of the following forms: [0160] No touch [0161] Touch down+X,Y screen coordinates [0162] Touch hold+X,Y screen coordinates [0163] Touch release+X,Y screen coordinates
[0164] (The touch state machine 92 may operate much faster than the rate at which new data can arrive from the touchscreen 14, processing every touch event. Consequently most touch events retrieved will be No touch.)
[0165] The touch state machine 92 is also responsible for determining which set of configuration data should be used by the display sub-system 31 to generate a page. The touch state machine 92 may be operable to indicate the relevant set of configuration data to the display sub-system 31 by means of a state signalling (the Pagestate).
[0166] The operation of the touch state machine 92 to issue state signalling or actuation commands may be facilitated by storing suitable touch configuration data and instructions in touch behaviour tables 93.
[0167] The touch state machine 92 may operate to read the entries in the touch behaviour tables 93 sequentially (by automatically incrementing an index value serving as a program counter) to retrieve touch state instructions and use these together with the touch events to determine appropriate state signalling and any actuation commands.
[0168] The touch behaviour table contains touch state instructions with the following fields: [0169] Index value for current entry; [0170] Instruction condition to be tested; [0171] Operands to be tested; [0172] The next set of configuration data (state signalling) to be used (latched) if the instruction condition test is true; [0173] The next index value to use as an entry point into the touch behaviour table if the instruction condition test is true; and [0174] The actuation command to be issued (latched) if the instruction condition test is true.
[0175] These different fields are shown respectively in the columns of Table 2, together with their corresponding data.
TABLE-US-00002 TABLE 2 Touch behaviour table instructions Next index Index value (Internal Test instruction State (internal Actuation State) condition Operands signalling state) command Current Touch down X1, Y1, X2, Y2 State signalling Next index Command index inside area Current Touch release X1, Y1, X2, Y2 State signalling Next index Command index inside area Current Touch hold inside X1, Y1, X2, Y2 State signalling Next index Command index area Current No Touch None State signalling Next index Command index Current Touch down X1, Y1, X2, Y2 State signalling Next index Command index outside area Current Touch release X1, Y1, X2, Y2 State signalling Next index Command index outside area Current Touch hold X1, Y1, X2, Y2 State signalling Next index Command index outside area Current Jump None State signalling Next index Command index Current Timeout None State signalling Next index Command index
[0176] The jump instruction would typically be used to implement a polling loop for some touch event, while maintaining the same state signalling and unconditionally looping back to the same touch behaviour table entry point.
[0177] The timeout instruction is used to mitigate erroneous touch events and tear down popup controls if there is a lack of touch activity from the user.
[0178] In order to initiate an, e.g., actuation command, a two-stage graphical mechanism may be used to validate the touch command/event. In particular, the operator may be required to select a base control on the screen, which results in a control pop-up panel being displayed. The operator may then be required to select a control on a pop-up panel of the display in order for a command to be registered and acted upon.
[0179] This process may require (at least) six valid touch events: [0180] a valid touch down event on the base level control is required; [0181] a valid touch hold event(s) on the base level control is required (within a time window); [0182] a valid touch release on the base level control is required (within a time window); [0183] a valid touch down event on one of the pop-up controls is required (within a time window); [0184] a valid touch hold event(s) on the correct pop-up control is required (within a time window); and [0185] a valid touch release on the correct pop-up control is required (within a time window).
[0186] If an invalid touch is received or a timeout occurs the state signalling is reset to the start (resulting in the base control button being shown in the unpressed state and any pop-up panel being torn down).
[0187] Operation of the user sub-system 32 will now be described with respect to a worked example illustrated in
[0188] With respect to
[0189] Although
[0190] As best seen in
[0191] In page configuration 131, there is provided an icon 142 representing an operation parameter of the valve being monitored and two user-input options 143 and 144 that may be selected to navigate between Page 1 and Page 2. The image data that is used for icon 142 in
[0192] In the example of
[0193] When a valid touch event for an icon in a given configuration occurs, such as a selection of a user input option, the data processing system will update (re-generate) or replace the current page being displayed with a new page corresponding to a different page configuration, as will now be discussed.
[0194] As best shown in
[0195] If a user presses control option 143 in configuration 131, page configuration 136 showing icon 143 highlighted is displayed, whereas if a user presses control option 144 then page configuration 137 showing icon 144 highlighted is displayed. If control option 143 in configuration 136 is released within the timeframe or there is a timeout, page configuration 131 is displayed. If control option 144 in configuration 137 is released within the timeframe, page configuration 138 corresponding to Page 2 is displayed, whereas if there is a timeout or other touch event when control option 144 is being pressed in configuration 137 then configuration 131 is displayed.
[0196] In configuration 138 (for Page 2), there is provided a control option 147 for resetting the operation of the valve as well as the page navigation options 143 and 144.
[0197] With regard to the navigation options, if a user presses control option 143 in configuration 138 then page configuration 140 showing icon 143 highlighted is displayed, whereas if a user presses control option 144 in configuration 138 then page configuration 141 showing icon 144 highlighted is displayed. If control option 143 in configuration 140 is released within the timeframe, page configuration 131 is displayed, but if there is a timeout or any other touch event then configuration 138 is displayed. If control option 144 in configuration 141 is released within the timeframe, or if there is a timeout or other touch event, configuration 138 is displayed.
[0198] With regard to the reset button in configuration 138, if icon 147 is pressed then configuration 139 showing icon 147 highlighted is displayed. If reset button 147 in configuration 139 is released within the timeframe, configuration 138 is displayed and a reset command is sent to reset the valve. If, however, there is a timeout or other event occurs when reset button 147 in configuration 139 is pressed, configuration 138 is displayed.
[0199] In each configuration above, if a button/icon is held in the pressed state, then the same configuration will be displayed so long as there is not a timeout.
[0200]
[0201] As mentioned above, in order for the display sub-system to generate the current page according to one of the eleven page configurations shown in
[0202] For every different page configuration 131-141, an equivalent Pagestate value is defined by the user sub-system 32 and sent to the display sub-system 31 so that the display sub-system 31 can determine which set of configuration data (and therefore what page configuration) to use to generate a page to be displayed (the current page to be displayed). To aid explanation, these Pagestates have been numbered 1A to 1G for Page 1, and 2A to 2D for Page 2. However, in practice touch page state may be encoded as a 12 bit number between 0 and 4095.
[0203] As mentioned above, the Pagestate value to be used to generate the current page to be displayed is controlled by the user sub-system 32 via the touch state machine 92 and the touch behaviour table 93 described with respect to
[0204]
[0205] Touch state machine 92 begins to execute each test instruction within its behaviour table 93. In this example, the start-up state of the program counter is 1 and page configuration 131 is initially used (corresponding to Pagestate 1A), the first four entries of the behaviour table 93 are executed in sequence. The fourth (If TRUE) GOTO instruction provides the mechanism for an unconditional loop back to the first instruction.
[0206] The program counter of the user sub-system continues to cycle through internal states 1 to 4, waiting for a button (icon) in the current page being displayed to be validly pressed, during which the value of Touch Page State remains unchanged at 1A.
[0207] Entries 1 to 4 of the behaviour table contain test conditions designed to detect all valid presses of icons (touch events) for configuration 131 (Pagestate 1A), as follows: [0208] Entry 1: Test for Valve button Pressed between Co-ords (30,40-50,60) [0209] Entry 2: Test for Page1 button pressed between Co-ords (100,1060-140,1079) [0210] Entry 3: Test for Page2 button pressed between Co-ords (140,1060-180,1079) [0211] Entry 4: Loop back to Entry 1, and repeat tests.
[0212] When a particular test condition is met, i.e. when an icon is validly pressed, the Program Counter and Pagestate Latch are updated with the values specified within a Next Internal State and Next Touch Page State fields of that particular Behaviour Table entry. This causes the touch state machine's program counter to jump to a new part of the Behaviour Table, and the display subsystem to display a new page based on the new Pagestate value.
[0213] In the example of
[0214] After the program counter jumps to entry 5 of the behaviour table 93, a new loop of test instructions is executed while the icon 142 remains pressed. Behaviour Table entry 7 causes the touch state machine to loop back to entry 5 while the button remains pressed. Escape from this new loop is achieved by the following behaviour table entries, under the following circumstances: [0215] Entry 5: A Valve button release event is detected between Coords (30,40-50,60) [0216] Entry 6: A timeout event occurs. [0217] Entry 7: The touch move/hold event is no longer inside the valve area (30,40-50,60) causing the program to execute table entry 8. [0218] Entry 8: A catchall GOTO returns the system back to configuration 131 if anything other than a move/hold within the active valve 1 icon 142 occurs.
[0219] The entire behaviour table 93 required to implement the worked example of
[0220] With respect to
[0221] In order to facilitate information being passed from the display sub-system 31 to the user sub-system 32, there is provided a touch control register 101 as shown in
[0222]
[0223] In order for the display sub-system 31 to know that it is desirable or necessary for information to be passed to the user sub-system 32 (e.g. for an operation parameter condition in the parameter data that will affect the Pagestate for subsequent pages), a new format of definition table entries 51 is used as shown in
[0224] In particular,
[0225] The display sub-system 31 may be configured to determine whether the condition of an operation parameter to be included in the current page meets a pre-defined condition (based on a comparison against the threshold value) and indicate the result of this determination to the user sub-system 32. For example, the state machine control logic 65 of the display sub-system 31 may be operable to test whether the parameter value that is read from the memory 41 is equal to the threshold parameter condition value that is indicated in the parameter detect value field 111, and if it is determined that that is the case, cause the display sub-system 31 to write the value in the touch control register value field 112 in the touch control register 101.
[0226] As the display sub-system and user sub-system may operate asynchronously, some handshaking may be required to ensure coherent data is passed into the touch control register 101. This can be achieved, as shown in
[0227] It will be appreciated that multiple touch control register values can be defined in each definition table 51. In such cases, their outputs will be bitwise ORed together before finally being passed to the Touch Control Register at the end of the Display list (which is the completion of the display construction for the current Pagestate). This is achieved by the Latch read signal from the page builder state machine.
[0228] In the arrangement of
TABLE-US-00003 TABLE 3 Touch behaviour table touch control register instruction Next State Actuation behaviour Test instruction Operands signalling command table index Touch control Bit pattern <n> Pagestate Command Next index register == <n>
[0229] An example implementation of the touch control register of
[0230]
[0231] In the example of
[0232] To facilitate this, the data concentrator 12 of
[0233] Based on this operation parameter, the page generation stage is able to alter the appearance of the user control options that are displayed in the page. In the example of
[0234] There are four possible page configurations for this: a first configuration where the control options for both valves are not shaded (i.e. are in a manual mode) as shown in row 121; a second configuration where the control valves for both valves are shaded (i.e. are in an auto mode) as shown in row 124; a third configuration where the control options for the port valve are not shaded but the control options for starboard valve are shaded, as shown in row 122; and a fourth configuration where the control options for the port valve are shaded but the control options for starboard valve are not shaded, as shown in row 123. Accordingly, there are four corresponding sets of configuration data pre-defined for the valves, one set for each configuration of user-input control options to be displayed in a page for the valves.
[0235] During operation, the state machine control logic 65 of the display sub-system 31 will compare the operation parameter for each valve with a reference operation parameter to determine whether each valve is in a manual or auto mode of operation. In response to this determination, the display sub-system 31 sets the content of the touch control register (e.g. by setting a different bit in the touch control register 101) to indicate the result of the determination to the user sub-system 32, as shown in column 125 of
[0236] In the user sub-system 32, the Touch Behaviour Table 93 will contain entries to detect all four possible combinations of valve operating modes, and will select one of four sets of configuration data (Pagestate) to use for the page, accordingly.
[0237] While the technology has been described above as being particularly relevant and applicable to plant (e.g. control and) monitoring systems, this is not required. The technology described herein can be applied to any field where high integrity display systems are required. Such fields include Civil nuclear reactor control rooms, Cockpit displays, Train control, Ship control and process plant control room safety displays.
[0238] Furthermore, while the technology herein has been described above with respect to touch events and a touchscreen, this is not required. Any interface (between the data processing system and a user) that is capable of recognising a user input, e.g. via any computing means such as a mouse or keyboard, can be used instead.
[0239] The design of the data processing system is such that the image seen on the screen can be deterministically traced, pixel by pixel, to the internal configuration data and the received parameter data stream. Consequently, the overall integrity of the monitoring system when implementing the data processing system can be sufficiently high for the monitoring and control of a nuclear plant.
[0240] It will be understood that the technology described herein is not limited to the embodiments above-described and various modifications and improvements can be made without departing from the concepts described herein. Except where mutually exclusive, any of the features may be employed separately or in combination with any other features and the disclosure extends to and includes all combinations and sub-combinations of one or more features described herein.