XCos Screening Tasks

Requirements

  1. Scilab (expert)
  2. XCos (must do any one of the screening tasks listed below)

 Note that python is not a requirement.

Screening Task 1 for XCos (Note: Submission of this task was closed on 26 February 2023)

  1. Make an XCos diagram containing the following:

    1. One CSCOPE block

    2. Other blocks as needed

  2. Configure all the blocks by setting their parameters. Note the default values of these parameters. The CSCOPE block has 10 parameters, namely:

    1. Colour (> 0) or mark (< 0) vector (8 entries)

    2. Output window number

    3. Output window position

    4. Output window sizes

    5. Y min

    6. Y max

    7. Refresh period

    8. Buffer size

    9. Accepted herited events (0 / 1)

    10. Name of scope

  3. Save the Xcos diagram in .xcos format only. Do not save in any other format. Say, the filename is example.xcos

  4. Format this file using xmllint which is part of the libxml2-utils package. For Ubuntu, the package installation command is:
    apt install libxml2-utils
    The command to format the xcos file will be:
    xmllint --format example.xcos > example.xml

  5. Keeping all the other block parameters fixed, vary the CSCOPE parameters and save the .xcos file again. Format the new file again. Note how the changed parameters are saved.

Submission of Screening Task 1 for XCos (Note: Submission of this task was closed on 26 February 2023)

Fill this form https://docs.google.com/forms/d/e/1FAIpQLSdfXEA5XZ_1kXRbnmA55XwQjivAr4Dp... for your submission. The following details will be asked for:

  1. Select the Scilab version being used.

  2. Upload the XCos diagram.

  3. Upload the Scilab dependency file, if any. In case of multiple Scilab dependency files, make a zip and upload it. (optional)

  4. A table of your observations. Note, you may also make this table in a google sheet and share that sheet:

No.

Parameter

Default Value

Location(s) in .xcos File Where it is Saved

1Colour (> 0) or mark (< 0) vector (8 entries)1 3 5 7 9 11 13 15ScilabString as="exprs" -> data column="0" line="0" value
2Output window number  
3Output window position  
4Output window sizes  
5Y min  
6Y max  
7Refresh period  
8Buffer size  
9Accepted herited events (0 / 1)  
10Name of scope  

 

The rows in the above table are a sample. Note that each parameter could affect multiple locations in the .xcos file.

 

Screening Task 2 for XCos (Note: Submission of this task was closed on 6 December 2022)

  1. Make an XCos diagram containing the following:

    1. One CLR block

    2. One Sink block gives output in the form of a curve (e.g. CSCOPE)

    3. Other blocks as needed

  2. Configure all the blocks by setting their parameters. The CLR block has a numerator transfer function and a denominator transfer function with s as the parameter. E.g. numerator could be s+3 and the denominator could be s^2+10*s+1.

  3. Simulate the Xcos diagram. Note the form of the output curve.

  4. Keeping all the other block parameters fixed, vary the numerator and the denominator functions so that you get:

    1. Converging output curve.

    2. Oscillating output curve.

    3. Diverging output curve.

Submission of Screening Task 2 for XCos (Note: Submission of this task was closed on 6 December 2022)

Fill this form https://docs.google.com/forms/d/e/1FAIpQLSf8mIIzwIa2zwVqJIAgGJnUhTH6oIjt... for your submission. The following details will be asked for:

  1. Select the Scilab version is being used.

  2. Upload the XCos diagram.

  3. Upload the Scilab dependency file, if any. In case of multiple Scilab dependency files, make a zip and upload it. (optional)

  4. A table of your observations. Note, you may also make this table in a google sheet and share that sheet:

No.

Numerator

Denominator

Output curve 

1s+5s^2+3*s+1Converges to 10
21s^2+c (where c > 0)Oscillates around c
3s+a (where a > 0)s^2+b*s+c (where c > b > a)Diverges

 

The rows in the above table are a sample. Each row could be for a specific example as in row 1 above or for a more generalised example as in rows 2 and 3. The maximum number of rows in the above table is ten. There must be at least one row of each type (converging, oscillating, and diverging).

 

Email: contact-xcos@fossee.in