Subblock-create-and-verify/Control System/TorqueRegulator.json

850 lines
30 KiB
JSON
Raw Permalink Normal View History

{
"id": 140667681570096,
"scene_width": 64000,
"scene_height": 64000,
2023-05-18 12:40:54 +03:00
"scene_pos_x": -450.0,
"scene_pos_y": 68.0,
"nodes": [
{
"id": 1,
"enable": true,
"is_invalid": false,
"title": "Signal",
"pos_x": -354.5879025459359,
"pos_y": 230.12230682373,
"inputs": [
{
"id": 10001,
"index": 0,
"multi_edges": false,
"position": 0,
"socket_type": 1,
"link_id": 10,
"text": "",
"mode": "",
"object": "",
"true_type": "",
"type": "float",
"description": ""
}
],
"outputs": [],
"content": {
2023-05-18 12:40:54 +03:00
"id": 139951069468928
},
"alias": "",
"comment": "",
"params": {},
"object_name": "Voltage Cd",
"group": "Control System"
},
{
"id": 2,
"enable": true,
"is_invalid": false,
"title": "Signal",
"pos_x": -354.5879025459359,
"pos_y": 485.12230682373,
"inputs": [
{
"id": 20001,
"index": 0,
"multi_edges": false,
"position": 0,
"socket_type": 1,
"link_id": 13,
"text": "",
"mode": "",
"object": "",
"true_type": "",
"type": "float",
"description": ""
}
],
"outputs": [],
"content": {
2023-05-18 12:40:54 +03:00
"id": 139951069470224
},
"alias": "",
"comment": "",
"params": {},
"object_name": "Rotor Torque",
"group": "Control System"
},
{
"id": 3,
"enable": true,
"is_invalid": false,
"title": "Signal",
"pos_x": -354.5879025459359,
"pos_y": 400.12230682373,
"inputs": [
{
"id": 30001,
"index": 0,
"multi_edges": false,
"position": 0,
"socket_type": 1,
"link_id": 12,
"text": "",
"mode": "",
"object": "",
"true_type": "",
"type": "float",
"description": ""
}
],
"outputs": [],
"content": {
2023-05-18 12:40:54 +03:00
"id": 139951069471520
},
"alias": "",
"comment": "",
"params": {},
"object_name": "Output Ud",
"group": "Control System"
},
{
"id": 4,
"enable": true,
"is_invalid": false,
"title": "Signal",
"pos_x": 256.27938127517723,
"pos_y": 153.16370773315384,
"inputs": [
{
"id": 40001,
"index": 0,
"multi_edges": false,
"position": 0,
"socket_type": 1,
"link_id": 5,
"text": "",
"mode": "",
"object": "",
"true_type": "",
"type": "float",
"description": ""
}
],
"outputs": [],
"content": {
2023-05-18 12:40:54 +03:00
"id": 139951069472816
},
"alias": "",
"comment": "",
"params": {},
"object_name": "Voltage Uq",
"group": "Control System"
},
{
"id": 5,
"enable": true,
"is_invalid": false,
"title": "Signal",
"pos_x": -354.5879025459359,
"pos_y": 315.12230682373,
"inputs": [
{
"id": 50001,
"index": 0,
"multi_edges": false,
"position": 0,
"socket_type": 1,
"link_id": 11,
"text": "",
"mode": "",
"object": "",
"true_type": "",
"type": "float",
"description": ""
}
],
"outputs": [],
"content": {
2023-05-18 12:40:54 +03:00
"id": 139951069474112
},
"alias": "",
"comment": "",
"params": {},
"object_name": "Output Uq",
"group": "Control System"
},
{
"id": 6,
"enable": true,
"is_invalid": false,
"title": "Signal",
"pos_x": 257.27938127517723,
"pos_y": 239.16370773315384,
"inputs": [
{
"id": 60001,
"index": 0,
"multi_edges": false,
"position": 0,
"socket_type": 1,
"link_id": 7,
"text": "",
"mode": "",
"object": "",
"true_type": "",
"type": "float",
"description": ""
}
],
"outputs": [],
"content": {
2023-05-18 12:40:54 +03:00
"id": 139951069475408
},
"alias": "",
"comment": "",
"params": {},
"object_name": "Voltage Rq",
"group": "Control System"
},
{
"id": 7,
"enable": true,
"is_invalid": false,
"title": "Output",
"pos_x": 1022.0400881767197,
"pos_y": -319.12230682373,
"inputs": [
{
"id": 70001,
"index": 0,
"multi_edges": false,
"position": 0,
"socket_type": 2,
"link_id": 1,
"text": "",
"mode": "input",
"object": "resource",
"true_type": "control::regulator::PmsmMotorController_v2",
"type": "control::regulator::PmsmMotorController_v2",
"description": "\u0420\u0435\u0433\u0443\u043b\u044f\u0442\u043e\u0440 \u043c\u043e\u043c\u0435\u043d\u0442\u0430 \u0434\u0432\u0438\u0433\u0430\u0442\u0435\u043b\u044f."
}
],
"outputs": [],
"content": {
2023-05-18 12:40:54 +03:00
"id": 139951069476704
},
"alias": "",
"comment": "",
"params": {},
"object_name": "Torque Regulator",
"group": "TorqueController"
},
{
"id": 8,
"enable": true,
"is_invalid": false,
"title": "Signal",
"pos_x": -354.5879025459359,
"pos_y": 145.12230682373,
"inputs": [
{
"id": 80001,
"index": 0,
"multi_edges": false,
"position": 0,
"socket_type": 1,
"link_id": 8,
"text": "",
"mode": "",
"object": "",
"true_type": "",
"type": "float",
"description": ""
}
],
"outputs": [],
"content": {
2023-05-18 12:40:54 +03:00
"id": 139951069478000
},
"alias": "",
"comment": "",
"params": {},
"object_name": "Voltage Rd",
"group": "Control System"
},
{
"id": 9,
"enable": true,
"is_invalid": false,
"title": "Signal",
"pos_x": -354.5879025459359,
"pos_y": -24.877693176269986,
"inputs": [
{
"id": 90001,
"index": 0,
"multi_edges": false,
"position": 0,
"socket_type": 1,
"link_id": 1,
"text": "",
"mode": "",
"object": "",
"true_type": "",
"type": "float",
"description": ""
}
],
"outputs": [],
"content": {
2023-05-18 12:40:54 +03:00
"id": 139949150011888
},
"alias": "",
"comment": "",
"params": {},
"object_name": "Reference Iq",
"group": "Control System"
},
{
"id": 10,
"enable": true,
"is_invalid": false,
"title": "TorqueController",
"pos_x": -738.2275881767198,
"pos_y": 75.98018646240143,
"inputs": [
{
"id": 100001,
"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::PmsmMotorController_v2",
"description": "\u041d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0438 \u0440\u0435\u0433\u0443\u043b\u044f\u0442\u043e\u0440\u0430 \u043c\u043e\u043c\u0435\u043d\u0442\u0430 \u0434\u0432\u0438\u0433\u0430\u0442\u0435\u043b\u044f."
}
],
"outputs": [
{
"id": 100101,
"index": 0,
"multi_edges": true,
"position": 2,
"socket_type": 2,
"link_id": 1,
"text": "regulator",
"mode": "output",
"object": "resource",
"true_type": "control::regulator::PmsmMotorController_v2",
"type": "control::regulator::PmsmMotorController_v2",
"description": "\u0420\u0435\u0433\u0443\u043b\u044f\u0442\u043e\u0440 \u043c\u043e\u043c\u0435\u043d\u0442\u0430 \u0434\u0432\u0438\u0433\u0430\u0442\u0435\u043b\u044f."
},
{
"id": 100102,
"index": 1,
"multi_edges": true,
"position": 2,
"socket_type": 1,
"link_id": 1,
"text": "reference_iq",
"mode": "output",
"object": "value",
"true_type": "const float &",
"type": "float",
"description": "\u0417\u0430\u0434\u0430\u043d\u043d\u044b\u0439 \u0442\u043e\u043a \u043e\u0441\u0438 q."
},
{
"id": 100103,
"index": 2,
"multi_edges": true,
"position": 2,
"socket_type": 1,
"link_id": 2,
"text": "reference_id",
"mode": "output",
"object": "value",
"true_type": "const float &",
"type": "float",
"description": "\u0417\u0430\u0434\u0430\u043d\u043d\u044b\u0439 \u0442\u043e\u043a \u043e\u0441\u0438 d."
},
{
"id": 100104,
"index": 3,
"multi_edges": true,
"position": 2,
"socket_type": 1,
"link_id": 3,
"text": "feedback_iq",
"mode": "output",
"object": "value",
"true_type": "const float &",
"type": "float",
"description": "\u0422\u0435\u043a\u0443\u0449\u0438\u0439 \u0442\u043e\u043a \u043e\u0441\u0438 q."
},
{
"id": 100105,
"index": 4,
"multi_edges": true,
"position": 2,
"socket_type": 1,
"link_id": 4,
"text": "feedback_id",
"mode": "output",
"object": "value",
"true_type": "const float &",
"type": "float",
"description": "\u0422\u0435\u043a\u0443\u0449\u0438\u0439 \u0442\u043e\u043a \u043e\u0441\u0438 d."
},
{
"id": 100106,
"index": 5,
"multi_edges": true,
"position": 2,
"socket_type": 1,
"link_id": 5,
"text": "voltage_uq",
"mode": "output",
"object": "value",
"true_type": "const float &",
"type": "float",
"description": "\u0421\u043e\u0441\u0442\u0430\u0432\u043b\u044f\u044e\u0449\u0430\u044f \u043d\u0430\u043f\u0440\u044f\u0436\u0435\u043d\u0438\u044f \u043f\u0440\u0435\u0434\u0438\u043a\u0442\u0438\u0432\u043d\u043e\u0433\u043e \u0443\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u044f \u0442\u043e\u043a\u043e\u043c \u043e\u0441\u0438 q."
},
{
"id": 100107,
"index": 6,
"multi_edges": true,
"position": 2,
"socket_type": 1,
"link_id": 6,
"text": "voltage_ud",
"mode": "output",
"object": "value",
"true_type": "const float &",
"type": "float",
"description": "\u0421\u043e\u0441\u0442\u0430\u0432\u043b\u044f\u044e\u0449\u0430\u044f \u043d\u0430\u043f\u0440\u044f\u0436\u0435\u043d\u0438\u044f \u043f\u0440\u0435\u0434\u0438\u043a\u0442\u0438\u0432\u043d\u043e\u0433\u043e \u0443\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u044f \u0442\u043e\u043a\u043e\u043c \u043e\u0441\u0438 d."
},
{
"id": 100108,
"index": 7,
"multi_edges": true,
"position": 2,
"socket_type": 1,
"link_id": 7,
"text": "voltage_rq",
"mode": "output",
"object": "value",
"true_type": "const float &",
"type": "float",
"description": "\u0421\u043e\u0441\u0442\u0430\u0432\u043b\u044f\u044e\u0449\u0430\u044f \u043d\u0430\u043f\u0440\u044f\u0436\u0435\u043d\u0438\u044f \u0440\u0435\u0433\u0443\u043b\u044f\u0442\u043e\u0440\u0430 \u0442\u043e\u043a\u0430 \u043e\u0441\u0438 q."
},
{
"id": 100109,
"index": 8,
"multi_edges": true,
"position": 2,
"socket_type": 1,
"link_id": 8,
"text": "voltage_rd",
"mode": "output",
"object": "value",
"true_type": "const float &",
"type": "float",
"description": "\u0421\u043e\u0441\u0442\u0430\u0432\u043b\u044f\u044e\u0449\u0430\u044f \u043d\u0430\u043f\u0440\u044f\u0436\u0435\u043d\u0438\u044f \u0440\u0435\u0433\u0443\u043b\u044f\u0442\u043e\u0440\u0430 \u0442\u043e\u043a\u0430 \u043e\u0441\u0438 d."
},
{
"id": 100110,
"index": 9,
"multi_edges": true,
"position": 2,
"socket_type": 1,
"link_id": 9,
"text": "voltage_cq",
"mode": "output",
"object": "value",
"true_type": "const float &",
"type": "float",
"description": "\u0421\u043e\u0441\u0442\u0430\u0432\u043b\u044f\u044e\u0449\u0430\u044f \u043d\u0430\u043f\u0440\u044f\u0436\u0435\u043d\u0438\u044f \u043a\u043e\u043c\u043f\u0435\u043d\u0441\u0430\u0446\u0438\u0438 \u043f\u0435\u0440\u0435\u043a\u0440\u0435\u0441\u0442\u043d\u044b\u0445 \u0441\u0432\u044f\u0437\u0435\u0439 \u043e\u0441\u0438 q."
},
{
"id": 100111,
"index": 10,
"multi_edges": true,
"position": 2,
"socket_type": 1,
"link_id": 10,
"text": "voltage_cd",
"mode": "output",
"object": "value",
"true_type": "const float &",
"type": "float",
"description": "\u0421\u043e\u0441\u0442\u0430\u0432\u043b\u044f\u044e\u0449\u0430\u044f \u043d\u0430\u043f\u0440\u044f\u0436\u0435\u043d\u0438\u044f \u043a\u043e\u043c\u043f\u0435\u043d\u0441\u0430\u0446\u0438\u0438 \u043f\u0435\u0440\u0435\u043a\u0440\u0435\u0441\u0442\u043d\u044b\u0445 \u0441\u0432\u044f\u0437\u0435\u0439 \u043e\u0441\u0438 d."
},
{
"id": 100112,
"index": 11,
"multi_edges": true,
"position": 2,
"socket_type": 1,
"link_id": 11,
"text": "output_q",
"mode": "output",
"object": "value",
"true_type": "const float &",
"type": "float",
"description": "\u0418\u0442\u043e\u0433\u043e\u0432\u043e\u0435 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f \u0437\u0430\u0434\u0430\u043d\u043d\u043e\u0433\u043e \u043d\u0430\u043f\u0440\u044f\u0436\u0435\u043d\u0438\u044f \u043f\u043e \u043e\u0441\u0438 q."
},
{
"id": 100113,
"index": 12,
"multi_edges": true,
"position": 2,
"socket_type": 1,
"link_id": 12,
"text": "output_d",
"mode": "output",
"object": "value",
"true_type": "const float &",
"type": "float",
"description": "\u0418\u0442\u043e\u0433\u043e\u0432\u043e\u0435 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f \u0437\u0430\u0434\u0430\u043d\u043d\u043e\u0433\u043e \u043d\u0430\u043f\u0440\u044f\u0436\u0435\u043d\u0438\u044f \u043f\u043e \u043e\u0441\u0438 d."
},
{
"id": 100114,
"index": 13,
"multi_edges": true,
"position": 2,
"socket_type": 1,
"link_id": 13,
"text": "feedback_torque",
"mode": "output",
"object": "value",
"true_type": "const float &",
"type": "float",
"description": "\u0422\u0435\u043a\u0443\u0449\u0430\u044f \u043e\u0446\u0435\u043d\u043a\u0430 \u043c\u043e\u043c\u0435\u043d\u0442\u0430 \u0434\u0432\u0438\u0433\u0430\u0442\u0435\u043b\u044f."
}
],
"content": {
2023-05-18 12:40:54 +03:00
"id": 139949150013184
},
"alias": "",
"comment": "",
"params": {},
"initializer_id": 33,
"process_settings": {
"processor_id": null,
"priority": null,
"period": null,
"phase": null
},
"node_id": 1,
"cpu_id": 0
},
{
"id": 11,
"enable": true,
"is_invalid": false,
"title": "Signal",
"pos_x": -354.5879025459359,
"pos_y": 60.122306823730014,
"inputs": [
{
"id": 110001,
"index": 0,
"multi_edges": false,
"position": 0,
"socket_type": 1,
"link_id": 6,
"text": "",
"mode": "",
"object": "",
"true_type": "",
"type": "float",
"description": ""
}
],
"outputs": [],
"content": {
2023-05-18 12:40:54 +03:00
"id": 139949150018080
},
"alias": "",
"comment": "",
"params": {},
"object_name": "Voltage Ud",
"group": "Control System"
},
{
"id": 12,
"enable": true,
"is_invalid": false,
"title": "Signal",
"pos_x": -354.5879025459359,
"pos_y": -109.87769317626999,
"inputs": [
{
"id": 120001,
"index": 0,
"multi_edges": false,
"position": 0,
"socket_type": 1,
"link_id": 4,
"text": "",
"mode": "",
"object": "",
"true_type": "",
"type": "float",
"description": ""
}
],
"outputs": [],
"content": {
2023-05-18 12:40:54 +03:00
"id": 139949150019376
},
"alias": "",
"comment": "",
"params": {},
"object_name": "Feedback Id",
"group": "Control System"
},
{
"id": 13,
"enable": true,
"is_invalid": false,
"title": "Signal",
"pos_x": -354.5879025459359,
"pos_y": -194.87769317627,
"inputs": [
{
"id": 130001,
"index": 0,
"multi_edges": false,
"position": 0,
"socket_type": 1,
"link_id": 3,
"text": "",
"mode": "",
"object": "",
"true_type": "",
"type": "float",
"description": ""
}
],
"outputs": [],
"content": {
2023-05-18 12:40:54 +03:00
"id": 139949150020672
},
"alias": "",
"comment": "",
"params": {},
"object_name": "Feedback Iq",
"group": "Control System"
},
{
"id": 14,
"enable": true,
"is_invalid": false,
"title": "control::regulator::PmsmMotorController_v2",
"pos_x": -1024.0400881767196,
"pos_y": 84.60909271240189,
"inputs": [],
"outputs": [
{
"id": 140101,
"index": 0,
"multi_edges": true,
"position": 2,
"socket_type": 3,
"link_id": 1,
"text": "",
"mode": "output",
"object": "",
"true_type": "",
"type": "control::regulator::PmsmMotorController_v2",
"description": ""
}
],
"content": {
2023-05-18 12:40:54 +03:00
"id": 139949150021968
},
"alias": "",
"comment": "",
"params": {
"Ke": {
"value": 0.265,
"format": "f",
"description": "\u041a\u043e\u044d\u0444\u0444\u0438\u0446\u0438\u0435\u043d\u0442 \u043f\u0440\u043e\u0438\u0442\u0432\u043e\u044d\u0434\u0441 \u043c\u0430\u0448\u0438\u043d\u044b.",
"alias": "",
"min": 0.0,
"max": 16.0
},
"Km": {
"value": 1.044,
"format": "f",
"description": "\u041a\u043e\u044d\u0444\u0444\u0438\u0446\u0438\u0435\u043d\u0442 \u043c\u043e\u043c\u0435\u043d\u0442\u0430 \u043c\u0430\u0448\u0438\u043d\u044b.",
"alias": "",
"min": 0.0,
"max": 16.0
},
"Ls": {
"value": 0.0058,
"format": "f",
"description": "\u0418\u043d\u0434\u0443\u043a\u0442\u0438\u0432\u043d\u043e\u0441\u0442\u044c \u0446\u0435\u043f\u0438 \u0441\u0442\u0430\u0442\u043e\u0440\u0430.",
"alias": "",
"min": 0.0,
"max": 16.0
},
"Rs": {
"value": 3.25,
"format": "f",
"description": "\u0410\u043a\u0442\u0438\u0432\u043d\u043e\u0435 \u0441\u043e\u043f\u0440\u043e\u0442\u0438\u0432\u043b\u0435\u043d\u0438\u0435 \u0446\u0435\u043f\u0438 \u0441\u0442\u0430\u0442\u043e\u0440\u0430.",
"alias": "",
"min": 0.0,
"max": 16.0
},
"Thd": {
"value": 0.0,
"format": "f",
"description": "\u0417\u0430\u043f\u0430\u0437\u0434\u044b\u0432\u0430\u043d\u0438\u0435 \u044d\u043b\u0435\u043a\u0442\u0440\u0438\u0447\u0435\u0441\u043a\u043e\u0433\u043e \u0443\u0433\u043b\u0430.",
"min": -0.0005,
"max": 0.0005
},
"Pwmd": {
"value": 2.0,
"format": "f",
"description": "\u0417\u0430\u043f\u0430\u0437\u0434\u044b\u0432\u0430\u043d\u0438\u0435 \u043e\u0442\u0440\u0430\u0431\u043e\u0442\u043a\u0438 \u0428\u0418\u041c.",
"min": 1.0,
"max": 2.0
},
"Kie": {
"value": 15796.8,
"format": "f",
"description": "\u041a\u043e\u044d\u0444\u0444\u0438\u0446\u0438\u0435\u043d\u0442 \u0438\u043d\u0442\u0435\u0433\u0440\u0430\u043b\u044c\u043d\u043e\u0439 \u0441\u043e\u0441\u0442\u0430\u0432\u043b\u044f\u044e\u0449\u0435\u0439.",
"alias": "",
"min": 0.0
},
"Kpe": {
"value": 16.17,
"format": "f",
"description": "\u041a\u043e\u044d\u0444\u0444\u0438\u0446\u0438\u0435\u043d\u0442 \u043f\u0440\u043e\u043f\u043e\u0440\u0446\u0438\u043e\u043d\u0430\u043b\u044c\u043d\u043e\u0439 \u0441\u043e\u0441\u0442\u0430\u0432\u043b\u044f\u044e\u0449\u0435\u0439.",
"alias": "",
"min": 0.0
},
"max_current": {
"value": 40.0,
"format": "f",
"description": "\u041e\u0433\u0440\u0430\u043d\u0438\u0447\u0435\u043d\u0438\u0435 \u043f\u043e\u043b\u043d\u043e\u0433\u043e \u0442\u043e\u043a\u0430.",
"alias": "",
"min": 0.0,
"max": 47.5
}
},
"setting_name": "Torque Regulator",
"group": "Control System",
"level": 3
},
{
"id": 15,
"enable": true,
"is_invalid": false,
"title": "Signal",
"pos_x": 256.27938127517723,
"pos_y": 323.16370773315384,
"inputs": [
{
"id": 150001,
"index": 0,
"multi_edges": false,
"position": 0,
"socket_type": 1,
"link_id": 9,
"text": "",
"mode": "",
"object": "",
"true_type": "",
"type": "float",
"description": ""
}
],
"outputs": [],
"content": {
2023-05-18 12:40:54 +03:00
"id": 139949150023264
},
"alias": "",
"comment": "",
"params": {},
"object_name": "Voltage Cq",
"group": "Control System"
}
],
"edges": [
{
"edge_type": 2,
"start": 100102,
"end": 90001
},
{
"edge_type": 2,
"start": 100001,
"end": 140101
},
{
"edge_type": 2,
"start": 100105,
"end": 120001
},
{
"edge_type": 2,
"start": 100111,
"end": 10001
},
{
"edge_type": 2,
"start": 100109,
"end": 80001
},
{
"edge_type": 2,
"start": 100104,
"end": 130001
},
{
"edge_type": 2,
"start": 100106,
"end": 40001
},
{
"edge_type": 2,
"start": 100112,
"end": 50001
},
{
"edge_type": 2,
"start": 100107,
"end": 110001
},
{
"edge_type": 2,
"start": 100110,
"end": 150001
},
{
"edge_type": 2,
"start": 100108,
"end": 60001
},
{
"edge_type": 2,
"start": 100114,
"end": 20001
},
{
"edge_type": 2,
"start": 100113,
"end": 30001
},
{
"edge_type": 2,
"start": 100101,
"end": 70001
}
]
}