FlexRay

Implementing an Anti-lock braking system using FlexRay network

New_FlexRay_Test_Model

Browsable image of the model.

  • To download OpenWebStart click on the links -
    Windows- Compatibility:Windows 10 or higher (*)
    macOS - Compatibility:macOS 10.15 (Catalina) or higher (*)
    Linux - Compatibility:Ubuntu 18.04 LTS or higher (*)
  • For an executable version,
  • Mouse over the icons to view parameters. Click on hierarchy and plotters to reveal content (if provided).
  • To simulate, click on Launch button, open downloaded file and click Run on the Java Security Page.
New_FlexRay_Test_Modelmodel <h2>Compute_Latency</h2><table border="1"><tr><td><b>Parameter</b></td><td><b>Expression</b></td><td><b>Value</b></td></tr><tr><td>Block_Documentation</td><td>Enter User Documentation Here</td><td>Enter User Documentation Here</td></tr><tr><td>Field_Description_1</td><td>DELTA = TNOW - TIME</td><td>&quot;DELTA = TNOW - TIME&quot;</td></tr><tr><td>Field_Description_2</td><td>Name_X Assign Name_Y OP Name_Z</td><td>&quot;Name_X Assign Name_Y OP Name_Z&quot;</td></tr><tr><td>Field_Description_3</td><td>Name_X Assign Name_Y OP Name_Z</td><td>&quot;Name_X Assign Name_Y OP Name_Z&quot;</td></tr><tr><td>Field_Description_4</td><td>Name_X Assign Name_Y OP Name_Z</td><td>&quot;Name_X Assign Name_Y OP Name_Z&quot;</td></tr><tr><td>Switch_Field_Name</td><td>DELTA</td><td>&quot;DELTA&quot;</td></tr><tr><td>Random_Seed</td><td>123457L</td><td>123457L</td></tr></table> <h2>Latency</h2><table border="1"><tr><td><b>Parameter</b></td><td><b>Expression</b></td><td><b>Value</b></td></tr><tr><td>Block_Documentation</td><td>Enter User Documentation Here</td><td>Enter User Documentation Here</td></tr><tr><td>fillOnWrapup</td><td>true</td><td>true</td></tr><tr><td>legend</td><td>&nbsp;</td><td>&nbsp;</td></tr><tr><td>startingDataset</td><td>0</td><td>0</td></tr><tr><td>fileName</td><td>Enter Filename to save plot</td><td>&quot;Enter Filename to save plot&quot;</td></tr><tr><td>viewPlot</td><td>true</td><td>true</td></tr><tr><td>savePlot</td><td>false</td><td>false</td></tr></table> <h2>DS_Source3</h2><table border="1"><tr><td><b>Parameter</b></td><td><b>Expression</b></td><td><b>Value</b></td></tr><tr><td>Block_Documentation</td><td>Enter User Documentation Here</td><td>Enter User Documentation Here</td></tr><tr><td>Data_Structure_Name</td><td>&quot;FlexRay_Frame_DS&quot;</td><td>&quot;FlexRay_Frame_DS&quot;</td></tr><tr><td>Start_Time</td><td>1.0E-06</td><td>1.0E-6</td></tr><tr><td>Mean_Time</td><td>(1.0E-06 / FlexRay_Speed_Mbps) * 5000.0</td><td>5.0E-4</td></tr><tr><td>Spread_Time</td><td>1.0E-05</td><td>1.0E-5</td></tr><tr><td>Random_Seed</td><td>123457L</td><td>123457L</td></tr><tr><td>Time_Distribution</td><td>Fixed (Mean)</td><td>Fixed (Mean)</td></tr></table> <h2>DS_Source2</h2><table border="1"><tr><td><b>Parameter</b></td><td><b>Expression</b></td><td><b>Value</b></td></tr><tr><td>Block_Documentation</td><td>Enter User Documentation Here</td><td>Enter User Documentation Here</td></tr><tr><td>Data_Structure_Name</td><td>&quot;FlexRay_Frame_DS&quot;</td><td>&quot;FlexRay_Frame_DS&quot;</td></tr><tr><td>Start_Time</td><td>1.0E-06</td><td>1.0E-6</td></tr><tr><td>Mean_Time</td><td>(1.0E-06 / FlexRay_Speed_Mbps) * 5000.0</td><td>5.0E-4</td></tr><tr><td>Spread_Time</td><td>1.0E-05</td><td>1.0E-5</td></tr><tr><td>Random_Seed</td><td>123457L</td><td>123457L</td></tr><tr><td>Time_Distribution</td><td>Fixed (Mean)</td><td>Fixed (Mean)</td></tr></table> <h2>DS_Source</h2><table border="1"><tr><td><b>Parameter</b></td><td><b>Expression</b></td><td><b>Value</b></td></tr><tr><td>Block_Documentation</td><td>Enter User Documentation Here</td><td>Enter User Documentation Here</td></tr><tr><td>Data_Structure_Name</td><td>&quot;FlexRay_Frame_DS&quot;</td><td>&quot;FlexRay_Frame_DS&quot;</td></tr><tr><td>Start_Time</td><td>1.0E-06</td><td>1.0E-6</td></tr><tr><td>Mean_Time</td><td>(1.0E-06 / FlexRay_Speed_Mbps) *5000.0</td><td>5.0E-4</td></tr><tr><td>Spread_Time</td><td>1.0E-05</td><td>1.0E-5</td></tr><tr><td>Random_Seed</td><td>123457L</td><td>123457L</td></tr><tr><td>Time_Distribution</td><td>Fixed (Mean)</td><td>Fixed (Mean)</td></tr></table> <h2>Expr2</h2><table border="1"><tr><td><b>Parameter</b></td><td><b>Expression</b></td><td><b>Value</b></td></tr><tr><td>Block_Documentation</td><td>Enter User Documentation Here</td><td>Enter User Documentation Here</td></tr><tr><td>Expression_A</td><td>&quot;input.Payload_Bytes = 40&quot;</td><td>&quot;&quot;input.Payload_Bytes = 40&quot;&quot;</td></tr><tr><td>Expression_B</td><td>&quot;Result_B = MyRegExpression_B_or_None&quot;</td><td>&quot;&quot;Result_B = MyRegExpression_B_or_None&quot;&quot;</td></tr><tr><td>Expression_C</td><td>&quot;Result_C = MyRegExpression_C_or_None&quot;</td><td>&quot;&quot;Result_C = MyRegExpression_C_or_None&quot;&quot;</td></tr><tr><td>Expression_D</td><td>&quot;Result_D = MyRegExpression_D_or_None&quot;</td><td>&quot;&quot;Result_D = MyRegExpression_D_or_None&quot;&quot;</td></tr><tr><td>Output_Ports</td><td>&quot;output&quot;</td><td>&quot;&quot;output&quot;&quot;</td></tr><tr><td>Output_Results</td><td>&quot;input&quot;</td><td>&quot;&quot;input&quot;&quot;</td></tr><tr><td>Memory_Access</td><td>No</td><td>No</td></tr></table> <h2>Expr</h2><table border="1"><tr><td><b>Parameter</b></td><td><b>Expression</b></td><td><b>Value</b></td></tr><tr><td>Block_Documentation</td><td>Enter User Documentation Here</td><td>Enter User Documentation Here</td></tr><tr><td>Expression_A</td><td>&quot;input.Payload_Bytes = 40&quot;</td><td>&quot;&quot;input.Payload_Bytes = 40&quot;&quot;</td></tr><tr><td>Expression_B</td><td>&quot;Result_B = MyRegExpression_B_or_None&quot;</td><td>&quot;&quot;Result_B = MyRegExpression_B_or_None&quot;&quot;</td></tr><tr><td>Expression_C</td><td>&quot;Result_C = MyRegExpression_C_or_None&quot;</td><td>&quot;&quot;Result_C = MyRegExpression_C_or_None&quot;&quot;</td></tr><tr><td>Expression_D</td><td>&quot;Result_D = MyRegExpression_D_or_None&quot;</td><td>&quot;&quot;Result_D = MyRegExpression_D_or_None&quot;&quot;</td></tr><tr><td>Output_Ports</td><td>&quot;output&quot;</td><td>&quot;&quot;output&quot;&quot;</td></tr><tr><td>Output_Results</td><td>&quot;input&quot;</td><td>&quot;&quot;input&quot;&quot;</td></tr><tr><td>Memory_Access</td><td>No</td><td>No</td></tr></table> <h2>Display</h2><table border="1"><tr><td><b>Parameter</b></td><td><b>Expression</b></td><td><b>Value</b></td></tr><tr><td>Block_Documentation</td><td>Enter User Documentation Here</td><td>Enter User Documentation Here</td></tr><tr><td>Title</td><td>&quot;Channel_Outputs&quot;</td><td>&quot;Channel_Outputs&quot;</td></tr><tr><td>Lines_Buffered</td><td>5</td><td>5</td></tr><tr><td>Rows_Displayed</td><td>20</td><td>20</td></tr><tr><td>Columns_Displayed</td><td>75</td><td>75</td></tr><tr><td>Font_Type</td><td>Lucida Console</td><td>Lucida Console</td></tr><tr><td>ViewText</td><td>true</td><td>true</td></tr><tr><td>saveText</td><td>false</td><td>false</td></tr><tr><td>fileName</td><td>Enter Filename to save text</td><td>&quot;Enter Filename to save text&quot;</td></tr><tr><td>Append_Time</td><td>true</td><td>true</td></tr></table> <h2>Comm_Controller</h2><table border="1"><tr><td><b>Parameter</b></td><td><b>Expression</b></td><td><b>Value</b></td></tr><tr><td>Block_Documentation</td><td>Enter User Documentation Here</td><td>Enter User Documentation Here</td></tr><tr><td>FlexRay_Bus_Name</td><td>&quot;FlexRay_1&quot;</td><td>&quot;FlexRay_1&quot;</td></tr><tr><td>FlexRay_Speed_Mbps</td><td>FlexRay_Speed_Mbps</td><td>10.0</td></tr><tr><td>Number_Static_Slots</td><td>Number_Static_Slots /* 1023 Max */</td><td>7</td></tr><tr><td>Bytes_per_Static_Slot</td><td>Bytes_per_Static_Slot   /* 254 Max */</td><td>16</td></tr><tr><td>Number_Dynamic_Slots</td><td>Number_Dynamic_Slots</td><td>2</td></tr><tr><td>Bytes_per_Dynamic_Slot</td><td>Bytes_per_Dynamic_Slot /* Match Static Currently */</td><td>32</td></tr><tr><td>Transmission_Start_Sequence</td><td>Transmission_Start_Sequence /* Bit Times */</td><td>8</td></tr><tr><td>Frame_Start_Sequence</td><td>Frame_Start_Sequence /* Bit Times */</td><td>1</td></tr><tr><td>Byte_Start_Sequence</td><td>Byte_Start_Sequence /* Bit Times */</td><td>2</td></tr><tr><td>Dynamic_Trailing_Sequence</td><td>Dynamic_Trailing_Sequence /* Bit Times */</td><td>4</td></tr><tr><td>Mini_Slot_Bits</td><td>Mini_Slot_Bits</td><td>3</td></tr><tr><td>Total_Slots</td><td>Number_Static_Slots + Number_Dynamic_Slots /* DO NOT MODIFY */</td><td>9</td></tr><tr><td>Time_Array</td><td>&quot;Time_Array_&quot; + FlexRay_Bus_Name</td><td>&quot;Time_Array_FlexRay_1&quot;</td></tr><tr><td>Channel_1_ON</td><td>Channel_1_ON</td><td>true</td></tr><tr><td>Channel_2_ON</td><td>Channel_2_ON</td><td>true</td></tr><tr><td>Channel_2_Offset</td><td>Channel_2_Offset</td><td>1</td></tr><tr><td>Idle_Time</td><td>Idle_Time /* Bit Times */</td><td>0</td></tr><tr><td>FlexRay_Statistics_Samples</td><td>FlexRay_Statistics_Samples</td><td>1.0</td></tr><tr><td>Channel_1_Offset</td><td>Channel_1_Offset</td><td>0</td></tr><tr><td>Frame_End_Sequence</td><td>2 /* Bit Times */</td><td>2</td></tr></table> <h2>Dual_Port2</h2><table border="1"><tr><td><b>Parameter</b></td><td><b>Expression</b></td><td><b>Value</b></td></tr><tr><td>Block_Documentation</td><td>Enter User Documentation Here</td><td>Enter User Documentation Here</td></tr><tr><td>FlexRay_Bus_Name</td><td>&quot;FlexRay_1&quot;</td><td>&quot;FlexRay_1&quot;</td></tr><tr><td>Channel_1_Read</td><td>{1,2,8}</td><td>{1, 2, 8}</td></tr><tr><td>Port_Name_ID</td><td>2</td><td>2</td></tr><tr><td>Port_Name</td><td>&quot;Port_2&quot;</td><td>&quot;Port_2&quot;</td></tr><tr><td>Channel_1_Color</td><td>&quot;black&quot;</td><td>&quot;black&quot;</td></tr><tr><td>Channel_2_Color</td><td>&quot;orange&quot;</td><td>&quot;orange&quot;</td></tr><tr><td>Channel_2_Read</td><td>{1,2,6}</td><td>{1, 2, 6}</td></tr><tr><td>Channel_1_Write</td><td>{3,4,9}</td><td>{3, 4, 9}</td></tr><tr><td>Channel_2_Write</td><td>{0} /* NO WRITE */</td><td>{0}</td></tr><tr><td>DS_Size_Field_Name</td><td>DS_Field_Name_for_Bytes</td><td>&quot;Payload_Bytes&quot;</td></tr><tr><td>Burst_Size_Bytes</td><td>Bytes_per_Static_Slot</td><td>16</td></tr><tr><td>Max_Port_Queue_Length</td><td>Max_Port_Queue_Length</td><td>32</td></tr><tr><td>Number_Static_Slots</td><td>Number_Static_Slots</td><td>7</td></tr><tr><td>Number_Dynamic_Slots</td><td>Number_Dynamic_Slots</td><td>2</td></tr><tr><td>Total_Slots</td><td>Number_Static_Slots + Number_Dynamic_Slots /* DO NOT MODIFY */</td><td>9</td></tr><tr><td>Bytes_per_Dynamic_Slot</td><td>Bytes_per_Dynamic_Slot</td><td>32</td></tr></table> <h2>Dual_Port</h2><table border="1"><tr><td><b>Parameter</b></td><td><b>Expression</b></td><td><b>Value</b></td></tr><tr><td>Block_Documentation</td><td>Enter User Documentation Here</td><td>Enter User Documentation Here</td></tr><tr><td>FlexRay_Bus_Name</td><td>&quot;FlexRay_1&quot;</td><td>&quot;FlexRay_1&quot;</td></tr><tr><td>Channel_1_Read</td><td>{3,4}</td><td>{3, 4}</td></tr><tr><td>Port_Name_ID</td><td>1</td><td>1</td></tr><tr><td>Port_Name</td><td>&quot;Port_1&quot;</td><td>&quot;Port_1&quot;</td></tr><tr><td>Channel_1_Color</td><td>&quot;red&quot;</td><td>&quot;red&quot;</td></tr><tr><td>Channel_2_Color</td><td>&quot;blue&quot;</td><td>&quot;blue&quot;</td></tr><tr><td>Channel_2_Read</td><td>{3,4}</td><td>{3, 4}</td></tr><tr><td>Channel_1_Write</td><td>{1,2,6}</td><td>{1, 2, 6}</td></tr><tr><td>Channel_2_Write</td><td>{1,2,6}</td><td>{1, 2, 6}</td></tr><tr><td>DS_Size_Field_Name</td><td>DS_Field_Name_for_Bytes</td><td>&quot;Payload_Bytes&quot;</td></tr><tr><td>Burst_Size_Bytes</td><td>Bytes_per_Static_Slot</td><td>16</td></tr><tr><td>Max_Port_Queue_Length</td><td>Max_Port_Queue_Length</td><td>32</td></tr><tr><td>Number_Static_Slots</td><td>Number_Static_Slots</td><td>7</td></tr><tr><td>Number_Dynamic_Slots</td><td>Number_Dynamic_Slots</td><td>2</td></tr><tr><td>Total_Slots</td><td>Number_Static_Slots + Number_Dynamic_Slots /* DO NOT MODIFY */</td><td>9</td></tr><tr><td>Bytes_per_Dynamic_Slot</td><td>Bytes_per_Dynamic_Slot</td><td>32</td></tr></table> <h2>Star_Node2</h2><table border="1"><tr><td><b>Parameter</b></td><td><b>Expression</b></td><td><b>Value</b></td></tr><tr><td>Block_Documentation</td><td>Enter User Documentation Here</td><td>Enter User Documentation Here</td></tr><tr><td>Star_Speed_Mhz</td><td>1000.0</td><td>1000.0</td></tr><tr><td>Star_Name</td><td>&quot;Star_1&quot;</td><td>&quot;Star_1&quot;</td></tr></table> <h2>Expr9</h2><table border="1"><tr><td><b>Parameter</b></td><td><b>Expression</b></td><td><b>Value</b></td></tr><tr><td>Block_Documentation</td><td>Enter User Documentation Here</td><td>Enter User Documentation Here</td></tr><tr><td>Expression_A</td><td>&quot;input.Payload_Bytes = 40&quot;</td><td>&quot;&quot;input.Payload_Bytes = 40&quot;&quot;</td></tr><tr><td>Expression_B</td><td>&quot;Result_B = MyRegExpression_B_or_None&quot;</td><td>&quot;&quot;Result_B = MyRegExpression_B_or_None&quot;&quot;</td></tr><tr><td>Expression_C</td><td>&quot;Result_C = MyRegExpression_C_or_None&quot;</td><td>&quot;&quot;Result_C = MyRegExpression_C_or_None&quot;&quot;</td></tr><tr><td>Expression_D</td><td>&quot;Result_D = MyRegExpression_D_or_None&quot;</td><td>&quot;&quot;Result_D = MyRegExpression_D_or_None&quot;&quot;</td></tr><tr><td>Output_Ports</td><td>&quot;output&quot;</td><td>&quot;&quot;output&quot;&quot;</td></tr><tr><td>Output_Results</td><td>&quot;input&quot;</td><td>&quot;&quot;input&quot;&quot;</td></tr><tr><td>Memory_Access</td><td>No</td><td>No</td></tr></table>