Subblock-create-and-verify/SpeedController.json

516 lines
19 KiB
JSON

{
"id": 140667921584560,
"scene_width": 64000,
"scene_height": 64000,
"scene_pos_x": -451.0,
"scene_pos_y": 87.0,
"nodes": [
{
"id": 1,
"enable": true,
"is_invalid": false,
"title": "Signal",
"pos_x": -446.5879025459359,
"pos_y": 99.0,
"inputs": [
{
"id": 10001,
"index": 0,
"multi_edges": false,
"position": 0,
"socket_type": 1,
"link_id": 5,
"text": "",
"mode": "",
"object": "",
"true_type": "",
"type": "float",
"description": ""
}
],
"outputs": [],
"content": {
"id": 140116542372112
},
"alias": "",
"comment": "",
"params": {},
"object_name": "Anti windup",
"group": "Control System"
},
{
"id": 2,
"enable": true,
"is_invalid": false,
"title": "Signal",
"pos_x": -446.5879025459359,
"pos_y": -241.0,
"inputs": [
{
"id": 20001,
"index": 0,
"multi_edges": false,
"position": 0,
"socket_type": 1,
"link_id": 1,
"text": "",
"mode": "",
"object": "",
"true_type": "",
"type": "float",
"description": ""
}
],
"outputs": [],
"content": {
"id": 140116542373408
},
"alias": "",
"comment": "",
"params": {},
"object_name": "Speed reg Integral",
"group": "Control System"
},
{
"id": 3,
"enable": true,
"is_invalid": false,
"title": "control::regulator::SpeedController",
"pos_x": -1116.0400881767196,
"pos_y": -56.10172653198242,
"inputs": [],
"outputs": [
{
"id": 30101,
"index": 0,
"multi_edges": true,
"position": 2,
"socket_type": 3,
"link_id": 1,
"text": "",
"mode": "output",
"object": "",
"true_type": "",
"type": "control::regulator::SpeedController",
"description": ""
}
],
"content": {
"id": 140116542522272
},
"alias": "",
"comment": "",
"params": {
"reg_speed_Kp": {
"value": 0.3,
"format": "f",
"description": "\u041f\u0440\u043e\u043f\u043e\u0440\u0446\u0438\u043e\u043d\u0430\u043b\u044c\u043d\u044b\u0439 \u043a\u043e\u044d\u0444\u0444\u0438\u0446\u0438\u0435\u043d\u0442 \u0440\u0435\u0433\u0443\u043b\u044f\u0442\u043e\u0440\u0430 \u0441\u043a\u043e\u0440\u043e\u0441\u0442\u0438.",
"alias": "srf_proportional_speed_coeff",
"min": 0.0
},
"reg_speed_Ki": {
"value": 128.0,
"format": "f",
"description": "\u0418\u043d\u0442\u0435\u0433\u0440\u0430\u043b\u044c\u043d\u044b\u0439 \u043a\u043e\u044d\u0444\u0444\u0438\u0446\u0438\u0435\u043d\u0442 \u0440\u0435\u0433\u0443\u043b\u044f\u0442\u043e\u0440\u0430 \u0441\u043a\u043e\u0440\u043e\u0441\u0442\u0438.",
"alias": "srf_integral_speed_coeff",
"min": 0.0
},
"reg_speed_Ktr": {
"value": 1.0,
"format": "f",
"description": "\u041a\u043e\u044d\u0444\u0444\u0438\u0446\u0438\u0435\u043d\u0442 \u0437\u0430\u0449\u0438\u0442\u044b \u043e\u0442 \u043f\u0435\u0440\u0435\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u044f \u0438\u043d\u0442\u0435\u0433\u0440\u0430\u043b\u044c\u043d\u043e\u0439 \u0441\u0443\u043c\u043c\u044b \u0440\u0435\u0433\u0443\u043b\u044f\u0442\u043e\u0440\u0430 \u0441\u043a\u043e\u0440\u043e\u0441\u0442\u0438.",
"alias": "",
"min": 0.0,
"max": 1.0
},
"reg_speed_Im": {
"value": 27.0,
"format": "f",
"description": "\u041e\u0433\u0440\u0430\u043d\u0438\u0447\u0435\u043d\u0438\u0435 \u0438\u043d\u0442\u0435\u0433\u0440\u0430\u043b\u044c\u043d\u043e\u0439 \u0441\u0443\u043c\u043c\u044b \u0440\u0435\u0433\u0443\u043b\u044f\u0442\u043e\u0440\u0430 \u0441\u043a\u043e\u0440\u043e\u0441\u0442\u0438.",
"alias": "srf_integral_restriction",
"min": 0.0
},
"max_torque": {
"value": 31.0,
"format": "f",
"description": "\u041c\u0430\u043a\u0441\u0438\u043c\u0430\u043b\u044c\u043d\u044b\u0439 \u043c\u043e\u043c\u0435\u043d\u0442 \u0434\u0432\u0438\u0433\u0430\u0442\u0435\u043b\u044f.",
"alias": "srf_torque_restriction",
"min": 0.0,
"max": 70.0
},
"max_dtorque": {
"value": 100000.0,
"format": "f",
"description": "\u041c\u0430\u043a\u0441\u0438\u043c\u0430\u043b\u044c\u043d\u043e\u0435 \u043f\u0440\u0438\u0440\u0430\u0449\u0435\u043d\u0438\u0435 \u043c\u043e\u043c\u0435\u043d\u0442\u0430 \u0434\u0432\u0438\u0433\u0430\u0442\u0435\u043b\u044f.",
"alias": "srf_increment_restriction",
"min": 0.0
},
"reg_speed_Kd_stp": {
"value": 1.0,
"format": "f",
"description": "\u0414\u0438\u0444\u0444\u0435\u0440\u0435\u043d\u0446\u0438\u0430\u043b\u044c\u043d\u044b\u0439 \u043a\u043e\u044d\u0444\u0444\u0438\u0446\u0438\u0435\u043d\u0442 \u043f\u0440\u0438\u0440\u0430\u0449\u0435\u043d\u0438\u044f \u0437\u0430\u0434\u0430\u043d\u0438\u044f \u0441\u043a\u043e\u0440\u043e\u0441\u0442\u0438.",
"alias": "srf_diff_speed_coeff",
"min": 0.0,
"max": 1.0
},
"base_Jp": {
"value": 0.0022,
"format": "f",
"description": "\u0411\u0430\u0437\u043e\u0432\u044b\u0439 \u043f\u0440\u0438\u0432\u0435\u0434\u0435\u043d\u043d\u044b\u0439 \u043c\u043e\u043c\u0435\u043d\u0442 \u0438\u043d\u0435\u0440\u0446\u0438\u0438.",
"alias": "ms_moment_of_inertia",
"min": 0.0,
"max": 2.0
}
},
"setting_name": "Speed Regulator",
"group": "Control System",
"level": 3
},
{
"id": 4,
"enable": true,
"is_invalid": false,
"title": "Signal",
"pos_x": -446.5879025459359,
"pos_y": -154.0,
"inputs": [
{
"id": 40001,
"index": 0,
"multi_edges": false,
"position": 0,
"socket_type": 1,
"link_id": 2,
"text": "",
"mode": "",
"object": "",
"true_type": "",
"type": "float",
"description": ""
}
],
"outputs": [],
"content": {
"id": 140116542523568
},
"alias": "",
"comment": "",
"params": {},
"object_name": "Speed reg Proportional",
"group": "Control System"
},
{
"id": 5,
"enable": true,
"is_invalid": false,
"title": "SpeedController",
"pos_x": -830.2275881767198,
"pos_y": -27.777507781981512,
"inputs": [
{
"id": 50001,
"index": 0,
"multi_edges": false,
"position": 0,
"socket_type": 3,
"link_id": 1,
"text": "params",
"mode": "input",
"object": "setting",
"true_type": "none",
"type": "control::regulator::SpeedController",
"description": "\u041d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0438 \u0440\u0435\u0433\u0443\u043b\u044f\u0442\u043e\u0440\u0430 \u0441\u043a\u043e\u0440\u043e\u0441\u0442\u0438 \u0434\u0432\u0438\u0433\u0430\u0442\u0435\u043b\u044f."
}
],
"outputs": [
{
"id": 50101,
"index": 0,
"multi_edges": true,
"position": 2,
"socket_type": 2,
"link_id": 1,
"text": "regulator",
"mode": "output",
"object": "resource",
"true_type": "control::regulator::SpeedController",
"type": "control::regulator::SpeedController",
"description": "\u0420\u0435\u0433\u0443\u043b\u044f\u0442\u043e\u0440 \u0441\u043a\u043e\u0440\u043e\u0441\u0442\u0438 \u0434\u0432\u0438\u0433\u0430\u0442\u0435\u043b\u044f."
},
{
"id": 50102,
"index": 1,
"multi_edges": true,
"position": 2,
"socket_type": 1,
"link_id": 1,
"text": "integral_part",
"mode": "output",
"object": "value",
"true_type": "const float &",
"type": "float",
"description": "\u0418\u043d\u0442\u0435\u0433\u0440\u0430\u043b\u044c\u043d\u0430\u044f \u0441\u043e\u0441\u0442\u0430\u0432\u043b\u044f\u044e\u0449\u0430\u044f \u0440\u0435\u0433\u0443\u043b\u044f\u0442\u043e\u0440\u0430 \u0441\u043a\u043e\u0440\u043e\u0441\u0442\u0438."
},
{
"id": 50103,
"index": 2,
"multi_edges": true,
"position": 2,
"socket_type": 1,
"link_id": 2,
"text": "proportional_part",
"mode": "output",
"object": "value",
"true_type": "const float &",
"type": "float",
"description": "\u041f\u0440\u043e\u043f\u043e\u0446\u0438\u043e\u043d\u0430\u043b\u044c\u043d\u0430\u044f \u0441\u043e\u0441\u0442\u0430\u0432\u043b\u044f\u044e\u0449\u0430\u044f \u0440\u0435\u0433\u0443\u043b\u044f\u0442\u043e\u0440\u0430 \u0441\u043a\u043e\u0440\u043e\u0441\u0442\u0438."
},
{
"id": 50104,
"index": 3,
"multi_edges": true,
"position": 2,
"socket_type": 1,
"link_id": 3,
"text": "output",
"mode": "output",
"object": "value",
"true_type": "const float &",
"type": "float",
"description": "\u0412\u044b\u0445\u043e\u0434 \u0440\u0435\u0433\u0443\u043b\u044f\u0442\u043e\u0440\u0430 \u0441\u043a\u043e\u0440\u043e\u0441\u0442\u0438."
},
{
"id": 50105,
"index": 4,
"multi_edges": true,
"position": 2,
"socket_type": 1,
"link_id": 4,
"text": "unbounded_output",
"mode": "output",
"object": "value",
"true_type": "const float &",
"type": "float",
"description": "\u0412\u044b\u0445\u043e\u0434 \u0440\u0435\u0433\u0443\u043b\u044f\u0442\u043e\u0440\u0430 \u0441\u043a\u043e\u0440\u043e\u0441\u0442\u0438 \u0431\u0435\u0437 \u043e\u0433\u0440\u0430\u043d\u0438\u0447\u0435\u043d\u0438\u0439."
},
{
"id": 50106,
"index": 5,
"multi_edges": true,
"position": 2,
"socket_type": 1,
"link_id": 5,
"text": "derivative_part",
"mode": "output",
"object": "value",
"true_type": "const float &",
"type": "float",
"description": "\u0414\u0438\u0444\u0444\u0435\u0440\u0435\u043d\u0446\u0438\u0430\u043b\u044c\u043d\u0430\u044f \u0441\u043e\u0441\u0442\u0430\u0432\u043b\u044f\u044e\u0449\u0430\u044f \u0440\u0435\u0433\u0443\u043b\u044f\u0442\u043e\u0440\u0430 \u0441\u043a\u043e\u0440\u043e\u0441\u0442\u0438."
},
{
"id": 50107,
"index": 6,
"multi_edges": true,
"position": 2,
"socket_type": 5,
"link_id": 1,
"text": "limited",
"mode": "output",
"object": "value",
"true_type": "unknow",
"type": "bool",
"description": "\u041f\u0440\u0438\u0437\u043d\u0430\u043a \u0442\u043e\u0433\u043e \u0447\u0442\u043e \u0440\u0435\u0433\u0443\u043b\u044f\u0442\u043e\u0440 \u0443\u0448\u0435\u043b \u0432 \u043d\u0430\u0441\u044b\u0449\u0435\u043d\u0438\u0435."
}
],
"content": {
"id": 140116542524864
},
"alias": "",
"comment": "",
"params": {},
"initializer_id": 31,
"process_settings": {
"processor_id": null,
"priority": null,
"period": null,
"phase": null
},
"node_id": 1,
"cpu_id": 0
},
{
"id": 6,
"enable": true,
"is_invalid": false,
"title": "Signal",
"pos_x": -446.5879025459359,
"pos_y": -71.0,
"inputs": [
{
"id": 60001,
"index": 0,
"multi_edges": false,
"position": 0,
"socket_type": 1,
"link_id": 3,
"text": "",
"mode": "",
"object": "",
"true_type": "",
"type": "float",
"description": ""
}
],
"outputs": [],
"content": {
"id": 140116542527744
},
"alias": "",
"comment": "",
"params": {},
"object_name": "Reference Torque",
"group": "Control System"
},
{
"id": 7,
"enable": true,
"is_invalid": false,
"title": "Signal",
"pos_x": -445.5879025459359,
"pos_y": 15.0,
"inputs": [
{
"id": 70001,
"index": 0,
"multi_edges": false,
"position": 0,
"socket_type": 1,
"link_id": 4,
"text": "",
"mode": "",
"object": "",
"true_type": "",
"type": "float",
"description": ""
}
],
"outputs": [],
"content": {
"id": 140116542529040
},
"alias": "",
"comment": "",
"params": {},
"object_name": "Unbounded reference torque",
"group": "Control System"
},
{
"id": 8,
"enable": true,
"is_invalid": false,
"title": "Output",
"pos_x": 930.0400881767197,
"pos_y": -154.20312499999955,
"inputs": [
{
"id": 80001,
"index": 0,
"multi_edges": false,
"position": 0,
"socket_type": 2,
"link_id": 1,
"text": "",
"mode": "input",
"object": "resource",
"true_type": "control::regulator::SpeedController",
"type": "control::regulator::SpeedController",
"description": "\u0420\u0435\u0433\u0443\u043b\u044f\u0442\u043e\u0440 \u0441\u043a\u043e\u0440\u043e\u0441\u0442\u0438 \u0434\u0432\u0438\u0433\u0430\u0442\u0435\u043b\u044f."
}
],
"outputs": [],
"content": {
"id": 140116542530336
},
"alias": "",
"comment": "",
"params": {},
"object_name": "Speed Regulator",
"group": "SpeedController"
},
{
"id": 9,
"enable": true,
"is_invalid": false,
"title": "Status",
"pos_x": -444.0,
"pos_y": 185.0,
"inputs": [
{
"id": 90001,
"index": 0,
"multi_edges": false,
"position": 0,
"socket_type": 5,
"link_id": 1,
"text": "",
"mode": "",
"object": "",
"true_type": "",
"type": "bool",
"description": ""
}
],
"outputs": [],
"content": {
"id": 140116542531632
},
"alias": "",
"comment": "",
"params": {},
"object_name": "Speed reg limited",
"group": "Control System"
}
],
"edges": [
{
"edge_type": 2,
"start": 50101,
"end": 80001
},
{
"edge_type": 2,
"start": 50104,
"end": 60001
},
{
"edge_type": 2,
"start": 50103,
"end": 40001
},
{
"edge_type": 2,
"start": 50102,
"end": 20001
},
{
"edge_type": 2,
"start": 30101,
"end": 50001
},
{
"edge_type": 2,
"start": 50105,
"end": 70001
},
{
"edge_type": 2,
"start": 10001,
"end": 50106
},
{
"edge_type": 2,
"start": 50107,
"end": 90001
}
]
}