► Improved controller: faster and better overall
- the controller is faster and more light in memory footprint - motor control is now done intependenly using Reusable code generation setting in Simulink - fixed bug when chaging direction fast
BIN
01_Matlab/99_RecycleBin/BLDC_controller_Lib_CounterBased.slx
Normal file
214
01_Matlab/99_RecycleBin/init_model.m
Normal file
@ -0,0 +1,214 @@
|
||||
|
||||
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||
% This file is part of the hoverboard-new-firmware-hack project
|
||||
% Compared to previouse commutation method, this project offers
|
||||
% 3 more additional control method for BLDC motors.
|
||||
% The new control methods offers superior performanace
|
||||
% compared to previous method featuring:
|
||||
% >> reduced noise and vibrations
|
||||
% >> smooth torque output
|
||||
% >> improved motor efficiency -> lower energy consumption
|
||||
%
|
||||
% Author: Emanuel FERU
|
||||
% Copyright <EFBFBD> 2019 Emanuel FERU <aerdronix@gmail.com>
|
||||
%
|
||||
% This program is free software: you can redistribute it and/or modify
|
||||
% it under the terms of the GNU General Public License as published by
|
||||
% the Free Software Foundation, either version 3 of the License, or
|
||||
% (at your option) any later version.
|
||||
%
|
||||
% This program is distributed in the hope that it will be useful,
|
||||
% but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
% MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
% GNU General Public License for more details.
|
||||
%
|
||||
% You should have received a copy of the GNU General Public License
|
||||
% along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||
|
||||
% Clear workspace
|
||||
close all
|
||||
clear
|
||||
clc
|
||||
|
||||
% Load model parameters
|
||||
load BLDCmotorControl_data;
|
||||
Ts = 5e-6; % [s] Model samplind time (200 kHz)
|
||||
Ts_ctrl = 6e-5; % [s] Controller samplid time (~16 kHz)
|
||||
% Ts_ctrl = 12e-5; % [s] Controller samplid time (~8 kHz)
|
||||
|
||||
% BLDC control parameters
|
||||
CTRL_COMM = 0; % Commutation
|
||||
CTRL_TRAP = 1; % Pure Trapezoidal
|
||||
CTRL_SIN = 2; % Sinusoidal
|
||||
CTRL_SIN3 = 3; % Sinusoidal 3rd armonic
|
||||
|
||||
z_ctrlTypSel = CTRL_SIN3; % Control method selection
|
||||
|
||||
% Motor Parameters
|
||||
n_polePairs = 15; % [-] Number of pole pairs
|
||||
a_elecPeriod = 360; % [deg] Electrical angle period
|
||||
a_elecAngle = 60; % [deg] Electrical angle between two Hall sensor changing events
|
||||
a_mechAngle = a_elecAngle / n_polePairs; % [deg] Mechanical angle
|
||||
|
||||
%% F01_Preliminary_Calculations
|
||||
|
||||
z_hallDebSteps = 3; % [-] Hall debounce time steps
|
||||
|
||||
% Position Calculation Parameters
|
||||
% Hall = 4*hA + 2*hB + hC
|
||||
% Hall = [0 1 2 3 4 5 6 7]
|
||||
vec_hallToPos = [0 5 3 4 1 0 2 0]; % [-] Mapping Hall signal to position
|
||||
|
||||
% Speed Calculation Parameters
|
||||
f_ctrl = 1/Ts_ctrl; % [Hz] Controller frequency = 1/Ts_ctrl
|
||||
cf_speedCoef = round(f_ctrl * a_mechAngle * (pi/180) * (30/pi)); % [-] Speed calculation coefficient (factors are due to conversions rpm <-> rad/s)
|
||||
cf_speedFilt = 10; % [%] Speed filter in percent [1, 100]. Lower values mean softer filter
|
||||
z_maxCntRst = 1000; % [-] Maximum counter value for reset (works also as time-out to detect standing still)
|
||||
% z_nrEdgeSpdAcv = 2; % [-] Number of edge detections to activate speed calculation
|
||||
% cf_speedSca = 3e7; % [-] Scaling factor for speed calculation
|
||||
% cf_speedCoef = round(cf_speedSca /(f_ctrl * a_mechAngle * (pi/180) * (30/pi)));
|
||||
|
||||
%% F02_Electrical_Angle_Calculation
|
||||
b_phaAdvEna = 1; % [-] Phase advance enable parameter: 0 = disable, 1 = enable
|
||||
|
||||
% The map below was experimentaly calibrated on the real motor. Objectives: minimum noise and minimum torque ripple
|
||||
a_phaAdv_M1 = [0 0 7 2 2 2 4 5 9 16 25]; % [deg] Phase advance angle
|
||||
r_phaAdvDC_XA = [0 100 200 300 400 500 600 700 800 900 1000]; % [-] Phase advance Duty Cycle grid
|
||||
% plot(r_phaAdvDC_XA, a_phaAdv_M1);
|
||||
|
||||
%% F03_Speed_Control
|
||||
n_commAcvLo = 30; % [rpm] Commutation method activation speed low
|
||||
n_commDeacvHi = 50; % [rpm] Commutation method deactivation speed high
|
||||
r_commDCDeacv = 80; % [-] Commutation method deactivation Duty Cycle threshold (arbitrary small number)
|
||||
z_errCtrlRstHi = 20; % [-] Error counter reset. Above this value the control resets to Commudation method (only during high dynamics)
|
||||
z_errCtrlRstLo = 12;
|
||||
|
||||
sca_factor = 1000; % [-] scalling factor (to avoid truncation approximations on integer data type)
|
||||
% Commutation method
|
||||
z_commutMap_M1 = sca_factor*[ 1 1 0 -1 -1 0; % Phase A
|
||||
-1 0 1 1 0 -1 ; % Phase B
|
||||
0 -1 -1 0 1 1]; % Phase C [-] Commutation method map
|
||||
|
||||
% Trapezoidal method
|
||||
a_trapElecAngle_XA = [0 60 120 180 240 300 360]; % [deg] Electrical angle grid
|
||||
r_trapPhaA_M1 = sca_factor*[ 1 1 1 -1 -1 -1 1];
|
||||
r_trapPhaB_M1 = sca_factor*[-1 -1 1 1 1 -1 -1];
|
||||
r_trapPhaC_M1 = sca_factor*[ 1 -1 -1 -1 1 1 1];
|
||||
|
||||
% Sinusoidal method
|
||||
a_sinElecAngle_XA = 0:10:360;
|
||||
omega = a_sinElecAngle_XA*(pi/180);
|
||||
pha_adv = 30; % [deg] Phase advance to mach commands with the Hall position
|
||||
r_sinPhaA_M1 = sin(omega + pha_adv*(pi/180));
|
||||
r_sinPhaB_M1 = sin(omega - 120*(pi/180) + pha_adv*(pi/180));
|
||||
r_sinPhaC_M1 = sin(omega + 120*(pi/180) + pha_adv*(pi/180));
|
||||
|
||||
% Sinusoidal 3rd armonic method
|
||||
A = 1.15; % Sine amplitude (tunable to get the Saddle sin maximum to value 1000)
|
||||
sin3Arm = 0.22*sin(3*(omega + pha_adv*(pi/180))); % 3rd armonic
|
||||
r_sin3PhaA_M1 = sin3Arm + A*r_sinPhaA_M1;
|
||||
r_sin3PhaB_M1 = sin3Arm + A*r_sinPhaB_M1;
|
||||
r_sin3PhaC_M1 = sin3Arm + A*r_sinPhaC_M1;
|
||||
|
||||
% Rounding for representation on integer data type
|
||||
r_sinPhaA_M1 = round(sca_factor * r_sinPhaA_M1);
|
||||
r_sinPhaB_M1 = round(sca_factor * r_sinPhaB_M1);
|
||||
r_sinPhaC_M1 = round(sca_factor * r_sinPhaC_M1);
|
||||
r_sin3PhaA_M1 = round(sca_factor * r_sin3PhaA_M1);
|
||||
r_sin3PhaB_M1 = round(sca_factor * r_sin3PhaB_M1);
|
||||
r_sin3PhaC_M1 = round(sca_factor * r_sin3PhaC_M1);
|
||||
|
||||
disp('---- BLDC_controller: Initialization OK ----');
|
||||
|
||||
%% 2nd Harmonic vs 3rd Harmonic
|
||||
% figure
|
||||
% subplot(211)
|
||||
% a1= (0.22*sin(3*(omega + (pi/180))));
|
||||
% b = A*sin(omega + 1*(pi/180));
|
||||
% plot(a_sinElecAngle_XA, a1+b,'b', 'Linewidth', lw); hold on
|
||||
% a2 = abs(0.3*sin(2*(omega + (pi/180))));
|
||||
% b = 0.85*sin(omega + 1*(pi/180));
|
||||
% plot(a_sinElecAngle_XA,sign(b).*a2+b,'g', 'Linewidth', lw)
|
||||
% grid
|
||||
% legend('3rd harmonic', '2nd harmonic');
|
||||
% subplot(212)
|
||||
% plot(a_sinElecAngle_XA,a1,'b', 'Linewidth', lw); hold on
|
||||
% plot(a_sinElecAngle_XA,sign(b).*a2,'g', 'Linewidth', lw);
|
||||
% plot(a_sinElecAngle_XA,b,'r', 'Linewidth', lw);
|
||||
% legend('3rd harmonic', '2nd harmonic','Main sine wave');
|
||||
% grid
|
||||
|
||||
%% Plot control methods
|
||||
|
||||
show_fig = 0;
|
||||
if show_fig
|
||||
|
||||
hall_A = [1 1 1 0 0 0 0] + 4;
|
||||
hall_B = [0 0 1 1 1 0 0] + 2;
|
||||
hall_C = [1 0 0 0 1 1 1];
|
||||
|
||||
color = ['m' 'g' 'b'];
|
||||
lw = 1.5;
|
||||
figure
|
||||
s1 = subplot(321); hold on
|
||||
stairs(a_trapElecAngle_XA, hall_A, color(1), 'Linewidth', lw);
|
||||
stairs(a_trapElecAngle_XA, hall_B, color(2), 'Linewidth', lw);
|
||||
stairs(a_trapElecAngle_XA, hall_C, color(3), 'Linewidth', lw);
|
||||
xticks(a_trapElecAngle_XA);
|
||||
grid
|
||||
yticks(0:5);
|
||||
yticklabels({'0','1','0','1','0','1'});
|
||||
title('Hall sensors');
|
||||
legend('Phase A','Phase B','Phase C','Location','NorthWest');
|
||||
|
||||
s2 = subplot(322); hold on
|
||||
stairs(a_trapElecAngle_XA, hall_A, color(1), 'Linewidth', lw);
|
||||
stairs(a_trapElecAngle_XA, hall_B, color(2), 'Linewidth', lw);
|
||||
stairs(a_trapElecAngle_XA, hall_C, color(3), 'Linewidth', lw);
|
||||
xticks(a_trapElecAngle_XA);
|
||||
grid
|
||||
yticks(0:5);
|
||||
yticklabels({'0','1','0','1','0','1'});
|
||||
title('Hall sensors');
|
||||
legend('Phase A','Phase B','Phase C','Location','NorthWest');
|
||||
|
||||
s3 = subplot(323); hold on
|
||||
stairs(a_trapElecAngle_XA, [z_commutMap_M1(1,:) z_commutMap_M1(1,end)] + 6000, color(1), 'Linewidth', lw);
|
||||
stairs(a_trapElecAngle_XA, [z_commutMap_M1(2,:) z_commutMap_M1(1,end)] + 3000, color(2), 'Linewidth', lw);
|
||||
stairs(a_trapElecAngle_XA, [z_commutMap_M1(3,:) z_commutMap_M1(1,end)], color(3), 'Linewidth', lw);
|
||||
xticks(a_trapElecAngle_XA);
|
||||
yticks(-1000:1000:7000);
|
||||
yticklabels({'-1000','0','1000','-1000','0','1000','-1000','0','1000'});
|
||||
ylim([-1000 7000]);
|
||||
grid
|
||||
title('Commutation method [0]');
|
||||
|
||||
s5 = subplot(325); hold on
|
||||
plot(a_trapElecAngle_XA, r_trapPhaA_M1, color(1), 'Linewidth', lw);
|
||||
plot(a_trapElecAngle_XA, r_trapPhaB_M1, color(2), 'Linewidth', lw);
|
||||
plot(a_trapElecAngle_XA, r_trapPhaC_M1, color(3), 'Linewidth', lw);
|
||||
xticks(a_trapElecAngle_XA);
|
||||
grid
|
||||
title('Pure trapezoidal method [1]');
|
||||
xlabel('Electrical angle [deg]');
|
||||
|
||||
s4 = subplot(324); hold on
|
||||
plot(a_sinElecAngle_XA, r_sinPhaA_M1, color(1), 'Linewidth', lw);
|
||||
plot(a_sinElecAngle_XA, r_sinPhaB_M1, color(2), 'Linewidth', lw);
|
||||
plot(a_sinElecAngle_XA, r_sinPhaC_M1, color(3), 'Linewidth', lw);
|
||||
xticks(a_trapElecAngle_XA);
|
||||
grid
|
||||
title('Sinusoidal method [2]');
|
||||
|
||||
s6 = subplot(326); hold on
|
||||
plot(a_sinElecAngle_XA, r_sin3PhaA_M1, color(1), 'Linewidth', lw);
|
||||
plot(a_sinElecAngle_XA, r_sin3PhaB_M1, color(2), 'Linewidth', lw);
|
||||
plot(a_sinElecAngle_XA, r_sin3PhaC_M1, color(3), 'Linewidth', lw);
|
||||
xticks(a_trapElecAngle_XA);
|
||||
grid
|
||||
title('Sinusoidal 3rd armonic [3]');
|
||||
xlabel('Electrical angle [deg]');
|
||||
linkaxes([s1 s2 s3 s4 s5 s6],'x');
|
||||
xlim([0 360]);
|
||||
end
|
@ -7,9 +7,9 @@
|
||||
*
|
||||
* Code generated for Simulink model 'BLDC_controller'.
|
||||
*
|
||||
* Model version : 1.817
|
||||
* Model version : 1.877
|
||||
* Simulink Coder version : 8.13 (R2017b) 24-Jul-2017
|
||||
* C/C++ source code generated on : Tue May 28 19:55:33 2019
|
||||
* C/C++ source code generated on : Wed Jun 5 22:29:28 2019
|
||||
*
|
||||
* Target selection: ert.tlc
|
||||
* Embedded hardware selection: ARM Compatible->ARM Cortex
|
||||
@ -24,302 +24,174 @@
|
||||
#ifndef RTW_HEADER_BLDC_controller_h_
|
||||
#define RTW_HEADER_BLDC_controller_h_
|
||||
#include "rtwtypes.h"
|
||||
#include "zero_crossing_types.h"
|
||||
#ifndef BLDC_controller_COMMON_INCLUDES_
|
||||
# define BLDC_controller_COMMON_INCLUDES_
|
||||
#include "rtwtypes.h"
|
||||
#include "zero_crossing_types.h"
|
||||
#endif /* BLDC_controller_COMMON_INCLUDES_ */
|
||||
|
||||
/* Macros for accessing real-time model data structure */
|
||||
|
||||
/* Block signals and states (auto storage) for system '<S12>/F01_03_Direction_Detection' */
|
||||
typedef struct {
|
||||
int8_T UnitDelay1_DSTATE; /* '<S22>/UnitDelay1' */
|
||||
} DW_F01_03_Direction_Detection;
|
||||
|
||||
/* Block signals and states (auto storage) for system '<S23>/Edge_counter' */
|
||||
typedef struct {
|
||||
uint8_T UnitDelay1_DSTATE; /* '<S37>/UnitDelay1' */
|
||||
boolean_T Edge_counter_MODE; /* '<S23>/Edge_counter' */
|
||||
} DW_Edge_counter;
|
||||
|
||||
/* Block signals and states (auto storage) for system '<S23>/Motor_Speed_Calculation' */
|
||||
typedef struct {
|
||||
int32_T UnitDelay5_DSTATE; /* '<S28>/UnitDelay5' */
|
||||
int32_T UnitDelay1_DSTATE; /* '<S28>/UnitDelay1' */
|
||||
} DW_Motor_Speed_Calculation;
|
||||
|
||||
/* Zero-crossing (trigger) state for system '<S23>/Motor_Speed_Calculation' */
|
||||
typedef struct {
|
||||
ZCSigState Motor_Speed_Calculation_Trig_ZC;/* '<S23>/Motor_Speed_Calculation' */
|
||||
} ZCE_Motor_Speed_Calculation;
|
||||
/* Forward declaration for rtModel */
|
||||
typedef struct tag_RTM RT_MODEL;
|
||||
|
||||
/* Block signals and states (auto storage) for system '<Root>' */
|
||||
typedef struct {
|
||||
DW_Motor_Speed_Calculation Motor_Speed_Calculation_k;/* '<S61>/Motor_Speed_Calculation' */
|
||||
DW_Edge_counter Edge_counter_l; /* '<S61>/Edge_counter' */
|
||||
DW_F01_03_Direction_Detection F01_03_Direction_Detection_j;/* '<S50>/F01_03_Direction_Detection' */
|
||||
DW_Motor_Speed_Calculation Motor_Speed_Calculation_m;/* '<S23>/Motor_Speed_Calculation' */
|
||||
DW_Edge_counter Edge_counter_f; /* '<S23>/Edge_counter' */
|
||||
DW_F01_03_Direction_Detection F01_03_Direction_Detection_o;/* '<S12>/F01_03_Direction_Detection' */
|
||||
int32_T Switch_PhaAdv; /* '<S51>/Switch_PhaAdv' */
|
||||
int32_T Switch_PhaAdv_a; /* '<S13>/Switch_PhaAdv' */
|
||||
int16_T Merge; /* '<S14>/Merge' */
|
||||
int16_T Merge1; /* '<S14>/Merge1' */
|
||||
int16_T Merge2; /* '<S14>/Merge2' */
|
||||
int16_T Merge_j; /* '<S52>/Merge' */
|
||||
int16_T Merge1_m; /* '<S52>/Merge1' */
|
||||
int16_T Merge2_d; /* '<S52>/Merge2' */
|
||||
int16_T z_counterRawPrev_DSTATE; /* '<S23>/z_counterRawPrev' */
|
||||
int16_T z_counter2_DSTATE; /* '<S23>/z_counter2' */
|
||||
int16_T UnitDelay1_DSTATE; /* '<S32>/UnitDelay1' */
|
||||
int16_T z_counterRawPrev_DSTATE_p; /* '<S61>/z_counterRawPrev' */
|
||||
int16_T z_counter2_DSTATE_h; /* '<S61>/z_counter2' */
|
||||
int16_T UnitDelay1_DSTATE_k; /* '<S70>/UnitDelay1' */
|
||||
int8_T UnitDelay1; /* '<S60>/UnitDelay1' */
|
||||
int8_T Switch2; /* '<S60>/Switch2' */
|
||||
int8_T UnitDelay1_k; /* '<S22>/UnitDelay1' */
|
||||
int8_T Switch2_e; /* '<S22>/Switch2' */
|
||||
int32_T Switch_PhaAdv; /* '<S8>/Switch_PhaAdv' */
|
||||
int32_T UnitDelay2_DSTATE; /* '<S16>/UnitDelay2' */
|
||||
int16_T Merge; /* '<S9>/Merge' */
|
||||
int16_T Merge1; /* '<S9>/Merge1' */
|
||||
int16_T Merge2; /* '<S9>/Merge2' */
|
||||
int16_T z_counterRawPrev; /* '<S15>/z_counterRawPrev' */
|
||||
int16_T Sum4; /* '<S15>/Sum4' */
|
||||
int16_T UnitDelay1_DSTATE; /* '<S17>/UnitDelay1' */
|
||||
int16_T UnitDelay1_DSTATE_c; /* '<S14>/UnitDelay1' */
|
||||
int16_T z_counter2_DSTATE; /* '<S15>/z_counter2' */
|
||||
int8_T UnitDelay1; /* '<S13>/UnitDelay1' */
|
||||
int8_T Switch2; /* '<S13>/Switch2' */
|
||||
int8_T UnitDelay2_DSTATE_i; /* '<S13>/UnitDelay2' */
|
||||
int8_T If1_ActiveSubsystem; /* '<S2>/If1' */
|
||||
int8_T If1_ActiveSubsystem_j; /* '<S3>/If1' */
|
||||
uint8_T Sum2_i; /* '<S65>/Sum2' */
|
||||
uint8_T Sum2_l; /* '<S27>/Sum2' */
|
||||
uint8_T UnitDelay_DSTATE; /* '<S20>/UnitDelay' */
|
||||
uint8_T UnitDelay1_DSTATE_p; /* '<S20>/UnitDelay1' */
|
||||
uint8_T UnitDelay2_DSTATE; /* '<S20>/UnitDelay2' */
|
||||
uint8_T UnitDelay1_DSTATE_g; /* '<S21>/UnitDelay1' */
|
||||
uint8_T UnitDelay_DSTATE_j; /* '<S58>/UnitDelay' */
|
||||
uint8_T UnitDelay1_DSTATE_f; /* '<S58>/UnitDelay1' */
|
||||
uint8_T UnitDelay2_DSTATE_b; /* '<S58>/UnitDelay2' */
|
||||
uint8_T UnitDelay1_DSTATE_j; /* '<S59>/UnitDelay1' */
|
||||
boolean_T Logic[2]; /* '<S29>/Logic' */
|
||||
boolean_T Logic_j[2]; /* '<S67>/Logic' */
|
||||
boolean_T LogicalOperator; /* '<S30>/Logical Operator' */
|
||||
boolean_T LogicalOperator5; /* '<S61>/Logical Operator5' */
|
||||
boolean_T LogicalOperator_h; /* '<S68>/Logical Operator' */
|
||||
boolean_T UnitDelay8_DSTATE; /* '<S23>/UnitDelay8' */
|
||||
boolean_T UnitDelay8_DSTATE_p; /* '<S61>/UnitDelay8' */
|
||||
boolean_T UnitDelay_DSTATE_k; /* '<S69>/UnitDelay' */
|
||||
boolean_T UnitDelay_DSTATE_i; /* '<S68>/UnitDelay' */
|
||||
boolean_T UnitDelay_DSTATE_l; /* '<S31>/UnitDelay' */
|
||||
boolean_T UnitDelay_DSTATE_b; /* '<S30>/UnitDelay' */
|
||||
boolean_T Memory_PreviousInput; /* '<S29>/Memory' */
|
||||
boolean_T Relay_Mode; /* '<S15>/Relay' */
|
||||
boolean_T Memory_PreviousInput_i; /* '<S67>/Memory' */
|
||||
boolean_T Relay_Mode_m; /* '<S53>/Relay' */
|
||||
uint8_T UnitDelay_DSTATE; /* '<S11>/UnitDelay' */
|
||||
uint8_T UnitDelay1_DSTATE_i; /* '<S11>/UnitDelay1' */
|
||||
uint8_T UnitDelay2_DSTATE_h; /* '<S11>/UnitDelay2' */
|
||||
boolean_T n_commDeacv_Mode; /* '<S14>/n_commDeacv' */
|
||||
boolean_T dz_counter_Mode; /* '<S14>/dz_counter' */
|
||||
} DW;
|
||||
|
||||
/* Zero-crossing (trigger) state */
|
||||
typedef struct {
|
||||
ZCE_Motor_Speed_Calculation Motor_Speed_Calculation_k;/* '<S61>/Motor_Speed_Calculation' */
|
||||
ZCE_Motor_Speed_Calculation Motor_Speed_Calculation_m;/* '<S23>/Motor_Speed_Calculation' */
|
||||
} PrevZCX;
|
||||
|
||||
/* Constant parameters (auto storage) */
|
||||
typedef struct {
|
||||
/* Pooled Parameter (Expression: r_trapPhaA_M1)
|
||||
* Referenced by:
|
||||
* '<S41>/r_trapPhaA_M1'
|
||||
* '<S79>/r_trapPhaA_M1'
|
||||
/* Computed Parameter: r_trapPhaA_M1_Table
|
||||
* Referenced by: '<S18>/r_trapPhaA_M1'
|
||||
*/
|
||||
int16_T pooled9[7];
|
||||
int16_T r_trapPhaA_M1_Table[7];
|
||||
|
||||
/* Pooled Parameter (Expression: r_trapPhaB_M1)
|
||||
* Referenced by:
|
||||
* '<S41>/r_trapPhaB_M1'
|
||||
* '<S79>/r_trapPhaB_M1'
|
||||
/* Computed Parameter: r_trapPhaB_M1_Table
|
||||
* Referenced by: '<S18>/r_trapPhaB_M1'
|
||||
*/
|
||||
int16_T pooled10[7];
|
||||
int16_T r_trapPhaB_M1_Table[7];
|
||||
|
||||
/* Pooled Parameter (Expression: r_trapPhaC_M1)
|
||||
* Referenced by:
|
||||
* '<S41>/r_trapPhaC_M1'
|
||||
* '<S79>/r_trapPhaC_M1'
|
||||
/* Computed Parameter: r_trapPhaC_M1_Table
|
||||
* Referenced by: '<S18>/r_trapPhaC_M1'
|
||||
*/
|
||||
int16_T pooled11[7];
|
||||
int16_T r_trapPhaC_M1_Table[7];
|
||||
|
||||
/* Pooled Parameter (Expression: r_sinPhaA_M1)
|
||||
* Referenced by:
|
||||
* '<S43>/r_sinPhaA_M1'
|
||||
* '<S81>/r_sinPhaA_M1'
|
||||
/* Computed Parameter: r_sinPhaA_M1_Table
|
||||
* Referenced by: '<S19>/r_sinPhaA_M1'
|
||||
*/
|
||||
int16_T pooled12[37];
|
||||
int16_T r_sinPhaA_M1_Table[37];
|
||||
|
||||
/* Pooled Parameter (Expression: r_sinPhaB_M1)
|
||||
* Referenced by:
|
||||
* '<S43>/r_sinPhaB_M1'
|
||||
* '<S81>/r_sinPhaB_M1'
|
||||
/* Computed Parameter: r_sinPhaB_M1_Table
|
||||
* Referenced by: '<S19>/r_sinPhaB_M1'
|
||||
*/
|
||||
int16_T pooled13[37];
|
||||
int16_T r_sinPhaB_M1_Table[37];
|
||||
|
||||
/* Pooled Parameter (Expression: r_sinPhaC_M1)
|
||||
* Referenced by:
|
||||
* '<S43>/r_sinPhaC_M1'
|
||||
* '<S81>/r_sinPhaC_M1'
|
||||
/* Computed Parameter: r_sinPhaC_M1_Table
|
||||
* Referenced by: '<S19>/r_sinPhaC_M1'
|
||||
*/
|
||||
int16_T pooled14[37];
|
||||
int16_T r_sinPhaC_M1_Table[37];
|
||||
|
||||
/* Pooled Parameter (Expression: r_sin3PhaA_M1)
|
||||
* Referenced by:
|
||||
* '<S42>/r_sin3PhaA_M1'
|
||||
* '<S80>/r_sin3PhaA_M1'
|
||||
/* Computed Parameter: r_sin3PhaA_M1_Table
|
||||
* Referenced by: '<S20>/r_sin3PhaA_M1'
|
||||
*/
|
||||
int16_T pooled15[37];
|
||||
int16_T r_sin3PhaA_M1_Table[37];
|
||||
|
||||
/* Pooled Parameter (Expression: r_sin3PhaB_M1)
|
||||
* Referenced by:
|
||||
* '<S42>/r_sin3PhaB_M1'
|
||||
* '<S80>/r_sin3PhaB_M1'
|
||||
/* Computed Parameter: r_sin3PhaB_M1_Table
|
||||
* Referenced by: '<S20>/r_sin3PhaB_M1'
|
||||
*/
|
||||
int16_T pooled16[37];
|
||||
int16_T r_sin3PhaB_M1_Table[37];
|
||||
|
||||
/* Pooled Parameter (Expression: r_sin3PhaC_M1)
|
||||
* Referenced by:
|
||||
* '<S42>/r_sin3PhaC_M1'
|
||||
* '<S80>/r_sin3PhaC_M1'
|
||||
/* Computed Parameter: r_sin3PhaC_M1_Table
|
||||
* Referenced by: '<S20>/r_sin3PhaC_M1'
|
||||
*/
|
||||
int16_T pooled17[37];
|
||||
int16_T r_sin3PhaC_M1_Table[37];
|
||||
|
||||
/* Pooled Parameter (Expression: z_commutMap_M1)
|
||||
* Referenced by:
|
||||
* '<S15>/z_commutMap_M1'
|
||||
* '<S53>/z_commutMap_M1'
|
||||
/* Computed Parameter: z_commutMap_M1_table
|
||||
* Referenced by: '<S10>/z_commutMap_M1'
|
||||
*/
|
||||
int16_T pooled18[18];
|
||||
int16_T z_commutMap_M1_table[18];
|
||||
|
||||
/* Pooled Parameter (Expression: vec_hallToPos)
|
||||
* Referenced by:
|
||||
* '<S21>/vec_hallToPos'
|
||||
* '<S59>/vec_hallToPos'
|
||||
/* Computed Parameter: vec_hallToPos_Value
|
||||
* Referenced by: '<S12>/vec_hallToPos'
|
||||
*/
|
||||
uint8_T pooled26[8];
|
||||
|
||||
/* Pooled Parameter (Expression: [0 1;1 0;0 1;0 1;1 0;1 0;0 0;0 0])
|
||||
* Referenced by:
|
||||
* '<S29>/Logic'
|
||||
* '<S67>/Logic'
|
||||
*/
|
||||
boolean_T pooled30[16];
|
||||
int8_T vec_hallToPos_Value[8];
|
||||
} ConstP;
|
||||
|
||||
/* External inputs (root inport signals with auto storage) */
|
||||
typedef struct {
|
||||
uint8_T b_hallALeft; /* '<Root>/b_hallALeft ' */
|
||||
uint8_T b_hallBLeft; /* '<Root>/b_hallBLeft' */
|
||||
uint8_T b_hallCLeft; /* '<Root>/b_hallCLeft' */
|
||||
int32_T r_DCLeft; /* '<Root>/r_DCLeft' */
|
||||
uint8_T b_hallARight; /* '<Root>/b_hallARight' */
|
||||
uint8_T b_hallBRight; /* '<Root>/b_hallBRight' */
|
||||
uint8_T b_hallCRight; /* '<Root>/b_hallCRight' */
|
||||
int32_T r_DCRight; /* '<Root>/r_DCRight' */
|
||||
uint8_T b_hallA; /* '<Root>/b_hallA ' */
|
||||
uint8_T b_hallB; /* '<Root>/b_hallB' */
|
||||
uint8_T b_hallC; /* '<Root>/b_hallC' */
|
||||
int32_T r_DC; /* '<Root>/r_DC' */
|
||||
} ExtU;
|
||||
|
||||
/* External outputs (root outports fed by signals with auto storage) */
|
||||
typedef struct {
|
||||
int32_T DC_phaALeft; /* '<Root>/DC_phaALeft' */
|
||||
int32_T DC_phaBLeft; /* '<Root>/DC_phaBLeft' */
|
||||
int32_T DC_phaCLeft; /* '<Root>/DC_phaCLeft' */
|
||||
int32_T n_motLeft; /* '<Root>/n_motLeft' */
|
||||
int32_T a_elecAngleLeft; /* '<Root>/a_elecAngleLeft' */
|
||||
int32_T DC_phaARight; /* '<Root>/DC_phaARight' */
|
||||
int32_T DC_phaBRight; /* '<Root>/DC_phaBRight' */
|
||||
int32_T DC_phaCRight; /* '<Root>/DC_phaCRight' */
|
||||
int32_T n_motRight; /* '<Root>/n_motRight' */
|
||||
int32_T a_elecAngleRight; /* '<Root>/a_elecAngleRight' */
|
||||
int32_T DC_phaA; /* '<Root>/DC_phaA' */
|
||||
int32_T DC_phaB; /* '<Root>/DC_phaB' */
|
||||
int32_T DC_phaC; /* '<Root>/DC_phaC' */
|
||||
int32_T n_mot; /* '<Root>/n_mot' */
|
||||
int32_T a_elecAngle; /* '<Root>/a_elecAngle' */
|
||||
} ExtY;
|
||||
|
||||
/* Parameters (auto storage) */
|
||||
struct P_ {
|
||||
int32_T cf_speedCoef; /* Variable: cf_speedCoef
|
||||
* Referenced by:
|
||||
* '<S28>/cf_spdCoef'
|
||||
* '<S66>/cf_spdCoef'
|
||||
* Referenced by: '<S16>/cf_spdCoef'
|
||||
*/
|
||||
int32_T cf_speedFilt; /* Variable: cf_speedFilt
|
||||
* Referenced by: '<S16>/cf_speedFilt'
|
||||
*/
|
||||
int32_T n_commAcvLo; /* Variable: n_commAcvLo
|
||||
* Referenced by:
|
||||
* '<S15>/Relay'
|
||||
* '<S53>/Relay'
|
||||
* Referenced by: '<S14>/n_commDeacv'
|
||||
*/
|
||||
int32_T n_commDeacvHi; /* Variable: n_commDeacvHi
|
||||
* Referenced by:
|
||||
* '<S15>/Relay'
|
||||
* '<S53>/Relay'
|
||||
* Referenced by: '<S14>/n_commDeacv'
|
||||
*/
|
||||
int32_T r_commDCDeacv; /* Variable: r_commDCDeacv
|
||||
* Referenced by:
|
||||
* '<S15>/r_commDCDeacv'
|
||||
* '<S53>/r_commDCDeacv'
|
||||
* Referenced by: '<S14>/r_commDCDeacv'
|
||||
*/
|
||||
int32_T r_phaAdvDC_XA[11]; /* Variable: r_phaAdvDC_XA
|
||||
* Referenced by:
|
||||
* '<S13>/r_phaAdvDC_XA'
|
||||
* '<S51>/r_phaAdvDC_XA'
|
||||
* Referenced by: '<S8>/r_phaAdvDC_XA'
|
||||
*/
|
||||
int16_T a_phaAdv_M1[11]; /* Variable: a_phaAdv_M1
|
||||
* Referenced by:
|
||||
* '<S13>/a_phaAdv_M2'
|
||||
* '<S51>/a_phaAdv_M2'
|
||||
* Referenced by: '<S8>/a_phaAdv_M2'
|
||||
*/
|
||||
int16_T z_maxCntRst; /* Variable: z_maxCntRst
|
||||
* Referenced by:
|
||||
* '<S23>/z_maxCntRst'
|
||||
* '<S23>/z_maxCntRst1'
|
||||
* '<S23>/z_maxCntRst2'
|
||||
* '<S23>/z_counter2'
|
||||
* '<S61>/z_maxCntRst'
|
||||
* '<S61>/z_maxCntRst1'
|
||||
* '<S61>/z_maxCntRst2'
|
||||
* '<S61>/z_counter2'
|
||||
* '<S28>/z_maxCntRst'
|
||||
* '<S66>/z_maxCntRst'
|
||||
int16_T dz_counterHi; /* Variable: dz_counterHi
|
||||
* Referenced by: '<S14>/dz_counter'
|
||||
*/
|
||||
int16_T dz_counterLo; /* Variable: dz_counterLo
|
||||
* Referenced by: '<S14>/dz_counter'
|
||||
*/
|
||||
uint8_T z_ctrlTypSel; /* Variable: z_ctrlTypSel
|
||||
* Referenced by:
|
||||
* '<S12>/z_ctrlTypSel1'
|
||||
* '<S50>/z_ctrlTypSel1'
|
||||
*/
|
||||
uint8_T z_nrEdgeSpdAcv; /* Variable: z_nrEdgeSpdAcv
|
||||
* Referenced by:
|
||||
* '<S23>/z_nrEdgeSpdAcv'
|
||||
* '<S61>/z_nrEdgeSpdAcv'
|
||||
* Referenced by: '<S7>/z_ctrlTypSel1'
|
||||
*/
|
||||
boolean_T b_phaAdvEna; /* Variable: b_phaAdvEna
|
||||
* Referenced by:
|
||||
* '<S13>/a_elecPeriod1'
|
||||
* '<S51>/a_elecPeriod1'
|
||||
* Referenced by: '<S8>/a_elecPeriod1'
|
||||
*/
|
||||
};
|
||||
|
||||
/* Parameters (auto storage) */
|
||||
typedef struct P_ P;
|
||||
|
||||
/* Block parameters (auto storage) */
|
||||
extern P rtP;
|
||||
|
||||
/* Block signals and states (auto storage) */
|
||||
extern DW rtDW;
|
||||
|
||||
/* External inputs (root inport signals with auto storage) */
|
||||
extern ExtU rtU;
|
||||
|
||||
/* External outputs (root outports fed by signals with auto storage) */
|
||||
extern ExtY rtY;
|
||||
/* Real-time Model Data Structure */
|
||||
struct tag_RTM {
|
||||
P *defaultParam;
|
||||
ExtU *inputs;
|
||||
ExtY *outputs;
|
||||
DW *dwork;
|
||||
};
|
||||
|
||||
/* Constant parameters (auto storage) */
|
||||
extern const ConstP rtConstP;
|
||||
|
||||
/* Model entry point functions */
|
||||
extern void BLDC_controller_initialize(void);
|
||||
extern void BLDC_controller_step(void);
|
||||
extern void BLDC_controller_initialize(RT_MODEL *const rtM);
|
||||
extern void BLDC_controller_step(RT_MODEL *const rtM);
|
||||
|
||||
/*-
|
||||
* These blocks were eliminated from the model due to optimizations:
|
||||
*
|
||||
* Block '<S23>/Scope2' : Unused code path elimination
|
||||
* Block '<S13>/Scope' : Unused code path elimination
|
||||
* Block '<S61>/Scope2' : Unused code path elimination
|
||||
* Block '<S51>/Scope' : Unused code path elimination
|
||||
* Block '<S14>/Scope2' : Unused code path elimination
|
||||
* Block '<S8>/Scope' : Unused code path elimination
|
||||
*/
|
||||
|
||||
/*-
|
||||
@ -341,92 +213,28 @@ extern void BLDC_controller_step(void);
|
||||
*
|
||||
* '<Root>' : 'BLDCmotorControl_R2017b'
|
||||
* '<S1>' : 'BLDCmotorControl_R2017b/BLDC_controller'
|
||||
* '<S2>' : 'BLDCmotorControl_R2017b/BLDC_controller/BLDC_controller_Left'
|
||||
* '<S3>' : 'BLDCmotorControl_R2017b/BLDC_controller/BLDC_controller_Right'
|
||||
* '<S4>' : 'BLDCmotorControl_R2017b/BLDC_controller/signal_log1'
|
||||
* '<S5>' : 'BLDCmotorControl_R2017b/BLDC_controller/signal_log2'
|
||||
* '<S6>' : 'BLDCmotorControl_R2017b/BLDC_controller/signal_log3'
|
||||
* '<S7>' : 'BLDCmotorControl_R2017b/BLDC_controller/signal_log4'
|
||||
* '<S8>' : 'BLDCmotorControl_R2017b/BLDC_controller/signal_log5'
|
||||
* '<S9>' : 'BLDCmotorControl_R2017b/BLDC_controller/signal_log6'
|
||||
* '<S10>' : 'BLDCmotorControl_R2017b/BLDC_controller/signal_log7'
|
||||
* '<S11>' : 'BLDCmotorControl_R2017b/BLDC_controller/signal_log8'
|
||||
* '<S12>' : 'BLDCmotorControl_R2017b/BLDC_controller/BLDC_controller_Left/F01_Preliminary_Calculations'
|
||||
* '<S13>' : 'BLDCmotorControl_R2017b/BLDC_controller/BLDC_controller_Left/F02_Electrical_Angle_Calculation'
|
||||
* '<S14>' : 'BLDCmotorControl_R2017b/BLDC_controller/BLDC_controller_Left/F03_Control_Method_Selection'
|
||||
* '<S15>' : 'BLDCmotorControl_R2017b/BLDC_controller/BLDC_controller_Left/F04_Control_Type_Management'
|
||||
* '<S16>' : 'BLDCmotorControl_R2017b/BLDC_controller/BLDC_controller_Left/signal_log1'
|
||||
* '<S17>' : 'BLDCmotorControl_R2017b/BLDC_controller/BLDC_controller_Left/signal_log2'
|
||||
* '<S18>' : 'BLDCmotorControl_R2017b/BLDC_controller/BLDC_controller_Left/signal_log3'
|
||||
* '<S19>' : 'BLDCmotorControl_R2017b/BLDC_controller/BLDC_controller_Left/signal_log6'
|
||||
* '<S20>' : 'BLDCmotorControl_R2017b/BLDC_controller/BLDC_controller_Left/F01_Preliminary_Calculations/F01_01_Edge_Detector'
|
||||
* '<S21>' : 'BLDCmotorControl_R2017b/BLDC_controller/BLDC_controller_Left/F01_Preliminary_Calculations/F01_02_Position_Calculation'
|
||||
* '<S22>' : 'BLDCmotorControl_R2017b/BLDC_controller/BLDC_controller_Left/F01_Preliminary_Calculations/F01_03_Direction_Detection'
|
||||
* '<S23>' : 'BLDCmotorControl_R2017b/BLDC_controller/BLDC_controller_Left/F01_Preliminary_Calculations/F01_04_Speed_Calculation'
|
||||
* '<S24>' : 'BLDCmotorControl_R2017b/BLDC_controller/BLDC_controller_Left/F01_Preliminary_Calculations/F01_01_Edge_Detector/signal_log6'
|
||||
* '<S25>' : 'BLDCmotorControl_R2017b/BLDC_controller/BLDC_controller_Left/F01_Preliminary_Calculations/F01_02_Position_Calculation/signal_log6'
|
||||
* '<S26>' : 'BLDCmotorControl_R2017b/BLDC_controller/BLDC_controller_Left/F01_Preliminary_Calculations/F01_03_Direction_Detection/signal_log6'
|
||||
* '<S27>' : 'BLDCmotorControl_R2017b/BLDC_controller/BLDC_controller_Left/F01_Preliminary_Calculations/F01_04_Speed_Calculation/Edge_counter'
|
||||
* '<S28>' : 'BLDCmotorControl_R2017b/BLDC_controller/BLDC_controller_Left/F01_Preliminary_Calculations/F01_04_Speed_Calculation/Motor_Speed_Calculation'
|
||||
* '<S29>' : 'BLDCmotorControl_R2017b/BLDC_controller/BLDC_controller_Left/F01_Preliminary_Calculations/F01_04_Speed_Calculation/S-R Flip-Flop'
|
||||
* '<S30>' : 'BLDCmotorControl_R2017b/BLDC_controller/BLDC_controller_Left/F01_Preliminary_Calculations/F01_04_Speed_Calculation/falling_edge2'
|
||||
* '<S31>' : 'BLDCmotorControl_R2017b/BLDC_controller/BLDC_controller_Left/F01_Preliminary_Calculations/F01_04_Speed_Calculation/rising_edge'
|
||||
* '<S32>' : 'BLDCmotorControl_R2017b/BLDC_controller/BLDC_controller_Left/F01_Preliminary_Calculations/F01_04_Speed_Calculation/rst_Delay'
|
||||
* '<S33>' : 'BLDCmotorControl_R2017b/BLDC_controller/BLDC_controller_Left/F01_Preliminary_Calculations/F01_04_Speed_Calculation/signal_log1'
|
||||
* '<S34>' : 'BLDCmotorControl_R2017b/BLDC_controller/BLDC_controller_Left/F01_Preliminary_Calculations/F01_04_Speed_Calculation/signal_log3'
|
||||
* '<S35>' : 'BLDCmotorControl_R2017b/BLDC_controller/BLDC_controller_Left/F01_Preliminary_Calculations/F01_04_Speed_Calculation/signal_log4'
|
||||
* '<S36>' : 'BLDCmotorControl_R2017b/BLDC_controller/BLDC_controller_Left/F01_Preliminary_Calculations/F01_04_Speed_Calculation/signal_log5'
|
||||
* '<S37>' : 'BLDCmotorControl_R2017b/BLDC_controller/BLDC_controller_Left/F01_Preliminary_Calculations/F01_04_Speed_Calculation/Edge_counter/rst_Delay'
|
||||
* '<S38>' : 'BLDCmotorControl_R2017b/BLDC_controller/BLDC_controller_Left/F02_Electrical_Angle_Calculation/signal_log1'
|
||||
* '<S39>' : 'BLDCmotorControl_R2017b/BLDC_controller/BLDC_controller_Left/F02_Electrical_Angle_Calculation/signal_log2'
|
||||
* '<S40>' : 'BLDCmotorControl_R2017b/BLDC_controller/BLDC_controller_Left/F02_Electrical_Angle_Calculation/signal_log6'
|
||||
* '<S41>' : 'BLDCmotorControl_R2017b/BLDC_controller/BLDC_controller_Left/F03_Control_Method_Selection/F03_01_Pure_Trapezoidal_Method'
|
||||
* '<S42>' : 'BLDCmotorControl_R2017b/BLDC_controller/BLDC_controller_Left/F03_Control_Method_Selection/F03_02_Sinusoidal3rd_Method'
|
||||
* '<S43>' : 'BLDCmotorControl_R2017b/BLDC_controller/BLDC_controller_Left/F03_Control_Method_Selection/F03_02_Sinusoidal_Method'
|
||||
* '<S44>' : 'BLDCmotorControl_R2017b/BLDC_controller/BLDC_controller_Left/F03_Control_Method_Selection/signal_log1'
|
||||
* '<S45>' : 'BLDCmotorControl_R2017b/BLDC_controller/BLDC_controller_Left/F03_Control_Method_Selection/signal_log2'
|
||||
* '<S46>' : 'BLDCmotorControl_R2017b/BLDC_controller/BLDC_controller_Left/F03_Control_Method_Selection/signal_log6'
|
||||
* '<S47>' : 'BLDCmotorControl_R2017b/BLDC_controller/BLDC_controller_Left/F04_Control_Type_Management/signal_log1'
|
||||
* '<S48>' : 'BLDCmotorControl_R2017b/BLDC_controller/BLDC_controller_Left/F04_Control_Type_Management/signal_log2'
|
||||
* '<S49>' : 'BLDCmotorControl_R2017b/BLDC_controller/BLDC_controller_Left/F04_Control_Type_Management/signal_log6'
|
||||
* '<S50>' : 'BLDCmotorControl_R2017b/BLDC_controller/BLDC_controller_Right/F01_Preliminary_Calculations'
|
||||
* '<S51>' : 'BLDCmotorControl_R2017b/BLDC_controller/BLDC_controller_Right/F02_Electrical_Angle_Calculation'
|
||||
* '<S52>' : 'BLDCmotorControl_R2017b/BLDC_controller/BLDC_controller_Right/F03_Control_Method_Selection'
|
||||
* '<S53>' : 'BLDCmotorControl_R2017b/BLDC_controller/BLDC_controller_Right/F04_Control_Type_Management'
|
||||
* '<S54>' : 'BLDCmotorControl_R2017b/BLDC_controller/BLDC_controller_Right/signal_log1'
|
||||
* '<S55>' : 'BLDCmotorControl_R2017b/BLDC_controller/BLDC_controller_Right/signal_log2'
|
||||
* '<S56>' : 'BLDCmotorControl_R2017b/BLDC_controller/BLDC_controller_Right/signal_log3'
|
||||
* '<S57>' : 'BLDCmotorControl_R2017b/BLDC_controller/BLDC_controller_Right/signal_log6'
|
||||
* '<S58>' : 'BLDCmotorControl_R2017b/BLDC_controller/BLDC_controller_Right/F01_Preliminary_Calculations/F01_01_Edge_Detector'
|
||||
* '<S59>' : 'BLDCmotorControl_R2017b/BLDC_controller/BLDC_controller_Right/F01_Preliminary_Calculations/F01_02_Position_Calculation'
|
||||
* '<S60>' : 'BLDCmotorControl_R2017b/BLDC_controller/BLDC_controller_Right/F01_Preliminary_Calculations/F01_03_Direction_Detection'
|
||||
* '<S61>' : 'BLDCmotorControl_R2017b/BLDC_controller/BLDC_controller_Right/F01_Preliminary_Calculations/F01_04_Speed_Calculation'
|
||||
* '<S62>' : 'BLDCmotorControl_R2017b/BLDC_controller/BLDC_controller_Right/F01_Preliminary_Calculations/F01_01_Edge_Detector/signal_log6'
|
||||
* '<S63>' : 'BLDCmotorControl_R2017b/BLDC_controller/BLDC_controller_Right/F01_Preliminary_Calculations/F01_02_Position_Calculation/signal_log6'
|
||||
* '<S64>' : 'BLDCmotorControl_R2017b/BLDC_controller/BLDC_controller_Right/F01_Preliminary_Calculations/F01_03_Direction_Detection/signal_log6'
|
||||
* '<S65>' : 'BLDCmotorControl_R2017b/BLDC_controller/BLDC_controller_Right/F01_Preliminary_Calculations/F01_04_Speed_Calculation/Edge_counter'
|
||||
* '<S66>' : 'BLDCmotorControl_R2017b/BLDC_controller/BLDC_controller_Right/F01_Preliminary_Calculations/F01_04_Speed_Calculation/Motor_Speed_Calculation'
|
||||
* '<S67>' : 'BLDCmotorControl_R2017b/BLDC_controller/BLDC_controller_Right/F01_Preliminary_Calculations/F01_04_Speed_Calculation/S-R Flip-Flop'
|
||||
* '<S68>' : 'BLDCmotorControl_R2017b/BLDC_controller/BLDC_controller_Right/F01_Preliminary_Calculations/F01_04_Speed_Calculation/falling_edge2'
|
||||
* '<S69>' : 'BLDCmotorControl_R2017b/BLDC_controller/BLDC_controller_Right/F01_Preliminary_Calculations/F01_04_Speed_Calculation/rising_edge'
|
||||
* '<S70>' : 'BLDCmotorControl_R2017b/BLDC_controller/BLDC_controller_Right/F01_Preliminary_Calculations/F01_04_Speed_Calculation/rst_Delay'
|
||||
* '<S71>' : 'BLDCmotorControl_R2017b/BLDC_controller/BLDC_controller_Right/F01_Preliminary_Calculations/F01_04_Speed_Calculation/signal_log1'
|
||||
* '<S72>' : 'BLDCmotorControl_R2017b/BLDC_controller/BLDC_controller_Right/F01_Preliminary_Calculations/F01_04_Speed_Calculation/signal_log3'
|
||||
* '<S73>' : 'BLDCmotorControl_R2017b/BLDC_controller/BLDC_controller_Right/F01_Preliminary_Calculations/F01_04_Speed_Calculation/signal_log4'
|
||||
* '<S74>' : 'BLDCmotorControl_R2017b/BLDC_controller/BLDC_controller_Right/F01_Preliminary_Calculations/F01_04_Speed_Calculation/signal_log5'
|
||||
* '<S75>' : 'BLDCmotorControl_R2017b/BLDC_controller/BLDC_controller_Right/F01_Preliminary_Calculations/F01_04_Speed_Calculation/Edge_counter/rst_Delay'
|
||||
* '<S76>' : 'BLDCmotorControl_R2017b/BLDC_controller/BLDC_controller_Right/F02_Electrical_Angle_Calculation/signal_log1'
|
||||
* '<S77>' : 'BLDCmotorControl_R2017b/BLDC_controller/BLDC_controller_Right/F02_Electrical_Angle_Calculation/signal_log2'
|
||||
* '<S78>' : 'BLDCmotorControl_R2017b/BLDC_controller/BLDC_controller_Right/F02_Electrical_Angle_Calculation/signal_log6'
|
||||
* '<S79>' : 'BLDCmotorControl_R2017b/BLDC_controller/BLDC_controller_Right/F03_Control_Method_Selection/F03_01_Pure_Trapezoidal_Method'
|
||||
* '<S80>' : 'BLDCmotorControl_R2017b/BLDC_controller/BLDC_controller_Right/F03_Control_Method_Selection/F03_02_Sinusoidal3rd_Method'
|
||||
* '<S81>' : 'BLDCmotorControl_R2017b/BLDC_controller/BLDC_controller_Right/F03_Control_Method_Selection/F03_02_Sinusoidal_Method'
|
||||
* '<S82>' : 'BLDCmotorControl_R2017b/BLDC_controller/BLDC_controller_Right/F03_Control_Method_Selection/signal_log1'
|
||||
* '<S83>' : 'BLDCmotorControl_R2017b/BLDC_controller/BLDC_controller_Right/F03_Control_Method_Selection/signal_log2'
|
||||
* '<S84>' : 'BLDCmotorControl_R2017b/BLDC_controller/BLDC_controller_Right/F03_Control_Method_Selection/signal_log6'
|
||||
* '<S85>' : 'BLDCmotorControl_R2017b/BLDC_controller/BLDC_controller_Right/F04_Control_Type_Management/signal_log1'
|
||||
* '<S86>' : 'BLDCmotorControl_R2017b/BLDC_controller/BLDC_controller_Right/F04_Control_Type_Management/signal_log2'
|
||||
* '<S87>' : 'BLDCmotorControl_R2017b/BLDC_controller/BLDC_controller_Right/F04_Control_Type_Management/signal_log6'
|
||||
* '<S2>' : 'BLDCmotorControl_R2017b/BLDC_controller/BLDC_controller'
|
||||
* '<S3>' : 'BLDCmotorControl_R2017b/BLDC_controller/signal_log1'
|
||||
* '<S4>' : 'BLDCmotorControl_R2017b/BLDC_controller/signal_log2'
|
||||
* '<S5>' : 'BLDCmotorControl_R2017b/BLDC_controller/signal_log3'
|
||||
* '<S6>' : 'BLDCmotorControl_R2017b/BLDC_controller/signal_log6'
|
||||
* '<S7>' : 'BLDCmotorControl_R2017b/BLDC_controller/BLDC_controller/F01_Preliminary_Calculations'
|
||||
* '<S8>' : 'BLDCmotorControl_R2017b/BLDC_controller/BLDC_controller/F02_Electrical_Angle_Calculation'
|
||||
* '<S9>' : 'BLDCmotorControl_R2017b/BLDC_controller/BLDC_controller/F03_Control_Method_Selection'
|
||||
* '<S10>' : 'BLDCmotorControl_R2017b/BLDC_controller/BLDC_controller/F04_Control_Type_Management'
|
||||
* '<S11>' : 'BLDCmotorControl_R2017b/BLDC_controller/BLDC_controller/F01_Preliminary_Calculations/F01_01_Edge_Detector'
|
||||
* '<S12>' : 'BLDCmotorControl_R2017b/BLDC_controller/BLDC_controller/F01_Preliminary_Calculations/F01_02_Position_Calculation'
|
||||
* '<S13>' : 'BLDCmotorControl_R2017b/BLDC_controller/BLDC_controller/F01_Preliminary_Calculations/F01_03_Direction_Detection'
|
||||
* '<S14>' : 'BLDCmotorControl_R2017b/BLDC_controller/BLDC_controller/F01_Preliminary_Calculations/F01_04_Speed_Calculation'
|
||||
* '<S15>' : 'BLDCmotorControl_R2017b/BLDC_controller/BLDC_controller/F01_Preliminary_Calculations/F01_04_Speed_Calculation/Counter_Hold_and_Error_Calculation'
|
||||
* '<S16>' : 'BLDCmotorControl_R2017b/BLDC_controller/BLDC_controller/F01_Preliminary_Calculations/F01_04_Speed_Calculation/Motor_Speed_Calculation'
|
||||
* '<S17>' : 'BLDCmotorControl_R2017b/BLDC_controller/BLDC_controller/F01_Preliminary_Calculations/F01_04_Speed_Calculation/rst_DelayLim'
|
||||
* '<S18>' : 'BLDCmotorControl_R2017b/BLDC_controller/BLDC_controller/F03_Control_Method_Selection/F03_01_Pure_Trapezoidal_Method'
|
||||
* '<S19>' : 'BLDCmotorControl_R2017b/BLDC_controller/BLDC_controller/F03_Control_Method_Selection/F03_02_Sinusoidal_Method'
|
||||
* '<S20>' : 'BLDCmotorControl_R2017b/BLDC_controller/BLDC_controller/F03_Control_Method_Selection/F03_03_Sinusoidal3rd_Method'
|
||||
* '<S21>' : 'BLDCmotorControl_R2017b/BLDC_controller/BLDC_controller/F03_Control_Method_Selection/signal_log1'
|
||||
* '<S22>' : 'BLDCmotorControl_R2017b/BLDC_controller/BLDC_controller/F03_Control_Method_Selection/signal_log2'
|
||||
* '<S23>' : 'BLDCmotorControl_R2017b/BLDC_controller/BLDC_controller/F03_Control_Method_Selection/signal_log6'
|
||||
*/
|
||||
#endif /* RTW_HEADER_BLDC_controller_h_ */
|
||||
|
||||
|
@ -2,7 +2,7 @@
|
||||
## Makefile generated for Simulink model 'BLDC_controller'.
|
||||
##
|
||||
## Makefile : BLDC_controller.mk
|
||||
## Generated on : Tue May 28 18:31:31 2019
|
||||
## Generated on : Wed Jun 05 20:33:43 2019
|
||||
## MATLAB Coder version: 3.4 (R2017b)
|
||||
##
|
||||
## Build Info:
|
||||
@ -32,7 +32,7 @@ MATLAB_ROOT = C:/PROGRA~1/MATLAB/R2017b
|
||||
MATLAB_BIN = C:/PROGRA~1/MATLAB/R2017b/bin
|
||||
MATLAB_ARCH_BIN = $(MATLAB_BIN)/win64
|
||||
MASTER_ANCHOR_DIR =
|
||||
START_DIR = D:/Work_home/01_Motor_control
|
||||
START_DIR = D:/git/hoverboard-firmware-hack/01_Matlab
|
||||
ARCH = win64
|
||||
SOLVER =
|
||||
SOLVER_OBJ =
|
||||
@ -215,7 +215,7 @@ INCLUDES = $(INCLUDES_BUILDINFO)
|
||||
## DEFINES
|
||||
###########################################################################
|
||||
|
||||
DEFINES_BUILD_ARGS = -DTERMFCN=0 -DONESTEPFCN=1 -DMAT_FILE=0 -DMULTI_INSTANCE_CODE=0 -DINTEGER_CODE=0 -DMT=0 -DCLASSIC_INTERFACE=0 -DALLOCATIONFCN=0
|
||||
DEFINES_BUILD_ARGS = -DTERMFCN=0 -DONESTEPFCN=1 -DMAT_FILE=0 -DMULTI_INSTANCE_CODE=1 -DINTEGER_CODE=0 -DMT=0 -DCLASSIC_INTERFACE=0 -DALLOCATIONFCN=0
|
||||
DEFINES_IMPLIED = -DTID01EQ=0
|
||||
DEFINES_STANDARD = -DMODEL=BLDC_controller -DNUMST=1 -DNCSTATES=0 -DHAVESTDIO
|
||||
|
||||
|
@ -7,9 +7,9 @@
|
||||
*
|
||||
* Code generated for Simulink model 'BLDC_controller'.
|
||||
*
|
||||
* Model version : 1.817
|
||||
* Model version : 1.877
|
||||
* Simulink Coder version : 8.13 (R2017b) 24-Jul-2017
|
||||
* C/C++ source code generated on : Tue May 28 19:55:33 2019
|
||||
* C/C++ source code generated on : Wed Jun 5 22:29:28 2019
|
||||
*
|
||||
* Target selection: ert.tlc
|
||||
* Embedded hardware selection: ARM Compatible->ARM Cortex
|
||||
@ -23,185 +23,75 @@
|
||||
|
||||
#include "BLDC_controller.h"
|
||||
|
||||
/* Block parameters (auto storage) */
|
||||
P rtP = {
|
||||
/* Variable: cf_speedCoef
|
||||
* Referenced by:
|
||||
* '<S28>/cf_spdCoef'
|
||||
* '<S66>/cf_spdCoef'
|
||||
*/
|
||||
66667,
|
||||
|
||||
/* Variable: n_commAcvLo
|
||||
* Referenced by:
|
||||
* '<S15>/Relay'
|
||||
* '<S53>/Relay'
|
||||
*/
|
||||
100,
|
||||
|
||||
/* Variable: n_commDeacvHi
|
||||
* Referenced by:
|
||||
* '<S15>/Relay'
|
||||
* '<S53>/Relay'
|
||||
*/
|
||||
180,
|
||||
|
||||
/* Variable: r_commDCDeacv
|
||||
* Referenced by:
|
||||
* '<S15>/r_commDCDeacv'
|
||||
* '<S53>/r_commDCDeacv'
|
||||
*/
|
||||
70,
|
||||
|
||||
/* Variable: r_phaAdvDC_XA
|
||||
* Referenced by:
|
||||
* '<S13>/r_phaAdvDC_XA'
|
||||
* '<S51>/r_phaAdvDC_XA'
|
||||
*/
|
||||
{ 0, 100, 200, 300, 400, 500, 600, 700, 800, 900, 1000 },
|
||||
|
||||
/* Variable: a_phaAdv_M1
|
||||
* Referenced by:
|
||||
* '<S13>/a_phaAdv_M2'
|
||||
* '<S51>/a_phaAdv_M2'
|
||||
*/
|
||||
{ 0, 0, 7, 2, 2, 2, 4, 5, 9, 16, 25 },
|
||||
|
||||
/* Variable: z_maxCntRst
|
||||
* Referenced by:
|
||||
* '<S23>/z_maxCntRst'
|
||||
* '<S23>/z_maxCntRst1'
|
||||
* '<S23>/z_maxCntRst2'
|
||||
* '<S23>/z_counter2'
|
||||
* '<S61>/z_maxCntRst'
|
||||
* '<S61>/z_maxCntRst1'
|
||||
* '<S61>/z_maxCntRst2'
|
||||
* '<S61>/z_counter2'
|
||||
* '<S28>/z_maxCntRst'
|
||||
* '<S66>/z_maxCntRst'
|
||||
*/
|
||||
2000,
|
||||
|
||||
/* Variable: z_ctrlTypSel
|
||||
* Referenced by:
|
||||
* '<S12>/z_ctrlTypSel1'
|
||||
* '<S50>/z_ctrlTypSel1'
|
||||
*/
|
||||
3U,
|
||||
|
||||
/* Variable: z_nrEdgeSpdAcv
|
||||
* Referenced by:
|
||||
* '<S23>/z_nrEdgeSpdAcv'
|
||||
* '<S61>/z_nrEdgeSpdAcv'
|
||||
*/
|
||||
3U,
|
||||
|
||||
/* Variable: b_phaAdvEna
|
||||
* Referenced by:
|
||||
* '<S13>/a_elecPeriod1'
|
||||
* '<S51>/a_elecPeriod1'
|
||||
*/
|
||||
1
|
||||
};
|
||||
|
||||
/* Constant parameters (auto storage) */
|
||||
const ConstP rtConstP = {
|
||||
/* Pooled Parameter (Expression: r_trapPhaA_M1)
|
||||
* Referenced by:
|
||||
* '<S41>/r_trapPhaA_M1'
|
||||
* '<S79>/r_trapPhaA_M1'
|
||||
/* Computed Parameter: r_trapPhaA_M1_Table
|
||||
* Referenced by: '<S18>/r_trapPhaA_M1'
|
||||
*/
|
||||
{ 1000, 1000, 1000, -1000, -1000, -1000, 1000 },
|
||||
|
||||
/* Pooled Parameter (Expression: r_trapPhaB_M1)
|
||||
* Referenced by:
|
||||
* '<S41>/r_trapPhaB_M1'
|
||||
* '<S79>/r_trapPhaB_M1'
|
||||
/* Computed Parameter: r_trapPhaB_M1_Table
|
||||
* Referenced by: '<S18>/r_trapPhaB_M1'
|
||||
*/
|
||||
{ -1000, -1000, 1000, 1000, 1000, -1000, -1000 },
|
||||
|
||||
/* Pooled Parameter (Expression: r_trapPhaC_M1)
|
||||
* Referenced by:
|
||||
* '<S41>/r_trapPhaC_M1'
|
||||
* '<S79>/r_trapPhaC_M1'
|
||||
/* Computed Parameter: r_trapPhaC_M1_Table
|
||||
* Referenced by: '<S18>/r_trapPhaC_M1'
|
||||
*/
|
||||
{ 1000, -1000, -1000, -1000, 1000, 1000, 1000 },
|
||||
|
||||
/* Pooled Parameter (Expression: r_sinPhaA_M1)
|
||||
* Referenced by:
|
||||
* '<S43>/r_sinPhaA_M1'
|
||||
* '<S81>/r_sinPhaA_M1'
|
||||
/* Computed Parameter: r_sinPhaA_M1_Table
|
||||
* Referenced by: '<S19>/r_sinPhaA_M1'
|
||||
*/
|
||||
{ 500, 643, 766, 866, 940, 985, 1000, 985, 940, 866, 766, 643, 500, 342, 174,
|
||||
0, -174, -342, -500, -643, -766, -866, -940, -985, -1000, -985, -940, -866,
|
||||
-766, -643, -500, -342, -174, 0, 174, 342, 500 },
|
||||
|
||||
/* Pooled Parameter (Expression: r_sinPhaB_M1)
|
||||
* Referenced by:
|
||||
* '<S43>/r_sinPhaB_M1'
|
||||
* '<S81>/r_sinPhaB_M1'
|
||||
/* Computed Parameter: r_sinPhaB_M1_Table
|
||||
* Referenced by: '<S19>/r_sinPhaB_M1'
|
||||
*/
|
||||
{ -1000, -985, -940, -866, -766, -643, -500, -342, -174, 0, 174, 342, 500, 643,
|
||||
766, 866, 940, 985, 1000, 985, 940, 866, 766, 643, 500, 342, 174, 0, -174,
|
||||
-342, -500, -643, -766, -866, -940, -985, -1000 },
|
||||
|
||||
/* Pooled Parameter (Expression: r_sinPhaC_M1)
|
||||
* Referenced by:
|
||||
* '<S43>/r_sinPhaC_M1'
|
||||
* '<S81>/r_sinPhaC_M1'
|
||||
/* Computed Parameter: r_sinPhaC_M1_Table
|
||||
* Referenced by: '<S19>/r_sinPhaC_M1'
|
||||
*/
|
||||
{ 500, 342, 174, 0, -174, -342, -500, -643, -766, -866, -940, -985, -1000,
|
||||
-985, -940, -866, -766, -643, -500, -342, -174, 0, 174, 342, 500, 643, 766,
|
||||
866, 940, 985, 1000, 985, 940, 866, 766, 643, 500 },
|
||||
|
||||
/* Pooled Parameter (Expression: r_sin3PhaA_M1)
|
||||
* Referenced by:
|
||||
* '<S42>/r_sin3PhaA_M1'
|
||||
* '<S80>/r_sin3PhaA_M1'
|
||||
/* Computed Parameter: r_sin3PhaA_M1_Table
|
||||
* Referenced by: '<S20>/r_sin3PhaA_M1'
|
||||
*/
|
||||
{ 795, 930, 991, 996, 971, 942, 930, 942, 971, 996, 991, 930, 795, 584, 310, 0,
|
||||
-310, -584, -795, -930, -991, -996, -971, -942, -930, -942, -971, -996, -991,
|
||||
-930, -795, -584, -310, 0, 310, 584, 795 },
|
||||
|
||||
/* Pooled Parameter (Expression: r_sin3PhaB_M1)
|
||||
* Referenced by:
|
||||
* '<S42>/r_sin3PhaB_M1'
|
||||
* '<S80>/r_sin3PhaB_M1'
|
||||
/* Computed Parameter: r_sin3PhaB_M1_Table
|
||||
* Referenced by: '<S20>/r_sin3PhaB_M1'
|
||||
*/
|
||||
{ -930, -942, -971, -996, -991, -930, -795, -584, -310, 0, 310, 584, 795, 930,
|
||||
991, 996, 971, 942, 930, 942, 971, 996, 991, 930, 795, 584, 310, 0, -310,
|
||||
-584, -795, -930, -991, -996, -971, -942, -930 },
|
||||
|
||||
/* Pooled Parameter (Expression: r_sin3PhaC_M1)
|
||||
* Referenced by:
|
||||
* '<S42>/r_sin3PhaC_M1'
|
||||
* '<S80>/r_sin3PhaC_M1'
|
||||
/* Computed Parameter: r_sin3PhaC_M1_Table
|
||||
* Referenced by: '<S20>/r_sin3PhaC_M1'
|
||||
*/
|
||||
{ 795, 584, 310, 0, -310, -584, -795, -930, -991, -996, -971, -942, -930, -942,
|
||||
-971, -996, -991, -930, -795, -584, -310, 0, 310, 584, 795, 930, 991, 996,
|
||||
971, 942, 930, 942, 971, 996, 991, 930, 795 },
|
||||
|
||||
/* Pooled Parameter (Expression: z_commutMap_M1)
|
||||
* Referenced by:
|
||||
* '<S15>/z_commutMap_M1'
|
||||
* '<S53>/z_commutMap_M1'
|
||||
/* Computed Parameter: z_commutMap_M1_table
|
||||
* Referenced by: '<S10>/z_commutMap_M1'
|
||||
*/
|
||||
{ 1000, -1000, 0, 1000, 0, -1000, 0, 1000, -1000, -1000, 1000, 0, -1000, 0,
|
||||
1000, 0, -1000, 1000 },
|
||||
|
||||
/* Pooled Parameter (Expression: vec_hallToPos)
|
||||
* Referenced by:
|
||||
* '<S21>/vec_hallToPos'
|
||||
* '<S59>/vec_hallToPos'
|
||||
/* Computed Parameter: vec_hallToPos_Value
|
||||
* Referenced by: '<S12>/vec_hallToPos'
|
||||
*/
|
||||
{ 0U, 5U, 3U, 4U, 1U, 0U, 2U, 0U },
|
||||
|
||||
/* Pooled Parameter (Expression: [0 1;1 0;0 1;0 1;1 0;1 0;0 0;0 0])
|
||||
* Referenced by:
|
||||
* '<S29>/Logic'
|
||||
* '<S67>/Logic'
|
||||
*/
|
||||
{ 0, 1, 0, 0, 1, 1, 0, 0, 1, 0, 1, 1, 0, 0, 0, 0 }
|
||||
{ 0, 5, 3, 4, 1, 0, 2, 0 }
|
||||
};
|
||||
|
||||
/*
|
||||
|
@ -5,7 +5,7 @@ HAVESTDIO
|
||||
TERMFCN=0
|
||||
ONESTEPFCN=1
|
||||
MAT_FILE=0
|
||||
MULTI_INSTANCE_CODE=0
|
||||
MULTI_INSTANCE_CODE=1
|
||||
INTEGER_CODE=0
|
||||
MT=0
|
||||
CLASSIC_INTERFACE=0
|
||||
|
@ -7,9 +7,9 @@
|
||||
*
|
||||
* Code generated for Simulink model 'BLDC_controller'.
|
||||
*
|
||||
* Model version : 1.817
|
||||
* Model version : 1.877
|
||||
* Simulink Coder version : 8.13 (R2017b) 24-Jul-2017
|
||||
* C/C++ source code generated on : Tue May 28 19:55:33 2019
|
||||
* C/C++ source code generated on : Wed Jun 5 22:29:28 2019
|
||||
*
|
||||
* Target selection: ert.tlc
|
||||
* Embedded hardware selection: ARM Compatible->ARM Cortex
|
||||
@ -25,7 +25,69 @@
|
||||
#include <stdio.h> /* This ert_main.c example uses printf/fflush */
|
||||
#include "BLDC_controller.h" /* Model's header file */
|
||||
#include "rtwtypes.h"
|
||||
#include "zero_crossing_types.h"
|
||||
|
||||
static RT_MODEL rtM_;
|
||||
static RT_MODEL *const rtMPtr = &rtM_; /* Real-time model */
|
||||
static P rtP = {
|
||||
/* Variable: cf_speedCoef
|
||||
* Referenced by: '<S16>/cf_spdCoef'
|
||||
*/
|
||||
11111,
|
||||
|
||||
/* Variable: cf_speedFilt
|
||||
* Referenced by: '<S16>/cf_speedFilt'
|
||||
*/
|
||||
10,
|
||||
|
||||
/* Variable: n_commAcvLo
|
||||
* Referenced by: '<S14>/n_commDeacv'
|
||||
*/
|
||||
15,
|
||||
|
||||
/* Variable: n_commDeacvHi
|
||||
* Referenced by: '<S14>/n_commDeacv'
|
||||
*/
|
||||
30,
|
||||
|
||||
/* Variable: r_commDCDeacv
|
||||
* Referenced by: '<S14>/r_commDCDeacv'
|
||||
*/
|
||||
70,
|
||||
|
||||
/* Variable: r_phaAdvDC_XA
|
||||
* Referenced by: '<S8>/r_phaAdvDC_XA'
|
||||
*/
|
||||
{ 0, 100, 200, 300, 400, 500, 600, 700, 800, 900, 1000 },
|
||||
|
||||
/* Variable: a_phaAdv_M1
|
||||
* Referenced by: '<S8>/a_phaAdv_M2'
|
||||
*/
|
||||
{ 0, 0, 0, 0, 0, 2, 3, 5, 9, 16, 25 },
|
||||
|
||||
/* Variable: dz_counterHi
|
||||
* Referenced by: '<S14>/dz_counter'
|
||||
*/
|
||||
50,
|
||||
|
||||
/* Variable: dz_counterLo
|
||||
* Referenced by: '<S14>/dz_counter'
|
||||
*/
|
||||
20,
|
||||
|
||||
/* Variable: z_ctrlTypSel
|
||||
* Referenced by: '<S7>/z_ctrlTypSel1'
|
||||
*/
|
||||
3U,
|
||||
|
||||
/* Variable: b_phaAdvEna
|
||||
* Referenced by: '<S8>/a_elecPeriod1'
|
||||
*/
|
||||
1
|
||||
}; /* Modifiable parameters */
|
||||
|
||||
static DW rtDW; /* Observable states */
|
||||
static ExtU rtU; /* External inputs */
|
||||
static ExtY rtY; /* External outputs */
|
||||
|
||||
/*
|
||||
* Associating rt_OneStep with a real-time clock or interrupt service routine
|
||||
@ -38,8 +100,8 @@
|
||||
* your application needs. This example simply sets an error status in the
|
||||
* real-time model and returns from rt_OneStep.
|
||||
*/
|
||||
void rt_OneStep(void);
|
||||
void rt_OneStep(void)
|
||||
void rt_OneStep(RT_MODEL *const rtM);
|
||||
void rt_OneStep(RT_MODEL *const rtM)
|
||||
{
|
||||
static boolean_T OverrunFlag = false;
|
||||
|
||||
@ -57,7 +119,7 @@ void rt_OneStep(void)
|
||||
/* Set model inputs here */
|
||||
|
||||
/* Step the model */
|
||||
BLDC_controller_step();
|
||||
BLDC_controller_step(rtM);
|
||||
|
||||
/* Get model outputs here */
|
||||
|
||||
@ -77,18 +139,26 @@ void rt_OneStep(void)
|
||||
*/
|
||||
int_T main(int_T argc, const char *argv[])
|
||||
{
|
||||
RT_MODEL *const rtM = rtMPtr;
|
||||
|
||||
/* Unused arguments */
|
||||
(void)(argc);
|
||||
(void)(argv);
|
||||
|
||||
/* Pack model data into RTM */
|
||||
rtM->defaultParam = &rtP;
|
||||
rtM->dwork = &rtDW;
|
||||
rtM->inputs = &rtU;
|
||||
rtM->outputs = &rtY;
|
||||
|
||||
/* Initialize model */
|
||||
BLDC_controller_initialize();
|
||||
BLDC_controller_initialize(rtM);
|
||||
|
||||
/* Attach rt_OneStep to a timer or interrupt service routine with
|
||||
* period 1.0E-5 seconds (the model's base sample time) here. The
|
||||
* period 6.0E-5 seconds (the model's base sample time) here. The
|
||||
* call syntax for rt_OneStep is
|
||||
*
|
||||
* rt_OneStep();
|
||||
* rt_OneStep(rtM);
|
||||
*/
|
||||
printf("Warning: The simulation will run forever. "
|
||||
"Generated ERT main won't simulate model step behavior. "
|
||||
|
@ -256,10 +256,10 @@ BLDC_controller_data.c
|
||||
<table cellspacing="0" cellpadding="1" width="100%" bgcolor="#ffffff" id="Utility files" border="0">
|
||||
<tr>
|
||||
<td width="0%" align="left" valign="top">
|
||||
<span style="background-color:#ffffff;width:100%;cursor:pointer;white-space:nowrap" title="Click to shrink or expand category" onclick="rtwFileListShrink(this,'Utility files','2')"><span style="font-family:monospace" id = "Utility files_button">[+]</span></span>
|
||||
<span style="background-color:#ffffff;width:100%;cursor:pointer;white-space:nowrap" title="Click to shrink or expand category" onclick="rtwFileListShrink(this,'Utility files','1')"><span style="font-family:monospace" id = "Utility files_button">[+]</span></span>
|
||||
</td>
|
||||
<td width="100%" align="left" valign="top">
|
||||
<span id="Utility files_name"><b>Utility files (2)</b></span>
|
||||
<span id="Utility files_name"><b>Utility files (1)</b></span>
|
||||
</td>
|
||||
|
||||
</tr>
|
||||
@ -277,15 +277,6 @@ rtwtypes.h
|
||||
<span> </span>
|
||||
</td>
|
||||
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="left" valign="top">
|
||||
<A HREF="zero_crossing_types_h.html" TARGET="rtwreport_document_frame" ONCLICK="if (top) if (top.tocHiliteMe) top.tocHiliteMe(window, this, false);" ID="zero_crossing_types_h.html" NAME="rtwIdGenFileLinks">
|
||||
zero_crossing_types.h
|
||||
</A>
|
||||
<span> </span>
|
||||
</td>
|
||||
|
||||
</tr>
|
||||
|
||||
</table>
|
||||
|
@ -21,9 +21,9 @@
|
||||
</span><span><a class="LN" name="7"> 7 </a><span class="CT"> *</span>
|
||||
</span><span><a class="LN" name="8"> 8 </a><span class="CT"> * Code generated for Simulink model 'BLDC_controller'.</span>
|
||||
</span><span><a class="LN" name="9"> 9 </a><span class="CT"> *</span>
|
||||
</span><span><a class="LN" name="10"> 10 </a><span class="CT"> * Model version : 1.817</span>
|
||||
</span><span><a class="LN" name="10"> 10 </a><span class="CT"> * Model version : 1.877</span>
|
||||
</span><span><a class="LN" name="11"> 11 </a><span class="CT"> * Simulink Coder version : 8.13 (R2017b) 24-Jul-2017</span>
|
||||
</span><span><a class="LN" name="12"> 12 </a><span class="CT"> * C/C++ source code generated on : Tue May 28 19:55:33 2019</span>
|
||||
</span><span><a class="LN" name="12"> 12 </a><span class="CT"> * C/C++ source code generated on : Wed Jun 5 22:29:28 2019</span>
|
||||
</span><span><a class="LN" name="13"> 13 </a><span class="CT"> *</span>
|
||||
</span><span><a class="LN" name="14"> 14 </a><span class="CT"> * Target selection: ert.tlc</span>
|
||||
</span><span><a class="LN" name="15"> 15 </a><span class="CT"> * Embedded hardware selection: ARM Compatible->ARM Cortex</span>
|
||||
@ -37,193 +37,83 @@
|
||||
</span><span><a class="LN" name="23"> 23 </a>
|
||||
</span><span><a class="LN" name="24"> 24 </a><font color="#992211">#</font><span class="PP">include</span> <font color="#992211">"BLDC_controller.h"</font>
|
||||
</span><span><a class="LN" name="25"> 25 </a>
|
||||
</span><span><a class="LN" name="26"> 26 </a><span class="CT">/* Block parameters (auto storage) */</span>
|
||||
</span><span><a class="LN" name="27"> 27 </a><a href="BLDC_controller_h.html#type_P" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'type_P');" target="_self"><font color="#1122aa">P</font></a> <a name="var_rtP">rtP</a> = <b>{</b>
|
||||
</span><span><a class="LN" name="28"> 28 </a> <span class="CT">/* Variable: cf_speedCoef</span>
|
||||
</span><span><a class="LN" name="29"> 29 </a><span class="CT"> * Referenced by:</span>
|
||||
</span><span><a class="LN" name="30"> 30 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2530:132')" name="code2model"><font color="#117755"><i><S28>/cf_spdCoef</i></font></a>'</span>
|
||||
</span><span><a class="LN" name="31"> 31 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2531:132')" name="code2model"><font color="#117755"><i><S66>/cf_spdCoef</i></font></a>'</span>
|
||||
</span><span><a class="LN" name="32"> 32 </a><span class="CT"> */</span>
|
||||
</span><span><a class="LN" name="33"> 33 </a> 66667,
|
||||
</span><span><a class="LN" name="34"> 34 </a>
|
||||
</span><span><a class="LN" name="35"> 35 </a> <span class="CT">/* Variable: n_commAcvLo</span>
|
||||
</span><span><a class="LN" name="36"> 36 </a><span class="CT"> * Referenced by:</span>
|
||||
</span><span><a class="LN" name="37"> 37 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2530:400')" name="code2model"><font color="#117755"><i><S15>/Relay</i></font></a>'</span>
|
||||
</span><span><a class="LN" name="38"> 38 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2531:400')" name="code2model"><font color="#117755"><i><S53>/Relay</i></font></a>'</span>
|
||||
</span><span><a class="LN" name="39"> 39 </a><span class="CT"> */</span>
|
||||
</span><span><a class="LN" name="40"> 40 </a> 100,
|
||||
</span><span><a class="LN" name="41"> 41 </a>
|
||||
</span><span><a class="LN" name="42"> 42 </a> <span class="CT">/* Variable: n_commDeacvHi</span>
|
||||
</span><span><a class="LN" name="43"> 43 </a><span class="CT"> * Referenced by:</span>
|
||||
</span><span><a class="LN" name="44"> 44 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2530:400')" name="code2model"><font color="#117755"><i><S15>/Relay</i></font></a>'</span>
|
||||
</span><span><a class="LN" name="45"> 45 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2531:400')" name="code2model"><font color="#117755"><i><S53>/Relay</i></font></a>'</span>
|
||||
</span><span><a class="LN" name="46"> 46 </a><span class="CT"> */</span>
|
||||
</span><span><a class="LN" name="47"> 47 </a> 180,
|
||||
</span><span><a class="LN" name="48"> 48 </a>
|
||||
</span><span><a class="LN" name="49"> 49 </a> <span class="CT">/* Variable: r_commDCDeacv</span>
|
||||
</span><span><a class="LN" name="50"> 50 </a><span class="CT"> * Referenced by:</span>
|
||||
</span><span><a class="LN" name="51"> 51 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2530:593')" name="code2model"><font color="#117755"><i><S15>/r_commDCDeacv</i></font></a>'</span>
|
||||
</span><span><a class="LN" name="52"> 52 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2531:593')" name="code2model"><font color="#117755"><i><S53>/r_commDCDeacv</i></font></a>'</span>
|
||||
</span><span><a class="LN" name="53"> 53 </a><span class="CT"> */</span>
|
||||
</span><span><a class="LN" name="54"> 54 </a> 70,
|
||||
</span><span><a class="LN" name="55"> 55 </a>
|
||||
</span><span><a class="LN" name="56"> 56 </a> <span class="CT">/* Variable: r_phaAdvDC_XA</span>
|
||||
</span><span><a class="LN" name="57"> 57 </a><span class="CT"> * Referenced by:</span>
|
||||
</span><span><a class="LN" name="58"> 58 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2530:522')" name="code2model"><font color="#117755"><i><S13>/r_phaAdvDC_XA</i></font></a>'</span>
|
||||
</span><span><a class="LN" name="59"> 59 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2531:522')" name="code2model"><font color="#117755"><i><S51>/r_phaAdvDC_XA</i></font></a>'</span>
|
||||
</span><span><a class="LN" name="60"> 60 </a><span class="CT"> */</span>
|
||||
</span><span><a class="LN" name="61"> 61 </a> <b>{</b> 0, 100, 200, 300, 400, 500, 600, 700, 800, 900, 1000 <b>}</b>,
|
||||
</span><span><a class="LN" name="62"> 62 </a>
|
||||
</span><span><a class="LN" name="63"> 63 </a> <span class="CT">/* Variable: a_phaAdv_M1</span>
|
||||
</span><span><a class="LN" name="64"> 64 </a><span class="CT"> * Referenced by:</span>
|
||||
</span><span><a class="LN" name="65"> 65 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2530:521')" name="code2model"><font color="#117755"><i><S13>/a_phaAdv_M2</i></font></a>'</span>
|
||||
</span><span><a class="LN" name="66"> 66 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2531:521')" name="code2model"><font color="#117755"><i><S51>/a_phaAdv_M2</i></font></a>'</span>
|
||||
</span><span><a class="LN" name="67"> 67 </a><span class="CT"> */</span>
|
||||
</span><span><a class="LN" name="68"> 68 </a> <b>{</b> 0, 0, 7, 2, 2, 2, 4, 5, 9, 16, 25 <b>}</b>,
|
||||
</span><span><a class="LN" name="69"> 69 </a>
|
||||
</span><span><a class="LN" name="70"> 70 </a> <span class="CT">/* Variable: z_maxCntRst</span>
|
||||
</span><span><a class="LN" name="71"> 71 </a><span class="CT"> * Referenced by:</span>
|
||||
</span><span><a class="LN" name="72"> 72 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2530:171')" name="code2model"><font color="#117755"><i><S23>/z_maxCntRst</i></font></a>'</span>
|
||||
</span><span><a class="LN" name="73"> 73 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2530:726')" name="code2model"><font color="#117755"><i><S23>/z_maxCntRst1</i></font></a>'</span>
|
||||
</span><span><a class="LN" name="74"> 74 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2530:721')" name="code2model"><font color="#117755"><i><S23>/z_maxCntRst2</i></font></a>'</span>
|
||||
</span><span><a class="LN" name="75"> 75 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2530:169')" name="code2model"><font color="#117755"><i><S23>/z_counter2</i></font></a>'</span>
|
||||
</span><span><a class="LN" name="76"> 76 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2531:171')" name="code2model"><font color="#117755"><i><S61>/z_maxCntRst</i></font></a>'</span>
|
||||
</span><span><a class="LN" name="77"> 77 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2531:726')" name="code2model"><font color="#117755"><i><S61>/z_maxCntRst1</i></font></a>'</span>
|
||||
</span><span><a class="LN" name="78"> 78 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2531:721')" name="code2model"><font color="#117755"><i><S61>/z_maxCntRst2</i></font></a>'</span>
|
||||
</span><span><a class="LN" name="79"> 79 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2531:169')" name="code2model"><font color="#117755"><i><S61>/z_counter2</i></font></a>'</span>
|
||||
</span><span><a class="LN" name="80"> 80 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2530:133')" name="code2model"><font color="#117755"><i><S28>/z_maxCntRst</i></font></a>'</span>
|
||||
</span><span><a class="LN" name="81"> 81 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2531:133')" name="code2model"><font color="#117755"><i><S66>/z_maxCntRst</i></font></a>'</span>
|
||||
</span><span><a class="LN" name="82"> 82 </a><span class="CT"> */</span>
|
||||
</span><span><a class="LN" name="83"> 83 </a> 2000,
|
||||
</span><span><a class="LN" name="26"> 26 </a><span class="CT">/* Constant parameters (auto storage) */</span>
|
||||
</span><span><a class="LN" name="27"> 27 </a><span class="DT">const</span> <a href="BLDC_controller_h.html#type_ConstP" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'type_ConstP');" target="_self"><font color="#1122aa">ConstP</font></a> <a name="var_rtConstP">rtConstP</a> = <b>{</b>
|
||||
</span><span><a class="LN" name="28"> 28 </a> <span class="CT">/* Computed Parameter: r_trapPhaA_M1_Table</span>
|
||||
</span><span><a class="LN" name="29"> 29 </a><span class="CT"> * Referenced by: '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2687:289')" name="code2model"><font color="#117755"><i><S18>/r_trapPhaA_M1</i></font></a>'</span>
|
||||
</span><span><a class="LN" name="30"> 30 </a><span class="CT"> */</span>
|
||||
</span><span><a class="LN" name="31"> 31 </a> <b>{</b> 1000, 1000, 1000, -1000, -1000, -1000, 1000 <b>}</b>,
|
||||
</span><span><a class="LN" name="32"> 32 </a>
|
||||
</span><span><a class="LN" name="33"> 33 </a> <span class="CT">/* Computed Parameter: r_trapPhaB_M1_Table</span>
|
||||
</span><span><a class="LN" name="34"> 34 </a><span class="CT"> * Referenced by: '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2687:290')" name="code2model"><font color="#117755"><i><S18>/r_trapPhaB_M1</i></font></a>'</span>
|
||||
</span><span><a class="LN" name="35"> 35 </a><span class="CT"> */</span>
|
||||
</span><span><a class="LN" name="36"> 36 </a> <b>{</b> -1000, -1000, 1000, 1000, 1000, -1000, -1000 <b>}</b>,
|
||||
</span><span><a class="LN" name="37"> 37 </a>
|
||||
</span><span><a class="LN" name="38"> 38 </a> <span class="CT">/* Computed Parameter: r_trapPhaC_M1_Table</span>
|
||||
</span><span><a class="LN" name="39"> 39 </a><span class="CT"> * Referenced by: '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2687:291')" name="code2model"><font color="#117755"><i><S18>/r_trapPhaC_M1</i></font></a>'</span>
|
||||
</span><span><a class="LN" name="40"> 40 </a><span class="CT"> */</span>
|
||||
</span><span><a class="LN" name="41"> 41 </a> <b>{</b> 1000, -1000, -1000, -1000, 1000, 1000, 1000 <b>}</b>,
|
||||
</span><span><a class="LN" name="42"> 42 </a>
|
||||
</span><span><a class="LN" name="43"> 43 </a> <span class="CT">/* Computed Parameter: r_sinPhaA_M1_Table</span>
|
||||
</span><span><a class="LN" name="44"> 44 </a><span class="CT"> * Referenced by: '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2687:309')" name="code2model"><font color="#117755"><i><S19>/r_sinPhaA_M1</i></font></a>'</span>
|
||||
</span><span><a class="LN" name="45"> 45 </a><span class="CT"> */</span>
|
||||
</span><span><a class="LN" name="46"> 46 </a> <b>{</b> 500, 643, 766, 866, 940, 985, 1000, 985, 940, 866, 766, 643, 500, 342, 174,
|
||||
</span><span><a class="LN" name="47"> 47 </a> 0, -174, -342, -500, -643, -766, -866, -940, -985, -1000, -985, -940, -866,
|
||||
</span><span><a class="LN" name="48"> 48 </a> -766, -643, -500, -342, -174, 0, 174, 342, 500 <b>}</b>,
|
||||
</span><span><a class="LN" name="49"> 49 </a>
|
||||
</span><span><a class="LN" name="50"> 50 </a> <span class="CT">/* Computed Parameter: r_sinPhaB_M1_Table</span>
|
||||
</span><span><a class="LN" name="51"> 51 </a><span class="CT"> * Referenced by: '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2687:310')" name="code2model"><font color="#117755"><i><S19>/r_sinPhaB_M1</i></font></a>'</span>
|
||||
</span><span><a class="LN" name="52"> 52 </a><span class="CT"> */</span>
|
||||
</span><span><a class="LN" name="53"> 53 </a> <b>{</b> -1000, -985, -940, -866, -766, -643, -500, -342, -174, 0, 174, 342, 500, 643,
|
||||
</span><span><a class="LN" name="54"> 54 </a> 766, 866, 940, 985, 1000, 985, 940, 866, 766, 643, 500, 342, 174, 0, -174,
|
||||
</span><span><a class="LN" name="55"> 55 </a> -342, -500, -643, -766, -866, -940, -985, -1000 <b>}</b>,
|
||||
</span><span><a class="LN" name="56"> 56 </a>
|
||||
</span><span><a class="LN" name="57"> 57 </a> <span class="CT">/* Computed Parameter: r_sinPhaC_M1_Table</span>
|
||||
</span><span><a class="LN" name="58"> 58 </a><span class="CT"> * Referenced by: '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2687:311')" name="code2model"><font color="#117755"><i><S19>/r_sinPhaC_M1</i></font></a>'</span>
|
||||
</span><span><a class="LN" name="59"> 59 </a><span class="CT"> */</span>
|
||||
</span><span><a class="LN" name="60"> 60 </a> <b>{</b> 500, 342, 174, 0, -174, -342, -500, -643, -766, -866, -940, -985, -1000,
|
||||
</span><span><a class="LN" name="61"> 61 </a> -985, -940, -866, -766, -643, -500, -342, -174, 0, 174, 342, 500, 643, 766,
|
||||
</span><span><a class="LN" name="62"> 62 </a> 866, 940, 985, 1000, 985, 940, 866, 766, 643, 500 <b>}</b>,
|
||||
</span><span><a class="LN" name="63"> 63 </a>
|
||||
</span><span><a class="LN" name="64"> 64 </a> <span class="CT">/* Computed Parameter: r_sin3PhaA_M1_Table</span>
|
||||
</span><span><a class="LN" name="65"> 65 </a><span class="CT"> * Referenced by: '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2687:299')" name="code2model"><font color="#117755"><i><S20>/r_sin3PhaA_M1</i></font></a>'</span>
|
||||
</span><span><a class="LN" name="66"> 66 </a><span class="CT"> */</span>
|
||||
</span><span><a class="LN" name="67"> 67 </a> <b>{</b> 795, 930, 991, 996, 971, 942, 930, 942, 971, 996, 991, 930, 795, 584, 310, 0,
|
||||
</span><span><a class="LN" name="68"> 68 </a> -310, -584, -795, -930, -991, -996, -971, -942, -930, -942, -971, -996, -991,
|
||||
</span><span><a class="LN" name="69"> 69 </a> -930, -795, -584, -310, 0, 310, 584, 795 <b>}</b>,
|
||||
</span><span><a class="LN" name="70"> 70 </a>
|
||||
</span><span><a class="LN" name="71"> 71 </a> <span class="CT">/* Computed Parameter: r_sin3PhaB_M1_Table</span>
|
||||
</span><span><a class="LN" name="72"> 72 </a><span class="CT"> * Referenced by: '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2687:300')" name="code2model"><font color="#117755"><i><S20>/r_sin3PhaB_M1</i></font></a>'</span>
|
||||
</span><span><a class="LN" name="73"> 73 </a><span class="CT"> */</span>
|
||||
</span><span><a class="LN" name="74"> 74 </a> <b>{</b> -930, -942, -971, -996, -991, -930, -795, -584, -310, 0, 310, 584, 795, 930,
|
||||
</span><span><a class="LN" name="75"> 75 </a> 991, 996, 971, 942, 930, 942, 971, 996, 991, 930, 795, 584, 310, 0, -310,
|
||||
</span><span><a class="LN" name="76"> 76 </a> -584, -795, -930, -991, -996, -971, -942, -930 <b>}</b>,
|
||||
</span><span><a class="LN" name="77"> 77 </a>
|
||||
</span><span><a class="LN" name="78"> 78 </a> <span class="CT">/* Computed Parameter: r_sin3PhaC_M1_Table</span>
|
||||
</span><span><a class="LN" name="79"> 79 </a><span class="CT"> * Referenced by: '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2687:301')" name="code2model"><font color="#117755"><i><S20>/r_sin3PhaC_M1</i></font></a>'</span>
|
||||
</span><span><a class="LN" name="80"> 80 </a><span class="CT"> */</span>
|
||||
</span><span><a class="LN" name="81"> 81 </a> <b>{</b> 795, 584, 310, 0, -310, -584, -795, -930, -991, -996, -971, -942, -930, -942,
|
||||
</span><span><a class="LN" name="82"> 82 </a> -971, -996, -991, -930, -795, -584, -310, 0, 310, 584, 795, 930, 991, 996,
|
||||
</span><span><a class="LN" name="83"> 83 </a> 971, 942, 930, 942, 971, 996, 991, 930, 795 <b>}</b>,
|
||||
</span><span><a class="LN" name="84"> 84 </a>
|
||||
</span><span><a class="LN" name="85"> 85 </a> <span class="CT">/* Variable: z_ctrlTypSel</span>
|
||||
</span><span><a class="LN" name="86"> 86 </a><span class="CT"> * Referenced by:</span>
|
||||
</span><span><a class="LN" name="87"> 87 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2530:208')" name="code2model"><font color="#117755"><i><S12>/z_ctrlTypSel1</i></font></a>'</span>
|
||||
</span><span><a class="LN" name="88"> 88 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2531:208')" name="code2model"><font color="#117755"><i><S50>/z_ctrlTypSel1</i></font></a>'</span>
|
||||
</span><span><a class="LN" name="89"> 89 </a><span class="CT"> */</span>
|
||||
</span><span><a class="LN" name="90"> 90 </a> 3U,
|
||||
</span><span><a class="LN" name="91"> 91 </a>
|
||||
</span><span><a class="LN" name="92"> 92 </a> <span class="CT">/* Variable: z_nrEdgeSpdAcv</span>
|
||||
</span><span><a class="LN" name="93"> 93 </a><span class="CT"> * Referenced by:</span>
|
||||
</span><span><a class="LN" name="94"> 94 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2530:172')" name="code2model"><font color="#117755"><i><S23>/z_nrEdgeSpdAcv</i></font></a>'</span>
|
||||
</span><span><a class="LN" name="95"> 95 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2531:172')" name="code2model"><font color="#117755"><i><S61>/z_nrEdgeSpdAcv</i></font></a>'</span>
|
||||
</span><span><a class="LN" name="96"> 96 </a><span class="CT"> */</span>
|
||||
</span><span><a class="LN" name="97"> 97 </a> 3U,
|
||||
</span><span><a class="LN" name="98"> 98 </a>
|
||||
</span><span><a class="LN" name="99"> 99 </a> <span class="CT">/* Variable: b_phaAdvEna</span>
|
||||
</span><span><a class="LN" name="100"> 100 </a><span class="CT"> * Referenced by:</span>
|
||||
</span><span><a class="LN" name="101"> 101 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2530:512')" name="code2model"><font color="#117755"><i><S13>/a_elecPeriod1</i></font></a>'</span>
|
||||
</span><span><a class="LN" name="102"> 102 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2531:512')" name="code2model"><font color="#117755"><i><S51>/a_elecPeriod1</i></font></a>'</span>
|
||||
</span><span><a class="LN" name="103"> 103 </a><span class="CT"> */</span>
|
||||
</span><span><a class="LN" name="104"> 104 </a> 1
|
||||
</span><span><a class="LN" name="105"> 105 </a><b>}</b>;
|
||||
</span><span><a class="LN" name="106"> 106 </a>
|
||||
</span><span><a class="LN" name="107"> 107 </a><span class="CT">/* Constant parameters (auto storage) */</span>
|
||||
</span><span><a class="LN" name="108"> 108 </a><span class="DT">const</span> <a href="BLDC_controller_h.html#type_ConstP" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'type_ConstP');" target="_self"><font color="#1122aa">ConstP</font></a> <a name="var_rtConstP">rtConstP</a> = <b>{</b>
|
||||
</span><span><a class="LN" name="109"> 109 </a> <span class="CT">/* Pooled Parameter (Expression: r_trapPhaA_M1)</span>
|
||||
</span><span><a class="LN" name="110"> 110 </a><span class="CT"> * Referenced by:</span>
|
||||
</span><span><a class="LN" name="111"> 111 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2530:289')" name="code2model"><font color="#117755"><i><S41>/r_trapPhaA_M1</i></font></a>'</span>
|
||||
</span><span><a class="LN" name="112"> 112 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2531:289')" name="code2model"><font color="#117755"><i><S79>/r_trapPhaA_M1</i></font></a>'</span>
|
||||
</span><span><a class="LN" name="113"> 113 </a><span class="CT"> */</span>
|
||||
</span><span><a class="LN" name="114"> 114 </a> <b>{</b> 1000, 1000, 1000, -1000, -1000, -1000, 1000 <b>}</b>,
|
||||
</span><span><a class="LN" name="115"> 115 </a>
|
||||
</span><span><a class="LN" name="116"> 116 </a> <span class="CT">/* Pooled Parameter (Expression: r_trapPhaB_M1)</span>
|
||||
</span><span><a class="LN" name="117"> 117 </a><span class="CT"> * Referenced by:</span>
|
||||
</span><span><a class="LN" name="118"> 118 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2530:290')" name="code2model"><font color="#117755"><i><S41>/r_trapPhaB_M1</i></font></a>'</span>
|
||||
</span><span><a class="LN" name="119"> 119 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2531:290')" name="code2model"><font color="#117755"><i><S79>/r_trapPhaB_M1</i></font></a>'</span>
|
||||
</span><span><a class="LN" name="120"> 120 </a><span class="CT"> */</span>
|
||||
</span><span><a class="LN" name="121"> 121 </a> <b>{</b> -1000, -1000, 1000, 1000, 1000, -1000, -1000 <b>}</b>,
|
||||
</span><span><a class="LN" name="122"> 122 </a>
|
||||
</span><span><a class="LN" name="123"> 123 </a> <span class="CT">/* Pooled Parameter (Expression: r_trapPhaC_M1)</span>
|
||||
</span><span><a class="LN" name="124"> 124 </a><span class="CT"> * Referenced by:</span>
|
||||
</span><span><a class="LN" name="125"> 125 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2530:291')" name="code2model"><font color="#117755"><i><S41>/r_trapPhaC_M1</i></font></a>'</span>
|
||||
</span><span><a class="LN" name="126"> 126 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2531:291')" name="code2model"><font color="#117755"><i><S79>/r_trapPhaC_M1</i></font></a>'</span>
|
||||
</span><span><a class="LN" name="127"> 127 </a><span class="CT"> */</span>
|
||||
</span><span><a class="LN" name="128"> 128 </a> <b>{</b> 1000, -1000, -1000, -1000, 1000, 1000, 1000 <b>}</b>,
|
||||
</span><span><a class="LN" name="129"> 129 </a>
|
||||
</span><span><a class="LN" name="130"> 130 </a> <span class="CT">/* Pooled Parameter (Expression: r_sinPhaA_M1)</span>
|
||||
</span><span><a class="LN" name="131"> 131 </a><span class="CT"> * Referenced by:</span>
|
||||
</span><span><a class="LN" name="132"> 132 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2530:309')" name="code2model"><font color="#117755"><i><S43>/r_sinPhaA_M1</i></font></a>'</span>
|
||||
</span><span><a class="LN" name="133"> 133 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2531:309')" name="code2model"><font color="#117755"><i><S81>/r_sinPhaA_M1</i></font></a>'</span>
|
||||
</span><span><a class="LN" name="134"> 134 </a><span class="CT"> */</span>
|
||||
</span><span><a class="LN" name="135"> 135 </a> <b>{</b> 500, 643, 766, 866, 940, 985, 1000, 985, 940, 866, 766, 643, 500, 342, 174,
|
||||
</span><span><a class="LN" name="136"> 136 </a> 0, -174, -342, -500, -643, -766, -866, -940, -985, -1000, -985, -940, -866,
|
||||
</span><span><a class="LN" name="137"> 137 </a> -766, -643, -500, -342, -174, 0, 174, 342, 500 <b>}</b>,
|
||||
</span><span><a class="LN" name="138"> 138 </a>
|
||||
</span><span><a class="LN" name="139"> 139 </a> <span class="CT">/* Pooled Parameter (Expression: r_sinPhaB_M1)</span>
|
||||
</span><span><a class="LN" name="140"> 140 </a><span class="CT"> * Referenced by:</span>
|
||||
</span><span><a class="LN" name="141"> 141 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2530:310')" name="code2model"><font color="#117755"><i><S43>/r_sinPhaB_M1</i></font></a>'</span>
|
||||
</span><span><a class="LN" name="142"> 142 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2531:310')" name="code2model"><font color="#117755"><i><S81>/r_sinPhaB_M1</i></font></a>'</span>
|
||||
</span><span><a class="LN" name="143"> 143 </a><span class="CT"> */</span>
|
||||
</span><span><a class="LN" name="144"> 144 </a> <b>{</b> -1000, -985, -940, -866, -766, -643, -500, -342, -174, 0, 174, 342, 500, 643,
|
||||
</span><span><a class="LN" name="145"> 145 </a> 766, 866, 940, 985, 1000, 985, 940, 866, 766, 643, 500, 342, 174, 0, -174,
|
||||
</span><span><a class="LN" name="146"> 146 </a> -342, -500, -643, -766, -866, -940, -985, -1000 <b>}</b>,
|
||||
</span><span><a class="LN" name="147"> 147 </a>
|
||||
</span><span><a class="LN" name="148"> 148 </a> <span class="CT">/* Pooled Parameter (Expression: r_sinPhaC_M1)</span>
|
||||
</span><span><a class="LN" name="149"> 149 </a><span class="CT"> * Referenced by:</span>
|
||||
</span><span><a class="LN" name="150"> 150 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2530:311')" name="code2model"><font color="#117755"><i><S43>/r_sinPhaC_M1</i></font></a>'</span>
|
||||
</span><span><a class="LN" name="151"> 151 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2531:311')" name="code2model"><font color="#117755"><i><S81>/r_sinPhaC_M1</i></font></a>'</span>
|
||||
</span><span><a class="LN" name="152"> 152 </a><span class="CT"> */</span>
|
||||
</span><span><a class="LN" name="153"> 153 </a> <b>{</b> 500, 342, 174, 0, -174, -342, -500, -643, -766, -866, -940, -985, -1000,
|
||||
</span><span><a class="LN" name="154"> 154 </a> -985, -940, -866, -766, -643, -500, -342, -174, 0, 174, 342, 500, 643, 766,
|
||||
</span><span><a class="LN" name="155"> 155 </a> 866, 940, 985, 1000, 985, 940, 866, 766, 643, 500 <b>}</b>,
|
||||
</span><span><a class="LN" name="156"> 156 </a>
|
||||
</span><span><a class="LN" name="157"> 157 </a> <span class="CT">/* Pooled Parameter (Expression: r_sin3PhaA_M1)</span>
|
||||
</span><span><a class="LN" name="158"> 158 </a><span class="CT"> * Referenced by:</span>
|
||||
</span><span><a class="LN" name="159"> 159 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2530:299')" name="code2model"><font color="#117755"><i><S42>/r_sin3PhaA_M1</i></font></a>'</span>
|
||||
</span><span><a class="LN" name="160"> 160 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2531:299')" name="code2model"><font color="#117755"><i><S80>/r_sin3PhaA_M1</i></font></a>'</span>
|
||||
</span><span><a class="LN" name="161"> 161 </a><span class="CT"> */</span>
|
||||
</span><span><a class="LN" name="162"> 162 </a> <b>{</b> 795, 930, 991, 996, 971, 942, 930, 942, 971, 996, 991, 930, 795, 584, 310, 0,
|
||||
</span><span><a class="LN" name="163"> 163 </a> -310, -584, -795, -930, -991, -996, -971, -942, -930, -942, -971, -996, -991,
|
||||
</span><span><a class="LN" name="164"> 164 </a> -930, -795, -584, -310, 0, 310, 584, 795 <b>}</b>,
|
||||
</span><span><a class="LN" name="165"> 165 </a>
|
||||
</span><span><a class="LN" name="166"> 166 </a> <span class="CT">/* Pooled Parameter (Expression: r_sin3PhaB_M1)</span>
|
||||
</span><span><a class="LN" name="167"> 167 </a><span class="CT"> * Referenced by:</span>
|
||||
</span><span><a class="LN" name="168"> 168 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2530:300')" name="code2model"><font color="#117755"><i><S42>/r_sin3PhaB_M1</i></font></a>'</span>
|
||||
</span><span><a class="LN" name="169"> 169 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2531:300')" name="code2model"><font color="#117755"><i><S80>/r_sin3PhaB_M1</i></font></a>'</span>
|
||||
</span><span><a class="LN" name="170"> 170 </a><span class="CT"> */</span>
|
||||
</span><span><a class="LN" name="171"> 171 </a> <b>{</b> -930, -942, -971, -996, -991, -930, -795, -584, -310, 0, 310, 584, 795, 930,
|
||||
</span><span><a class="LN" name="172"> 172 </a> 991, 996, 971, 942, 930, 942, 971, 996, 991, 930, 795, 584, 310, 0, -310,
|
||||
</span><span><a class="LN" name="173"> 173 </a> -584, -795, -930, -991, -996, -971, -942, -930 <b>}</b>,
|
||||
</span><span><a class="LN" name="174"> 174 </a>
|
||||
</span><span><a class="LN" name="175"> 175 </a> <span class="CT">/* Pooled Parameter (Expression: r_sin3PhaC_M1)</span>
|
||||
</span><span><a class="LN" name="176"> 176 </a><span class="CT"> * Referenced by:</span>
|
||||
</span><span><a class="LN" name="177"> 177 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2530:301')" name="code2model"><font color="#117755"><i><S42>/r_sin3PhaC_M1</i></font></a>'</span>
|
||||
</span><span><a class="LN" name="178"> 178 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2531:301')" name="code2model"><font color="#117755"><i><S80>/r_sin3PhaC_M1</i></font></a>'</span>
|
||||
</span><span><a class="LN" name="179"> 179 </a><span class="CT"> */</span>
|
||||
</span><span><a class="LN" name="180"> 180 </a> <b>{</b> 795, 584, 310, 0, -310, -584, -795, -930, -991, -996, -971, -942, -930, -942,
|
||||
</span><span><a class="LN" name="181"> 181 </a> -971, -996, -991, -930, -795, -584, -310, 0, 310, 584, 795, 930, 991, 996,
|
||||
</span><span><a class="LN" name="182"> 182 </a> 971, 942, 930, 942, 971, 996, 991, 930, 795 <b>}</b>,
|
||||
</span><span><a class="LN" name="183"> 183 </a>
|
||||
</span><span><a class="LN" name="184"> 184 </a> <span class="CT">/* Pooled Parameter (Expression: z_commutMap_M1)</span>
|
||||
</span><span><a class="LN" name="185"> 185 </a><span class="CT"> * Referenced by:</span>
|
||||
</span><span><a class="LN" name="186"> 186 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2530:411')" name="code2model"><font color="#117755"><i><S15>/z_commutMap_M1</i></font></a>'</span>
|
||||
</span><span><a class="LN" name="187"> 187 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2531:411')" name="code2model"><font color="#117755"><i><S53>/z_commutMap_M1</i></font></a>'</span>
|
||||
</span><span><a class="LN" name="188"> 188 </a><span class="CT"> */</span>
|
||||
</span><span><a class="LN" name="189"> 189 </a> <b>{</b> 1000, -1000, 0, 1000, 0, -1000, 0, 1000, -1000, -1000, 1000, 0, -1000, 0,
|
||||
</span><span><a class="LN" name="190"> 190 </a> 1000, 0, -1000, 1000 <b>}</b>,
|
||||
</span><span><a class="LN" name="191"> 191 </a>
|
||||
</span><span><a class="LN" name="192"> 192 </a> <span class="CT">/* Pooled Parameter (Expression: vec_hallToPos)</span>
|
||||
</span><span><a class="LN" name="193"> 193 </a><span class="CT"> * Referenced by:</span>
|
||||
</span><span><a class="LN" name="194"> 194 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2530:22')" name="code2model"><font color="#117755"><i><S21>/vec_hallToPos</i></font></a>'</span>
|
||||
</span><span><a class="LN" name="195"> 195 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2531:22')" name="code2model"><font color="#117755"><i><S59>/vec_hallToPos</i></font></a>'</span>
|
||||
</span><span><a class="LN" name="196"> 196 </a><span class="CT"> */</span>
|
||||
</span><span><a class="LN" name="197"> 197 </a> <b>{</b> 0U, 5U, 3U, 4U, 1U, 0U, 2U, 0U <b>}</b>,
|
||||
</span><span><a class="LN" name="198"> 198 </a>
|
||||
</span><span><a class="LN" name="199"> 199 </a> <span class="CT">/* Pooled Parameter (Expression: [0 1;1 0;0 1;0 1;1 0;1 0;0 0;0 0])</span>
|
||||
</span><span><a class="LN" name="200"> 200 </a><span class="CT"> * Referenced by:</span>
|
||||
</span><span><a class="LN" name="201"> 201 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2530:140:135')" name="code2model"><font color="#117755"><i><S29>/Logic</i></font></a>'</span>
|
||||
</span><span><a class="LN" name="202"> 202 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2531:140:135')" name="code2model"><font color="#117755"><i><S67>/Logic</i></font></a>'</span>
|
||||
</span><span><a class="LN" name="203"> 203 </a><span class="CT"> */</span>
|
||||
</span><span><a class="LN" name="204"> 204 </a> <b>{</b> 0, 1, 0, 0, 1, 1, 0, 0, 1, 0, 1, 1, 0, 0, 0, 0 <b>}</b>
|
||||
</span><span><a class="LN" name="205"> 205 </a><b>}</b>;
|
||||
</span><span><a class="LN" name="206"> 206 </a>
|
||||
</span><span><a class="LN" name="207"> 207 </a><span class="CT">/*</span>
|
||||
</span><span><a class="LN" name="208"> 208 </a><span class="CT"> * File trailer for generated code.</span>
|
||||
</span><span><a class="LN" name="209"> 209 </a><span class="CT"> *</span>
|
||||
</span><span><a class="LN" name="210"> 210 </a><span class="CT"> * [EOF]</span>
|
||||
</span><span><a class="LN" name="211"> 211 </a><span class="CT"> */</span>
|
||||
</span><span><a class="LN" name="212"> 212 </a>
|
||||
</span><span><a class="LN" name="85"> 85 </a> <span class="CT">/* Computed Parameter: z_commutMap_M1_table</span>
|
||||
</span><span><a class="LN" name="86"> 86 </a><span class="CT"> * Referenced by: '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2687:411')" name="code2model"><font color="#117755"><i><S10>/z_commutMap_M1</i></font></a>'</span>
|
||||
</span><span><a class="LN" name="87"> 87 </a><span class="CT"> */</span>
|
||||
</span><span><a class="LN" name="88"> 88 </a> <b>{</b> 1000, -1000, 0, 1000, 0, -1000, 0, 1000, -1000, -1000, 1000, 0, -1000, 0,
|
||||
</span><span><a class="LN" name="89"> 89 </a> 1000, 0, -1000, 1000 <b>}</b>,
|
||||
</span><span><a class="LN" name="90"> 90 </a>
|
||||
</span><span><a class="LN" name="91"> 91 </a> <span class="CT">/* Computed Parameter: vec_hallToPos_Value</span>
|
||||
</span><span><a class="LN" name="92"> 92 </a><span class="CT"> * Referenced by: '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2687:22')" name="code2model"><font color="#117755"><i><S12>/vec_hallToPos</i></font></a>'</span>
|
||||
</span><span><a class="LN" name="93"> 93 </a><span class="CT"> */</span>
|
||||
</span><span><a class="LN" name="94"> 94 </a> <b>{</b> 0, 5, 3, 4, 1, 0, 2, 0 <b>}</b>
|
||||
</span><span><a class="LN" name="95"> 95 </a><b>}</b>;
|
||||
</span><span><a class="LN" name="96"> 96 </a>
|
||||
</span><span><a class="LN" name="97"> 97 </a><span class="CT">/*</span>
|
||||
</span><span><a class="LN" name="98"> 98 </a><span class="CT"> * File trailer for generated code.</span>
|
||||
</span><span><a class="LN" name="99"> 99 </a><span class="CT"> *</span>
|
||||
</span><span><a class="LN" name="100"> 100 </a><span class="CT"> * [EOF]</span>
|
||||
</span><span><a class="LN" name="101"> 101 </a><span class="CT"> */</span>
|
||||
</span><span><a class="LN" name="102"> 102 </a>
|
||||
</span></pre>
|
||||
</td></tr></table>
|
||||
</p>
|
||||
|
@ -21,9 +21,9 @@
|
||||
</span><span><a class="LN" name="7"> 7 </a><span class="CT"> *</span>
|
||||
</span><span><a class="LN" name="8"> 8 </a><span class="CT"> * Code generated for Simulink model 'BLDC_controller'.</span>
|
||||
</span><span><a class="LN" name="9"> 9 </a><span class="CT"> *</span>
|
||||
</span><span><a class="LN" name="10"> 10 </a><span class="CT"> * Model version : 1.817</span>
|
||||
</span><span><a class="LN" name="10"> 10 </a><span class="CT"> * Model version : 1.877</span>
|
||||
</span><span><a class="LN" name="11"> 11 </a><span class="CT"> * Simulink Coder version : 8.13 (R2017b) 24-Jul-2017</span>
|
||||
</span><span><a class="LN" name="12"> 12 </a><span class="CT"> * C/C++ source code generated on : Tue May 28 19:55:33 2019</span>
|
||||
</span><span><a class="LN" name="12"> 12 </a><span class="CT"> * C/C++ source code generated on : Wed Jun 5 22:29:28 2019</span>
|
||||
</span><span><a class="LN" name="13"> 13 </a><span class="CT"> *</span>
|
||||
</span><span><a class="LN" name="14"> 14 </a><span class="CT"> * Target selection: ert.tlc</span>
|
||||
</span><span><a class="LN" name="15"> 15 </a><span class="CT"> * Embedded hardware selection: ARM Compatible->ARM Cortex</span>
|
||||
@ -38,418 +38,226 @@
|
||||
</span><span><a class="LN" name="24"> 24 </a><font color="#992211">#</font><span class="PP">ifndef</span> RTW_HEADER_BLDC_controller_h_
|
||||
</span><span><a class="LN" name="25"> 25 </a><font color="#992211">#</font><span class="PP">define</span> RTW_HEADER_BLDC_controller_h_
|
||||
</span><span><a class="LN" name="26"> 26 </a><font color="#992211">#</font><span class="PP">include</span> <font color="#992211">"rtwtypes.h"</font>
|
||||
</span><span><a class="LN" name="27"> 27 </a><font color="#992211">#</font><span class="PP">include</span> <font color="#992211">"zero_crossing_types.h"</font>
|
||||
</span><span><a class="LN" name="28"> 28 </a><font color="#992211">#</font><span class="PP">ifndef</span> BLDC_controller_COMMON_INCLUDES_
|
||||
</span><span><a class="LN" name="29"> 29 </a><font color="#992211">#</font> <span class="PP">define</span> BLDC_controller_COMMON_INCLUDES_
|
||||
</span><span><a class="LN" name="30"> 30 </a><font color="#992211">#</font><span class="PP">include</span> <font color="#992211">"rtwtypes.h"</font>
|
||||
</span><span><a class="LN" name="31"> 31 </a><font color="#992211">#</font><span class="PP">include</span> <font color="#992211">"zero_crossing_types.h"</font>
|
||||
</span><span><a class="LN" name="32"> 32 </a><font color="#992211">#</font><span class="PP">endif</span> <span class="CT">/* BLDC_controller_COMMON_INCLUDES_ */</span>
|
||||
</span><span><a class="LN" name="27"> 27 </a><font color="#992211">#</font><span class="PP">ifndef</span> BLDC_controller_COMMON_INCLUDES_
|
||||
</span><span><a class="LN" name="28"> 28 </a><font color="#992211">#</font> <span class="PP">define</span> BLDC_controller_COMMON_INCLUDES_
|
||||
</span><span><a class="LN" name="29"> 29 </a><font color="#992211">#</font><span class="PP">include</span> <font color="#992211">"rtwtypes.h"</font>
|
||||
</span><span><a class="LN" name="30"> 30 </a><font color="#992211">#</font><span class="PP">endif</span> <span class="CT">/* BLDC_controller_COMMON_INCLUDES_ */</span>
|
||||
</span><span><a class="LN" name="31"> 31 </a>
|
||||
</span><span><a class="LN" name="32"> 32 </a><span class="CT">/* Macros for accessing real-time model data structure */</span>
|
||||
</span><span><a class="LN" name="33"> 33 </a>
|
||||
</span><span><a class="LN" name="34"> 34 </a><span class="CT">/* Macros for accessing real-time model data structure */</span>
|
||||
</span><span><a class="LN" name="35"> 35 </a>
|
||||
</span><span><a class="LN" name="36"> 36 </a><span class="CT">/* Block signals and states (auto storage) for system '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2530:38')" name="code2model"><font color="#117755"><i><S12>/F01_03_Direction_Detection</i></font></a>' */</span>
|
||||
</span><span><a class="LN" name="37"> 37 </a><span class="KW">typedef</span> <span class="KW">struct</span> <b>{</b>
|
||||
</span><span><a class="LN" name="38"> 38 </a> <a href="rtwtypes_h.html#type_int8_T" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'type_int8_T');" target="_self"><font color="#1122aa">int8_T</font></a> UnitDelay1_DSTATE; <span class="CT">/* '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2530:53')" name="code2model"><font color="#117755"><i><S22>/UnitDelay1</i></font></a>' */</span>
|
||||
</span><span><a class="LN" name="39"> 39 </a><b>}</b> <a name="type_DW_F01_03_Direction_Detection">DW_F01_03_Direction_Detection</a>;
|
||||
</span><span><a class="LN" name="40"> 40 </a>
|
||||
</span><span><a class="LN" name="41"> 41 </a><span class="CT">/* Block signals and states (auto storage) for system '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2530:65')" name="code2model"><font color="#117755"><i><S23>/Edge_counter</i></font></a>' */</span>
|
||||
</span><span><a class="LN" name="42"> 42 </a><span class="KW">typedef</span> <span class="KW">struct</span> <b>{</b>
|
||||
</span><span><a class="LN" name="43"> 43 </a> <a href="rtwtypes_h.html#type_uint8_T" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'type_uint8_T');" target="_self"><font color="#1122aa">uint8_T</font></a> UnitDelay1_DSTATE; <span class="CT">/* '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2530:480:477')" name="code2model"><font color="#117755"><i><S37>/UnitDelay1</i></font></a>' */</span>
|
||||
</span><span><a class="LN" name="44"> 44 </a> <a href="rtwtypes_h.html#type_boolean_T" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'type_boolean_T');" target="_self"><font color="#1122aa">boolean_T</font></a> Edge_counter_MODE; <span class="CT">/* '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2530:65')" name="code2model"><font color="#117755"><i><S23>/Edge_counter</i></font></a>' */</span>
|
||||
</span><span><a class="LN" name="45"> 45 </a><b>}</b> <a name="type_DW_Edge_counter">DW_Edge_counter</a>;
|
||||
</span><span><a class="LN" name="46"> 46 </a>
|
||||
</span><span><a class="LN" name="47"> 47 </a><span class="CT">/* Block signals and states (auto storage) for system '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2530:124')" name="code2model"><font color="#117755"><i><S23>/Motor_Speed_Calculation</i></font></a>' */</span>
|
||||
</span><span><a class="LN" name="48"> 48 </a><span class="KW">typedef</span> <span class="KW">struct</span> <b>{</b>
|
||||
</span><span><a class="LN" name="49"> 49 </a> <a href="rtwtypes_h.html#type_int32_T" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'type_int32_T');" target="_self"><font color="#1122aa">int32_T</font></a> UnitDelay5_DSTATE; <span class="CT">/* '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2530:753')" name="code2model"><font color="#117755"><i><S28>/UnitDelay5</i></font></a>' */</span>
|
||||
</span><span><a class="LN" name="50"> 50 </a> <a href="rtwtypes_h.html#type_int32_T" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'type_int32_T');" target="_self"><font color="#1122aa">int32_T</font></a> UnitDelay1_DSTATE; <span class="CT">/* '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2530:752')" name="code2model"><font color="#117755"><i><S28>/UnitDelay1</i></font></a>' */</span>
|
||||
</span><span><a class="LN" name="51"> 51 </a><b>}</b> <a name="type_DW_Motor_Speed_Calculation">DW_Motor_Speed_Calculation</a>;
|
||||
</span><span><a class="LN" name="52"> 52 </a>
|
||||
</span><span><a class="LN" name="53"> 53 </a><span class="CT">/* Zero-crossing (trigger) state for system '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2530:124')" name="code2model"><font color="#117755"><i><S23>/Motor_Speed_Calculation</i></font></a>' */</span>
|
||||
</span><span><a class="LN" name="54"> 54 </a><span class="KW">typedef</span> <span class="KW">struct</span> <b>{</b>
|
||||
</span><span><a class="LN" name="55"> 55 </a> <a href="zero_crossing_types_h.html#type_ZCSigState" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'type_ZCSigState');" target="_self"><font color="#1122aa">ZCSigState</font></a> Motor_Speed_Calculation_Trig_ZC;<span class="CT">/* '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2530:124')" name="code2model"><font color="#117755"><i><S23>/Motor_Speed_Calculation</i></font></a>' */</span>
|
||||
</span><span><a class="LN" name="56"> 56 </a><b>}</b> <a name="type_ZCE_Motor_Speed_Calculation">ZCE_Motor_Speed_Calculation</a>;
|
||||
</span><span><a class="LN" name="57"> 57 </a>
|
||||
</span><span><a class="LN" name="58"> 58 </a><span class="CT">/* Block signals and states (auto storage) for system '<Root>' */</span>
|
||||
</span><span><a class="LN" name="59"> 59 </a><span class="KW">typedef</span> <span class="KW">struct</span> <b>{</b>
|
||||
</span><span><a class="LN" name="60"> 60 </a> <a href="#type_DW_Motor_Speed_Calculation" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'type_DW_Motor_Speed_Calculation');" target="_self"><font color="#1122aa">DW_Motor_Speed_Calculation</font></a> Motor_Speed_Calculation_k;<span class="CT">/* '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2531:124')" name="code2model"><font color="#117755"><i><S61>/Motor_Speed_Calculation</i></font></a>' */</span>
|
||||
</span><span><a class="LN" name="61"> 61 </a> <a href="#type_DW_Edge_counter" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'type_DW_Edge_counter');" target="_self"><font color="#1122aa">DW_Edge_counter</font></a> Edge_counter_l; <span class="CT">/* '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2531:65')" name="code2model"><font color="#117755"><i><S61>/Edge_counter</i></font></a>' */</span>
|
||||
</span><span><a class="LN" name="62"> 62 </a> <a href="#type_DW_F01_03_Direction_Detection" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'type_DW_F01_03_Direction_Detection');" target="_self"><font color="#1122aa">DW_F01_03_Direction_Detection</font></a> F01_03_Direction_Detection_j;<span class="CT">/* '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2531:38')" name="code2model"><font color="#117755"><i><S50>/F01_03_Direction_Detection</i></font></a>' */</span>
|
||||
</span><span><a class="LN" name="63"> 63 </a> <a href="#type_DW_Motor_Speed_Calculation" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'type_DW_Motor_Speed_Calculation');" target="_self"><font color="#1122aa">DW_Motor_Speed_Calculation</font></a> Motor_Speed_Calculation_m;<span class="CT">/* '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2530:124')" name="code2model"><font color="#117755"><i><S23>/Motor_Speed_Calculation</i></font></a>' */</span>
|
||||
</span><span><a class="LN" name="64"> 64 </a> <a href="#type_DW_Edge_counter" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'type_DW_Edge_counter');" target="_self"><font color="#1122aa">DW_Edge_counter</font></a> Edge_counter_f; <span class="CT">/* '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2530:65')" name="code2model"><font color="#117755"><i><S23>/Edge_counter</i></font></a>' */</span>
|
||||
</span><span><a class="LN" name="65"> 65 </a> <a href="#type_DW_F01_03_Direction_Detection" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'type_DW_F01_03_Direction_Detection');" target="_self"><font color="#1122aa">DW_F01_03_Direction_Detection</font></a> F01_03_Direction_Detection_o;<span class="CT">/* '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2530:38')" name="code2model"><font color="#117755"><i><S12>/F01_03_Direction_Detection</i></font></a>' */</span>
|
||||
</span><span><a class="LN" name="66"> 66 </a> <a href="rtwtypes_h.html#type_int32_T" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'type_int32_T');" target="_self"><font color="#1122aa">int32_T</font></a> Switch_PhaAdv; <span class="CT">/* '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2531:514')" name="code2model"><font color="#117755"><i><S51>/Switch_PhaAdv</i></font></a>' */</span>
|
||||
</span><span><a class="LN" name="67"> 67 </a> <a href="rtwtypes_h.html#type_int32_T" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'type_int32_T');" target="_self"><font color="#1122aa">int32_T</font></a> Switch_PhaAdv_a; <span class="CT">/* '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2530:514')" name="code2model"><font color="#117755"><i><S13>/Switch_PhaAdv</i></font></a>' */</span>
|
||||
</span><span><a class="LN" name="68"> 68 </a> <a href="rtwtypes_h.html#type_int16_T" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'type_int16_T');" target="_self"><font color="#1122aa">int16_T</font></a> Merge; <span class="CT">/* '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2530:345')" name="code2model"><font color="#117755"><i><S14>/Merge</i></font></a>' */</span>
|
||||
</span><span><a class="LN" name="69"> 69 </a> <a href="rtwtypes_h.html#type_int16_T" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'type_int16_T');" target="_self"><font color="#1122aa">int16_T</font></a> Merge1; <span class="CT">/* '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2530:346')" name="code2model"><font color="#117755"><i><S14>/Merge1</i></font></a>' */</span>
|
||||
</span><span><a class="LN" name="70"> 70 </a> <a href="rtwtypes_h.html#type_int16_T" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'type_int16_T');" target="_self"><font color="#1122aa">int16_T</font></a> Merge2; <span class="CT">/* '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2530:347')" name="code2model"><font color="#117755"><i><S14>/Merge2</i></font></a>' */</span>
|
||||
</span><span><a class="LN" name="71"> 71 </a> <a href="rtwtypes_h.html#type_int16_T" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'type_int16_T');" target="_self"><font color="#1122aa">int16_T</font></a> Merge_j; <span class="CT">/* '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2531:345')" name="code2model"><font color="#117755"><i><S52>/Merge</i></font></a>' */</span>
|
||||
</span><span><a class="LN" name="72"> 72 </a> <a href="rtwtypes_h.html#type_int16_T" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'type_int16_T');" target="_self"><font color="#1122aa">int16_T</font></a> Merge1_m; <span class="CT">/* '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2531:346')" name="code2model"><font color="#117755"><i><S52>/Merge1</i></font></a>' */</span>
|
||||
</span><span><a class="LN" name="73"> 73 </a> <a href="rtwtypes_h.html#type_int16_T" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'type_int16_T');" target="_self"><font color="#1122aa">int16_T</font></a> Merge2_d; <span class="CT">/* '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2531:347')" name="code2model"><font color="#117755"><i><S52>/Merge2</i></font></a>' */</span>
|
||||
</span><span><a class="LN" name="74"> 74 </a> <a href="rtwtypes_h.html#type_int16_T" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'type_int16_T');" target="_self"><font color="#1122aa">int16_T</font></a> z_counterRawPrev_DSTATE; <span class="CT">/* '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2530:170')" name="code2model"><font color="#117755"><i><S23>/z_counterRawPrev</i></font></a>' */</span>
|
||||
</span><span><a class="LN" name="75"> 75 </a> <a href="rtwtypes_h.html#type_int16_T" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'type_int16_T');" target="_self"><font color="#1122aa">int16_T</font></a> z_counter2_DSTATE; <span class="CT">/* '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2530:169')" name="code2model"><font color="#117755"><i><S23>/z_counter2</i></font></a>' */</span>
|
||||
</span><span><a class="LN" name="76"> 76 </a> <a href="rtwtypes_h.html#type_int16_T" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'type_int16_T');" target="_self"><font color="#1122aa">int16_T</font></a> UnitDelay1_DSTATE; <span class="CT">/* '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2530:479:477')" name="code2model"><font color="#117755"><i><S32>/UnitDelay1</i></font></a>' */</span>
|
||||
</span><span><a class="LN" name="77"> 77 </a> <a href="rtwtypes_h.html#type_int16_T" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'type_int16_T');" target="_self"><font color="#1122aa">int16_T</font></a> z_counterRawPrev_DSTATE_p; <span class="CT">/* '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2531:170')" name="code2model"><font color="#117755"><i><S61>/z_counterRawPrev</i></font></a>' */</span>
|
||||
</span><span><a class="LN" name="78"> 78 </a> <a href="rtwtypes_h.html#type_int16_T" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'type_int16_T');" target="_self"><font color="#1122aa">int16_T</font></a> z_counter2_DSTATE_h; <span class="CT">/* '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2531:169')" name="code2model"><font color="#117755"><i><S61>/z_counter2</i></font></a>' */</span>
|
||||
</span><span><a class="LN" name="79"> 79 </a> <a href="rtwtypes_h.html#type_int16_T" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'type_int16_T');" target="_self"><font color="#1122aa">int16_T</font></a> UnitDelay1_DSTATE_k; <span class="CT">/* '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2531:479:477')" name="code2model"><font color="#117755"><i><S70>/UnitDelay1</i></font></a>' */</span>
|
||||
</span><span><a class="LN" name="80"> 80 </a> <a href="rtwtypes_h.html#type_int8_T" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'type_int8_T');" target="_self"><font color="#1122aa">int8_T</font></a> UnitDelay1; <span class="CT">/* '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2531:53')" name="code2model"><font color="#117755"><i><S60>/UnitDelay1</i></font></a>' */</span>
|
||||
</span><span><a class="LN" name="81"> 81 </a> <a href="rtwtypes_h.html#type_int8_T" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'type_int8_T');" target="_self"><font color="#1122aa">int8_T</font></a> Switch2; <span class="CT">/* '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2531:52')" name="code2model"><font color="#117755"><i><S60>/Switch2</i></font></a>' */</span>
|
||||
</span><span><a class="LN" name="82"> 82 </a> <a href="rtwtypes_h.html#type_int8_T" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'type_int8_T');" target="_self"><font color="#1122aa">int8_T</font></a> UnitDelay1_k; <span class="CT">/* '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2530:53')" name="code2model"><font color="#117755"><i><S22>/UnitDelay1</i></font></a>' */</span>
|
||||
</span><span><a class="LN" name="83"> 83 </a> <a href="rtwtypes_h.html#type_int8_T" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'type_int8_T');" target="_self"><font color="#1122aa">int8_T</font></a> Switch2_e; <span class="CT">/* '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2530:52')" name="code2model"><font color="#117755"><i><S22>/Switch2</i></font></a>' */</span>
|
||||
</span><span><a class="LN" name="84"> 84 </a> <a href="rtwtypes_h.html#type_int8_T" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'type_int8_T');" target="_self"><font color="#1122aa">int8_T</font></a> If1_ActiveSubsystem; <span class="CT">/* '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2530:434')" name="code2model"><font color="#117755"><i><S2>/If1</i></font></a>' */</span>
|
||||
</span><span><a class="LN" name="85"> 85 </a> <a href="rtwtypes_h.html#type_int8_T" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'type_int8_T');" target="_self"><font color="#1122aa">int8_T</font></a> If1_ActiveSubsystem_j; <span class="CT">/* '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2531:434')" name="code2model"><font color="#117755"><i><S3>/If1</i></font></a>' */</span>
|
||||
</span><span><a class="LN" name="86"> 86 </a> <a href="rtwtypes_h.html#type_uint8_T" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'type_uint8_T');" target="_self"><font color="#1122aa">uint8_T</font></a> Sum2_i; <span class="CT">/* '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2531:76')" name="code2model"><font color="#117755"><i><S65>/Sum2</i></font></a>' */</span>
|
||||
</span><span><a class="LN" name="87"> 87 </a> <a href="rtwtypes_h.html#type_uint8_T" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'type_uint8_T');" target="_self"><font color="#1122aa">uint8_T</font></a> Sum2_l; <span class="CT">/* '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2530:76')" name="code2model"><font color="#117755"><i><S27>/Sum2</i></font></a>' */</span>
|
||||
</span><span><a class="LN" name="88"> 88 </a> <a href="rtwtypes_h.html#type_uint8_T" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'type_uint8_T');" target="_self"><font color="#1122aa">uint8_T</font></a> UnitDelay_DSTATE; <span class="CT">/* '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2530:31')" name="code2model"><font color="#117755"><i><S20>/UnitDelay</i></font></a>' */</span>
|
||||
</span><span><a class="LN" name="89"> 89 </a> <a href="rtwtypes_h.html#type_uint8_T" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'type_uint8_T');" target="_self"><font color="#1122aa">uint8_T</font></a> UnitDelay1_DSTATE_p; <span class="CT">/* '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2530:32')" name="code2model"><font color="#117755"><i><S20>/UnitDelay1</i></font></a>' */</span>
|
||||
</span><span><a class="LN" name="90"> 90 </a> <a href="rtwtypes_h.html#type_uint8_T" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'type_uint8_T');" target="_self"><font color="#1122aa">uint8_T</font></a> UnitDelay2_DSTATE; <span class="CT">/* '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2530:33')" name="code2model"><font color="#117755"><i><S20>/UnitDelay2</i></font></a>' */</span>
|
||||
</span><span><a class="LN" name="91"> 91 </a> <a href="rtwtypes_h.html#type_uint8_T" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'type_uint8_T');" target="_self"><font color="#1122aa">uint8_T</font></a> UnitDelay1_DSTATE_g; <span class="CT">/* '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2530:16')" name="code2model"><font color="#117755"><i><S21>/UnitDelay1</i></font></a>' */</span>
|
||||
</span><span><a class="LN" name="92"> 92 </a> <a href="rtwtypes_h.html#type_uint8_T" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'type_uint8_T');" target="_self"><font color="#1122aa">uint8_T</font></a> UnitDelay_DSTATE_j; <span class="CT">/* '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2531:31')" name="code2model"><font color="#117755"><i><S58>/UnitDelay</i></font></a>' */</span>
|
||||
</span><span><a class="LN" name="93"> 93 </a> <a href="rtwtypes_h.html#type_uint8_T" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'type_uint8_T');" target="_self"><font color="#1122aa">uint8_T</font></a> UnitDelay1_DSTATE_f; <span class="CT">/* '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2531:32')" name="code2model"><font color="#117755"><i><S58>/UnitDelay1</i></font></a>' */</span>
|
||||
</span><span><a class="LN" name="94"> 94 </a> <a href="rtwtypes_h.html#type_uint8_T" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'type_uint8_T');" target="_self"><font color="#1122aa">uint8_T</font></a> UnitDelay2_DSTATE_b; <span class="CT">/* '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2531:33')" name="code2model"><font color="#117755"><i><S58>/UnitDelay2</i></font></a>' */</span>
|
||||
</span><span><a class="LN" name="95"> 95 </a> <a href="rtwtypes_h.html#type_uint8_T" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'type_uint8_T');" target="_self"><font color="#1122aa">uint8_T</font></a> UnitDelay1_DSTATE_j; <span class="CT">/* '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2531:16')" name="code2model"><font color="#117755"><i><S59>/UnitDelay1</i></font></a>' */</span>
|
||||
</span><span><a class="LN" name="96"> 96 </a> <a href="rtwtypes_h.html#type_boolean_T" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'type_boolean_T');" target="_self"><font color="#1122aa">boolean_T</font></a> Logic[2]; <span class="CT">/* '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2530:140:135')" name="code2model"><font color="#117755"><i><S29>/Logic</i></font></a>' */</span>
|
||||
</span><span><a class="LN" name="97"> 97 </a> <a href="rtwtypes_h.html#type_boolean_T" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'type_boolean_T');" target="_self"><font color="#1122aa">boolean_T</font></a> Logic_j[2]; <span class="CT">/* '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2531:140:135')" name="code2model"><font color="#117755"><i><S67>/Logic</i></font></a>' */</span>
|
||||
</span><span><a class="LN" name="98"> 98 </a> <a href="rtwtypes_h.html#type_boolean_T" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'type_boolean_T');" target="_self"><font color="#1122aa">boolean_T</font></a> LogicalOperator; <span class="CT">/* '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2530:733:729')" name="code2model"><font color="#117755"><i><S30>/Logical Operator</i></font></a>' */</span>
|
||||
</span><span><a class="LN" name="99"> 99 </a> <a href="rtwtypes_h.html#type_boolean_T" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'type_boolean_T');" target="_self"><font color="#1122aa">boolean_T</font></a> LogicalOperator5; <span class="CT">/* '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2531:722')" name="code2model"><font color="#117755"><i><S61>/Logical Operator5</i></font></a>' */</span>
|
||||
</span><span><a class="LN" name="100"> 100 </a> <a href="rtwtypes_h.html#type_boolean_T" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'type_boolean_T');" target="_self"><font color="#1122aa">boolean_T</font></a> LogicalOperator_h; <span class="CT">/* '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2531:733:729')" name="code2model"><font color="#117755"><i><S68>/Logical Operator</i></font></a>' */</span>
|
||||
</span><span><a class="LN" name="101"> 101 </a> <a href="rtwtypes_h.html#type_boolean_T" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'type_boolean_T');" target="_self"><font color="#1122aa">boolean_T</font></a> UnitDelay8_DSTATE; <span class="CT">/* '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2530:146')" name="code2model"><font color="#117755"><i><S23>/UnitDelay8</i></font></a>' */</span>
|
||||
</span><span><a class="LN" name="102"> 102 </a> <a href="rtwtypes_h.html#type_boolean_T" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'type_boolean_T');" target="_self"><font color="#1122aa">boolean_T</font></a> UnitDelay8_DSTATE_p; <span class="CT">/* '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2531:146')" name="code2model"><font color="#117755"><i><S61>/UnitDelay8</i></font></a>' */</span>
|
||||
</span><span><a class="LN" name="103"> 103 </a> <a href="rtwtypes_h.html#type_boolean_T" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'type_boolean_T');" target="_self"><font color="#1122aa">boolean_T</font></a> UnitDelay_DSTATE_k; <span class="CT">/* '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2531:588:586')" name="code2model"><font color="#117755"><i><S69>/UnitDelay</i></font></a>' */</span>
|
||||
</span><span><a class="LN" name="104"> 104 </a> <a href="rtwtypes_h.html#type_boolean_T" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'type_boolean_T');" target="_self"><font color="#1122aa">boolean_T</font></a> UnitDelay_DSTATE_i; <span class="CT">/* '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2531:733:731')" name="code2model"><font color="#117755"><i><S68>/UnitDelay</i></font></a>' */</span>
|
||||
</span><span><a class="LN" name="105"> 105 </a> <a href="rtwtypes_h.html#type_boolean_T" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'type_boolean_T');" target="_self"><font color="#1122aa">boolean_T</font></a> UnitDelay_DSTATE_l; <span class="CT">/* '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2530:588:586')" name="code2model"><font color="#117755"><i><S31>/UnitDelay</i></font></a>' */</span>
|
||||
</span><span><a class="LN" name="106"> 106 </a> <a href="rtwtypes_h.html#type_boolean_T" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'type_boolean_T');" target="_self"><font color="#1122aa">boolean_T</font></a> UnitDelay_DSTATE_b; <span class="CT">/* '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2530:733:731')" name="code2model"><font color="#117755"><i><S30>/UnitDelay</i></font></a>' */</span>
|
||||
</span><span><a class="LN" name="107"> 107 </a> <a href="rtwtypes_h.html#type_boolean_T" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'type_boolean_T');" target="_self"><font color="#1122aa">boolean_T</font></a> Memory_PreviousInput; <span class="CT">/* '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2530:140:136')" name="code2model"><font color="#117755"><i><S29>/Memory</i></font></a>' */</span>
|
||||
</span><span><a class="LN" name="108"> 108 </a> <a href="rtwtypes_h.html#type_boolean_T" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'type_boolean_T');" target="_self"><font color="#1122aa">boolean_T</font></a> Relay_Mode; <span class="CT">/* '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2530:400')" name="code2model"><font color="#117755"><i><S15>/Relay</i></font></a>' */</span>
|
||||
</span><span><a class="LN" name="109"> 109 </a> <a href="rtwtypes_h.html#type_boolean_T" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'type_boolean_T');" target="_self"><font color="#1122aa">boolean_T</font></a> Memory_PreviousInput_i; <span class="CT">/* '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2531:140:136')" name="code2model"><font color="#117755"><i><S67>/Memory</i></font></a>' */</span>
|
||||
</span><span><a class="LN" name="110"> 110 </a> <a href="rtwtypes_h.html#type_boolean_T" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'type_boolean_T');" target="_self"><font color="#1122aa">boolean_T</font></a> Relay_Mode_m; <span class="CT">/* '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2531:400')" name="code2model"><font color="#117755"><i><S53>/Relay</i></font></a>' */</span>
|
||||
</span><span><a class="LN" name="111"> 111 </a><b>}</b> <a name="type_DW">DW</a>;
|
||||
</span><span><a class="LN" name="112"> 112 </a>
|
||||
</span><span><a class="LN" name="113"> 113 </a><span class="CT">/* Zero-crossing (trigger) state */</span>
|
||||
</span><span><a class="LN" name="114"> 114 </a><span class="KW">typedef</span> <span class="KW">struct</span> <b>{</b>
|
||||
</span><span><a class="LN" name="115"> 115 </a> <a href="#type_ZCE_Motor_Speed_Calculation" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'type_ZCE_Motor_Speed_Calculation');" target="_self"><font color="#1122aa">ZCE_Motor_Speed_Calculation</font></a> Motor_Speed_Calculation_k;<span class="CT">/* '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2531:124')" name="code2model"><font color="#117755"><i><S61>/Motor_Speed_Calculation</i></font></a>' */</span>
|
||||
</span><span><a class="LN" name="116"> 116 </a> <a href="#type_ZCE_Motor_Speed_Calculation" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'type_ZCE_Motor_Speed_Calculation');" target="_self"><font color="#1122aa">ZCE_Motor_Speed_Calculation</font></a> Motor_Speed_Calculation_m;<span class="CT">/* '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2530:124')" name="code2model"><font color="#117755"><i><S23>/Motor_Speed_Calculation</i></font></a>' */</span>
|
||||
</span><span><a class="LN" name="117"> 117 </a><b>}</b> <a name="type_PrevZCX">PrevZCX</a>;
|
||||
</span><span><a class="LN" name="118"> 118 </a>
|
||||
</span><span><a class="LN" name="119"> 119 </a><span class="CT">/* Constant parameters (auto storage) */</span>
|
||||
</span><span><a class="LN" name="120"> 120 </a><span class="KW">typedef</span> <span class="KW">struct</span> <b>{</b>
|
||||
</span><span><a class="LN" name="121"> 121 </a> <span class="CT">/* Pooled Parameter (Expression: r_trapPhaA_M1)</span>
|
||||
</span><span><a class="LN" name="122"> 122 </a><span class="CT"> * Referenced by:</span>
|
||||
</span><span><a class="LN" name="123"> 123 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2530:289')" name="code2model"><font color="#117755"><i><S41>/r_trapPhaA_M1</i></font></a>'</span>
|
||||
</span><span><a class="LN" name="124"> 124 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2531:289')" name="code2model"><font color="#117755"><i><S79>/r_trapPhaA_M1</i></font></a>'</span>
|
||||
</span><span><a class="LN" name="125"> 125 </a><span class="CT"> */</span>
|
||||
</span><span><a class="LN" name="126"> 126 </a> <a href="rtwtypes_h.html#type_int16_T" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'type_int16_T');" target="_self"><font color="#1122aa">int16_T</font></a> pooled9[7];
|
||||
</span><span><a class="LN" name="127"> 127 </a>
|
||||
</span><span><a class="LN" name="128"> 128 </a> <span class="CT">/* Pooled Parameter (Expression: r_trapPhaB_M1)</span>
|
||||
</span><span><a class="LN" name="129"> 129 </a><span class="CT"> * Referenced by:</span>
|
||||
</span><span><a class="LN" name="130"> 130 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2530:290')" name="code2model"><font color="#117755"><i><S41>/r_trapPhaB_M1</i></font></a>'</span>
|
||||
</span><span><a class="LN" name="131"> 131 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2531:290')" name="code2model"><font color="#117755"><i><S79>/r_trapPhaB_M1</i></font></a>'</span>
|
||||
</span><span><a class="LN" name="132"> 132 </a><span class="CT"> */</span>
|
||||
</span><span><a class="LN" name="133"> 133 </a> <a href="rtwtypes_h.html#type_int16_T" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'type_int16_T');" target="_self"><font color="#1122aa">int16_T</font></a> pooled10[7];
|
||||
</span><span><a class="LN" name="34"> 34 </a><span class="CT">/* Forward declaration for rtModel */</span>
|
||||
</span><span><a class="LN" name="35"> 35 </a><span class="KW">typedef</span> <span class="KW">struct</span> tag_RTM <a name="type_RT_MODEL">RT_MODEL</a>;
|
||||
</span><span><a class="LN" name="36"> 36 </a>
|
||||
</span><span><a class="LN" name="37"> 37 </a><span class="CT">/* Block signals and states (auto storage) for system '<Root>' */</span>
|
||||
</span><span><a class="LN" name="38"> 38 </a><span class="KW">typedef</span> <span class="KW">struct</span> <b>{</b>
|
||||
</span><span><a class="LN" name="39"> 39 </a> <a href="rtwtypes_h.html#type_int32_T" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'type_int32_T');" target="_self"><font color="#1122aa">int32_T</font></a> Switch_PhaAdv; <span class="CT">/* '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2687:514')" name="code2model"><font color="#117755"><i><S8>/Switch_PhaAdv</i></font></a>' */</span>
|
||||
</span><span><a class="LN" name="40"> 40 </a> <a href="rtwtypes_h.html#type_int32_T" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'type_int32_T');" target="_self"><font color="#1122aa">int32_T</font></a> UnitDelay2_DSTATE; <span class="CT">/* '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2687:1446')" name="code2model"><font color="#117755"><i><S16>/UnitDelay2</i></font></a>' */</span>
|
||||
</span><span><a class="LN" name="41"> 41 </a> <a href="rtwtypes_h.html#type_int16_T" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'type_int16_T');" target="_self"><font color="#1122aa">int16_T</font></a> Merge; <span class="CT">/* '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2687:345')" name="code2model"><font color="#117755"><i><S9>/Merge</i></font></a>' */</span>
|
||||
</span><span><a class="LN" name="42"> 42 </a> <a href="rtwtypes_h.html#type_int16_T" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'type_int16_T');" target="_self"><font color="#1122aa">int16_T</font></a> Merge1; <span class="CT">/* '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2687:346')" name="code2model"><font color="#117755"><i><S9>/Merge1</i></font></a>' */</span>
|
||||
</span><span><a class="LN" name="43"> 43 </a> <a href="rtwtypes_h.html#type_int16_T" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'type_int16_T');" target="_self"><font color="#1122aa">int16_T</font></a> Merge2; <span class="CT">/* '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2687:347')" name="code2model"><font color="#117755"><i><S9>/Merge2</i></font></a>' */</span>
|
||||
</span><span><a class="LN" name="44"> 44 </a> <a href="rtwtypes_h.html#type_int16_T" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'type_int16_T');" target="_self"><font color="#1122aa">int16_T</font></a> z_counterRawPrev; <span class="CT">/* '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2687:1341')" name="code2model"><font color="#117755"><i><S15>/z_counterRawPrev</i></font></a>' */</span>
|
||||
</span><span><a class="LN" name="45"> 45 </a> <a href="rtwtypes_h.html#type_int16_T" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'type_int16_T');" target="_self"><font color="#1122aa">int16_T</font></a> Sum4; <span class="CT">/* '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2687:1454')" name="code2model"><font color="#117755"><i><S15>/Sum4</i></font></a>' */</span>
|
||||
</span><span><a class="LN" name="46"> 46 </a> <a href="rtwtypes_h.html#type_int16_T" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'type_int16_T');" target="_self"><font color="#1122aa">int16_T</font></a> UnitDelay1_DSTATE; <span class="CT">/* '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2687:1651:1621')" name="code2model"><font color="#117755"><i><S17>/UnitDelay1</i></font></a>' */</span>
|
||||
</span><span><a class="LN" name="47"> 47 </a> <a href="rtwtypes_h.html#type_int16_T" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'type_int16_T');" target="_self"><font color="#1122aa">int16_T</font></a> UnitDelay1_DSTATE_c; <span class="CT">/* '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2687:1507')" name="code2model"><font color="#117755"><i><S14>/UnitDelay1</i></font></a>' */</span>
|
||||
</span><span><a class="LN" name="48"> 48 </a> <a href="rtwtypes_h.html#type_int16_T" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'type_int16_T');" target="_self"><font color="#1122aa">int16_T</font></a> z_counter2_DSTATE; <span class="CT">/* '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2687:169')" name="code2model"><font color="#117755"><i><S15>/z_counter2</i></font></a>' */</span>
|
||||
</span><span><a class="LN" name="49"> 49 </a> <a href="rtwtypes_h.html#type_int8_T" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'type_int8_T');" target="_self"><font color="#1122aa">int8_T</font></a> UnitDelay1; <span class="CT">/* '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2687:1631')" name="code2model"><font color="#117755"><i><S13>/UnitDelay1</i></font></a>' */</span>
|
||||
</span><span><a class="LN" name="50"> 50 </a> <a href="rtwtypes_h.html#type_int8_T" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'type_int8_T');" target="_self"><font color="#1122aa">int8_T</font></a> Switch2; <span class="CT">/* '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2687:52')" name="code2model"><font color="#117755"><i><S13>/Switch2</i></font></a>' */</span>
|
||||
</span><span><a class="LN" name="51"> 51 </a> <a href="rtwtypes_h.html#type_int8_T" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'type_int8_T');" target="_self"><font color="#1122aa">int8_T</font></a> UnitDelay2_DSTATE_i; <span class="CT">/* '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2687:1318')" name="code2model"><font color="#117755"><i><S13>/UnitDelay2</i></font></a>' */</span>
|
||||
</span><span><a class="LN" name="52"> 52 </a> <a href="rtwtypes_h.html#type_int8_T" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'type_int8_T');" target="_self"><font color="#1122aa">int8_T</font></a> If1_ActiveSubsystem; <span class="CT">/* '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2687:434')" name="code2model"><font color="#117755"><i><S2>/If1</i></font></a>' */</span>
|
||||
</span><span><a class="LN" name="53"> 53 </a> <a href="rtwtypes_h.html#type_uint8_T" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'type_uint8_T');" target="_self"><font color="#1122aa">uint8_T</font></a> UnitDelay_DSTATE; <span class="CT">/* '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2687:31')" name="code2model"><font color="#117755"><i><S11>/UnitDelay</i></font></a>' */</span>
|
||||
</span><span><a class="LN" name="54"> 54 </a> <a href="rtwtypes_h.html#type_uint8_T" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'type_uint8_T');" target="_self"><font color="#1122aa">uint8_T</font></a> UnitDelay1_DSTATE_i; <span class="CT">/* '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2687:32')" name="code2model"><font color="#117755"><i><S11>/UnitDelay1</i></font></a>' */</span>
|
||||
</span><span><a class="LN" name="55"> 55 </a> <a href="rtwtypes_h.html#type_uint8_T" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'type_uint8_T');" target="_self"><font color="#1122aa">uint8_T</font></a> UnitDelay2_DSTATE_h; <span class="CT">/* '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2687:33')" name="code2model"><font color="#117755"><i><S11>/UnitDelay2</i></font></a>' */</span>
|
||||
</span><span><a class="LN" name="56"> 56 </a> <a href="rtwtypes_h.html#type_boolean_T" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'type_boolean_T');" target="_self"><font color="#1122aa">boolean_T</font></a> n_commDeacv_Mode; <span class="CT">/* '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2687:1328')" name="code2model"><font color="#117755"><i><S14>/n_commDeacv</i></font></a>' */</span>
|
||||
</span><span><a class="LN" name="57"> 57 </a> <a href="rtwtypes_h.html#type_boolean_T" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'type_boolean_T');" target="_self"><font color="#1122aa">boolean_T</font></a> dz_counter_Mode; <span class="CT">/* '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2687:1518')" name="code2model"><font color="#117755"><i><S14>/dz_counter</i></font></a>' */</span>
|
||||
</span><span><a class="LN" name="58"> 58 </a><b>}</b> <a name="type_DW">DW</a>;
|
||||
</span><span><a class="LN" name="59"> 59 </a>
|
||||
</span><span><a class="LN" name="60"> 60 </a><span class="CT">/* Constant parameters (auto storage) */</span>
|
||||
</span><span><a class="LN" name="61"> 61 </a><span class="KW">typedef</span> <span class="KW">struct</span> <b>{</b>
|
||||
</span><span><a class="LN" name="62"> 62 </a> <span class="CT">/* Computed Parameter: r_trapPhaA_M1_Table</span>
|
||||
</span><span><a class="LN" name="63"> 63 </a><span class="CT"> * Referenced by: '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2687:289')" name="code2model"><font color="#117755"><i><S18>/r_trapPhaA_M1</i></font></a>'</span>
|
||||
</span><span><a class="LN" name="64"> 64 </a><span class="CT"> */</span>
|
||||
</span><span><a class="LN" name="65"> 65 </a> <a href="rtwtypes_h.html#type_int16_T" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'type_int16_T');" target="_self"><font color="#1122aa">int16_T</font></a> r_trapPhaA_M1_Table[7];
|
||||
</span><span><a class="LN" name="66"> 66 </a>
|
||||
</span><span><a class="LN" name="67"> 67 </a> <span class="CT">/* Computed Parameter: r_trapPhaB_M1_Table</span>
|
||||
</span><span><a class="LN" name="68"> 68 </a><span class="CT"> * Referenced by: '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2687:290')" name="code2model"><font color="#117755"><i><S18>/r_trapPhaB_M1</i></font></a>'</span>
|
||||
</span><span><a class="LN" name="69"> 69 </a><span class="CT"> */</span>
|
||||
</span><span><a class="LN" name="70"> 70 </a> <a href="rtwtypes_h.html#type_int16_T" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'type_int16_T');" target="_self"><font color="#1122aa">int16_T</font></a> r_trapPhaB_M1_Table[7];
|
||||
</span><span><a class="LN" name="71"> 71 </a>
|
||||
</span><span><a class="LN" name="72"> 72 </a> <span class="CT">/* Computed Parameter: r_trapPhaC_M1_Table</span>
|
||||
</span><span><a class="LN" name="73"> 73 </a><span class="CT"> * Referenced by: '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2687:291')" name="code2model"><font color="#117755"><i><S18>/r_trapPhaC_M1</i></font></a>'</span>
|
||||
</span><span><a class="LN" name="74"> 74 </a><span class="CT"> */</span>
|
||||
</span><span><a class="LN" name="75"> 75 </a> <a href="rtwtypes_h.html#type_int16_T" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'type_int16_T');" target="_self"><font color="#1122aa">int16_T</font></a> r_trapPhaC_M1_Table[7];
|
||||
</span><span><a class="LN" name="76"> 76 </a>
|
||||
</span><span><a class="LN" name="77"> 77 </a> <span class="CT">/* Computed Parameter: r_sinPhaA_M1_Table</span>
|
||||
</span><span><a class="LN" name="78"> 78 </a><span class="CT"> * Referenced by: '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2687:309')" name="code2model"><font color="#117755"><i><S19>/r_sinPhaA_M1</i></font></a>'</span>
|
||||
</span><span><a class="LN" name="79"> 79 </a><span class="CT"> */</span>
|
||||
</span><span><a class="LN" name="80"> 80 </a> <a href="rtwtypes_h.html#type_int16_T" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'type_int16_T');" target="_self"><font color="#1122aa">int16_T</font></a> r_sinPhaA_M1_Table[37];
|
||||
</span><span><a class="LN" name="81"> 81 </a>
|
||||
</span><span><a class="LN" name="82"> 82 </a> <span class="CT">/* Computed Parameter: r_sinPhaB_M1_Table</span>
|
||||
</span><span><a class="LN" name="83"> 83 </a><span class="CT"> * Referenced by: '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2687:310')" name="code2model"><font color="#117755"><i><S19>/r_sinPhaB_M1</i></font></a>'</span>
|
||||
</span><span><a class="LN" name="84"> 84 </a><span class="CT"> */</span>
|
||||
</span><span><a class="LN" name="85"> 85 </a> <a href="rtwtypes_h.html#type_int16_T" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'type_int16_T');" target="_self"><font color="#1122aa">int16_T</font></a> r_sinPhaB_M1_Table[37];
|
||||
</span><span><a class="LN" name="86"> 86 </a>
|
||||
</span><span><a class="LN" name="87"> 87 </a> <span class="CT">/* Computed Parameter: r_sinPhaC_M1_Table</span>
|
||||
</span><span><a class="LN" name="88"> 88 </a><span class="CT"> * Referenced by: '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2687:311')" name="code2model"><font color="#117755"><i><S19>/r_sinPhaC_M1</i></font></a>'</span>
|
||||
</span><span><a class="LN" name="89"> 89 </a><span class="CT"> */</span>
|
||||
</span><span><a class="LN" name="90"> 90 </a> <a href="rtwtypes_h.html#type_int16_T" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'type_int16_T');" target="_self"><font color="#1122aa">int16_T</font></a> r_sinPhaC_M1_Table[37];
|
||||
</span><span><a class="LN" name="91"> 91 </a>
|
||||
</span><span><a class="LN" name="92"> 92 </a> <span class="CT">/* Computed Parameter: r_sin3PhaA_M1_Table</span>
|
||||
</span><span><a class="LN" name="93"> 93 </a><span class="CT"> * Referenced by: '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2687:299')" name="code2model"><font color="#117755"><i><S20>/r_sin3PhaA_M1</i></font></a>'</span>
|
||||
</span><span><a class="LN" name="94"> 94 </a><span class="CT"> */</span>
|
||||
</span><span><a class="LN" name="95"> 95 </a> <a href="rtwtypes_h.html#type_int16_T" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'type_int16_T');" target="_self"><font color="#1122aa">int16_T</font></a> r_sin3PhaA_M1_Table[37];
|
||||
</span><span><a class="LN" name="96"> 96 </a>
|
||||
</span><span><a class="LN" name="97"> 97 </a> <span class="CT">/* Computed Parameter: r_sin3PhaB_M1_Table</span>
|
||||
</span><span><a class="LN" name="98"> 98 </a><span class="CT"> * Referenced by: '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2687:300')" name="code2model"><font color="#117755"><i><S20>/r_sin3PhaB_M1</i></font></a>'</span>
|
||||
</span><span><a class="LN" name="99"> 99 </a><span class="CT"> */</span>
|
||||
</span><span><a class="LN" name="100"> 100 </a> <a href="rtwtypes_h.html#type_int16_T" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'type_int16_T');" target="_self"><font color="#1122aa">int16_T</font></a> r_sin3PhaB_M1_Table[37];
|
||||
</span><span><a class="LN" name="101"> 101 </a>
|
||||
</span><span><a class="LN" name="102"> 102 </a> <span class="CT">/* Computed Parameter: r_sin3PhaC_M1_Table</span>
|
||||
</span><span><a class="LN" name="103"> 103 </a><span class="CT"> * Referenced by: '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2687:301')" name="code2model"><font color="#117755"><i><S20>/r_sin3PhaC_M1</i></font></a>'</span>
|
||||
</span><span><a class="LN" name="104"> 104 </a><span class="CT"> */</span>
|
||||
</span><span><a class="LN" name="105"> 105 </a> <a href="rtwtypes_h.html#type_int16_T" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'type_int16_T');" target="_self"><font color="#1122aa">int16_T</font></a> r_sin3PhaC_M1_Table[37];
|
||||
</span><span><a class="LN" name="106"> 106 </a>
|
||||
</span><span><a class="LN" name="107"> 107 </a> <span class="CT">/* Computed Parameter: z_commutMap_M1_table</span>
|
||||
</span><span><a class="LN" name="108"> 108 </a><span class="CT"> * Referenced by: '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2687:411')" name="code2model"><font color="#117755"><i><S10>/z_commutMap_M1</i></font></a>'</span>
|
||||
</span><span><a class="LN" name="109"> 109 </a><span class="CT"> */</span>
|
||||
</span><span><a class="LN" name="110"> 110 </a> <a href="rtwtypes_h.html#type_int16_T" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'type_int16_T');" target="_self"><font color="#1122aa">int16_T</font></a> z_commutMap_M1_table[18];
|
||||
</span><span><a class="LN" name="111"> 111 </a>
|
||||
</span><span><a class="LN" name="112"> 112 </a> <span class="CT">/* Computed Parameter: vec_hallToPos_Value</span>
|
||||
</span><span><a class="LN" name="113"> 113 </a><span class="CT"> * Referenced by: '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2687:22')" name="code2model"><font color="#117755"><i><S12>/vec_hallToPos</i></font></a>'</span>
|
||||
</span><span><a class="LN" name="114"> 114 </a><span class="CT"> */</span>
|
||||
</span><span><a class="LN" name="115"> 115 </a> <a href="rtwtypes_h.html#type_int8_T" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'type_int8_T');" target="_self"><font color="#1122aa">int8_T</font></a> vec_hallToPos_Value[8];
|
||||
</span><span><a class="LN" name="116"> 116 </a><b>}</b> <a name="type_ConstP">ConstP</a>;
|
||||
</span><span><a class="LN" name="117"> 117 </a>
|
||||
</span><span><a class="LN" name="118"> 118 </a><span class="CT">/* External inputs (root inport signals with auto storage) */</span>
|
||||
</span><span><a class="LN" name="119"> 119 </a><span class="KW">typedef</span> <span class="KW">struct</span> <b>{</b>
|
||||
</span><span><a class="LN" name="120"> 120 </a> <a href="rtwtypes_h.html#type_uint8_T" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'type_uint8_T');" target="_self"><font color="#1122aa">uint8_T</font></a> b_hallA; <span class="CT">/* '<Root>/b_hallA ' */</span>
|
||||
</span><span><a class="LN" name="121"> 121 </a> <a href="rtwtypes_h.html#type_uint8_T" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'type_uint8_T');" target="_self"><font color="#1122aa">uint8_T</font></a> b_hallB; <span class="CT">/* '<Root>/b_hallB' */</span>
|
||||
</span><span><a class="LN" name="122"> 122 </a> <a href="rtwtypes_h.html#type_uint8_T" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'type_uint8_T');" target="_self"><font color="#1122aa">uint8_T</font></a> b_hallC; <span class="CT">/* '<Root>/b_hallC' */</span>
|
||||
</span><span><a class="LN" name="123"> 123 </a> <a href="rtwtypes_h.html#type_int32_T" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'type_int32_T');" target="_self"><font color="#1122aa">int32_T</font></a> r_DC; <span class="CT">/* '<Root>/r_DC' */</span>
|
||||
</span><span><a class="LN" name="124"> 124 </a><b>}</b> <a name="type_ExtU">ExtU</a>;
|
||||
</span><span><a class="LN" name="125"> 125 </a>
|
||||
</span><span><a class="LN" name="126"> 126 </a><span class="CT">/* External outputs (root outports fed by signals with auto storage) */</span>
|
||||
</span><span><a class="LN" name="127"> 127 </a><span class="KW">typedef</span> <span class="KW">struct</span> <b>{</b>
|
||||
</span><span><a class="LN" name="128"> 128 </a> <a href="rtwtypes_h.html#type_int32_T" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'type_int32_T');" target="_self"><font color="#1122aa">int32_T</font></a> DC_phaA; <span class="CT">/* '<Root>/DC_phaA' */</span>
|
||||
</span><span><a class="LN" name="129"> 129 </a> <a href="rtwtypes_h.html#type_int32_T" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'type_int32_T');" target="_self"><font color="#1122aa">int32_T</font></a> DC_phaB; <span class="CT">/* '<Root>/DC_phaB' */</span>
|
||||
</span><span><a class="LN" name="130"> 130 </a> <a href="rtwtypes_h.html#type_int32_T" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'type_int32_T');" target="_self"><font color="#1122aa">int32_T</font></a> DC_phaC; <span class="CT">/* '<Root>/DC_phaC' */</span>
|
||||
</span><span><a class="LN" name="131"> 131 </a> <a href="rtwtypes_h.html#type_int32_T" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'type_int32_T');" target="_self"><font color="#1122aa">int32_T</font></a> n_mot; <span class="CT">/* '<Root>/n_mot' */</span>
|
||||
</span><span><a class="LN" name="132"> 132 </a> <a href="rtwtypes_h.html#type_int32_T" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'type_int32_T');" target="_self"><font color="#1122aa">int32_T</font></a> a_elecAngle; <span class="CT">/* '<Root>/a_elecAngle' */</span>
|
||||
</span><span><a class="LN" name="133"> 133 </a><b>}</b> <a name="type_ExtY">ExtY</a>;
|
||||
</span><span><a class="LN" name="134"> 134 </a>
|
||||
</span><span><a class="LN" name="135"> 135 </a> <span class="CT">/* Pooled Parameter (Expression: r_trapPhaC_M1)</span>
|
||||
</span><span><a class="LN" name="136"> 136 </a><span class="CT"> * Referenced by:</span>
|
||||
</span><span><a class="LN" name="137"> 137 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2530:291')" name="code2model"><font color="#117755"><i><S41>/r_trapPhaC_M1</i></font></a>'</span>
|
||||
</span><span><a class="LN" name="138"> 138 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2531:291')" name="code2model"><font color="#117755"><i><S79>/r_trapPhaC_M1</i></font></a>'</span>
|
||||
</span><span><a class="LN" name="139"> 139 </a><span class="CT"> */</span>
|
||||
</span><span><a class="LN" name="140"> 140 </a> <a href="rtwtypes_h.html#type_int16_T" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'type_int16_T');" target="_self"><font color="#1122aa">int16_T</font></a> pooled11[7];
|
||||
</span><span><a class="LN" name="141"> 141 </a>
|
||||
</span><span><a class="LN" name="142"> 142 </a> <span class="CT">/* Pooled Parameter (Expression: r_sinPhaA_M1)</span>
|
||||
</span><span><a class="LN" name="143"> 143 </a><span class="CT"> * Referenced by:</span>
|
||||
</span><span><a class="LN" name="144"> 144 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2530:309')" name="code2model"><font color="#117755"><i><S43>/r_sinPhaA_M1</i></font></a>'</span>
|
||||
</span><span><a class="LN" name="145"> 145 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2531:309')" name="code2model"><font color="#117755"><i><S81>/r_sinPhaA_M1</i></font></a>'</span>
|
||||
</span><span><a class="LN" name="146"> 146 </a><span class="CT"> */</span>
|
||||
</span><span><a class="LN" name="147"> 147 </a> <a href="rtwtypes_h.html#type_int16_T" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'type_int16_T');" target="_self"><font color="#1122aa">int16_T</font></a> pooled12[37];
|
||||
</span><span><a class="LN" name="148"> 148 </a>
|
||||
</span><span><a class="LN" name="149"> 149 </a> <span class="CT">/* Pooled Parameter (Expression: r_sinPhaB_M1)</span>
|
||||
</span><span><a class="LN" name="150"> 150 </a><span class="CT"> * Referenced by:</span>
|
||||
</span><span><a class="LN" name="151"> 151 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2530:310')" name="code2model"><font color="#117755"><i><S43>/r_sinPhaB_M1</i></font></a>'</span>
|
||||
</span><span><a class="LN" name="152"> 152 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2531:310')" name="code2model"><font color="#117755"><i><S81>/r_sinPhaB_M1</i></font></a>'</span>
|
||||
</span><span><a class="LN" name="153"> 153 </a><span class="CT"> */</span>
|
||||
</span><span><a class="LN" name="154"> 154 </a> <a href="rtwtypes_h.html#type_int16_T" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'type_int16_T');" target="_self"><font color="#1122aa">int16_T</font></a> pooled13[37];
|
||||
</span><span><a class="LN" name="155"> 155 </a>
|
||||
</span><span><a class="LN" name="156"> 156 </a> <span class="CT">/* Pooled Parameter (Expression: r_sinPhaC_M1)</span>
|
||||
</span><span><a class="LN" name="157"> 157 </a><span class="CT"> * Referenced by:</span>
|
||||
</span><span><a class="LN" name="158"> 158 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2530:311')" name="code2model"><font color="#117755"><i><S43>/r_sinPhaC_M1</i></font></a>'</span>
|
||||
</span><span><a class="LN" name="159"> 159 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2531:311')" name="code2model"><font color="#117755"><i><S81>/r_sinPhaC_M1</i></font></a>'</span>
|
||||
</span><span><a class="LN" name="160"> 160 </a><span class="CT"> */</span>
|
||||
</span><span><a class="LN" name="161"> 161 </a> <a href="rtwtypes_h.html#type_int16_T" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'type_int16_T');" target="_self"><font color="#1122aa">int16_T</font></a> pooled14[37];
|
||||
</span><span><a class="LN" name="162"> 162 </a>
|
||||
</span><span><a class="LN" name="163"> 163 </a> <span class="CT">/* Pooled Parameter (Expression: r_sin3PhaA_M1)</span>
|
||||
</span><span><a class="LN" name="164"> 164 </a><span class="CT"> * Referenced by:</span>
|
||||
</span><span><a class="LN" name="165"> 165 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2530:299')" name="code2model"><font color="#117755"><i><S42>/r_sin3PhaA_M1</i></font></a>'</span>
|
||||
</span><span><a class="LN" name="166"> 166 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2531:299')" name="code2model"><font color="#117755"><i><S80>/r_sin3PhaA_M1</i></font></a>'</span>
|
||||
</span><span><a class="LN" name="167"> 167 </a><span class="CT"> */</span>
|
||||
</span><span><a class="LN" name="168"> 168 </a> <a href="rtwtypes_h.html#type_int16_T" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'type_int16_T');" target="_self"><font color="#1122aa">int16_T</font></a> pooled15[37];
|
||||
</span><span><a class="LN" name="169"> 169 </a>
|
||||
</span><span><a class="LN" name="170"> 170 </a> <span class="CT">/* Pooled Parameter (Expression: r_sin3PhaB_M1)</span>
|
||||
</span><span><a class="LN" name="171"> 171 </a><span class="CT"> * Referenced by:</span>
|
||||
</span><span><a class="LN" name="172"> 172 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2530:300')" name="code2model"><font color="#117755"><i><S42>/r_sin3PhaB_M1</i></font></a>'</span>
|
||||
</span><span><a class="LN" name="173"> 173 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2531:300')" name="code2model"><font color="#117755"><i><S80>/r_sin3PhaB_M1</i></font></a>'</span>
|
||||
</span><span><a class="LN" name="174"> 174 </a><span class="CT"> */</span>
|
||||
</span><span><a class="LN" name="175"> 175 </a> <a href="rtwtypes_h.html#type_int16_T" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'type_int16_T');" target="_self"><font color="#1122aa">int16_T</font></a> pooled16[37];
|
||||
</span><span><a class="LN" name="176"> 176 </a>
|
||||
</span><span><a class="LN" name="177"> 177 </a> <span class="CT">/* Pooled Parameter (Expression: r_sin3PhaC_M1)</span>
|
||||
</span><span><a class="LN" name="178"> 178 </a><span class="CT"> * Referenced by:</span>
|
||||
</span><span><a class="LN" name="179"> 179 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2530:301')" name="code2model"><font color="#117755"><i><S42>/r_sin3PhaC_M1</i></font></a>'</span>
|
||||
</span><span><a class="LN" name="180"> 180 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2531:301')" name="code2model"><font color="#117755"><i><S80>/r_sin3PhaC_M1</i></font></a>'</span>
|
||||
</span><span><a class="LN" name="181"> 181 </a><span class="CT"> */</span>
|
||||
</span><span><a class="LN" name="182"> 182 </a> <a href="rtwtypes_h.html#type_int16_T" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'type_int16_T');" target="_self"><font color="#1122aa">int16_T</font></a> pooled17[37];
|
||||
</span><span><a class="LN" name="183"> 183 </a>
|
||||
</span><span><a class="LN" name="184"> 184 </a> <span class="CT">/* Pooled Parameter (Expression: z_commutMap_M1)</span>
|
||||
</span><span><a class="LN" name="185"> 185 </a><span class="CT"> * Referenced by:</span>
|
||||
</span><span><a class="LN" name="186"> 186 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2530:411')" name="code2model"><font color="#117755"><i><S15>/z_commutMap_M1</i></font></a>'</span>
|
||||
</span><span><a class="LN" name="187"> 187 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2531:411')" name="code2model"><font color="#117755"><i><S53>/z_commutMap_M1</i></font></a>'</span>
|
||||
</span><span><a class="LN" name="188"> 188 </a><span class="CT"> */</span>
|
||||
</span><span><a class="LN" name="189"> 189 </a> <a href="rtwtypes_h.html#type_int16_T" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'type_int16_T');" target="_self"><font color="#1122aa">int16_T</font></a> pooled18[18];
|
||||
</span><span><a class="LN" name="190"> 190 </a>
|
||||
</span><span><a class="LN" name="191"> 191 </a> <span class="CT">/* Pooled Parameter (Expression: vec_hallToPos)</span>
|
||||
</span><span><a class="LN" name="192"> 192 </a><span class="CT"> * Referenced by:</span>
|
||||
</span><span><a class="LN" name="193"> 193 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2530:22')" name="code2model"><font color="#117755"><i><S21>/vec_hallToPos</i></font></a>'</span>
|
||||
</span><span><a class="LN" name="194"> 194 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2531:22')" name="code2model"><font color="#117755"><i><S59>/vec_hallToPos</i></font></a>'</span>
|
||||
</span><span><a class="LN" name="195"> 195 </a><span class="CT"> */</span>
|
||||
</span><span><a class="LN" name="196"> 196 </a> <a href="rtwtypes_h.html#type_uint8_T" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'type_uint8_T');" target="_self"><font color="#1122aa">uint8_T</font></a> pooled26[8];
|
||||
</span><span><a class="LN" name="197"> 197 </a>
|
||||
</span><span><a class="LN" name="198"> 198 </a> <span class="CT">/* Pooled Parameter (Expression: [0 1;1 0;0 1;0 1;1 0;1 0;0 0;0 0])</span>
|
||||
</span><span><a class="LN" name="199"> 199 </a><span class="CT"> * Referenced by:</span>
|
||||
</span><span><a class="LN" name="200"> 200 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2530:140:135')" name="code2model"><font color="#117755"><i><S29>/Logic</i></font></a>'</span>
|
||||
</span><span><a class="LN" name="201"> 201 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2531:140:135')" name="code2model"><font color="#117755"><i><S67>/Logic</i></font></a>'</span>
|
||||
</span><span><a class="LN" name="202"> 202 </a><span class="CT"> */</span>
|
||||
</span><span><a class="LN" name="203"> 203 </a> <a href="rtwtypes_h.html#type_boolean_T" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'type_boolean_T');" target="_self"><font color="#1122aa">boolean_T</font></a> pooled30[16];
|
||||
</span><span><a class="LN" name="204"> 204 </a><b>}</b> <a name="type_ConstP">ConstP</a>;
|
||||
</span><span><a class="LN" name="205"> 205 </a>
|
||||
</span><span><a class="LN" name="206"> 206 </a><span class="CT">/* External inputs (root inport signals with auto storage) */</span>
|
||||
</span><span><a class="LN" name="207"> 207 </a><span class="KW">typedef</span> <span class="KW">struct</span> <b>{</b>
|
||||
</span><span><a class="LN" name="208"> 208 </a> <a href="rtwtypes_h.html#type_uint8_T" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'type_uint8_T');" target="_self"><font color="#1122aa">uint8_T</font></a> b_hallALeft; <span class="CT">/* '<Root>/b_hallALeft ' */</span>
|
||||
</span><span><a class="LN" name="209"> 209 </a> <a href="rtwtypes_h.html#type_uint8_T" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'type_uint8_T');" target="_self"><font color="#1122aa">uint8_T</font></a> b_hallBLeft; <span class="CT">/* '<Root>/b_hallBLeft' */</span>
|
||||
</span><span><a class="LN" name="210"> 210 </a> <a href="rtwtypes_h.html#type_uint8_T" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'type_uint8_T');" target="_self"><font color="#1122aa">uint8_T</font></a> b_hallCLeft; <span class="CT">/* '<Root>/b_hallCLeft' */</span>
|
||||
</span><span><a class="LN" name="211"> 211 </a> <a href="rtwtypes_h.html#type_int32_T" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'type_int32_T');" target="_self"><font color="#1122aa">int32_T</font></a> r_DCLeft; <span class="CT">/* '<Root>/r_DCLeft' */</span>
|
||||
</span><span><a class="LN" name="212"> 212 </a> <a href="rtwtypes_h.html#type_uint8_T" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'type_uint8_T');" target="_self"><font color="#1122aa">uint8_T</font></a> b_hallARight; <span class="CT">/* '<Root>/b_hallARight' */</span>
|
||||
</span><span><a class="LN" name="213"> 213 </a> <a href="rtwtypes_h.html#type_uint8_T" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'type_uint8_T');" target="_self"><font color="#1122aa">uint8_T</font></a> b_hallBRight; <span class="CT">/* '<Root>/b_hallBRight' */</span>
|
||||
</span><span><a class="LN" name="214"> 214 </a> <a href="rtwtypes_h.html#type_uint8_T" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'type_uint8_T');" target="_self"><font color="#1122aa">uint8_T</font></a> b_hallCRight; <span class="CT">/* '<Root>/b_hallCRight' */</span>
|
||||
</span><span><a class="LN" name="215"> 215 </a> <a href="rtwtypes_h.html#type_int32_T" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'type_int32_T');" target="_self"><font color="#1122aa">int32_T</font></a> r_DCRight; <span class="CT">/* '<Root>/r_DCRight' */</span>
|
||||
</span><span><a class="LN" name="216"> 216 </a><b>}</b> <a name="type_ExtU">ExtU</a>;
|
||||
</span><span><a class="LN" name="217"> 217 </a>
|
||||
</span><span><a class="LN" name="218"> 218 </a><span class="CT">/* External outputs (root outports fed by signals with auto storage) */</span>
|
||||
</span><span><a class="LN" name="219"> 219 </a><span class="KW">typedef</span> <span class="KW">struct</span> <b>{</b>
|
||||
</span><span><a class="LN" name="220"> 220 </a> <a href="rtwtypes_h.html#type_int32_T" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'type_int32_T');" target="_self"><font color="#1122aa">int32_T</font></a> DC_phaALeft; <span class="CT">/* '<Root>/DC_phaALeft' */</span>
|
||||
</span><span><a class="LN" name="221"> 221 </a> <a href="rtwtypes_h.html#type_int32_T" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'type_int32_T');" target="_self"><font color="#1122aa">int32_T</font></a> DC_phaBLeft; <span class="CT">/* '<Root>/DC_phaBLeft' */</span>
|
||||
</span><span><a class="LN" name="222"> 222 </a> <a href="rtwtypes_h.html#type_int32_T" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'type_int32_T');" target="_self"><font color="#1122aa">int32_T</font></a> DC_phaCLeft; <span class="CT">/* '<Root>/DC_phaCLeft' */</span>
|
||||
</span><span><a class="LN" name="223"> 223 </a> <a href="rtwtypes_h.html#type_int32_T" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'type_int32_T');" target="_self"><font color="#1122aa">int32_T</font></a> n_motLeft; <span class="CT">/* '<Root>/n_motLeft' */</span>
|
||||
</span><span><a class="LN" name="224"> 224 </a> <a href="rtwtypes_h.html#type_int32_T" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'type_int32_T');" target="_self"><font color="#1122aa">int32_T</font></a> a_elecAngleLeft; <span class="CT">/* '<Root>/a_elecAngleLeft' */</span>
|
||||
</span><span><a class="LN" name="225"> 225 </a> <a href="rtwtypes_h.html#type_int32_T" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'type_int32_T');" target="_self"><font color="#1122aa">int32_T</font></a> DC_phaARight; <span class="CT">/* '<Root>/DC_phaARight' */</span>
|
||||
</span><span><a class="LN" name="226"> 226 </a> <a href="rtwtypes_h.html#type_int32_T" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'type_int32_T');" target="_self"><font color="#1122aa">int32_T</font></a> DC_phaBRight; <span class="CT">/* '<Root>/DC_phaBRight' */</span>
|
||||
</span><span><a class="LN" name="227"> 227 </a> <a href="rtwtypes_h.html#type_int32_T" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'type_int32_T');" target="_self"><font color="#1122aa">int32_T</font></a> DC_phaCRight; <span class="CT">/* '<Root>/DC_phaCRight' */</span>
|
||||
</span><span><a class="LN" name="228"> 228 </a> <a href="rtwtypes_h.html#type_int32_T" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'type_int32_T');" target="_self"><font color="#1122aa">int32_T</font></a> n_motRight; <span class="CT">/* '<Root>/n_motRight' */</span>
|
||||
</span><span><a class="LN" name="229"> 229 </a> <a href="rtwtypes_h.html#type_int32_T" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'type_int32_T');" target="_self"><font color="#1122aa">int32_T</font></a> a_elecAngleRight; <span class="CT">/* '<Root>/a_elecAngleRight' */</span>
|
||||
</span><span><a class="LN" name="230"> 230 </a><b>}</b> <a name="type_ExtY">ExtY</a>;
|
||||
</span><span><a class="LN" name="231"> 231 </a>
|
||||
</span><span><a class="LN" name="232"> 232 </a><span class="CT">/* Parameters (auto storage) */</span>
|
||||
</span><span><a class="LN" name="233"> 233 </a><span class="KW">struct</span> P_ <b>{</b>
|
||||
</span><span><a class="LN" name="234"> 234 </a> <a href="rtwtypes_h.html#type_int32_T" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'type_int32_T');" target="_self"><font color="#1122aa">int32_T</font></a> cf_speedCoef; <span class="CT">/* Variable: cf_speedCoef</span>
|
||||
</span><span><a class="LN" name="235"> 235 </a><span class="CT"> * Referenced by:</span>
|
||||
</span><span><a class="LN" name="236"> 236 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2530:132')" name="code2model"><font color="#117755"><i><S28>/cf_spdCoef</i></font></a>'</span>
|
||||
</span><span><a class="LN" name="237"> 237 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2531:132')" name="code2model"><font color="#117755"><i><S66>/cf_spdCoef</i></font></a>'</span>
|
||||
</span><span><a class="LN" name="238"> 238 </a><span class="CT"> */</span>
|
||||
</span><span><a class="LN" name="239"> 239 </a> <a href="rtwtypes_h.html#type_int32_T" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'type_int32_T');" target="_self"><font color="#1122aa">int32_T</font></a> n_commAcvLo; <span class="CT">/* Variable: n_commAcvLo</span>
|
||||
</span><span><a class="LN" name="240"> 240 </a><span class="CT"> * Referenced by:</span>
|
||||
</span><span><a class="LN" name="241"> 241 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2530:400')" name="code2model"><font color="#117755"><i><S15>/Relay</i></font></a>'</span>
|
||||
</span><span><a class="LN" name="242"> 242 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2531:400')" name="code2model"><font color="#117755"><i><S53>/Relay</i></font></a>'</span>
|
||||
</span><span><a class="LN" name="243"> 243 </a><span class="CT"> */</span>
|
||||
</span><span><a class="LN" name="244"> 244 </a> <a href="rtwtypes_h.html#type_int32_T" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'type_int32_T');" target="_self"><font color="#1122aa">int32_T</font></a> n_commDeacvHi; <span class="CT">/* Variable: n_commDeacvHi</span>
|
||||
</span><span><a class="LN" name="245"> 245 </a><span class="CT"> * Referenced by:</span>
|
||||
</span><span><a class="LN" name="246"> 246 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2530:400')" name="code2model"><font color="#117755"><i><S15>/Relay</i></font></a>'</span>
|
||||
</span><span><a class="LN" name="247"> 247 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2531:400')" name="code2model"><font color="#117755"><i><S53>/Relay</i></font></a>'</span>
|
||||
</span><span><a class="LN" name="248"> 248 </a><span class="CT"> */</span>
|
||||
</span><span><a class="LN" name="249"> 249 </a> <a href="rtwtypes_h.html#type_int32_T" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'type_int32_T');" target="_self"><font color="#1122aa">int32_T</font></a> r_commDCDeacv; <span class="CT">/* Variable: r_commDCDeacv</span>
|
||||
</span><span><a class="LN" name="250"> 250 </a><span class="CT"> * Referenced by:</span>
|
||||
</span><span><a class="LN" name="251"> 251 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2530:593')" name="code2model"><font color="#117755"><i><S15>/r_commDCDeacv</i></font></a>'</span>
|
||||
</span><span><a class="LN" name="252"> 252 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2531:593')" name="code2model"><font color="#117755"><i><S53>/r_commDCDeacv</i></font></a>'</span>
|
||||
</span><span><a class="LN" name="253"> 253 </a><span class="CT"> */</span>
|
||||
</span><span><a class="LN" name="254"> 254 </a> <a href="rtwtypes_h.html#type_int32_T" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'type_int32_T');" target="_self"><font color="#1122aa">int32_T</font></a> r_phaAdvDC_XA[11]; <span class="CT">/* Variable: r_phaAdvDC_XA</span>
|
||||
</span><span><a class="LN" name="255"> 255 </a><span class="CT"> * Referenced by:</span>
|
||||
</span><span><a class="LN" name="256"> 256 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2530:522')" name="code2model"><font color="#117755"><i><S13>/r_phaAdvDC_XA</i></font></a>'</span>
|
||||
</span><span><a class="LN" name="257"> 257 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2531:522')" name="code2model"><font color="#117755"><i><S51>/r_phaAdvDC_XA</i></font></a>'</span>
|
||||
</span><span><a class="LN" name="258"> 258 </a><span class="CT"> */</span>
|
||||
</span><span><a class="LN" name="259"> 259 </a> <a href="rtwtypes_h.html#type_int16_T" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'type_int16_T');" target="_self"><font color="#1122aa">int16_T</font></a> a_phaAdv_M1[11]; <span class="CT">/* Variable: a_phaAdv_M1</span>
|
||||
</span><span><a class="LN" name="260"> 260 </a><span class="CT"> * Referenced by:</span>
|
||||
</span><span><a class="LN" name="261"> 261 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2530:521')" name="code2model"><font color="#117755"><i><S13>/a_phaAdv_M2</i></font></a>'</span>
|
||||
</span><span><a class="LN" name="262"> 262 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2531:521')" name="code2model"><font color="#117755"><i><S51>/a_phaAdv_M2</i></font></a>'</span>
|
||||
</span><span><a class="LN" name="263"> 263 </a><span class="CT"> */</span>
|
||||
</span><span><a class="LN" name="264"> 264 </a> <a href="rtwtypes_h.html#type_int16_T" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'type_int16_T');" target="_self"><font color="#1122aa">int16_T</font></a> z_maxCntRst; <span class="CT">/* Variable: z_maxCntRst</span>
|
||||
</span><span><a class="LN" name="265"> 265 </a><span class="CT"> * Referenced by:</span>
|
||||
</span><span><a class="LN" name="266"> 266 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2530:171')" name="code2model"><font color="#117755"><i><S23>/z_maxCntRst</i></font></a>'</span>
|
||||
</span><span><a class="LN" name="267"> 267 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2530:726')" name="code2model"><font color="#117755"><i><S23>/z_maxCntRst1</i></font></a>'</span>
|
||||
</span><span><a class="LN" name="268"> 268 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2530:721')" name="code2model"><font color="#117755"><i><S23>/z_maxCntRst2</i></font></a>'</span>
|
||||
</span><span><a class="LN" name="269"> 269 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2530:169')" name="code2model"><font color="#117755"><i><S23>/z_counter2</i></font></a>'</span>
|
||||
</span><span><a class="LN" name="270"> 270 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2531:171')" name="code2model"><font color="#117755"><i><S61>/z_maxCntRst</i></font></a>'</span>
|
||||
</span><span><a class="LN" name="271"> 271 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2531:726')" name="code2model"><font color="#117755"><i><S61>/z_maxCntRst1</i></font></a>'</span>
|
||||
</span><span><a class="LN" name="272"> 272 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2531:721')" name="code2model"><font color="#117755"><i><S61>/z_maxCntRst2</i></font></a>'</span>
|
||||
</span><span><a class="LN" name="273"> 273 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2531:169')" name="code2model"><font color="#117755"><i><S61>/z_counter2</i></font></a>'</span>
|
||||
</span><span><a class="LN" name="274"> 274 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2530:133')" name="code2model"><font color="#117755"><i><S28>/z_maxCntRst</i></font></a>'</span>
|
||||
</span><span><a class="LN" name="275"> 275 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2531:133')" name="code2model"><font color="#117755"><i><S66>/z_maxCntRst</i></font></a>'</span>
|
||||
</span><span><a class="LN" name="276"> 276 </a><span class="CT"> */</span>
|
||||
</span><span><a class="LN" name="277"> 277 </a> <a href="rtwtypes_h.html#type_uint8_T" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'type_uint8_T');" target="_self"><font color="#1122aa">uint8_T</font></a> z_ctrlTypSel; <span class="CT">/* Variable: z_ctrlTypSel</span>
|
||||
</span><span><a class="LN" name="278"> 278 </a><span class="CT"> * Referenced by:</span>
|
||||
</span><span><a class="LN" name="279"> 279 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2530:208')" name="code2model"><font color="#117755"><i><S12>/z_ctrlTypSel1</i></font></a>'</span>
|
||||
</span><span><a class="LN" name="280"> 280 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2531:208')" name="code2model"><font color="#117755"><i><S50>/z_ctrlTypSel1</i></font></a>'</span>
|
||||
</span><span><a class="LN" name="281"> 281 </a><span class="CT"> */</span>
|
||||
</span><span><a class="LN" name="282"> 282 </a> <a href="rtwtypes_h.html#type_uint8_T" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'type_uint8_T');" target="_self"><font color="#1122aa">uint8_T</font></a> z_nrEdgeSpdAcv; <span class="CT">/* Variable: z_nrEdgeSpdAcv</span>
|
||||
</span><span><a class="LN" name="283"> 283 </a><span class="CT"> * Referenced by:</span>
|
||||
</span><span><a class="LN" name="284"> 284 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2530:172')" name="code2model"><font color="#117755"><i><S23>/z_nrEdgeSpdAcv</i></font></a>'</span>
|
||||
</span><span><a class="LN" name="285"> 285 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2531:172')" name="code2model"><font color="#117755"><i><S61>/z_nrEdgeSpdAcv</i></font></a>'</span>
|
||||
</span><span><a class="LN" name="286"> 286 </a><span class="CT"> */</span>
|
||||
</span><span><a class="LN" name="287"> 287 </a> <a href="rtwtypes_h.html#type_boolean_T" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'type_boolean_T');" target="_self"><font color="#1122aa">boolean_T</font></a> b_phaAdvEna; <span class="CT">/* Variable: b_phaAdvEna</span>
|
||||
</span><span><a class="LN" name="288"> 288 </a><span class="CT"> * Referenced by:</span>
|
||||
</span><span><a class="LN" name="289"> 289 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2530:512')" name="code2model"><font color="#117755"><i><S13>/a_elecPeriod1</i></font></a>'</span>
|
||||
</span><span><a class="LN" name="290"> 290 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2531:512')" name="code2model"><font color="#117755"><i><S51>/a_elecPeriod1</i></font></a>'</span>
|
||||
</span><span><a class="LN" name="291"> 291 </a><span class="CT"> */</span>
|
||||
</span><span><a class="LN" name="292"> 292 </a><b>}</b>;
|
||||
</span><span><a class="LN" name="293"> 293 </a>
|
||||
</span><span><a class="LN" name="294"> 294 </a><span class="CT">/* Parameters (auto storage) */</span>
|
||||
</span><span><a class="LN" name="295"> 295 </a><span class="KW">typedef</span> <span class="KW">struct</span> P_ <a name="type_P">P</a>;
|
||||
</span><span><a class="LN" name="296"> 296 </a>
|
||||
</span><span><a class="LN" name="297"> 297 </a><span class="CT">/* Block parameters (auto storage) */</span>
|
||||
</span><span><a class="LN" name="298"> 298 </a><span class="DT">extern</span> <a href="#type_P" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'type_P');" target="_self"><font color="#1122aa">P</font></a> <a href="BLDC_controller_data_c.html#var_rtP" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'var_rtP');" target="_self"><font color="#1122aa">rtP</font></a>;
|
||||
</span><span><a class="LN" name="299"> 299 </a>
|
||||
</span><span><a class="LN" name="300"> 300 </a><span class="CT">/* Block signals and states (auto storage) */</span>
|
||||
</span><span><a class="LN" name="301"> 301 </a><span class="DT">extern</span> <a href="#type_DW" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'type_DW');" target="_self"><font color="#1122aa">DW</font></a> <a href="BLDC_controller_c.html#var_rtDW" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'var_rtDW');" target="_self"><font color="#1122aa">rtDW</font></a>;
|
||||
</span><span><a class="LN" name="302"> 302 </a>
|
||||
</span><span><a class="LN" name="303"> 303 </a><span class="CT">/* External inputs (root inport signals with auto storage) */</span>
|
||||
</span><span><a class="LN" name="304"> 304 </a><span class="DT">extern</span> <a href="#type_ExtU" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'type_ExtU');" target="_self"><font color="#1122aa">ExtU</font></a> <a href="BLDC_controller_c.html#var_rtU" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'var_rtU');" target="_self"><font color="#1122aa">rtU</font></a>;
|
||||
</span><span><a class="LN" name="305"> 305 </a>
|
||||
</span><span><a class="LN" name="306"> 306 </a><span class="CT">/* External outputs (root outports fed by signals with auto storage) */</span>
|
||||
</span><span><a class="LN" name="307"> 307 </a><span class="DT">extern</span> <a href="#type_ExtY" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'type_ExtY');" target="_self"><font color="#1122aa">ExtY</font></a> <a href="BLDC_controller_c.html#var_rtY" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'var_rtY');" target="_self"><font color="#1122aa">rtY</font></a>;
|
||||
</span><span><a class="LN" name="308"> 308 </a>
|
||||
</span><span><a class="LN" name="309"> 309 </a><span class="CT">/* Constant parameters (auto storage) */</span>
|
||||
</span><span><a class="LN" name="310"> 310 </a><span class="DT">extern</span> <span class="DT">const</span> <a href="#type_ConstP" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'type_ConstP');" target="_self"><font color="#1122aa">ConstP</font></a> <a href="BLDC_controller_data_c.html#var_rtConstP" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'var_rtConstP');" target="_self"><font color="#1122aa">rtConstP</font></a>;
|
||||
</span><span><a class="LN" name="311"> 311 </a>
|
||||
</span><span><a class="LN" name="312"> 312 </a><span class="CT">/* Model entry point functions */</span>
|
||||
</span><span><a class="LN" name="313"> 313 </a><span class="DT">extern</span> <span class="DT">void</span> <a href="BLDC_controller_c.html#fcn_BLDC_controller_initialize" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'fcn_BLDC_controller_initialize');" target="_self"><font color="#1122aa">BLDC_controller_initialize</font></a>(<span class="DT">void</span>);
|
||||
</span><span><a class="LN" name="314"> 314 </a><span class="DT">extern</span> <span class="DT">void</span> <a href="BLDC_controller_c.html#fcn_BLDC_controller_step" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'fcn_BLDC_controller_step');" target="_self"><font color="#1122aa">BLDC_controller_step</font></a>(<span class="DT">void</span>);
|
||||
</span><span><a class="LN" name="315"> 315 </a>
|
||||
</span><span><a class="LN" name="316"> 316 </a><span class="CT">/*-</span>
|
||||
</span><span><a class="LN" name="317"> 317 </a><span class="CT"> * These blocks were eliminated from the model due to optimizations:</span>
|
||||
</span><span><a class="LN" name="318"> 318 </a><span class="CT"> *</span>
|
||||
</span><span><a class="LN" name="319"> 319 </a><span class="CT"> * Block '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2530:141')" name="code2model"><font color="#117755"><i><S23>/Scope2</i></font></a>' : Unused code path elimination</span>
|
||||
</span><span><a class="LN" name="320"> 320 </a><span class="CT"> * Block '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2530:262')" name="code2model"><font color="#117755"><i><S13>/Scope</i></font></a>' : Unused code path elimination</span>
|
||||
</span><span><a class="LN" name="321"> 321 </a><span class="CT"> * Block '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2531:141')" name="code2model"><font color="#117755"><i><S61>/Scope2</i></font></a>' : Unused code path elimination</span>
|
||||
</span><span><a class="LN" name="322"> 322 </a><span class="CT"> * Block '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2531:262')" name="code2model"><font color="#117755"><i><S51>/Scope</i></font></a>' : Unused code path elimination</span>
|
||||
</span><span><a class="LN" name="323"> 323 </a><span class="CT"> */</span>
|
||||
</span><span><a class="LN" name="324"> 324 </a>
|
||||
</span><span><a class="LN" name="325"> 325 </a><span class="CT">/*-</span>
|
||||
</span><span><a class="LN" name="326"> 326 </a><span class="CT"> * The generated code includes comments that allow you to trace directly</span>
|
||||
</span><span><a class="LN" name="327"> 327 </a><span class="CT"> * back to the appropriate location in the model. The basic format</span>
|
||||
</span><span><a class="LN" name="328"> 328 </a><span class="CT"> * is <system>/block_name, where system is the system number (uniquely</span>
|
||||
</span><span><a class="LN" name="329"> 329 </a><span class="CT"> * assigned by Simulink) and block_name is the name of the block.</span>
|
||||
</span><span><a class="LN" name="330"> 330 </a><span class="CT"> *</span>
|
||||
</span><span><a class="LN" name="331"> 331 </a><span class="CT"> * Note that this particular code originates from a subsystem build,</span>
|
||||
</span><span><a class="LN" name="332"> 332 </a><span class="CT"> * and has its own system numbers different from the parent model.</span>
|
||||
</span><span><a class="LN" name="333"> 333 </a><span class="CT"> * Refer to the system hierarchy for this subsystem below, and use the</span>
|
||||
</span><span><a class="LN" name="334"> 334 </a><span class="CT"> * MATLAB hilite_system command to trace the generated code back</span>
|
||||
</span><span><a class="LN" name="335"> 335 </a><span class="CT"> * to the parent model. For example,</span>
|
||||
</span><span><a class="LN" name="336"> 336 </a><span class="CT"> *</span>
|
||||
</span><span><a class="LN" name="337"> 337 </a><span class="CT"> * hilite_system('BLDCmotorControl_R2017b/BLDC_controller') - opens subsystem BLDCmotorControl_R2017b/BLDC_controller</span>
|
||||
</span><span><a class="LN" name="338"> 338 </a><span class="CT"> * hilite_system('BLDCmotorControl_R2017b/BLDC_controller/Kp') - opens and selects block Kp</span>
|
||||
</span><span><a class="LN" name="339"> 339 </a><span class="CT"> *</span>
|
||||
</span><span><a class="LN" name="340"> 340 </a><span class="CT"> * Here is the system hierarchy for this model</span>
|
||||
</span><span><a class="LN" name="341"> 341 </a><span class="CT"> *</span>
|
||||
</span><span><a class="LN" name="342"> 342 </a><span class="CT"> * '<Root>' : 'BLDCmotorControl_R2017b'</span>
|
||||
</span><span><a class="LN" name="343"> 343 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:29')" name="code2model"><font color="#117755"><i><S1></i></font></a>' : 'BLDCmotorControl_R2017b/BLDC_controller'</span>
|
||||
</span><span><a class="LN" name="344"> 344 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2530')" name="code2model"><font color="#117755"><i><S2></i></font></a>' : 'BLDCmotorControl_R2017b/BLDC_controller/BLDC_controller_Left'</span>
|
||||
</span><span><a class="LN" name="345"> 345 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2531')" name="code2model"><font color="#117755"><i><S3></i></font></a>' : 'BLDCmotorControl_R2017b/BLDC_controller/BLDC_controller_Right'</span>
|
||||
</span><span><a class="LN" name="346"> 346 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:1831')" name="code2model"><font color="#117755"><i><S4></i></font></a>' : 'BLDCmotorControl_R2017b/BLDC_controller/signal_log1'</span>
|
||||
</span><span><a class="LN" name="347"> 347 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:1834')" name="code2model"><font color="#117755"><i><S5></i></font></a>' : 'BLDCmotorControl_R2017b/BLDC_controller/signal_log2'</span>
|
||||
</span><span><a class="LN" name="348"> 348 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:1837')" name="code2model"><font color="#117755"><i><S6></i></font></a>' : 'BLDCmotorControl_R2017b/BLDC_controller/signal_log3'</span>
|
||||
</span><span><a class="LN" name="349"> 349 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2550')" name="code2model"><font color="#117755"><i><S7></i></font></a>' : 'BLDCmotorControl_R2017b/BLDC_controller/signal_log4'</span>
|
||||
</span><span><a class="LN" name="350"> 350 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2553')" name="code2model"><font color="#117755"><i><S8></i></font></a>' : 'BLDCmotorControl_R2017b/BLDC_controller/signal_log5'</span>
|
||||
</span><span><a class="LN" name="351"> 351 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:1828')" name="code2model"><font color="#117755"><i><S9></i></font></a>' : 'BLDCmotorControl_R2017b/BLDC_controller/signal_log6'</span>
|
||||
</span><span><a class="LN" name="352"> 352 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2556')" name="code2model"><font color="#117755"><i><S10></i></font></a>' : 'BLDCmotorControl_R2017b/BLDC_controller/signal_log7'</span>
|
||||
</span><span><a class="LN" name="353"> 353 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2559')" name="code2model"><font color="#117755"><i><S11></i></font></a>' : 'BLDCmotorControl_R2017b/BLDC_controller/signal_log8'</span>
|
||||
</span><span><a class="LN" name="354"> 354 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2530:6')" name="code2model"><font color="#117755"><i><S12></i></font></a>' : 'BLDCmotorControl_R2017b/BLDC_controller/BLDC_controller_Left/F01_Preliminary_Calculations'</span>
|
||||
</span><span><a class="LN" name="355"> 355 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2530:215')" name="code2model"><font color="#117755"><i><S13></i></font></a>' : 'BLDCmotorControl_R2017b/BLDC_controller/BLDC_controller_Left/F02_Electrical_Angle_Calculation'</span>
|
||||
</span><span><a class="LN" name="356"> 356 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2530:282')" name="code2model"><font color="#117755"><i><S14></i></font></a>' : 'BLDCmotorControl_R2017b/BLDC_controller/BLDC_controller_Left/F03_Control_Method_Selection'</span>
|
||||
</span><span><a class="LN" name="357"> 357 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2530:361')" name="code2model"><font color="#117755"><i><S15></i></font></a>' : 'BLDCmotorControl_R2017b/BLDC_controller/BLDC_controller_Left/F04_Control_Type_Management'</span>
|
||||
</span><span><a class="LN" name="358"> 358 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2530:435')" name="code2model"><font color="#117755"><i><S16></i></font></a>' : 'BLDCmotorControl_R2017b/BLDC_controller/BLDC_controller_Left/signal_log1'</span>
|
||||
</span><span><a class="LN" name="359"> 359 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2530:438')" name="code2model"><font color="#117755"><i><S17></i></font></a>' : 'BLDCmotorControl_R2017b/BLDC_controller/BLDC_controller_Left/signal_log2'</span>
|
||||
</span><span><a class="LN" name="360"> 360 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2530:441')" name="code2model"><font color="#117755"><i><S18></i></font></a>' : 'BLDCmotorControl_R2017b/BLDC_controller/BLDC_controller_Left/signal_log3'</span>
|
||||
</span><span><a class="LN" name="361"> 361 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2530:444')" name="code2model"><font color="#117755"><i><S19></i></font></a>' : 'BLDCmotorControl_R2017b/BLDC_controller/BLDC_controller_Left/signal_log6'</span>
|
||||
</span><span><a class="LN" name="362"> 362 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2530:26')" name="code2model"><font color="#117755"><i><S20></i></font></a>' : 'BLDCmotorControl_R2017b/BLDC_controller/BLDC_controller_Left/F01_Preliminary_Calculations/F01_01_Edge_Detector'</span>
|
||||
</span><span><a class="LN" name="363"> 363 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2530:10')" name="code2model"><font color="#117755"><i><S21></i></font></a>' : 'BLDCmotorControl_R2017b/BLDC_controller/BLDC_controller_Left/F01_Preliminary_Calculations/F01_02_Position_Calculation'</span>
|
||||
</span><span><a class="LN" name="364"> 364 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2530:38')" name="code2model"><font color="#117755"><i><S22></i></font></a>' : 'BLDCmotorControl_R2017b/BLDC_controller/BLDC_controller_Left/F01_Preliminary_Calculations/F01_03_Direction_Detection'</span>
|
||||
</span><span><a class="LN" name="365"> 365 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2530:59')" name="code2model"><font color="#117755"><i><S23></i></font></a>' : 'BLDCmotorControl_R2017b/BLDC_controller/BLDC_controller_Left/F01_Preliminary_Calculations/F01_04_Speed_Calculation'</span>
|
||||
</span><span><a class="LN" name="366"> 366 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2530:34')" name="code2model"><font color="#117755"><i><S24></i></font></a>' : 'BLDCmotorControl_R2017b/BLDC_controller/BLDC_controller_Left/F01_Preliminary_Calculations/F01_01_Edge_Detector/signal_log6'</span>
|
||||
</span><span><a class="LN" name="367"> 367 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2530:19')" name="code2model"><font color="#117755"><i><S25></i></font></a>' : 'BLDCmotorControl_R2017b/BLDC_controller/BLDC_controller_Left/F01_Preliminary_Calculations/F01_02_Position_Calculation/signal_log6'</span>
|
||||
</span><span><a class="LN" name="368"> 368 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2530:54')" name="code2model"><font color="#117755"><i><S26></i></font></a>' : 'BLDCmotorControl_R2017b/BLDC_controller/BLDC_controller_Left/F01_Preliminary_Calculations/F01_03_Direction_Detection/signal_log6'</span>
|
||||
</span><span><a class="LN" name="369"> 369 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2530:65')" name="code2model"><font color="#117755"><i><S27></i></font></a>' : 'BLDCmotorControl_R2017b/BLDC_controller/BLDC_controller_Left/F01_Preliminary_Calculations/F01_04_Speed_Calculation/Edge_counter'</span>
|
||||
</span><span><a class="LN" name="370"> 370 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2530:124')" name="code2model"><font color="#117755"><i><S28></i></font></a>' : 'BLDCmotorControl_R2017b/BLDC_controller/BLDC_controller_Left/F01_Preliminary_Calculations/F01_04_Speed_Calculation/Motor_Speed_Calculation'</span>
|
||||
</span><span><a class="LN" name="371"> 371 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2530:140')" name="code2model"><font color="#117755"><i><S29></i></font></a>' : 'BLDCmotorControl_R2017b/BLDC_controller/BLDC_controller_Left/F01_Preliminary_Calculations/F01_04_Speed_Calculation/S-R Flip-Flop'</span>
|
||||
</span><span><a class="LN" name="372"> 372 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2530:733')" name="code2model"><font color="#117755"><i><S30></i></font></a>' : 'BLDCmotorControl_R2017b/BLDC_controller/BLDC_controller_Left/F01_Preliminary_Calculations/F01_04_Speed_Calculation/falling_edge2'</span>
|
||||
</span><span><a class="LN" name="373"> 373 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2530:588')" name="code2model"><font color="#117755"><i><S31></i></font></a>' : 'BLDCmotorControl_R2017b/BLDC_controller/BLDC_controller_Left/F01_Preliminary_Calculations/F01_04_Speed_Calculation/rising_edge'</span>
|
||||
</span><span><a class="LN" name="374"> 374 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2530:479')" name="code2model"><font color="#117755"><i><S32></i></font></a>' : 'BLDCmotorControl_R2017b/BLDC_controller/BLDC_controller_Left/F01_Preliminary_Calculations/F01_04_Speed_Calculation/rst_Delay'</span>
|
||||
</span><span><a class="LN" name="375"> 375 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2530:154')" name="code2model"><font color="#117755"><i><S33></i></font></a>' : 'BLDCmotorControl_R2017b/BLDC_controller/BLDC_controller_Left/F01_Preliminary_Calculations/F01_04_Speed_Calculation/signal_log1'</span>
|
||||
</span><span><a class="LN" name="376"> 376 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2530:160')" name="code2model"><font color="#117755"><i><S34></i></font></a>' : 'BLDCmotorControl_R2017b/BLDC_controller/BLDC_controller_Left/F01_Preliminary_Calculations/F01_04_Speed_Calculation/signal_log3'</span>
|
||||
</span><span><a class="LN" name="377"> 377 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2530:163')" name="code2model"><font color="#117755"><i><S35></i></font></a>' : 'BLDCmotorControl_R2017b/BLDC_controller/BLDC_controller_Left/F01_Preliminary_Calculations/F01_04_Speed_Calculation/signal_log4'</span>
|
||||
</span><span><a class="LN" name="378"> 378 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2530:616')" name="code2model"><font color="#117755"><i><S36></i></font></a>' : 'BLDCmotorControl_R2017b/BLDC_controller/BLDC_controller_Left/F01_Preliminary_Calculations/F01_04_Speed_Calculation/signal_log5'</span>
|
||||
</span><span><a class="LN" name="379"> 379 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2530:480')" name="code2model"><font color="#117755"><i><S37></i></font></a>' : 'BLDCmotorControl_R2017b/BLDC_controller/BLDC_controller_Left/F01_Preliminary_Calculations/F01_04_Speed_Calculation/Edge_counter/rst_Delay'</span>
|
||||
</span><span><a class="LN" name="380"> 380 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2530:579')" name="code2model"><font color="#117755"><i><S38></i></font></a>' : 'BLDCmotorControl_R2017b/BLDC_controller/BLDC_controller_Left/F02_Electrical_Angle_Calculation/signal_log1'</span>
|
||||
</span><span><a class="LN" name="381"> 381 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2530:272')" name="code2model"><font color="#117755"><i><S39></i></font></a>' : 'BLDCmotorControl_R2017b/BLDC_controller/BLDC_controller_Left/F02_Electrical_Angle_Calculation/signal_log2'</span>
|
||||
</span><span><a class="LN" name="382"> 382 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2530:275')" name="code2model"><font color="#117755"><i><S40></i></font></a>' : 'BLDCmotorControl_R2017b/BLDC_controller/BLDC_controller_Left/F02_Electrical_Angle_Calculation/signal_log6'</span>
|
||||
</span><span><a class="LN" name="383"> 383 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2530:285')" name="code2model"><font color="#117755"><i><S41></i></font></a>' : 'BLDCmotorControl_R2017b/BLDC_controller/BLDC_controller_Left/F03_Control_Method_Selection/F03_01_Pure_Trapezoidal_Method'</span>
|
||||
</span><span><a class="LN" name="384"> 384 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2530:295')" name="code2model"><font color="#117755"><i><S42></i></font></a>' : 'BLDCmotorControl_R2017b/BLDC_controller/BLDC_controller_Left/F03_Control_Method_Selection/F03_02_Sinusoidal3rd_Method'</span>
|
||||
</span><span><a class="LN" name="385"> 385 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2530:305')" name="code2model"><font color="#117755"><i><S43></i></font></a>' : 'BLDCmotorControl_R2017b/BLDC_controller/BLDC_controller_Left/F03_Control_Method_Selection/F03_02_Sinusoidal_Method'</span>
|
||||
</span><span><a class="LN" name="386"> 386 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2530:349')" name="code2model"><font color="#117755"><i><S44></i></font></a>' : 'BLDCmotorControl_R2017b/BLDC_controller/BLDC_controller_Left/F03_Control_Method_Selection/signal_log1'</span>
|
||||
</span><span><a class="LN" name="387"> 387 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2530:352')" name="code2model"><font color="#117755"><i><S45></i></font></a>' : 'BLDCmotorControl_R2017b/BLDC_controller/BLDC_controller_Left/F03_Control_Method_Selection/signal_log2'</span>
|
||||
</span><span><a class="LN" name="388"> 388 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2530:355')" name="code2model"><font color="#117755"><i><S46></i></font></a>' : 'BLDCmotorControl_R2017b/BLDC_controller/BLDC_controller_Left/F03_Control_Method_Selection/signal_log6'</span>
|
||||
</span><span><a class="LN" name="389"> 389 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2530:402')" name="code2model"><font color="#117755"><i><S47></i></font></a>' : 'BLDCmotorControl_R2017b/BLDC_controller/BLDC_controller_Left/F04_Control_Type_Management/signal_log1'</span>
|
||||
</span><span><a class="LN" name="390"> 390 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2530:405')" name="code2model"><font color="#117755"><i><S48></i></font></a>' : 'BLDCmotorControl_R2017b/BLDC_controller/BLDC_controller_Left/F04_Control_Type_Management/signal_log2'</span>
|
||||
</span><span><a class="LN" name="391"> 391 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2530:408')" name="code2model"><font color="#117755"><i><S49></i></font></a>' : 'BLDCmotorControl_R2017b/BLDC_controller/BLDC_controller_Left/F04_Control_Type_Management/signal_log6'</span>
|
||||
</span><span><a class="LN" name="392"> 392 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2531:6')" name="code2model"><font color="#117755"><i><S50></i></font></a>' : 'BLDCmotorControl_R2017b/BLDC_controller/BLDC_controller_Right/F01_Preliminary_Calculations'</span>
|
||||
</span><span><a class="LN" name="393"> 393 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2531:215')" name="code2model"><font color="#117755"><i><S51></i></font></a>' : 'BLDCmotorControl_R2017b/BLDC_controller/BLDC_controller_Right/F02_Electrical_Angle_Calculation'</span>
|
||||
</span><span><a class="LN" name="394"> 394 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2531:282')" name="code2model"><font color="#117755"><i><S52></i></font></a>' : 'BLDCmotorControl_R2017b/BLDC_controller/BLDC_controller_Right/F03_Control_Method_Selection'</span>
|
||||
</span><span><a class="LN" name="395"> 395 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2531:361')" name="code2model"><font color="#117755"><i><S53></i></font></a>' : 'BLDCmotorControl_R2017b/BLDC_controller/BLDC_controller_Right/F04_Control_Type_Management'</span>
|
||||
</span><span><a class="LN" name="396"> 396 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2531:435')" name="code2model"><font color="#117755"><i><S54></i></font></a>' : 'BLDCmotorControl_R2017b/BLDC_controller/BLDC_controller_Right/signal_log1'</span>
|
||||
</span><span><a class="LN" name="397"> 397 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2531:438')" name="code2model"><font color="#117755"><i><S55></i></font></a>' : 'BLDCmotorControl_R2017b/BLDC_controller/BLDC_controller_Right/signal_log2'</span>
|
||||
</span><span><a class="LN" name="398"> 398 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2531:441')" name="code2model"><font color="#117755"><i><S56></i></font></a>' : 'BLDCmotorControl_R2017b/BLDC_controller/BLDC_controller_Right/signal_log3'</span>
|
||||
</span><span><a class="LN" name="399"> 399 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2531:444')" name="code2model"><font color="#117755"><i><S57></i></font></a>' : 'BLDCmotorControl_R2017b/BLDC_controller/BLDC_controller_Right/signal_log6'</span>
|
||||
</span><span><a class="LN" name="400"> 400 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2531:26')" name="code2model"><font color="#117755"><i><S58></i></font></a>' : 'BLDCmotorControl_R2017b/BLDC_controller/BLDC_controller_Right/F01_Preliminary_Calculations/F01_01_Edge_Detector'</span>
|
||||
</span><span><a class="LN" name="401"> 401 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2531:10')" name="code2model"><font color="#117755"><i><S59></i></font></a>' : 'BLDCmotorControl_R2017b/BLDC_controller/BLDC_controller_Right/F01_Preliminary_Calculations/F01_02_Position_Calculation'</span>
|
||||
</span><span><a class="LN" name="402"> 402 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2531:38')" name="code2model"><font color="#117755"><i><S60></i></font></a>' : 'BLDCmotorControl_R2017b/BLDC_controller/BLDC_controller_Right/F01_Preliminary_Calculations/F01_03_Direction_Detection'</span>
|
||||
</span><span><a class="LN" name="403"> 403 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2531:59')" name="code2model"><font color="#117755"><i><S61></i></font></a>' : 'BLDCmotorControl_R2017b/BLDC_controller/BLDC_controller_Right/F01_Preliminary_Calculations/F01_04_Speed_Calculation'</span>
|
||||
</span><span><a class="LN" name="404"> 404 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2531:34')" name="code2model"><font color="#117755"><i><S62></i></font></a>' : 'BLDCmotorControl_R2017b/BLDC_controller/BLDC_controller_Right/F01_Preliminary_Calculations/F01_01_Edge_Detector/signal_log6'</span>
|
||||
</span><span><a class="LN" name="405"> 405 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2531:19')" name="code2model"><font color="#117755"><i><S63></i></font></a>' : 'BLDCmotorControl_R2017b/BLDC_controller/BLDC_controller_Right/F01_Preliminary_Calculations/F01_02_Position_Calculation/signal_log6'</span>
|
||||
</span><span><a class="LN" name="406"> 406 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2531:54')" name="code2model"><font color="#117755"><i><S64></i></font></a>' : 'BLDCmotorControl_R2017b/BLDC_controller/BLDC_controller_Right/F01_Preliminary_Calculations/F01_03_Direction_Detection/signal_log6'</span>
|
||||
</span><span><a class="LN" name="407"> 407 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2531:65')" name="code2model"><font color="#117755"><i><S65></i></font></a>' : 'BLDCmotorControl_R2017b/BLDC_controller/BLDC_controller_Right/F01_Preliminary_Calculations/F01_04_Speed_Calculation/Edge_counter'</span>
|
||||
</span><span><a class="LN" name="408"> 408 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2531:124')" name="code2model"><font color="#117755"><i><S66></i></font></a>' : 'BLDCmotorControl_R2017b/BLDC_controller/BLDC_controller_Right/F01_Preliminary_Calculations/F01_04_Speed_Calculation/Motor_Speed_Calculation'</span>
|
||||
</span><span><a class="LN" name="409"> 409 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2531:140')" name="code2model"><font color="#117755"><i><S67></i></font></a>' : 'BLDCmotorControl_R2017b/BLDC_controller/BLDC_controller_Right/F01_Preliminary_Calculations/F01_04_Speed_Calculation/S-R Flip-Flop'</span>
|
||||
</span><span><a class="LN" name="410"> 410 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2531:733')" name="code2model"><font color="#117755"><i><S68></i></font></a>' : 'BLDCmotorControl_R2017b/BLDC_controller/BLDC_controller_Right/F01_Preliminary_Calculations/F01_04_Speed_Calculation/falling_edge2'</span>
|
||||
</span><span><a class="LN" name="411"> 411 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2531:588')" name="code2model"><font color="#117755"><i><S69></i></font></a>' : 'BLDCmotorControl_R2017b/BLDC_controller/BLDC_controller_Right/F01_Preliminary_Calculations/F01_04_Speed_Calculation/rising_edge'</span>
|
||||
</span><span><a class="LN" name="412"> 412 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2531:479')" name="code2model"><font color="#117755"><i><S70></i></font></a>' : 'BLDCmotorControl_R2017b/BLDC_controller/BLDC_controller_Right/F01_Preliminary_Calculations/F01_04_Speed_Calculation/rst_Delay'</span>
|
||||
</span><span><a class="LN" name="413"> 413 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2531:154')" name="code2model"><font color="#117755"><i><S71></i></font></a>' : 'BLDCmotorControl_R2017b/BLDC_controller/BLDC_controller_Right/F01_Preliminary_Calculations/F01_04_Speed_Calculation/signal_log1'</span>
|
||||
</span><span><a class="LN" name="414"> 414 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2531:160')" name="code2model"><font color="#117755"><i><S72></i></font></a>' : 'BLDCmotorControl_R2017b/BLDC_controller/BLDC_controller_Right/F01_Preliminary_Calculations/F01_04_Speed_Calculation/signal_log3'</span>
|
||||
</span><span><a class="LN" name="415"> 415 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2531:163')" name="code2model"><font color="#117755"><i><S73></i></font></a>' : 'BLDCmotorControl_R2017b/BLDC_controller/BLDC_controller_Right/F01_Preliminary_Calculations/F01_04_Speed_Calculation/signal_log4'</span>
|
||||
</span><span><a class="LN" name="416"> 416 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2531:616')" name="code2model"><font color="#117755"><i><S74></i></font></a>' : 'BLDCmotorControl_R2017b/BLDC_controller/BLDC_controller_Right/F01_Preliminary_Calculations/F01_04_Speed_Calculation/signal_log5'</span>
|
||||
</span><span><a class="LN" name="417"> 417 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2531:480')" name="code2model"><font color="#117755"><i><S75></i></font></a>' : 'BLDCmotorControl_R2017b/BLDC_controller/BLDC_controller_Right/F01_Preliminary_Calculations/F01_04_Speed_Calculation/Edge_counter/rst_Delay'</span>
|
||||
</span><span><a class="LN" name="418"> 418 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2531:579')" name="code2model"><font color="#117755"><i><S76></i></font></a>' : 'BLDCmotorControl_R2017b/BLDC_controller/BLDC_controller_Right/F02_Electrical_Angle_Calculation/signal_log1'</span>
|
||||
</span><span><a class="LN" name="419"> 419 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2531:272')" name="code2model"><font color="#117755"><i><S77></i></font></a>' : 'BLDCmotorControl_R2017b/BLDC_controller/BLDC_controller_Right/F02_Electrical_Angle_Calculation/signal_log2'</span>
|
||||
</span><span><a class="LN" name="420"> 420 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2531:275')" name="code2model"><font color="#117755"><i><S78></i></font></a>' : 'BLDCmotorControl_R2017b/BLDC_controller/BLDC_controller_Right/F02_Electrical_Angle_Calculation/signal_log6'</span>
|
||||
</span><span><a class="LN" name="421"> 421 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2531:285')" name="code2model"><font color="#117755"><i><S79></i></font></a>' : 'BLDCmotorControl_R2017b/BLDC_controller/BLDC_controller_Right/F03_Control_Method_Selection/F03_01_Pure_Trapezoidal_Method'</span>
|
||||
</span><span><a class="LN" name="422"> 422 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2531:295')" name="code2model"><font color="#117755"><i><S80></i></font></a>' : 'BLDCmotorControl_R2017b/BLDC_controller/BLDC_controller_Right/F03_Control_Method_Selection/F03_02_Sinusoidal3rd_Method'</span>
|
||||
</span><span><a class="LN" name="423"> 423 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2531:305')" name="code2model"><font color="#117755"><i><S81></i></font></a>' : 'BLDCmotorControl_R2017b/BLDC_controller/BLDC_controller_Right/F03_Control_Method_Selection/F03_02_Sinusoidal_Method'</span>
|
||||
</span><span><a class="LN" name="424"> 424 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2531:349')" name="code2model"><font color="#117755"><i><S82></i></font></a>' : 'BLDCmotorControl_R2017b/BLDC_controller/BLDC_controller_Right/F03_Control_Method_Selection/signal_log1'</span>
|
||||
</span><span><a class="LN" name="425"> 425 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2531:352')" name="code2model"><font color="#117755"><i><S83></i></font></a>' : 'BLDCmotorControl_R2017b/BLDC_controller/BLDC_controller_Right/F03_Control_Method_Selection/signal_log2'</span>
|
||||
</span><span><a class="LN" name="426"> 426 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2531:355')" name="code2model"><font color="#117755"><i><S84></i></font></a>' : 'BLDCmotorControl_R2017b/BLDC_controller/BLDC_controller_Right/F03_Control_Method_Selection/signal_log6'</span>
|
||||
</span><span><a class="LN" name="427"> 427 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2531:402')" name="code2model"><font color="#117755"><i><S85></i></font></a>' : 'BLDCmotorControl_R2017b/BLDC_controller/BLDC_controller_Right/F04_Control_Type_Management/signal_log1'</span>
|
||||
</span><span><a class="LN" name="428"> 428 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2531:405')" name="code2model"><font color="#117755"><i><S86></i></font></a>' : 'BLDCmotorControl_R2017b/BLDC_controller/BLDC_controller_Right/F04_Control_Type_Management/signal_log2'</span>
|
||||
</span><span><a class="LN" name="429"> 429 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2531:408')" name="code2model"><font color="#117755"><i><S87></i></font></a>' : 'BLDCmotorControl_R2017b/BLDC_controller/BLDC_controller_Right/F04_Control_Type_Management/signal_log6'</span>
|
||||
</span><span><a class="LN" name="430"> 430 </a><span class="CT"> */</span>
|
||||
</span><span><a class="LN" name="431"> 431 </a><font color="#992211">#</font><span class="PP">endif</span> <span class="CT">/* RTW_HEADER_BLDC_controller_h_ */</span>
|
||||
</span><span><a class="LN" name="432"> 432 </a>
|
||||
</span><span><a class="LN" name="433"> 433 </a><span class="CT">/*</span>
|
||||
</span><span><a class="LN" name="434"> 434 </a><span class="CT"> * File trailer for generated code.</span>
|
||||
</span><span><a class="LN" name="435"> 435 </a><span class="CT"> *</span>
|
||||
</span><span><a class="LN" name="436"> 436 </a><span class="CT"> * [EOF]</span>
|
||||
</span><span><a class="LN" name="437"> 437 </a><span class="CT"> */</span>
|
||||
</span><span><a class="LN" name="438"> 438 </a>
|
||||
</span><span><a class="LN" name="135"> 135 </a><span class="CT">/* Parameters (auto storage) */</span>
|
||||
</span><span><a class="LN" name="136"> 136 </a><span class="KW">struct</span> P_ <b>{</b>
|
||||
</span><span><a class="LN" name="137"> 137 </a> <a href="rtwtypes_h.html#type_int32_T" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'type_int32_T');" target="_self"><font color="#1122aa">int32_T</font></a> cf_speedCoef; <span class="CT">/* Variable: cf_speedCoef</span>
|
||||
</span><span><a class="LN" name="138"> 138 </a><span class="CT"> * Referenced by: '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2687:1447')" name="code2model"><font color="#117755"><i><S16>/cf_spdCoef</i></font></a>'</span>
|
||||
</span><span><a class="LN" name="139"> 139 </a><span class="CT"> */</span>
|
||||
</span><span><a class="LN" name="140"> 140 </a> <a href="rtwtypes_h.html#type_int32_T" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'type_int32_T');" target="_self"><font color="#1122aa">int32_T</font></a> cf_speedFilt; <span class="CT">/* Variable: cf_speedFilt</span>
|
||||
</span><span><a class="LN" name="141"> 141 </a><span class="CT"> * Referenced by: '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2687:1448')" name="code2model"><font color="#117755"><i><S16>/cf_speedFilt</i></font></a>'</span>
|
||||
</span><span><a class="LN" name="142"> 142 </a><span class="CT"> */</span>
|
||||
</span><span><a class="LN" name="143"> 143 </a> <a href="rtwtypes_h.html#type_int32_T" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'type_int32_T');" target="_self"><font color="#1122aa">int32_T</font></a> n_commAcvLo; <span class="CT">/* Variable: n_commAcvLo</span>
|
||||
</span><span><a class="LN" name="144"> 144 </a><span class="CT"> * Referenced by: '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2687:1328')" name="code2model"><font color="#117755"><i><S14>/n_commDeacv</i></font></a>'</span>
|
||||
</span><span><a class="LN" name="145"> 145 </a><span class="CT"> */</span>
|
||||
</span><span><a class="LN" name="146"> 146 </a> <a href="rtwtypes_h.html#type_int32_T" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'type_int32_T');" target="_self"><font color="#1122aa">int32_T</font></a> n_commDeacvHi; <span class="CT">/* Variable: n_commDeacvHi</span>
|
||||
</span><span><a class="LN" name="147"> 147 </a><span class="CT"> * Referenced by: '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2687:1328')" name="code2model"><font color="#117755"><i><S14>/n_commDeacv</i></font></a>'</span>
|
||||
</span><span><a class="LN" name="148"> 148 </a><span class="CT"> */</span>
|
||||
</span><span><a class="LN" name="149"> 149 </a> <a href="rtwtypes_h.html#type_int32_T" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'type_int32_T');" target="_self"><font color="#1122aa">int32_T</font></a> r_commDCDeacv; <span class="CT">/* Variable: r_commDCDeacv</span>
|
||||
</span><span><a class="LN" name="150"> 150 </a><span class="CT"> * Referenced by: '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2687:1329')" name="code2model"><font color="#117755"><i><S14>/r_commDCDeacv</i></font></a>'</span>
|
||||
</span><span><a class="LN" name="151"> 151 </a><span class="CT"> */</span>
|
||||
</span><span><a class="LN" name="152"> 152 </a> <a href="rtwtypes_h.html#type_int32_T" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'type_int32_T');" target="_self"><font color="#1122aa">int32_T</font></a> r_phaAdvDC_XA[11]; <span class="CT">/* Variable: r_phaAdvDC_XA</span>
|
||||
</span><span><a class="LN" name="153"> 153 </a><span class="CT"> * Referenced by: '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2687:522')" name="code2model"><font color="#117755"><i><S8>/r_phaAdvDC_XA</i></font></a>'</span>
|
||||
</span><span><a class="LN" name="154"> 154 </a><span class="CT"> */</span>
|
||||
</span><span><a class="LN" name="155"> 155 </a> <a href="rtwtypes_h.html#type_int16_T" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'type_int16_T');" target="_self"><font color="#1122aa">int16_T</font></a> a_phaAdv_M1[11]; <span class="CT">/* Variable: a_phaAdv_M1</span>
|
||||
</span><span><a class="LN" name="156"> 156 </a><span class="CT"> * Referenced by: '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2687:521')" name="code2model"><font color="#117755"><i><S8>/a_phaAdv_M2</i></font></a>'</span>
|
||||
</span><span><a class="LN" name="157"> 157 </a><span class="CT"> */</span>
|
||||
</span><span><a class="LN" name="158"> 158 </a> <a href="rtwtypes_h.html#type_int16_T" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'type_int16_T');" target="_self"><font color="#1122aa">int16_T</font></a> dz_counterHi; <span class="CT">/* Variable: dz_counterHi</span>
|
||||
</span><span><a class="LN" name="159"> 159 </a><span class="CT"> * Referenced by: '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2687:1518')" name="code2model"><font color="#117755"><i><S14>/dz_counter</i></font></a>'</span>
|
||||
</span><span><a class="LN" name="160"> 160 </a><span class="CT"> */</span>
|
||||
</span><span><a class="LN" name="161"> 161 </a> <a href="rtwtypes_h.html#type_int16_T" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'type_int16_T');" target="_self"><font color="#1122aa">int16_T</font></a> dz_counterLo; <span class="CT">/* Variable: dz_counterLo</span>
|
||||
</span><span><a class="LN" name="162"> 162 </a><span class="CT"> * Referenced by: '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2687:1518')" name="code2model"><font color="#117755"><i><S14>/dz_counter</i></font></a>'</span>
|
||||
</span><span><a class="LN" name="163"> 163 </a><span class="CT"> */</span>
|
||||
</span><span><a class="LN" name="164"> 164 </a> <a href="rtwtypes_h.html#type_uint8_T" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'type_uint8_T');" target="_self"><font color="#1122aa">uint8_T</font></a> z_ctrlTypSel; <span class="CT">/* Variable: z_ctrlTypSel</span>
|
||||
</span><span><a class="LN" name="165"> 165 </a><span class="CT"> * Referenced by: '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2687:208')" name="code2model"><font color="#117755"><i><S7>/z_ctrlTypSel1</i></font></a>'</span>
|
||||
</span><span><a class="LN" name="166"> 166 </a><span class="CT"> */</span>
|
||||
</span><span><a class="LN" name="167"> 167 </a> <a href="rtwtypes_h.html#type_boolean_T" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'type_boolean_T');" target="_self"><font color="#1122aa">boolean_T</font></a> b_phaAdvEna; <span class="CT">/* Variable: b_phaAdvEna</span>
|
||||
</span><span><a class="LN" name="168"> 168 </a><span class="CT"> * Referenced by: '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2687:512')" name="code2model"><font color="#117755"><i><S8>/a_elecPeriod1</i></font></a>'</span>
|
||||
</span><span><a class="LN" name="169"> 169 </a><span class="CT"> */</span>
|
||||
</span><span><a class="LN" name="170"> 170 </a><b>}</b>;
|
||||
</span><span><a class="LN" name="171"> 171 </a>
|
||||
</span><span><a class="LN" name="172"> 172 </a><span class="CT">/* Parameters (auto storage) */</span>
|
||||
</span><span><a class="LN" name="173"> 173 </a><span class="KW">typedef</span> <span class="KW">struct</span> P_ <a name="type_P">P</a>;
|
||||
</span><span><a class="LN" name="174"> 174 </a>
|
||||
</span><span><a class="LN" name="175"> 175 </a><span class="CT">/* Real-time Model Data Structure */</span>
|
||||
</span><span><a class="LN" name="176"> 176 </a><span class="KW">struct</span> tag_RTM <b>{</b>
|
||||
</span><span><a class="LN" name="177"> 177 </a> <a href="#type_P" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'type_P');" target="_self"><font color="#1122aa">P</font></a> *defaultParam;
|
||||
</span><span><a class="LN" name="178"> 178 </a> <a href="#type_ExtU" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'type_ExtU');" target="_self"><font color="#1122aa">ExtU</font></a> *inputs;
|
||||
</span><span><a class="LN" name="179"> 179 </a> <a href="#type_ExtY" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'type_ExtY');" target="_self"><font color="#1122aa">ExtY</font></a> *outputs;
|
||||
</span><span><a class="LN" name="180"> 180 </a> <a href="#type_DW" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'type_DW');" target="_self"><font color="#1122aa">DW</font></a> *dwork;
|
||||
</span><span><a class="LN" name="181"> 181 </a><b>}</b>;
|
||||
</span><span><a class="LN" name="182"> 182 </a>
|
||||
</span><span><a class="LN" name="183"> 183 </a><span class="CT">/* Constant parameters (auto storage) */</span>
|
||||
</span><span><a class="LN" name="184"> 184 </a><span class="DT">extern</span> <span class="DT">const</span> <a href="#type_ConstP" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'type_ConstP');" target="_self"><font color="#1122aa">ConstP</font></a> <a href="BLDC_controller_data_c.html#var_rtConstP" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'var_rtConstP');" target="_self"><font color="#1122aa">rtConstP</font></a>;
|
||||
</span><span><a class="LN" name="185"> 185 </a>
|
||||
</span><span><a class="LN" name="186"> 186 </a><span class="CT">/* Model entry point functions */</span>
|
||||
</span><span><a class="LN" name="187"> 187 </a><span class="DT">extern</span> <span class="DT">void</span> <a href="BLDC_controller_c.html#fcn_BLDC_controller_initialize" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'fcn_BLDC_controller_initialize');" target="_self"><font color="#1122aa">BLDC_controller_initialize</font></a>(<a href="#type_RT_MODEL" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'type_RT_MODEL');" target="_self"><font color="#1122aa">RT_MODEL</font></a> *<span class="DT">const</span> rtM);
|
||||
</span><span><a class="LN" name="188"> 188 </a><span class="DT">extern</span> <span class="DT">void</span> <a href="BLDC_controller_c.html#fcn_BLDC_controller_step" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'fcn_BLDC_controller_step');" target="_self"><font color="#1122aa">BLDC_controller_step</font></a>(<a href="#type_RT_MODEL" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'type_RT_MODEL');" target="_self"><font color="#1122aa">RT_MODEL</font></a> *<span class="DT">const</span> rtM);
|
||||
</span><span><a class="LN" name="189"> 189 </a>
|
||||
</span><span><a class="LN" name="190"> 190 </a><span class="CT">/*-</span>
|
||||
</span><span><a class="LN" name="191"> 191 </a><span class="CT"> * These blocks were eliminated from the model due to optimizations:</span>
|
||||
</span><span><a class="LN" name="192"> 192 </a><span class="CT"> *</span>
|
||||
</span><span><a class="LN" name="193"> 193 </a><span class="CT"> * Block '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2687:141')" name="code2model"><font color="#117755"><i><S14>/Scope2</i></font></a>' : Unused code path elimination</span>
|
||||
</span><span><a class="LN" name="194"> 194 </a><span class="CT"> * Block '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2687:262')" name="code2model"><font color="#117755"><i><S8>/Scope</i></font></a>' : Unused code path elimination</span>
|
||||
</span><span><a class="LN" name="195"> 195 </a><span class="CT"> */</span>
|
||||
</span><span><a class="LN" name="196"> 196 </a>
|
||||
</span><span><a class="LN" name="197"> 197 </a><span class="CT">/*-</span>
|
||||
</span><span><a class="LN" name="198"> 198 </a><span class="CT"> * The generated code includes comments that allow you to trace directly</span>
|
||||
</span><span><a class="LN" name="199"> 199 </a><span class="CT"> * back to the appropriate location in the model. The basic format</span>
|
||||
</span><span><a class="LN" name="200"> 200 </a><span class="CT"> * is <system>/block_name, where system is the system number (uniquely</span>
|
||||
</span><span><a class="LN" name="201"> 201 </a><span class="CT"> * assigned by Simulink) and block_name is the name of the block.</span>
|
||||
</span><span><a class="LN" name="202"> 202 </a><span class="CT"> *</span>
|
||||
</span><span><a class="LN" name="203"> 203 </a><span class="CT"> * Note that this particular code originates from a subsystem build,</span>
|
||||
</span><span><a class="LN" name="204"> 204 </a><span class="CT"> * and has its own system numbers different from the parent model.</span>
|
||||
</span><span><a class="LN" name="205"> 205 </a><span class="CT"> * Refer to the system hierarchy for this subsystem below, and use the</span>
|
||||
</span><span><a class="LN" name="206"> 206 </a><span class="CT"> * MATLAB hilite_system command to trace the generated code back</span>
|
||||
</span><span><a class="LN" name="207"> 207 </a><span class="CT"> * to the parent model. For example,</span>
|
||||
</span><span><a class="LN" name="208"> 208 </a><span class="CT"> *</span>
|
||||
</span><span><a class="LN" name="209"> 209 </a><span class="CT"> * hilite_system('BLDCmotorControl_R2017b/BLDC_controller') - opens subsystem BLDCmotorControl_R2017b/BLDC_controller</span>
|
||||
</span><span><a class="LN" name="210"> 210 </a><span class="CT"> * hilite_system('BLDCmotorControl_R2017b/BLDC_controller/Kp') - opens and selects block Kp</span>
|
||||
</span><span><a class="LN" name="211"> 211 </a><span class="CT"> *</span>
|
||||
</span><span><a class="LN" name="212"> 212 </a><span class="CT"> * Here is the system hierarchy for this model</span>
|
||||
</span><span><a class="LN" name="213"> 213 </a><span class="CT"> *</span>
|
||||
</span><span><a class="LN" name="214"> 214 </a><span class="CT"> * '<Root>' : 'BLDCmotorControl_R2017b'</span>
|
||||
</span><span><a class="LN" name="215"> 215 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:29')" name="code2model"><font color="#117755"><i><S1></i></font></a>' : 'BLDCmotorControl_R2017b/BLDC_controller'</span>
|
||||
</span><span><a class="LN" name="216"> 216 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2687')" name="code2model"><font color="#117755"><i><S2></i></font></a>' : 'BLDCmotorControl_R2017b/BLDC_controller/BLDC_controller'</span>
|
||||
</span><span><a class="LN" name="217"> 217 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:1831')" name="code2model"><font color="#117755"><i><S3></i></font></a>' : 'BLDCmotorControl_R2017b/BLDC_controller/signal_log1'</span>
|
||||
</span><span><a class="LN" name="218"> 218 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:1834')" name="code2model"><font color="#117755"><i><S4></i></font></a>' : 'BLDCmotorControl_R2017b/BLDC_controller/signal_log2'</span>
|
||||
</span><span><a class="LN" name="219"> 219 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:1837')" name="code2model"><font color="#117755"><i><S5></i></font></a>' : 'BLDCmotorControl_R2017b/BLDC_controller/signal_log3'</span>
|
||||
</span><span><a class="LN" name="220"> 220 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:1828')" name="code2model"><font color="#117755"><i><S6></i></font></a>' : 'BLDCmotorControl_R2017b/BLDC_controller/signal_log6'</span>
|
||||
</span><span><a class="LN" name="221"> 221 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2687:6')" name="code2model"><font color="#117755"><i><S7></i></font></a>' : 'BLDCmotorControl_R2017b/BLDC_controller/BLDC_controller/F01_Preliminary_Calculations'</span>
|
||||
</span><span><a class="LN" name="222"> 222 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2687:215')" name="code2model"><font color="#117755"><i><S8></i></font></a>' : 'BLDCmotorControl_R2017b/BLDC_controller/BLDC_controller/F02_Electrical_Angle_Calculation'</span>
|
||||
</span><span><a class="LN" name="223"> 223 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2687:282')" name="code2model"><font color="#117755"><i><S9></i></font></a>' : 'BLDCmotorControl_R2017b/BLDC_controller/BLDC_controller/F03_Control_Method_Selection'</span>
|
||||
</span><span><a class="LN" name="224"> 224 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2687:361')" name="code2model"><font color="#117755"><i><S10></i></font></a>' : 'BLDCmotorControl_R2017b/BLDC_controller/BLDC_controller/F04_Control_Type_Management'</span>
|
||||
</span><span><a class="LN" name="225"> 225 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2687:26')" name="code2model"><font color="#117755"><i><S11></i></font></a>' : 'BLDCmotorControl_R2017b/BLDC_controller/BLDC_controller/F01_Preliminary_Calculations/F01_01_Edge_Detector'</span>
|
||||
</span><span><a class="LN" name="226"> 226 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2687:10')" name="code2model"><font color="#117755"><i><S12></i></font></a>' : 'BLDCmotorControl_R2017b/BLDC_controller/BLDC_controller/F01_Preliminary_Calculations/F01_02_Position_Calculation'</span>
|
||||
</span><span><a class="LN" name="227"> 227 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2687:38')" name="code2model"><font color="#117755"><i><S13></i></font></a>' : 'BLDCmotorControl_R2017b/BLDC_controller/BLDC_controller/F01_Preliminary_Calculations/F01_03_Direction_Detection'</span>
|
||||
</span><span><a class="LN" name="228"> 228 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2687:59')" name="code2model"><font color="#117755"><i><S14></i></font></a>' : 'BLDCmotorControl_R2017b/BLDC_controller/BLDC_controller/F01_Preliminary_Calculations/F01_04_Speed_Calculation'</span>
|
||||
</span><span><a class="LN" name="229"> 229 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2687:1340')" name="code2model"><font color="#117755"><i><S15></i></font></a>' : 'BLDCmotorControl_R2017b/BLDC_controller/BLDC_controller/F01_Preliminary_Calculations/F01_04_Speed_Calculation/Counter_Hold_and_Error_Calculation'</span>
|
||||
</span><span><a class="LN" name="230"> 230 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2687:1401')" name="code2model"><font color="#117755"><i><S16></i></font></a>' : 'BLDCmotorControl_R2017b/BLDC_controller/BLDC_controller/F01_Preliminary_Calculations/F01_04_Speed_Calculation/Motor_Speed_Calculation'</span>
|
||||
</span><span><a class="LN" name="231"> 231 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2687:1651')" name="code2model"><font color="#117755"><i><S17></i></font></a>' : 'BLDCmotorControl_R2017b/BLDC_controller/BLDC_controller/F01_Preliminary_Calculations/F01_04_Speed_Calculation/rst_DelayLim'</span>
|
||||
</span><span><a class="LN" name="232"> 232 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2687:285')" name="code2model"><font color="#117755"><i><S18></i></font></a>' : 'BLDCmotorControl_R2017b/BLDC_controller/BLDC_controller/F03_Control_Method_Selection/F03_01_Pure_Trapezoidal_Method'</span>
|
||||
</span><span><a class="LN" name="233"> 233 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2687:305')" name="code2model"><font color="#117755"><i><S19></i></font></a>' : 'BLDCmotorControl_R2017b/BLDC_controller/BLDC_controller/F03_Control_Method_Selection/F03_02_Sinusoidal_Method'</span>
|
||||
</span><span><a class="LN" name="234"> 234 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2687:295')" name="code2model"><font color="#117755"><i><S20></i></font></a>' : 'BLDCmotorControl_R2017b/BLDC_controller/BLDC_controller/F03_Control_Method_Selection/F03_03_Sinusoidal3rd_Method'</span>
|
||||
</span><span><a class="LN" name="235"> 235 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2687:349')" name="code2model"><font color="#117755"><i><S21></i></font></a>' : 'BLDCmotorControl_R2017b/BLDC_controller/BLDC_controller/F03_Control_Method_Selection/signal_log1'</span>
|
||||
</span><span><a class="LN" name="236"> 236 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2687:352')" name="code2model"><font color="#117755"><i><S22></i></font></a>' : 'BLDCmotorControl_R2017b/BLDC_controller/BLDC_controller/F03_Control_Method_Selection/signal_log2'</span>
|
||||
</span><span><a class="LN" name="237"> 237 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2687:355')" name="code2model"><font color="#117755"><i><S23></i></font></a>' : 'BLDCmotorControl_R2017b/BLDC_controller/BLDC_controller/F03_Control_Method_Selection/signal_log6'</span>
|
||||
</span><span><a class="LN" name="238"> 238 </a><span class="CT"> */</span>
|
||||
</span><span><a class="LN" name="239"> 239 </a><font color="#992211">#</font><span class="PP">endif</span> <span class="CT">/* RTW_HEADER_BLDC_controller_h_ */</span>
|
||||
</span><span><a class="LN" name="240"> 240 </a>
|
||||
</span><span><a class="LN" name="241"> 241 </a><span class="CT">/*</span>
|
||||
</span><span><a class="LN" name="242"> 242 </a><span class="CT"> * File trailer for generated code.</span>
|
||||
</span><span><a class="LN" name="243"> 243 </a><span class="CT"> *</span>
|
||||
</span><span><a class="LN" name="244"> 244 </a><span class="CT"> * [EOF]</span>
|
||||
</span><span><a class="LN" name="245"> 245 </a><span class="CT"> */</span>
|
||||
</span><span><a class="LN" name="246"> 246 </a>
|
||||
</span></pre>
|
||||
</td></tr></table>
|
||||
</p>
|
||||
|
@ -63,7 +63,7 @@ Prototype
|
||||
</td>
|
||||
<td width="75%" align="left" valign="top">
|
||||
<b>
|
||||
void BLDC_controller_initialize(void)
|
||||
void BLDC_controller_initialize(RT_MODEL *const rtM)
|
||||
</b>
|
||||
|
||||
</td>
|
||||
@ -92,7 +92,52 @@ Must be called exactly once
|
||||
Arguments
|
||||
</td>
|
||||
<td width="75%" align="left" valign="top">
|
||||
None
|
||||
<table class="AltRow FirstColumn" cellspacing="0">
|
||||
<tr class="heading">
|
||||
<th align="left" valign="top">
|
||||
<b>
|
||||
#
|
||||
</b>
|
||||
|
||||
</th>
|
||||
<th align="left" valign="top">
|
||||
<b>
|
||||
Name
|
||||
</b>
|
||||
|
||||
</th>
|
||||
<th align="left" valign="top">
|
||||
<b>
|
||||
Data Type
|
||||
</b>
|
||||
|
||||
</th>
|
||||
<th align="left" valign="top">
|
||||
<b>
|
||||
Description
|
||||
</b>
|
||||
|
||||
</th>
|
||||
|
||||
</tr>
|
||||
<tr class="even">
|
||||
<td align="right" valign="top">
|
||||
1
|
||||
</td>
|
||||
<td align="left" valign="top">
|
||||
rtM
|
||||
</td>
|
||||
<td align="left" valign="top">
|
||||
RT_MODEL *const
|
||||
</td>
|
||||
<td align="left" valign="top">
|
||||
RTModel
|
||||
</td>
|
||||
|
||||
</tr>
|
||||
|
||||
</table>
|
||||
|
||||
</td>
|
||||
|
||||
</tr>
|
||||
@ -126,7 +171,7 @@ Prototype
|
||||
</td>
|
||||
<td width="75%" align="left" valign="top">
|
||||
<b>
|
||||
void BLDC_controller_step(void)
|
||||
void BLDC_controller_step(RT_MODEL *const rtM)
|
||||
</b>
|
||||
|
||||
</td>
|
||||
@ -146,7 +191,7 @@ Output entry point of generated code
|
||||
Timing
|
||||
</td>
|
||||
<td width="75%" align="left" valign="top">
|
||||
Must be called periodically, every 1e-05 seconds
|
||||
Must be called periodically, every 6e-05 seconds
|
||||
</td>
|
||||
|
||||
</tr>
|
||||
@ -155,7 +200,52 @@ Must be called periodically, every 1e-05 seconds
|
||||
Arguments
|
||||
</td>
|
||||
<td width="75%" align="left" valign="top">
|
||||
None
|
||||
<table class="AltRow FirstColumn" cellspacing="0">
|
||||
<tr class="heading">
|
||||
<th align="left" valign="top">
|
||||
<b>
|
||||
#
|
||||
</b>
|
||||
|
||||
</th>
|
||||
<th align="left" valign="top">
|
||||
<b>
|
||||
Name
|
||||
</b>
|
||||
|
||||
</th>
|
||||
<th align="left" valign="top">
|
||||
<b>
|
||||
Data Type
|
||||
</b>
|
||||
|
||||
</th>
|
||||
<th align="left" valign="top">
|
||||
<b>
|
||||
Description
|
||||
</b>
|
||||
|
||||
</th>
|
||||
|
||||
</tr>
|
||||
<tr class="even">
|
||||
<td align="right" valign="top">
|
||||
1
|
||||
</td>
|
||||
<td align="left" valign="top">
|
||||
rtM
|
||||
</td>
|
||||
<td align="left" valign="top">
|
||||
RT_MODEL *const
|
||||
</td>
|
||||
<td align="left" valign="top">
|
||||
RTModel
|
||||
</td>
|
||||
|
||||
</tr>
|
||||
|
||||
</table>
|
||||
|
||||
</td>
|
||||
|
||||
</tr>
|
||||
@ -215,10 +305,13 @@ Dimension
|
||||
</tr>
|
||||
<tr class="even">
|
||||
<td width="42%" align="left" valign="top">
|
||||
<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:365')" name="code2model" class="code2model"><S1>/b_hallALeft </a>
|
||||
<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:365')" name="code2model" class="code2model"><S1>/b_hallA </a>
|
||||
</td>
|
||||
<td width="26%" align="left" valign="top">
|
||||
rtU.b_hallALeft
|
||||
<i>
|
||||
Defined externally
|
||||
</i>
|
||||
|
||||
</td>
|
||||
<td width="21%" align="left" valign="top">
|
||||
uint8_T
|
||||
@ -230,10 +323,13 @@ uint8_T
|
||||
</tr>
|
||||
<tr class="odd">
|
||||
<td width="42%" align="left" valign="top">
|
||||
<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:1277')" name="code2model" class="code2model"><S1>/b_hallBLeft</a>
|
||||
<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:1277')" name="code2model" class="code2model"><S1>/b_hallB</a>
|
||||
</td>
|
||||
<td width="26%" align="left" valign="top">
|
||||
rtU.b_hallBLeft
|
||||
<i>
|
||||
Defined externally
|
||||
</i>
|
||||
|
||||
</td>
|
||||
<td width="21%" align="left" valign="top">
|
||||
uint8_T
|
||||
@ -245,10 +341,13 @@ uint8_T
|
||||
</tr>
|
||||
<tr class="even">
|
||||
<td width="42%" align="left" valign="top">
|
||||
<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:1278')" name="code2model" class="code2model"><S1>/b_hallCLeft</a>
|
||||
<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:1278')" name="code2model" class="code2model"><S1>/b_hallC</a>
|
||||
</td>
|
||||
<td width="26%" align="left" valign="top">
|
||||
rtU.b_hallCLeft
|
||||
<i>
|
||||
Defined externally
|
||||
</i>
|
||||
|
||||
</td>
|
||||
<td width="21%" align="left" valign="top">
|
||||
uint8_T
|
||||
@ -260,70 +359,13 @@ uint8_T
|
||||
</tr>
|
||||
<tr class="odd">
|
||||
<td width="42%" align="left" valign="top">
|
||||
<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:1766')" name="code2model" class="code2model"><S1>/r_DCLeft</a>
|
||||
<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:1766')" name="code2model" class="code2model"><S1>/r_DC</a>
|
||||
</td>
|
||||
<td width="26%" align="left" valign="top">
|
||||
rtU.r_DCLeft
|
||||
</td>
|
||||
<td width="21%" align="left" valign="top">
|
||||
int32_T
|
||||
</td>
|
||||
<td width="10%" align="right" valign="top">
|
||||
1
|
||||
</td>
|
||||
<i>
|
||||
Defined externally
|
||||
</i>
|
||||
|
||||
</tr>
|
||||
<tr class="even">
|
||||
<td width="42%" align="left" valign="top">
|
||||
<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2542')" name="code2model" class="code2model"><S1>/b_hallARight</a>
|
||||
</td>
|
||||
<td width="26%" align="left" valign="top">
|
||||
rtU.b_hallARight
|
||||
</td>
|
||||
<td width="21%" align="left" valign="top">
|
||||
uint8_T
|
||||
</td>
|
||||
<td width="10%" align="right" valign="top">
|
||||
1
|
||||
</td>
|
||||
|
||||
</tr>
|
||||
<tr class="odd">
|
||||
<td width="42%" align="left" valign="top">
|
||||
<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2543')" name="code2model" class="code2model"><S1>/b_hallBRight</a>
|
||||
</td>
|
||||
<td width="26%" align="left" valign="top">
|
||||
rtU.b_hallBRight
|
||||
</td>
|
||||
<td width="21%" align="left" valign="top">
|
||||
uint8_T
|
||||
</td>
|
||||
<td width="10%" align="right" valign="top">
|
||||
1
|
||||
</td>
|
||||
|
||||
</tr>
|
||||
<tr class="even">
|
||||
<td width="42%" align="left" valign="top">
|
||||
<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2544')" name="code2model" class="code2model"><S1>/b_hallCRight</a>
|
||||
</td>
|
||||
<td width="26%" align="left" valign="top">
|
||||
rtU.b_hallCRight
|
||||
</td>
|
||||
<td width="21%" align="left" valign="top">
|
||||
uint8_T
|
||||
</td>
|
||||
<td width="10%" align="right" valign="top">
|
||||
1
|
||||
</td>
|
||||
|
||||
</tr>
|
||||
<tr class="odd">
|
||||
<td width="42%" align="left" valign="top">
|
||||
<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2545')" name="code2model" class="code2model"><S1>/r_DCRight</a>
|
||||
</td>
|
||||
<td width="26%" align="left" valign="top">
|
||||
rtU.r_DCRight
|
||||
</td>
|
||||
<td width="21%" align="left" valign="top">
|
||||
int32_T
|
||||
@ -371,10 +413,13 @@ Dimension
|
||||
</tr>
|
||||
<tr class="even">
|
||||
<td width="42%" align="left" valign="top">
|
||||
<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:39')" name="code2model" class="code2model"><S1>/DC_phaALeft</a>
|
||||
<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:39')" name="code2model" class="code2model"><S1>/DC_phaA</a>
|
||||
</td>
|
||||
<td width="26%" align="left" valign="top">
|
||||
rtY.DC_phaALeft
|
||||
<i>
|
||||
Defined externally
|
||||
</i>
|
||||
|
||||
</td>
|
||||
<td width="21%" align="left" valign="top">
|
||||
int32_T
|
||||
@ -386,10 +431,13 @@ int32_T
|
||||
</tr>
|
||||
<tr class="odd">
|
||||
<td width="42%" align="left" valign="top">
|
||||
<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:1762')" name="code2model" class="code2model"><S1>/DC_phaBLeft</a>
|
||||
<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:1762')" name="code2model" class="code2model"><S1>/DC_phaB</a>
|
||||
</td>
|
||||
<td width="26%" align="left" valign="top">
|
||||
rtY.DC_phaBLeft
|
||||
<i>
|
||||
Defined externally
|
||||
</i>
|
||||
|
||||
</td>
|
||||
<td width="21%" align="left" valign="top">
|
||||
int32_T
|
||||
@ -401,10 +449,13 @@ int32_T
|
||||
</tr>
|
||||
<tr class="even">
|
||||
<td width="42%" align="left" valign="top">
|
||||
<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:1764')" name="code2model" class="code2model"><S1>/DC_phaCLeft</a>
|
||||
<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:1764')" name="code2model" class="code2model"><S1>/DC_phaC</a>
|
||||
</td>
|
||||
<td width="26%" align="left" valign="top">
|
||||
rtY.DC_phaCLeft
|
||||
<i>
|
||||
Defined externally
|
||||
</i>
|
||||
|
||||
</td>
|
||||
<td width="21%" align="left" valign="top">
|
||||
int32_T
|
||||
@ -416,10 +467,13 @@ int32_T
|
||||
</tr>
|
||||
<tr class="odd">
|
||||
<td width="42%" align="left" valign="top">
|
||||
<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:628')" name="code2model" class="code2model"><S1>/n_motLeft</a>
|
||||
<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:628')" name="code2model" class="code2model"><S1>/n_mot</a>
|
||||
</td>
|
||||
<td width="26%" align="left" valign="top">
|
||||
rtY.n_motLeft
|
||||
<i>
|
||||
Defined externally
|
||||
</i>
|
||||
|
||||
</td>
|
||||
<td width="21%" align="left" valign="top">
|
||||
int32_T
|
||||
@ -431,85 +485,13 @@ int32_T
|
||||
</tr>
|
||||
<tr class="even">
|
||||
<td width="42%" align="left" valign="top">
|
||||
<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2463')" name="code2model" class="code2model"><S1>/a_elecAngleLeft</a>
|
||||
<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2463')" name="code2model" class="code2model"><S1>/a_elecAngle</a>
|
||||
</td>
|
||||
<td width="26%" align="left" valign="top">
|
||||
rtY.a_elecAngleLeft
|
||||
</td>
|
||||
<td width="21%" align="left" valign="top">
|
||||
int32_T
|
||||
</td>
|
||||
<td width="10%" align="right" valign="top">
|
||||
1
|
||||
</td>
|
||||
<i>
|
||||
Defined externally
|
||||
</i>
|
||||
|
||||
</tr>
|
||||
<tr class="odd">
|
||||
<td width="42%" align="left" valign="top">
|
||||
<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2537')" name="code2model" class="code2model"><S1>/DC_phaARight</a>
|
||||
</td>
|
||||
<td width="26%" align="left" valign="top">
|
||||
rtY.DC_phaARight
|
||||
</td>
|
||||
<td width="21%" align="left" valign="top">
|
||||
int32_T
|
||||
</td>
|
||||
<td width="10%" align="right" valign="top">
|
||||
1
|
||||
</td>
|
||||
|
||||
</tr>
|
||||
<tr class="even">
|
||||
<td width="42%" align="left" valign="top">
|
||||
<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2538')" name="code2model" class="code2model"><S1>/DC_phaBRight</a>
|
||||
</td>
|
||||
<td width="26%" align="left" valign="top">
|
||||
rtY.DC_phaBRight
|
||||
</td>
|
||||
<td width="21%" align="left" valign="top">
|
||||
int32_T
|
||||
</td>
|
||||
<td width="10%" align="right" valign="top">
|
||||
1
|
||||
</td>
|
||||
|
||||
</tr>
|
||||
<tr class="odd">
|
||||
<td width="42%" align="left" valign="top">
|
||||
<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2539')" name="code2model" class="code2model"><S1>/DC_phaCRight</a>
|
||||
</td>
|
||||
<td width="26%" align="left" valign="top">
|
||||
rtY.DC_phaCRight
|
||||
</td>
|
||||
<td width="21%" align="left" valign="top">
|
||||
int32_T
|
||||
</td>
|
||||
<td width="10%" align="right" valign="top">
|
||||
1
|
||||
</td>
|
||||
|
||||
</tr>
|
||||
<tr class="even">
|
||||
<td width="42%" align="left" valign="top">
|
||||
<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2540')" name="code2model" class="code2model"><S1>/n_motRight</a>
|
||||
</td>
|
||||
<td width="26%" align="left" valign="top">
|
||||
rtY.n_motRight
|
||||
</td>
|
||||
<td width="21%" align="left" valign="top">
|
||||
int32_T
|
||||
</td>
|
||||
<td width="10%" align="right" valign="top">
|
||||
1
|
||||
</td>
|
||||
|
||||
</tr>
|
||||
<tr class="odd">
|
||||
<td width="42%" align="left" valign="top">
|
||||
<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2541')" name="code2model" class="code2model"><S1>/a_elecAngleRight</a>
|
||||
</td>
|
||||
<td width="26%" align="left" valign="top">
|
||||
rtY.a_elecAngleRight
|
||||
</td>
|
||||
<td width="21%" align="left" valign="top">
|
||||
int32_T
|
||||
@ -560,7 +542,10 @@ Dimension
|
||||
cf_speedCoef
|
||||
</td>
|
||||
<td width="26%" align="left" valign="top">
|
||||
rtP.cf_speedCoef
|
||||
<i>
|
||||
Defined externally
|
||||
</i>
|
||||
|
||||
</td>
|
||||
<td width="21%" align="left" valign="top">
|
||||
int32_T
|
||||
@ -572,25 +557,31 @@ int32_T
|
||||
</tr>
|
||||
<tr class="odd">
|
||||
<td width="42%" align="left" valign="top">
|
||||
cf_speedFilt
|
||||
</td>
|
||||
<td width="26%" align="left" valign="top">
|
||||
<i>
|
||||
Defined externally
|
||||
</i>
|
||||
|
||||
</td>
|
||||
<td width="21%" align="left" valign="top">
|
||||
int32_T
|
||||
</td>
|
||||
<td width="10%" align="right" valign="top">
|
||||
1
|
||||
</td>
|
||||
|
||||
</tr>
|
||||
<tr class="even">
|
||||
<td width="42%" align="left" valign="top">
|
||||
n_commAcvLo
|
||||
</td>
|
||||
<td width="26%" align="left" valign="top">
|
||||
rtP.n_commAcvLo
|
||||
</td>
|
||||
<td width="21%" align="left" valign="top">
|
||||
int32_T
|
||||
</td>
|
||||
<td width="10%" align="right" valign="top">
|
||||
1
|
||||
</td>
|
||||
<i>
|
||||
Defined externally
|
||||
</i>
|
||||
|
||||
</tr>
|
||||
<tr class="even">
|
||||
<td width="42%" align="left" valign="top">
|
||||
n_commDeacvHi
|
||||
</td>
|
||||
<td width="26%" align="left" valign="top">
|
||||
rtP.n_commDeacvHi
|
||||
</td>
|
||||
<td width="21%" align="left" valign="top">
|
||||
int32_T
|
||||
@ -602,10 +593,13 @@ int32_T
|
||||
</tr>
|
||||
<tr class="odd">
|
||||
<td width="42%" align="left" valign="top">
|
||||
r_commDCDeacv
|
||||
n_commDeacvHi
|
||||
</td>
|
||||
<td width="26%" align="left" valign="top">
|
||||
rtP.r_commDCDeacv
|
||||
<i>
|
||||
Defined externally
|
||||
</i>
|
||||
|
||||
</td>
|
||||
<td width="21%" align="left" valign="top">
|
||||
int32_T
|
||||
@ -617,10 +611,31 @@ int32_T
|
||||
</tr>
|
||||
<tr class="even">
|
||||
<td width="42%" align="left" valign="top">
|
||||
r_commDCDeacv
|
||||
</td>
|
||||
<td width="26%" align="left" valign="top">
|
||||
<i>
|
||||
Defined externally
|
||||
</i>
|
||||
|
||||
</td>
|
||||
<td width="21%" align="left" valign="top">
|
||||
int32_T
|
||||
</td>
|
||||
<td width="10%" align="right" valign="top">
|
||||
1
|
||||
</td>
|
||||
|
||||
</tr>
|
||||
<tr class="odd">
|
||||
<td width="42%" align="left" valign="top">
|
||||
r_phaAdvDC_XA
|
||||
</td>
|
||||
<td width="26%" align="left" valign="top">
|
||||
rtP.r_phaAdvDC_XA
|
||||
<i>
|
||||
Defined externally
|
||||
</i>
|
||||
|
||||
</td>
|
||||
<td width="21%" align="left" valign="top">
|
||||
int32_T
|
||||
@ -630,12 +645,15 @@ int32_T
|
||||
</td>
|
||||
|
||||
</tr>
|
||||
<tr class="odd">
|
||||
<tr class="even">
|
||||
<td width="42%" align="left" valign="top">
|
||||
a_phaAdv_M1
|
||||
</td>
|
||||
<td width="26%" align="left" valign="top">
|
||||
rtP.a_phaAdv_M1
|
||||
<i>
|
||||
Defined externally
|
||||
</i>
|
||||
|
||||
</td>
|
||||
<td width="21%" align="left" valign="top">
|
||||
int16_T
|
||||
@ -645,12 +663,33 @@ int16_T
|
||||
</td>
|
||||
|
||||
</tr>
|
||||
<tr class="even">
|
||||
<tr class="odd">
|
||||
<td width="42%" align="left" valign="top">
|
||||
z_maxCntRst
|
||||
dz_counterHi
|
||||
</td>
|
||||
<td width="26%" align="left" valign="top">
|
||||
rtP.z_maxCntRst
|
||||
<i>
|
||||
Defined externally
|
||||
</i>
|
||||
|
||||
</td>
|
||||
<td width="21%" align="left" valign="top">
|
||||
int16_T
|
||||
</td>
|
||||
<td width="10%" align="right" valign="top">
|
||||
1
|
||||
</td>
|
||||
|
||||
</tr>
|
||||
<tr class="even">
|
||||
<td width="42%" align="left" valign="top">
|
||||
dz_counterLo
|
||||
</td>
|
||||
<td width="26%" align="left" valign="top">
|
||||
<i>
|
||||
Defined externally
|
||||
</i>
|
||||
|
||||
</td>
|
||||
<td width="21%" align="left" valign="top">
|
||||
int16_T
|
||||
@ -665,7 +704,10 @@ int16_T
|
||||
z_ctrlTypSel
|
||||
</td>
|
||||
<td width="26%" align="left" valign="top">
|
||||
rtP.z_ctrlTypSel
|
||||
<i>
|
||||
Defined externally
|
||||
</i>
|
||||
|
||||
</td>
|
||||
<td width="21%" align="left" valign="top">
|
||||
uint8_T
|
||||
@ -677,25 +719,13 @@ uint8_T
|
||||
</tr>
|
||||
<tr class="even">
|
||||
<td width="42%" align="left" valign="top">
|
||||
z_nrEdgeSpdAcv
|
||||
</td>
|
||||
<td width="26%" align="left" valign="top">
|
||||
rtP.z_nrEdgeSpdAcv
|
||||
</td>
|
||||
<td width="21%" align="left" valign="top">
|
||||
uint8_T
|
||||
</td>
|
||||
<td width="10%" align="right" valign="top">
|
||||
1
|
||||
</td>
|
||||
|
||||
</tr>
|
||||
<tr class="odd">
|
||||
<td width="42%" align="left" valign="top">
|
||||
b_phaAdvEna
|
||||
</td>
|
||||
<td width="26%" align="left" valign="top">
|
||||
rtP.b_phaAdvEna
|
||||
<i>
|
||||
Defined externally
|
||||
</i>
|
||||
|
||||
</td>
|
||||
<td width="21%" align="left" valign="top">
|
||||
boolean_T
|
||||
|
@ -70,13 +70,13 @@ Outcome Diagnostic
|
||||
</tr>
|
||||
<tr class="even">
|
||||
<td align="left" valign="top">
|
||||
<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2530:38')" name="code2model" class="code2model"><S22></a>
|
||||
<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2687:1340')" name="code2model" class="code2model"><S15></a>
|
||||
</td>
|
||||
<td align="left" valign="top">
|
||||
Auto
|
||||
</td>
|
||||
<td align="left" valign="top">
|
||||
<A HREF="BLDC_controller_c.html#fcn_F01_03_Direction_Detection" TARGET="rtwreport_document_frame">Reusable Function(S22)</A>
|
||||
Inline
|
||||
</td>
|
||||
<td align="left" valign="top">
|
||||
<FONT COLOR="green">normal</FONT>
|
||||
@ -85,13 +85,13 @@ Auto
|
||||
</tr>
|
||||
<tr class="odd">
|
||||
<td align="left" valign="top">
|
||||
<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2531:38')" name="code2model" class="code2model"><S60></a>
|
||||
<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2687:38')" name="code2model" class="code2model"><S13></a>
|
||||
</td>
|
||||
<td align="left" valign="top">
|
||||
Auto
|
||||
</td>
|
||||
<td align="left" valign="top">
|
||||
<A HREF="BLDC_controller_c.html#fcn_F01_03_Direction_Detection" TARGET="rtwreport_document_frame">Reusable Function(S22)</A>
|
||||
Inline
|
||||
</td>
|
||||
<td align="left" valign="top">
|
||||
<FONT COLOR="green">normal</FONT>
|
||||
@ -100,13 +100,13 @@ Auto
|
||||
</tr>
|
||||
<tr class="even">
|
||||
<td align="left" valign="top">
|
||||
<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2530:65')" name="code2model" class="code2model"><S27></a>
|
||||
<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2687:285')" name="code2model" class="code2model"><S18></a>
|
||||
</td>
|
||||
<td align="left" valign="top">
|
||||
Auto
|
||||
</td>
|
||||
<td align="left" valign="top">
|
||||
<A HREF="BLDC_controller_c.html#fcn_Edge_counter" TARGET="rtwreport_document_frame">Reusable Function(S27)</A>
|
||||
Inline
|
||||
</td>
|
||||
<td align="left" valign="top">
|
||||
<FONT COLOR="green">normal</FONT>
|
||||
@ -115,13 +115,13 @@ Auto
|
||||
</tr>
|
||||
<tr class="odd">
|
||||
<td align="left" valign="top">
|
||||
<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2531:65')" name="code2model" class="code2model"><S65></a>
|
||||
<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2687:305')" name="code2model" class="code2model"><S19></a>
|
||||
</td>
|
||||
<td align="left" valign="top">
|
||||
Auto
|
||||
</td>
|
||||
<td align="left" valign="top">
|
||||
<A HREF="BLDC_controller_c.html#fcn_Edge_counter" TARGET="rtwreport_document_frame">Reusable Function(S27)</A>
|
||||
Inline
|
||||
</td>
|
||||
<td align="left" valign="top">
|
||||
<FONT COLOR="green">normal</FONT>
|
||||
@ -130,13 +130,13 @@ Auto
|
||||
</tr>
|
||||
<tr class="even">
|
||||
<td align="left" valign="top">
|
||||
<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2530:124')" name="code2model" class="code2model"><S28></a>
|
||||
<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2687:295')" name="code2model" class="code2model"><S20></a>
|
||||
</td>
|
||||
<td align="left" valign="top">
|
||||
Auto
|
||||
</td>
|
||||
<td align="left" valign="top">
|
||||
<A HREF="BLDC_controller_c.html#fcn_Motor_Speed_Calculation" TARGET="rtwreport_document_frame">Reusable Function(S28)</A>
|
||||
Inline
|
||||
</td>
|
||||
<td align="left" valign="top">
|
||||
<FONT COLOR="green">normal</FONT>
|
||||
@ -145,193 +145,13 @@ Auto
|
||||
</tr>
|
||||
<tr class="odd">
|
||||
<td align="left" valign="top">
|
||||
<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2531:124')" name="code2model" class="code2model"><S66></a>
|
||||
<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2687:215')" name="code2model" class="code2model"><S8></a>
|
||||
</td>
|
||||
<td align="left" valign="top">
|
||||
Auto
|
||||
</td>
|
||||
<td align="left" valign="top">
|
||||
<A HREF="BLDC_controller_c.html#fcn_Motor_Speed_Calculation" TARGET="rtwreport_document_frame">Reusable Function(S28)</A>
|
||||
</td>
|
||||
<td align="left" valign="top">
|
||||
<FONT COLOR="green">normal</FONT>
|
||||
</td>
|
||||
|
||||
</tr>
|
||||
<tr class="even">
|
||||
<td align="left" valign="top">
|
||||
<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2530:285')" name="code2model" class="code2model"><S41></a>
|
||||
</td>
|
||||
<td align="left" valign="top">
|
||||
Auto
|
||||
</td>
|
||||
<td align="left" valign="top">
|
||||
<A HREF="BLDC_controller_c.html#fcn_F03_01_Pure_Trapezoidal_Method" TARGET="rtwreport_document_frame">Reusable Function(S41)</A>
|
||||
</td>
|
||||
<td align="left" valign="top">
|
||||
<FONT COLOR="green">normal</FONT>
|
||||
</td>
|
||||
|
||||
</tr>
|
||||
<tr class="odd">
|
||||
<td align="left" valign="top">
|
||||
<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2531:285')" name="code2model" class="code2model"><S79></a>
|
||||
</td>
|
||||
<td align="left" valign="top">
|
||||
Auto
|
||||
</td>
|
||||
<td align="left" valign="top">
|
||||
<A HREF="BLDC_controller_c.html#fcn_F03_01_Pure_Trapezoidal_Method" TARGET="rtwreport_document_frame">Reusable Function(S41)</A>
|
||||
</td>
|
||||
<td align="left" valign="top">
|
||||
<FONT COLOR="green">normal</FONT>
|
||||
</td>
|
||||
|
||||
</tr>
|
||||
<tr class="even">
|
||||
<td align="left" valign="top">
|
||||
<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2530:305')" name="code2model" class="code2model"><S43></a>
|
||||
</td>
|
||||
<td align="left" valign="top">
|
||||
Auto
|
||||
</td>
|
||||
<td align="left" valign="top">
|
||||
<A HREF="BLDC_controller_c.html#fcn_F03_02_Sinusoidal_Method" TARGET="rtwreport_document_frame">Reusable Function(S43)</A>
|
||||
</td>
|
||||
<td align="left" valign="top">
|
||||
<FONT COLOR="green">normal</FONT>
|
||||
</td>
|
||||
|
||||
</tr>
|
||||
<tr class="odd">
|
||||
<td align="left" valign="top">
|
||||
<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2531:305')" name="code2model" class="code2model"><S81></a>
|
||||
</td>
|
||||
<td align="left" valign="top">
|
||||
Auto
|
||||
</td>
|
||||
<td align="left" valign="top">
|
||||
<A HREF="BLDC_controller_c.html#fcn_F03_02_Sinusoidal_Method" TARGET="rtwreport_document_frame">Reusable Function(S43)</A>
|
||||
</td>
|
||||
<td align="left" valign="top">
|
||||
<FONT COLOR="green">normal</FONT>
|
||||
</td>
|
||||
|
||||
</tr>
|
||||
<tr class="even">
|
||||
<td align="left" valign="top">
|
||||
<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2530:295')" name="code2model" class="code2model"><S42></a>
|
||||
</td>
|
||||
<td align="left" valign="top">
|
||||
Auto
|
||||
</td>
|
||||
<td align="left" valign="top">
|
||||
<A HREF="BLDC_controller_c.html#fcn_F03_02_Sinusoidal3rd_Method" TARGET="rtwreport_document_frame">Reusable Function(S42)</A>
|
||||
</td>
|
||||
<td align="left" valign="top">
|
||||
<FONT COLOR="green">normal</FONT>
|
||||
</td>
|
||||
|
||||
</tr>
|
||||
<tr class="odd">
|
||||
<td align="left" valign="top">
|
||||
<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2531:295')" name="code2model" class="code2model"><S80></a>
|
||||
</td>
|
||||
<td align="left" valign="top">
|
||||
Auto
|
||||
</td>
|
||||
<td align="left" valign="top">
|
||||
<A HREF="BLDC_controller_c.html#fcn_F03_02_Sinusoidal3rd_Method" TARGET="rtwreport_document_frame">Reusable Function(S42)</A>
|
||||
</td>
|
||||
<td align="left" valign="top">
|
||||
<FONT COLOR="green">normal</FONT>
|
||||
</td>
|
||||
|
||||
</tr>
|
||||
<tr class="even">
|
||||
<td align="left" valign="top">
|
||||
<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2530:215')" name="code2model" class="code2model"><S13></a>
|
||||
</td>
|
||||
<td align="left" valign="top">
|
||||
Auto
|
||||
</td>
|
||||
<td align="left" valign="top">
|
||||
<A HREF="BLDC_controller_c.html#fcn_F02_Electrical_Angle_Calculatio" TARGET="rtwreport_document_frame">Reusable Function(S13)</A>
|
||||
</td>
|
||||
<td align="left" valign="top">
|
||||
<FONT COLOR="green">normal</FONT>
|
||||
</td>
|
||||
|
||||
</tr>
|
||||
<tr class="odd">
|
||||
<td align="left" valign="top">
|
||||
<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2531:215')" name="code2model" class="code2model"><S51></a>
|
||||
</td>
|
||||
<td align="left" valign="top">
|
||||
Auto
|
||||
</td>
|
||||
<td align="left" valign="top">
|
||||
<A HREF="BLDC_controller_c.html#fcn_F02_Electrical_Angle_Calculatio" TARGET="rtwreport_document_frame">Reusable Function(S13)</A>
|
||||
</td>
|
||||
<td align="left" valign="top">
|
||||
<FONT COLOR="green">normal</FONT>
|
||||
</td>
|
||||
|
||||
</tr>
|
||||
<tr class="even">
|
||||
<td align="left" valign="top">
|
||||
<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2530:733')" name="code2model" class="code2model"><S30></a>
|
||||
</td>
|
||||
<td align="left" valign="top">
|
||||
Function
|
||||
</td>
|
||||
<td align="left" valign="top">
|
||||
<A HREF="BLDC_controller_c.html#fcn_falling_edge2" TARGET="rtwreport_document_frame">Function(S30)</A>
|
||||
</td>
|
||||
<td align="left" valign="top">
|
||||
<FONT COLOR="green">normal</FONT>
|
||||
</td>
|
||||
|
||||
</tr>
|
||||
<tr class="odd">
|
||||
<td align="left" valign="top">
|
||||
<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2530:588')" name="code2model" class="code2model"><S31></a>
|
||||
</td>
|
||||
<td align="left" valign="top">
|
||||
Function
|
||||
</td>
|
||||
<td align="left" valign="top">
|
||||
<A HREF="BLDC_controller_c.html#fcn_rising_edge" TARGET="rtwreport_document_frame">Function(S31)</A>
|
||||
</td>
|
||||
<td align="left" valign="top">
|
||||
<FONT COLOR="green">normal</FONT>
|
||||
</td>
|
||||
|
||||
</tr>
|
||||
<tr class="even">
|
||||
<td align="left" valign="top">
|
||||
<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2531:733')" name="code2model" class="code2model"><S68></a>
|
||||
</td>
|
||||
<td align="left" valign="top">
|
||||
Function
|
||||
</td>
|
||||
<td align="left" valign="top">
|
||||
<A HREF="BLDC_controller_c.html#fcn_falling_edge2_b" TARGET="rtwreport_document_frame">Function(S68)</A>
|
||||
</td>
|
||||
<td align="left" valign="top">
|
||||
<FONT COLOR="green">normal</FONT>
|
||||
</td>
|
||||
|
||||
</tr>
|
||||
<tr class="odd">
|
||||
<td align="left" valign="top">
|
||||
<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2531:588')" name="code2model" class="code2model"><S69></a>
|
||||
</td>
|
||||
<td align="left" valign="top">
|
||||
Function
|
||||
</td>
|
||||
<td align="left" valign="top">
|
||||
<A HREF="BLDC_controller_c.html#fcn_rising_edge_f" TARGET="rtwreport_document_frame">Function(S69)</A>
|
||||
Inline
|
||||
</td>
|
||||
<td align="left" valign="top">
|
||||
<FONT COLOR="green">normal</FONT>
|
||||
|
@ -40,7 +40,7 @@ MathWorks
|
||||
Model Version
|
||||
</td>
|
||||
<td align="left" valign="top">
|
||||
1.817
|
||||
1.877
|
||||
</td>
|
||||
|
||||
</tr>
|
||||
@ -109,7 +109,7 @@ Simulink Coder Version
|
||||
Timestamp of Generated Source Code
|
||||
</td>
|
||||
<td align="left" valign="top">
|
||||
Tue May 28 19:55:33 2019
|
||||
Wed Jun 5 22:29:28 2019
|
||||
</td>
|
||||
|
||||
</tr>
|
||||
|
@ -1,10 +1,9 @@
|
||||
<TABLE BORDER="0" CELLSPACING="0" CELLPADDING="4" WIDTH="100%%" BGCOLOR="#ffffff"><TR><TD>
|
||||
<B>Generated Source Files</B>
|
||||
</TD></TR><TR></TR>
|
||||
<tr><td><a href="D:\Work_home\01_Motor_control\BLDC_controller_ert_rtw\html\ert_main_c.html" onclick="if (top) if (top.tocHiliteMe) top.tocHiliteMe(window, this, false);" id="D:\Work_home\01_Motor_control\BLDC_controller_ert_rtw\html\ert_main_c.html" target="rtwreport_document_frame" name="rtwIdGenFileLinks">ert_main.c</a><span> </span></td></tr><tr></tr>
|
||||
<tr><td><a href="D:\Work_home\01_Motor_control\BLDC_controller_ert_rtw\html\BLDC_controller_c.html" onclick="if (top) if (top.tocHiliteMe) top.tocHiliteMe(window, this, false);" id="D:\Work_home\01_Motor_control\BLDC_controller_ert_rtw\html\BLDC_controller_c.html" target="rtwreport_document_frame" name="rtwIdGenFileLinks">BLDC_controller.c</a><span> </span></td></tr><tr></tr>
|
||||
<tr><td><a href="D:\Work_home\01_Motor_control\BLDC_controller_ert_rtw\html\BLDC_controller_h.html" onclick="if (top) if (top.tocHiliteMe) top.tocHiliteMe(window, this, false);" id="D:\Work_home\01_Motor_control\BLDC_controller_ert_rtw\html\BLDC_controller_h.html" target="rtwreport_document_frame" name="rtwIdGenFileLinks">BLDC_controller.h</a><span> </span></td></tr><tr></tr>
|
||||
<tr><td><a href="D:\Work_home\01_Motor_control\BLDC_controller_ert_rtw\html\BLDC_controller_data_c.html" onclick="if (top) if (top.tocHiliteMe) top.tocHiliteMe(window, this, false);" id="D:\Work_home\01_Motor_control\BLDC_controller_ert_rtw\html\BLDC_controller_data_c.html" target="rtwreport_document_frame" name="rtwIdGenFileLinks">BLDC_controller_data.c</a><span> </span></td></tr><tr></tr>
|
||||
<tr><td><a href="D:\Work_home\01_Motor_control\BLDC_controller_ert_rtw\html\rtwtypes_h.html" onclick="if (top) if (top.tocHiliteMe) top.tocHiliteMe(window, this, false);" id="D:\Work_home\01_Motor_control\BLDC_controller_ert_rtw\html\rtwtypes_h.html" target="rtwreport_document_frame" name="rtwIdGenFileLinks">rtwtypes.h</a><span> </span></td></tr><tr></tr>
|
||||
<tr><td><a href="D:\Work_home\01_Motor_control\BLDC_controller_ert_rtw\html\zero_crossing_types_h.html" onclick="if (top) if (top.tocHiliteMe) top.tocHiliteMe(window, this, false);" id="D:\Work_home\01_Motor_control\BLDC_controller_ert_rtw\html\zero_crossing_types_h.html" target="rtwreport_document_frame" name="rtwIdGenFileLinks">zero_crossing_types.h</a><span> </span></td></tr><tr></tr>
|
||||
<tr><td><a href="D:\git\hoverboard-firmware-hack\01_Matlab\BLDC_controller_ert_rtw\html\ert_main_c.html" onclick="if (top) if (top.tocHiliteMe) top.tocHiliteMe(window, this, false);" id="D:\git\hoverboard-firmware-hack\01_Matlab\BLDC_controller_ert_rtw\html\ert_main_c.html" target="rtwreport_document_frame" name="rtwIdGenFileLinks">ert_main.c</a><span> </span></td></tr><tr></tr>
|
||||
<tr><td><a href="D:\git\hoverboard-firmware-hack\01_Matlab\BLDC_controller_ert_rtw\html\BLDC_controller_c.html" onclick="if (top) if (top.tocHiliteMe) top.tocHiliteMe(window, this, false);" id="D:\git\hoverboard-firmware-hack\01_Matlab\BLDC_controller_ert_rtw\html\BLDC_controller_c.html" target="rtwreport_document_frame" name="rtwIdGenFileLinks">BLDC_controller.c</a><span> </span></td></tr><tr></tr>
|
||||
<tr><td><a href="D:\git\hoverboard-firmware-hack\01_Matlab\BLDC_controller_ert_rtw\html\BLDC_controller_h.html" onclick="if (top) if (top.tocHiliteMe) top.tocHiliteMe(window, this, false);" id="D:\git\hoverboard-firmware-hack\01_Matlab\BLDC_controller_ert_rtw\html\BLDC_controller_h.html" target="rtwreport_document_frame" name="rtwIdGenFileLinks">BLDC_controller.h</a><span> </span></td></tr><tr></tr>
|
||||
<tr><td><a href="D:\git\hoverboard-firmware-hack\01_Matlab\BLDC_controller_ert_rtw\html\BLDC_controller_data_c.html" onclick="if (top) if (top.tocHiliteMe) top.tocHiliteMe(window, this, false);" id="D:\git\hoverboard-firmware-hack\01_Matlab\BLDC_controller_ert_rtw\html\BLDC_controller_data_c.html" target="rtwreport_document_frame" name="rtwIdGenFileLinks">BLDC_controller_data.c</a><span> </span></td></tr><tr></tr>
|
||||
<tr><td><a href="D:\git\hoverboard-firmware-hack\01_Matlab\BLDC_controller_ert_rtw\html\rtwtypes_h.html" onclick="if (top) if (top.tocHiliteMe) top.tocHiliteMe(window, this, false);" id="D:\git\hoverboard-firmware-hack\01_Matlab\BLDC_controller_ert_rtw\html\rtwtypes_h.html" target="rtwreport_document_frame" name="rtwIdGenFileLinks">rtwtypes.h</a><span> </span></td></tr><tr></tr>
|
||||
</table>
|
||||
|
@ -1,42 +1,25 @@
|
||||
function CodeDefine() {
|
||||
this.def = new Array();
|
||||
this.def["rt_OneStep"] = {file: "ert_main_c.html",line:42,type:"fcn"};
|
||||
this.def["main"] = {file: "ert_main_c.html",line:78,type:"fcn"};
|
||||
this.def["rtDW"] = {file: "BLDC_controller_c.html",line:89,type:"var"};
|
||||
this.def["rtPrevZCX"] = {file: "BLDC_controller_c.html",line:92,type:"var"};
|
||||
this.def["rtU"] = {file: "BLDC_controller_c.html",line:95,type:"var"};
|
||||
this.def["rtY"] = {file: "BLDC_controller_c.html",line:98,type:"var"};
|
||||
this.def["plook_u8s32u32n31_evenc_s"] = {file: "BLDC_controller_c.html",line:129,type:"fcn"};
|
||||
this.def["intrp1d_s16s32s32u8u32n31l_s"] = {file: "BLDC_controller_c.html",line:163,type:"fcn"};
|
||||
this.def["div_nde_s32_floor"] = {file: "BLDC_controller_c.html",line:179,type:"fcn"};
|
||||
this.def["F01_03_Direction_Detection"] = {file: "BLDC_controller_c.html",line:190,type:"fcn"};
|
||||
this.def["Edge_counter_Reset"] = {file: "BLDC_controller_c.html",line:238,type:"fcn"};
|
||||
this.def["Edge_counter_Disable"] = {file: "BLDC_controller_c.html",line:249,type:"fcn"};
|
||||
this.def["Edge_counter"] = {file: "BLDC_controller_c.html",line:266,type:"fcn"};
|
||||
this.def["Motor_Speed_Calculation"] = {file: "BLDC_controller_c.html",line:319,type:"fcn"};
|
||||
this.def["falling_edge2"] = {file: "BLDC_controller_c.html",line:371,type:"fcn"};
|
||||
this.def["rising_edge"] = {file: "BLDC_controller_c.html",line:384,type:"fcn"};
|
||||
this.def["F03_01_Pure_Trapezoidal_Method"] = {file: "BLDC_controller_c.html",line:401,type:"fcn"};
|
||||
this.def["F03_02_Sinusoidal_Method"] = {file: "BLDC_controller_c.html",line:429,type:"fcn"};
|
||||
this.def["F03_02_Sinusoidal3rd_Method"] = {file: "BLDC_controller_c.html",line:457,type:"fcn"};
|
||||
this.def["F02_Electrical_Angle_Ca_Disable"] = {file: "BLDC_controller_c.html",line:485,type:"fcn"};
|
||||
this.def["F02_Electrical_Angle_Calculatio"] = {file: "BLDC_controller_c.html",line:500,type:"fcn"};
|
||||
this.def["falling_edge2_b"] = {file: "BLDC_controller_c.html",line:567,type:"fcn"};
|
||||
this.def["rising_edge_f"] = {file: "BLDC_controller_c.html",line:580,type:"fcn"};
|
||||
this.def["BLDC_controller_step"] = {file: "BLDC_controller_c.html",line:593,type:"fcn"};
|
||||
this.def["BLDC_controller_initialize"] = {file: "BLDC_controller_c.html",line:1279,type:"fcn"};
|
||||
this.def["DW_F01_03_Direction_Detection"] = {file: "BLDC_controller_h.html",line:39,type:"type"};
|
||||
this.def["DW_Edge_counter"] = {file: "BLDC_controller_h.html",line:45,type:"type"};
|
||||
this.def["DW_Motor_Speed_Calculation"] = {file: "BLDC_controller_h.html",line:51,type:"type"};
|
||||
this.def["ZCE_Motor_Speed_Calculation"] = {file: "BLDC_controller_h.html",line:56,type:"type"};
|
||||
this.def["DW"] = {file: "BLDC_controller_h.html",line:111,type:"type"};
|
||||
this.def["PrevZCX"] = {file: "BLDC_controller_h.html",line:117,type:"type"};
|
||||
this.def["ConstP"] = {file: "BLDC_controller_h.html",line:204,type:"type"};
|
||||
this.def["ExtU"] = {file: "BLDC_controller_h.html",line:216,type:"type"};
|
||||
this.def["ExtY"] = {file: "BLDC_controller_h.html",line:230,type:"type"};
|
||||
this.def["P"] = {file: "BLDC_controller_h.html",line:295,type:"type"};
|
||||
this.def["rtP"] = {file: "BLDC_controller_data_c.html",line:27,type:"var"};
|
||||
this.def["rtConstP"] = {file: "BLDC_controller_data_c.html",line:108,type:"var"};
|
||||
this.def["rtM_"] = {file: "ert_main_c.html",line:29,type:"var"};
|
||||
this.def["rtMPtr"] = {file: "ert_main_c.html",line:30,type:"var"};
|
||||
this.def["rtP"] = {file: "ert_main_c.html",line:31,type:"var"};
|
||||
this.def["rtDW"] = {file: "ert_main_c.html",line:88,type:"var"};
|
||||
this.def["rtU"] = {file: "ert_main_c.html",line:89,type:"var"};
|
||||
this.def["rtY"] = {file: "ert_main_c.html",line:90,type:"var"};
|
||||
this.def["rt_OneStep"] = {file: "ert_main_c.html",line:104,type:"fcn"};
|
||||
this.def["main"] = {file: "ert_main_c.html",line:140,type:"fcn"};
|
||||
this.def["plook_u8s32u32n31_evenc_s"] = {file: "BLDC_controller_c.html",line:93,type:"fcn"};
|
||||
this.def["intrp1d_s16s32s32u8u32n31l_s"] = {file: "BLDC_controller_c.html",line:127,type:"fcn"};
|
||||
this.def["div_nde_s32_floor"] = {file: "BLDC_controller_c.html",line:143,type:"fcn"};
|
||||
this.def["BLDC_controller_step"] = {file: "BLDC_controller_c.html",line:150,type:"fcn"};
|
||||
this.def["BLDC_controller_initialize"] = {file: "BLDC_controller_c.html",line:668,type:"fcn"};
|
||||
this.def["RT_MODEL"] = {file: "BLDC_controller_h.html",line:35,type:"type"};
|
||||
this.def["DW"] = {file: "BLDC_controller_h.html",line:58,type:"type"};
|
||||
this.def["ConstP"] = {file: "BLDC_controller_h.html",line:116,type:"type"};
|
||||
this.def["ExtU"] = {file: "BLDC_controller_h.html",line:124,type:"type"};
|
||||
this.def["ExtY"] = {file: "BLDC_controller_h.html",line:133,type:"type"};
|
||||
this.def["P"] = {file: "BLDC_controller_h.html",line:173,type:"type"};
|
||||
this.def["rtConstP"] = {file: "BLDC_controller_data_c.html",line:27,type:"var"};
|
||||
this.def["int8_T"] = {file: "rtwtypes_h.html",line:55,type:"type"};
|
||||
this.def["uint8_T"] = {file: "rtwtypes_h.html",line:56,type:"type"};
|
||||
this.def["int16_T"] = {file: "rtwtypes_h.html",line:57,type:"type"};
|
||||
@ -58,9 +41,6 @@ this.def["char_T"] = {file: "rtwtypes_h.html",line:77,type:"type"};
|
||||
this.def["uchar_T"] = {file: "rtwtypes_h.html",line:78,type:"type"};
|
||||
this.def["byte_T"] = {file: "rtwtypes_h.html",line:79,type:"type"};
|
||||
this.def["pointer_T"] = {file: "rtwtypes_h.html",line:100,type:"type"};
|
||||
this.def["ZCDirection"] = {file: "zero_crossing_types_h.html",line:33,type:"type"};
|
||||
this.def["ZCSigState"] = {file: "zero_crossing_types_h.html",line:36,type:"type"};
|
||||
this.def["ZCEventType"] = {file: "zero_crossing_types_h.html",line:49,type:"type"};
|
||||
}
|
||||
CodeDefine.instance = new CodeDefine();
|
||||
var testHarnessInfo = {OwnerFileName: "", HarnessOwner: "", HarnessName: "", IsTestHarness: "0"};
|
||||
@ -80,8 +60,6 @@ function Html2SrcLink() {
|
||||
this.html2Root["BLDC_controller_data_c.html"] = "BLDC_controller_data_c.html";
|
||||
this.html2SrcPath["rtwtypes_h.html"] = "../rtwtypes.h";
|
||||
this.html2Root["rtwtypes_h.html"] = "rtwtypes_h.html";
|
||||
this.html2SrcPath["zero_crossing_types_h.html"] = "../zero_crossing_types.h";
|
||||
this.html2Root["zero_crossing_types_h.html"] = "zero_crossing_types_h.html";
|
||||
this.getLink2Src = function (htmlFileName) {
|
||||
if (this.html2SrcPath[htmlFileName])
|
||||
return this.html2SrcPath[htmlFileName];
|
||||
@ -97,4 +75,4 @@ function Html2SrcLink() {
|
||||
}
|
||||
Html2SrcLink.instance = new Html2SrcLink();
|
||||
var fileList = [
|
||||
"ert_main_c.html","BLDC_controller_c.html","BLDC_controller_h.html","BLDC_controller_data_c.html","rtwtypes_h.html","zero_crossing_types_h.html"];
|
||||
"ert_main_c.html","BLDC_controller_c.html","BLDC_controller_h.html","BLDC_controller_data_c.html","rtwtypes_h.html"];
|
||||
|
@ -21,9 +21,9 @@
|
||||
</span><span><a class="LN" name="7"> 7 </a><span class="CT"> *</span>
|
||||
</span><span><a class="LN" name="8"> 8 </a><span class="CT"> * Code generated for Simulink model 'BLDC_controller'.</span>
|
||||
</span><span><a class="LN" name="9"> 9 </a><span class="CT"> *</span>
|
||||
</span><span><a class="LN" name="10"> 10 </a><span class="CT"> * Model version : 1.817</span>
|
||||
</span><span><a class="LN" name="10"> 10 </a><span class="CT"> * Model version : 1.877</span>
|
||||
</span><span><a class="LN" name="11"> 11 </a><span class="CT"> * Simulink Coder version : 8.13 (R2017b) 24-Jul-2017</span>
|
||||
</span><span><a class="LN" name="12"> 12 </a><span class="CT"> * C/C++ source code generated on : Tue May 28 19:55:33 2019</span>
|
||||
</span><span><a class="LN" name="12"> 12 </a><span class="CT"> * C/C++ source code generated on : Wed Jun 5 22:29:28 2019</span>
|
||||
</span><span><a class="LN" name="13"> 13 </a><span class="CT"> *</span>
|
||||
</span><span><a class="LN" name="14"> 14 </a><span class="CT"> * Target selection: ert.tlc</span>
|
||||
</span><span><a class="LN" name="15"> 15 </a><span class="CT"> * Embedded hardware selection: ARM Compatible->ARM Cortex</span>
|
||||
@ -39,96 +39,166 @@
|
||||
</span><span><a class="LN" name="25"> 25 </a><font color="#992211">#</font><span class="PP">include</span> <font color="#992211"><stdio.h></font> <span class="CT">/* This ert_main.c example uses printf/fflush */</span>
|
||||
</span><span><a class="LN" name="26"> 26 </a><font color="#992211">#</font><span class="PP">include</span> <font color="#992211">"BLDC_controller.h"</font> <span class="CT">/* Model's header file */</span>
|
||||
</span><span><a class="LN" name="27"> 27 </a><font color="#992211">#</font><span class="PP">include</span> <font color="#992211">"rtwtypes.h"</font>
|
||||
</span><span><a class="LN" name="28"> 28 </a><font color="#992211">#</font><span class="PP">include</span> <font color="#992211">"zero_crossing_types.h"</font>
|
||||
</span><span><a class="LN" name="29"> 29 </a>
|
||||
</span><span><a class="LN" name="30"> 30 </a><span class="CT">/*</span>
|
||||
</span><span><a class="LN" name="31"> 31 </a><span class="CT"> * Associating rt_OneStep with a real-time clock or interrupt service routine</span>
|
||||
</span><span><a class="LN" name="32"> 32 </a><span class="CT"> * is what makes the generated code "real-time". The function rt_OneStep is</span>
|
||||
</span><span><a class="LN" name="33"> 33 </a><span class="CT"> * always associated with the base rate of the model. Subrates are managed</span>
|
||||
</span><span><a class="LN" name="34"> 34 </a><span class="CT"> * by the base rate from inside the generated code. Enabling/disabling</span>
|
||||
</span><span><a class="LN" name="35"> 35 </a><span class="CT"> * interrupts and floating point context switches are target specific. This</span>
|
||||
</span><span><a class="LN" name="36"> 36 </a><span class="CT"> * example code indicates where these should take place relative to executing</span>
|
||||
</span><span><a class="LN" name="37"> 37 </a><span class="CT"> * the generated code step function. Overrun behavior should be tailored to</span>
|
||||
</span><span><a class="LN" name="38"> 38 </a><span class="CT"> * your application needs. This example simply sets an error status in the</span>
|
||||
</span><span><a class="LN" name="39"> 39 </a><span class="CT"> * real-time model and returns from rt_OneStep.</span>
|
||||
</span><span><a class="LN" name="40"> 40 </a><span class="CT"> */</span>
|
||||
</span><span><a class="LN" name="41"> 41 </a><span class="DT">void</span> <a href="#fcn_rt_OneStep" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'fcn_rt_OneStep');" target="_self"><font color="#1122aa">rt_OneStep</font></a>(<span class="DT">void</span>);
|
||||
</span><span><a class="LN" name="42"> 42 </a><span class="DT">void</span> <a name="fcn_rt_OneStep">rt_OneStep</a>(<span class="DT">void</span>)
|
||||
</span><span><a class="LN" name="43"> 43 </a><b>{</b>
|
||||
</span><span><a class="LN" name="44"> 44 </a> <span class="DT">static</span> <a href="rtwtypes_h.html#type_boolean_T" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'type_boolean_T');" target="_self"><font color="#1122aa">boolean_T</font></a> OverrunFlag = false;
|
||||
</span><span><a class="LN" name="45"> 45 </a>
|
||||
</span><span><a class="LN" name="46"> 46 </a> <span class="CT">/* Disable interrupts here */</span>
|
||||
</span><span><a class="LN" name="47"> 47 </a>
|
||||
</span><span><a class="LN" name="48"> 48 </a> <span class="CT">/* Check for overrun */</span>
|
||||
</span><span><a class="LN" name="49"> 49 </a> <span class="KW">if</span> (OverrunFlag) <b>{</b>
|
||||
</span><span><a class="LN" name="50"> 50 </a> <span class="KW">return</span>;
|
||||
</span><span><a class="LN" name="51"> 51 </a> <b>}</b>
|
||||
</span><span><a class="LN" name="52"> 52 </a>
|
||||
</span><span><a class="LN" name="53"> 53 </a> OverrunFlag = true;
|
||||
</span><span><a class="LN" name="54"> 54 </a>
|
||||
</span><span><a class="LN" name="55"> 55 </a> <span class="CT">/* Save FPU context here (if necessary) */</span>
|
||||
</span><span><a class="LN" name="56"> 56 </a> <span class="CT">/* Re-enable timer or interrupt here */</span>
|
||||
</span><span><a class="LN" name="57"> 57 </a> <span class="CT">/* Set model inputs here */</span>
|
||||
</span><span><a class="LN" name="58"> 58 </a>
|
||||
</span><span><a class="LN" name="59"> 59 </a> <span class="CT">/* Step the model */</span>
|
||||
</span><span><a class="LN" name="60"> 60 </a> <a href="BLDC_controller_c.html#fcn_BLDC_controller_step" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'fcn_BLDC_controller_step');" target="_self"><font color="#1122aa">BLDC_controller_step</font></a>();
|
||||
</span><span><a class="LN" name="28"> 28 </a>
|
||||
</span><span><a class="LN" name="29"> 29 </a><span class="DT">static</span> <a href="BLDC_controller_h.html#type_RT_MODEL" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'type_RT_MODEL');" target="_self"><font color="#1122aa">RT_MODEL</font></a> <a name="var_rtM_">rtM_</a>;
|
||||
</span><span><a class="LN" name="30"> 30 </a><span class="DT">static</span> <a href="BLDC_controller_h.html#type_RT_MODEL" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'type_RT_MODEL');" target="_self"><font color="#1122aa">RT_MODEL</font></a> *<span class="DT">const</span> <a name="var_rtMPtr">rtMPtr</a> = &<a href="#var_rtM_" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'var_rtM_');" target="_self"><font color="#1122aa">rtM_</font></a>; <span class="CT">/* Real-time model */</span>
|
||||
</span><span><a class="LN" name="31"> 31 </a><span class="DT">static</span> <a href="BLDC_controller_h.html#type_P" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'type_P');" target="_self"><font color="#1122aa">P</font></a> <a name="var_rtP">rtP</a> = <b>{</b>
|
||||
</span><span><a class="LN" name="32"> 32 </a> <span class="CT">/* Variable: cf_speedCoef</span>
|
||||
</span><span><a class="LN" name="33"> 33 </a><span class="CT"> * Referenced by: '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2687:1447')" name="code2model"><font color="#117755"><i><S16>/cf_spdCoef</i></font></a>'</span>
|
||||
</span><span><a class="LN" name="34"> 34 </a><span class="CT"> */</span>
|
||||
</span><span><a class="LN" name="35"> 35 </a> 11111,
|
||||
</span><span><a class="LN" name="36"> 36 </a>
|
||||
</span><span><a class="LN" name="37"> 37 </a> <span class="CT">/* Variable: cf_speedFilt</span>
|
||||
</span><span><a class="LN" name="38"> 38 </a><span class="CT"> * Referenced by: '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2687:1448')" name="code2model"><font color="#117755"><i><S16>/cf_speedFilt</i></font></a>'</span>
|
||||
</span><span><a class="LN" name="39"> 39 </a><span class="CT"> */</span>
|
||||
</span><span><a class="LN" name="40"> 40 </a> 10,
|
||||
</span><span><a class="LN" name="41"> 41 </a>
|
||||
</span><span><a class="LN" name="42"> 42 </a> <span class="CT">/* Variable: n_commAcvLo</span>
|
||||
</span><span><a class="LN" name="43"> 43 </a><span class="CT"> * Referenced by: '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2687:1328')" name="code2model"><font color="#117755"><i><S14>/n_commDeacv</i></font></a>'</span>
|
||||
</span><span><a class="LN" name="44"> 44 </a><span class="CT"> */</span>
|
||||
</span><span><a class="LN" name="45"> 45 </a> 15,
|
||||
</span><span><a class="LN" name="46"> 46 </a>
|
||||
</span><span><a class="LN" name="47"> 47 </a> <span class="CT">/* Variable: n_commDeacvHi</span>
|
||||
</span><span><a class="LN" name="48"> 48 </a><span class="CT"> * Referenced by: '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2687:1328')" name="code2model"><font color="#117755"><i><S14>/n_commDeacv</i></font></a>'</span>
|
||||
</span><span><a class="LN" name="49"> 49 </a><span class="CT"> */</span>
|
||||
</span><span><a class="LN" name="50"> 50 </a> 30,
|
||||
</span><span><a class="LN" name="51"> 51 </a>
|
||||
</span><span><a class="LN" name="52"> 52 </a> <span class="CT">/* Variable: r_commDCDeacv</span>
|
||||
</span><span><a class="LN" name="53"> 53 </a><span class="CT"> * Referenced by: '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2687:1329')" name="code2model"><font color="#117755"><i><S14>/r_commDCDeacv</i></font></a>'</span>
|
||||
</span><span><a class="LN" name="54"> 54 </a><span class="CT"> */</span>
|
||||
</span><span><a class="LN" name="55"> 55 </a> 70,
|
||||
</span><span><a class="LN" name="56"> 56 </a>
|
||||
</span><span><a class="LN" name="57"> 57 </a> <span class="CT">/* Variable: r_phaAdvDC_XA</span>
|
||||
</span><span><a class="LN" name="58"> 58 </a><span class="CT"> * Referenced by: '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2687:522')" name="code2model"><font color="#117755"><i><S8>/r_phaAdvDC_XA</i></font></a>'</span>
|
||||
</span><span><a class="LN" name="59"> 59 </a><span class="CT"> */</span>
|
||||
</span><span><a class="LN" name="60"> 60 </a> <b>{</b> 0, 100, 200, 300, 400, 500, 600, 700, 800, 900, 1000 <b>}</b>,
|
||||
</span><span><a class="LN" name="61"> 61 </a>
|
||||
</span><span><a class="LN" name="62"> 62 </a> <span class="CT">/* Get model outputs here */</span>
|
||||
</span><span><a class="LN" name="63"> 63 </a>
|
||||
</span><span><a class="LN" name="64"> 64 </a> <span class="CT">/* Indicate task complete */</span>
|
||||
</span><span><a class="LN" name="65"> 65 </a> OverrunFlag = false;
|
||||
</span><span><a class="LN" name="62"> 62 </a> <span class="CT">/* Variable: a_phaAdv_M1</span>
|
||||
</span><span><a class="LN" name="63"> 63 </a><span class="CT"> * Referenced by: '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2687:521')" name="code2model"><font color="#117755"><i><S8>/a_phaAdv_M2</i></font></a>'</span>
|
||||
</span><span><a class="LN" name="64"> 64 </a><span class="CT"> */</span>
|
||||
</span><span><a class="LN" name="65"> 65 </a> <b>{</b> 0, 0, 0, 0, 0, 2, 3, 5, 9, 16, 25 <b>}</b>,
|
||||
</span><span><a class="LN" name="66"> 66 </a>
|
||||
</span><span><a class="LN" name="67"> 67 </a> <span class="CT">/* Disable interrupts here */</span>
|
||||
</span><span><a class="LN" name="68"> 68 </a> <span class="CT">/* Restore FPU context here (if necessary) */</span>
|
||||
</span><span><a class="LN" name="69"> 69 </a> <span class="CT">/* Enable interrupts here */</span>
|
||||
</span><span><a class="LN" name="70"> 70 </a><b>}</b>
|
||||
</span><span><a class="LN" name="67"> 67 </a> <span class="CT">/* Variable: dz_counterHi</span>
|
||||
</span><span><a class="LN" name="68"> 68 </a><span class="CT"> * Referenced by: '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2687:1518')" name="code2model"><font color="#117755"><i><S14>/dz_counter</i></font></a>'</span>
|
||||
</span><span><a class="LN" name="69"> 69 </a><span class="CT"> */</span>
|
||||
</span><span><a class="LN" name="70"> 70 </a> 50,
|
||||
</span><span><a class="LN" name="71"> 71 </a>
|
||||
</span><span><a class="LN" name="72"> 72 </a><span class="CT">/*</span>
|
||||
</span><span><a class="LN" name="73"> 73 </a><span class="CT"> * The example "main" function illustrates what is required by your</span>
|
||||
</span><span><a class="LN" name="74"> 74 </a><span class="CT"> * application code to initialize, execute, and terminate the generated code.</span>
|
||||
</span><span><a class="LN" name="75"> 75 </a><span class="CT"> * Attaching rt_OneStep to a real-time clock is target specific. This example</span>
|
||||
</span><span><a class="LN" name="76"> 76 </a><span class="CT"> * illustrates how you do this relative to initializing the model.</span>
|
||||
</span><span><a class="LN" name="77"> 77 </a><span class="CT"> */</span>
|
||||
</span><span><a class="LN" name="78"> 78 </a><a href="rtwtypes_h.html#type_int_T" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'type_int_T');" target="_self"><font color="#1122aa">int_T</font></a> <a name="fcn_main">main</a>(<a href="rtwtypes_h.html#type_int_T" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'type_int_T');" target="_self"><font color="#1122aa">int_T</font></a> argc, <span class="DT">const</span> <span class="DT">char</span> *argv[])
|
||||
</span><span><a class="LN" name="79"> 79 </a><b>{</b>
|
||||
</span><span><a class="LN" name="80"> 80 </a> <span class="CT">/* Unused arguments */</span>
|
||||
</span><span><a class="LN" name="81"> 81 </a> (<span class="DT">void</span>)(argc);
|
||||
</span><span><a class="LN" name="82"> 82 </a> (<span class="DT">void</span>)(argv);
|
||||
</span><span><a class="LN" name="83"> 83 </a>
|
||||
</span><span><a class="LN" name="84"> 84 </a> <span class="CT">/* Initialize model */</span>
|
||||
</span><span><a class="LN" name="85"> 85 </a> <a href="BLDC_controller_c.html#fcn_BLDC_controller_initialize" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'fcn_BLDC_controller_initialize');" target="_self"><font color="#1122aa">BLDC_controller_initialize</font></a>();
|
||||
</span><span><a class="LN" name="86"> 86 </a>
|
||||
</span><span><a class="LN" name="87"> 87 </a> <span class="CT">/* Attach rt_OneStep to a timer or interrupt service routine with</span>
|
||||
</span><span><a class="LN" name="88"> 88 </a><span class="CT"> * period 1.0E-5 seconds (the model's base sample time) here. The</span>
|
||||
</span><span><a class="LN" name="89"> 89 </a><span class="CT"> * call syntax for rt_OneStep is</span>
|
||||
</span><span><a class="LN" name="90"> 90 </a><span class="CT"> *</span>
|
||||
</span><span><a class="LN" name="91"> 91 </a><span class="CT"> * rt_OneStep();</span>
|
||||
</span><span><a class="LN" name="92"> 92 </a><span class="CT"> */</span>
|
||||
</span><span><a class="LN" name="93"> 93 </a> printf(<font color="#1122ff">"Warning: The simulation will run forever. "</font>
|
||||
</span><span><a class="LN" name="94"> 94 </a> <font color="#1122ff">"Generated ERT main won't simulate model step behavior. "</font>
|
||||
</span><span><a class="LN" name="95"> 95 </a> <font color="#1122ff">"To change this behavior select the 'MAT-file logging' option.\n"</font>);
|
||||
</span><span><a class="LN" name="96"> 96 </a> fflush((NULL));
|
||||
</span><span><a class="LN" name="97"> 97 </a> <span class="KW">while</span> (1) <b>{</b>
|
||||
</span><span><a class="LN" name="98"> 98 </a> <span class="CT">/* Perform other application tasks here */</span>
|
||||
</span><span><a class="LN" name="99"> 99 </a> <b>}</b>
|
||||
</span><span><a class="LN" name="100"> 100 </a>
|
||||
</span><span><a class="LN" name="101"> 101 </a> <span class="CT">/* The option 'Remove error status field in real-time model data structure'</span>
|
||||
</span><span><a class="LN" name="102"> 102 </a><span class="CT"> * is selected, therefore the following code does not need to execute.</span>
|
||||
</span><span><a class="LN" name="103"> 103 </a><span class="CT"> */</span>
|
||||
</span><span><a class="LN" name="104"> 104 </a><font color="#992211">#</font><span class="PP">if</span> 0
|
||||
</span><span><a class="LN" name="105"> 105 </a>
|
||||
</span><span><a class="LN" name="106"> 106 </a> <span class="CT">/* Disable rt_OneStep() here */</span>
|
||||
</span><span><a class="LN" name="107"> 107 </a><font color="#992211">#</font><span class="PP">endif</span>
|
||||
</span><span><a class="LN" name="108"> 108 </a>
|
||||
</span><span><a class="LN" name="109"> 109 </a> <span class="KW">return</span> 0;
|
||||
</span><span><a class="LN" name="110"> 110 </a><b>}</b>
|
||||
</span><span><a class="LN" name="111"> 111 </a>
|
||||
</span><span><a class="LN" name="112"> 112 </a><span class="CT">/*</span>
|
||||
</span><span><a class="LN" name="113"> 113 </a><span class="CT"> * File trailer for generated code.</span>
|
||||
</span><span><a class="LN" name="114"> 114 </a><span class="CT"> *</span>
|
||||
</span><span><a class="LN" name="115"> 115 </a><span class="CT"> * [EOF]</span>
|
||||
</span><span><a class="LN" name="116"> 116 </a><span class="CT"> */</span>
|
||||
</span><span><a class="LN" name="117"> 117 </a>
|
||||
</span><span><a class="LN" name="72"> 72 </a> <span class="CT">/* Variable: dz_counterLo</span>
|
||||
</span><span><a class="LN" name="73"> 73 </a><span class="CT"> * Referenced by: '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2687:1518')" name="code2model"><font color="#117755"><i><S14>/dz_counter</i></font></a>'</span>
|
||||
</span><span><a class="LN" name="74"> 74 </a><span class="CT"> */</span>
|
||||
</span><span><a class="LN" name="75"> 75 </a> 20,
|
||||
</span><span><a class="LN" name="76"> 76 </a>
|
||||
</span><span><a class="LN" name="77"> 77 </a> <span class="CT">/* Variable: z_ctrlTypSel</span>
|
||||
</span><span><a class="LN" name="78"> 78 </a><span class="CT"> * Referenced by: '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2687:208')" name="code2model"><font color="#117755"><i><S7>/z_ctrlTypSel1</i></font></a>'</span>
|
||||
</span><span><a class="LN" name="79"> 79 </a><span class="CT"> */</span>
|
||||
</span><span><a class="LN" name="80"> 80 </a> 3U,
|
||||
</span><span><a class="LN" name="81"> 81 </a>
|
||||
</span><span><a class="LN" name="82"> 82 </a> <span class="CT">/* Variable: b_phaAdvEna</span>
|
||||
</span><span><a class="LN" name="83"> 83 </a><span class="CT"> * Referenced by: '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2687:512')" name="code2model"><font color="#117755"><i><S8>/a_elecPeriod1</i></font></a>'</span>
|
||||
</span><span><a class="LN" name="84"> 84 </a><span class="CT"> */</span>
|
||||
</span><span><a class="LN" name="85"> 85 </a> 1
|
||||
</span><span><a class="LN" name="86"> 86 </a><b>}</b>; <span class="CT">/* Modifiable parameters */</span>
|
||||
</span><span><a class="LN" name="87"> 87 </a>
|
||||
</span><span><a class="LN" name="88"> 88 </a><span class="DT">static</span> <a href="BLDC_controller_h.html#type_DW" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'type_DW');" target="_self"><font color="#1122aa">DW</font></a> <a name="var_rtDW">rtDW</a>; <span class="CT">/* Observable states */</span>
|
||||
</span><span><a class="LN" name="89"> 89 </a><span class="DT">static</span> <a href="BLDC_controller_h.html#type_ExtU" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'type_ExtU');" target="_self"><font color="#1122aa">ExtU</font></a> <a name="var_rtU">rtU</a>; <span class="CT">/* External inputs */</span>
|
||||
</span><span><a class="LN" name="90"> 90 </a><span class="DT">static</span> <a href="BLDC_controller_h.html#type_ExtY" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'type_ExtY');" target="_self"><font color="#1122aa">ExtY</font></a> <a name="var_rtY">rtY</a>; <span class="CT">/* External outputs */</span>
|
||||
</span><span><a class="LN" name="91"> 91 </a>
|
||||
</span><span><a class="LN" name="92"> 92 </a><span class="CT">/*</span>
|
||||
</span><span><a class="LN" name="93"> 93 </a><span class="CT"> * Associating rt_OneStep with a real-time clock or interrupt service routine</span>
|
||||
</span><span><a class="LN" name="94"> 94 </a><span class="CT"> * is what makes the generated code "real-time". The function rt_OneStep is</span>
|
||||
</span><span><a class="LN" name="95"> 95 </a><span class="CT"> * always associated with the base rate of the model. Subrates are managed</span>
|
||||
</span><span><a class="LN" name="96"> 96 </a><span class="CT"> * by the base rate from inside the generated code. Enabling/disabling</span>
|
||||
</span><span><a class="LN" name="97"> 97 </a><span class="CT"> * interrupts and floating point context switches are target specific. This</span>
|
||||
</span><span><a class="LN" name="98"> 98 </a><span class="CT"> * example code indicates where these should take place relative to executing</span>
|
||||
</span><span><a class="LN" name="99"> 99 </a><span class="CT"> * the generated code step function. Overrun behavior should be tailored to</span>
|
||||
</span><span><a class="LN" name="100"> 100 </a><span class="CT"> * your application needs. This example simply sets an error status in the</span>
|
||||
</span><span><a class="LN" name="101"> 101 </a><span class="CT"> * real-time model and returns from rt_OneStep.</span>
|
||||
</span><span><a class="LN" name="102"> 102 </a><span class="CT"> */</span>
|
||||
</span><span><a class="LN" name="103"> 103 </a><span class="DT">void</span> <a href="#fcn_rt_OneStep" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'fcn_rt_OneStep');" target="_self"><font color="#1122aa">rt_OneStep</font></a>(<a href="BLDC_controller_h.html#type_RT_MODEL" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'type_RT_MODEL');" target="_self"><font color="#1122aa">RT_MODEL</font></a> *<span class="DT">const</span> rtM);
|
||||
</span><span><a class="LN" name="104"> 104 </a><span class="DT">void</span> <a name="fcn_rt_OneStep">rt_OneStep</a>(<a href="BLDC_controller_h.html#type_RT_MODEL" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'type_RT_MODEL');" target="_self"><font color="#1122aa">RT_MODEL</font></a> *<span class="DT">const</span> rtM)
|
||||
</span><span><a class="LN" name="105"> 105 </a><b>{</b>
|
||||
</span><span><a class="LN" name="106"> 106 </a> <span class="DT">static</span> <a href="rtwtypes_h.html#type_boolean_T" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'type_boolean_T');" target="_self"><font color="#1122aa">boolean_T</font></a> OverrunFlag = false;
|
||||
</span><span><a class="LN" name="107"> 107 </a>
|
||||
</span><span><a class="LN" name="108"> 108 </a> <span class="CT">/* Disable interrupts here */</span>
|
||||
</span><span><a class="LN" name="109"> 109 </a>
|
||||
</span><span><a class="LN" name="110"> 110 </a> <span class="CT">/* Check for overrun */</span>
|
||||
</span><span><a class="LN" name="111"> 111 </a> <span class="KW">if</span> (OverrunFlag) <b>{</b>
|
||||
</span><span><a class="LN" name="112"> 112 </a> <span class="KW">return</span>;
|
||||
</span><span><a class="LN" name="113"> 113 </a> <b>}</b>
|
||||
</span><span><a class="LN" name="114"> 114 </a>
|
||||
</span><span><a class="LN" name="115"> 115 </a> OverrunFlag = true;
|
||||
</span><span><a class="LN" name="116"> 116 </a>
|
||||
</span><span><a class="LN" name="117"> 117 </a> <span class="CT">/* Save FPU context here (if necessary) */</span>
|
||||
</span><span><a class="LN" name="118"> 118 </a> <span class="CT">/* Re-enable timer or interrupt here */</span>
|
||||
</span><span><a class="LN" name="119"> 119 </a> <span class="CT">/* Set model inputs here */</span>
|
||||
</span><span><a class="LN" name="120"> 120 </a>
|
||||
</span><span><a class="LN" name="121"> 121 </a> <span class="CT">/* Step the model */</span>
|
||||
</span><span><a class="LN" name="122"> 122 </a> <a href="BLDC_controller_c.html#fcn_BLDC_controller_step" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'fcn_BLDC_controller_step');" target="_self"><font color="#1122aa">BLDC_controller_step</font></a>(rtM);
|
||||
</span><span><a class="LN" name="123"> 123 </a>
|
||||
</span><span><a class="LN" name="124"> 124 </a> <span class="CT">/* Get model outputs here */</span>
|
||||
</span><span><a class="LN" name="125"> 125 </a>
|
||||
</span><span><a class="LN" name="126"> 126 </a> <span class="CT">/* Indicate task complete */</span>
|
||||
</span><span><a class="LN" name="127"> 127 </a> OverrunFlag = false;
|
||||
</span><span><a class="LN" name="128"> 128 </a>
|
||||
</span><span><a class="LN" name="129"> 129 </a> <span class="CT">/* Disable interrupts here */</span>
|
||||
</span><span><a class="LN" name="130"> 130 </a> <span class="CT">/* Restore FPU context here (if necessary) */</span>
|
||||
</span><span><a class="LN" name="131"> 131 </a> <span class="CT">/* Enable interrupts here */</span>
|
||||
</span><span><a class="LN" name="132"> 132 </a><b>}</b>
|
||||
</span><span><a class="LN" name="133"> 133 </a>
|
||||
</span><span><a class="LN" name="134"> 134 </a><span class="CT">/*</span>
|
||||
</span><span><a class="LN" name="135"> 135 </a><span class="CT"> * The example "main" function illustrates what is required by your</span>
|
||||
</span><span><a class="LN" name="136"> 136 </a><span class="CT"> * application code to initialize, execute, and terminate the generated code.</span>
|
||||
</span><span><a class="LN" name="137"> 137 </a><span class="CT"> * Attaching rt_OneStep to a real-time clock is target specific. This example</span>
|
||||
</span><span><a class="LN" name="138"> 138 </a><span class="CT"> * illustrates how you do this relative to initializing the model.</span>
|
||||
</span><span><a class="LN" name="139"> 139 </a><span class="CT"> */</span>
|
||||
</span><span><a class="LN" name="140"> 140 </a><a href="rtwtypes_h.html#type_int_T" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'type_int_T');" target="_self"><font color="#1122aa">int_T</font></a> <a name="fcn_main">main</a>(<a href="rtwtypes_h.html#type_int_T" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'type_int_T');" target="_self"><font color="#1122aa">int_T</font></a> argc, <span class="DT">const</span> <span class="DT">char</span> *argv[])
|
||||
</span><span><a class="LN" name="141"> 141 </a><b>{</b>
|
||||
</span><span><a class="LN" name="142"> 142 </a> <a href="BLDC_controller_h.html#type_RT_MODEL" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'type_RT_MODEL');" target="_self"><font color="#1122aa">RT_MODEL</font></a> *<span class="DT">const</span> rtM = <a href="#var_rtMPtr" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'var_rtMPtr');" target="_self"><font color="#1122aa">rtMPtr</font></a>;
|
||||
</span><span><a class="LN" name="143"> 143 </a>
|
||||
</span><span><a class="LN" name="144"> 144 </a> <span class="CT">/* Unused arguments */</span>
|
||||
</span><span><a class="LN" name="145"> 145 </a> (<span class="DT">void</span>)(argc);
|
||||
</span><span><a class="LN" name="146"> 146 </a> (<span class="DT">void</span>)(argv);
|
||||
</span><span><a class="LN" name="147"> 147 </a>
|
||||
</span><span><a class="LN" name="148"> 148 </a> <span class="CT">/* Pack model data into RTM */</span>
|
||||
</span><span><a class="LN" name="149"> 149 </a> rtM->defaultParam = &<a href="#var_rtP" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'var_rtP');" target="_self"><font color="#1122aa">rtP</font></a>;
|
||||
</span><span><a class="LN" name="150"> 150 </a> rtM->dwork = &<a href="#var_rtDW" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'var_rtDW');" target="_self"><font color="#1122aa">rtDW</font></a>;
|
||||
</span><span><a class="LN" name="151"> 151 </a> rtM->inputs = &<a href="#var_rtU" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'var_rtU');" target="_self"><font color="#1122aa">rtU</font></a>;
|
||||
</span><span><a class="LN" name="152"> 152 </a> rtM->outputs = &<a href="#var_rtY" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'var_rtY');" target="_self"><font color="#1122aa">rtY</font></a>;
|
||||
</span><span><a class="LN" name="153"> 153 </a>
|
||||
</span><span><a class="LN" name="154"> 154 </a> <span class="CT">/* Initialize model */</span>
|
||||
</span><span><a class="LN" name="155"> 155 </a> <a href="BLDC_controller_c.html#fcn_BLDC_controller_initialize" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'fcn_BLDC_controller_initialize');" target="_self"><font color="#1122aa">BLDC_controller_initialize</font></a>(rtM);
|
||||
</span><span><a class="LN" name="156"> 156 </a>
|
||||
</span><span><a class="LN" name="157"> 157 </a> <span class="CT">/* Attach rt_OneStep to a timer or interrupt service routine with</span>
|
||||
</span><span><a class="LN" name="158"> 158 </a><span class="CT"> * period 6.0E-5 seconds (the model's base sample time) here. The</span>
|
||||
</span><span><a class="LN" name="159"> 159 </a><span class="CT"> * call syntax for rt_OneStep is</span>
|
||||
</span><span><a class="LN" name="160"> 160 </a><span class="CT"> *</span>
|
||||
</span><span><a class="LN" name="161"> 161 </a><span class="CT"> * rt_OneStep(rtM);</span>
|
||||
</span><span><a class="LN" name="162"> 162 </a><span class="CT"> */</span>
|
||||
</span><span><a class="LN" name="163"> 163 </a> printf(<font color="#1122ff">"Warning: The simulation will run forever. "</font>
|
||||
</span><span><a class="LN" name="164"> 164 </a> <font color="#1122ff">"Generated ERT main won't simulate model step behavior. "</font>
|
||||
</span><span><a class="LN" name="165"> 165 </a> <font color="#1122ff">"To change this behavior select the 'MAT-file logging' option.\n"</font>);
|
||||
</span><span><a class="LN" name="166"> 166 </a> fflush((NULL));
|
||||
</span><span><a class="LN" name="167"> 167 </a> <span class="KW">while</span> (1) <b>{</b>
|
||||
</span><span><a class="LN" name="168"> 168 </a> <span class="CT">/* Perform other application tasks here */</span>
|
||||
</span><span><a class="LN" name="169"> 169 </a> <b>}</b>
|
||||
</span><span><a class="LN" name="170"> 170 </a>
|
||||
</span><span><a class="LN" name="171"> 171 </a> <span class="CT">/* The option 'Remove error status field in real-time model data structure'</span>
|
||||
</span><span><a class="LN" name="172"> 172 </a><span class="CT"> * is selected, therefore the following code does not need to execute.</span>
|
||||
</span><span><a class="LN" name="173"> 173 </a><span class="CT"> */</span>
|
||||
</span><span><a class="LN" name="174"> 174 </a><font color="#992211">#</font><span class="PP">if</span> 0
|
||||
</span><span><a class="LN" name="175"> 175 </a>
|
||||
</span><span><a class="LN" name="176"> 176 </a> <span class="CT">/* Disable rt_OneStep() here */</span>
|
||||
</span><span><a class="LN" name="177"> 177 </a><font color="#992211">#</font><span class="PP">endif</span>
|
||||
</span><span><a class="LN" name="178"> 178 </a>
|
||||
</span><span><a class="LN" name="179"> 179 </a> <span class="KW">return</span> 0;
|
||||
</span><span><a class="LN" name="180"> 180 </a><b>}</b>
|
||||
</span><span><a class="LN" name="181"> 181 </a>
|
||||
</span><span><a class="LN" name="182"> 182 </a><span class="CT">/*</span>
|
||||
</span><span><a class="LN" name="183"> 183 </a><span class="CT"> * File trailer for generated code.</span>
|
||||
</span><span><a class="LN" name="184"> 184 </a><span class="CT"> *</span>
|
||||
</span><span><a class="LN" name="185"> 185 </a><span class="CT"> * [EOF]</span>
|
||||
</span><span><a class="LN" name="186"> 186 </a><span class="CT"> */</span>
|
||||
</span><span><a class="LN" name="187"> 187 </a>
|
||||
</span></pre>
|
||||
</td></tr></table>
|
||||
</p>
|
||||
|
@ -2,73 +2,21 @@ function CodeMetrics() {
|
||||
this.metricsArray = {};
|
||||
this.metricsArray.var = new Array();
|
||||
this.metricsArray.fcn = new Array();
|
||||
this.metricsArray.var["rtDW"] = {file: "D:\\Work_home\\01_Motor_control\\BLDC_controller_ert_rtw\\BLDC_controller.c",
|
||||
size: 87};
|
||||
this.metricsArray.var["rtP"] = {file: "D:\\Work_home\\01_Motor_control\\BLDC_controller_ert_rtw\\BLDC_controller_data.c",
|
||||
size: 87};
|
||||
this.metricsArray.var["rtPrevZCX"] = {file: "D:\\Work_home\\01_Motor_control\\BLDC_controller_ert_rtw\\BLDC_controller.c",
|
||||
size: 2};
|
||||
this.metricsArray.var["rtU"] = {file: "D:\\Work_home\\01_Motor_control\\BLDC_controller_ert_rtw\\BLDC_controller.c",
|
||||
size: 14};
|
||||
this.metricsArray.var["rtY"] = {file: "D:\\Work_home\\01_Motor_control\\BLDC_controller_ert_rtw\\BLDC_controller.c",
|
||||
size: 40};
|
||||
this.metricsArray.fcn["BLDC_controller.c:Edge_counter"] = {file: "D:\\Work_home\\01_Motor_control\\BLDC_controller_ert_rtw\\BLDC_controller.c",
|
||||
stack: 2,
|
||||
stackTotal: 2};
|
||||
this.metricsArray.fcn["BLDC_controller.c:Edge_counter_Disable"] = {file: "D:\\Work_home\\01_Motor_control\\BLDC_controller_ert_rtw\\BLDC_controller.c",
|
||||
this.metricsArray.fcn["BLDC_controller_initialize"] = {file: "D:\\git\\hoverboard-firmware-hack\\01_Matlab\\BLDC_controller_ert_rtw\\BLDC_controller.c",
|
||||
stack: 8,
|
||||
stackTotal: 8};
|
||||
this.metricsArray.fcn["BLDC_controller_step"] = {file: "D:\\git\\hoverboard-firmware-hack\\01_Matlab\\BLDC_controller_ert_rtw\\BLDC_controller.c",
|
||||
stack: 60,
|
||||
stackTotal: 69};
|
||||
this.metricsArray.fcn["div_nde_s32_floor"] = {file: "D:\\git\\hoverboard-firmware-hack\\01_Matlab\\BLDC_controller_ert_rtw\\BLDC_controller.c",
|
||||
stack: 0,
|
||||
stackTotal: 0};
|
||||
this.metricsArray.fcn["BLDC_controller.c:Edge_counter_Reset"] = {file: "D:\\Work_home\\01_Motor_control\\BLDC_controller_ert_rtw\\BLDC_controller.c",
|
||||
stack: 0,
|
||||
stackTotal: 0};
|
||||
this.metricsArray.fcn["BLDC_controller.c:F01_03_Direction_Detection"] = {file: "D:\\Work_home\\01_Motor_control\\BLDC_controller_ert_rtw\\BLDC_controller.c",
|
||||
stack: 1,
|
||||
stackTotal: 1};
|
||||
this.metricsArray.fcn["BLDC_controller.c:F02_Electrical_Angle_Ca_Disable"] = {file: "D:\\Work_home\\01_Motor_control\\BLDC_controller_ert_rtw\\BLDC_controller.c",
|
||||
stack: 0,
|
||||
stackTotal: 0};
|
||||
this.metricsArray.fcn["BLDC_controller.c:F02_Electrical_Angle_Calculatio"] = {file: "D:\\Work_home\\01_Motor_control\\BLDC_controller_ert_rtw\\BLDC_controller.c",
|
||||
stack: 11,
|
||||
stackTotal: 20};
|
||||
this.metricsArray.fcn["BLDC_controller.c:F03_01_Pure_Trapezoidal_Method"] = {file: "D:\\Work_home\\01_Motor_control\\BLDC_controller_ert_rtw\\BLDC_controller.c",
|
||||
stack: 5,
|
||||
stackTotal: 14};
|
||||
this.metricsArray.fcn["BLDC_controller.c:F03_02_Sinusoidal3rd_Method"] = {file: "D:\\Work_home\\01_Motor_control\\BLDC_controller_ert_rtw\\BLDC_controller.c",
|
||||
stack: 5,
|
||||
stackTotal: 14};
|
||||
this.metricsArray.fcn["BLDC_controller.c:F03_02_Sinusoidal_Method"] = {file: "D:\\Work_home\\01_Motor_control\\BLDC_controller_ert_rtw\\BLDC_controller.c",
|
||||
stack: 5,
|
||||
stackTotal: 14};
|
||||
this.metricsArray.fcn["BLDC_controller.c:Motor_Speed_Calculation"] = {file: "D:\\Work_home\\01_Motor_control\\BLDC_controller_ert_rtw\\BLDC_controller.c",
|
||||
this.metricsArray.fcn["intrp1d_s16s32s32u8u32n31l_s"] = {file: "D:\\git\\hoverboard-firmware-hack\\01_Matlab\\BLDC_controller_ert_rtw\\BLDC_controller.c",
|
||||
stack: 4,
|
||||
stackTotal: 4};
|
||||
this.metricsArray.fcn["BLDC_controller.c:div_nde_s32_floor"] = {file: "D:\\Work_home\\01_Motor_control\\BLDC_controller_ert_rtw\\BLDC_controller.c",
|
||||
stack: 0,
|
||||
stackTotal: 0};
|
||||
this.metricsArray.fcn["BLDC_controller.c:falling_edge2"] = {file: "D:\\Work_home\\01_Motor_control\\BLDC_controller_ert_rtw\\BLDC_controller.c",
|
||||
stack: 0,
|
||||
stackTotal: 0};
|
||||
this.metricsArray.fcn["BLDC_controller.c:falling_edge2_b"] = {file: "D:\\Work_home\\01_Motor_control\\BLDC_controller_ert_rtw\\BLDC_controller.c",
|
||||
stack: 0,
|
||||
stackTotal: 0};
|
||||
this.metricsArray.fcn["BLDC_controller.c:intrp1d_s16s32s32u8u32n31l_s"] = {file: "D:\\Work_home\\01_Motor_control\\BLDC_controller_ert_rtw\\BLDC_controller.c",
|
||||
stack: 4,
|
||||
stackTotal: 4};
|
||||
this.metricsArray.fcn["BLDC_controller.c:plook_u8s32u32n31_evenc_s"] = {file: "D:\\Work_home\\01_Motor_control\\BLDC_controller_ert_rtw\\BLDC_controller.c",
|
||||
this.metricsArray.fcn["plook_u8s32u32n31_evenc_s"] = {file: "D:\\git\\hoverboard-firmware-hack\\01_Matlab\\BLDC_controller_ert_rtw\\BLDC_controller.c",
|
||||
stack: 9,
|
||||
stackTotal: 9};
|
||||
this.metricsArray.fcn["BLDC_controller.c:rising_edge"] = {file: "D:\\Work_home\\01_Motor_control\\BLDC_controller_ert_rtw\\BLDC_controller.c",
|
||||
stack: 0,
|
||||
stackTotal: 0};
|
||||
this.metricsArray.fcn["BLDC_controller.c:rising_edge_f"] = {file: "D:\\Work_home\\01_Motor_control\\BLDC_controller_ert_rtw\\BLDC_controller.c",
|
||||
stack: 0,
|
||||
stackTotal: 0};
|
||||
this.metricsArray.fcn["BLDC_controller_initialize"] = {file: "D:\\Work_home\\01_Motor_control\\BLDC_controller_ert_rtw\\BLDC_controller.c",
|
||||
stack: 0,
|
||||
stackTotal: 0};
|
||||
this.metricsArray.fcn["BLDC_controller_step"] = {file: "D:\\Work_home\\01_Motor_control\\BLDC_controller_ert_rtw\\BLDC_controller.c",
|
||||
stack: 27,
|
||||
stackTotal: 47};
|
||||
this.getMetrics = function(token) {
|
||||
var data;
|
||||
data = this.metricsArray.var[token];
|
||||
@ -79,6 +27,6 @@ function CodeMetrics() {
|
||||
data.type = "var";
|
||||
}
|
||||
return data; };
|
||||
this.codeMetricsSummary = '<a href="BLDC_controller_metrics.html">Global Memory: 230(bytes) Maximum Stack: 27(bytes)</a>';
|
||||
this.codeMetricsSummary = '<a href="BLDC_controller_metrics.html">Global Memory: 0(bytes) Maximum Stack: 60(bytes)</a>';
|
||||
}
|
||||
CodeMetrics.instance = new CodeMetrics();
|
||||
|
@ -21,9 +21,9 @@
|
||||
</span><span><a class="LN" name="7"> 7 </a><span class="CT"> *</span>
|
||||
</span><span><a class="LN" name="8"> 8 </a><span class="CT"> * Code generated for Simulink model 'BLDC_controller'.</span>
|
||||
</span><span><a class="LN" name="9"> 9 </a><span class="CT"> *</span>
|
||||
</span><span><a class="LN" name="10"> 10 </a><span class="CT"> * Model version : 1.817</span>
|
||||
</span><span><a class="LN" name="10"> 10 </a><span class="CT"> * Model version : 1.877</span>
|
||||
</span><span><a class="LN" name="11"> 11 </a><span class="CT"> * Simulink Coder version : 8.13 (R2017b) 24-Jul-2017</span>
|
||||
</span><span><a class="LN" name="12"> 12 </a><span class="CT"> * C/C++ source code generated on : Tue May 28 19:55:33 2019</span>
|
||||
</span><span><a class="LN" name="12"> 12 </a><span class="CT"> * C/C++ source code generated on : Wed Jun 5 22:29:28 2019</span>
|
||||
</span><span><a class="LN" name="13"> 13 </a><span class="CT"> *</span>
|
||||
</span><span><a class="LN" name="14"> 14 </a><span class="CT"> * Target selection: ert.tlc</span>
|
||||
</span><span><a class="LN" name="15"> 15 </a><span class="CT"> * Embedded hardware selection: ARM Compatible->ARM Cortex</span>
|
||||
|
@ -8,7 +8,7 @@
|
||||
"sid":"BLDCmotorControl_R2017b",
|
||||
"name":"BLDCmotorControl_R2017b",
|
||||
"fullname":"BLDCmotorControl_R2017b",
|
||||
"label":"BLDCmotorControl_R2017b",
|
||||
"label":"BLDCmotorControl_R2017b*",
|
||||
"parent":0,
|
||||
"descendants":[
|
||||
2,
|
||||
@ -35,73 +35,7 @@
|
||||
23,
|
||||
24,
|
||||
25,
|
||||
26,
|
||||
27,
|
||||
28,
|
||||
29,
|
||||
30,
|
||||
31,
|
||||
32,
|
||||
33,
|
||||
34,
|
||||
35,
|
||||
36,
|
||||
37,
|
||||
38,
|
||||
39,
|
||||
40,
|
||||
41,
|
||||
42,
|
||||
43,
|
||||
44,
|
||||
45,
|
||||
46,
|
||||
47,
|
||||
48,
|
||||
49,
|
||||
50,
|
||||
51,
|
||||
52,
|
||||
53,
|
||||
54,
|
||||
55,
|
||||
56,
|
||||
57,
|
||||
58,
|
||||
59,
|
||||
60,
|
||||
61,
|
||||
62,
|
||||
63,
|
||||
64,
|
||||
65,
|
||||
66,
|
||||
67,
|
||||
68,
|
||||
69,
|
||||
70,
|
||||
71,
|
||||
72,
|
||||
73,
|
||||
74,
|
||||
75,
|
||||
76,
|
||||
77,
|
||||
78,
|
||||
79,
|
||||
80,
|
||||
81,
|
||||
82,
|
||||
83,
|
||||
84,
|
||||
85,
|
||||
86,
|
||||
87,
|
||||
88,
|
||||
89,
|
||||
90,
|
||||
91,
|
||||
92
|
||||
26
|
||||
],
|
||||
"hierarchyUrl":"support/slwebview_files/BLDCmotorControl_R2017b_h_1.json",
|
||||
"backingUrl":"support/slwebview_files/BLDCmotorControl_R2017b_m.json"
|
||||
|
@ -30,8 +30,8 @@
|
||||
"sid":"BLDCmotorControl_R2017b:1829",
|
||||
"className":"Simulink.Inport",
|
||||
"icon":"WebViewIcon2",
|
||||
"name":"b_hallALeft",
|
||||
"label":"b_hallALeft",
|
||||
"name":"b_hallA",
|
||||
"label":"b_hallA",
|
||||
"parent":"BLDCmotorControl_R2017b:1828",
|
||||
"inspector":{
|
||||
"params":[
|
||||
@ -97,8 +97,8 @@
|
||||
"sid":"BLDCmotorControl_R2017b:1829#out:1",
|
||||
"className":"Simulink.Line",
|
||||
"icon":"WebViewIcon4",
|
||||
"name":"b_hallALeft",
|
||||
"label":"b_hallALeft",
|
||||
"name":"b_hallA",
|
||||
"label":"b_hallA",
|
||||
"parent":"BLDCmotorControl_R2017b:1828",
|
||||
"inspector":{
|
||||
"params":[
|
||||
@ -113,7 +113,7 @@
|
||||
"documentLink"
|
||||
],
|
||||
"values":[
|
||||
"b_hallALeft",
|
||||
"b_hallA",
|
||||
"off",
|
||||
"off",
|
||||
"on",
|
||||
|
Before Width: | Height: | Size: 5.3 KiB After Width: | Height: | Size: 4.8 KiB |
@ -1,10 +1,10 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" display="inline" height="43.000000px" preserveAspectRatio="xMinYMin meet" viewBox="8.05 46.00 132.95 43.00" width="132.953125px" x="0" y="0" zoomAndPan="disable">
|
||||
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" display="inline" height="43.000000px" preserveAspectRatio="xMinYMin meet" viewBox="16.36 46.00 124.64 43.00" width="124.640625px" x="0" y="0" zoomAndPan="disable">
|
||||
<g fill="none" stroke="black" stroke-width="1" fill-rule="evenodd" stroke-linecap="square" stroke-linejoin="bevel">
|
||||
<!--RAWSTRING-->
|
||||
<g id="background" pointer-events="none">
|
||||
<g clip-path="none" fill="#ffffff" fill-opacity="1" opacity="1" stroke="none" stroke-opacity="0" transform="matrix(1,0,0,1,0,0)">
|
||||
<path d="M9.04688,47 L140,47 L140,88 L9.04688,88 L9.04688,47 z" fill-rule="evenodd" vector-effect="none"/>
|
||||
<path d="M17.3594,47 L140,47 L140,88 L17.3594,88 L17.3594,47 z" fill-rule="evenodd" vector-effect="none"/>
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
</g>
|
||||
@ -91,15 +91,15 @@
|
||||
<!--RAWSTRING-->
|
||||
<g data-tags="blk BlockName">
|
||||
<g clip-path="none" fill="none" opacity="1" stroke="none" stroke-opacity="0" transform="matrix(1,0,0,1,35,74)">
|
||||
<path d="M-25.9531,0 L25.9531,0 L25.9531,14 L-25.9531,14 L-25.9531,0 z" fill-rule="evenodd" vector-effect="none"/>
|
||||
<path d="M-17.6406,0 L17.6406,0 L17.6406,14 L-17.6406,14 L-17.6406,0 z" fill-rule="evenodd" vector-effect="none"/>
|
||||
</g>
|
||||
<defs>
|
||||
<clipPath id="clip20">
|
||||
<path d="M0,-27 L132.953,-27 L132.953,14 L0,14 L0,-27 z"/>
|
||||
<path d="M0,-27 L124.641,-27 L124.641,14 L0,14 L0,-27 z"/>
|
||||
</clipPath>
|
||||
</defs>
|
||||
<g clip-path="url(#clip20)" fill="none" opacity="1" stroke="#000000" stroke-linecap="square" stroke-linejoin="bevel" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,9.04688,74)">
|
||||
<text fill="#000000" fill-opacity="1" font-family="Arial" font-size="10" font-style="normal" font-weight="400" stroke="none" textLength="49.9062" x="1" xml:space="preserve" y="10">b_hallALeft</text>
|
||||
<g clip-path="url(#clip20)" fill="none" opacity="1" stroke="#000000" stroke-linecap="square" stroke-linejoin="bevel" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,17.3594,74)">
|
||||
<text fill="#000000" fill-opacity="1" font-family="Arial" font-size="10" font-style="normal" font-weight="400" stroke="none" textLength="33.2812" x="1" xml:space="preserve" y="10">b_hallA</text>
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
</g>
|
||||
@ -110,7 +110,7 @@
|
||||
</g>
|
||||
<defs>
|
||||
<clipPath id="clip21">
|
||||
<path d="M-60.9531,-4 L72,-4 L72,37 L-60.9531,37 L-60.9531,-4 z"/>
|
||||
<path d="M-52.6406,-4 L72,-4 L72,37 L-52.6406,37 L-52.6406,-4 z"/>
|
||||
</clipPath>
|
||||
</defs>
|
||||
<g clip-path="url(#clip21)" fill="none" opacity="1" stroke="#000000" stroke-linecap="square" stroke-linejoin="bevel" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,70,51)">
|
||||
@ -133,15 +133,15 @@
|
||||
<path d="M50,65 L122,65" fill-rule="evenodd" vector-effect="none"/>
|
||||
</g>
|
||||
<g clip-path="none" fill="none" opacity="1" stroke="none" stroke-opacity="0" transform="matrix(1,0,0,1,85,66.5)">
|
||||
<path d="M-23.4844,0 L23.4844,0 L23.4844,12 L-23.4844,12 L-23.4844,0 z" fill-rule="evenodd" vector-effect="none"/>
|
||||
<path d="M-16.4844,0 L16.4844,0 L16.4844,12 L-16.4844,12 L-16.4844,0 z" fill-rule="evenodd" vector-effect="none"/>
|
||||
</g>
|
||||
<defs>
|
||||
<clipPath id="clip22">
|
||||
<path d="M-52.4688,-19.5 L80.4844,-19.5 L80.4844,21.5 L-52.4688,21.5 L-52.4688,-19.5 z"/>
|
||||
<path d="M-51.1562,-19.5 L73.4844,-19.5 L73.4844,21.5 L-51.1562,21.5 L-51.1562,-19.5 z"/>
|
||||
</clipPath>
|
||||
</defs>
|
||||
<g clip-path="url(#clip22)" fill="none" opacity="1" stroke="#000000" stroke-linecap="square" stroke-linejoin="bevel" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,61.5156,66.5)">
|
||||
<text fill="#000000" fill-opacity="1" font-family="Arial" font-size="9" font-style="normal" font-weight="400" stroke="none" textLength="44.9688" x="1" xml:space="preserve" y="9">b_hallALeft</text>
|
||||
<g clip-path="url(#clip22)" fill="none" opacity="1" stroke="#000000" stroke-linecap="square" stroke-linejoin="bevel" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,68.5156,66.5)">
|
||||
<text fill="#000000" fill-opacity="1" font-family="Arial" font-size="9" font-style="normal" font-weight="400" stroke="none" textLength="29.9688" x="1.5" xml:space="preserve" y="9">b_hallA</text>
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
</g>
|
||||
@ -174,5 +174,5 @@
|
||||
<!--RAWSTRING-->
|
||||
</g>
|
||||
</g>
|
||||
<!--generated on windows @ 2019-05-28 19:56:02 W. Europe Daylight Time-->
|
||||
<!--generated on windows @ 2019-06-05 22:29:43 W. Europe Daylight Time-->
|
||||
</svg>
|
||||
|
Before Width: | Height: | Size: 11 KiB After Width: | Height: | Size: 11 KiB |
@ -30,8 +30,8 @@
|
||||
"sid":"BLDCmotorControl_R2017b:1832",
|
||||
"className":"Simulink.Inport",
|
||||
"icon":"WebViewIcon2",
|
||||
"name":"b_hallBLeft",
|
||||
"label":"b_hallBLeft",
|
||||
"name":"b_hallB",
|
||||
"label":"b_hallB",
|
||||
"parent":"BLDCmotorControl_R2017b:1831",
|
||||
"inspector":{
|
||||
"params":[
|
||||
@ -97,8 +97,8 @@
|
||||
"sid":"BLDCmotorControl_R2017b:1832#out:1",
|
||||
"className":"Simulink.Line",
|
||||
"icon":"WebViewIcon4",
|
||||
"name":"b_hallBLeft",
|
||||
"label":"b_hallBLeft",
|
||||
"name":"b_hallB",
|
||||
"label":"b_hallB",
|
||||
"parent":"BLDCmotorControl_R2017b:1831",
|
||||
"inspector":{
|
||||
"params":[
|
||||
@ -113,7 +113,7 @@
|
||||
"documentLink"
|
||||
],
|
||||
"values":[
|
||||
"b_hallBLeft",
|
||||
"b_hallB",
|
||||
"off",
|
||||
"off",
|
||||
"on",
|
||||
|
Before Width: | Height: | Size: 5.2 KiB After Width: | Height: | Size: 4.8 KiB |
@ -1,10 +1,10 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" display="inline" height="43.000000px" preserveAspectRatio="xMinYMin meet" viewBox="8.05 46.00 132.95 43.00" width="132.953125px" x="0" y="0" zoomAndPan="disable">
|
||||
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" display="inline" height="43.000000px" preserveAspectRatio="xMinYMin meet" viewBox="16.36 46.00 124.64 43.00" width="124.640625px" x="0" y="0" zoomAndPan="disable">
|
||||
<g fill="none" stroke="black" stroke-width="1" fill-rule="evenodd" stroke-linecap="square" stroke-linejoin="bevel">
|
||||
<!--RAWSTRING-->
|
||||
<g id="background" pointer-events="none">
|
||||
<g clip-path="none" fill="#ffffff" fill-opacity="1" opacity="1" stroke="none" stroke-opacity="0" transform="matrix(1,0,0,1,0,0)">
|
||||
<path d="M9.04688,47 L140,47 L140,88 L9.04688,88 L9.04688,47 z" fill-rule="evenodd" vector-effect="none"/>
|
||||
<path d="M17.3594,47 L140,47 L140,88 L17.3594,88 L17.3594,47 z" fill-rule="evenodd" vector-effect="none"/>
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
</g>
|
||||
@ -91,15 +91,15 @@
|
||||
<!--RAWSTRING-->
|
||||
<g data-tags="blk BlockName">
|
||||
<g clip-path="none" fill="none" opacity="1" stroke="none" stroke-opacity="0" transform="matrix(1,0,0,1,35,74)">
|
||||
<path d="M-25.9531,0 L25.9531,0 L25.9531,14 L-25.9531,14 L-25.9531,0 z" fill-rule="evenodd" vector-effect="none"/>
|
||||
<path d="M-17.6406,0 L17.6406,0 L17.6406,14 L-17.6406,14 L-17.6406,0 z" fill-rule="evenodd" vector-effect="none"/>
|
||||
</g>
|
||||
<defs>
|
||||
<clipPath id="clip20">
|
||||
<path d="M0,-27 L132.953,-27 L132.953,14 L0,14 L0,-27 z"/>
|
||||
<path d="M0,-27 L124.641,-27 L124.641,14 L0,14 L0,-27 z"/>
|
||||
</clipPath>
|
||||
</defs>
|
||||
<g clip-path="url(#clip20)" fill="none" opacity="1" stroke="#000000" stroke-linecap="square" stroke-linejoin="bevel" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,9.04688,74)">
|
||||
<text fill="#000000" fill-opacity="1" font-family="Arial" font-size="10" font-style="normal" font-weight="400" stroke="none" textLength="49.9062" x="1" xml:space="preserve" y="10">b_hallBLeft</text>
|
||||
<g clip-path="url(#clip20)" fill="none" opacity="1" stroke="#000000" stroke-linecap="square" stroke-linejoin="bevel" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,17.3594,74)">
|
||||
<text fill="#000000" fill-opacity="1" font-family="Arial" font-size="10" font-style="normal" font-weight="400" stroke="none" textLength="33.2812" x="1" xml:space="preserve" y="10">b_hallB</text>
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
</g>
|
||||
@ -110,7 +110,7 @@
|
||||
</g>
|
||||
<defs>
|
||||
<clipPath id="clip21">
|
||||
<path d="M-60.9531,-4 L72,-4 L72,37 L-60.9531,37 L-60.9531,-4 z"/>
|
||||
<path d="M-52.6406,-4 L72,-4 L72,37 L-52.6406,37 L-52.6406,-4 z"/>
|
||||
</clipPath>
|
||||
</defs>
|
||||
<g clip-path="url(#clip21)" fill="none" opacity="1" stroke="#000000" stroke-linecap="square" stroke-linejoin="bevel" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,70,51)">
|
||||
@ -133,15 +133,15 @@
|
||||
<path d="M50,65 L122,65" fill-rule="evenodd" vector-effect="none"/>
|
||||
</g>
|
||||
<g clip-path="none" fill="none" opacity="1" stroke="none" stroke-opacity="0" transform="matrix(1,0,0,1,85,66.5)">
|
||||
<path d="M-23.4844,0 L23.4844,0 L23.4844,12 L-23.4844,12 L-23.4844,0 z" fill-rule="evenodd" vector-effect="none"/>
|
||||
<path d="M-15.9844,0 L15.9844,0 L15.9844,12 L-15.9844,12 L-15.9844,0 z" fill-rule="evenodd" vector-effect="none"/>
|
||||
</g>
|
||||
<defs>
|
||||
<clipPath id="clip22">
|
||||
<path d="M-52.4688,-19.5 L80.4844,-19.5 L80.4844,21.5 L-52.4688,21.5 L-52.4688,-19.5 z"/>
|
||||
<path d="M-51.6562,-19.5 L72.9844,-19.5 L72.9844,21.5 L-51.6562,21.5 L-51.6562,-19.5 z"/>
|
||||
</clipPath>
|
||||
</defs>
|
||||
<g clip-path="url(#clip22)" fill="none" opacity="1" stroke="#000000" stroke-linecap="square" stroke-linejoin="bevel" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,61.5156,66.5)">
|
||||
<text fill="#000000" fill-opacity="1" font-family="Arial" font-size="9" font-style="normal" font-weight="400" stroke="none" textLength="44.9688" x="1" xml:space="preserve" y="9">b_hallBLeft</text>
|
||||
<g clip-path="url(#clip22)" fill="none" opacity="1" stroke="#000000" stroke-linecap="square" stroke-linejoin="bevel" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,69.0156,66.5)">
|
||||
<text fill="#000000" fill-opacity="1" font-family="Arial" font-size="9" font-style="normal" font-weight="400" stroke="none" textLength="29.9688" x="1" xml:space="preserve" y="9">b_hallB</text>
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
</g>
|
||||
@ -174,5 +174,5 @@
|
||||
<!--RAWSTRING-->
|
||||
</g>
|
||||
</g>
|
||||
<!--generated on windows @ 2019-05-28 19:56:02 W. Europe Daylight Time-->
|
||||
<!--generated on windows @ 2019-06-05 22:29:43 W. Europe Daylight Time-->
|
||||
</svg>
|
||||
|
Before Width: | Height: | Size: 11 KiB After Width: | Height: | Size: 11 KiB |
@ -30,8 +30,8 @@
|
||||
"sid":"BLDCmotorControl_R2017b:1835",
|
||||
"className":"Simulink.Inport",
|
||||
"icon":"WebViewIcon2",
|
||||
"name":"b_hallCLeft",
|
||||
"label":"b_hallCLeft",
|
||||
"name":"b_hallC",
|
||||
"label":"b_hallC",
|
||||
"parent":"BLDCmotorControl_R2017b:1834",
|
||||
"inspector":{
|
||||
"params":[
|
||||
@ -97,8 +97,8 @@
|
||||
"sid":"BLDCmotorControl_R2017b:1835#out:1",
|
||||
"className":"Simulink.Line",
|
||||
"icon":"WebViewIcon4",
|
||||
"name":"b_hallCLeft",
|
||||
"label":"b_hallCLeft",
|
||||
"name":"b_hallC",
|
||||
"label":"b_hallC",
|
||||
"parent":"BLDCmotorControl_R2017b:1834",
|
||||
"inspector":{
|
||||
"params":[
|
||||
@ -113,7 +113,7 @@
|
||||
"documentLink"
|
||||
],
|
||||
"values":[
|
||||
"b_hallCLeft",
|
||||
"b_hallC",
|
||||
"off",
|
||||
"off",
|
||||
"on",
|
||||
|
Before Width: | Height: | Size: 5.3 KiB After Width: | Height: | Size: 5.0 KiB |
@ -1,10 +1,10 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" display="inline" height="43.000000px" preserveAspectRatio="xMinYMin meet" viewBox="7.77 46.00 133.23 43.00" width="133.234375px" x="0" y="0" zoomAndPan="disable">
|
||||
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" display="inline" height="43.000000px" preserveAspectRatio="xMinYMin meet" viewBox="16.08 46.00 124.92 43.00" width="124.921875px" x="0" y="0" zoomAndPan="disable">
|
||||
<g fill="none" stroke="black" stroke-width="1" fill-rule="evenodd" stroke-linecap="square" stroke-linejoin="bevel">
|
||||
<!--RAWSTRING-->
|
||||
<g id="background" pointer-events="none">
|
||||
<g clip-path="none" fill="#ffffff" fill-opacity="1" opacity="1" stroke="none" stroke-opacity="0" transform="matrix(1,0,0,1,0,0)">
|
||||
<path d="M8.76562,47 L140,47 L140,88 L8.76562,88 L8.76562,47 z" fill-rule="evenodd" vector-effect="none"/>
|
||||
<path d="M17.0781,47 L140,47 L140,88 L17.0781,88 L17.0781,47 z" fill-rule="evenodd" vector-effect="none"/>
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
</g>
|
||||
@ -91,15 +91,15 @@
|
||||
<!--RAWSTRING-->
|
||||
<g data-tags="blk BlockName">
|
||||
<g clip-path="none" fill="none" opacity="1" stroke="none" stroke-opacity="0" transform="matrix(1,0,0,1,35,74)">
|
||||
<path d="M-26.2344,0 L26.2344,0 L26.2344,14 L-26.2344,14 L-26.2344,0 z" fill-rule="evenodd" vector-effect="none"/>
|
||||
<path d="M-17.9219,0 L17.9219,0 L17.9219,14 L-17.9219,14 L-17.9219,0 z" fill-rule="evenodd" vector-effect="none"/>
|
||||
</g>
|
||||
<defs>
|
||||
<clipPath id="clip20">
|
||||
<path d="M0,-27 L133.234,-27 L133.234,14 L0,14 L0,-27 z"/>
|
||||
<path d="M0,-27 L124.922,-27 L124.922,14 L0,14 L0,-27 z"/>
|
||||
</clipPath>
|
||||
</defs>
|
||||
<g clip-path="url(#clip20)" fill="none" opacity="1" stroke="#000000" stroke-linecap="square" stroke-linejoin="bevel" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,8.76562,74)">
|
||||
<text fill="#000000" fill-opacity="1" font-family="Arial" font-size="10" font-style="normal" font-weight="400" stroke="none" textLength="50.4688" x="1" xml:space="preserve" y="10">b_hallCLeft</text>
|
||||
<g clip-path="url(#clip20)" fill="none" opacity="1" stroke="#000000" stroke-linecap="square" stroke-linejoin="bevel" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,17.0781,74)">
|
||||
<text fill="#000000" fill-opacity="1" font-family="Arial" font-size="10" font-style="normal" font-weight="400" stroke="none" textLength="33.8438" x="1" xml:space="preserve" y="10">b_hallC</text>
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
</g>
|
||||
@ -110,7 +110,7 @@
|
||||
</g>
|
||||
<defs>
|
||||
<clipPath id="clip21">
|
||||
<path d="M-61.2344,-4 L72,-4 L72,37 L-61.2344,37 L-61.2344,-4 z"/>
|
||||
<path d="M-52.9219,-4 L72,-4 L72,37 L-52.9219,37 L-52.9219,-4 z"/>
|
||||
</clipPath>
|
||||
</defs>
|
||||
<g clip-path="url(#clip21)" fill="none" opacity="1" stroke="#000000" stroke-linecap="square" stroke-linejoin="bevel" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,70,51)">
|
||||
@ -133,15 +133,15 @@
|
||||
<path d="M50,65 L122,65" fill-rule="evenodd" vector-effect="none"/>
|
||||
</g>
|
||||
<g clip-path="none" fill="none" opacity="1" stroke="none" stroke-opacity="0" transform="matrix(1,0,0,1,85,66.5)">
|
||||
<path d="M-23.7266,0 L23.7266,0 L23.7266,12 L-23.7266,12 L-23.7266,0 z" fill-rule="evenodd" vector-effect="none"/>
|
||||
<path d="M-16.2266,0 L16.2266,0 L16.2266,12 L-16.2266,12 L-16.2266,0 z" fill-rule="evenodd" vector-effect="none"/>
|
||||
</g>
|
||||
<defs>
|
||||
<clipPath id="clip22">
|
||||
<path d="M-52.5078,-19.5 L80.7266,-19.5 L80.7266,21.5 L-52.5078,21.5 L-52.5078,-19.5 z"/>
|
||||
<path d="M-51.6953,-19.5 L73.2266,-19.5 L73.2266,21.5 L-51.6953,21.5 L-51.6953,-19.5 z"/>
|
||||
</clipPath>
|
||||
</defs>
|
||||
<g clip-path="url(#clip22)" fill="none" opacity="1" stroke="#000000" stroke-linecap="square" stroke-linejoin="bevel" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,61.2734,66.5)">
|
||||
<text fill="#000000" fill-opacity="1" font-family="Arial" font-size="9" font-style="normal" font-weight="400" stroke="none" textLength="45.4531" x="1" xml:space="preserve" y="9">b_hallCLeft</text>
|
||||
<g clip-path="url(#clip22)" fill="none" opacity="1" stroke="#000000" stroke-linecap="square" stroke-linejoin="bevel" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,68.7734,66.5)">
|
||||
<text fill="#000000" fill-opacity="1" font-family="Arial" font-size="9" font-style="normal" font-weight="400" stroke="none" textLength="30.4531" x="1" xml:space="preserve" y="9">b_hallC</text>
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
</g>
|
||||
@ -174,5 +174,5 @@
|
||||
<!--RAWSTRING-->
|
||||
</g>
|
||||
</g>
|
||||
<!--generated on windows @ 2019-05-28 19:56:02 W. Europe Daylight Time-->
|
||||
<!--generated on windows @ 2019-06-05 22:29:43 W. Europe Daylight Time-->
|
||||
</svg>
|
||||
|
Before Width: | Height: | Size: 11 KiB After Width: | Height: | Size: 11 KiB |
@ -30,8 +30,8 @@
|
||||
"sid":"BLDCmotorControl_R2017b:1838",
|
||||
"className":"Simulink.Inport",
|
||||
"icon":"WebViewIcon2",
|
||||
"name":"r_DCLeft",
|
||||
"label":"r_DCLeft",
|
||||
"name":"r_DC",
|
||||
"label":"r_DC",
|
||||
"parent":"BLDCmotorControl_R2017b:1837",
|
||||
"inspector":{
|
||||
"params":[
|
||||
@ -97,8 +97,8 @@
|
||||
"sid":"BLDCmotorControl_R2017b:1838#out:1",
|
||||
"className":"Simulink.Line",
|
||||
"icon":"WebViewIcon4",
|
||||
"name":"r_DCLeft",
|
||||
"label":"r_DCLeft",
|
||||
"name":"r_DC",
|
||||
"label":"r_DC",
|
||||
"parent":"BLDCmotorControl_R2017b:1837",
|
||||
"inspector":{
|
||||
"params":[
|
||||
@ -113,7 +113,7 @@
|
||||
"documentLink"
|
||||
],
|
||||
"values":[
|
||||
"r_DCLeft",
|
||||
"r_DC",
|
||||
"off",
|
||||
"off",
|
||||
"on",
|
||||
|
Before Width: | Height: | Size: 5.1 KiB After Width: | Height: | Size: 4.6 KiB |
@ -1,10 +1,10 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" display="inline" height="43.000000px" preserveAspectRatio="xMinYMin meet" viewBox="13.03 46.00 127.97 43.00" width="127.968750px" x="0" y="0" zoomAndPan="disable">
|
||||
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" display="inline" height="43.000000px" preserveAspectRatio="xMinYMin meet" viewBox="19.00 46.00 122.00 43.00" width="122.000000px" x="0" y="0" zoomAndPan="disable">
|
||||
<g fill="none" stroke="black" stroke-width="1" fill-rule="evenodd" stroke-linecap="square" stroke-linejoin="bevel">
|
||||
<!--RAWSTRING-->
|
||||
<g id="background" pointer-events="none">
|
||||
<g clip-path="none" fill="#ffffff" fill-opacity="1" opacity="1" stroke="none" stroke-opacity="0" transform="matrix(1,0,0,1,0,0)">
|
||||
<path d="M14.0312,47 L140,47 L140,88 L14.0312,88 L14.0312,47 z" fill-rule="evenodd" vector-effect="none"/>
|
||||
<path d="M20,47 L140,47 L140,88 L20,88 L20,47 z" fill-rule="evenodd" vector-effect="none"/>
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
</g>
|
||||
@ -91,15 +91,15 @@
|
||||
<!--RAWSTRING-->
|
||||
<g data-tags="blk BlockName">
|
||||
<g clip-path="none" fill="none" opacity="1" stroke="none" stroke-opacity="0" transform="matrix(1,0,0,1,35,74)">
|
||||
<path d="M-20.9688,0 L20.9688,0 L20.9688,14 L-20.9688,14 L-20.9688,0 z" fill-rule="evenodd" vector-effect="none"/>
|
||||
<path d="M-12.6562,0 L12.6562,0 L12.6562,14 L-12.6562,14 L-12.6562,0 z" fill-rule="evenodd" vector-effect="none"/>
|
||||
</g>
|
||||
<defs>
|
||||
<clipPath id="clip20">
|
||||
<path d="M0,-27 L127.969,-27 L127.969,14 L0,14 L0,-27 z"/>
|
||||
<path d="M-4.34375,-27 L119.656,-27 L119.656,14 L-4.34375,14 L-4.34375,-27 z"/>
|
||||
</clipPath>
|
||||
</defs>
|
||||
<g clip-path="url(#clip20)" fill="none" opacity="1" stroke="#000000" stroke-linecap="square" stroke-linejoin="bevel" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,14.0312,74)">
|
||||
<text fill="#000000" fill-opacity="1" font-family="Arial" font-size="10" font-style="normal" font-weight="400" stroke="none" textLength="39.9375" x="1" xml:space="preserve" y="10">r_DCLeft</text>
|
||||
<g clip-path="url(#clip20)" fill="none" opacity="1" stroke="#000000" stroke-linecap="square" stroke-linejoin="bevel" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,22.3438,74)">
|
||||
<text fill="#000000" fill-opacity="1" font-family="Arial" font-size="10" font-style="normal" font-weight="400" stroke="none" textLength="23.3125" x="1" xml:space="preserve" y="10">r_DC</text>
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
</g>
|
||||
@ -110,7 +110,7 @@
|
||||
</g>
|
||||
<defs>
|
||||
<clipPath id="clip21">
|
||||
<path d="M-55.9688,-4 L72,-4 L72,37 L-55.9688,37 L-55.9688,-4 z"/>
|
||||
<path d="M-52,-4 L72,-4 L72,37 L-52,37 L-52,-4 z"/>
|
||||
</clipPath>
|
||||
</defs>
|
||||
<g clip-path="url(#clip21)" fill="none" opacity="1" stroke="#000000" stroke-linecap="square" stroke-linejoin="bevel" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,70,51)">
|
||||
@ -133,15 +133,15 @@
|
||||
<path d="M50,65 L122,65" fill-rule="evenodd" vector-effect="none"/>
|
||||
</g>
|
||||
<g clip-path="none" fill="none" opacity="1" stroke="none" stroke-opacity="0" transform="matrix(1,0,0,1,85,66.5)">
|
||||
<path d="M-18.9766,0 L18.9766,0 L18.9766,12 L-18.9766,12 L-18.9766,0 z" fill-rule="evenodd" vector-effect="none"/>
|
||||
<path d="M-11.4766,0 L11.4766,0 L11.4766,12 L-11.4766,12 L-11.4766,0 z" fill-rule="evenodd" vector-effect="none"/>
|
||||
</g>
|
||||
<defs>
|
||||
<clipPath id="clip22">
|
||||
<path d="M-51.9922,-19.5 L75.9766,-19.5 L75.9766,21.5 L-51.9922,21.5 L-51.9922,-19.5 z"/>
|
||||
<path d="M-55.5234,-19.5 L68.4766,-19.5 L68.4766,21.5 L-55.5234,21.5 L-55.5234,-19.5 z"/>
|
||||
</clipPath>
|
||||
</defs>
|
||||
<g clip-path="url(#clip22)" fill="none" opacity="1" stroke="#000000" stroke-linecap="square" stroke-linejoin="bevel" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,66.0234,66.5)">
|
||||
<text fill="#000000" fill-opacity="1" font-family="Arial" font-size="9" font-style="normal" font-weight="400" stroke="none" textLength="35.9531" x="1" xml:space="preserve" y="9">r_DCLeft</text>
|
||||
<g clip-path="url(#clip22)" fill="none" opacity="1" stroke="#000000" stroke-linecap="square" stroke-linejoin="bevel" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,73.5234,66.5)">
|
||||
<text fill="#000000" fill-opacity="1" font-family="Arial" font-size="9" font-style="normal" font-weight="400" stroke="none" textLength="20.9531" x="1" xml:space="preserve" y="9">r_DC</text>
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
</g>
|
||||
@ -174,5 +174,5 @@
|
||||
<!--RAWSTRING-->
|
||||
</g>
|
||||
</g>
|
||||
<!--generated on windows @ 2019-05-28 19:56:02 W. Europe Daylight Time-->
|
||||
<!--generated on windows @ 2019-06-05 22:29:43 W. Europe Daylight Time-->
|
||||
</svg>
|
||||
|
Before Width: | Height: | Size: 11 KiB After Width: | Height: | Size: 11 KiB |
Before Width: | Height: | Size: 6.0 KiB |
Before Width: | Height: | Size: 7.9 KiB |
Before Width: | Height: | Size: 110 KiB |
@ -1,798 +0,0 @@
|
||||
[
|
||||
{
|
||||
"sid":"BLDCmotorControl_R2017b:2530:140:139",
|
||||
"className":"Simulink.Outport",
|
||||
"icon":"WebViewIcon2",
|
||||
"name":"!Q",
|
||||
"label":"!Q",
|
||||
"parent":"BLDCmotorControl_R2017b:2530:140",
|
||||
"inspector":{
|
||||
"params":[
|
||||
"Port",
|
||||
"IconDisplay",
|
||||
"OutMin",
|
||||
"OutMax",
|
||||
"OutDataTypeStr",
|
||||
"LockScale",
|
||||
"Unit",
|
||||
"PortDimensions",
|
||||
"VarSizeSig",
|
||||
"SampleTime",
|
||||
"SignalType",
|
||||
"BusOutputAsStruct",
|
||||
"EnsureOutportIsVirtual",
|
||||
"InitialOutput",
|
||||
"MustResolveToSignalObject",
|
||||
"OutputWhenDisabled",
|
||||
"OutputWhenUnConnected",
|
||||
"OutputWhenUnconnectedValue",
|
||||
"SignalName",
|
||||
"SignalObject",
|
||||
"SourceOfInitialOutputValue",
|
||||
"StorageClass",
|
||||
"VectorParamsAs1DForOutWhenUnconnected"
|
||||
],
|
||||
"values":[
|
||||
"2",
|
||||
"Port number",
|
||||
"[]",
|
||||
"[]",
|
||||
"Inherit: auto",
|
||||
"off",
|
||||
"inherit",
|
||||
"-1",
|
||||
"Inherit",
|
||||
"-1",
|
||||
"auto",
|
||||
"off",
|
||||
"off",
|
||||
"1",
|
||||
"off",
|
||||
"held",
|
||||
"off",
|
||||
"0",
|
||||
"",
|
||||
[
|
||||
],
|
||||
"Dialog",
|
||||
"Auto",
|
||||
"off"
|
||||
],
|
||||
"tabs":[
|
||||
"Main",
|
||||
"Signal Attributes",
|
||||
"-Other"
|
||||
],
|
||||
"tabs_idx":[
|
||||
0,
|
||||
2,
|
||||
11
|
||||
]
|
||||
},
|
||||
"viewer":{
|
||||
"jshandler":"webview/handlers/ElementHandler"
|
||||
},
|
||||
"obj_viewer":[
|
||||
],
|
||||
"finder":{
|
||||
"blocktype":"Outport",
|
||||
"masktype":""
|
||||
}
|
||||
},
|
||||
{
|
||||
"sid":"BLDCmotorControl_R2017b:2530:140:138",
|
||||
"className":"Simulink.Outport",
|
||||
"icon":"WebViewIcon2",
|
||||
"name":"Q",
|
||||
"label":"Q",
|
||||
"parent":"BLDCmotorControl_R2017b:2530:140",
|
||||
"inspector":{
|
||||
"params":[
|
||||
"Port",
|
||||
"IconDisplay",
|
||||
"OutMin",
|
||||
"OutMax",
|
||||
"OutDataTypeStr",
|
||||
"LockScale",
|
||||
"Unit",
|
||||
"PortDimensions",
|
||||
"VarSizeSig",
|
||||
"SampleTime",
|
||||
"SignalType",
|
||||
"BusOutputAsStruct",
|
||||
"EnsureOutportIsVirtual",
|
||||
"InitialOutput",
|
||||
"MustResolveToSignalObject",
|
||||
"OutputWhenDisabled",
|
||||
"OutputWhenUnConnected",
|
||||
"OutputWhenUnconnectedValue",
|
||||
"SignalName",
|
||||
"SignalObject",
|
||||
"SourceOfInitialOutputValue",
|
||||
"StorageClass",
|
||||
"VectorParamsAs1DForOutWhenUnconnected"
|
||||
],
|
||||
"values":[
|
||||
"1",
|
||||
"Port number",
|
||||
"[]",
|
||||
"[]",
|
||||
"Inherit: auto",
|
||||
"off",
|
||||
"inherit",
|
||||
"-1",
|
||||
"Inherit",
|
||||
"-1",
|
||||
"auto",
|
||||
"off",
|
||||
"off",
|
||||
"0",
|
||||
"off",
|
||||
"held",
|
||||
"off",
|
||||
"0",
|
||||
"",
|
||||
[
|
||||
],
|
||||
"Dialog",
|
||||
"Auto",
|
||||
"off"
|
||||
],
|
||||
"tabs":[
|
||||
"Main",
|
||||
"Signal Attributes",
|
||||
"-Other"
|
||||
],
|
||||
"tabs_idx":[
|
||||
0,
|
||||
2,
|
||||
11
|
||||
]
|
||||
},
|
||||
"viewer":{
|
||||
"jshandler":"webview/handlers/ElementHandler"
|
||||
},
|
||||
"obj_viewer":[
|
||||
],
|
||||
"finder":{
|
||||
"blocktype":"Outport",
|
||||
"masktype":""
|
||||
}
|
||||
},
|
||||
{
|
||||
"sid":"BLDCmotorControl_R2017b:2530:140:137",
|
||||
"className":"Simulink.Mux",
|
||||
"icon":"WebViewIcon2",
|
||||
"name":"Mux",
|
||||
"label":"Mux",
|
||||
"parent":"BLDCmotorControl_R2017b:2530:140",
|
||||
"inspector":{
|
||||
"params":[
|
||||
"Inputs",
|
||||
"DisplayOption"
|
||||
],
|
||||
"values":[
|
||||
"3",
|
||||
"none"
|
||||
],
|
||||
"tabs":[
|
||||
"Parameter Attributes"
|
||||
],
|
||||
"tabs_idx":0
|
||||
},
|
||||
"viewer":{
|
||||
"jshandler":"webview/handlers/ElementHandler"
|
||||
},
|
||||
"obj_viewer":[
|
||||
],
|
||||
"finder":{
|
||||
"blocktype":"Mux",
|
||||
"masktype":""
|
||||
}
|
||||
},
|
||||
{
|
||||
"sid":"BLDCmotorControl_R2017b:2530:140:136",
|
||||
"className":"Simulink.Memory",
|
||||
"icon":"WebViewIcon2",
|
||||
"name":"Memory",
|
||||
"label":"Memory",
|
||||
"parent":"BLDCmotorControl_R2017b:2530:140",
|
||||
"inspector":{
|
||||
"params":[
|
||||
"InitialCondition",
|
||||
"InheritSampleTime",
|
||||
"LinearizeMemory",
|
||||
"LinearizeAsDelay",
|
||||
"RTWStateStorageTypeQualifier",
|
||||
"StateMustResolveToSignalObject",
|
||||
"StateName",
|
||||
"StateSignalObject",
|
||||
"StateStorageClass"
|
||||
],
|
||||
"values":[
|
||||
"initial_condition",
|
||||
"on",
|
||||
"off",
|
||||
"off",
|
||||
"",
|
||||
"off",
|
||||
"",
|
||||
[
|
||||
],
|
||||
"Auto"
|
||||
],
|
||||
"tabs":[
|
||||
"Main",
|
||||
"-Other"
|
||||
],
|
||||
"tabs_idx":[
|
||||
0,
|
||||
4
|
||||
]
|
||||
},
|
||||
"viewer":{
|
||||
"jshandler":"webview/handlers/ElementHandler"
|
||||
},
|
||||
"obj_viewer":[
|
||||
],
|
||||
"finder":{
|
||||
"blocktype":"Memory",
|
||||
"masktype":""
|
||||
}
|
||||
},
|
||||
{
|
||||
"sid":"BLDCmotorControl_R2017b:2530:140:135",
|
||||
"className":"Simulink.CombinatorialLogic",
|
||||
"icon":"WebViewIcon2",
|
||||
"name":"Logic",
|
||||
"label":"Logic",
|
||||
"parent":"BLDCmotorControl_R2017b:2530:140",
|
||||
"inspector":{
|
||||
"params":[
|
||||
"TruthTable",
|
||||
"SampleTime"
|
||||
],
|
||||
"values":[
|
||||
"[0 1;1 0;0 1;0 1;1 0;1 0;0 0;0 0]",
|
||||
"-1"
|
||||
],
|
||||
"tabs":[
|
||||
"Parameter Attributes"
|
||||
],
|
||||
"tabs_idx":0
|
||||
},
|
||||
"viewer":{
|
||||
"jshandler":"webview/handlers/ElementHandler"
|
||||
},
|
||||
"obj_viewer":[
|
||||
],
|
||||
"finder":{
|
||||
"blocktype":"CombinatorialLogic",
|
||||
"masktype":""
|
||||
}
|
||||
},
|
||||
{
|
||||
"sid":"BLDCmotorControl_R2017b:2530:140:134",
|
||||
"className":"Simulink.Demux",
|
||||
"icon":"WebViewIcon2",
|
||||
"name":"Demux",
|
||||
"label":"Demux",
|
||||
"parent":"BLDCmotorControl_R2017b:2530:140",
|
||||
"inspector":{
|
||||
"params":[
|
||||
"Outputs",
|
||||
"DisplayOption",
|
||||
"BusSelectionMode"
|
||||
],
|
||||
"values":[
|
||||
"2",
|
||||
"none",
|
||||
"off"
|
||||
],
|
||||
"tabs":[
|
||||
"Parameter Attributes"
|
||||
],
|
||||
"tabs_idx":0
|
||||
},
|
||||
"viewer":{
|
||||
"jshandler":"webview/handlers/ElementHandler"
|
||||
},
|
||||
"obj_viewer":[
|
||||
],
|
||||
"finder":{
|
||||
"blocktype":"Demux",
|
||||
"masktype":""
|
||||
}
|
||||
},
|
||||
{
|
||||
"sid":"BLDCmotorControl_R2017b:2530:140:133",
|
||||
"className":"Simulink.Inport",
|
||||
"icon":"WebViewIcon2",
|
||||
"name":"R",
|
||||
"label":"R",
|
||||
"parent":"BLDCmotorControl_R2017b:2530:140",
|
||||
"inspector":{
|
||||
"params":[
|
||||
"Port",
|
||||
"IconDisplay",
|
||||
"OutMin",
|
||||
"OutMax",
|
||||
"OutDataTypeStr",
|
||||
"LockScale",
|
||||
"Unit",
|
||||
"PortDimensions",
|
||||
"VarSizeSig",
|
||||
"SampleTime",
|
||||
"SignalType",
|
||||
"BusOutputAsStruct",
|
||||
"InputConnect",
|
||||
"Interpolate",
|
||||
"LatchByDelayingOutsideSignal",
|
||||
"LatchInputForFeedbackSignals",
|
||||
"OutputFunctionCall"
|
||||
],
|
||||
"values":[
|
||||
"2",
|
||||
"Port number",
|
||||
"[]",
|
||||
"[]",
|
||||
"Inherit: auto",
|
||||
"off",
|
||||
"inherit",
|
||||
"-1",
|
||||
"Inherit",
|
||||
"-1",
|
||||
"auto",
|
||||
"off",
|
||||
"",
|
||||
"on",
|
||||
"off",
|
||||
"off",
|
||||
"off"
|
||||
],
|
||||
"tabs":[
|
||||
"Main",
|
||||
"Signal Attributes",
|
||||
"-Other"
|
||||
],
|
||||
"tabs_idx":[
|
||||
0,
|
||||
2,
|
||||
11
|
||||
]
|
||||
},
|
||||
"viewer":{
|
||||
"jshandler":"webview/handlers/ElementHandler"
|
||||
},
|
||||
"obj_viewer":[
|
||||
],
|
||||
"finder":{
|
||||
"blocktype":"Inport",
|
||||
"masktype":""
|
||||
}
|
||||
},
|
||||
{
|
||||
"sid":"BLDCmotorControl_R2017b:2530:140:132",
|
||||
"className":"Simulink.Inport",
|
||||
"icon":"WebViewIcon2",
|
||||
"name":"S",
|
||||
"label":"S",
|
||||
"parent":"BLDCmotorControl_R2017b:2530:140",
|
||||
"inspector":{
|
||||
"params":[
|
||||
"Port",
|
||||
"IconDisplay",
|
||||
"OutMin",
|
||||
"OutMax",
|
||||
"OutDataTypeStr",
|
||||
"LockScale",
|
||||
"Unit",
|
||||
"PortDimensions",
|
||||
"VarSizeSig",
|
||||
"SampleTime",
|
||||
"SignalType",
|
||||
"BusOutputAsStruct",
|
||||
"InputConnect",
|
||||
"Interpolate",
|
||||
"LatchByDelayingOutsideSignal",
|
||||
"LatchInputForFeedbackSignals",
|
||||
"OutputFunctionCall"
|
||||
],
|
||||
"values":[
|
||||
"1",
|
||||
"Port number",
|
||||
"[]",
|
||||
"[]",
|
||||
"Inherit: auto",
|
||||
"off",
|
||||
"inherit",
|
||||
"-1",
|
||||
"Inherit",
|
||||
"-1",
|
||||
"auto",
|
||||
"off",
|
||||
"",
|
||||
"on",
|
||||
"off",
|
||||
"off",
|
||||
"off"
|
||||
],
|
||||
"tabs":[
|
||||
"Main",
|
||||
"Signal Attributes",
|
||||
"-Other"
|
||||
],
|
||||
"tabs_idx":[
|
||||
0,
|
||||
2,
|
||||
11
|
||||
]
|
||||
},
|
||||
"viewer":{
|
||||
"jshandler":"webview/handlers/ElementHandler"
|
||||
},
|
||||
"obj_viewer":[
|
||||
],
|
||||
"finder":{
|
||||
"blocktype":"Inport",
|
||||
"masktype":""
|
||||
}
|
||||
},
|
||||
{
|
||||
"sid":"BLDCmotorControl_R2017b:2530:140:133#out:1",
|
||||
"className":"Simulink.Line",
|
||||
"icon":"WebViewIcon4",
|
||||
"name":"",
|
||||
"label":"",
|
||||
"parent":"BLDCmotorControl_R2017b:2530:140",
|
||||
"inspector":{
|
||||
"params":[
|
||||
"SignalNameFromLabel",
|
||||
"MustResolveToSignal",
|
||||
"ShowPropagatedSignal",
|
||||
"DataLogging",
|
||||
"TestPoint",
|
||||
"SignalObjectPackage",
|
||||
"StorageClass",
|
||||
"Description",
|
||||
"documentLink"
|
||||
],
|
||||
"values":[
|
||||
"",
|
||||
"off",
|
||||
"off",
|
||||
"off",
|
||||
"off",
|
||||
"Simulink",
|
||||
"Auto",
|
||||
"",
|
||||
""
|
||||
],
|
||||
"tabs":[
|
||||
"Parameter Attributes",
|
||||
"Logging and Accessibility",
|
||||
"Code Generation",
|
||||
"Documentation"
|
||||
],
|
||||
"tabs_idx":[
|
||||
0,
|
||||
3,
|
||||
5,
|
||||
7
|
||||
]
|
||||
},
|
||||
"viewer":{
|
||||
"jshandler":"webview/handlers/ElementHandler"
|
||||
},
|
||||
"obj_viewer":[
|
||||
],
|
||||
"finder":[
|
||||
]
|
||||
},
|
||||
{
|
||||
"sid":"BLDCmotorControl_R2017b:2530:140:132#out:1",
|
||||
"className":"Simulink.Line",
|
||||
"icon":"WebViewIcon4",
|
||||
"name":"",
|
||||
"label":"",
|
||||
"parent":"BLDCmotorControl_R2017b:2530:140",
|
||||
"inspector":{
|
||||
"params":[
|
||||
"SignalNameFromLabel",
|
||||
"MustResolveToSignal",
|
||||
"ShowPropagatedSignal",
|
||||
"DataLogging",
|
||||
"TestPoint",
|
||||
"SignalObjectPackage",
|
||||
"StorageClass",
|
||||
"Description",
|
||||
"documentLink"
|
||||
],
|
||||
"values":[
|
||||
"",
|
||||
"off",
|
||||
"off",
|
||||
"off",
|
||||
"off",
|
||||
"Simulink",
|
||||
"Auto",
|
||||
"",
|
||||
""
|
||||
],
|
||||
"tabs":[
|
||||
"Parameter Attributes",
|
||||
"Logging and Accessibility",
|
||||
"Code Generation",
|
||||
"Documentation"
|
||||
],
|
||||
"tabs_idx":[
|
||||
0,
|
||||
3,
|
||||
5,
|
||||
7
|
||||
]
|
||||
},
|
||||
"viewer":{
|
||||
"jshandler":"webview/handlers/ElementHandler"
|
||||
},
|
||||
"obj_viewer":[
|
||||
],
|
||||
"finder":[
|
||||
]
|
||||
},
|
||||
{
|
||||
"sid":"BLDCmotorControl_R2017b:2530:140:134#out:1",
|
||||
"className":"Simulink.Line",
|
||||
"icon":"WebViewIcon4",
|
||||
"name":"",
|
||||
"label":"",
|
||||
"parent":"BLDCmotorControl_R2017b:2530:140",
|
||||
"inspector":{
|
||||
"params":[
|
||||
"SignalNameFromLabel",
|
||||
"MustResolveToSignal",
|
||||
"ShowPropagatedSignal",
|
||||
"DataLogging",
|
||||
"TestPoint",
|
||||
"SignalObjectPackage",
|
||||
"StorageClass",
|
||||
"Description",
|
||||
"documentLink"
|
||||
],
|
||||
"values":[
|
||||
"",
|
||||
"off",
|
||||
"off",
|
||||
"off",
|
||||
"off",
|
||||
"Simulink",
|
||||
"Auto",
|
||||
"",
|
||||
""
|
||||
],
|
||||
"tabs":[
|
||||
"Parameter Attributes",
|
||||
"Logging and Accessibility",
|
||||
"Code Generation",
|
||||
"Documentation"
|
||||
],
|
||||
"tabs_idx":[
|
||||
0,
|
||||
3,
|
||||
5,
|
||||
7
|
||||
]
|
||||
},
|
||||
"viewer":{
|
||||
"jshandler":"webview/handlers/ElementHandler"
|
||||
},
|
||||
"obj_viewer":[
|
||||
],
|
||||
"finder":[
|
||||
]
|
||||
},
|
||||
{
|
||||
"sid":"BLDCmotorControl_R2017b:2530:140:134#out:2",
|
||||
"className":"Simulink.Line",
|
||||
"icon":"WebViewIcon4",
|
||||
"name":"",
|
||||
"label":"",
|
||||
"parent":"BLDCmotorControl_R2017b:2530:140",
|
||||
"inspector":{
|
||||
"params":[
|
||||
"SignalNameFromLabel",
|
||||
"MustResolveToSignal",
|
||||
"ShowPropagatedSignal",
|
||||
"DataLogging",
|
||||
"TestPoint",
|
||||
"SignalObjectPackage",
|
||||
"StorageClass",
|
||||
"Description",
|
||||
"documentLink"
|
||||
],
|
||||
"values":[
|
||||
"",
|
||||
"off",
|
||||
"off",
|
||||
"off",
|
||||
"off",
|
||||
"Simulink",
|
||||
"Auto",
|
||||
"",
|
||||
""
|
||||
],
|
||||
"tabs":[
|
||||
"Parameter Attributes",
|
||||
"Logging and Accessibility",
|
||||
"Code Generation",
|
||||
"Documentation"
|
||||
],
|
||||
"tabs_idx":[
|
||||
0,
|
||||
3,
|
||||
5,
|
||||
7
|
||||
]
|
||||
},
|
||||
"viewer":{
|
||||
"jshandler":"webview/handlers/ElementHandler"
|
||||
},
|
||||
"obj_viewer":[
|
||||
],
|
||||
"finder":[
|
||||
]
|
||||
},
|
||||
{
|
||||
"sid":"BLDCmotorControl_R2017b:2530:140:135#out:1",
|
||||
"className":"Simulink.Line",
|
||||
"icon":"WebViewIcon4",
|
||||
"name":"",
|
||||
"label":"",
|
||||
"parent":"BLDCmotorControl_R2017b:2530:140",
|
||||
"inspector":{
|
||||
"params":[
|
||||
"SignalNameFromLabel",
|
||||
"MustResolveToSignal",
|
||||
"ShowPropagatedSignal",
|
||||
"DataLogging",
|
||||
"TestPoint",
|
||||
"SignalObjectPackage",
|
||||
"StorageClass",
|
||||
"Description",
|
||||
"documentLink"
|
||||
],
|
||||
"values":[
|
||||
"",
|
||||
"off",
|
||||
"off",
|
||||
"off",
|
||||
"off",
|
||||
"Simulink",
|
||||
"Auto",
|
||||
"",
|
||||
""
|
||||
],
|
||||
"tabs":[
|
||||
"Parameter Attributes",
|
||||
"Logging and Accessibility",
|
||||
"Code Generation",
|
||||
"Documentation"
|
||||
],
|
||||
"tabs_idx":[
|
||||
0,
|
||||
3,
|
||||
5,
|
||||
7
|
||||
]
|
||||
},
|
||||
"viewer":{
|
||||
"jshandler":"webview/handlers/ElementHandler"
|
||||
},
|
||||
"obj_viewer":[
|
||||
],
|
||||
"finder":[
|
||||
]
|
||||
},
|
||||
{
|
||||
"sid":"BLDCmotorControl_R2017b:2530:140:137#out:1",
|
||||
"className":"Simulink.Line",
|
||||
"icon":"WebViewIcon4",
|
||||
"name":"",
|
||||
"label":"",
|
||||
"parent":"BLDCmotorControl_R2017b:2530:140",
|
||||
"inspector":{
|
||||
"params":[
|
||||
"SignalNameFromLabel",
|
||||
"MustResolveToSignal",
|
||||
"ShowPropagatedSignal",
|
||||
"DataLogging",
|
||||
"TestPoint",
|
||||
"SignalObjectPackage",
|
||||
"StorageClass",
|
||||
"Description",
|
||||
"documentLink"
|
||||
],
|
||||
"values":[
|
||||
"",
|
||||
"off",
|
||||
"off",
|
||||
"off",
|
||||
"off",
|
||||
"Simulink",
|
||||
"Auto",
|
||||
"",
|
||||
""
|
||||
],
|
||||
"tabs":[
|
||||
"Parameter Attributes",
|
||||
"Logging and Accessibility",
|
||||
"Code Generation",
|
||||
"Documentation"
|
||||
],
|
||||
"tabs_idx":[
|
||||
0,
|
||||
3,
|
||||
5,
|
||||
7
|
||||
]
|
||||
},
|
||||
"viewer":{
|
||||
"jshandler":"webview/handlers/ElementHandler"
|
||||
},
|
||||
"obj_viewer":[
|
||||
],
|
||||
"finder":[
|
||||
]
|
||||
},
|
||||
{
|
||||
"sid":"BLDCmotorControl_R2017b:2530:140:136#out:1",
|
||||
"className":"Simulink.Line",
|
||||
"icon":"WebViewIcon4",
|
||||
"name":"",
|
||||
"label":"",
|
||||
"parent":"BLDCmotorControl_R2017b:2530:140",
|
||||
"inspector":{
|
||||
"params":[
|
||||
"SignalNameFromLabel",
|
||||
"MustResolveToSignal",
|
||||
"ShowPropagatedSignal",
|
||||
"DataLogging",
|
||||
"TestPoint",
|
||||
"SignalObjectPackage",
|
||||
"StorageClass",
|
||||
"Description",
|
||||
"documentLink"
|
||||
],
|
||||
"values":[
|
||||
"",
|
||||
"off",
|
||||
"off",
|
||||
"off",
|
||||
"off",
|
||||
"Simulink",
|
||||
"Auto",
|
||||
"",
|
||||
""
|
||||
],
|
||||
"tabs":[
|
||||
"Parameter Attributes",
|
||||
"Logging and Accessibility",
|
||||
"Code Generation",
|
||||
"Documentation"
|
||||
],
|
||||
"tabs_idx":[
|
||||
0,
|
||||
3,
|
||||
5,
|
||||
7
|
||||
]
|
||||
},
|
||||
"viewer":{
|
||||
"jshandler":"webview/handlers/ElementHandler"
|
||||
},
|
||||
"obj_viewer":[
|
||||
],
|
||||
"finder":[
|
||||
]
|
||||
}
|
||||
]
|
Before Width: | Height: | Size: 7.7 KiB |
@ -1,707 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" display="inline" height="158.000000px" preserveAspectRatio="xMinYMin meet" viewBox="9.00 24.00 267.00 158.00" width="267.000000px" x="0" y="0" zoomAndPan="disable">
|
||||
<g fill="none" stroke="black" stroke-width="1" fill-rule="evenodd" stroke-linecap="square" stroke-linejoin="bevel">
|
||||
<!--RAWSTRING-->
|
||||
<g id="background" pointer-events="none">
|
||||
<g clip-path="none" fill="#ffffff" fill-opacity="1" opacity="1" stroke="none" stroke-opacity="0" transform="matrix(1,0,0,1,0,0)">
|
||||
<path d="M10,25 L275,25 L275,181 L10,181 L10,25 z" fill-rule="evenodd" vector-effect="none"/>
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
<g id="BLDCmotorControl_R2017b:2530:140">
|
||||
<!--RAWSTRING-->
|
||||
<g data-tags="blk">
|
||||
<!--RAWSTRING-->
|
||||
<g id="BLDCmotorControl_R2017b:2530:140:139">
|
||||
<g clip-path="none" fill="none" opacity="0.65098" stroke="#000000" stroke-linecap="square" stroke-linejoin="bevel" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,254,124)">
|
||||
<image height="28" preserveAspectRatio="none" width="28" x="0" xlink:href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABwAAAAcCAYAAAByDd+UAAAACXBIWXMAAA7EAAAOxAGVKw4bAAACDElEQVRIie2W62rbQBCFP8lK7aY2xk2gpoGWvP9DlRYKSXEsHBnHciO7P/YMmq53HTfQfxk46Da7n2YvM1sAH4AxMAVmwBVwDXzU+xFQEewZ2AJrYAksgAegBlZ6/wTsyVilTmeCfALm0gyYZICNIBPgPXABlPLZy+eQA04F+wzcAF8EPCfCMfAOGDjYM9ABuxxwpshugFvJgBNgGAFbRWhAg3XAb33f6f4oyoowZ3NFdgt8VcQeVsj/QBhC09DBdoT520hbQY+A1/TzNtfzVJ0NIv+Cfr5szlrCEDfSo7ROAUvC0M109cMYw7wN5DNx7UxT4FI/dmQlYR4m7voSLIaOE32cBI6c/AI5x6qovVcWWEUqUo4ZK1y7QdRPcpTK1Mv/aSVhb3klM0TGDq5dF/XT5YBbp1bO55plnpSOtoQBbQ/Ztc39XWQd/R6M+9jkgBUhRdW6LgkZpOT09jBY49qZVi8BF/R7aEyfrnKpzefTBXAn3evZgMmpGRCyg1+thTreO1litkpRA7+An8A34Lvu7wn1sZFvMsKasEl91l9zXnm6A344WK1vLSfq4cpFaFm/oc+ro+hnrAAvBUkNZ3L+DLjW/V6OTw74miNGNjoD2hnEFsOGUF4eOH3EWElWijZqnz3PQL/6rM4NBbh0SgE3/F1oWzIVPgf0z5Z8L5ziY4TpNenwzd7s3+wPM2jYTX51blgAAAAASUVORK5CYII=" y="0"/>
|
||||
</g>
|
||||
<g clip-path="none" fill="#ffffff" fill-opacity="1" opacity="1" stroke="none" stroke-opacity="0" transform="matrix(1,0,0,1,255,125)">
|
||||
<path d="M0,10 C0,15.5228 4.47715,20 10,20 C15.5228,20 20,15.5228 20,10 C20,4.47715 15.5228,0 10,0 C4.47715,0 0,4.47715 0,10 z" fill-rule="nonzero" vector-effect="none"/>
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
<g data-tags="blk">
|
||||
<defs>
|
||||
<clipPath id="clip2">
|
||||
<path d="M-10,-10 L10,-10 L10,10 L-10,10 L-10,-10 z"/>
|
||||
</clipPath>
|
||||
</defs>
|
||||
<g clip-path="url(#clip2)" fill="none" opacity="1" stroke="#000000" stroke-linecap="butt" stroke-linejoin="miter" stroke-miterlimit="2" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,265,135)">
|
||||
<text fill="#000000" fill-opacity="1" font-family="Arial" font-size="10" font-style="normal" font-weight="400" stroke="none" textLength="5.54688" x="-2.76562" xml:space="preserve" y="3.5">2</text>
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
<g data-tags="blk frame">
|
||||
<g clip-path="none" fill="none" opacity="1" stroke="#000000" stroke-linecap="butt" stroke-linejoin="miter" stroke-miterlimit="2" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,255,125)">
|
||||
<path d="M0,10 C0,15.5228 4.47715,20 10,20 C15.5228,20 20,15.5228 20,10 C20,4.47715 15.5228,0 10,0 C4.47715,0 0,4.47715 0,10 z" fill-rule="nonzero" vector-effect="none"/>
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
<g data-tags="blk BlockName">
|
||||
<g clip-path="none" fill="none" opacity="1" stroke="none" stroke-opacity="0" transform="matrix(1,0,0,1,265,147)">
|
||||
<path d="M-6.26562,0 L6.26562,0 L6.26562,14 L-6.26562,14 L-6.26562,0 z" fill-rule="evenodd" vector-effect="none"/>
|
||||
</g>
|
||||
<defs>
|
||||
<clipPath id="clip3">
|
||||
<path d="M-252.734,-124 L21.2656,-124 L21.2656,39 L-252.734,39 L-252.734,-124 z"/>
|
||||
</clipPath>
|
||||
</defs>
|
||||
<g clip-path="url(#clip3)" fill="none" opacity="1" stroke="#000000" stroke-linecap="square" stroke-linejoin="bevel" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,258.734,147)">
|
||||
<text fill="#000000" fill-opacity="1" font-family="Arial" font-size="10" font-style="normal" font-weight="400" stroke="none" textLength="10.5312" x="1" xml:space="preserve" y="10">!Q</text>
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
<g data-tags="blk">
|
||||
<!--RAWSTRING-->
|
||||
<g id="BLDCmotorControl_R2017b:2530:140:138">
|
||||
<g clip-path="none" fill="none" opacity="0.65098" stroke="#000000" stroke-linecap="square" stroke-linejoin="bevel" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,254,79)">
|
||||
<image height="28" preserveAspectRatio="none" width="28" x="0" xlink:href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABwAAAAcCAYAAAByDd+UAAAACXBIWXMAAA7EAAAOxAGVKw4bAAACDElEQVRIie2W62rbQBCFP8lK7aY2xk2gpoGWvP9DlRYKSXEsHBnHciO7P/YMmq53HTfQfxk46Da7n2YvM1sAH4AxMAVmwBVwDXzU+xFQEewZ2AJrYAksgAegBlZ6/wTsyVilTmeCfALm0gyYZICNIBPgPXABlPLZy+eQA04F+wzcAF8EPCfCMfAOGDjYM9ABuxxwpshugFvJgBNgGAFbRWhAg3XAb33f6f4oyoowZ3NFdgt8VcQeVsj/QBhC09DBdoT520hbQY+A1/TzNtfzVJ0NIv+Cfr5szlrCEDfSo7ROAUvC0M109cMYw7wN5DNx7UxT4FI/dmQlYR4m7voSLIaOE32cBI6c/AI5x6qovVcWWEUqUo4ZK1y7QdRPcpTK1Mv/aSVhb3klM0TGDq5dF/XT5YBbp1bO55plnpSOtoQBbQ/Ztc39XWQd/R6M+9jkgBUhRdW6LgkZpOT09jBY49qZVi8BF/R7aEyfrnKpzefTBXAn3evZgMmpGRCyg1+thTreO1litkpRA7+An8A34Lvu7wn1sZFvMsKasEl91l9zXnm6A344WK1vLSfq4cpFaFm/oc+ro+hnrAAvBUkNZ3L+DLjW/V6OTw74miNGNjoD2hnEFsOGUF4eOH3EWElWijZqnz3PQL/6rM4NBbh0SgE3/F1oWzIVPgf0z5Z8L5ziY4TpNenwzd7s3+wPM2jYTX51blgAAAAASUVORK5CYII=" y="0"/>
|
||||
</g>
|
||||
<g clip-path="none" fill="#ffffff" fill-opacity="1" opacity="1" stroke="none" stroke-opacity="0" transform="matrix(1,0,0,1,255,80)">
|
||||
<path d="M0,10 C0,15.5228 4.47715,20 10,20 C15.5228,20 20,15.5228 20,10 C20,4.47715 15.5228,0 10,0 C4.47715,0 0,4.47715 0,10 z" fill-rule="nonzero" vector-effect="none"/>
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
<g data-tags="blk">
|
||||
<defs>
|
||||
<clipPath id="clip5">
|
||||
<path d="M-10,-10 L10,-10 L10,10 L-10,10 L-10,-10 z"/>
|
||||
</clipPath>
|
||||
</defs>
|
||||
<g clip-path="url(#clip5)" fill="none" opacity="1" stroke="#000000" stroke-linecap="butt" stroke-linejoin="miter" stroke-miterlimit="2" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,265,90)">
|
||||
<text fill="#000000" fill-opacity="1" font-family="Arial" font-size="10" font-style="normal" font-weight="400" stroke="none" textLength="5.54688" x="-2.76562" xml:space="preserve" y="3.5">1</text>
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
<g data-tags="blk frame">
|
||||
<g clip-path="none" fill="none" opacity="1" stroke="#000000" stroke-linecap="butt" stroke-linejoin="miter" stroke-miterlimit="2" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,255,80)">
|
||||
<path d="M0,10 C0,15.5228 4.47715,20 10,20 C15.5228,20 20,15.5228 20,10 C20,4.47715 15.5228,0 10,0 C4.47715,0 0,4.47715 0,10 z" fill-rule="nonzero" vector-effect="none"/>
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
<g data-tags="blk BlockName">
|
||||
<g clip-path="none" fill="none" opacity="1" stroke="none" stroke-opacity="0" transform="matrix(1,0,0,1,265,102)">
|
||||
<path d="M-4.88281,0 L4.88281,0 L4.88281,14 L-4.88281,14 L-4.88281,0 z" fill-rule="evenodd" vector-effect="none"/>
|
||||
</g>
|
||||
<defs>
|
||||
<clipPath id="clip6">
|
||||
<path d="M-254.117,-79 L19.8828,-79 L19.8828,84 L-254.117,84 L-254.117,-79 z"/>
|
||||
</clipPath>
|
||||
</defs>
|
||||
<g clip-path="url(#clip6)" fill="none" opacity="1" stroke="#000000" stroke-linecap="square" stroke-linejoin="bevel" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,260.117,102)">
|
||||
<text fill="#000000" fill-opacity="1" font-family="Arial" font-size="10" font-style="normal" font-weight="400" stroke="none" textLength="7.76562" x="1" xml:space="preserve" y="10">Q</text>
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
<g data-tags="blk">
|
||||
<!--RAWSTRING-->
|
||||
<g id="BLDCmotorControl_R2017b:2530:140:137">
|
||||
<g clip-path="none" fill="none" opacity="0.65098" stroke="#000000" stroke-linecap="square" stroke-linejoin="bevel" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,89,48)">
|
||||
<image height="140" preserveAspectRatio="none" width="13" x="0" xlink:href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA0AAACMCAYAAACnByMBAAAACXBIWXMAAA7EAAAOxAGVKw4bAAAAqElEQVRYhe3ZsQ6CMBSF4R+DLq66+Fq+/xOUAYcy4OLQEpsbqm4u/0k6cNOPC/MZgDtw5Z0UzkTIWMEtzJ/AAjwi2NAloBXIwAwceyhuynVD6qHD3vBbRCKRSCQSiUQikUgkEolEIpFIJBKJRP9DI6X9OTezRKmRFkoPtYsm4NTMJkqV9BGlMNs2ZUqB1UXtG+dfPi/VC1tyfc49NFA6tfaf1nq5PWYvL8ANLe/1r00NAAAAAElFTkSuQmCC" y="0"/>
|
||||
</g>
|
||||
<g clip-path="none" fill="#ffffff" fill-opacity="1" opacity="1" stroke="none" stroke-opacity="0" transform="matrix(1,0,0,1,90,49)">
|
||||
<path d="M0,0 L5,0 L5,132 L0,132 L0,0 z" fill-rule="evenodd" vector-effect="none"/>
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
<g data-tags="blk">
|
||||
<defs>
|
||||
<clipPath id="clip8">
|
||||
<path d="M-2,-66 L3,-66 L3,66 L-2,66 L-2,-66 z"/>
|
||||
</clipPath>
|
||||
</defs>
|
||||
<g clip-path="url(#clip8)" fill="none" opacity="1" stroke="#000000" stroke-linecap="butt" stroke-linejoin="miter" stroke-miterlimit="2" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,92,115)">
|
||||
<text fill="#000000" fill-opacity="1" font-family="Arial" font-size="10" font-style="normal" font-weight="400" stroke="none" textLength="18.875" x="-9.4375" xml:space="preserve" y="3.5">Mux</text>
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
<g data-tags="blk frame">
|
||||
<g clip-path="none" fill="none" opacity="1" stroke="#000000" stroke-linecap="butt" stroke-linejoin="miter" stroke-miterlimit="2" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,90,49)">
|
||||
<path d="M0,0 L5,0 L5,132 L0,132 L0,0 z" fill-rule="evenodd" vector-effect="none"/>
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
<g data-tags="portannotationpanel PortDataTypeString">
|
||||
<g clip-path="none" fill="none" opacity="1" stroke="none" stroke-opacity="0" transform="matrix(1,0,0,1,97,113)">
|
||||
<path d="M0,-12 L33.9844,-12 L33.9844,0 L0,0 L0,-12 z" fill-rule="evenodd" vector-effect="none"/>
|
||||
</g>
|
||||
<defs>
|
||||
<clipPath id="clip9">
|
||||
<path d="M-91,-78 L183,-78 L183,85 L-91,85 L-91,-78 z"/>
|
||||
</clipPath>
|
||||
</defs>
|
||||
<g clip-path="url(#clip9)" fill="none" opacity="1" stroke="#000000" stroke-linecap="square" stroke-linejoin="bevel" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,97,101)">
|
||||
<text fill="#000000" fill-opacity="1" font-family="Arial" font-size="9" font-style="normal" font-weight="400" stroke="none" textLength="31.9844" x="1" xml:space="preserve" y="9">boolean</text>
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
<g data-tags="blk">
|
||||
<!--RAWSTRING-->
|
||||
<g id="BLDCmotorControl_R2017b:2530:140:136">
|
||||
<g clip-path="none" fill="none" opacity="0.65098" stroke="#000000" stroke-linecap="square" stroke-linejoin="bevel" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,114,24)">
|
||||
<image height="38" preserveAspectRatio="none" width="48" x="0" xlink:href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAmCAYAAACCjRgBAAAACXBIWXMAAA7EAAAOxAGVKw4bAAABUklEQVRYhe2YwU7DMAyGv6Kwy65w2WUnnohn5ingAEhMoG6QMlZBiwQHp5qHuhGhrElRPslyVbmR/zqpKxfAJXAOnDmfAiWwdF7b8megQZKeKUuBKTBx1y1QA1VfoEHe/AyYO0uBU+cbYANYdW8HXYE5cDFEdp60SPIVsn16BZwMmdExyAJikwXEJguIzegFGI+YwiPmCrgBrpW/BVa/PPflsfZBQlXgDVgrXyOd9OiEEvCsrGKEAh6BJ+R3txPwGWjtg4QScI+IWAGvwDsjE/CAVOAFOQcfBDigPoQSsGB3+wyy/8HvMzrIm/wro29kWUBssoDYZAGxMcjMZcqeuUsk7pDmWCJDrb3N0SAdVI/xUmCBZ3fvKgDbMV4K6OGuRfJq+gI7AXqMlwIWycXisYVKF2DZViM2tbON8r0CCmQ6PUEOcSoHuXXWqOvOMpnMf+IbR6Zr2cl17YQAAAAASUVORK5CYII=" y="0"/>
|
||||
</g>
|
||||
<g clip-path="none" fill="#ffffff" fill-opacity="1" opacity="1" stroke="none" stroke-opacity="0" transform="matrix(1,0,0,1,115,25)">
|
||||
<path d="M0,0 L40,0 L40,30 L0,30 L0,0 z" fill-rule="evenodd" vector-effect="none"/>
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
<g data-tags="blk*">
|
||||
<defs>
|
||||
<clipPath id="clip11">
|
||||
<path d="M0,0 L40,0 L40,30 L0,30 L0,0 z"/>
|
||||
</clipPath>
|
||||
</defs>
|
||||
<g clip-path="url(#clip11)" fill="none" opacity="1" stroke="none" stroke-opacity="0" transform="matrix(1,0,0,1,115,25)">
|
||||
<path d="M0,0 L40,0 L40,30 L0,30 L0,0 z" fill-rule="evenodd" vector-effect="none"/>
|
||||
</g>
|
||||
<defs>
|
||||
<clipPath id="clip16">
|
||||
<path d="M-1,0 L32,0 L32,30 L-1,30 L-1,0 z"/>
|
||||
</clipPath>
|
||||
</defs>
|
||||
<g clip-path="url(#clip16)" fill="#d9d9d9" fill-opacity="1" opacity="1" stroke="none" stroke-opacity="0" transform="matrix(1,0,0,1,120,25)">
|
||||
<path d="M7,19 L5,19 L7,23 L9,19 L7,19 z" fill-rule="nonzero" vector-effect="none"/>
|
||||
</g>
|
||||
<defs>
|
||||
<clipPath id="clip17">
|
||||
<path d="M0,1 L33,1 L33,31 L0,31 L0,1 z"/>
|
||||
</clipPath>
|
||||
</defs>
|
||||
<g clip-path="url(#clip17)" fill="none" opacity="1" stroke="#000000" stroke-linecap="round" stroke-linejoin="round" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,119,24)">
|
||||
<path d="M8,20 L6,20 L8,24 L10,20 L8,20 z" fill-rule="nonzero" vector-effect="none"/>
|
||||
</g>
|
||||
<defs>
|
||||
<clipPath id="clip18">
|
||||
<path d="M0,1 L33,1 L33,31 L0,31 L0,1 z"/>
|
||||
</clipPath>
|
||||
</defs>
|
||||
<g clip-path="url(#clip18)" fill="none" opacity="1" stroke="#000000" stroke-linecap="round" stroke-linejoin="round" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,119,24)">
|
||||
<path d="M8,20 L8,8 L24,8 L24,24 L17,24" fill-rule="nonzero" vector-effect="none"/>
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
<g data-tags="blk*">
|
||||
<!--RAWSTRING-->
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
<g data-tags="blk">
|
||||
<!--RAWSTRING-->
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
<g data-tags="blk frame">
|
||||
<g clip-path="none" fill="none" opacity="1" stroke="#000000" stroke-linecap="butt" stroke-linejoin="miter" stroke-miterlimit="2" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,115,25)">
|
||||
<path d="M0,0 L40,0 L40,30 L0,30 L0,0 z" fill-rule="evenodd" vector-effect="none"/>
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
<g data-tags="portannotationpanel PortDataTypeString">
|
||||
<g clip-path="none" fill="none" opacity="1" stroke="none" stroke-opacity="0" transform="matrix(1,0,0,1,113,42)">
|
||||
<path d="M-33.9844,0 L0,0 L0,12 L-33.9844,12 L-33.9844,0 z" fill-rule="evenodd" vector-effect="none"/>
|
||||
</g>
|
||||
<defs>
|
||||
<clipPath id="clip29">
|
||||
<path d="M-73.0156,-19 L200.984,-19 L200.984,144 L-73.0156,144 L-73.0156,-19 z"/>
|
||||
</clipPath>
|
||||
</defs>
|
||||
<g clip-path="url(#clip29)" fill="none" opacity="1" stroke="#000000" stroke-linecap="square" stroke-linejoin="bevel" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,79.0156,42)">
|
||||
<text fill="#000000" fill-opacity="1" font-family="Arial" font-size="9" font-style="normal" font-weight="400" stroke="none" textLength="31.9844" x="1" xml:space="preserve" y="9">boolean</text>
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
<g data-tags="blk">
|
||||
<!--RAWSTRING-->
|
||||
<g id="BLDCmotorControl_R2017b:2530:140:135">
|
||||
<g clip-path="none" fill="none" opacity="0.65098" stroke="#000000" stroke-linecap="square" stroke-linejoin="bevel" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,114,98)">
|
||||
<image height="40" preserveAspectRatio="none" width="38" x="0" xlink:href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACYAAAAoCAYAAACSN4jeAAAACXBIWXMAAA7EAAAOxAGVKw4bAAABP0lEQVRYhe2YsU7DMBBAX1Do0hWWLp34Ij6SL+ErYCkSFcgBDCUZ0qEMd1ENTVBMbJThnnQ6q7Lip0sax1cA18AlcKE5Jw6oNIdR/ZxYqswqiJwsgYWO90ADvPdNLJFKrYC1Rk7ONbdADfjgtxOxrmJr4CqzGEilaqRSbkjs7B9E/oSJxWJisZhYLLMVK0fMKUbMuQXugTvNN1OkIF3FPoFdkCeTSuw1iN5NOZZUYk/AM/L5MiuxB0TuBfhIccFUYo9Ixd6Q52wyqcS2HG9jk+KCY14XhxQLxTLbF6yJxWJisZhYLCYWS4mchpcMnIgTs0G2L4e0BxrkZN4rVvG90ZGTLaf76qCY03HX6MhJ2Ibyul77m1jY6MiJ1zU8I26l0wmeY/Vy0WjUQe4VK5D+2AJ5+HP/AfYabTDuwjAMgC+byl4iGJn45gAAAABJRU5ErkJggg==" y="0"/>
|
||||
</g>
|
||||
<g clip-path="none" fill="#ffffff" fill-opacity="1" opacity="1" stroke="none" stroke-opacity="0" transform="matrix(1,0,0,1,115,99)">
|
||||
<path d="M0,0 L30,0 L30,32 L0,32 L0,0 z" fill-rule="evenodd" vector-effect="none"/>
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
<g data-tags="blk*">
|
||||
<defs>
|
||||
<clipPath id="clip31">
|
||||
<path d="M0,0 L30,0 L30,32 L0,32 L0,0 z"/>
|
||||
</clipPath>
|
||||
</defs>
|
||||
<g clip-path="url(#clip31)" fill="none" opacity="1" stroke="none" stroke-opacity="0" transform="matrix(1,0,0,1,115,99)">
|
||||
<path d="M0,0 L30,0 L30,32 L0,32 L0,0 z" fill-rule="evenodd" vector-effect="none"/>
|
||||
</g>
|
||||
<defs>
|
||||
<clipPath id="clip36">
|
||||
<path d="M1,0 L31,0 L31,32 L1,32 L1,0 z"/>
|
||||
</clipPath>
|
||||
</defs>
|
||||
<g clip-path="url(#clip36)" fill="none" opacity="1" stroke="#000000" stroke-linecap="round" stroke-linejoin="round" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,114,99)">
|
||||
<path d="M10,7 L7,7 L7,25 L10,25" fill-rule="nonzero" vector-effect="none"/>
|
||||
</g>
|
||||
<defs>
|
||||
<clipPath id="clip37">
|
||||
<path d="M1,0 L31,0 L31,32 L1,32 L1,0 z"/>
|
||||
</clipPath>
|
||||
</defs>
|
||||
<g clip-path="url(#clip37)" fill="none" opacity="1" stroke="#000000" stroke-linecap="round" stroke-linejoin="round" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,114,99)">
|
||||
<path d="M22,7 L25,7 L25,25 L22,25" fill-rule="nonzero" vector-effect="none"/>
|
||||
</g>
|
||||
<defs>
|
||||
<clipPath id="clip38">
|
||||
<path d="M1,0 L31,0 L31,32 L1,32 L1,0 z"/>
|
||||
</clipPath>
|
||||
</defs>
|
||||
<g clip-path="url(#clip38)" fill="none" opacity="1" stroke="#000000" stroke-linecap="round" stroke-linejoin="round" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,114,99)">
|
||||
<path d="M11,11 L11,13" fill-rule="nonzero" vector-effect="none"/>
|
||||
</g>
|
||||
<defs>
|
||||
<clipPath id="clip39">
|
||||
<path d="M1,0 L31,0 L31,32 L1,32 L1,0 z"/>
|
||||
</clipPath>
|
||||
</defs>
|
||||
<g clip-path="url(#clip39)" fill="none" opacity="1" stroke="#000000" stroke-linecap="round" stroke-linejoin="round" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,114,99)">
|
||||
<path d="M16,11 L16,13" fill-rule="nonzero" vector-effect="none"/>
|
||||
</g>
|
||||
<defs>
|
||||
<clipPath id="clip40">
|
||||
<path d="M1,0 L31,0 L31,32 L1,32 L1,0 z"/>
|
||||
</clipPath>
|
||||
</defs>
|
||||
<g clip-path="url(#clip40)" fill="none" opacity="1" stroke="#000000" stroke-linecap="round" stroke-linejoin="round" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,114,99)">
|
||||
<path d="M21,11 L21,13" fill-rule="nonzero" vector-effect="none"/>
|
||||
</g>
|
||||
<defs>
|
||||
<clipPath id="clip41">
|
||||
<path d="M1,0 L31,0 L31,32 L1,32 L1,0 z"/>
|
||||
</clipPath>
|
||||
</defs>
|
||||
<g clip-path="url(#clip41)" fill="none" opacity="1" stroke="#000000" stroke-linecap="round" stroke-linejoin="round" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,114,99)">
|
||||
<path d="M11,15 L11,17" fill-rule="nonzero" vector-effect="none"/>
|
||||
</g>
|
||||
<defs>
|
||||
<clipPath id="clip42">
|
||||
<path d="M1,0 L31,0 L31,32 L1,32 L1,0 z"/>
|
||||
</clipPath>
|
||||
</defs>
|
||||
<g clip-path="url(#clip42)" fill="none" opacity="1" stroke="#000000" stroke-linecap="round" stroke-linejoin="round" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,114,99)">
|
||||
<path d="M16,15 L16,17" fill-rule="nonzero" vector-effect="none"/>
|
||||
</g>
|
||||
<defs>
|
||||
<clipPath id="clip43">
|
||||
<path d="M1,0 L31,0 L31,32 L1,32 L1,0 z"/>
|
||||
</clipPath>
|
||||
</defs>
|
||||
<g clip-path="url(#clip43)" fill="none" opacity="1" stroke="#000000" stroke-linecap="round" stroke-linejoin="round" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,114,99)">
|
||||
<path d="M21,15 L21,17" fill-rule="nonzero" vector-effect="none"/>
|
||||
</g>
|
||||
<defs>
|
||||
<clipPath id="clip44">
|
||||
<path d="M1,0 L31,0 L31,32 L1,32 L1,0 z"/>
|
||||
</clipPath>
|
||||
</defs>
|
||||
<g clip-path="url(#clip44)" fill="none" opacity="1" stroke="#000000" stroke-linecap="round" stroke-linejoin="round" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,114,99)">
|
||||
<path d="M11,19 L11,21" fill-rule="nonzero" vector-effect="none"/>
|
||||
</g>
|
||||
<defs>
|
||||
<clipPath id="clip45">
|
||||
<path d="M1,0 L31,0 L31,32 L1,32 L1,0 z"/>
|
||||
</clipPath>
|
||||
</defs>
|
||||
<g clip-path="url(#clip45)" fill="none" opacity="1" stroke="#000000" stroke-linecap="round" stroke-linejoin="round" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,114,99)">
|
||||
<path d="M16,19 L16,21" fill-rule="nonzero" vector-effect="none"/>
|
||||
</g>
|
||||
<defs>
|
||||
<clipPath id="clip46">
|
||||
<path d="M1,0 L31,0 L31,32 L1,32 L1,0 z"/>
|
||||
</clipPath>
|
||||
</defs>
|
||||
<g clip-path="url(#clip46)" fill="none" opacity="1" stroke="#000000" stroke-linecap="round" stroke-linejoin="round" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,114,99)">
|
||||
<path d="M21,19 L21,21" fill-rule="nonzero" vector-effect="none"/>
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
<g data-tags="blk*">
|
||||
<!--RAWSTRING-->
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
<g data-tags="blk">
|
||||
<!--RAWSTRING-->
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
<g data-tags="blk frame">
|
||||
<g clip-path="none" fill="none" opacity="1" stroke="#000000" stroke-linecap="butt" stroke-linejoin="miter" stroke-miterlimit="2" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,115,99)">
|
||||
<path d="M0,0 L30,0 L30,32 L0,32 L0,0 z" fill-rule="evenodd" vector-effect="none"/>
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
<g data-tags="blk BlockName">
|
||||
<g clip-path="none" fill="none" opacity="1" stroke="none" stroke-opacity="0" transform="matrix(1,0,0,1,130,133)">
|
||||
<path d="M-12.9297,0 L12.9297,0 L12.9297,14 L-12.9297,14 L-12.9297,0 z" fill-rule="evenodd" vector-effect="none"/>
|
||||
</g>
|
||||
<defs>
|
||||
<clipPath id="clip57">
|
||||
<path d="M-111.07,-110 L162.93,-110 L162.93,53 L-111.07,53 L-111.07,-110 z"/>
|
||||
</clipPath>
|
||||
</defs>
|
||||
<g clip-path="url(#clip57)" fill="none" opacity="1" stroke="#000000" stroke-linecap="square" stroke-linejoin="bevel" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,117.07,133)">
|
||||
<text fill="#000000" fill-opacity="1" font-family="Arial" font-size="10" font-style="normal" font-weight="400" stroke="none" textLength="23.8594" x="1" xml:space="preserve" y="10">Logic</text>
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
<g data-tags="portannotationpanel PortDataTypeString">
|
||||
<g clip-path="none" fill="none" opacity="1" stroke="none" stroke-opacity="0" transform="matrix(1,0,0,1,147,113)">
|
||||
<path d="M0,-12 L33.9844,-12 L33.9844,0 L0,0 L0,-12 z" fill-rule="evenodd" vector-effect="none"/>
|
||||
</g>
|
||||
<defs>
|
||||
<clipPath id="clip58">
|
||||
<path d="M-141,-78 L133,-78 L133,85 L-141,85 L-141,-78 z"/>
|
||||
</clipPath>
|
||||
</defs>
|
||||
<g clip-path="url(#clip58)" fill="none" opacity="1" stroke="#000000" stroke-linecap="square" stroke-linejoin="bevel" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,147,101)">
|
||||
<text fill="#000000" fill-opacity="1" font-family="Arial" font-size="9" font-style="normal" font-weight="400" stroke="none" textLength="31.9844" x="1" xml:space="preserve" y="9">boolean</text>
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
<g data-tags="blk">
|
||||
<!--RAWSTRING-->
|
||||
<g id="BLDCmotorControl_R2017b:2530:140:134">
|
||||
<g clip-path="none" fill="none" opacity="0.65098" stroke="#000000" stroke-linecap="square" stroke-linejoin="bevel" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,174,65)">
|
||||
<image height="101" preserveAspectRatio="none" width="13" x="0" xlink:href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA0AAABlCAYAAACWTGlLAAAACXBIWXMAAA7EAAAOxAGVKw4bAAAAoUlEQVRYhe3YMQ7CMBBE0R8UaGihybW4/wnsIhSbIjQp1hbWygY6mhnJRVZ+2aSdCXgAd95J4WRC5gKWMH8BG/CMoKJbQDtgwAqcRyhusrIhjdCpN/wWISEhISEhISEhISEhISEhIaE/oRmveq7NLOGd0YaXTl2UgUszy3hv9BGlMKubDG+rhqh94/rL56VyocbKs43QhBdo7T/t5XJ7lF4OmYctoZfQ/fwAAAAASUVORK5CYII=" y="0"/>
|
||||
</g>
|
||||
<g clip-path="none" fill="#ffffff" fill-opacity="1" opacity="1" stroke="none" stroke-opacity="0" transform="matrix(1,0,0,1,175,66)">
|
||||
<path d="M0,0 L5,0 L5,93 L0,93 L0,0 z" fill-rule="evenodd" vector-effect="none"/>
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
<g data-tags="blk">
|
||||
<defs>
|
||||
<clipPath id="clip60">
|
||||
<path d="M-2,-46 L3,-46 L3,47 L-2,47 L-2,-46 z"/>
|
||||
</clipPath>
|
||||
</defs>
|
||||
<g clip-path="url(#clip60)" fill="none" opacity="1" stroke="#000000" stroke-linecap="butt" stroke-linejoin="miter" stroke-miterlimit="2" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,177,112)">
|
||||
<text fill="#000000" fill-opacity="1" font-family="Arial" font-size="10" font-style="normal" font-weight="400" stroke="none" textLength="31.6406" x="-15.8125" xml:space="preserve" y="3.5">Demux</text>
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
<g data-tags="blk frame">
|
||||
<g clip-path="none" fill="none" opacity="1" stroke="#000000" stroke-linecap="butt" stroke-linejoin="miter" stroke-miterlimit="2" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,175,66)">
|
||||
<path d="M0,0 L5,0 L5,93 L0,93 L0,0 z" fill-rule="evenodd" vector-effect="none"/>
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
<g data-tags="portannotationpanel PortDataTypeString">
|
||||
<g clip-path="none" fill="none" opacity="1" stroke="none" stroke-opacity="0" transform="matrix(1,0,0,1,182,133)">
|
||||
<path d="M0,-12 L33.9844,-12 L33.9844,0 L0,0 L0,-12 z" fill-rule="evenodd" vector-effect="none"/>
|
||||
</g>
|
||||
<defs>
|
||||
<clipPath id="clip61">
|
||||
<path d="M-176,-98 L98,-98 L98,65 L-176,65 L-176,-98 z"/>
|
||||
</clipPath>
|
||||
</defs>
|
||||
<g clip-path="url(#clip61)" fill="none" opacity="1" stroke="#000000" stroke-linecap="square" stroke-linejoin="bevel" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,182,121)">
|
||||
<text fill="#000000" fill-opacity="1" font-family="Arial" font-size="9" font-style="normal" font-weight="400" stroke="none" textLength="31.9844" x="1" xml:space="preserve" y="9">boolean</text>
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
<g data-tags="portannotationpanel PortDataTypeString">
|
||||
<g clip-path="none" fill="none" opacity="1" stroke="none" stroke-opacity="0" transform="matrix(1,0,0,1,182,88)">
|
||||
<path d="M0,-12 L33.9844,-12 L33.9844,0 L0,0 L0,-12 z" fill-rule="evenodd" vector-effect="none"/>
|
||||
</g>
|
||||
<defs>
|
||||
<clipPath id="clip62">
|
||||
<path d="M-176,-53 L98,-53 L98,110 L-176,110 L-176,-53 z"/>
|
||||
</clipPath>
|
||||
</defs>
|
||||
<g clip-path="url(#clip62)" fill="none" opacity="1" stroke="#000000" stroke-linecap="square" stroke-linejoin="bevel" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,182,76)">
|
||||
<text fill="#000000" fill-opacity="1" font-family="Arial" font-size="9" font-style="normal" font-weight="400" stroke="none" textLength="31.9844" x="1" xml:space="preserve" y="9">boolean</text>
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
<g data-tags="blk">
|
||||
<!--RAWSTRING-->
|
||||
<g id="BLDCmotorControl_R2017b:2530:140:133">
|
||||
<g clip-path="none" fill="none" opacity="0.65098" stroke="#000000" stroke-linecap="square" stroke-linejoin="bevel" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,34,104)">
|
||||
<image height="28" preserveAspectRatio="none" width="28" x="0" xlink:href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABwAAAAcCAYAAAByDd+UAAAACXBIWXMAAA7EAAAOxAGVKw4bAAACDElEQVRIie2W62rbQBCFP8lK7aY2xk2gpoGWvP9DlRYKSXEsHBnHciO7P/YMmq53HTfQfxk46Da7n2YvM1sAH4AxMAVmwBVwDXzU+xFQEewZ2AJrYAksgAegBlZ6/wTsyVilTmeCfALm0gyYZICNIBPgPXABlPLZy+eQA04F+wzcAF8EPCfCMfAOGDjYM9ABuxxwpshugFvJgBNgGAFbRWhAg3XAb33f6f4oyoowZ3NFdgt8VcQeVsj/QBhC09DBdoT520hbQY+A1/TzNtfzVJ0NIv+Cfr5szlrCEDfSo7ROAUvC0M109cMYw7wN5DNx7UxT4FI/dmQlYR4m7voSLIaOE32cBI6c/AI5x6qovVcWWEUqUo4ZK1y7QdRPcpTK1Mv/aSVhb3klM0TGDq5dF/XT5YBbp1bO55plnpSOtoQBbQ/Ztc39XWQd/R6M+9jkgBUhRdW6LgkZpOT09jBY49qZVi8BF/R7aEyfrnKpzefTBXAn3evZgMmpGRCyg1+thTreO1litkpRA7+An8A34Lvu7wn1sZFvMsKasEl91l9zXnm6A344WK1vLSfq4cpFaFm/oc+ro+hnrAAvBUkNZ3L+DLjW/V6OTw74miNGNjoD2hnEFsOGUF4eOH3EWElWijZqnz3PQL/6rM4NBbh0SgE3/F1oWzIVPgf0z5Z8L5ziY4TpNenwzd7s3+wPM2jYTX51blgAAAAASUVORK5CYII=" y="0"/>
|
||||
</g>
|
||||
<g clip-path="none" fill="#ffffff" fill-opacity="1" opacity="1" stroke="none" stroke-opacity="0" transform="matrix(1,0,0,1,35,105)">
|
||||
<path d="M0,10 C0,15.5228 4.47715,20 10,20 C15.5228,20 20,15.5228 20,10 C20,4.47715 15.5228,0 10,0 C4.47715,0 0,4.47715 0,10 z" fill-rule="nonzero" vector-effect="none"/>
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
<g data-tags="blk">
|
||||
<defs>
|
||||
<clipPath id="clip64">
|
||||
<path d="M-10,-10 L10,-10 L10,10 L-10,10 L-10,-10 z"/>
|
||||
</clipPath>
|
||||
</defs>
|
||||
<g clip-path="url(#clip64)" fill="none" opacity="1" stroke="#000000" stroke-linecap="butt" stroke-linejoin="miter" stroke-miterlimit="2" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,45,115)">
|
||||
<text fill="#000000" fill-opacity="1" font-family="Arial" font-size="10" font-style="normal" font-weight="400" stroke="none" textLength="5.54688" x="-2.76562" xml:space="preserve" y="3.5">2</text>
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
<g data-tags="blk frame">
|
||||
<g clip-path="none" fill="none" opacity="1" stroke="#000000" stroke-linecap="butt" stroke-linejoin="miter" stroke-miterlimit="2" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,35,105)">
|
||||
<path d="M0,10 C0,15.5228 4.47715,20 10,20 C15.5228,20 20,15.5228 20,10 C20,4.47715 15.5228,0 10,0 C4.47715,0 0,4.47715 0,10 z" fill-rule="nonzero" vector-effect="none"/>
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
<g data-tags="blk BlockName">
|
||||
<g clip-path="none" fill="none" opacity="1" stroke="none" stroke-opacity="0" transform="matrix(1,0,0,1,45,127)">
|
||||
<path d="M-5.10938,0 L5.10938,0 L5.10938,14 L-5.10938,14 L-5.10938,0 z" fill-rule="evenodd" vector-effect="none"/>
|
||||
</g>
|
||||
<defs>
|
||||
<clipPath id="clip65">
|
||||
<path d="M-33.8906,-104 L240.109,-104 L240.109,59 L-33.8906,59 L-33.8906,-104 z"/>
|
||||
</clipPath>
|
||||
</defs>
|
||||
<g clip-path="url(#clip65)" fill="none" opacity="1" stroke="#000000" stroke-linecap="square" stroke-linejoin="bevel" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,39.8906,127)">
|
||||
<text fill="#000000" fill-opacity="1" font-family="Arial" font-size="10" font-style="normal" font-weight="400" stroke="none" textLength="7.21875" x="1.5" xml:space="preserve" y="10">R</text>
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
<g data-tags="portannotationpanel PortDataTypeString">
|
||||
<g clip-path="none" fill="none" opacity="1" stroke="none" stroke-opacity="0" transform="matrix(1,0,0,1,57,113)">
|
||||
<path d="M0,-12 L33.9844,-12 L33.9844,0 L0,0 L0,-12 z" fill-rule="evenodd" vector-effect="none"/>
|
||||
</g>
|
||||
<defs>
|
||||
<clipPath id="clip66">
|
||||
<path d="M-51,-78 L223,-78 L223,85 L-51,85 L-51,-78 z"/>
|
||||
</clipPath>
|
||||
</defs>
|
||||
<g clip-path="url(#clip66)" fill="none" opacity="1" stroke="#000000" stroke-linecap="square" stroke-linejoin="bevel" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,57,101)">
|
||||
<text fill="#000000" fill-opacity="1" font-family="Arial" font-size="9" font-style="normal" font-weight="400" stroke="none" textLength="31.9844" x="1" xml:space="preserve" y="9">boolean</text>
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
<g data-tags="blk">
|
||||
<!--RAWSTRING-->
|
||||
<g id="BLDCmotorControl_R2017b:2530:140:132">
|
||||
<g clip-path="none" fill="none" opacity="0.65098" stroke="#000000" stroke-linecap="square" stroke-linejoin="bevel" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,34,59)">
|
||||
<image height="28" preserveAspectRatio="none" width="28" x="0" xlink:href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABwAAAAcCAYAAAByDd+UAAAACXBIWXMAAA7EAAAOxAGVKw4bAAACDElEQVRIie2W62rbQBCFP8lK7aY2xk2gpoGWvP9DlRYKSXEsHBnHciO7P/YMmq53HTfQfxk46Da7n2YvM1sAH4AxMAVmwBVwDXzU+xFQEewZ2AJrYAksgAegBlZ6/wTsyVilTmeCfALm0gyYZICNIBPgPXABlPLZy+eQA04F+wzcAF8EPCfCMfAOGDjYM9ABuxxwpshugFvJgBNgGAFbRWhAg3XAb33f6f4oyoowZ3NFdgt8VcQeVsj/QBhC09DBdoT520hbQY+A1/TzNtfzVJ0NIv+Cfr5szlrCEDfSo7ROAUvC0M109cMYw7wN5DNx7UxT4FI/dmQlYR4m7voSLIaOE32cBI6c/AI5x6qovVcWWEUqUo4ZK1y7QdRPcpTK1Mv/aSVhb3klM0TGDq5dF/XT5YBbp1bO55plnpSOtoQBbQ/Ztc39XWQd/R6M+9jkgBUhRdW6LgkZpOT09jBY49qZVi8BF/R7aEyfrnKpzefTBXAn3evZgMmpGRCyg1+thTreO1litkpRA7+An8A34Lvu7wn1sZFvMsKasEl91l9zXnm6A344WK1vLSfq4cpFaFm/oc+ro+hnrAAvBUkNZ3L+DLjW/V6OTw74miNGNjoD2hnEFsOGUF4eOH3EWElWijZqnz3PQL/6rM4NBbh0SgE3/F1oWzIVPgf0z5Z8L5ziY4TpNenwzd7s3+wPM2jYTX51blgAAAAASUVORK5CYII=" y="0"/>
|
||||
</g>
|
||||
<g clip-path="none" fill="#ffffff" fill-opacity="1" opacity="1" stroke="none" stroke-opacity="0" transform="matrix(1,0,0,1,35,60)">
|
||||
<path d="M0,10 C0,15.5228 4.47715,20 10,20 C15.5228,20 20,15.5228 20,10 C20,4.47715 15.5228,0 10,0 C4.47715,0 0,4.47715 0,10 z" fill-rule="nonzero" vector-effect="none"/>
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
<g data-tags="blk">
|
||||
<defs>
|
||||
<clipPath id="clip68">
|
||||
<path d="M-10,-10 L10,-10 L10,10 L-10,10 L-10,-10 z"/>
|
||||
</clipPath>
|
||||
</defs>
|
||||
<g clip-path="url(#clip68)" fill="none" opacity="1" stroke="#000000" stroke-linecap="butt" stroke-linejoin="miter" stroke-miterlimit="2" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,45,70)">
|
||||
<text fill="#000000" fill-opacity="1" font-family="Arial" font-size="10" font-style="normal" font-weight="400" stroke="none" textLength="5.54688" x="-2.76562" xml:space="preserve" y="3.5">1</text>
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
<g data-tags="blk frame">
|
||||
<g clip-path="none" fill="none" opacity="1" stroke="#000000" stroke-linecap="butt" stroke-linejoin="miter" stroke-miterlimit="2" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,35,60)">
|
||||
<path d="M0,10 C0,15.5228 4.47715,20 10,20 C15.5228,20 20,15.5228 20,10 C20,4.47715 15.5228,0 10,0 C4.47715,0 0,4.47715 0,10 z" fill-rule="nonzero" vector-effect="none"/>
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
<g data-tags="blk BlockName">
|
||||
<g clip-path="none" fill="none" opacity="1" stroke="none" stroke-opacity="0" transform="matrix(1,0,0,1,45,82)">
|
||||
<path d="M-4.32812,0 L4.32812,0 L4.32812,14 L-4.32812,14 L-4.32812,0 z" fill-rule="evenodd" vector-effect="none"/>
|
||||
</g>
|
||||
<defs>
|
||||
<clipPath id="clip69">
|
||||
<path d="M-34.6719,-59 L239.328,-59 L239.328,104 L-34.6719,104 L-34.6719,-59 z"/>
|
||||
</clipPath>
|
||||
</defs>
|
||||
<g clip-path="url(#clip69)" fill="none" opacity="1" stroke="#000000" stroke-linecap="square" stroke-linejoin="bevel" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,40.6719,82)">
|
||||
<text fill="#000000" fill-opacity="1" font-family="Arial" font-size="10" font-style="normal" font-weight="400" stroke="none" textLength="6.65625" x="1" xml:space="preserve" y="10">S</text>
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
<g data-tags="portannotationpanel PortDataTypeString">
|
||||
<g clip-path="none" fill="none" opacity="1" stroke="none" stroke-opacity="0" transform="matrix(1,0,0,1,57,68)">
|
||||
<path d="M0,-12 L33.9844,-12 L33.9844,0 L0,0 L0,-12 z" fill-rule="evenodd" vector-effect="none"/>
|
||||
</g>
|
||||
<defs>
|
||||
<clipPath id="clip70">
|
||||
<path d="M-51,-33 L223,-33 L223,130 L-51,130 L-51,-33 z"/>
|
||||
</clipPath>
|
||||
</defs>
|
||||
<g clip-path="url(#clip70)" fill="none" opacity="1" stroke="#000000" stroke-linecap="square" stroke-linejoin="bevel" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,57,56)">
|
||||
<text fill="#000000" fill-opacity="1" font-family="Arial" font-size="9" font-style="normal" font-weight="400" stroke="none" textLength="31.9844" x="1" xml:space="preserve" y="9">boolean</text>
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
<g id="BLDCmotorControl_R2017b:2530:140:133#out:1">
|
||||
<!--RAWSTRING-->
|
||||
<g data-tags="PathIntersectionsEnabledTag">
|
||||
<g clip-path="none" fill="#000000" fill-opacity="1" opacity="1" stroke="none" stroke-opacity="0" transform="matrix(1,0,0,1,90,115)">
|
||||
<path d="M0,0 L-8,-4 L-8,4 L0,0 z" fill-rule="nonzero" vector-effect="none"/>
|
||||
</g>
|
||||
<g clip-path="none" fill="none" opacity="1" stroke="#000000" stroke-linecap="butt" stroke-linejoin="miter" stroke-miterlimit="2" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,0,0)">
|
||||
<path d="M55,115 L82,115" fill-rule="evenodd" vector-effect="none"/>
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
<g id="BLDCmotorControl_R2017b:2530:140:132#out:1">
|
||||
<!--RAWSTRING-->
|
||||
<g data-tags="PathIntersectionsEnabledTag">
|
||||
<g clip-path="none" fill="#000000" fill-opacity="1" opacity="1" stroke="none" stroke-opacity="0" transform="matrix(1,0,0,1,90,70)">
|
||||
<path d="M0,0 L-8,-4 L-8,4 L0,0 z" fill-rule="nonzero" vector-effect="none"/>
|
||||
</g>
|
||||
<g clip-path="none" fill="none" opacity="1" stroke="#000000" stroke-linecap="butt" stroke-linejoin="miter" stroke-miterlimit="2" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,0,0)">
|
||||
<path d="M55,70 L82,70" fill-rule="evenodd" vector-effect="none"/>
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
<g id="BLDCmotorControl_R2017b:2530:140:134#out:1">
|
||||
<!--RAWSTRING-->
|
||||
<g data-tags="PathIntersectionsEnabledTag">
|
||||
<g clip-path="none" fill="none" opacity="1" stroke="#000000" stroke-linecap="butt" stroke-linejoin="miter" stroke-miterlimit="2" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,0,0)">
|
||||
<path d="M180,90 L210,90" fill-rule="evenodd" vector-effect="none"/>
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
<g data-tags="PathIntersectionsEnabledTag">
|
||||
<g clip-path="none" fill="#000000" fill-opacity="1" opacity="1" stroke="none" stroke-opacity="0" transform="matrix(-1,1.22465e-16,-1.22465e-16,-1,155,40)">
|
||||
<path d="M0,0 L-8,-4 L-8,4 L0,0 z" fill-rule="nonzero" vector-effect="none"/>
|
||||
</g>
|
||||
<g clip-path="none" fill="none" opacity="1" stroke="#000000" stroke-linecap="butt" stroke-linejoin="miter" stroke-miterlimit="2" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,0,0)">
|
||||
<path d="M210,90 L210,40 L163,40" fill-rule="evenodd" vector-effect="none"/>
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
<g data-tags="PathIntersectionsEnabledTag">
|
||||
<g clip-path="none" fill="#000000" fill-opacity="1" opacity="1" stroke="none" stroke-opacity="0" transform="matrix(1,0,0,1,255,90)">
|
||||
<path d="M0,0 L-8,-4 L-8,4 L0,0 z" fill-rule="nonzero" vector-effect="none"/>
|
||||
</g>
|
||||
<g clip-path="none" fill="none" opacity="1" stroke="#000000" stroke-linecap="butt" stroke-linejoin="miter" stroke-miterlimit="2" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,0,0)">
|
||||
<path d="M210,90 L247,90" fill-rule="evenodd" vector-effect="none"/>
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
</g>
|
||||
<g clip-path="none" fill="#000000" fill-opacity="1" opacity="1" stroke="none" stroke-opacity="0" transform="matrix(1,0,0,1,210,90)">
|
||||
<path d="M2.5,0 C2.5,1.38071 1.38071,2.5 0,2.5 C-1.38071,2.5 -2.5,1.38071 -2.5,0 C-2.5,-1.38071 -1.38071,-2.5 0,-2.5 C1.38071,-2.5 2.5,-1.38071 2.5,0 z" fill-rule="evenodd" vector-effect="none"/>
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
<g id="BLDCmotorControl_R2017b:2530:140:134#out:2">
|
||||
<!--RAWSTRING-->
|
||||
<g data-tags="PathIntersectionsEnabledTag">
|
||||
<g clip-path="none" fill="#000000" fill-opacity="1" opacity="1" stroke="none" stroke-opacity="0" transform="matrix(1,0,0,1,255,135)">
|
||||
<path d="M0,0 L-8,-4 L-8,4 L0,0 z" fill-rule="nonzero" vector-effect="none"/>
|
||||
</g>
|
||||
<g clip-path="none" fill="none" opacity="1" stroke="#000000" stroke-linecap="butt" stroke-linejoin="miter" stroke-miterlimit="2" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,0,0)">
|
||||
<path d="M180,135 L247,135" fill-rule="evenodd" vector-effect="none"/>
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
<g id="BLDCmotorControl_R2017b:2530:140:135#out:1">
|
||||
<!--RAWSTRING-->
|
||||
<g data-tags="PathIntersectionsEnabledTag">
|
||||
<g clip-path="none" fill="#000000" fill-opacity="1" opacity="1" stroke="none" stroke-opacity="0" transform="matrix(1,0,0,1,175,115)">
|
||||
<path d="M0,0 L-8,-4 L-8,4 L0,0 z" fill-rule="nonzero" vector-effect="none"/>
|
||||
</g>
|
||||
<g clip-path="none" fill="none" opacity="1" stroke="#000000" stroke-linecap="butt" stroke-linejoin="miter" stroke-miterlimit="2" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,0,0)">
|
||||
<path d="M145,115 L167,115" fill-rule="evenodd" vector-effect="none"/>
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
<g id="BLDCmotorControl_R2017b:2530:140:137#out:1">
|
||||
<!--RAWSTRING-->
|
||||
<g data-tags="PathIntersectionsEnabledTag">
|
||||
<g clip-path="none" fill="#000000" fill-opacity="1" opacity="1" stroke="none" stroke-opacity="0" transform="matrix(1,0,0,1,115,115)">
|
||||
<path d="M0,0 L-8,-4 L-8,4 L0,0 z" fill-rule="nonzero" vector-effect="none"/>
|
||||
</g>
|
||||
<g clip-path="none" fill="none" opacity="1" stroke="#000000" stroke-linecap="butt" stroke-linejoin="miter" stroke-miterlimit="2" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,0,0)">
|
||||
<path d="M95,115 L100,115 L107,115" fill-rule="evenodd" vector-effect="none"/>
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
<g id="BLDCmotorControl_R2017b:2530:140:136#out:1">
|
||||
<!--RAWSTRING-->
|
||||
<g data-tags="PathIntersectionsEnabledTag">
|
||||
<g clip-path="none" fill="#000000" fill-opacity="1" opacity="1" stroke="none" stroke-opacity="0" transform="matrix(1,0,0,1,90,160)">
|
||||
<path d="M0,0 L-8,-4 L-8,4 L0,0 z" fill-rule="nonzero" vector-effect="none"/>
|
||||
</g>
|
||||
<g clip-path="none" fill="none" opacity="1" stroke="#000000" stroke-linecap="butt" stroke-linejoin="miter" stroke-miterlimit="2" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,0,0)">
|
||||
<path d="M115,40 L10,40 L10,160 L82,160" fill-rule="evenodd" vector-effect="none"/>
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
</g>
|
||||
</g>
|
||||
<!--generated on windows @ 2019-05-28 19:55:46 W. Europe Daylight Time-->
|
||||
</svg>
|
Before Width: | Height: | Size: 46 KiB |
@ -1,147 +0,0 @@
|
||||
[
|
||||
{
|
||||
"sid":"BLDCmotorControl_R2017b:2530:156",
|
||||
"className":"Simulink.Terminator",
|
||||
"icon":"WebViewIcon2",
|
||||
"name":"Terminator_1",
|
||||
"label":"Terminator_1",
|
||||
"parent":"BLDCmotorControl_R2017b:2530:154",
|
||||
"inspector":{
|
||||
"params":[
|
||||
],
|
||||
"values":[
|
||||
],
|
||||
"tabs":[
|
||||
],
|
||||
"tabs_idx":[
|
||||
]
|
||||
},
|
||||
"viewer":{
|
||||
"jshandler":"webview/handlers/ElementHandler"
|
||||
},
|
||||
"obj_viewer":[
|
||||
],
|
||||
"finder":{
|
||||
"blocktype":"Terminator",
|
||||
"masktype":""
|
||||
}
|
||||
},
|
||||
{
|
||||
"sid":"BLDCmotorControl_R2017b:2530:155",
|
||||
"className":"Simulink.Inport",
|
||||
"icon":"WebViewIcon2",
|
||||
"name":"n_mot",
|
||||
"label":"n_mot",
|
||||
"parent":"BLDCmotorControl_R2017b:2530:154",
|
||||
"inspector":{
|
||||
"params":[
|
||||
"Port",
|
||||
"IconDisplay",
|
||||
"OutMin",
|
||||
"OutMax",
|
||||
"OutDataTypeStr",
|
||||
"LockScale",
|
||||
"Unit",
|
||||
"PortDimensions",
|
||||
"VarSizeSig",
|
||||
"SampleTime",
|
||||
"SignalType",
|
||||
"BusOutputAsStruct",
|
||||
"InputConnect",
|
||||
"Interpolate",
|
||||
"LatchByDelayingOutsideSignal",
|
||||
"LatchInputForFeedbackSignals",
|
||||
"OutputFunctionCall"
|
||||
],
|
||||
"values":[
|
||||
"1",
|
||||
"Port number",
|
||||
"[]",
|
||||
"[]",
|
||||
"Inherit: auto",
|
||||
"off",
|
||||
"inherit",
|
||||
"-1",
|
||||
"Inherit",
|
||||
"-1",
|
||||
"auto",
|
||||
"off",
|
||||
"",
|
||||
"on",
|
||||
"off",
|
||||
"off",
|
||||
"off"
|
||||
],
|
||||
"tabs":[
|
||||
"Main",
|
||||
"Signal Attributes",
|
||||
"-Other"
|
||||
],
|
||||
"tabs_idx":[
|
||||
0,
|
||||
2,
|
||||
11
|
||||
]
|
||||
},
|
||||
"viewer":{
|
||||
"jshandler":"webview/handlers/ElementHandler"
|
||||
},
|
||||
"obj_viewer":[
|
||||
],
|
||||
"finder":{
|
||||
"blocktype":"Inport",
|
||||
"masktype":""
|
||||
}
|
||||
},
|
||||
{
|
||||
"sid":"BLDCmotorControl_R2017b:2530:155#out:1",
|
||||
"className":"Simulink.Line",
|
||||
"icon":"WebViewIcon4",
|
||||
"name":"n_mot",
|
||||
"label":"n_mot",
|
||||
"parent":"BLDCmotorControl_R2017b:2530:154",
|
||||
"inspector":{
|
||||
"params":[
|
||||
"SignalNameFromLabel",
|
||||
"MustResolveToSignal",
|
||||
"ShowPropagatedSignal",
|
||||
"DataLogging",
|
||||
"TestPoint",
|
||||
"SignalObjectPackage",
|
||||
"StorageClass",
|
||||
"Description",
|
||||
"documentLink"
|
||||
],
|
||||
"values":[
|
||||
"n_mot",
|
||||
"off",
|
||||
"off",
|
||||
"on",
|
||||
"off",
|
||||
"Simulink",
|
||||
"Auto",
|
||||
"",
|
||||
""
|
||||
],
|
||||
"tabs":[
|
||||
"Parameter Attributes",
|
||||
"Logging and Accessibility",
|
||||
"Code Generation",
|
||||
"Documentation"
|
||||
],
|
||||
"tabs_idx":[
|
||||
0,
|
||||
3,
|
||||
5,
|
||||
7
|
||||
]
|
||||
},
|
||||
"viewer":{
|
||||
"jshandler":"webview/handlers/ElementHandler"
|
||||
},
|
||||
"obj_viewer":[
|
||||
],
|
||||
"finder":[
|
||||
]
|
||||
}
|
||||
]
|
Before Width: | Height: | Size: 5.5 KiB |
@ -1,178 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" display="inline" height="43.000000px" preserveAspectRatio="xMinYMin meet" viewBox="19.00 46.00 122.00 43.00" width="122.000000px" x="0" y="0" zoomAndPan="disable">
|
||||
<g fill="none" stroke="black" stroke-width="1" fill-rule="evenodd" stroke-linecap="square" stroke-linejoin="bevel">
|
||||
<!--RAWSTRING-->
|
||||
<g id="background" pointer-events="none">
|
||||
<g clip-path="none" fill="#ffffff" fill-opacity="1" opacity="1" stroke="none" stroke-opacity="0" transform="matrix(1,0,0,1,0,0)">
|
||||
<path d="M20,47 L140,47 L140,88 L20,88 L20,47 z" fill-rule="evenodd" vector-effect="none"/>
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
<g id="BLDCmotorControl_R2017b:2530:154">
|
||||
<!--RAWSTRING-->
|
||||
<g data-tags="blk">
|
||||
<!--RAWSTRING-->
|
||||
<g id="BLDCmotorControl_R2017b:2530:156">
|
||||
<g clip-path="none" fill="#ffffff" fill-opacity="1" opacity="1" stroke="none" stroke-opacity="0" transform="matrix(1,0,0,1,130,60)">
|
||||
<path d="M0,0 L10,0 L10,10 L0,10 L0,0 z" fill-rule="evenodd" vector-effect="none"/>
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
<g data-tags="blk*">
|
||||
<defs>
|
||||
<clipPath id="clip2">
|
||||
<path d="M0,0 L10,0 L10,10 L0,10 L0,0 z"/>
|
||||
</clipPath>
|
||||
</defs>
|
||||
<g clip-path="url(#clip2)" fill="none" opacity="1" stroke="none" stroke-opacity="0" transform="matrix(1,0,0,1,130,60)">
|
||||
<path d="M0,0 L10,0 L10,10 L0,10 L0,0 z" fill-rule="evenodd" vector-effect="none"/>
|
||||
</g>
|
||||
<defs>
|
||||
<clipPath id="clip7">
|
||||
<path d="M1,1 L11,1 L11,11 L1,11 L1,1 z"/>
|
||||
</clipPath>
|
||||
</defs>
|
||||
<g clip-path="url(#clip7)" fill="none" opacity="1" stroke="#000000" stroke-linecap="round" stroke-linejoin="round" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,129,59)">
|
||||
<path d="M2.5,3.5 L7.5,3.5 L7.5,8.5 L2.5,8.5" fill-rule="nonzero" vector-effect="none"/>
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
<g data-tags="blk*">
|
||||
<g clip-path="none" fill="none" opacity="1" stroke="#000000" stroke-linecap="butt" stroke-linejoin="miter" stroke-miterlimit="2" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,130,60)">
|
||||
<path d="M-1,5 L6.45,5 L6.45,5" fill-rule="evenodd" vector-effect="none"/>
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
<g data-tags="blk">
|
||||
<!--RAWSTRING-->
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
<g data-tags="blk frame">
|
||||
<g clip-path="none" fill="none" opacity="1" stroke="none" stroke-opacity="0" transform="matrix(1,0,0,1,130,60)">
|
||||
<path d="M0,0 L10,0 L10,10 L0,10 L0,0 z" fill-rule="evenodd" vector-effect="none"/>
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
<g data-tags="blk">
|
||||
<!--RAWSTRING-->
|
||||
<g id="BLDCmotorControl_R2017b:2530:155">
|
||||
<g clip-path="none" fill="none" opacity="0.65098" stroke="#000000" stroke-linecap="square" stroke-linejoin="bevel" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,19,57)">
|
||||
<image height="22" preserveAspectRatio="none" width="38" x="0" xlink:href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACYAAAAWCAYAAACsR+4DAAAACXBIWXMAAA7EAAAOxAGVKw4bAAABo0lEQVRIie2WXU8CMRBFD+uCgqKJQsQXiYn//z/5hAZC+HLlYwUf5ja7WYbgCsQXJpkU2tI5vZ1OqQAvwD3QAtpq74A6UAMioEI52wBrYAl8AWNgAPTVDtU305wtiwXVAZ7kHeDWAfst3MYBmwBN4Eox0XgqX3tgLQE9A12BBcWqwEUJqDzcN7AiU+xG6yGYJTAHFvItsLbAusBrAexYigUwBDsHEuwoP3eBtYBHAXWAB6ChsbJKkdtEhKldJTu+GTCVj7BcqzprEGP5lPfGrsl/hKxqzVUhTpNMgC2LsOO6zLXuxAMt1vrFWDVMVRfsv23jdUZYgi5ybXqC4OEWFmMtcUpFAJsUPMHywd1JSdtorcSJM1W/K0SMVeKmPFzplOOXi3f5B/YCjMlEcMH6WEUON3HGaQrsO/AG9DAxRvvABmQ3cSWwYz9JY0ypXg5sorGdYEN9TrGKPOU0ioUHPDziE8Vzkz/Wj8LuEkzifKE9FCwk/lhr5xPfVQsFrGE5VhfMtdpj/u1JsDcx0fc5e25+CBhh6nh+qGKeu8d3trOdDfgBs5ixBRXsvc4AAAAASUVORK5CYII=" y="0"/>
|
||||
</g>
|
||||
<g clip-path="none" fill="#00d100" fill-opacity="1" opacity="1" stroke="none" stroke-opacity="0" transform="matrix(1,0,0,1,20,58)">
|
||||
<path d="M7,0 L23,0 C26.866,0 30,3.13401 30,7 C30,10.866 26.866,14 23,14 L7,14 C3.13401,14 0,10.866 0,7 C0,3.13401 3.13401,0 7,0 z" fill-rule="nonzero" vector-effect="none"/>
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
<g data-tags="blk">
|
||||
<defs>
|
||||
<clipPath id="clip19">
|
||||
<path d="M-15,-7 L15,-7 L15,7 L-15,7 L-15,-7 z"/>
|
||||
</clipPath>
|
||||
</defs>
|
||||
<g clip-path="url(#clip19)" fill="none" opacity="1" stroke="#000000" stroke-linecap="butt" stroke-linejoin="miter" stroke-miterlimit="2" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,35,65)">
|
||||
<text fill="#000000" fill-opacity="1" font-family="Arial" font-size="10" font-style="normal" font-weight="400" stroke="none" textLength="5.54688" x="-2.76562" xml:space="preserve" y="3.5">1</text>
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
<g data-tags="blk frame">
|
||||
<g clip-path="none" fill="none" opacity="1" stroke="#000000" stroke-linecap="butt" stroke-linejoin="miter" stroke-miterlimit="2" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,20,58)">
|
||||
<path d="M7,0 L23,0 C26.866,0 30,3.13401 30,7 C30,10.866 26.866,14 23,14 L7,14 C3.13401,14 0,10.866 0,7 C0,3.13401 3.13401,0 7,0 z" fill-rule="nonzero" vector-effect="none"/>
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
<g data-tags="blk BlockName">
|
||||
<g clip-path="none" fill="none" opacity="1" stroke="none" stroke-opacity="0" transform="matrix(1,0,0,1,35,74)">
|
||||
<path d="M-14.8672,0 L14.8672,0 L14.8672,14 L-14.8672,14 L-14.8672,0 z" fill-rule="evenodd" vector-effect="none"/>
|
||||
</g>
|
||||
<defs>
|
||||
<clipPath id="clip20">
|
||||
<path d="M-2.13281,-27 L121.867,-27 L121.867,14 L-2.13281,14 L-2.13281,-27 z"/>
|
||||
</clipPath>
|
||||
</defs>
|
||||
<g clip-path="url(#clip20)" fill="none" opacity="1" stroke="#000000" stroke-linecap="square" stroke-linejoin="bevel" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,20.1328,74)">
|
||||
<text fill="#000000" fill-opacity="1" font-family="Arial" font-size="10" font-style="normal" font-weight="400" stroke="none" textLength="27.7344" x="1" xml:space="preserve" y="10">n_mot</text>
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
<g data-tags="portannotationpanel PortDataTypeString">
|
||||
<g clip-path="none" fill="none" opacity="1" stroke="none" stroke-opacity="0" transform="matrix(1,0,0,1,70,63)">
|
||||
<path d="M0,-12 L21.4844,-12 L21.4844,0 L0,0 L0,-12 z" fill-rule="evenodd" vector-effect="none"/>
|
||||
</g>
|
||||
<defs>
|
||||
<clipPath id="clip21">
|
||||
<path d="M-52,-4 L72,-4 L72,37 L-52,37 L-52,-4 z"/>
|
||||
</clipPath>
|
||||
</defs>
|
||||
<g clip-path="url(#clip21)" fill="none" opacity="1" stroke="#000000" stroke-linecap="square" stroke-linejoin="bevel" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,70,51)">
|
||||
<text fill="#000000" fill-opacity="1" font-family="Arial" font-size="9" font-style="normal" font-weight="400" stroke="none" textLength="19.4844" x="1" xml:space="preserve" y="9">int32</text>
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
<g id="BLDCmotorControl_R2017b:2530:155#out:1">
|
||||
<!--RAWSTRING-->
|
||||
<g data-tags="PathIntersectionsEnabledTag">
|
||||
<g clip-path="none" fill="#000000" fill-opacity="1" opacity="1" stroke="none" stroke-opacity="0" transform="matrix(1,0,0,1,130,65)">
|
||||
<path d="M0,0 L-8,-4 L-8,4 L0,0 z" fill-rule="nonzero" vector-effect="none"/>
|
||||
</g>
|
||||
<g clip-path="none" fill="none" opacity="1" stroke="#000000" stroke-linecap="butt" stroke-linejoin="miter" stroke-miterlimit="2" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,0,0)">
|
||||
<path d="M50,65 L122,65" fill-rule="evenodd" vector-effect="none"/>
|
||||
</g>
|
||||
<g clip-path="none" fill="none" opacity="1" stroke="none" stroke-opacity="0" transform="matrix(1,0,0,1,85,66.5)">
|
||||
<path d="M-13.4922,0 L13.4922,0 L13.4922,12 L-13.4922,12 L-13.4922,0 z" fill-rule="evenodd" vector-effect="none"/>
|
||||
</g>
|
||||
<defs>
|
||||
<clipPath id="clip22">
|
||||
<path d="M-53.5078,-19.5 L70.4922,-19.5 L70.4922,21.5 L-53.5078,21.5 L-53.5078,-19.5 z"/>
|
||||
</clipPath>
|
||||
</defs>
|
||||
<g clip-path="url(#clip22)" fill="none" opacity="1" stroke="#000000" stroke-linecap="square" stroke-linejoin="bevel" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,71.5078,66.5)">
|
||||
<text fill="#000000" fill-opacity="1" font-family="Arial" font-size="9" font-style="normal" font-weight="400" stroke="none" textLength="24.9844" x="1" xml:space="preserve" y="9">n_mot</text>
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
<g data-tags="layout">
|
||||
<defs>
|
||||
<clipPath id="clip24">
|
||||
<path d="M0,-18 L18,-18 L18,0 L0,0 L0,-18 z"/>
|
||||
</clipPath>
|
||||
</defs>
|
||||
<g clip-path="url(#clip24)" fill="none" opacity="1" stroke="none" stroke-opacity="0" transform="matrix(1,0,0,1,50,65)">
|
||||
<path d="M0,-16 C0,-17.1046 0.895431,-18 2,-18 L16,-18 C17.1046,-18 18,-17.1046 18,-16 L18,-2 C18,-0.895431 17.1046,0 16,0 L2,0 C0.895431,0 0,-0.895431 0,-2 L0,-16 z" fill-rule="evenodd" vector-effect="none"/>
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
<g data-tags="SignalObserve tooltip contextMenu">
|
||||
<defs>
|
||||
<clipPath id="clip25">
|
||||
<path d="M-2,-2 L16,-2 L16,16 L-2,16 L-2,-2 z"/>
|
||||
</clipPath>
|
||||
</defs>
|
||||
<g clip-path="url(#clip25)" fill="none" opacity="0.4" stroke="none" stroke-opacity="0" transform="matrix(1,0,0,1,52,49)">
|
||||
<image height="16" preserveAspectRatio="none" width="16" x="-1" xlink:href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAACXBIWXMAAA7EAAAOxAGVKw4bAAABXUlEQVQ4jcWQv0sCYRzGnzsz2iIaHIyKREj6B4rmnFyiJGhwktxqkXAJHKK1oQguhLAxIoiiX7SEIA22SJtw1VBhQ3V473v33nu+b1Mi6IkU0Wf7fp+H5/sD+G+U5iKblepNX2GGcDdOmQhbzBmDZSuS2bq0bF0y63xwoOfobjfFWwIWdm4nCa/nKXNrhIk96vB7SqTuk4YQ1B2uEysMxhYFsycUx0k+XmQuGwEJrTTs1HmBcLF8sjJ93GnlkdjmFLi9D+lGn67WHhrCklbyd314/MDX9gcAENdK/e8GTX1YfN6gPCxNEzDNiiC1Q/WTaPp1xmj2q81FIl8MCs7LACJSIs0chJxeEZJAWpVKRPhRHoqtBztuN7dVHPfSRqMbntqPafnBN7PbxVilSnL09Q14eU7qZ6un7XxquyYASIEcgACAgFCQ8/J5BnSLZ4CiIgmgCqCqSiR/O+jv+ALWHqC6dVXKGAAAAABJRU5ErkJggg==" y="-1"/>
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
</g>
|
||||
</g>
|
||||
<!--generated on windows @ 2019-05-28 19:55:47 W. Europe Daylight Time-->
|
||||
</svg>
|
Before Width: | Height: | Size: 11 KiB |
@ -1,147 +0,0 @@
|
||||
[
|
||||
{
|
||||
"sid":"BLDCmotorControl_R2017b:2530:162",
|
||||
"className":"Simulink.Terminator",
|
||||
"icon":"WebViewIcon2",
|
||||
"name":"Terminator_1",
|
||||
"label":"Terminator_1",
|
||||
"parent":"BLDCmotorControl_R2017b:2530:160",
|
||||
"inspector":{
|
||||
"params":[
|
||||
],
|
||||
"values":[
|
||||
],
|
||||
"tabs":[
|
||||
],
|
||||
"tabs_idx":[
|
||||
]
|
||||
},
|
||||
"viewer":{
|
||||
"jshandler":"webview/handlers/ElementHandler"
|
||||
},
|
||||
"obj_viewer":[
|
||||
],
|
||||
"finder":{
|
||||
"blocktype":"Terminator",
|
||||
"masktype":""
|
||||
}
|
||||
},
|
||||
{
|
||||
"sid":"BLDCmotorControl_R2017b:2530:161",
|
||||
"className":"Simulink.Inport",
|
||||
"icon":"WebViewIcon2",
|
||||
"name":"b_cntEna",
|
||||
"label":"b_cntEna",
|
||||
"parent":"BLDCmotorControl_R2017b:2530:160",
|
||||
"inspector":{
|
||||
"params":[
|
||||
"Port",
|
||||
"IconDisplay",
|
||||
"OutMin",
|
||||
"OutMax",
|
||||
"OutDataTypeStr",
|
||||
"LockScale",
|
||||
"Unit",
|
||||
"PortDimensions",
|
||||
"VarSizeSig",
|
||||
"SampleTime",
|
||||
"SignalType",
|
||||
"BusOutputAsStruct",
|
||||
"InputConnect",
|
||||
"Interpolate",
|
||||
"LatchByDelayingOutsideSignal",
|
||||
"LatchInputForFeedbackSignals",
|
||||
"OutputFunctionCall"
|
||||
],
|
||||
"values":[
|
||||
"1",
|
||||
"Port number",
|
||||
"[]",
|
||||
"[]",
|
||||
"Inherit: auto",
|
||||
"off",
|
||||
"inherit",
|
||||
"-1",
|
||||
"Inherit",
|
||||
"-1",
|
||||
"auto",
|
||||
"off",
|
||||
"",
|
||||
"on",
|
||||
"off",
|
||||
"off",
|
||||
"off"
|
||||
],
|
||||
"tabs":[
|
||||
"Main",
|
||||
"Signal Attributes",
|
||||
"-Other"
|
||||
],
|
||||
"tabs_idx":[
|
||||
0,
|
||||
2,
|
||||
11
|
||||
]
|
||||
},
|
||||
"viewer":{
|
||||
"jshandler":"webview/handlers/ElementHandler"
|
||||
},
|
||||
"obj_viewer":[
|
||||
],
|
||||
"finder":{
|
||||
"blocktype":"Inport",
|
||||
"masktype":""
|
||||
}
|
||||
},
|
||||
{
|
||||
"sid":"BLDCmotorControl_R2017b:2530:161#out:1",
|
||||
"className":"Simulink.Line",
|
||||
"icon":"WebViewIcon4",
|
||||
"name":"b_cntEna",
|
||||
"label":"b_cntEna",
|
||||
"parent":"BLDCmotorControl_R2017b:2530:160",
|
||||
"inspector":{
|
||||
"params":[
|
||||
"SignalNameFromLabel",
|
||||
"MustResolveToSignal",
|
||||
"ShowPropagatedSignal",
|
||||
"DataLogging",
|
||||
"TestPoint",
|
||||
"SignalObjectPackage",
|
||||
"StorageClass",
|
||||
"Description",
|
||||
"documentLink"
|
||||
],
|
||||
"values":[
|
||||
"b_cntEna",
|
||||
"off",
|
||||
"off",
|
||||
"on",
|
||||
"off",
|
||||
"Simulink",
|
||||
"Auto",
|
||||
"",
|
||||
""
|
||||
],
|
||||
"tabs":[
|
||||
"Parameter Attributes",
|
||||
"Logging and Accessibility",
|
||||
"Code Generation",
|
||||
"Documentation"
|
||||
],
|
||||
"tabs_idx":[
|
||||
0,
|
||||
3,
|
||||
5,
|
||||
7
|
||||
]
|
||||
},
|
||||
"viewer":{
|
||||
"jshandler":"webview/handlers/ElementHandler"
|
||||
},
|
||||
"obj_viewer":[
|
||||
],
|
||||
"finder":[
|
||||
]
|
||||
}
|
||||
]
|
Before Width: | Height: | Size: 6.3 KiB |
@ -1,178 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" display="inline" height="43.000000px" preserveAspectRatio="xMinYMin meet" viewBox="11.92 46.00 129.08 43.00" width="129.078125px" x="0" y="0" zoomAndPan="disable">
|
||||
<g fill="none" stroke="black" stroke-width="1" fill-rule="evenodd" stroke-linecap="square" stroke-linejoin="bevel">
|
||||
<!--RAWSTRING-->
|
||||
<g id="background" pointer-events="none">
|
||||
<g clip-path="none" fill="#ffffff" fill-opacity="1" opacity="1" stroke="none" stroke-opacity="0" transform="matrix(1,0,0,1,0,0)">
|
||||
<path d="M12.9219,47 L140,47 L140,88 L12.9219,88 L12.9219,47 z" fill-rule="evenodd" vector-effect="none"/>
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
<g id="BLDCmotorControl_R2017b:2530:160">
|
||||
<!--RAWSTRING-->
|
||||
<g data-tags="blk">
|
||||
<!--RAWSTRING-->
|
||||
<g id="BLDCmotorControl_R2017b:2530:162">
|
||||
<g clip-path="none" fill="#ffffff" fill-opacity="1" opacity="1" stroke="none" stroke-opacity="0" transform="matrix(1,0,0,1,130,60)">
|
||||
<path d="M0,0 L10,0 L10,10 L0,10 L0,0 z" fill-rule="evenodd" vector-effect="none"/>
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
<g data-tags="blk*">
|
||||
<defs>
|
||||
<clipPath id="clip2">
|
||||
<path d="M0,0 L10,0 L10,10 L0,10 L0,0 z"/>
|
||||
</clipPath>
|
||||
</defs>
|
||||
<g clip-path="url(#clip2)" fill="none" opacity="1" stroke="none" stroke-opacity="0" transform="matrix(1,0,0,1,130,60)">
|
||||
<path d="M0,0 L10,0 L10,10 L0,10 L0,0 z" fill-rule="evenodd" vector-effect="none"/>
|
||||
</g>
|
||||
<defs>
|
||||
<clipPath id="clip7">
|
||||
<path d="M1,1 L11,1 L11,11 L1,11 L1,1 z"/>
|
||||
</clipPath>
|
||||
</defs>
|
||||
<g clip-path="url(#clip7)" fill="none" opacity="1" stroke="#000000" stroke-linecap="round" stroke-linejoin="round" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,129,59)">
|
||||
<path d="M2.5,3.5 L7.5,3.5 L7.5,8.5 L2.5,8.5" fill-rule="nonzero" vector-effect="none"/>
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
<g data-tags="blk*">
|
||||
<g clip-path="none" fill="none" opacity="1" stroke="#000000" stroke-linecap="butt" stroke-linejoin="miter" stroke-miterlimit="2" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,130,60)">
|
||||
<path d="M-1,5 L6.45,5 L6.45,5" fill-rule="evenodd" vector-effect="none"/>
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
<g data-tags="blk">
|
||||
<!--RAWSTRING-->
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
<g data-tags="blk frame">
|
||||
<g clip-path="none" fill="none" opacity="1" stroke="none" stroke-opacity="0" transform="matrix(1,0,0,1,130,60)">
|
||||
<path d="M0,0 L10,0 L10,10 L0,10 L0,0 z" fill-rule="evenodd" vector-effect="none"/>
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
<g data-tags="blk">
|
||||
<!--RAWSTRING-->
|
||||
<g id="BLDCmotorControl_R2017b:2530:161">
|
||||
<g clip-path="none" fill="none" opacity="0.65098" stroke="#000000" stroke-linecap="square" stroke-linejoin="bevel" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,19,57)">
|
||||
<image height="22" preserveAspectRatio="none" width="38" x="0" xlink:href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACYAAAAWCAYAAACsR+4DAAAACXBIWXMAAA7EAAAOxAGVKw4bAAABo0lEQVRIie2WXU8CMRBFD+uCgqKJQsQXiYn//z/5hAZC+HLlYwUf5ja7WYbgCsQXJpkU2tI5vZ1OqQAvwD3QAtpq74A6UAMioEI52wBrYAl8AWNgAPTVDtU305wtiwXVAZ7kHeDWAfst3MYBmwBN4Eox0XgqX3tgLQE9A12BBcWqwEUJqDzcN7AiU+xG6yGYJTAHFvItsLbAusBrAexYigUwBDsHEuwoP3eBtYBHAXWAB6ChsbJKkdtEhKldJTu+GTCVj7BcqzprEGP5lPfGrsl/hKxqzVUhTpNMgC2LsOO6zLXuxAMt1vrFWDVMVRfsv23jdUZYgi5ybXqC4OEWFmMtcUpFAJsUPMHywd1JSdtorcSJM1W/K0SMVeKmPFzplOOXi3f5B/YCjMlEcMH6WEUON3HGaQrsO/AG9DAxRvvABmQ3cSWwYz9JY0ypXg5sorGdYEN9TrGKPOU0ioUHPDziE8Vzkz/Wj8LuEkzifKE9FCwk/lhr5xPfVQsFrGE5VhfMtdpj/u1JsDcx0fc5e25+CBhh6nh+qGKeu8d3trOdDfgBs5ixBRXsvc4AAAAASUVORK5CYII=" y="0"/>
|
||||
</g>
|
||||
<g clip-path="none" fill="#00d100" fill-opacity="1" opacity="1" stroke="none" stroke-opacity="0" transform="matrix(1,0,0,1,20,58)">
|
||||
<path d="M7,0 L23,0 C26.866,0 30,3.13401 30,7 C30,10.866 26.866,14 23,14 L7,14 C3.13401,14 0,10.866 0,7 C0,3.13401 3.13401,0 7,0 z" fill-rule="nonzero" vector-effect="none"/>
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
<g data-tags="blk">
|
||||
<defs>
|
||||
<clipPath id="clip19">
|
||||
<path d="M-15,-7 L15,-7 L15,7 L-15,7 L-15,-7 z"/>
|
||||
</clipPath>
|
||||
</defs>
|
||||
<g clip-path="url(#clip19)" fill="none" opacity="1" stroke="#000000" stroke-linecap="butt" stroke-linejoin="miter" stroke-miterlimit="2" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,35,65)">
|
||||
<text fill="#000000" fill-opacity="1" font-family="Arial" font-size="10" font-style="normal" font-weight="400" stroke="none" textLength="5.54688" x="-2.76562" xml:space="preserve" y="3.5">1</text>
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
<g data-tags="blk frame">
|
||||
<g clip-path="none" fill="none" opacity="1" stroke="#000000" stroke-linecap="butt" stroke-linejoin="miter" stroke-miterlimit="2" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,20,58)">
|
||||
<path d="M7,0 L23,0 C26.866,0 30,3.13401 30,7 C30,10.866 26.866,14 23,14 L7,14 C3.13401,14 0,10.866 0,7 C0,3.13401 3.13401,0 7,0 z" fill-rule="nonzero" vector-effect="none"/>
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
<g data-tags="blk BlockName">
|
||||
<g clip-path="none" fill="none" opacity="1" stroke="none" stroke-opacity="0" transform="matrix(1,0,0,1,35,74)">
|
||||
<path d="M-22.0781,0 L22.0781,0 L22.0781,14 L-22.0781,14 L-22.0781,0 z" fill-rule="evenodd" vector-effect="none"/>
|
||||
</g>
|
||||
<defs>
|
||||
<clipPath id="clip20">
|
||||
<path d="M0,-27 L129.078,-27 L129.078,14 L0,14 L0,-27 z"/>
|
||||
</clipPath>
|
||||
</defs>
|
||||
<g clip-path="url(#clip20)" fill="none" opacity="1" stroke="#000000" stroke-linecap="square" stroke-linejoin="bevel" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,12.9219,74)">
|
||||
<text fill="#000000" fill-opacity="1" font-family="Arial" font-size="10" font-style="normal" font-weight="400" stroke="none" textLength="42.1562" x="1" xml:space="preserve" y="10">b_cntEna</text>
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
<g data-tags="portannotationpanel PortDataTypeString">
|
||||
<g clip-path="none" fill="none" opacity="1" stroke="none" stroke-opacity="0" transform="matrix(1,0,0,1,70,63)">
|
||||
<path d="M0,-12 L33.9844,-12 L33.9844,0 L0,0 L0,-12 z" fill-rule="evenodd" vector-effect="none"/>
|
||||
</g>
|
||||
<defs>
|
||||
<clipPath id="clip21">
|
||||
<path d="M-57.0781,-4 L72,-4 L72,37 L-57.0781,37 L-57.0781,-4 z"/>
|
||||
</clipPath>
|
||||
</defs>
|
||||
<g clip-path="url(#clip21)" fill="none" opacity="1" stroke="#000000" stroke-linecap="square" stroke-linejoin="bevel" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,70,51)">
|
||||
<text fill="#000000" fill-opacity="1" font-family="Arial" font-size="9" font-style="normal" font-weight="400" stroke="none" textLength="31.9844" x="1" xml:space="preserve" y="9">boolean</text>
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
<g id="BLDCmotorControl_R2017b:2530:161#out:1">
|
||||
<!--RAWSTRING-->
|
||||
<g data-tags="PathIntersectionsEnabledTag">
|
||||
<g clip-path="none" fill="#000000" fill-opacity="1" opacity="1" stroke="none" stroke-opacity="0" transform="matrix(1,0,0,1,130,65)">
|
||||
<path d="M0,0 L-8,-4 L-8,4 L0,0 z" fill-rule="nonzero" vector-effect="none"/>
|
||||
</g>
|
||||
<g clip-path="none" fill="none" opacity="1" stroke="#000000" stroke-linecap="butt" stroke-linejoin="miter" stroke-miterlimit="2" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,0,0)">
|
||||
<path d="M50,65 L122,65" fill-rule="evenodd" vector-effect="none"/>
|
||||
</g>
|
||||
<g clip-path="none" fill="none" opacity="1" stroke="none" stroke-opacity="0" transform="matrix(1,0,0,1,85,66.5)">
|
||||
<path d="M-20,0 L20,0 L20,12 L-20,12 L-20,0 z" fill-rule="evenodd" vector-effect="none"/>
|
||||
</g>
|
||||
<defs>
|
||||
<clipPath id="clip22">
|
||||
<path d="M-52.0781,-19.5 L77,-19.5 L77,21.5 L-52.0781,21.5 L-52.0781,-19.5 z"/>
|
||||
</clipPath>
|
||||
</defs>
|
||||
<g clip-path="url(#clip22)" fill="none" opacity="1" stroke="#000000" stroke-linecap="square" stroke-linejoin="bevel" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,65,66.5)">
|
||||
<text fill="#000000" fill-opacity="1" font-family="Arial" font-size="9" font-style="normal" font-weight="400" stroke="none" textLength="38" x="1" xml:space="preserve" y="9">b_cntEna</text>
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
<g data-tags="layout">
|
||||
<defs>
|
||||
<clipPath id="clip24">
|
||||
<path d="M0,-18 L18,-18 L18,0 L0,0 L0,-18 z"/>
|
||||
</clipPath>
|
||||
</defs>
|
||||
<g clip-path="url(#clip24)" fill="none" opacity="1" stroke="none" stroke-opacity="0" transform="matrix(1,0,0,1,50,65)">
|
||||
<path d="M0,-16 C0,-17.1046 0.895431,-18 2,-18 L16,-18 C17.1046,-18 18,-17.1046 18,-16 L18,-2 C18,-0.895431 17.1046,0 16,0 L2,0 C0.895431,0 0,-0.895431 0,-2 L0,-16 z" fill-rule="evenodd" vector-effect="none"/>
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
<g data-tags="SignalObserve tooltip contextMenu">
|
||||
<defs>
|
||||
<clipPath id="clip25">
|
||||
<path d="M-2,-2 L16,-2 L16,16 L-2,16 L-2,-2 z"/>
|
||||
</clipPath>
|
||||
</defs>
|
||||
<g clip-path="url(#clip25)" fill="none" opacity="0.4" stroke="none" stroke-opacity="0" transform="matrix(1,0,0,1,52,49)">
|
||||
<image height="16" preserveAspectRatio="none" width="16" x="-1" xlink:href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAACXBIWXMAAA7EAAAOxAGVKw4bAAABXUlEQVQ4jcWQv0sCYRzGnzsz2iIaHIyKREj6B4rmnFyiJGhwktxqkXAJHKK1oQguhLAxIoiiX7SEIA22SJtw1VBhQ3V473v33nu+b1Mi6IkU0Wf7fp+H5/sD+G+U5iKblepNX2GGcDdOmQhbzBmDZSuS2bq0bF0y63xwoOfobjfFWwIWdm4nCa/nKXNrhIk96vB7SqTuk4YQ1B2uEysMxhYFsycUx0k+XmQuGwEJrTTs1HmBcLF8sjJ93GnlkdjmFLi9D+lGn67WHhrCklbyd314/MDX9gcAENdK/e8GTX1YfN6gPCxNEzDNiiC1Q/WTaPp1xmj2q81FIl8MCs7LACJSIs0chJxeEZJAWpVKRPhRHoqtBztuN7dVHPfSRqMbntqPafnBN7PbxVilSnL09Q14eU7qZ6un7XxquyYASIEcgACAgFCQ8/J5BnSLZ4CiIgmgCqCqSiR/O+jv+ALWHqC6dVXKGAAAAABJRU5ErkJggg==" y="-1"/>
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
</g>
|
||||
</g>
|
||||
<!--generated on windows @ 2019-05-28 19:55:47 W. Europe Daylight Time-->
|
||||
</svg>
|
Before Width: | Height: | Size: 11 KiB |
@ -1,147 +0,0 @@
|
||||
[
|
||||
{
|
||||
"sid":"BLDCmotorControl_R2017b:2530:165",
|
||||
"className":"Simulink.Terminator",
|
||||
"icon":"WebViewIcon2",
|
||||
"name":"Terminator_1",
|
||||
"label":"Terminator_1",
|
||||
"parent":"BLDCmotorControl_R2017b:2530:163",
|
||||
"inspector":{
|
||||
"params":[
|
||||
],
|
||||
"values":[
|
||||
],
|
||||
"tabs":[
|
||||
],
|
||||
"tabs_idx":[
|
||||
]
|
||||
},
|
||||
"viewer":{
|
||||
"jshandler":"webview/handlers/ElementHandler"
|
||||
},
|
||||
"obj_viewer":[
|
||||
],
|
||||
"finder":{
|
||||
"blocktype":"Terminator",
|
||||
"masktype":""
|
||||
}
|
||||
},
|
||||
{
|
||||
"sid":"BLDCmotorControl_R2017b:2530:164",
|
||||
"className":"Simulink.Inport",
|
||||
"icon":"WebViewIcon2",
|
||||
"name":"z_counterRaw",
|
||||
"label":"z_counterRaw",
|
||||
"parent":"BLDCmotorControl_R2017b:2530:163",
|
||||
"inspector":{
|
||||
"params":[
|
||||
"Port",
|
||||
"IconDisplay",
|
||||
"OutMin",
|
||||
"OutMax",
|
||||
"OutDataTypeStr",
|
||||
"LockScale",
|
||||
"Unit",
|
||||
"PortDimensions",
|
||||
"VarSizeSig",
|
||||
"SampleTime",
|
||||
"SignalType",
|
||||
"BusOutputAsStruct",
|
||||
"InputConnect",
|
||||
"Interpolate",
|
||||
"LatchByDelayingOutsideSignal",
|
||||
"LatchInputForFeedbackSignals",
|
||||
"OutputFunctionCall"
|
||||
],
|
||||
"values":[
|
||||
"1",
|
||||
"Port number",
|
||||
"[]",
|
||||
"[]",
|
||||
"Inherit: auto",
|
||||
"off",
|
||||
"inherit",
|
||||
"-1",
|
||||
"Inherit",
|
||||
"-1",
|
||||
"auto",
|
||||
"off",
|
||||
"",
|
||||
"on",
|
||||
"off",
|
||||
"off",
|
||||
"off"
|
||||
],
|
||||
"tabs":[
|
||||
"Main",
|
||||
"Signal Attributes",
|
||||
"-Other"
|
||||
],
|
||||
"tabs_idx":[
|
||||
0,
|
||||
2,
|
||||
11
|
||||
]
|
||||
},
|
||||
"viewer":{
|
||||
"jshandler":"webview/handlers/ElementHandler"
|
||||
},
|
||||
"obj_viewer":[
|
||||
],
|
||||
"finder":{
|
||||
"blocktype":"Inport",
|
||||
"masktype":""
|
||||
}
|
||||
},
|
||||
{
|
||||
"sid":"BLDCmotorControl_R2017b:2530:164#out:1",
|
||||
"className":"Simulink.Line",
|
||||
"icon":"WebViewIcon4",
|
||||
"name":"z_counterRaw",
|
||||
"label":"z_counterRaw",
|
||||
"parent":"BLDCmotorControl_R2017b:2530:163",
|
||||
"inspector":{
|
||||
"params":[
|
||||
"SignalNameFromLabel",
|
||||
"MustResolveToSignal",
|
||||
"ShowPropagatedSignal",
|
||||
"DataLogging",
|
||||
"TestPoint",
|
||||
"SignalObjectPackage",
|
||||
"StorageClass",
|
||||
"Description",
|
||||
"documentLink"
|
||||
],
|
||||
"values":[
|
||||
"z_counterRaw",
|
||||
"off",
|
||||
"off",
|
||||
"on",
|
||||
"off",
|
||||
"Simulink",
|
||||
"Auto",
|
||||
"",
|
||||
""
|
||||
],
|
||||
"tabs":[
|
||||
"Parameter Attributes",
|
||||
"Logging and Accessibility",
|
||||
"Code Generation",
|
||||
"Documentation"
|
||||
],
|
||||
"tabs_idx":[
|
||||
0,
|
||||
3,
|
||||
5,
|
||||
7
|
||||
]
|
||||
},
|
||||
"viewer":{
|
||||
"jshandler":"webview/handlers/ElementHandler"
|
||||
},
|
||||
"obj_viewer":[
|
||||
],
|
||||
"finder":[
|
||||
]
|
||||
}
|
||||
]
|
Before Width: | Height: | Size: 6.7 KiB |
@ -1,178 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" display="inline" height="43.000000px" preserveAspectRatio="xMinYMin meet" viewBox="0.59 46.00 140.41 43.00" width="140.406250px" x="0" y="0" zoomAndPan="disable">
|
||||
<g fill="none" stroke="black" stroke-width="1" fill-rule="evenodd" stroke-linecap="square" stroke-linejoin="bevel">
|
||||
<!--RAWSTRING-->
|
||||
<g id="background" pointer-events="none">
|
||||
<g clip-path="none" fill="#ffffff" fill-opacity="1" opacity="1" stroke="none" stroke-opacity="0" transform="matrix(1,0,0,1,0,0)">
|
||||
<path d="M1.59375,47 L140,47 L140,88 L1.59375,88 L1.59375,47 z" fill-rule="evenodd" vector-effect="none"/>
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
<g id="BLDCmotorControl_R2017b:2530:163">
|
||||
<!--RAWSTRING-->
|
||||
<g data-tags="blk">
|
||||
<!--RAWSTRING-->
|
||||
<g id="BLDCmotorControl_R2017b:2530:165">
|
||||
<g clip-path="none" fill="#ffffff" fill-opacity="1" opacity="1" stroke="none" stroke-opacity="0" transform="matrix(1,0,0,1,130,60)">
|
||||
<path d="M0,0 L10,0 L10,10 L0,10 L0,0 z" fill-rule="evenodd" vector-effect="none"/>
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
<g data-tags="blk*">
|
||||
<defs>
|
||||
<clipPath id="clip2">
|
||||
<path d="M0,0 L10,0 L10,10 L0,10 L0,0 z"/>
|
||||
</clipPath>
|
||||
</defs>
|
||||
<g clip-path="url(#clip2)" fill="none" opacity="1" stroke="none" stroke-opacity="0" transform="matrix(1,0,0,1,130,60)">
|
||||
<path d="M0,0 L10,0 L10,10 L0,10 L0,0 z" fill-rule="evenodd" vector-effect="none"/>
|
||||
</g>
|
||||
<defs>
|
||||
<clipPath id="clip7">
|
||||
<path d="M1,1 L11,1 L11,11 L1,11 L1,1 z"/>
|
||||
</clipPath>
|
||||
</defs>
|
||||
<g clip-path="url(#clip7)" fill="none" opacity="1" stroke="#000000" stroke-linecap="round" stroke-linejoin="round" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,129,59)">
|
||||
<path d="M2.5,3.5 L7.5,3.5 L7.5,8.5 L2.5,8.5" fill-rule="nonzero" vector-effect="none"/>
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
<g data-tags="blk*">
|
||||
<g clip-path="none" fill="none" opacity="1" stroke="#000000" stroke-linecap="butt" stroke-linejoin="miter" stroke-miterlimit="2" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,130,60)">
|
||||
<path d="M-1,5 L6.45,5 L6.45,5" fill-rule="evenodd" vector-effect="none"/>
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
<g data-tags="blk">
|
||||
<!--RAWSTRING-->
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
<g data-tags="blk frame">
|
||||
<g clip-path="none" fill="none" opacity="1" stroke="none" stroke-opacity="0" transform="matrix(1,0,0,1,130,60)">
|
||||
<path d="M0,0 L10,0 L10,10 L0,10 L0,0 z" fill-rule="evenodd" vector-effect="none"/>
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
<g data-tags="blk">
|
||||
<!--RAWSTRING-->
|
||||
<g id="BLDCmotorControl_R2017b:2530:164">
|
||||
<g clip-path="none" fill="none" opacity="0.65098" stroke="#000000" stroke-linecap="square" stroke-linejoin="bevel" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,19,57)">
|
||||
<image height="22" preserveAspectRatio="none" width="38" x="0" xlink:href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACYAAAAWCAYAAACsR+4DAAAACXBIWXMAAA7EAAAOxAGVKw4bAAABo0lEQVRIie2WXU8CMRBFD+uCgqKJQsQXiYn//z/5hAZC+HLlYwUf5ja7WYbgCsQXJpkU2tI5vZ1OqQAvwD3QAtpq74A6UAMioEI52wBrYAl8AWNgAPTVDtU305wtiwXVAZ7kHeDWAfst3MYBmwBN4Eox0XgqX3tgLQE9A12BBcWqwEUJqDzcN7AiU+xG6yGYJTAHFvItsLbAusBrAexYigUwBDsHEuwoP3eBtYBHAXWAB6ChsbJKkdtEhKldJTu+GTCVj7BcqzprEGP5lPfGrsl/hKxqzVUhTpNMgC2LsOO6zLXuxAMt1vrFWDVMVRfsv23jdUZYgi5ybXqC4OEWFmMtcUpFAJsUPMHywd1JSdtorcSJM1W/K0SMVeKmPFzplOOXi3f5B/YCjMlEcMH6WEUON3HGaQrsO/AG9DAxRvvABmQ3cSWwYz9JY0ypXg5sorGdYEN9TrGKPOU0ioUHPDziE8Vzkz/Wj8LuEkzifKE9FCwk/lhr5xPfVQsFrGE5VhfMtdpj/u1JsDcx0fc5e25+CBhh6nh+qGKeu8d3trOdDfgBs5ixBRXsvc4AAAAASUVORK5CYII=" y="0"/>
|
||||
</g>
|
||||
<g clip-path="none" fill="#00d100" fill-opacity="1" opacity="1" stroke="none" stroke-opacity="0" transform="matrix(1,0,0,1,20,58)">
|
||||
<path d="M7,0 L23,0 C26.866,0 30,3.13401 30,7 C30,10.866 26.866,14 23,14 L7,14 C3.13401,14 0,10.866 0,7 C0,3.13401 3.13401,0 7,0 z" fill-rule="nonzero" vector-effect="none"/>
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
<g data-tags="blk">
|
||||
<defs>
|
||||
<clipPath id="clip19">
|
||||
<path d="M-15,-7 L15,-7 L15,7 L-15,7 L-15,-7 z"/>
|
||||
</clipPath>
|
||||
</defs>
|
||||
<g clip-path="url(#clip19)" fill="none" opacity="1" stroke="#000000" stroke-linecap="butt" stroke-linejoin="miter" stroke-miterlimit="2" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,35,65)">
|
||||
<text fill="#000000" fill-opacity="1" font-family="Arial" font-size="10" font-style="normal" font-weight="400" stroke="none" textLength="5.54688" x="-2.76562" xml:space="preserve" y="3.5">1</text>
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
<g data-tags="blk frame">
|
||||
<g clip-path="none" fill="none" opacity="1" stroke="#000000" stroke-linecap="butt" stroke-linejoin="miter" stroke-miterlimit="2" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,20,58)">
|
||||
<path d="M7,0 L23,0 C26.866,0 30,3.13401 30,7 C30,10.866 26.866,14 23,14 L7,14 C3.13401,14 0,10.866 0,7 C0,3.13401 3.13401,0 7,0 z" fill-rule="nonzero" vector-effect="none"/>
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
<g data-tags="blk BlockName">
|
||||
<g clip-path="none" fill="none" opacity="1" stroke="none" stroke-opacity="0" transform="matrix(1,0,0,1,35,74)">
|
||||
<path d="M-33.4062,0 L33.4062,0 L33.4062,14 L-33.4062,14 L-33.4062,0 z" fill-rule="evenodd" vector-effect="none"/>
|
||||
</g>
|
||||
<defs>
|
||||
<clipPath id="clip20">
|
||||
<path d="M0,-27 L140.406,-27 L140.406,14 L0,14 L0,-27 z"/>
|
||||
</clipPath>
|
||||
</defs>
|
||||
<g clip-path="url(#clip20)" fill="none" opacity="1" stroke="#000000" stroke-linecap="square" stroke-linejoin="bevel" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,1.59375,74)">
|
||||
<text fill="#000000" fill-opacity="1" font-family="Arial" font-size="10" font-style="normal" font-weight="400" stroke="none" textLength="63.8125" x="1.5" xml:space="preserve" y="10">z_counterRaw</text>
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
<g data-tags="portannotationpanel PortDataTypeString">
|
||||
<g clip-path="none" fill="none" opacity="1" stroke="none" stroke-opacity="0" transform="matrix(1,0,0,1,70,63)">
|
||||
<path d="M0,-12 L21.4844,-12 L21.4844,0 L0,0 L0,-12 z" fill-rule="evenodd" vector-effect="none"/>
|
||||
</g>
|
||||
<defs>
|
||||
<clipPath id="clip21">
|
||||
<path d="M-68.4062,-4 L72,-4 L72,37 L-68.4062,37 L-68.4062,-4 z"/>
|
||||
</clipPath>
|
||||
</defs>
|
||||
<g clip-path="url(#clip21)" fill="none" opacity="1" stroke="#000000" stroke-linecap="square" stroke-linejoin="bevel" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,70,51)">
|
||||
<text fill="#000000" fill-opacity="1" font-family="Arial" font-size="9" font-style="normal" font-weight="400" stroke="none" textLength="19.4844" x="1" xml:space="preserve" y="9">int16</text>
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
<g id="BLDCmotorControl_R2017b:2530:164#out:1">
|
||||
<!--RAWSTRING-->
|
||||
<g data-tags="PathIntersectionsEnabledTag">
|
||||
<g clip-path="none" fill="#000000" fill-opacity="1" opacity="1" stroke="none" stroke-opacity="0" transform="matrix(1,0,0,1,130,65)">
|
||||
<path d="M0,0 L-8,-4 L-8,4 L0,0 z" fill-rule="nonzero" vector-effect="none"/>
|
||||
</g>
|
||||
<g clip-path="none" fill="none" opacity="1" stroke="#000000" stroke-linecap="butt" stroke-linejoin="miter" stroke-miterlimit="2" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,0,0)">
|
||||
<path d="M50,65 L122,65" fill-rule="evenodd" vector-effect="none"/>
|
||||
</g>
|
||||
<g clip-path="none" fill="none" opacity="1" stroke="none" stroke-opacity="0" transform="matrix(1,0,0,1,85,66.5)">
|
||||
<path d="M-29.7266,0 L29.7266,0 L29.7266,12 L-29.7266,12 L-29.7266,0 z" fill-rule="evenodd" vector-effect="none"/>
|
||||
</g>
|
||||
<defs>
|
||||
<clipPath id="clip22">
|
||||
<path d="M-53.6797,-19.5 L86.7266,-19.5 L86.7266,21.5 L-53.6797,21.5 L-53.6797,-19.5 z"/>
|
||||
</clipPath>
|
||||
</defs>
|
||||
<g clip-path="url(#clip22)" fill="none" opacity="1" stroke="#000000" stroke-linecap="square" stroke-linejoin="bevel" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,55.2734,66.5)">
|
||||
<text fill="#000000" fill-opacity="1" font-family="Arial" font-size="9" font-style="normal" font-weight="400" stroke="none" textLength="57.4531" x="1" xml:space="preserve" y="9">z_counterRaw</text>
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
<g data-tags="layout">
|
||||
<defs>
|
||||
<clipPath id="clip24">
|
||||
<path d="M0,-18 L18,-18 L18,0 L0,0 L0,-18 z"/>
|
||||
</clipPath>
|
||||
</defs>
|
||||
<g clip-path="url(#clip24)" fill="none" opacity="1" stroke="none" stroke-opacity="0" transform="matrix(1,0,0,1,50,65)">
|
||||
<path d="M0,-16 C0,-17.1046 0.895431,-18 2,-18 L16,-18 C17.1046,-18 18,-17.1046 18,-16 L18,-2 C18,-0.895431 17.1046,0 16,0 L2,0 C0.895431,0 0,-0.895431 0,-2 L0,-16 z" fill-rule="evenodd" vector-effect="none"/>
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
<g data-tags="SignalObserve tooltip contextMenu">
|
||||
<defs>
|
||||
<clipPath id="clip25">
|
||||
<path d="M-2,-2 L16,-2 L16,16 L-2,16 L-2,-2 z"/>
|
||||
</clipPath>
|
||||
</defs>
|
||||
<g clip-path="url(#clip25)" fill="none" opacity="0.4" stroke="none" stroke-opacity="0" transform="matrix(1,0,0,1,52,49)">
|
||||
<image height="16" preserveAspectRatio="none" width="16" x="-1" xlink:href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAACXBIWXMAAA7EAAAOxAGVKw4bAAABXUlEQVQ4jcWQv0sCYRzGnzsz2iIaHIyKREj6B4rmnFyiJGhwktxqkXAJHKK1oQguhLAxIoiiX7SEIA22SJtw1VBhQ3V473v33nu+b1Mi6IkU0Wf7fp+H5/sD+G+U5iKblepNX2GGcDdOmQhbzBmDZSuS2bq0bF0y63xwoOfobjfFWwIWdm4nCa/nKXNrhIk96vB7SqTuk4YQ1B2uEysMxhYFsycUx0k+XmQuGwEJrTTs1HmBcLF8sjJ93GnlkdjmFLi9D+lGn67WHhrCklbyd314/MDX9gcAENdK/e8GTX1YfN6gPCxNEzDNiiC1Q/WTaPp1xmj2q81FIl8MCs7LACJSIs0chJxeEZJAWpVKRPhRHoqtBztuN7dVHPfSRqMbntqPafnBN7PbxVilSnL09Q14eU7qZ6un7XxquyYASIEcgACAgFCQ8/J5BnSLZ4CiIgmgCqCqSiR/O+jv+ALWHqC6dVXKGAAAAABJRU5ErkJggg==" y="-1"/>
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
</g>
|
||||
</g>
|
||||
<!--generated on windows @ 2019-05-28 19:55:47 W. Europe Daylight Time-->
|
||||
</svg>
|
Before Width: | Height: | Size: 11 KiB |
@ -1,147 +0,0 @@
|
||||
[
|
||||
{
|
||||
"sid":"BLDCmotorControl_R2017b:2530:21",
|
||||
"className":"Simulink.Terminator",
|
||||
"icon":"WebViewIcon2",
|
||||
"name":"Terminator_1",
|
||||
"label":"Terminator_1",
|
||||
"parent":"BLDCmotorControl_R2017b:2530:19",
|
||||
"inspector":{
|
||||
"params":[
|
||||
],
|
||||
"values":[
|
||||
],
|
||||
"tabs":[
|
||||
],
|
||||
"tabs_idx":[
|
||||
]
|
||||
},
|
||||
"viewer":{
|
||||
"jshandler":"webview/handlers/ElementHandler"
|
||||
},
|
||||
"obj_viewer":[
|
||||
],
|
||||
"finder":{
|
||||
"blocktype":"Terminator",
|
||||
"masktype":""
|
||||
}
|
||||
},
|
||||
{
|
||||
"sid":"BLDCmotorControl_R2017b:2530:20",
|
||||
"className":"Simulink.Inport",
|
||||
"icon":"WebViewIcon2",
|
||||
"name":"z_pos",
|
||||
"label":"z_pos",
|
||||
"parent":"BLDCmotorControl_R2017b:2530:19",
|
||||
"inspector":{
|
||||
"params":[
|
||||
"Port",
|
||||
"IconDisplay",
|
||||
"OutMin",
|
||||
"OutMax",
|
||||
"OutDataTypeStr",
|
||||
"LockScale",
|
||||
"Unit",
|
||||
"PortDimensions",
|
||||
"VarSizeSig",
|
||||
"SampleTime",
|
||||
"SignalType",
|
||||
"BusOutputAsStruct",
|
||||
"InputConnect",
|
||||
"Interpolate",
|
||||
"LatchByDelayingOutsideSignal",
|
||||
"LatchInputForFeedbackSignals",
|
||||
"OutputFunctionCall"
|
||||
],
|
||||
"values":[
|
||||
"1",
|
||||
"Port number",
|
||||
"[]",
|
||||
"[]",
|
||||
"Inherit: auto",
|
||||
"off",
|
||||
"inherit",
|
||||
"-1",
|
||||
"Inherit",
|
||||
"-1",
|
||||
"auto",
|
||||
"off",
|
||||
"",
|
||||
"on",
|
||||
"off",
|
||||
"off",
|
||||
"off"
|
||||
],
|
||||
"tabs":[
|
||||
"Main",
|
||||
"Signal Attributes",
|
||||
"-Other"
|
||||
],
|
||||
"tabs_idx":[
|
||||
0,
|
||||
2,
|
||||
11
|
||||
]
|
||||
},
|
||||
"viewer":{
|
||||
"jshandler":"webview/handlers/ElementHandler"
|
||||
},
|
||||
"obj_viewer":[
|
||||
],
|
||||
"finder":{
|
||||
"blocktype":"Inport",
|
||||
"masktype":""
|
||||
}
|
||||
},
|
||||
{
|
||||
"sid":"BLDCmotorControl_R2017b:2530:20#out:1",
|
||||
"className":"Simulink.Line",
|
||||
"icon":"WebViewIcon4",
|
||||
"name":"z_pos",
|
||||
"label":"z_pos",
|
||||
"parent":"BLDCmotorControl_R2017b:2530:19",
|
||||
"inspector":{
|
||||
"params":[
|
||||
"SignalNameFromLabel",
|
||||
"MustResolveToSignal",
|
||||
"ShowPropagatedSignal",
|
||||
"DataLogging",
|
||||
"TestPoint",
|
||||
"SignalObjectPackage",
|
||||
"StorageClass",
|
||||
"Description",
|
||||
"documentLink"
|
||||
],
|
||||
"values":[
|
||||
"z_pos",
|
||||
"off",
|
||||
"off",
|
||||
"on",
|
||||
"off",
|
||||
"Simulink",
|
||||
"Auto",
|
||||
"",
|
||||
""
|
||||
],
|
||||
"tabs":[
|
||||
"Parameter Attributes",
|
||||
"Logging and Accessibility",
|
||||
"Code Generation",
|
||||
"Documentation"
|
||||
],
|
||||
"tabs_idx":[
|
||||
0,
|
||||
3,
|
||||
5,
|
||||
7
|
||||
]
|
||||
},
|
||||
"viewer":{
|
||||
"jshandler":"webview/handlers/ElementHandler"
|
||||
},
|
||||
"obj_viewer":[
|
||||
],
|
||||
"finder":[
|
||||
]
|
||||
}
|
||||
]
|
Before Width: | Height: | Size: 5.8 KiB |
@ -1,178 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" display="inline" height="43.000000px" preserveAspectRatio="xMinYMin meet" viewBox="19.00 46.00 122.00 43.00" width="122.000000px" x="0" y="0" zoomAndPan="disable">
|
||||
<g fill="none" stroke="black" stroke-width="1" fill-rule="evenodd" stroke-linecap="square" stroke-linejoin="bevel">
|
||||
<!--RAWSTRING-->
|
||||
<g id="background" pointer-events="none">
|
||||
<g clip-path="none" fill="#ffffff" fill-opacity="1" opacity="1" stroke="none" stroke-opacity="0" transform="matrix(1,0,0,1,0,0)">
|
||||
<path d="M20,47 L140,47 L140,88 L20,88 L20,47 z" fill-rule="evenodd" vector-effect="none"/>
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
<g id="BLDCmotorControl_R2017b:2530:19">
|
||||
<!--RAWSTRING-->
|
||||
<g data-tags="blk">
|
||||
<!--RAWSTRING-->
|
||||
<g id="BLDCmotorControl_R2017b:2530:21">
|
||||
<g clip-path="none" fill="#ffffff" fill-opacity="1" opacity="1" stroke="none" stroke-opacity="0" transform="matrix(1,0,0,1,130,60)">
|
||||
<path d="M0,0 L10,0 L10,10 L0,10 L0,0 z" fill-rule="evenodd" vector-effect="none"/>
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
<g data-tags="blk*">
|
||||
<defs>
|
||||
<clipPath id="clip2">
|
||||
<path d="M0,0 L10,0 L10,10 L0,10 L0,0 z"/>
|
||||
</clipPath>
|
||||
</defs>
|
||||
<g clip-path="url(#clip2)" fill="none" opacity="1" stroke="none" stroke-opacity="0" transform="matrix(1,0,0,1,130,60)">
|
||||
<path d="M0,0 L10,0 L10,10 L0,10 L0,0 z" fill-rule="evenodd" vector-effect="none"/>
|
||||
</g>
|
||||
<defs>
|
||||
<clipPath id="clip7">
|
||||
<path d="M1,1 L11,1 L11,11 L1,11 L1,1 z"/>
|
||||
</clipPath>
|
||||
</defs>
|
||||
<g clip-path="url(#clip7)" fill="none" opacity="1" stroke="#000000" stroke-linecap="round" stroke-linejoin="round" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,129,59)">
|
||||
<path d="M2.5,3.5 L7.5,3.5 L7.5,8.5 L2.5,8.5" fill-rule="nonzero" vector-effect="none"/>
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
<g data-tags="blk*">
|
||||
<g clip-path="none" fill="none" opacity="1" stroke="#000000" stroke-linecap="butt" stroke-linejoin="miter" stroke-miterlimit="2" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,130,60)">
|
||||
<path d="M-1,5 L6.45,5 L6.45,5" fill-rule="evenodd" vector-effect="none"/>
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
<g data-tags="blk">
|
||||
<!--RAWSTRING-->
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
<g data-tags="blk frame">
|
||||
<g clip-path="none" fill="none" opacity="1" stroke="none" stroke-opacity="0" transform="matrix(1,0,0,1,130,60)">
|
||||
<path d="M0,0 L10,0 L10,10 L0,10 L0,0 z" fill-rule="evenodd" vector-effect="none"/>
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
<g data-tags="blk">
|
||||
<!--RAWSTRING-->
|
||||
<g id="BLDCmotorControl_R2017b:2530:20">
|
||||
<g clip-path="none" fill="none" opacity="0.65098" stroke="#000000" stroke-linecap="square" stroke-linejoin="bevel" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,19,57)">
|
||||
<image height="22" preserveAspectRatio="none" width="38" x="0" xlink:href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACYAAAAWCAYAAACsR+4DAAAACXBIWXMAAA7EAAAOxAGVKw4bAAABo0lEQVRIie2WXU8CMRBFD+uCgqKJQsQXiYn//z/5hAZC+HLlYwUf5ja7WYbgCsQXJpkU2tI5vZ1OqQAvwD3QAtpq74A6UAMioEI52wBrYAl8AWNgAPTVDtU305wtiwXVAZ7kHeDWAfst3MYBmwBN4Eox0XgqX3tgLQE9A12BBcWqwEUJqDzcN7AiU+xG6yGYJTAHFvItsLbAusBrAexYigUwBDsHEuwoP3eBtYBHAXWAB6ChsbJKkdtEhKldJTu+GTCVj7BcqzprEGP5lPfGrsl/hKxqzVUhTpNMgC2LsOO6zLXuxAMt1vrFWDVMVRfsv23jdUZYgi5ybXqC4OEWFmMtcUpFAJsUPMHywd1JSdtorcSJM1W/K0SMVeKmPFzplOOXi3f5B/YCjMlEcMH6WEUON3HGaQrsO/AG9DAxRvvABmQ3cSWwYz9JY0ypXg5sorGdYEN9TrGKPOU0ioUHPDziE8Vzkz/Wj8LuEkzifKE9FCwk/lhr5xPfVQsFrGE5VhfMtdpj/u1JsDcx0fc5e25+CBhh6nh+qGKeu8d3trOdDfgBs5ixBRXsvc4AAAAASUVORK5CYII=" y="0"/>
|
||||
</g>
|
||||
<g clip-path="none" fill="#00d100" fill-opacity="1" opacity="1" stroke="none" stroke-opacity="0" transform="matrix(1,0,0,1,20,58)">
|
||||
<path d="M7,0 L23,0 C26.866,0 30,3.13401 30,7 C30,10.866 26.866,14 23,14 L7,14 C3.13401,14 0,10.866 0,7 C0,3.13401 3.13401,0 7,0 z" fill-rule="nonzero" vector-effect="none"/>
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
<g data-tags="blk">
|
||||
<defs>
|
||||
<clipPath id="clip19">
|
||||
<path d="M-15,-7 L15,-7 L15,7 L-15,7 L-15,-7 z"/>
|
||||
</clipPath>
|
||||
</defs>
|
||||
<g clip-path="url(#clip19)" fill="none" opacity="1" stroke="#000000" stroke-linecap="butt" stroke-linejoin="miter" stroke-miterlimit="2" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,35,65)">
|
||||
<text fill="#000000" fill-opacity="1" font-family="Arial" font-size="10" font-style="normal" font-weight="400" stroke="none" textLength="5.54688" x="-2.76562" xml:space="preserve" y="3.5">1</text>
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
<g data-tags="blk frame">
|
||||
<g clip-path="none" fill="none" opacity="1" stroke="#000000" stroke-linecap="butt" stroke-linejoin="miter" stroke-miterlimit="2" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,20,58)">
|
||||
<path d="M7,0 L23,0 C26.866,0 30,3.13401 30,7 C30,10.866 26.866,14 23,14 L7,14 C3.13401,14 0,10.866 0,7 C0,3.13401 3.13401,0 7,0 z" fill-rule="nonzero" vector-effect="none"/>
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
<g data-tags="blk BlockName">
|
||||
<g clip-path="none" fill="none" opacity="1" stroke="none" stroke-opacity="0" transform="matrix(1,0,0,1,35,74)">
|
||||
<path d="M-14.3203,0 L14.3203,0 L14.3203,14 L-14.3203,14 L-14.3203,0 z" fill-rule="evenodd" vector-effect="none"/>
|
||||
</g>
|
||||
<defs>
|
||||
<clipPath id="clip20">
|
||||
<path d="M-2.67969,-27 L121.32,-27 L121.32,14 L-2.67969,14 L-2.67969,-27 z"/>
|
||||
</clipPath>
|
||||
</defs>
|
||||
<g clip-path="url(#clip20)" fill="none" opacity="1" stroke="#000000" stroke-linecap="square" stroke-linejoin="bevel" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,20.6797,74)">
|
||||
<text fill="#000000" fill-opacity="1" font-family="Arial" font-size="10" font-style="normal" font-weight="400" stroke="none" textLength="26.6406" x="1" xml:space="preserve" y="10">z_pos</text>
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
<g data-tags="portannotationpanel PortDataTypeString">
|
||||
<g clip-path="none" fill="none" opacity="1" stroke="none" stroke-opacity="0" transform="matrix(1,0,0,1,70,63)">
|
||||
<path d="M0,-12 L21.4844,-12 L21.4844,0 L0,0 L0,-12 z" fill-rule="evenodd" vector-effect="none"/>
|
||||
</g>
|
||||
<defs>
|
||||
<clipPath id="clip21">
|
||||
<path d="M-52,-4 L72,-4 L72,37 L-52,37 L-52,-4 z"/>
|
||||
</clipPath>
|
||||
</defs>
|
||||
<g clip-path="url(#clip21)" fill="none" opacity="1" stroke="#000000" stroke-linecap="square" stroke-linejoin="bevel" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,70,51)">
|
||||
<text fill="#000000" fill-opacity="1" font-family="Arial" font-size="9" font-style="normal" font-weight="400" stroke="none" textLength="19.4844" x="1" xml:space="preserve" y="9">uint8</text>
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
<g id="BLDCmotorControl_R2017b:2530:20#out:1">
|
||||
<!--RAWSTRING-->
|
||||
<g data-tags="PathIntersectionsEnabledTag">
|
||||
<g clip-path="none" fill="#000000" fill-opacity="1" opacity="1" stroke="none" stroke-opacity="0" transform="matrix(1,0,0,1,130,65)">
|
||||
<path d="M0,0 L-8,-4 L-8,4 L0,0 z" fill-rule="nonzero" vector-effect="none"/>
|
||||
</g>
|
||||
<g clip-path="none" fill="none" opacity="1" stroke="#000000" stroke-linecap="butt" stroke-linejoin="miter" stroke-miterlimit="2" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,0,0)">
|
||||
<path d="M50,65 L122,65" fill-rule="evenodd" vector-effect="none"/>
|
||||
</g>
|
||||
<g clip-path="none" fill="none" opacity="1" stroke="none" stroke-opacity="0" transform="matrix(1,0,0,1,85,66.5)">
|
||||
<path d="M-13,0 L13,0 L13,12 L-13,12 L-13,0 z" fill-rule="evenodd" vector-effect="none"/>
|
||||
</g>
|
||||
<defs>
|
||||
<clipPath id="clip22">
|
||||
<path d="M-54,-19.5 L70,-19.5 L70,21.5 L-54,21.5 L-54,-19.5 z"/>
|
||||
</clipPath>
|
||||
</defs>
|
||||
<g clip-path="url(#clip22)" fill="none" opacity="1" stroke="#000000" stroke-linecap="square" stroke-linejoin="bevel" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,72,66.5)">
|
||||
<text fill="#000000" fill-opacity="1" font-family="Arial" font-size="9" font-style="normal" font-weight="400" stroke="none" textLength="24" x="1" xml:space="preserve" y="9">z_pos</text>
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
<g data-tags="layout">
|
||||
<defs>
|
||||
<clipPath id="clip24">
|
||||
<path d="M0,-18 L18,-18 L18,0 L0,0 L0,-18 z"/>
|
||||
</clipPath>
|
||||
</defs>
|
||||
<g clip-path="url(#clip24)" fill="none" opacity="1" stroke="none" stroke-opacity="0" transform="matrix(1,0,0,1,50,65)">
|
||||
<path d="M0,-16 C0,-17.1046 0.895431,-18 2,-18 L16,-18 C17.1046,-18 18,-17.1046 18,-16 L18,-2 C18,-0.895431 17.1046,0 16,0 L2,0 C0.895431,0 0,-0.895431 0,-2 L0,-16 z" fill-rule="evenodd" vector-effect="none"/>
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
<g data-tags="SignalObserve tooltip contextMenu">
|
||||
<defs>
|
||||
<clipPath id="clip25">
|
||||
<path d="M-2,-2 L16,-2 L16,16 L-2,16 L-2,-2 z"/>
|
||||
</clipPath>
|
||||
</defs>
|
||||
<g clip-path="url(#clip25)" fill="none" opacity="0.4" stroke="none" stroke-opacity="0" transform="matrix(1,0,0,1,52,49)">
|
||||
<image height="16" preserveAspectRatio="none" width="16" x="-1" xlink:href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAACXBIWXMAAA7EAAAOxAGVKw4bAAABXUlEQVQ4jcWQv0sCYRzGnzsz2iIaHIyKREj6B4rmnFyiJGhwktxqkXAJHKK1oQguhLAxIoiiX7SEIA22SJtw1VBhQ3V473v33nu+b1Mi6IkU0Wf7fp+H5/sD+G+U5iKblepNX2GGcDdOmQhbzBmDZSuS2bq0bF0y63xwoOfobjfFWwIWdm4nCa/nKXNrhIk96vB7SqTuk4YQ1B2uEysMxhYFsycUx0k+XmQuGwEJrTTs1HmBcLF8sjJ93GnlkdjmFLi9D+lGn67WHhrCklbyd314/MDX9gcAENdK/e8GTX1YfN6gPCxNEzDNiiC1Q/WTaPp1xmj2q81FIl8MCs7LACJSIs0chJxeEZJAWpVKRPhRHoqtBztuN7dVHPfSRqMbntqPafnBN7PbxVilSnL09Q14eU7qZ6un7XxquyYASIEcgACAgFCQ8/J5BnSLZ4CiIgmgCqCqSiR/O+jv+ALWHqC6dVXKGAAAAABJRU5ErkJggg==" y="-1"/>
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
</g>
|
||||
</g>
|
||||
<!--generated on windows @ 2019-05-28 19:55:44 W. Europe Daylight Time-->
|
||||
</svg>
|
Before Width: | Height: | Size: 11 KiB |
Before Width: | Height: | Size: 9.8 KiB |
Before Width: | Height: | Size: 7.3 KiB |
@ -1,147 +0,0 @@
|
||||
[
|
||||
{
|
||||
"sid":"BLDCmotorControl_R2017b:2530:274",
|
||||
"className":"Simulink.Terminator",
|
||||
"icon":"WebViewIcon2",
|
||||
"name":"Terminator_1",
|
||||
"label":"Terminator_1",
|
||||
"parent":"BLDCmotorControl_R2017b:2530:272",
|
||||
"inspector":{
|
||||
"params":[
|
||||
],
|
||||
"values":[
|
||||
],
|
||||
"tabs":[
|
||||
],
|
||||
"tabs_idx":[
|
||||
]
|
||||
},
|
||||
"viewer":{
|
||||
"jshandler":"webview/handlers/ElementHandler"
|
||||
},
|
||||
"obj_viewer":[
|
||||
],
|
||||
"finder":{
|
||||
"blocktype":"Terminator",
|
||||
"masktype":""
|
||||
}
|
||||
},
|
||||
{
|
||||
"sid":"BLDCmotorControl_R2017b:2530:273",
|
||||
"className":"Simulink.Inport",
|
||||
"icon":"WebViewIcon2",
|
||||
"name":"a_elecAngleAdv",
|
||||
"label":"a_elecAngleAdv",
|
||||
"parent":"BLDCmotorControl_R2017b:2530:272",
|
||||
"inspector":{
|
||||
"params":[
|
||||
"Port",
|
||||
"IconDisplay",
|
||||
"OutMin",
|
||||
"OutMax",
|
||||
"OutDataTypeStr",
|
||||
"LockScale",
|
||||
"Unit",
|
||||
"PortDimensions",
|
||||
"VarSizeSig",
|
||||
"SampleTime",
|
||||
"SignalType",
|
||||
"BusOutputAsStruct",
|
||||
"InputConnect",
|
||||
"Interpolate",
|
||||
"LatchByDelayingOutsideSignal",
|
||||
"LatchInputForFeedbackSignals",
|
||||
"OutputFunctionCall"
|
||||
],
|
||||
"values":[
|
||||
"1",
|
||||
"Port number",
|
||||
"[]",
|
||||
"[]",
|
||||
"Inherit: auto",
|
||||
"off",
|
||||
"inherit",
|
||||
"-1",
|
||||
"Inherit",
|
||||
"-1",
|
||||
"auto",
|
||||
"off",
|
||||
"",
|
||||
"on",
|
||||
"off",
|
||||
"off",
|
||||
"off"
|
||||
],
|
||||
"tabs":[
|
||||
"Main",
|
||||
"Signal Attributes",
|
||||
"-Other"
|
||||
],
|
||||
"tabs_idx":[
|
||||
0,
|
||||
2,
|
||||
11
|
||||
]
|
||||
},
|
||||
"viewer":{
|
||||
"jshandler":"webview/handlers/ElementHandler"
|
||||
},
|
||||
"obj_viewer":[
|
||||
],
|
||||
"finder":{
|
||||
"blocktype":"Inport",
|
||||
"masktype":""
|
||||
}
|
||||
},
|
||||
{
|
||||
"sid":"BLDCmotorControl_R2017b:2530:273#out:1",
|
||||
"className":"Simulink.Line",
|
||||
"icon":"WebViewIcon4",
|
||||
"name":"a_elecAngleAdv",
|
||||
"label":"a_elecAngleAdv",
|
||||
"parent":"BLDCmotorControl_R2017b:2530:272",
|
||||
"inspector":{
|
||||
"params":[
|
||||
"SignalNameFromLabel",
|
||||
"MustResolveToSignal",
|
||||
"ShowPropagatedSignal",
|
||||
"DataLogging",
|
||||
"TestPoint",
|
||||
"SignalObjectPackage",
|
||||
"StorageClass",
|
||||
"Description",
|
||||
"documentLink"
|
||||
],
|
||||
"values":[
|
||||
"a_elecAngleAdv",
|
||||
"off",
|
||||
"off",
|
||||
"on",
|
||||
"off",
|
||||
"Simulink",
|
||||
"Auto",
|
||||
"",
|
||||
""
|
||||
],
|
||||
"tabs":[
|
||||
"Parameter Attributes",
|
||||
"Logging and Accessibility",
|
||||
"Code Generation",
|
||||
"Documentation"
|
||||
],
|
||||
"tabs_idx":[
|
||||
0,
|
||||
3,
|
||||
5,
|
||||
7
|
||||
]
|
||||
},
|
||||
"viewer":{
|
||||
"jshandler":"webview/handlers/ElementHandler"
|
||||
},
|
||||
"obj_viewer":[
|
||||
],
|
||||
"finder":[
|
||||
]
|
||||
}
|
||||
]
|
Before Width: | Height: | Size: 7.1 KiB |
@ -1,178 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" display="inline" height="43.000000px" preserveAspectRatio="xMinYMin meet" viewBox="-3.06 46.00 144.06 43.00" width="144.062500px" x="0" y="0" zoomAndPan="disable">
|
||||
<g fill="none" stroke="black" stroke-width="1" fill-rule="evenodd" stroke-linecap="square" stroke-linejoin="bevel">
|
||||
<!--RAWSTRING-->
|
||||
<g id="background" pointer-events="none">
|
||||
<g clip-path="none" fill="#ffffff" fill-opacity="1" opacity="1" stroke="none" stroke-opacity="0" transform="matrix(1,0,0,1,0,0)">
|
||||
<path d="M-2.0625,47 L140,47 L140,88 L-2.0625,88 L-2.0625,47 z" fill-rule="evenodd" vector-effect="none"/>
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
<g id="BLDCmotorControl_R2017b:2530:272">
|
||||
<!--RAWSTRING-->
|
||||
<g data-tags="blk">
|
||||
<!--RAWSTRING-->
|
||||
<g id="BLDCmotorControl_R2017b:2530:274">
|
||||
<g clip-path="none" fill="#ffffff" fill-opacity="1" opacity="1" stroke="none" stroke-opacity="0" transform="matrix(1,0,0,1,130,60)">
|
||||
<path d="M0,0 L10,0 L10,10 L0,10 L0,0 z" fill-rule="evenodd" vector-effect="none"/>
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
<g data-tags="blk*">
|
||||
<defs>
|
||||
<clipPath id="clip2">
|
||||
<path d="M0,0 L10,0 L10,10 L0,10 L0,0 z"/>
|
||||
</clipPath>
|
||||
</defs>
|
||||
<g clip-path="url(#clip2)" fill="none" opacity="1" stroke="none" stroke-opacity="0" transform="matrix(1,0,0,1,130,60)">
|
||||
<path d="M0,0 L10,0 L10,10 L0,10 L0,0 z" fill-rule="evenodd" vector-effect="none"/>
|
||||
</g>
|
||||
<defs>
|
||||
<clipPath id="clip7">
|
||||
<path d="M1,1 L11,1 L11,11 L1,11 L1,1 z"/>
|
||||
</clipPath>
|
||||
</defs>
|
||||
<g clip-path="url(#clip7)" fill="none" opacity="1" stroke="#000000" stroke-linecap="round" stroke-linejoin="round" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,129,59)">
|
||||
<path d="M2.5,3.5 L7.5,3.5 L7.5,8.5 L2.5,8.5" fill-rule="nonzero" vector-effect="none"/>
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
<g data-tags="blk*">
|
||||
<g clip-path="none" fill="none" opacity="1" stroke="#000000" stroke-linecap="butt" stroke-linejoin="miter" stroke-miterlimit="2" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,130,60)">
|
||||
<path d="M-1,5 L6.45,5 L6.45,5" fill-rule="evenodd" vector-effect="none"/>
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
<g data-tags="blk">
|
||||
<!--RAWSTRING-->
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
<g data-tags="blk frame">
|
||||
<g clip-path="none" fill="none" opacity="1" stroke="none" stroke-opacity="0" transform="matrix(1,0,0,1,130,60)">
|
||||
<path d="M0,0 L10,0 L10,10 L0,10 L0,0 z" fill-rule="evenodd" vector-effect="none"/>
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
<g data-tags="blk">
|
||||
<!--RAWSTRING-->
|
||||
<g id="BLDCmotorControl_R2017b:2530:273">
|
||||
<g clip-path="none" fill="none" opacity="0.65098" stroke="#000000" stroke-linecap="square" stroke-linejoin="bevel" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,19,57)">
|
||||
<image height="22" preserveAspectRatio="none" width="38" x="0" xlink:href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACYAAAAWCAYAAACsR+4DAAAACXBIWXMAAA7EAAAOxAGVKw4bAAABo0lEQVRIie2WXU8CMRBFD+uCgqKJQsQXiYn//z/5hAZC+HLlYwUf5ja7WYbgCsQXJpkU2tI5vZ1OqQAvwD3QAtpq74A6UAMioEI52wBrYAl8AWNgAPTVDtU305wtiwXVAZ7kHeDWAfst3MYBmwBN4Eox0XgqX3tgLQE9A12BBcWqwEUJqDzcN7AiU+xG6yGYJTAHFvItsLbAusBrAexYigUwBDsHEuwoP3eBtYBHAXWAB6ChsbJKkdtEhKldJTu+GTCVj7BcqzprEGP5lPfGrsl/hKxqzVUhTpNMgC2LsOO6zLXuxAMt1vrFWDVMVRfsv23jdUZYgi5ybXqC4OEWFmMtcUpFAJsUPMHywd1JSdtorcSJM1W/K0SMVeKmPFzplOOXi3f5B/YCjMlEcMH6WEUON3HGaQrsO/AG9DAxRvvABmQ3cSWwYz9JY0ypXg5sorGdYEN9TrGKPOU0ioUHPDziE8Vzkz/Wj8LuEkzifKE9FCwk/lhr5xPfVQsFrGE5VhfMtdpj/u1JsDcx0fc5e25+CBhh6nh+qGKeu8d3trOdDfgBs5ixBRXsvc4AAAAASUVORK5CYII=" y="0"/>
|
||||
</g>
|
||||
<g clip-path="none" fill="#00d100" fill-opacity="1" opacity="1" stroke="none" stroke-opacity="0" transform="matrix(1,0,0,1,20,58)">
|
||||
<path d="M7,0 L23,0 C26.866,0 30,3.13401 30,7 C30,10.866 26.866,14 23,14 L7,14 C3.13401,14 0,10.866 0,7 C0,3.13401 3.13401,0 7,0 z" fill-rule="nonzero" vector-effect="none"/>
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
<g data-tags="blk">
|
||||
<defs>
|
||||
<clipPath id="clip19">
|
||||
<path d="M-15,-7 L15,-7 L15,7 L-15,7 L-15,-7 z"/>
|
||||
</clipPath>
|
||||
</defs>
|
||||
<g clip-path="url(#clip19)" fill="none" opacity="1" stroke="#000000" stroke-linecap="butt" stroke-linejoin="miter" stroke-miterlimit="2" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,35,65)">
|
||||
<text fill="#000000" fill-opacity="1" font-family="Arial" font-size="10" font-style="normal" font-weight="400" stroke="none" textLength="5.54688" x="-2.76562" xml:space="preserve" y="3.5">1</text>
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
<g data-tags="blk frame">
|
||||
<g clip-path="none" fill="none" opacity="1" stroke="#000000" stroke-linecap="butt" stroke-linejoin="miter" stroke-miterlimit="2" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,20,58)">
|
||||
<path d="M7,0 L23,0 C26.866,0 30,3.13401 30,7 C30,10.866 26.866,14 23,14 L7,14 C3.13401,14 0,10.866 0,7 C0,3.13401 3.13401,0 7,0 z" fill-rule="nonzero" vector-effect="none"/>
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
<g data-tags="blk BlockName">
|
||||
<g clip-path="none" fill="none" opacity="1" stroke="none" stroke-opacity="0" transform="matrix(1,0,0,1,35,74)">
|
||||
<path d="M-37.0625,0 L37.0625,0 L37.0625,14 L-37.0625,14 L-37.0625,0 z" fill-rule="evenodd" vector-effect="none"/>
|
||||
</g>
|
||||
<defs>
|
||||
<clipPath id="clip20">
|
||||
<path d="M0,-27 L144.062,-27 L144.062,14 L0,14 L0,-27 z"/>
|
||||
</clipPath>
|
||||
</defs>
|
||||
<g clip-path="url(#clip20)" fill="none" opacity="1" stroke="#000000" stroke-linecap="square" stroke-linejoin="bevel" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,-2.0625,74)">
|
||||
<text fill="#000000" fill-opacity="1" font-family="Arial" font-size="10" font-style="normal" font-weight="400" stroke="none" textLength="72.125" x="1" xml:space="preserve" y="10">a_elecAngleAdv</text>
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
<g data-tags="portannotationpanel PortDataTypeString">
|
||||
<g clip-path="none" fill="none" opacity="1" stroke="none" stroke-opacity="0" transform="matrix(1,0,0,1,70,63)">
|
||||
<path d="M0,-12 L21.4844,-12 L21.4844,0 L0,0 L0,-12 z" fill-rule="evenodd" vector-effect="none"/>
|
||||
</g>
|
||||
<defs>
|
||||
<clipPath id="clip21">
|
||||
<path d="M-72.0625,-4 L72,-4 L72,37 L-72.0625,37 L-72.0625,-4 z"/>
|
||||
</clipPath>
|
||||
</defs>
|
||||
<g clip-path="url(#clip21)" fill="none" opacity="1" stroke="#000000" stroke-linecap="square" stroke-linejoin="bevel" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,70,51)">
|
||||
<text fill="#000000" fill-opacity="1" font-family="Arial" font-size="9" font-style="normal" font-weight="400" stroke="none" textLength="19.4844" x="1" xml:space="preserve" y="9">int32</text>
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
<g id="BLDCmotorControl_R2017b:2530:273#out:1">
|
||||
<!--RAWSTRING-->
|
||||
<g data-tags="PathIntersectionsEnabledTag">
|
||||
<g clip-path="none" fill="#000000" fill-opacity="1" opacity="1" stroke="none" stroke-opacity="0" transform="matrix(1,0,0,1,130,65)">
|
||||
<path d="M0,0 L-8,-4 L-8,4 L0,0 z" fill-rule="nonzero" vector-effect="none"/>
|
||||
</g>
|
||||
<g clip-path="none" fill="none" opacity="1" stroke="#000000" stroke-linecap="butt" stroke-linejoin="miter" stroke-miterlimit="2" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,0,0)">
|
||||
<path d="M50,65 L122,65" fill-rule="evenodd" vector-effect="none"/>
|
||||
</g>
|
||||
<g clip-path="none" fill="none" opacity="1" stroke="none" stroke-opacity="0" transform="matrix(1,0,0,1,85,66.5)">
|
||||
<path d="M-33.4844,0 L33.4844,0 L33.4844,12 L-33.4844,12 L-33.4844,0 z" fill-rule="evenodd" vector-effect="none"/>
|
||||
</g>
|
||||
<defs>
|
||||
<clipPath id="clip22">
|
||||
<path d="M-53.5781,-19.5 L90.4844,-19.5 L90.4844,21.5 L-53.5781,21.5 L-53.5781,-19.5 z"/>
|
||||
</clipPath>
|
||||
</defs>
|
||||
<g clip-path="url(#clip22)" fill="none" opacity="1" stroke="#000000" stroke-linecap="square" stroke-linejoin="bevel" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,51.5156,66.5)">
|
||||
<text fill="#000000" fill-opacity="1" font-family="Arial" font-size="9" font-style="normal" font-weight="400" stroke="none" textLength="64.9688" x="1" xml:space="preserve" y="9">a_elecAngleAdv</text>
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
<g data-tags="layout">
|
||||
<defs>
|
||||
<clipPath id="clip24">
|
||||
<path d="M0,-18 L18,-18 L18,0 L0,0 L0,-18 z"/>
|
||||
</clipPath>
|
||||
</defs>
|
||||
<g clip-path="url(#clip24)" fill="none" opacity="1" stroke="none" stroke-opacity="0" transform="matrix(1,0,0,1,50,65)">
|
||||
<path d="M0,-16 C0,-17.1046 0.895431,-18 2,-18 L16,-18 C17.1046,-18 18,-17.1046 18,-16 L18,-2 C18,-0.895431 17.1046,0 16,0 L2,0 C0.895431,0 0,-0.895431 0,-2 L0,-16 z" fill-rule="evenodd" vector-effect="none"/>
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
<g data-tags="SignalObserve tooltip contextMenu">
|
||||
<defs>
|
||||
<clipPath id="clip25">
|
||||
<path d="M-2,-2 L16,-2 L16,16 L-2,16 L-2,-2 z"/>
|
||||
</clipPath>
|
||||
</defs>
|
||||
<g clip-path="url(#clip25)" fill="none" opacity="0.4" stroke="none" stroke-opacity="0" transform="matrix(1,0,0,1,52,49)">
|
||||
<image height="16" preserveAspectRatio="none" width="16" x="-1" xlink:href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAACXBIWXMAAA7EAAAOxAGVKw4bAAABXUlEQVQ4jcWQv0sCYRzGnzsz2iIaHIyKREj6B4rmnFyiJGhwktxqkXAJHKK1oQguhLAxIoiiX7SEIA22SJtw1VBhQ3V473v33nu+b1Mi6IkU0Wf7fp+H5/sD+G+U5iKblepNX2GGcDdOmQhbzBmDZSuS2bq0bF0y63xwoOfobjfFWwIWdm4nCa/nKXNrhIk96vB7SqTuk4YQ1B2uEysMxhYFsycUx0k+XmQuGwEJrTTs1HmBcLF8sjJ93GnlkdjmFLi9D+lGn67WHhrCklbyd314/MDX9gcAENdK/e8GTX1YfN6gPCxNEzDNiiC1Q/WTaPp1xmj2q81FIl8MCs7LACJSIs0chJxeEZJAWpVKRPhRHoqtBztuN7dVHPfSRqMbntqPafnBN7PbxVilSnL09Q14eU7qZ6un7XxquyYASIEcgACAgFCQ8/J5BnSLZ4CiIgmgCqCqSiR/O+jv+ALWHqC6dVXKGAAAAABJRU5ErkJggg==" y="-1"/>
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
</g>
|
||||
</g>
|
||||
<!--generated on windows @ 2019-05-28 19:55:48 W. Europe Daylight Time-->
|
||||
</svg>
|
Before Width: | Height: | Size: 11 KiB |
@ -1,147 +0,0 @@
|
||||
[
|
||||
{
|
||||
"sid":"BLDCmotorControl_R2017b:2530:277",
|
||||
"className":"Simulink.Terminator",
|
||||
"icon":"WebViewIcon2",
|
||||
"name":"Terminator_1",
|
||||
"label":"Terminator_1",
|
||||
"parent":"BLDCmotorControl_R2017b:2530:275",
|
||||
"inspector":{
|
||||
"params":[
|
||||
],
|
||||
"values":[
|
||||
],
|
||||
"tabs":[
|
||||
],
|
||||
"tabs_idx":[
|
||||
]
|
||||
},
|
||||
"viewer":{
|
||||
"jshandler":"webview/handlers/ElementHandler"
|
||||
},
|
||||
"obj_viewer":[
|
||||
],
|
||||
"finder":{
|
||||
"blocktype":"Terminator",
|
||||
"masktype":""
|
||||
}
|
||||
},
|
||||
{
|
||||
"sid":"BLDCmotorControl_R2017b:2530:276",
|
||||
"className":"Simulink.Inport",
|
||||
"icon":"WebViewIcon2",
|
||||
"name":"a_elecAngle",
|
||||
"label":"a_elecAngle",
|
||||
"parent":"BLDCmotorControl_R2017b:2530:275",
|
||||
"inspector":{
|
||||
"params":[
|
||||
"Port",
|
||||
"IconDisplay",
|
||||
"OutMin",
|
||||
"OutMax",
|
||||
"OutDataTypeStr",
|
||||
"LockScale",
|
||||
"Unit",
|
||||
"PortDimensions",
|
||||
"VarSizeSig",
|
||||
"SampleTime",
|
||||
"SignalType",
|
||||
"BusOutputAsStruct",
|
||||
"InputConnect",
|
||||
"Interpolate",
|
||||
"LatchByDelayingOutsideSignal",
|
||||
"LatchInputForFeedbackSignals",
|
||||
"OutputFunctionCall"
|
||||
],
|
||||
"values":[
|
||||
"1",
|
||||
"Port number",
|
||||
"[]",
|
||||
"[]",
|
||||
"Inherit: auto",
|
||||
"off",
|
||||
"inherit",
|
||||
"-1",
|
||||
"Inherit",
|
||||
"-1",
|
||||
"auto",
|
||||
"off",
|
||||
"",
|
||||
"on",
|
||||
"off",
|
||||
"off",
|
||||
"off"
|
||||
],
|
||||
"tabs":[
|
||||
"Main",
|
||||
"Signal Attributes",
|
||||
"-Other"
|
||||
],
|
||||
"tabs_idx":[
|
||||
0,
|
||||
2,
|
||||
11
|
||||
]
|
||||
},
|
||||
"viewer":{
|
||||
"jshandler":"webview/handlers/ElementHandler"
|
||||
},
|
||||
"obj_viewer":[
|
||||
],
|
||||
"finder":{
|
||||
"blocktype":"Inport",
|
||||
"masktype":""
|
||||
}
|
||||
},
|
||||
{
|
||||
"sid":"BLDCmotorControl_R2017b:2530:276#out:1",
|
||||
"className":"Simulink.Line",
|
||||
"icon":"WebViewIcon4",
|
||||
"name":"a_elecAngle",
|
||||
"label":"a_elecAngle",
|
||||
"parent":"BLDCmotorControl_R2017b:2530:275",
|
||||
"inspector":{
|
||||
"params":[
|
||||
"SignalNameFromLabel",
|
||||
"MustResolveToSignal",
|
||||
"ShowPropagatedSignal",
|
||||
"DataLogging",
|
||||
"TestPoint",
|
||||
"SignalObjectPackage",
|
||||
"StorageClass",
|
||||
"Description",
|
||||
"documentLink"
|
||||
],
|
||||
"values":[
|
||||
"a_elecAngle",
|
||||
"off",
|
||||
"off",
|
||||
"on",
|
||||
"off",
|
||||
"Simulink",
|
||||
"Auto",
|
||||
"",
|
||||
""
|
||||
],
|
||||
"tabs":[
|
||||
"Parameter Attributes",
|
||||
"Logging and Accessibility",
|
||||
"Code Generation",
|
||||
"Documentation"
|
||||
],
|
||||
"tabs_idx":[
|
||||
0,
|
||||
3,
|
||||
5,
|
||||
7
|
||||
]
|
||||
},
|
||||
"viewer":{
|
||||
"jshandler":"webview/handlers/ElementHandler"
|
||||
},
|
||||
"obj_viewer":[
|
||||
],
|
||||
"finder":[
|
||||
]
|
||||
}
|
||||
]
|
Before Width: | Height: | Size: 6.4 KiB |
@ -1,178 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" display="inline" height="43.000000px" preserveAspectRatio="xMinYMin meet" viewBox="5.54 46.00 135.46 43.00" width="135.460938px" x="0" y="0" zoomAndPan="disable">
|
||||
<g fill="none" stroke="black" stroke-width="1" fill-rule="evenodd" stroke-linecap="square" stroke-linejoin="bevel">
|
||||
<!--RAWSTRING-->
|
||||
<g id="background" pointer-events="none">
|
||||
<g clip-path="none" fill="#ffffff" fill-opacity="1" opacity="1" stroke="none" stroke-opacity="0" transform="matrix(1,0,0,1,0,0)">
|
||||
<path d="M6.53906,47 L140,47 L140,88 L6.53906,88 L6.53906,47 z" fill-rule="evenodd" vector-effect="none"/>
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
<g id="BLDCmotorControl_R2017b:2530:275">
|
||||
<!--RAWSTRING-->
|
||||
<g data-tags="blk">
|
||||
<!--RAWSTRING-->
|
||||
<g id="BLDCmotorControl_R2017b:2530:277">
|
||||
<g clip-path="none" fill="#ffffff" fill-opacity="1" opacity="1" stroke="none" stroke-opacity="0" transform="matrix(1,0,0,1,130,60)">
|
||||
<path d="M0,0 L10,0 L10,10 L0,10 L0,0 z" fill-rule="evenodd" vector-effect="none"/>
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
<g data-tags="blk*">
|
||||
<defs>
|
||||
<clipPath id="clip2">
|
||||
<path d="M0,0 L10,0 L10,10 L0,10 L0,0 z"/>
|
||||
</clipPath>
|
||||
</defs>
|
||||
<g clip-path="url(#clip2)" fill="none" opacity="1" stroke="none" stroke-opacity="0" transform="matrix(1,0,0,1,130,60)">
|
||||
<path d="M0,0 L10,0 L10,10 L0,10 L0,0 z" fill-rule="evenodd" vector-effect="none"/>
|
||||
</g>
|
||||
<defs>
|
||||
<clipPath id="clip7">
|
||||
<path d="M1,1 L11,1 L11,11 L1,11 L1,1 z"/>
|
||||
</clipPath>
|
||||
</defs>
|
||||
<g clip-path="url(#clip7)" fill="none" opacity="1" stroke="#000000" stroke-linecap="round" stroke-linejoin="round" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,129,59)">
|
||||
<path d="M2.5,3.5 L7.5,3.5 L7.5,8.5 L2.5,8.5" fill-rule="nonzero" vector-effect="none"/>
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
<g data-tags="blk*">
|
||||
<g clip-path="none" fill="none" opacity="1" stroke="#000000" stroke-linecap="butt" stroke-linejoin="miter" stroke-miterlimit="2" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,130,60)">
|
||||
<path d="M-1,5 L6.45,5 L6.45,5" fill-rule="evenodd" vector-effect="none"/>
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
<g data-tags="blk">
|
||||
<!--RAWSTRING-->
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
<g data-tags="blk frame">
|
||||
<g clip-path="none" fill="none" opacity="1" stroke="none" stroke-opacity="0" transform="matrix(1,0,0,1,130,60)">
|
||||
<path d="M0,0 L10,0 L10,10 L0,10 L0,0 z" fill-rule="evenodd" vector-effect="none"/>
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
<g data-tags="blk">
|
||||
<!--RAWSTRING-->
|
||||
<g id="BLDCmotorControl_R2017b:2530:276">
|
||||
<g clip-path="none" fill="none" opacity="0.65098" stroke="#000000" stroke-linecap="square" stroke-linejoin="bevel" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,19,57)">
|
||||
<image height="22" preserveAspectRatio="none" width="38" x="0" xlink:href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACYAAAAWCAYAAACsR+4DAAAACXBIWXMAAA7EAAAOxAGVKw4bAAABo0lEQVRIie2WXU8CMRBFD+uCgqKJQsQXiYn//z/5hAZC+HLlYwUf5ja7WYbgCsQXJpkU2tI5vZ1OqQAvwD3QAtpq74A6UAMioEI52wBrYAl8AWNgAPTVDtU305wtiwXVAZ7kHeDWAfst3MYBmwBN4Eox0XgqX3tgLQE9A12BBcWqwEUJqDzcN7AiU+xG6yGYJTAHFvItsLbAusBrAexYigUwBDsHEuwoP3eBtYBHAXWAB6ChsbJKkdtEhKldJTu+GTCVj7BcqzprEGP5lPfGrsl/hKxqzVUhTpNMgC2LsOO6zLXuxAMt1vrFWDVMVRfsv23jdUZYgi5ybXqC4OEWFmMtcUpFAJsUPMHywd1JSdtorcSJM1W/K0SMVeKmPFzplOOXi3f5B/YCjMlEcMH6WEUON3HGaQrsO/AG9DAxRvvABmQ3cSWwYz9JY0ypXg5sorGdYEN9TrGKPOU0ioUHPDziE8Vzkz/Wj8LuEkzifKE9FCwk/lhr5xPfVQsFrGE5VhfMtdpj/u1JsDcx0fc5e25+CBhh6nh+qGKeu8d3trOdDfgBs5ixBRXsvc4AAAAASUVORK5CYII=" y="0"/>
|
||||
</g>
|
||||
<g clip-path="none" fill="#00d100" fill-opacity="1" opacity="1" stroke="none" stroke-opacity="0" transform="matrix(1,0,0,1,20,58)">
|
||||
<path d="M7,0 L23,0 C26.866,0 30,3.13401 30,7 C30,10.866 26.866,14 23,14 L7,14 C3.13401,14 0,10.866 0,7 C0,3.13401 3.13401,0 7,0 z" fill-rule="nonzero" vector-effect="none"/>
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
<g data-tags="blk">
|
||||
<defs>
|
||||
<clipPath id="clip19">
|
||||
<path d="M-15,-7 L15,-7 L15,7 L-15,7 L-15,-7 z"/>
|
||||
</clipPath>
|
||||
</defs>
|
||||
<g clip-path="url(#clip19)" fill="none" opacity="1" stroke="#000000" stroke-linecap="butt" stroke-linejoin="miter" stroke-miterlimit="2" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,35,65)">
|
||||
<text fill="#000000" fill-opacity="1" font-family="Arial" font-size="10" font-style="normal" font-weight="400" stroke="none" textLength="5.54688" x="-2.76562" xml:space="preserve" y="3.5">1</text>
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
<g data-tags="blk frame">
|
||||
<g clip-path="none" fill="none" opacity="1" stroke="#000000" stroke-linecap="butt" stroke-linejoin="miter" stroke-miterlimit="2" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,20,58)">
|
||||
<path d="M7,0 L23,0 C26.866,0 30,3.13401 30,7 C30,10.866 26.866,14 23,14 L7,14 C3.13401,14 0,10.866 0,7 C0,3.13401 3.13401,0 7,0 z" fill-rule="nonzero" vector-effect="none"/>
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
<g data-tags="blk BlockName">
|
||||
<g clip-path="none" fill="none" opacity="1" stroke="none" stroke-opacity="0" transform="matrix(1,0,0,1,35,74)">
|
||||
<path d="M-28.4609,0 L28.4609,0 L28.4609,14 L-28.4609,14 L-28.4609,0 z" fill-rule="evenodd" vector-effect="none"/>
|
||||
</g>
|
||||
<defs>
|
||||
<clipPath id="clip20">
|
||||
<path d="M0,-27 L135.461,-27 L135.461,14 L0,14 L0,-27 z"/>
|
||||
</clipPath>
|
||||
</defs>
|
||||
<g clip-path="url(#clip20)" fill="none" opacity="1" stroke="#000000" stroke-linecap="square" stroke-linejoin="bevel" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,6.53906,74)">
|
||||
<text fill="#000000" fill-opacity="1" font-family="Arial" font-size="10" font-style="normal" font-weight="400" stroke="none" textLength="54.9219" x="1" xml:space="preserve" y="10">a_elecAngle</text>
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
<g data-tags="portannotationpanel PortDataTypeString">
|
||||
<g clip-path="none" fill="none" opacity="1" stroke="none" stroke-opacity="0" transform="matrix(1,0,0,1,70,63)">
|
||||
<path d="M0,-12 L21.4844,-12 L21.4844,0 L0,0 L0,-12 z" fill-rule="evenodd" vector-effect="none"/>
|
||||
</g>
|
||||
<defs>
|
||||
<clipPath id="clip21">
|
||||
<path d="M-63.4609,-4 L72,-4 L72,37 L-63.4609,37 L-63.4609,-4 z"/>
|
||||
</clipPath>
|
||||
</defs>
|
||||
<g clip-path="url(#clip21)" fill="none" opacity="1" stroke="#000000" stroke-linecap="square" stroke-linejoin="bevel" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,70,51)">
|
||||
<text fill="#000000" fill-opacity="1" font-family="Arial" font-size="9" font-style="normal" font-weight="400" stroke="none" textLength="19.4844" x="1" xml:space="preserve" y="9">int32</text>
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
<g id="BLDCmotorControl_R2017b:2530:276#out:1">
|
||||
<!--RAWSTRING-->
|
||||
<g data-tags="PathIntersectionsEnabledTag">
|
||||
<g clip-path="none" fill="#000000" fill-opacity="1" opacity="1" stroke="none" stroke-opacity="0" transform="matrix(1,0,0,1,130,65)">
|
||||
<path d="M0,0 L-8,-4 L-8,4 L0,0 z" fill-rule="nonzero" vector-effect="none"/>
|
||||
</g>
|
||||
<g clip-path="none" fill="none" opacity="1" stroke="#000000" stroke-linecap="butt" stroke-linejoin="miter" stroke-miterlimit="2" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,0,0)">
|
||||
<path d="M50,65 L122,65" fill-rule="evenodd" vector-effect="none"/>
|
||||
</g>
|
||||
<g clip-path="none" fill="none" opacity="1" stroke="none" stroke-opacity="0" transform="matrix(1,0,0,1,85,66.5)">
|
||||
<path d="M-25.7344,0 L25.7344,0 L25.7344,12 L-25.7344,12 L-25.7344,0 z" fill-rule="evenodd" vector-effect="none"/>
|
||||
</g>
|
||||
<defs>
|
||||
<clipPath id="clip22">
|
||||
<path d="M-52.7266,-19.5 L82.7344,-19.5 L82.7344,21.5 L-52.7266,21.5 L-52.7266,-19.5 z"/>
|
||||
</clipPath>
|
||||
</defs>
|
||||
<g clip-path="url(#clip22)" fill="none" opacity="1" stroke="#000000" stroke-linecap="square" stroke-linejoin="bevel" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,59.2656,66.5)">
|
||||
<text fill="#000000" fill-opacity="1" font-family="Arial" font-size="9" font-style="normal" font-weight="400" stroke="none" textLength="49.4688" x="1" xml:space="preserve" y="9">a_elecAngle</text>
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
<g data-tags="layout">
|
||||
<defs>
|
||||
<clipPath id="clip24">
|
||||
<path d="M0,-18 L18,-18 L18,0 L0,0 L0,-18 z"/>
|
||||
</clipPath>
|
||||
</defs>
|
||||
<g clip-path="url(#clip24)" fill="none" opacity="1" stroke="none" stroke-opacity="0" transform="matrix(1,0,0,1,50,65)">
|
||||
<path d="M0,-16 C0,-17.1046 0.895431,-18 2,-18 L16,-18 C17.1046,-18 18,-17.1046 18,-16 L18,-2 C18,-0.895431 17.1046,0 16,0 L2,0 C0.895431,0 0,-0.895431 0,-2 L0,-16 z" fill-rule="evenodd" vector-effect="none"/>
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
<g data-tags="SignalObserve tooltip contextMenu">
|
||||
<defs>
|
||||
<clipPath id="clip25">
|
||||
<path d="M-2,-2 L16,-2 L16,16 L-2,16 L-2,-2 z"/>
|
||||
</clipPath>
|
||||
</defs>
|
||||
<g clip-path="url(#clip25)" fill="none" opacity="0.4" stroke="none" stroke-opacity="0" transform="matrix(1,0,0,1,52,49)">
|
||||
<image height="16" preserveAspectRatio="none" width="16" x="-1" xlink:href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAACXBIWXMAAA7EAAAOxAGVKw4bAAABXUlEQVQ4jcWQv0sCYRzGnzsz2iIaHIyKREj6B4rmnFyiJGhwktxqkXAJHKK1oQguhLAxIoiiX7SEIA22SJtw1VBhQ3V473v33nu+b1Mi6IkU0Wf7fp+H5/sD+G+U5iKblepNX2GGcDdOmQhbzBmDZSuS2bq0bF0y63xwoOfobjfFWwIWdm4nCa/nKXNrhIk96vB7SqTuk4YQ1B2uEysMxhYFsycUx0k+XmQuGwEJrTTs1HmBcLF8sjJ93GnlkdjmFLi9D+lGn67WHhrCklbyd314/MDX9gcAENdK/e8GTX1YfN6gPCxNEzDNiiC1Q/WTaPp1xmj2q81FIl8MCs7LACJSIs0chJxeEZJAWpVKRPhRHoqtBztuN7dVHPfSRqMbntqPafnBN7PbxVilSnL09Q14eU7qZ6un7XxquyYASIEcgACAgFCQ8/J5BnSLZ4CiIgmgCqCqSiR/O+jv+ALWHqC6dVXKGAAAAABJRU5ErkJggg==" y="-1"/>
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
</g>
|
||||
</g>
|
||||
<!--generated on windows @ 2019-05-28 19:55:48 W. Europe Daylight Time-->
|
||||
</svg>
|
Before Width: | Height: | Size: 11 KiB |
Before Width: | Height: | Size: 8.7 KiB |
@ -1,968 +0,0 @@
|
||||
[
|
||||
{
|
||||
"sid":"BLDCmotorControl_R2017b:2530:286",
|
||||
"className":"Simulink.Inport",
|
||||
"icon":"WebViewIcon2",
|
||||
"name":"a_elecAngleAdv",
|
||||
"label":"a_elecAngleAdv",
|
||||
"parent":"BLDCmotorControl_R2017b:2530:285",
|
||||
"inspector":{
|
||||
"params":[
|
||||
"Port",
|
||||
"IconDisplay",
|
||||
"OutMin",
|
||||
"OutMax",
|
||||
"OutDataTypeStr",
|
||||
"LockScale",
|
||||
"Unit",
|
||||
"PortDimensions",
|
||||
"VarSizeSig",
|
||||
"SampleTime",
|
||||
"SignalType",
|
||||
"BusOutputAsStruct",
|
||||
"InputConnect",
|
||||
"Interpolate",
|
||||
"LatchByDelayingOutsideSignal",
|
||||
"LatchInputForFeedbackSignals",
|
||||
"OutputFunctionCall"
|
||||
],
|
||||
"values":[
|
||||
"1",
|
||||
"Port number",
|
||||
"[]",
|
||||
"[]",
|
||||
"Inherit: auto",
|
||||
"off",
|
||||
"inherit",
|
||||
"-1",
|
||||
"Inherit",
|
||||
"-1",
|
||||
"auto",
|
||||
"off",
|
||||
"",
|
||||
"on",
|
||||
"off",
|
||||
"off",
|
||||
"off"
|
||||
],
|
||||
"tabs":[
|
||||
"Main",
|
||||
"Signal Attributes",
|
||||
"-Other"
|
||||
],
|
||||
"tabs_idx":[
|
||||
0,
|
||||
2,
|
||||
11
|
||||
]
|
||||
},
|
||||
"viewer":{
|
||||
"jshandler":"webview/handlers/ElementHandler"
|
||||
},
|
||||
"obj_viewer":[
|
||||
],
|
||||
"finder":{
|
||||
"blocktype":"Inport",
|
||||
"masktype":""
|
||||
}
|
||||
},
|
||||
{
|
||||
"sid":"BLDCmotorControl_R2017b:2530:292",
|
||||
"className":"Simulink.Outport",
|
||||
"icon":"WebViewIcon2",
|
||||
"name":"r_phaA_Trap",
|
||||
"label":"r_phaA_Trap",
|
||||
"parent":"BLDCmotorControl_R2017b:2530:285",
|
||||
"inspector":{
|
||||
"params":[
|
||||
"Port",
|
||||
"IconDisplay",
|
||||
"OutMin",
|
||||
"OutMax",
|
||||
"OutDataTypeStr",
|
||||
"LockScale",
|
||||
"Unit",
|
||||
"PortDimensions",
|
||||
"VarSizeSig",
|
||||
"SampleTime",
|
||||
"SignalType",
|
||||
"BusOutputAsStruct",
|
||||
"EnsureOutportIsVirtual",
|
||||
"InitialOutput",
|
||||
"MustResolveToSignalObject",
|
||||
"OutputWhenDisabled",
|
||||
"OutputWhenUnConnected",
|
||||
"OutputWhenUnconnectedValue",
|
||||
"SignalName",
|
||||
"SignalObject",
|
||||
"SourceOfInitialOutputValue",
|
||||
"StorageClass",
|
||||
"VectorParamsAs1DForOutWhenUnconnected"
|
||||
],
|
||||
"values":[
|
||||
"1",
|
||||
"Port number",
|
||||
"[]",
|
||||
"[]",
|
||||
"Inherit: auto",
|
||||
"off",
|
||||
"inherit",
|
||||
"-1",
|
||||
"Inherit",
|
||||
"-1",
|
||||
"auto",
|
||||
"off",
|
||||
"off",
|
||||
"[]",
|
||||
"off",
|
||||
"held",
|
||||
"off",
|
||||
"0",
|
||||
"",
|
||||
[
|
||||
],
|
||||
"Dialog",
|
||||
"Auto",
|
||||
"off"
|
||||
],
|
||||
"tabs":[
|
||||
"Main",
|
||||
"Signal Attributes",
|
||||
"-Other"
|
||||
],
|
||||
"tabs_idx":[
|
||||
0,
|
||||
2,
|
||||
11
|
||||
]
|
||||
},
|
||||
"viewer":{
|
||||
"jshandler":"webview/handlers/ElementHandler"
|
||||
},
|
||||
"obj_viewer":[
|
||||
],
|
||||
"finder":{
|
||||
"blocktype":"Outport",
|
||||
"masktype":""
|
||||
}
|
||||
},
|
||||
{
|
||||
"sid":"BLDCmotorControl_R2017b:2530:289",
|
||||
"className":"Simulink.Interpolation_nD",
|
||||
"icon":"WebViewIcon2",
|
||||
"name":"r_trapPhaA_M1",
|
||||
"label":"r_trapPhaA_M1",
|
||||
"parent":"BLDCmotorControl_R2017b:2530:285",
|
||||
"inspector":{
|
||||
"params":[
|
||||
"NumberOfTableDimensions",
|
||||
"RequireIndexFractionAsBus",
|
||||
"TableSpecification",
|
||||
"TableSource",
|
||||
"Table",
|
||||
"InterpMethod",
|
||||
"ExtrapMethod",
|
||||
"DiagnosticForOutOfRangeInput",
|
||||
"ValidIndexMayReachLast",
|
||||
"NumSelectionDims",
|
||||
"RemoveProtectionIndex",
|
||||
"TableMin",
|
||||
"TableMax",
|
||||
"OutMin",
|
||||
"OutMax",
|
||||
"InternalRulePriority",
|
||||
"LockScale",
|
||||
"RndMeth",
|
||||
"SaturateOnIntegerOverflow",
|
||||
"IntermediateResultsDataTypeStr",
|
||||
"LookupTableObject",
|
||||
"OutDataTypeStr",
|
||||
"SampleTime",
|
||||
"TableDataTypeStr"
|
||||
],
|
||||
"values":[
|
||||
"1",
|
||||
"off",
|
||||
"Explicit values",
|
||||
"Dialog",
|
||||
"r_trapPhaA_M1",
|
||||
"Linear",
|
||||
"Clip",
|
||||
"None",
|
||||
"off",
|
||||
"0",
|
||||
"on",
|
||||
"[]",
|
||||
"[]",
|
||||
"[]",
|
||||
"[]",
|
||||
"Speed",
|
||||
"off",
|
||||
"Simplest",
|
||||
"off",
|
||||
"Inherit: Same as output",
|
||||
"",
|
||||
"int16",
|
||||
"-1",
|
||||
"Inherit: Same as output"
|
||||
],
|
||||
"tabs":[
|
||||
"Main",
|
||||
"Data Types",
|
||||
"-Other"
|
||||
],
|
||||
"tabs_idx":[
|
||||
0,
|
||||
11,
|
||||
19
|
||||
]
|
||||
},
|
||||
"viewer":{
|
||||
"jshandler":"webview/handlers/ElementHandler"
|
||||
},
|
||||
"obj_viewer":[
|
||||
],
|
||||
"finder":{
|
||||
"blocktype":"Interpolation_n-D",
|
||||
"masktype":""
|
||||
}
|
||||
},
|
||||
{
|
||||
"sid":"BLDCmotorControl_R2017b:2530:290",
|
||||
"className":"Simulink.Interpolation_nD",
|
||||
"icon":"WebViewIcon2",
|
||||
"name":"r_trapPhaB_M1",
|
||||
"label":"r_trapPhaB_M1",
|
||||
"parent":"BLDCmotorControl_R2017b:2530:285",
|
||||
"inspector":{
|
||||
"params":[
|
||||
"NumberOfTableDimensions",
|
||||
"RequireIndexFractionAsBus",
|
||||
"TableSpecification",
|
||||
"TableSource",
|
||||
"Table",
|
||||
"InterpMethod",
|
||||
"ExtrapMethod",
|
||||
"DiagnosticForOutOfRangeInput",
|
||||
"ValidIndexMayReachLast",
|
||||
"NumSelectionDims",
|
||||
"RemoveProtectionIndex",
|
||||
"TableMin",
|
||||
"TableMax",
|
||||
"OutMin",
|
||||
"OutMax",
|
||||
"InternalRulePriority",
|
||||
"LockScale",
|
||||
"RndMeth",
|
||||
"SaturateOnIntegerOverflow",
|
||||
"IntermediateResultsDataTypeStr",
|
||||
"LookupTableObject",
|
||||
"OutDataTypeStr",
|
||||
"SampleTime",
|
||||
"TableDataTypeStr"
|
||||
],
|
||||
"values":[
|
||||
"1",
|
||||
"off",
|
||||
"Explicit values",
|
||||
"Dialog",
|
||||
"r_trapPhaB_M1",
|
||||
"Linear",
|
||||
"Clip",
|
||||
"None",
|
||||
"off",
|
||||
"0",
|
||||
"on",
|
||||
"[]",
|
||||
"[]",
|
||||
"[]",
|
||||
"[]",
|
||||
"Speed",
|
||||
"off",
|
||||
"Simplest",
|
||||
"off",
|
||||
"Inherit: Same as output",
|
||||
"",
|
||||
"int16",
|
||||
"-1",
|
||||
"Inherit: Same as output"
|
||||
],
|
||||
"tabs":[
|
||||
"Main",
|
||||
"Data Types",
|
||||
"-Other"
|
||||
],
|
||||
"tabs_idx":[
|
||||
0,
|
||||
11,
|
||||
19
|
||||
]
|
||||
},
|
||||
"viewer":{
|
||||
"jshandler":"webview/handlers/ElementHandler"
|
||||
},
|
||||
"obj_viewer":[
|
||||
],
|
||||
"finder":{
|
||||
"blocktype":"Interpolation_n-D",
|
||||
"masktype":""
|
||||
}
|
||||
},
|
||||
{
|
||||
"sid":"BLDCmotorControl_R2017b:2530:291",
|
||||
"className":"Simulink.Interpolation_nD",
|
||||
"icon":"WebViewIcon2",
|
||||
"name":"r_trapPhaC_M1",
|
||||
"label":"r_trapPhaC_M1",
|
||||
"parent":"BLDCmotorControl_R2017b:2530:285",
|
||||
"inspector":{
|
||||
"params":[
|
||||
"NumberOfTableDimensions",
|
||||
"RequireIndexFractionAsBus",
|
||||
"TableSpecification",
|
||||
"TableSource",
|
||||
"Table",
|
||||
"InterpMethod",
|
||||
"ExtrapMethod",
|
||||
"DiagnosticForOutOfRangeInput",
|
||||
"ValidIndexMayReachLast",
|
||||
"NumSelectionDims",
|
||||
"RemoveProtectionIndex",
|
||||
"TableMin",
|
||||
"TableMax",
|
||||
"OutMin",
|
||||
"OutMax",
|
||||
"InternalRulePriority",
|
||||
"LockScale",
|
||||
"RndMeth",
|
||||
"SaturateOnIntegerOverflow",
|
||||
"IntermediateResultsDataTypeStr",
|
||||
"LookupTableObject",
|
||||
"OutDataTypeStr",
|
||||
"SampleTime",
|
||||
"TableDataTypeStr"
|
||||
],
|
||||
"values":[
|
||||
"1",
|
||||
"off",
|
||||
"Explicit values",
|
||||
"Dialog",
|
||||
"r_trapPhaC_M1",
|
||||
"Linear",
|
||||
"Clip",
|
||||
"None",
|
||||
"off",
|
||||
"0",
|
||||
"on",
|
||||
"[]",
|
||||
"[]",
|
||||
"[]",
|
||||
"[]",
|
||||
"Speed",
|
||||
"off",
|
||||
"Simplest",
|
||||
"off",
|
||||
"Inherit: Same as output",
|
||||
"",
|
||||
"int16",
|
||||
"-1",
|
||||
"Inherit: Same as output"
|
||||
],
|
||||
"tabs":[
|
||||
"Main",
|
||||
"Data Types",
|
||||
"-Other"
|
||||
],
|
||||
"tabs_idx":[
|
||||
0,
|
||||
11,
|
||||
19
|
||||
]
|
||||
},
|
||||
"viewer":{
|
||||
"jshandler":"webview/handlers/ElementHandler"
|
||||
},
|
||||
"obj_viewer":[
|
||||
],
|
||||
"finder":{
|
||||
"blocktype":"Interpolation_n-D",
|
||||
"masktype":""
|
||||
}
|
||||
},
|
||||
{
|
||||
"sid":"BLDCmotorControl_R2017b:2530:293",
|
||||
"className":"Simulink.Outport",
|
||||
"icon":"WebViewIcon2",
|
||||
"name":"r_phaB_Trap",
|
||||
"label":"r_phaB_Trap",
|
||||
"parent":"BLDCmotorControl_R2017b:2530:285",
|
||||
"inspector":{
|
||||
"params":[
|
||||
"Port",
|
||||
"IconDisplay",
|
||||
"OutMin",
|
||||
"OutMax",
|
||||
"OutDataTypeStr",
|
||||
"LockScale",
|
||||
"Unit",
|
||||
"PortDimensions",
|
||||
"VarSizeSig",
|
||||
"SampleTime",
|
||||
"SignalType",
|
||||
"BusOutputAsStruct",
|
||||
"EnsureOutportIsVirtual",
|
||||
"InitialOutput",
|
||||
"MustResolveToSignalObject",
|
||||
"OutputWhenDisabled",
|
||||
"OutputWhenUnConnected",
|
||||
"OutputWhenUnconnectedValue",
|
||||
"SignalName",
|
||||
"SignalObject",
|
||||
"SourceOfInitialOutputValue",
|
||||
"StorageClass",
|
||||
"VectorParamsAs1DForOutWhenUnconnected"
|
||||
],
|
||||
"values":[
|
||||
"2",
|
||||
"Port number",
|
||||
"[]",
|
||||
"[]",
|
||||
"Inherit: auto",
|
||||
"off",
|
||||
"inherit",
|
||||
"-1",
|
||||
"Inherit",
|
||||
"-1",
|
||||
"auto",
|
||||
"off",
|
||||
"off",
|
||||
"[]",
|
||||
"off",
|
||||
"held",
|
||||
"off",
|
||||
"0",
|
||||
"",
|
||||
[
|
||||
],
|
||||
"Dialog",
|
||||
"Auto",
|
||||
"off"
|
||||
],
|
||||
"tabs":[
|
||||
"Main",
|
||||
"Signal Attributes",
|
||||
"-Other"
|
||||
],
|
||||
"tabs_idx":[
|
||||
0,
|
||||
2,
|
||||
11
|
||||
]
|
||||
},
|
||||
"viewer":{
|
||||
"jshandler":"webview/handlers/ElementHandler"
|
||||
},
|
||||
"obj_viewer":[
|
||||
],
|
||||
"finder":{
|
||||
"blocktype":"Outport",
|
||||
"masktype":""
|
||||
}
|
||||
},
|
||||
{
|
||||
"sid":"BLDCmotorControl_R2017b:2530:294",
|
||||
"className":"Simulink.Outport",
|
||||
"icon":"WebViewIcon2",
|
||||
"name":"r_phaC_Trap",
|
||||
"label":"r_phaC_Trap",
|
||||
"parent":"BLDCmotorControl_R2017b:2530:285",
|
||||
"inspector":{
|
||||
"params":[
|
||||
"Port",
|
||||
"IconDisplay",
|
||||
"OutMin",
|
||||
"OutMax",
|
||||
"OutDataTypeStr",
|
||||
"LockScale",
|
||||
"Unit",
|
||||
"PortDimensions",
|
||||
"VarSizeSig",
|
||||
"SampleTime",
|
||||
"SignalType",
|
||||
"BusOutputAsStruct",
|
||||
"EnsureOutportIsVirtual",
|
||||
"InitialOutput",
|
||||
"MustResolveToSignalObject",
|
||||
"OutputWhenDisabled",
|
||||
"OutputWhenUnConnected",
|
||||
"OutputWhenUnconnectedValue",
|
||||
"SignalName",
|
||||
"SignalObject",
|
||||
"SourceOfInitialOutputValue",
|
||||
"StorageClass",
|
||||
"VectorParamsAs1DForOutWhenUnconnected"
|
||||
],
|
||||
"values":[
|
||||
"3",
|
||||
"Port number",
|
||||
"[]",
|
||||
"[]",
|
||||
"Inherit: auto",
|
||||
"off",
|
||||
"inherit",
|
||||
"-1",
|
||||
"Inherit",
|
||||
"-1",
|
||||
"auto",
|
||||
"off",
|
||||
"off",
|
||||
"[]",
|
||||
"off",
|
||||
"held",
|
||||
"off",
|
||||
"0",
|
||||
"",
|
||||
[
|
||||
],
|
||||
"Dialog",
|
||||
"Auto",
|
||||
"off"
|
||||
],
|
||||
"tabs":[
|
||||
"Main",
|
||||
"Signal Attributes",
|
||||
"-Other"
|
||||
],
|
||||
"tabs_idx":[
|
||||
0,
|
||||
2,
|
||||
11
|
||||
]
|
||||
},
|
||||
"viewer":{
|
||||
"jshandler":"webview/handlers/ElementHandler"
|
||||
},
|
||||
"obj_viewer":[
|
||||
],
|
||||
"finder":{
|
||||
"blocktype":"Outport",
|
||||
"masktype":""
|
||||
}
|
||||
},
|
||||
{
|
||||
"sid":"BLDCmotorControl_R2017b:2530:288",
|
||||
"className":"Simulink.PreLookup",
|
||||
"icon":"WebViewIcon2",
|
||||
"name":"a_trapElecAngle_XA",
|
||||
"label":"a_trapElecAngle_XA",
|
||||
"parent":"BLDCmotorControl_R2017b:2530:285",
|
||||
"inspector":{
|
||||
"params":[
|
||||
"BreakpointsSpecification",
|
||||
"BreakpointsDataSource",
|
||||
"BreakpointsData",
|
||||
"OutputSelection",
|
||||
"IndexSearchMethod",
|
||||
"ExtrapMethod",
|
||||
"UseLastBreakpoint",
|
||||
"DiagnosticForOutOfRangeInput",
|
||||
"RemoveProtectionInput",
|
||||
"BreakpointMin",
|
||||
"BreakpointMax",
|
||||
"LockScale",
|
||||
"RndMeth",
|
||||
"BeginIndexSearchUsingPreviousIndexResult",
|
||||
"BreakpointDataTypeStr",
|
||||
"BreakpointObject",
|
||||
"BreakpointsFirstPoint",
|
||||
"BreakpointsNumPoints",
|
||||
"BreakpointsSpacing",
|
||||
"FractionDataTypeStr",
|
||||
"IndexDataTypeStr",
|
||||
"OutputBusDataTypeStr",
|
||||
"SampleTime"
|
||||
],
|
||||
"values":[
|
||||
"Explicit values",
|
||||
"Dialog",
|
||||
"a_trapElecAngle_XA",
|
||||
"Index and fraction",
|
||||
"Evenly spaced points",
|
||||
"Clip",
|
||||
"off",
|
||||
"None",
|
||||
"off",
|
||||
"[]",
|
||||
"[]",
|
||||
"off",
|
||||
"Simplest",
|
||||
"off",
|
||||
"Inherit: Same as input",
|
||||
"",
|
||||
"10",
|
||||
"11",
|
||||
"10",
|
||||
"Inherit: Inherit via internal rule",
|
||||
"uint8",
|
||||
"Inherit: auto",
|
||||
"-1"
|
||||
],
|
||||
"tabs":[
|
||||
"Main",
|
||||
"Data Types",
|
||||
"-Other"
|
||||
],
|
||||
"tabs_idx":[
|
||||
0,
|
||||
9,
|
||||
13
|
||||
]
|
||||
},
|
||||
"viewer":{
|
||||
"jshandler":"webview/handlers/ElementHandler"
|
||||
},
|
||||
"obj_viewer":[
|
||||
],
|
||||
"finder":{
|
||||
"blocktype":"PreLookup",
|
||||
"masktype":""
|
||||
}
|
||||
},
|
||||
{
|
||||
"sid":"BLDCmotorControl_R2017b:2530:287",
|
||||
"className":"Simulink.ActionPort",
|
||||
"icon":"WebViewIcon2",
|
||||
"name":"Action Port",
|
||||
"label":"Action Port",
|
||||
"parent":"BLDCmotorControl_R2017b:2530:285",
|
||||
"inspector":{
|
||||
"params":[
|
||||
"InitializeStates",
|
||||
"PropagateVarSize"
|
||||
],
|
||||
"values":[
|
||||
"reset",
|
||||
"Only when execution is resumed"
|
||||
],
|
||||
"tabs":[
|
||||
"Parameter Attributes"
|
||||
],
|
||||
"tabs_idx":0
|
||||
},
|
||||
"viewer":{
|
||||
"jshandler":"webview/handlers/ElementHandler"
|
||||
},
|
||||
"obj_viewer":[
|
||||
],
|
||||
"finder":{
|
||||
"blocktype":"ActionPort",
|
||||
"masktype":""
|
||||
}
|
||||
},
|
||||
{
|
||||
"sid":"BLDCmotorControl_R2017b:2530:286#out:1",
|
||||
"className":"Simulink.Line",
|
||||
"icon":"WebViewIcon4",
|
||||
"name":"",
|
||||
"label":"",
|
||||
"parent":"BLDCmotorControl_R2017b:2530:285",
|
||||
"inspector":{
|
||||
"params":[
|
||||
"SignalNameFromLabel",
|
||||
"MustResolveToSignal",
|
||||
"ShowPropagatedSignal",
|
||||
"DataLogging",
|
||||
"TestPoint",
|
||||
"SignalObjectPackage",
|
||||
"StorageClass",
|
||||
"Description",
|
||||
"documentLink"
|
||||
],
|
||||
"values":[
|
||||
"",
|
||||
"off",
|
||||
"off",
|
||||
"off",
|
||||
"off",
|
||||
"Simulink",
|
||||
"Auto",
|
||||
"",
|
||||
""
|
||||
],
|
||||
"tabs":[
|
||||
"Parameter Attributes",
|
||||
"Logging and Accessibility",
|
||||
"Code Generation",
|
||||
"Documentation"
|
||||
],
|
||||
"tabs_idx":[
|
||||
0,
|
||||
3,
|
||||
5,
|
||||
7
|
||||
]
|
||||
},
|
||||
"viewer":{
|
||||
"jshandler":"webview/handlers/ElementHandler"
|
||||
},
|
||||
"obj_viewer":[
|
||||
],
|
||||
"finder":[
|
||||
]
|
||||
},
|
||||
{
|
||||
"sid":"BLDCmotorControl_R2017b:2530:291#out:1",
|
||||
"className":"Simulink.Line",
|
||||
"icon":"WebViewIcon4",
|
||||
"name":"",
|
||||
"label":"",
|
||||
"parent":"BLDCmotorControl_R2017b:2530:285",
|
||||
"inspector":{
|
||||
"params":[
|
||||
"SignalNameFromLabel",
|
||||
"MustResolveToSignal",
|
||||
"ShowPropagatedSignal",
|
||||
"DataLogging",
|
||||
"TestPoint",
|
||||
"SignalObjectPackage",
|
||||
"StorageClass",
|
||||
"Description",
|
||||
"documentLink"
|
||||
],
|
||||
"values":[
|
||||
"",
|
||||
"off",
|
||||
"off",
|
||||
"off",
|
||||
"off",
|
||||
"Simulink",
|
||||
"Auto",
|
||||
"",
|
||||
""
|
||||
],
|
||||
"tabs":[
|
||||
"Parameter Attributes",
|
||||
"Logging and Accessibility",
|
||||
"Code Generation",
|
||||
"Documentation"
|
||||
],
|
||||
"tabs_idx":[
|
||||
0,
|
||||
3,
|
||||
5,
|
||||
7
|
||||
]
|
||||
},
|
||||
"viewer":{
|
||||
"jshandler":"webview/handlers/ElementHandler"
|
||||
},
|
||||
"obj_viewer":[
|
||||
],
|
||||
"finder":[
|
||||
]
|
||||
},
|
||||
{
|
||||
"sid":"BLDCmotorControl_R2017b:2530:290#out:1",
|
||||
"className":"Simulink.Line",
|
||||
"icon":"WebViewIcon4",
|
||||
"name":"",
|
||||
"label":"",
|
||||
"parent":"BLDCmotorControl_R2017b:2530:285",
|
||||
"inspector":{
|
||||
"params":[
|
||||
"SignalNameFromLabel",
|
||||
"MustResolveToSignal",
|
||||
"ShowPropagatedSignal",
|
||||
"DataLogging",
|
||||
"TestPoint",
|
||||
"SignalObjectPackage",
|
||||
"StorageClass",
|
||||
"Description",
|
||||
"documentLink"
|
||||
],
|
||||
"values":[
|
||||
"",
|
||||
"off",
|
||||
"off",
|
||||
"off",
|
||||
"off",
|
||||
"Simulink",
|
||||
"Auto",
|
||||
"",
|
||||
""
|
||||
],
|
||||
"tabs":[
|
||||
"Parameter Attributes",
|
||||
"Logging and Accessibility",
|
||||
"Code Generation",
|
||||
"Documentation"
|
||||
],
|
||||
"tabs_idx":[
|
||||
0,
|
||||
3,
|
||||
5,
|
||||
7
|
||||
]
|
||||
},
|
||||
"viewer":{
|
||||
"jshandler":"webview/handlers/ElementHandler"
|
||||
},
|
||||
"obj_viewer":[
|
||||
],
|
||||
"finder":[
|
||||
]
|
||||
},
|
||||
{
|
||||
"sid":"BLDCmotorControl_R2017b:2530:289#out:1",
|
||||
"className":"Simulink.Line",
|
||||
"icon":"WebViewIcon4",
|
||||
"name":"",
|
||||
"label":"",
|
||||
"parent":"BLDCmotorControl_R2017b:2530:285",
|
||||
"inspector":{
|
||||
"params":[
|
||||
"SignalNameFromLabel",
|
||||
"MustResolveToSignal",
|
||||
"ShowPropagatedSignal",
|
||||
"DataLogging",
|
||||
"TestPoint",
|
||||
"SignalObjectPackage",
|
||||
"StorageClass",
|
||||
"Description",
|
||||
"documentLink"
|
||||
],
|
||||
"values":[
|
||||
"",
|
||||
"off",
|
||||
"off",
|
||||
"off",
|
||||
"off",
|
||||
"Simulink",
|
||||
"Auto",
|
||||
"",
|
||||
""
|
||||
],
|
||||
"tabs":[
|
||||
"Parameter Attributes",
|
||||
"Logging and Accessibility",
|
||||
"Code Generation",
|
||||
"Documentation"
|
||||
],
|
||||
"tabs_idx":[
|
||||
0,
|
||||
3,
|
||||
5,
|
||||
7
|
||||
]
|
||||
},
|
||||
"viewer":{
|
||||
"jshandler":"webview/handlers/ElementHandler"
|
||||
},
|
||||
"obj_viewer":[
|
||||
],
|
||||
"finder":[
|
||||
]
|
||||
},
|
||||
{
|
||||
"sid":"BLDCmotorControl_R2017b:2530:288#out:2",
|
||||
"className":"Simulink.Line",
|
||||
"icon":"WebViewIcon4",
|
||||
"name":"",
|
||||
"label":"",
|
||||
"parent":"BLDCmotorControl_R2017b:2530:285",
|
||||
"inspector":{
|
||||
"params":[
|
||||
"SignalNameFromLabel",
|
||||
"MustResolveToSignal",
|
||||
"ShowPropagatedSignal",
|
||||
"DataLogging",
|
||||
"TestPoint",
|
||||
"SignalObjectPackage",
|
||||
"StorageClass",
|
||||
"Description",
|
||||
"documentLink"
|
||||
],
|
||||
"values":[
|
||||
"",
|
||||
"off",
|
||||
"off",
|
||||
"off",
|
||||
"off",
|
||||
"Simulink",
|
||||
"Auto",
|
||||
"",
|
||||
""
|
||||
],
|
||||
"tabs":[
|
||||
"Parameter Attributes",
|
||||
"Logging and Accessibility",
|
||||
"Code Generation",
|
||||
"Documentation"
|
||||
],
|
||||
"tabs_idx":[
|
||||
0,
|
||||
3,
|
||||
5,
|
||||
7
|
||||
]
|
||||
},
|
||||
"viewer":{
|
||||
"jshandler":"webview/handlers/ElementHandler"
|
||||
},
|
||||
"obj_viewer":[
|
||||
],
|
||||
"finder":[
|
||||
]
|
||||
},
|
||||
{
|
||||
"sid":"BLDCmotorControl_R2017b:2530:288#out:1",
|
||||
"className":"Simulink.Line",
|
||||
"icon":"WebViewIcon4",
|
||||
"name":"",
|
||||
"label":"",
|
||||
"parent":"BLDCmotorControl_R2017b:2530:285",
|
||||
"inspector":{
|
||||
"params":[
|
||||
"SignalNameFromLabel",
|
||||
"MustResolveToSignal",
|
||||
"ShowPropagatedSignal",
|
||||
"DataLogging",
|
||||
"TestPoint",
|
||||
"SignalObjectPackage",
|
||||
"StorageClass",
|
||||
"Description",
|
||||
"documentLink"
|
||||
],
|
||||
"values":[
|
||||
"",
|
||||
"off",
|
||||
"off",
|
||||
"off",
|
||||
"off",
|
||||
"Simulink",
|
||||
"Auto",
|
||||
"",
|
||||
""
|
||||
],
|
||||
"tabs":[
|
||||
"Parameter Attributes",
|
||||
"Logging and Accessibility",
|
||||
"Code Generation",
|
||||
"Documentation"
|
||||
],
|
||||
"tabs_idx":[
|
||||
0,
|
||||
3,
|
||||
5,
|
||||
7
|
||||
]
|
||||
},
|
||||
"viewer":{
|
||||
"jshandler":"webview/handlers/ElementHandler"
|
||||
},
|
||||
"obj_viewer":[
|
||||
],
|
||||
"finder":[
|
||||
]
|
||||
}
|
||||
]
|
Before Width: | Height: | Size: 9.9 KiB |
@ -1,968 +0,0 @@
|
||||
[
|
||||
{
|
||||
"sid":"BLDCmotorControl_R2017b:2530:296",
|
||||
"className":"Simulink.Inport",
|
||||
"icon":"WebViewIcon2",
|
||||
"name":"a_elecAngleAdv",
|
||||
"label":"a_elecAngleAdv",
|
||||
"parent":"BLDCmotorControl_R2017b:2530:295",
|
||||
"inspector":{
|
||||
"params":[
|
||||
"Port",
|
||||
"IconDisplay",
|
||||
"OutMin",
|
||||
"OutMax",
|
||||
"OutDataTypeStr",
|
||||
"LockScale",
|
||||
"Unit",
|
||||
"PortDimensions",
|
||||
"VarSizeSig",
|
||||
"SampleTime",
|
||||
"SignalType",
|
||||
"BusOutputAsStruct",
|
||||
"InputConnect",
|
||||
"Interpolate",
|
||||
"LatchByDelayingOutsideSignal",
|
||||
"LatchInputForFeedbackSignals",
|
||||
"OutputFunctionCall"
|
||||
],
|
||||
"values":[
|
||||
"1",
|
||||
"Port number",
|
||||
"[]",
|
||||
"[]",
|
||||
"Inherit: auto",
|
||||
"off",
|
||||
"inherit",
|
||||
"-1",
|
||||
"Inherit",
|
||||
"-1",
|
||||
"auto",
|
||||
"off",
|
||||
"",
|
||||
"on",
|
||||
"off",
|
||||
"off",
|
||||
"off"
|
||||
],
|
||||
"tabs":[
|
||||
"Main",
|
||||
"Signal Attributes",
|
||||
"-Other"
|
||||
],
|
||||
"tabs_idx":[
|
||||
0,
|
||||
2,
|
||||
11
|
||||
]
|
||||
},
|
||||
"viewer":{
|
||||
"jshandler":"webview/handlers/ElementHandler"
|
||||
},
|
||||
"obj_viewer":[
|
||||
],
|
||||
"finder":{
|
||||
"blocktype":"Inport",
|
||||
"masktype":""
|
||||
}
|
||||
},
|
||||
{
|
||||
"sid":"BLDCmotorControl_R2017b:2530:302",
|
||||
"className":"Simulink.Outport",
|
||||
"icon":"WebViewIcon2",
|
||||
"name":"r_phaA_Sin3",
|
||||
"label":"r_phaA_Sin3",
|
||||
"parent":"BLDCmotorControl_R2017b:2530:295",
|
||||
"inspector":{
|
||||
"params":[
|
||||
"Port",
|
||||
"IconDisplay",
|
||||
"OutMin",
|
||||
"OutMax",
|
||||
"OutDataTypeStr",
|
||||
"LockScale",
|
||||
"Unit",
|
||||
"PortDimensions",
|
||||
"VarSizeSig",
|
||||
"SampleTime",
|
||||
"SignalType",
|
||||
"BusOutputAsStruct",
|
||||
"EnsureOutportIsVirtual",
|
||||
"InitialOutput",
|
||||
"MustResolveToSignalObject",
|
||||
"OutputWhenDisabled",
|
||||
"OutputWhenUnConnected",
|
||||
"OutputWhenUnconnectedValue",
|
||||
"SignalName",
|
||||
"SignalObject",
|
||||
"SourceOfInitialOutputValue",
|
||||
"StorageClass",
|
||||
"VectorParamsAs1DForOutWhenUnconnected"
|
||||
],
|
||||
"values":[
|
||||
"1",
|
||||
"Port number",
|
||||
"[]",
|
||||
"[]",
|
||||
"Inherit: auto",
|
||||
"off",
|
||||
"inherit",
|
||||
"-1",
|
||||
"Inherit",
|
||||
"-1",
|
||||
"auto",
|
||||
"off",
|
||||
"off",
|
||||
"[]",
|
||||
"off",
|
||||
"held",
|
||||
"off",
|
||||
"0",
|
||||
"",
|
||||
[
|
||||
],
|
||||
"Dialog",
|
||||
"Auto",
|
||||
"off"
|
||||
],
|
||||
"tabs":[
|
||||
"Main",
|
||||
"Signal Attributes",
|
||||
"-Other"
|
||||
],
|
||||
"tabs_idx":[
|
||||
0,
|
||||
2,
|
||||
11
|
||||
]
|
||||
},
|
||||
"viewer":{
|
||||
"jshandler":"webview/handlers/ElementHandler"
|
||||
},
|
||||
"obj_viewer":[
|
||||
],
|
||||
"finder":{
|
||||
"blocktype":"Outport",
|
||||
"masktype":""
|
||||
}
|
||||
},
|
||||
{
|
||||
"sid":"BLDCmotorControl_R2017b:2530:299",
|
||||
"className":"Simulink.Interpolation_nD",
|
||||
"icon":"WebViewIcon2",
|
||||
"name":"r_sin3PhaA_M1",
|
||||
"label":"r_sin3PhaA_M1",
|
||||
"parent":"BLDCmotorControl_R2017b:2530:295",
|
||||
"inspector":{
|
||||
"params":[
|
||||
"NumberOfTableDimensions",
|
||||
"RequireIndexFractionAsBus",
|
||||
"TableSpecification",
|
||||
"TableSource",
|
||||
"Table",
|
||||
"InterpMethod",
|
||||
"ExtrapMethod",
|
||||
"DiagnosticForOutOfRangeInput",
|
||||
"ValidIndexMayReachLast",
|
||||
"NumSelectionDims",
|
||||
"RemoveProtectionIndex",
|
||||
"TableMin",
|
||||
"TableMax",
|
||||
"OutMin",
|
||||
"OutMax",
|
||||
"InternalRulePriority",
|
||||
"LockScale",
|
||||
"RndMeth",
|
||||
"SaturateOnIntegerOverflow",
|
||||
"IntermediateResultsDataTypeStr",
|
||||
"LookupTableObject",
|
||||
"OutDataTypeStr",
|
||||
"SampleTime",
|
||||
"TableDataTypeStr"
|
||||
],
|
||||
"values":[
|
||||
"1",
|
||||
"off",
|
||||
"Explicit values",
|
||||
"Dialog",
|
||||
"r_sin3PhaA_M1",
|
||||
"Linear",
|
||||
"Clip",
|
||||
"None",
|
||||
"off",
|
||||
"0",
|
||||
"on",
|
||||
"[]",
|
||||
"[]",
|
||||
"[]",
|
||||
"[]",
|
||||
"Speed",
|
||||
"off",
|
||||
"Simplest",
|
||||
"off",
|
||||
"Inherit: Same as output",
|
||||
"",
|
||||
"int16",
|
||||
"-1",
|
||||
"Inherit: Same as output"
|
||||
],
|
||||
"tabs":[
|
||||
"Main",
|
||||
"Data Types",
|
||||
"-Other"
|
||||
],
|
||||
"tabs_idx":[
|
||||
0,
|
||||
11,
|
||||
19
|
||||
]
|
||||
},
|
||||
"viewer":{
|
||||
"jshandler":"webview/handlers/ElementHandler"
|
||||
},
|
||||
"obj_viewer":[
|
||||
],
|
||||
"finder":{
|
||||
"blocktype":"Interpolation_n-D",
|
||||
"masktype":""
|
||||
}
|
||||
},
|
||||
{
|
||||
"sid":"BLDCmotorControl_R2017b:2530:300",
|
||||
"className":"Simulink.Interpolation_nD",
|
||||
"icon":"WebViewIcon2",
|
||||
"name":"r_sin3PhaB_M1",
|
||||
"label":"r_sin3PhaB_M1",
|
||||
"parent":"BLDCmotorControl_R2017b:2530:295",
|
||||
"inspector":{
|
||||
"params":[
|
||||
"NumberOfTableDimensions",
|
||||
"RequireIndexFractionAsBus",
|
||||
"TableSpecification",
|
||||
"TableSource",
|
||||
"Table",
|
||||
"InterpMethod",
|
||||
"ExtrapMethod",
|
||||
"DiagnosticForOutOfRangeInput",
|
||||
"ValidIndexMayReachLast",
|
||||
"NumSelectionDims",
|
||||
"RemoveProtectionIndex",
|
||||
"TableMin",
|
||||
"TableMax",
|
||||
"OutMin",
|
||||
"OutMax",
|
||||
"InternalRulePriority",
|
||||
"LockScale",
|
||||
"RndMeth",
|
||||
"SaturateOnIntegerOverflow",
|
||||
"IntermediateResultsDataTypeStr",
|
||||
"LookupTableObject",
|
||||
"OutDataTypeStr",
|
||||
"SampleTime",
|
||||
"TableDataTypeStr"
|
||||
],
|
||||
"values":[
|
||||
"1",
|
||||
"off",
|
||||
"Explicit values",
|
||||
"Dialog",
|
||||
"r_sin3PhaB_M1",
|
||||
"Linear",
|
||||
"Clip",
|
||||
"None",
|
||||
"off",
|
||||
"0",
|
||||
"on",
|
||||
"[]",
|
||||
"[]",
|
||||
"[]",
|
||||
"[]",
|
||||
"Speed",
|
||||
"off",
|
||||
"Simplest",
|
||||
"off",
|
||||
"Inherit: Same as output",
|
||||
"",
|
||||
"int16",
|
||||
"-1",
|
||||
"Inherit: Same as output"
|
||||
],
|
||||
"tabs":[
|
||||
"Main",
|
||||
"Data Types",
|
||||
"-Other"
|
||||
],
|
||||
"tabs_idx":[
|
||||
0,
|
||||
11,
|
||||
19
|
||||
]
|
||||
},
|
||||
"viewer":{
|
||||
"jshandler":"webview/handlers/ElementHandler"
|
||||
},
|
||||
"obj_viewer":[
|
||||
],
|
||||
"finder":{
|
||||
"blocktype":"Interpolation_n-D",
|
||||
"masktype":""
|
||||
}
|
||||
},
|
||||
{
|
||||
"sid":"BLDCmotorControl_R2017b:2530:301",
|
||||
"className":"Simulink.Interpolation_nD",
|
||||
"icon":"WebViewIcon2",
|
||||
"name":"r_sin3PhaC_M1",
|
||||
"label":"r_sin3PhaC_M1",
|
||||
"parent":"BLDCmotorControl_R2017b:2530:295",
|
||||
"inspector":{
|
||||
"params":[
|
||||
"NumberOfTableDimensions",
|
||||
"RequireIndexFractionAsBus",
|
||||
"TableSpecification",
|
||||
"TableSource",
|
||||
"Table",
|
||||
"InterpMethod",
|
||||
"ExtrapMethod",
|
||||
"DiagnosticForOutOfRangeInput",
|
||||
"ValidIndexMayReachLast",
|
||||
"NumSelectionDims",
|
||||
"RemoveProtectionIndex",
|
||||
"TableMin",
|
||||
"TableMax",
|
||||
"OutMin",
|
||||
"OutMax",
|
||||
"InternalRulePriority",
|
||||
"LockScale",
|
||||
"RndMeth",
|
||||
"SaturateOnIntegerOverflow",
|
||||
"IntermediateResultsDataTypeStr",
|
||||
"LookupTableObject",
|
||||
"OutDataTypeStr",
|
||||
"SampleTime",
|
||||
"TableDataTypeStr"
|
||||
],
|
||||
"values":[
|
||||
"1",
|
||||
"off",
|
||||
"Explicit values",
|
||||
"Dialog",
|
||||
"r_sin3PhaC_M1",
|
||||
"Linear",
|
||||
"Clip",
|
||||
"None",
|
||||
"off",
|
||||
"0",
|
||||
"on",
|
||||
"[]",
|
||||
"[]",
|
||||
"[]",
|
||||
"[]",
|
||||
"Speed",
|
||||
"off",
|
||||
"Simplest",
|
||||
"off",
|
||||
"Inherit: Same as output",
|
||||
"",
|
||||
"int16",
|
||||
"-1",
|
||||
"Inherit: Same as output"
|
||||
],
|
||||
"tabs":[
|
||||
"Main",
|
||||
"Data Types",
|
||||
"-Other"
|
||||
],
|
||||
"tabs_idx":[
|
||||
0,
|
||||
11,
|
||||
19
|
||||
]
|
||||
},
|
||||
"viewer":{
|
||||
"jshandler":"webview/handlers/ElementHandler"
|
||||
},
|
||||
"obj_viewer":[
|
||||
],
|
||||
"finder":{
|
||||
"blocktype":"Interpolation_n-D",
|
||||
"masktype":""
|
||||
}
|
||||
},
|
||||
{
|
||||
"sid":"BLDCmotorControl_R2017b:2530:303",
|
||||
"className":"Simulink.Outport",
|
||||
"icon":"WebViewIcon2",
|
||||
"name":"r_phaB_Sin3",
|
||||
"label":"r_phaB_Sin3",
|
||||
"parent":"BLDCmotorControl_R2017b:2530:295",
|
||||
"inspector":{
|
||||
"params":[
|
||||
"Port",
|
||||
"IconDisplay",
|
||||
"OutMin",
|
||||
"OutMax",
|
||||
"OutDataTypeStr",
|
||||
"LockScale",
|
||||
"Unit",
|
||||
"PortDimensions",
|
||||
"VarSizeSig",
|
||||
"SampleTime",
|
||||
"SignalType",
|
||||
"BusOutputAsStruct",
|
||||
"EnsureOutportIsVirtual",
|
||||
"InitialOutput",
|
||||
"MustResolveToSignalObject",
|
||||
"OutputWhenDisabled",
|
||||
"OutputWhenUnConnected",
|
||||
"OutputWhenUnconnectedValue",
|
||||
"SignalName",
|
||||
"SignalObject",
|
||||
"SourceOfInitialOutputValue",
|
||||
"StorageClass",
|
||||
"VectorParamsAs1DForOutWhenUnconnected"
|
||||
],
|
||||
"values":[
|
||||
"2",
|
||||
"Port number",
|
||||
"[]",
|
||||
"[]",
|
||||
"Inherit: auto",
|
||||
"off",
|
||||
"inherit",
|
||||
"-1",
|
||||
"Inherit",
|
||||
"-1",
|
||||
"auto",
|
||||
"off",
|
||||
"off",
|
||||
"[]",
|
||||
"off",
|
||||
"held",
|
||||
"off",
|
||||
"0",
|
||||
"",
|
||||
[
|
||||
],
|
||||
"Dialog",
|
||||
"Auto",
|
||||
"off"
|
||||
],
|
||||
"tabs":[
|
||||
"Main",
|
||||
"Signal Attributes",
|
||||
"-Other"
|
||||
],
|
||||
"tabs_idx":[
|
||||
0,
|
||||
2,
|
||||
11
|
||||
]
|
||||
},
|
||||
"viewer":{
|
||||
"jshandler":"webview/handlers/ElementHandler"
|
||||
},
|
||||
"obj_viewer":[
|
||||
],
|
||||
"finder":{
|
||||
"blocktype":"Outport",
|
||||
"masktype":""
|
||||
}
|
||||
},
|
||||
{
|
||||
"sid":"BLDCmotorControl_R2017b:2530:304",
|
||||
"className":"Simulink.Outport",
|
||||
"icon":"WebViewIcon2",
|
||||
"name":"r_phaC_Sin3",
|
||||
"label":"r_phaC_Sin3",
|
||||
"parent":"BLDCmotorControl_R2017b:2530:295",
|
||||
"inspector":{
|
||||
"params":[
|
||||
"Port",
|
||||
"IconDisplay",
|
||||
"OutMin",
|
||||
"OutMax",
|
||||
"OutDataTypeStr",
|
||||
"LockScale",
|
||||
"Unit",
|
||||
"PortDimensions",
|
||||
"VarSizeSig",
|
||||
"SampleTime",
|
||||
"SignalType",
|
||||
"BusOutputAsStruct",
|
||||
"EnsureOutportIsVirtual",
|
||||
"InitialOutput",
|
||||
"MustResolveToSignalObject",
|
||||
"OutputWhenDisabled",
|
||||
"OutputWhenUnConnected",
|
||||
"OutputWhenUnconnectedValue",
|
||||
"SignalName",
|
||||
"SignalObject",
|
||||
"SourceOfInitialOutputValue",
|
||||
"StorageClass",
|
||||
"VectorParamsAs1DForOutWhenUnconnected"
|
||||
],
|
||||
"values":[
|
||||
"3",
|
||||
"Port number",
|
||||
"[]",
|
||||
"[]",
|
||||
"Inherit: auto",
|
||||
"off",
|
||||
"inherit",
|
||||
"-1",
|
||||
"Inherit",
|
||||
"-1",
|
||||
"auto",
|
||||
"off",
|
||||
"off",
|
||||
"[]",
|
||||
"off",
|
||||
"held",
|
||||
"off",
|
||||
"0",
|
||||
"",
|
||||
[
|
||||
],
|
||||
"Dialog",
|
||||
"Auto",
|
||||
"off"
|
||||
],
|
||||
"tabs":[
|
||||
"Main",
|
||||
"Signal Attributes",
|
||||
"-Other"
|
||||
],
|
||||
"tabs_idx":[
|
||||
0,
|
||||
2,
|
||||
11
|
||||
]
|
||||
},
|
||||
"viewer":{
|
||||
"jshandler":"webview/handlers/ElementHandler"
|
||||
},
|
||||
"obj_viewer":[
|
||||
],
|
||||
"finder":{
|
||||
"blocktype":"Outport",
|
||||
"masktype":""
|
||||
}
|
||||
},
|
||||
{
|
||||
"sid":"BLDCmotorControl_R2017b:2530:298",
|
||||
"className":"Simulink.PreLookup",
|
||||
"icon":"WebViewIcon2",
|
||||
"name":"a_sinElecAngle_XA",
|
||||
"label":"a_sinElecAngle_XA",
|
||||
"parent":"BLDCmotorControl_R2017b:2530:295",
|
||||
"inspector":{
|
||||
"params":[
|
||||
"BreakpointsSpecification",
|
||||
"BreakpointsDataSource",
|
||||
"BreakpointsData",
|
||||
"OutputSelection",
|
||||
"IndexSearchMethod",
|
||||
"ExtrapMethod",
|
||||
"UseLastBreakpoint",
|
||||
"DiagnosticForOutOfRangeInput",
|
||||
"RemoveProtectionInput",
|
||||
"BreakpointMin",
|
||||
"BreakpointMax",
|
||||
"LockScale",
|
||||
"RndMeth",
|
||||
"BeginIndexSearchUsingPreviousIndexResult",
|
||||
"BreakpointDataTypeStr",
|
||||
"BreakpointObject",
|
||||
"BreakpointsFirstPoint",
|
||||
"BreakpointsNumPoints",
|
||||
"BreakpointsSpacing",
|
||||
"FractionDataTypeStr",
|
||||
"IndexDataTypeStr",
|
||||
"OutputBusDataTypeStr",
|
||||
"SampleTime"
|
||||
],
|
||||
"values":[
|
||||
"Explicit values",
|
||||
"Dialog",
|
||||
"a_sinElecAngle_XA",
|
||||
"Index and fraction",
|
||||
"Evenly spaced points",
|
||||
"Clip",
|
||||
"off",
|
||||
"None",
|
||||
"off",
|
||||
"[]",
|
||||
"[]",
|
||||
"off",
|
||||
"Simplest",
|
||||
"on",
|
||||
"Inherit: Same as input",
|
||||
"",
|
||||
"10",
|
||||
"11",
|
||||
"10",
|
||||
"Inherit: Inherit via internal rule",
|
||||
"uint8",
|
||||
"Inherit: auto",
|
||||
"-1"
|
||||
],
|
||||
"tabs":[
|
||||
"Main",
|
||||
"Data Types",
|
||||
"-Other"
|
||||
],
|
||||
"tabs_idx":[
|
||||
0,
|
||||
9,
|
||||
13
|
||||
]
|
||||
},
|
||||
"viewer":{
|
||||
"jshandler":"webview/handlers/ElementHandler"
|
||||
},
|
||||
"obj_viewer":[
|
||||
],
|
||||
"finder":{
|
||||
"blocktype":"PreLookup",
|
||||
"masktype":""
|
||||
}
|
||||
},
|
||||
{
|
||||
"sid":"BLDCmotorControl_R2017b:2530:297",
|
||||
"className":"Simulink.ActionPort",
|
||||
"icon":"WebViewIcon2",
|
||||
"name":"Action Port",
|
||||
"label":"Action Port",
|
||||
"parent":"BLDCmotorControl_R2017b:2530:295",
|
||||
"inspector":{
|
||||
"params":[
|
||||
"InitializeStates",
|
||||
"PropagateVarSize"
|
||||
],
|
||||
"values":[
|
||||
"reset",
|
||||
"Only when execution is resumed"
|
||||
],
|
||||
"tabs":[
|
||||
"Parameter Attributes"
|
||||
],
|
||||
"tabs_idx":0
|
||||
},
|
||||
"viewer":{
|
||||
"jshandler":"webview/handlers/ElementHandler"
|
||||
},
|
||||
"obj_viewer":[
|
||||
],
|
||||
"finder":{
|
||||
"blocktype":"ActionPort",
|
||||
"masktype":""
|
||||
}
|
||||
},
|
||||
{
|
||||
"sid":"BLDCmotorControl_R2017b:2530:296#out:1",
|
||||
"className":"Simulink.Line",
|
||||
"icon":"WebViewIcon4",
|
||||
"name":"",
|
||||
"label":"",
|
||||
"parent":"BLDCmotorControl_R2017b:2530:295",
|
||||
"inspector":{
|
||||
"params":[
|
||||
"SignalNameFromLabel",
|
||||
"MustResolveToSignal",
|
||||
"ShowPropagatedSignal",
|
||||
"DataLogging",
|
||||
"TestPoint",
|
||||
"SignalObjectPackage",
|
||||
"StorageClass",
|
||||
"Description",
|
||||
"documentLink"
|
||||
],
|
||||
"values":[
|
||||
"",
|
||||
"off",
|
||||
"off",
|
||||
"off",
|
||||
"off",
|
||||
"Simulink",
|
||||
"Auto",
|
||||
"",
|
||||
""
|
||||
],
|
||||
"tabs":[
|
||||
"Parameter Attributes",
|
||||
"Logging and Accessibility",
|
||||
"Code Generation",
|
||||
"Documentation"
|
||||
],
|
||||
"tabs_idx":[
|
||||
0,
|
||||
3,
|
||||
5,
|
||||
7
|
||||
]
|
||||
},
|
||||
"viewer":{
|
||||
"jshandler":"webview/handlers/ElementHandler"
|
||||
},
|
||||
"obj_viewer":[
|
||||
],
|
||||
"finder":[
|
||||
]
|
||||
},
|
||||
{
|
||||
"sid":"BLDCmotorControl_R2017b:2530:301#out:1",
|
||||
"className":"Simulink.Line",
|
||||
"icon":"WebViewIcon4",
|
||||
"name":"",
|
||||
"label":"",
|
||||
"parent":"BLDCmotorControl_R2017b:2530:295",
|
||||
"inspector":{
|
||||
"params":[
|
||||
"SignalNameFromLabel",
|
||||
"MustResolveToSignal",
|
||||
"ShowPropagatedSignal",
|
||||
"DataLogging",
|
||||
"TestPoint",
|
||||
"SignalObjectPackage",
|
||||
"StorageClass",
|
||||
"Description",
|
||||
"documentLink"
|
||||
],
|
||||
"values":[
|
||||
"",
|
||||
"off",
|
||||
"off",
|
||||
"off",
|
||||
"off",
|
||||
"Simulink",
|
||||
"Auto",
|
||||
"",
|
||||
""
|
||||
],
|
||||
"tabs":[
|
||||
"Parameter Attributes",
|
||||
"Logging and Accessibility",
|
||||
"Code Generation",
|
||||
"Documentation"
|
||||
],
|
||||
"tabs_idx":[
|
||||
0,
|
||||
3,
|
||||
5,
|
||||
7
|
||||
]
|
||||
},
|
||||
"viewer":{
|
||||
"jshandler":"webview/handlers/ElementHandler"
|
||||
},
|
||||
"obj_viewer":[
|
||||
],
|
||||
"finder":[
|
||||
]
|
||||
},
|
||||
{
|
||||
"sid":"BLDCmotorControl_R2017b:2530:300#out:1",
|
||||
"className":"Simulink.Line",
|
||||
"icon":"WebViewIcon4",
|
||||
"name":"",
|
||||
"label":"",
|
||||
"parent":"BLDCmotorControl_R2017b:2530:295",
|
||||
"inspector":{
|
||||
"params":[
|
||||
"SignalNameFromLabel",
|
||||
"MustResolveToSignal",
|
||||
"ShowPropagatedSignal",
|
||||
"DataLogging",
|
||||
"TestPoint",
|
||||
"SignalObjectPackage",
|
||||
"StorageClass",
|
||||
"Description",
|
||||
"documentLink"
|
||||
],
|
||||
"values":[
|
||||
"",
|
||||
"off",
|
||||
"off",
|
||||
"off",
|
||||
"off",
|
||||
"Simulink",
|
||||
"Auto",
|
||||
"",
|
||||
""
|
||||
],
|
||||
"tabs":[
|
||||
"Parameter Attributes",
|
||||
"Logging and Accessibility",
|
||||
"Code Generation",
|
||||
"Documentation"
|
||||
],
|
||||
"tabs_idx":[
|
||||
0,
|
||||
3,
|
||||
5,
|
||||
7
|
||||
]
|
||||
},
|
||||
"viewer":{
|
||||
"jshandler":"webview/handlers/ElementHandler"
|
||||
},
|
||||
"obj_viewer":[
|
||||
],
|
||||
"finder":[
|
||||
]
|
||||
},
|
||||
{
|
||||
"sid":"BLDCmotorControl_R2017b:2530:299#out:1",
|
||||
"className":"Simulink.Line",
|
||||
"icon":"WebViewIcon4",
|
||||
"name":"",
|
||||
"label":"",
|
||||
"parent":"BLDCmotorControl_R2017b:2530:295",
|
||||
"inspector":{
|
||||
"params":[
|
||||
"SignalNameFromLabel",
|
||||
"MustResolveToSignal",
|
||||
"ShowPropagatedSignal",
|
||||
"DataLogging",
|
||||
"TestPoint",
|
||||
"SignalObjectPackage",
|
||||
"StorageClass",
|
||||
"Description",
|
||||
"documentLink"
|
||||
],
|
||||
"values":[
|
||||
"",
|
||||
"off",
|
||||
"off",
|
||||
"off",
|
||||
"off",
|
||||
"Simulink",
|
||||
"Auto",
|
||||
"",
|
||||
""
|
||||
],
|
||||
"tabs":[
|
||||
"Parameter Attributes",
|
||||
"Logging and Accessibility",
|
||||
"Code Generation",
|
||||
"Documentation"
|
||||
],
|
||||
"tabs_idx":[
|
||||
0,
|
||||
3,
|
||||
5,
|
||||
7
|
||||
]
|
||||
},
|
||||
"viewer":{
|
||||
"jshandler":"webview/handlers/ElementHandler"
|
||||
},
|
||||
"obj_viewer":[
|
||||
],
|
||||
"finder":[
|
||||
]
|
||||
},
|
||||
{
|
||||
"sid":"BLDCmotorControl_R2017b:2530:298#out:2",
|
||||
"className":"Simulink.Line",
|
||||
"icon":"WebViewIcon4",
|
||||
"name":"",
|
||||
"label":"",
|
||||
"parent":"BLDCmotorControl_R2017b:2530:295",
|
||||
"inspector":{
|
||||
"params":[
|
||||
"SignalNameFromLabel",
|
||||
"MustResolveToSignal",
|
||||
"ShowPropagatedSignal",
|
||||
"DataLogging",
|
||||
"TestPoint",
|
||||
"SignalObjectPackage",
|
||||
"StorageClass",
|
||||
"Description",
|
||||
"documentLink"
|
||||
],
|
||||
"values":[
|
||||
"",
|
||||
"off",
|
||||
"off",
|
||||
"off",
|
||||
"off",
|
||||
"Simulink",
|
||||
"Auto",
|
||||
"",
|
||||
""
|
||||
],
|
||||
"tabs":[
|
||||
"Parameter Attributes",
|
||||
"Logging and Accessibility",
|
||||
"Code Generation",
|
||||
"Documentation"
|
||||
],
|
||||
"tabs_idx":[
|
||||
0,
|
||||
3,
|
||||
5,
|
||||
7
|
||||
]
|
||||
},
|
||||
"viewer":{
|
||||
"jshandler":"webview/handlers/ElementHandler"
|
||||
},
|
||||
"obj_viewer":[
|
||||
],
|
||||
"finder":[
|
||||
]
|
||||
},
|
||||
{
|
||||
"sid":"BLDCmotorControl_R2017b:2530:298#out:1",
|
||||
"className":"Simulink.Line",
|
||||
"icon":"WebViewIcon4",
|
||||
"name":"",
|
||||
"label":"",
|
||||
"parent":"BLDCmotorControl_R2017b:2530:295",
|
||||
"inspector":{
|
||||
"params":[
|
||||
"SignalNameFromLabel",
|
||||
"MustResolveToSignal",
|
||||
"ShowPropagatedSignal",
|
||||
"DataLogging",
|
||||
"TestPoint",
|
||||
"SignalObjectPackage",
|
||||
"StorageClass",
|
||||
"Description",
|
||||
"documentLink"
|
||||
],
|
||||
"values":[
|
||||
"",
|
||||
"off",
|
||||
"off",
|
||||
"off",
|
||||
"off",
|
||||
"Simulink",
|
||||
"Auto",
|
||||
"",
|
||||
""
|
||||
],
|
||||
"tabs":[
|
||||
"Parameter Attributes",
|
||||
"Logging and Accessibility",
|
||||
"Code Generation",
|
||||
"Documentation"
|
||||
],
|
||||
"tabs_idx":[
|
||||
0,
|
||||
3,
|
||||
5,
|
||||
7
|
||||
]
|
||||
},
|
||||
"viewer":{
|
||||
"jshandler":"webview/handlers/ElementHandler"
|
||||
},
|
||||
"obj_viewer":[
|
||||
],
|
||||
"finder":[
|
||||
]
|
||||
}
|
||||
]
|
Before Width: | Height: | Size: 120 KiB |
@ -1,968 +0,0 @@
|
||||
[
|
||||
{
|
||||
"sid":"BLDCmotorControl_R2017b:2530:306",
|
||||
"className":"Simulink.Inport",
|
||||
"icon":"WebViewIcon2",
|
||||
"name":"a_elecAngleAdv",
|
||||
"label":"a_elecAngleAdv",
|
||||
"parent":"BLDCmotorControl_R2017b:2530:305",
|
||||
"inspector":{
|
||||
"params":[
|
||||
"Port",
|
||||
"IconDisplay",
|
||||
"OutMin",
|
||||
"OutMax",
|
||||
"OutDataTypeStr",
|
||||
"LockScale",
|
||||
"Unit",
|
||||
"PortDimensions",
|
||||
"VarSizeSig",
|
||||
"SampleTime",
|
||||
"SignalType",
|
||||
"BusOutputAsStruct",
|
||||
"InputConnect",
|
||||
"Interpolate",
|
||||
"LatchByDelayingOutsideSignal",
|
||||
"LatchInputForFeedbackSignals",
|
||||
"OutputFunctionCall"
|
||||
],
|
||||
"values":[
|
||||
"1",
|
||||
"Port number",
|
||||
"[]",
|
||||
"[]",
|
||||
"Inherit: auto",
|
||||
"off",
|
||||
"inherit",
|
||||
"-1",
|
||||
"Inherit",
|
||||
"-1",
|
||||
"auto",
|
||||
"off",
|
||||
"",
|
||||
"on",
|
||||
"off",
|
||||
"off",
|
||||
"off"
|
||||
],
|
||||
"tabs":[
|
||||
"Main",
|
||||
"Signal Attributes",
|
||||
"-Other"
|
||||
],
|
||||
"tabs_idx":[
|
||||
0,
|
||||
2,
|
||||
11
|
||||
]
|
||||
},
|
||||
"viewer":{
|
||||
"jshandler":"webview/handlers/ElementHandler"
|
||||
},
|
||||
"obj_viewer":[
|
||||
],
|
||||
"finder":{
|
||||
"blocktype":"Inport",
|
||||
"masktype":""
|
||||
}
|
||||
},
|
||||
{
|
||||
"sid":"BLDCmotorControl_R2017b:2530:312",
|
||||
"className":"Simulink.Outport",
|
||||
"icon":"WebViewIcon2",
|
||||
"name":"r_phaA_Sin",
|
||||
"label":"r_phaA_Sin",
|
||||
"parent":"BLDCmotorControl_R2017b:2530:305",
|
||||
"inspector":{
|
||||
"params":[
|
||||
"Port",
|
||||
"IconDisplay",
|
||||
"OutMin",
|
||||
"OutMax",
|
||||
"OutDataTypeStr",
|
||||
"LockScale",
|
||||
"Unit",
|
||||
"PortDimensions",
|
||||
"VarSizeSig",
|
||||
"SampleTime",
|
||||
"SignalType",
|
||||
"BusOutputAsStruct",
|
||||
"EnsureOutportIsVirtual",
|
||||
"InitialOutput",
|
||||
"MustResolveToSignalObject",
|
||||
"OutputWhenDisabled",
|
||||
"OutputWhenUnConnected",
|
||||
"OutputWhenUnconnectedValue",
|
||||
"SignalName",
|
||||
"SignalObject",
|
||||
"SourceOfInitialOutputValue",
|
||||
"StorageClass",
|
||||
"VectorParamsAs1DForOutWhenUnconnected"
|
||||
],
|
||||
"values":[
|
||||
"1",
|
||||
"Port number",
|
||||
"[]",
|
||||
"[]",
|
||||
"Inherit: auto",
|
||||
"off",
|
||||
"inherit",
|
||||
"-1",
|
||||
"Inherit",
|
||||
"-1",
|
||||
"auto",
|
||||
"off",
|
||||
"off",
|
||||
"[]",
|
||||
"off",
|
||||
"held",
|
||||
"off",
|
||||
"0",
|
||||
"",
|
||||
[
|
||||
],
|
||||
"Dialog",
|
||||
"Auto",
|
||||
"off"
|
||||
],
|
||||
"tabs":[
|
||||
"Main",
|
||||
"Signal Attributes",
|
||||
"-Other"
|
||||
],
|
||||
"tabs_idx":[
|
||||
0,
|
||||
2,
|
||||
11
|
||||
]
|
||||
},
|
||||
"viewer":{
|
||||
"jshandler":"webview/handlers/ElementHandler"
|
||||
},
|
||||
"obj_viewer":[
|
||||
],
|
||||
"finder":{
|
||||
"blocktype":"Outport",
|
||||
"masktype":""
|
||||
}
|
||||
},
|
||||
{
|
||||
"sid":"BLDCmotorControl_R2017b:2530:309",
|
||||
"className":"Simulink.Interpolation_nD",
|
||||
"icon":"WebViewIcon2",
|
||||
"name":"r_sinPhaA_M1",
|
||||
"label":"r_sinPhaA_M1",
|
||||
"parent":"BLDCmotorControl_R2017b:2530:305",
|
||||
"inspector":{
|
||||
"params":[
|
||||
"NumberOfTableDimensions",
|
||||
"RequireIndexFractionAsBus",
|
||||
"TableSpecification",
|
||||
"TableSource",
|
||||
"Table",
|
||||
"InterpMethod",
|
||||
"ExtrapMethod",
|
||||
"DiagnosticForOutOfRangeInput",
|
||||
"ValidIndexMayReachLast",
|
||||
"NumSelectionDims",
|
||||
"RemoveProtectionIndex",
|
||||
"TableMin",
|
||||
"TableMax",
|
||||
"OutMin",
|
||||
"OutMax",
|
||||
"InternalRulePriority",
|
||||
"LockScale",
|
||||
"RndMeth",
|
||||
"SaturateOnIntegerOverflow",
|
||||
"IntermediateResultsDataTypeStr",
|
||||
"LookupTableObject",
|
||||
"OutDataTypeStr",
|
||||
"SampleTime",
|
||||
"TableDataTypeStr"
|
||||
],
|
||||
"values":[
|
||||
"1",
|
||||
"off",
|
||||
"Explicit values",
|
||||
"Dialog",
|
||||
"r_sinPhaA_M1",
|
||||
"Linear",
|
||||
"Clip",
|
||||
"None",
|
||||
"off",
|
||||
"0",
|
||||
"on",
|
||||
"[]",
|
||||
"[]",
|
||||
"[]",
|
||||
"[]",
|
||||
"Speed",
|
||||
"off",
|
||||
"Simplest",
|
||||
"off",
|
||||
"Inherit: Same as output",
|
||||
"",
|
||||
"int16",
|
||||
"-1",
|
||||
"Inherit: Same as output"
|
||||
],
|
||||
"tabs":[
|
||||
"Main",
|
||||
"Data Types",
|
||||
"-Other"
|
||||
],
|
||||
"tabs_idx":[
|
||||
0,
|
||||
11,
|
||||
19
|
||||
]
|
||||
},
|
||||
"viewer":{
|
||||
"jshandler":"webview/handlers/ElementHandler"
|
||||
},
|
||||
"obj_viewer":[
|
||||
],
|
||||
"finder":{
|
||||
"blocktype":"Interpolation_n-D",
|
||||
"masktype":""
|
||||
}
|
||||
},
|
||||
{
|
||||
"sid":"BLDCmotorControl_R2017b:2530:310",
|
||||
"className":"Simulink.Interpolation_nD",
|
||||
"icon":"WebViewIcon2",
|
||||
"name":"r_sinPhaB_M1",
|
||||
"label":"r_sinPhaB_M1",
|
||||
"parent":"BLDCmotorControl_R2017b:2530:305",
|
||||
"inspector":{
|
||||
"params":[
|
||||
"NumberOfTableDimensions",
|
||||
"RequireIndexFractionAsBus",
|
||||
"TableSpecification",
|
||||
"TableSource",
|
||||
"Table",
|
||||
"InterpMethod",
|
||||
"ExtrapMethod",
|
||||
"DiagnosticForOutOfRangeInput",
|
||||
"ValidIndexMayReachLast",
|
||||
"NumSelectionDims",
|
||||
"RemoveProtectionIndex",
|
||||
"TableMin",
|
||||
"TableMax",
|
||||
"OutMin",
|
||||
"OutMax",
|
||||
"InternalRulePriority",
|
||||
"LockScale",
|
||||
"RndMeth",
|
||||
"SaturateOnIntegerOverflow",
|
||||
"IntermediateResultsDataTypeStr",
|
||||
"LookupTableObject",
|
||||
"OutDataTypeStr",
|
||||
"SampleTime",
|
||||
"TableDataTypeStr"
|
||||
],
|
||||
"values":[
|
||||
"1",
|
||||
"off",
|
||||
"Explicit values",
|
||||
"Dialog",
|
||||
"r_sinPhaB_M1",
|
||||
"Linear",
|
||||
"Clip",
|
||||
"None",
|
||||
"off",
|
||||
"0",
|
||||
"on",
|
||||
"[]",
|
||||
"[]",
|
||||
"[]",
|
||||
"[]",
|
||||
"Speed",
|
||||
"off",
|
||||
"Simplest",
|
||||
"off",
|
||||
"Inherit: Same as output",
|
||||
"",
|
||||
"int16",
|
||||
"-1",
|
||||
"Inherit: Same as output"
|
||||
],
|
||||
"tabs":[
|
||||
"Main",
|
||||
"Data Types",
|
||||
"-Other"
|
||||
],
|
||||
"tabs_idx":[
|
||||
0,
|
||||
11,
|
||||
19
|
||||
]
|
||||
},
|
||||
"viewer":{
|
||||
"jshandler":"webview/handlers/ElementHandler"
|
||||
},
|
||||
"obj_viewer":[
|
||||
],
|
||||
"finder":{
|
||||
"blocktype":"Interpolation_n-D",
|
||||
"masktype":""
|
||||
}
|
||||
},
|
||||
{
|
||||
"sid":"BLDCmotorControl_R2017b:2530:311",
|
||||
"className":"Simulink.Interpolation_nD",
|
||||
"icon":"WebViewIcon2",
|
||||
"name":"r_sinPhaC_M1",
|
||||
"label":"r_sinPhaC_M1",
|
||||
"parent":"BLDCmotorControl_R2017b:2530:305",
|
||||
"inspector":{
|
||||
"params":[
|
||||
"NumberOfTableDimensions",
|
||||
"RequireIndexFractionAsBus",
|
||||
"TableSpecification",
|
||||
"TableSource",
|
||||
"Table",
|
||||
"InterpMethod",
|
||||
"ExtrapMethod",
|
||||
"DiagnosticForOutOfRangeInput",
|
||||
"ValidIndexMayReachLast",
|
||||
"NumSelectionDims",
|
||||
"RemoveProtectionIndex",
|
||||
"TableMin",
|
||||
"TableMax",
|
||||
"OutMin",
|
||||
"OutMax",
|
||||
"InternalRulePriority",
|
||||
"LockScale",
|
||||
"RndMeth",
|
||||
"SaturateOnIntegerOverflow",
|
||||
"IntermediateResultsDataTypeStr",
|
||||
"LookupTableObject",
|
||||
"OutDataTypeStr",
|
||||
"SampleTime",
|
||||
"TableDataTypeStr"
|
||||
],
|
||||
"values":[
|
||||
"1",
|
||||
"off",
|
||||
"Explicit values",
|
||||
"Dialog",
|
||||
"r_sinPhaC_M1",
|
||||
"Linear",
|
||||
"Clip",
|
||||
"None",
|
||||
"off",
|
||||
"0",
|
||||
"on",
|
||||
"[]",
|
||||
"[]",
|
||||
"[]",
|
||||
"[]",
|
||||
"Speed",
|
||||
"off",
|
||||
"Simplest",
|
||||
"off",
|
||||
"Inherit: Same as output",
|
||||
"",
|
||||
"int16",
|
||||
"-1",
|
||||
"Inherit: Same as output"
|
||||
],
|
||||
"tabs":[
|
||||
"Main",
|
||||
"Data Types",
|
||||
"-Other"
|
||||
],
|
||||
"tabs_idx":[
|
||||
0,
|
||||
11,
|
||||
19
|
||||
]
|
||||
},
|
||||
"viewer":{
|
||||
"jshandler":"webview/handlers/ElementHandler"
|
||||
},
|
||||
"obj_viewer":[
|
||||
],
|
||||
"finder":{
|
||||
"blocktype":"Interpolation_n-D",
|
||||
"masktype":""
|
||||
}
|
||||
},
|
||||
{
|
||||
"sid":"BLDCmotorControl_R2017b:2530:313",
|
||||
"className":"Simulink.Outport",
|
||||
"icon":"WebViewIcon2",
|
||||
"name":"r_phaB_Sin",
|
||||
"label":"r_phaB_Sin",
|
||||
"parent":"BLDCmotorControl_R2017b:2530:305",
|
||||
"inspector":{
|
||||
"params":[
|
||||
"Port",
|
||||
"IconDisplay",
|
||||
"OutMin",
|
||||
"OutMax",
|
||||
"OutDataTypeStr",
|
||||
"LockScale",
|
||||
"Unit",
|
||||
"PortDimensions",
|
||||
"VarSizeSig",
|
||||
"SampleTime",
|
||||
"SignalType",
|
||||
"BusOutputAsStruct",
|
||||
"EnsureOutportIsVirtual",
|
||||
"InitialOutput",
|
||||
"MustResolveToSignalObject",
|
||||
"OutputWhenDisabled",
|
||||
"OutputWhenUnConnected",
|
||||
"OutputWhenUnconnectedValue",
|
||||
"SignalName",
|
||||
"SignalObject",
|
||||
"SourceOfInitialOutputValue",
|
||||
"StorageClass",
|
||||
"VectorParamsAs1DForOutWhenUnconnected"
|
||||
],
|
||||
"values":[
|
||||
"2",
|
||||
"Port number",
|
||||
"[]",
|
||||
"[]",
|
||||
"Inherit: auto",
|
||||
"off",
|
||||
"inherit",
|
||||
"-1",
|
||||
"Inherit",
|
||||
"-1",
|
||||
"auto",
|
||||
"off",
|
||||
"off",
|
||||
"[]",
|
||||
"off",
|
||||
"held",
|
||||
"off",
|
||||
"0",
|
||||
"",
|
||||
[
|
||||
],
|
||||
"Dialog",
|
||||
"Auto",
|
||||
"off"
|
||||
],
|
||||
"tabs":[
|
||||
"Main",
|
||||
"Signal Attributes",
|
||||
"-Other"
|
||||
],
|
||||
"tabs_idx":[
|
||||
0,
|
||||
2,
|
||||
11
|
||||
]
|
||||
},
|
||||
"viewer":{
|
||||
"jshandler":"webview/handlers/ElementHandler"
|
||||
},
|
||||
"obj_viewer":[
|
||||
],
|
||||
"finder":{
|
||||
"blocktype":"Outport",
|
||||
"masktype":""
|
||||
}
|
||||
},
|
||||
{
|
||||
"sid":"BLDCmotorControl_R2017b:2530:314",
|
||||
"className":"Simulink.Outport",
|
||||
"icon":"WebViewIcon2",
|
||||
"name":"r_phaC_Sin",
|
||||
"label":"r_phaC_Sin",
|
||||
"parent":"BLDCmotorControl_R2017b:2530:305",
|
||||
"inspector":{
|
||||
"params":[
|
||||
"Port",
|
||||
"IconDisplay",
|
||||
"OutMin",
|
||||
"OutMax",
|
||||
"OutDataTypeStr",
|
||||
"LockScale",
|
||||
"Unit",
|
||||
"PortDimensions",
|
||||
"VarSizeSig",
|
||||
"SampleTime",
|
||||
"SignalType",
|
||||
"BusOutputAsStruct",
|
||||
"EnsureOutportIsVirtual",
|
||||
"InitialOutput",
|
||||
"MustResolveToSignalObject",
|
||||
"OutputWhenDisabled",
|
||||
"OutputWhenUnConnected",
|
||||
"OutputWhenUnconnectedValue",
|
||||
"SignalName",
|
||||
"SignalObject",
|
||||
"SourceOfInitialOutputValue",
|
||||
"StorageClass",
|
||||
"VectorParamsAs1DForOutWhenUnconnected"
|
||||
],
|
||||
"values":[
|
||||
"3",
|
||||
"Port number",
|
||||
"[]",
|
||||
"[]",
|
||||
"Inherit: auto",
|
||||
"off",
|
||||
"inherit",
|
||||
"-1",
|
||||
"Inherit",
|
||||
"-1",
|
||||
"auto",
|
||||
"off",
|
||||
"off",
|
||||
"[]",
|
||||
"off",
|
||||
"held",
|
||||
"off",
|
||||
"0",
|
||||
"",
|
||||
[
|
||||
],
|
||||
"Dialog",
|
||||
"Auto",
|
||||
"off"
|
||||
],
|
||||
"tabs":[
|
||||
"Main",
|
||||
"Signal Attributes",
|
||||
"-Other"
|
||||
],
|
||||
"tabs_idx":[
|
||||
0,
|
||||
2,
|
||||
11
|
||||
]
|
||||
},
|
||||
"viewer":{
|
||||
"jshandler":"webview/handlers/ElementHandler"
|
||||
},
|
||||
"obj_viewer":[
|
||||
],
|
||||
"finder":{
|
||||
"blocktype":"Outport",
|
||||
"masktype":""
|
||||
}
|
||||
},
|
||||
{
|
||||
"sid":"BLDCmotorControl_R2017b:2530:308",
|
||||
"className":"Simulink.PreLookup",
|
||||
"icon":"WebViewIcon2",
|
||||
"name":"a_sinElecAngle_XA",
|
||||
"label":"a_sinElecAngle_XA",
|
||||
"parent":"BLDCmotorControl_R2017b:2530:305",
|
||||
"inspector":{
|
||||
"params":[
|
||||
"BreakpointsSpecification",
|
||||
"BreakpointsDataSource",
|
||||
"BreakpointsData",
|
||||
"OutputSelection",
|
||||
"IndexSearchMethod",
|
||||
"ExtrapMethod",
|
||||
"UseLastBreakpoint",
|
||||
"DiagnosticForOutOfRangeInput",
|
||||
"RemoveProtectionInput",
|
||||
"BreakpointMin",
|
||||
"BreakpointMax",
|
||||
"LockScale",
|
||||
"RndMeth",
|
||||
"BeginIndexSearchUsingPreviousIndexResult",
|
||||
"BreakpointDataTypeStr",
|
||||
"BreakpointObject",
|
||||
"BreakpointsFirstPoint",
|
||||
"BreakpointsNumPoints",
|
||||
"BreakpointsSpacing",
|
||||
"FractionDataTypeStr",
|
||||
"IndexDataTypeStr",
|
||||
"OutputBusDataTypeStr",
|
||||
"SampleTime"
|
||||
],
|
||||
"values":[
|
||||
"Explicit values",
|
||||
"Dialog",
|
||||
"a_sinElecAngle_XA",
|
||||
"Index and fraction",
|
||||
"Evenly spaced points",
|
||||
"Clip",
|
||||
"off",
|
||||
"None",
|
||||
"off",
|
||||
"[]",
|
||||
"[]",
|
||||
"off",
|
||||
"Simplest",
|
||||
"on",
|
||||
"Inherit: Same as input",
|
||||
"",
|
||||
"10",
|
||||
"11",
|
||||
"10",
|
||||
"Inherit: Inherit via internal rule",
|
||||
"uint8",
|
||||
"Inherit: auto",
|
||||
"-1"
|
||||
],
|
||||
"tabs":[
|
||||
"Main",
|
||||
"Data Types",
|
||||
"-Other"
|
||||
],
|
||||
"tabs_idx":[
|
||||
0,
|
||||
9,
|
||||
13
|
||||
]
|
||||
},
|
||||
"viewer":{
|
||||
"jshandler":"webview/handlers/ElementHandler"
|
||||
},
|
||||
"obj_viewer":[
|
||||
],
|
||||
"finder":{
|
||||
"blocktype":"PreLookup",
|
||||
"masktype":""
|
||||
}
|
||||
},
|
||||
{
|
||||
"sid":"BLDCmotorControl_R2017b:2530:307",
|
||||
"className":"Simulink.ActionPort",
|
||||
"icon":"WebViewIcon2",
|
||||
"name":"Action Port",
|
||||
"label":"Action Port",
|
||||
"parent":"BLDCmotorControl_R2017b:2530:305",
|
||||
"inspector":{
|
||||
"params":[
|
||||
"InitializeStates",
|
||||
"PropagateVarSize"
|
||||
],
|
||||
"values":[
|
||||
"reset",
|
||||
"Only when execution is resumed"
|
||||
],
|
||||
"tabs":[
|
||||
"Parameter Attributes"
|
||||
],
|
||||
"tabs_idx":0
|
||||
},
|
||||
"viewer":{
|
||||
"jshandler":"webview/handlers/ElementHandler"
|
||||
},
|
||||
"obj_viewer":[
|
||||
],
|
||||
"finder":{
|
||||
"blocktype":"ActionPort",
|
||||
"masktype":""
|
||||
}
|
||||
},
|
||||
{
|
||||
"sid":"BLDCmotorControl_R2017b:2530:308#out:1",
|
||||
"className":"Simulink.Line",
|
||||
"icon":"WebViewIcon4",
|
||||
"name":"",
|
||||
"label":"",
|
||||
"parent":"BLDCmotorControl_R2017b:2530:305",
|
||||
"inspector":{
|
||||
"params":[
|
||||
"SignalNameFromLabel",
|
||||
"MustResolveToSignal",
|
||||
"ShowPropagatedSignal",
|
||||
"DataLogging",
|
||||
"TestPoint",
|
||||
"SignalObjectPackage",
|
||||
"StorageClass",
|
||||
"Description",
|
||||
"documentLink"
|
||||
],
|
||||
"values":[
|
||||
"",
|
||||
"off",
|
||||
"off",
|
||||
"off",
|
||||
"off",
|
||||
"Simulink",
|
||||
"Auto",
|
||||
"",
|
||||
""
|
||||
],
|
||||
"tabs":[
|
||||
"Parameter Attributes",
|
||||
"Logging and Accessibility",
|
||||
"Code Generation",
|
||||
"Documentation"
|
||||
],
|
||||
"tabs_idx":[
|
||||
0,
|
||||
3,
|
||||
5,
|
||||
7
|
||||
]
|
||||
},
|
||||
"viewer":{
|
||||
"jshandler":"webview/handlers/ElementHandler"
|
||||
},
|
||||
"obj_viewer":[
|
||||
],
|
||||
"finder":[
|
||||
]
|
||||
},
|
||||
{
|
||||
"sid":"BLDCmotorControl_R2017b:2530:308#out:2",
|
||||
"className":"Simulink.Line",
|
||||
"icon":"WebViewIcon4",
|
||||
"name":"",
|
||||
"label":"",
|
||||
"parent":"BLDCmotorControl_R2017b:2530:305",
|
||||
"inspector":{
|
||||
"params":[
|
||||
"SignalNameFromLabel",
|
||||
"MustResolveToSignal",
|
||||
"ShowPropagatedSignal",
|
||||
"DataLogging",
|
||||
"TestPoint",
|
||||
"SignalObjectPackage",
|
||||
"StorageClass",
|
||||
"Description",
|
||||
"documentLink"
|
||||
],
|
||||
"values":[
|
||||
"",
|
||||
"off",
|
||||
"off",
|
||||
"off",
|
||||
"off",
|
||||
"Simulink",
|
||||
"Auto",
|
||||
"",
|
||||
""
|
||||
],
|
||||
"tabs":[
|
||||
"Parameter Attributes",
|
||||
"Logging and Accessibility",
|
||||
"Code Generation",
|
||||
"Documentation"
|
||||
],
|
||||
"tabs_idx":[
|
||||
0,
|
||||
3,
|
||||
5,
|
||||
7
|
||||
]
|
||||
},
|
||||
"viewer":{
|
||||
"jshandler":"webview/handlers/ElementHandler"
|
||||
},
|
||||
"obj_viewer":[
|
||||
],
|
||||
"finder":[
|
||||
]
|
||||
},
|
||||
{
|
||||
"sid":"BLDCmotorControl_R2017b:2530:309#out:1",
|
||||
"className":"Simulink.Line",
|
||||
"icon":"WebViewIcon4",
|
||||
"name":"",
|
||||
"label":"",
|
||||
"parent":"BLDCmotorControl_R2017b:2530:305",
|
||||
"inspector":{
|
||||
"params":[
|
||||
"SignalNameFromLabel",
|
||||
"MustResolveToSignal",
|
||||
"ShowPropagatedSignal",
|
||||
"DataLogging",
|
||||
"TestPoint",
|
||||
"SignalObjectPackage",
|
||||
"StorageClass",
|
||||
"Description",
|
||||
"documentLink"
|
||||
],
|
||||
"values":[
|
||||
"",
|
||||
"off",
|
||||
"off",
|
||||
"off",
|
||||
"off",
|
||||
"Simulink",
|
||||
"Auto",
|
||||
"",
|
||||
""
|
||||
],
|
||||
"tabs":[
|
||||
"Parameter Attributes",
|
||||
"Logging and Accessibility",
|
||||
"Code Generation",
|
||||
"Documentation"
|
||||
],
|
||||
"tabs_idx":[
|
||||
0,
|
||||
3,
|
||||
5,
|
||||
7
|
||||
]
|
||||
},
|
||||
"viewer":{
|
||||
"jshandler":"webview/handlers/ElementHandler"
|
||||
},
|
||||
"obj_viewer":[
|
||||
],
|
||||
"finder":[
|
||||
]
|
||||
},
|
||||
{
|
||||
"sid":"BLDCmotorControl_R2017b:2530:310#out:1",
|
||||
"className":"Simulink.Line",
|
||||
"icon":"WebViewIcon4",
|
||||
"name":"",
|
||||
"label":"",
|
||||
"parent":"BLDCmotorControl_R2017b:2530:305",
|
||||
"inspector":{
|
||||
"params":[
|
||||
"SignalNameFromLabel",
|
||||
"MustResolveToSignal",
|
||||
"ShowPropagatedSignal",
|
||||
"DataLogging",
|
||||
"TestPoint",
|
||||
"SignalObjectPackage",
|
||||
"StorageClass",
|
||||
"Description",
|
||||
"documentLink"
|
||||
],
|
||||
"values":[
|
||||
"",
|
||||
"off",
|
||||
"off",
|
||||
"off",
|
||||
"off",
|
||||
"Simulink",
|
||||
"Auto",
|
||||
"",
|
||||
""
|
||||
],
|
||||
"tabs":[
|
||||
"Parameter Attributes",
|
||||
"Logging and Accessibility",
|
||||
"Code Generation",
|
||||
"Documentation"
|
||||
],
|
||||
"tabs_idx":[
|
||||
0,
|
||||
3,
|
||||
5,
|
||||
7
|
||||
]
|
||||
},
|
||||
"viewer":{
|
||||
"jshandler":"webview/handlers/ElementHandler"
|
||||
},
|
||||
"obj_viewer":[
|
||||
],
|
||||
"finder":[
|
||||
]
|
||||
},
|
||||
{
|
||||
"sid":"BLDCmotorControl_R2017b:2530:311#out:1",
|
||||
"className":"Simulink.Line",
|
||||
"icon":"WebViewIcon4",
|
||||
"name":"",
|
||||
"label":"",
|
||||
"parent":"BLDCmotorControl_R2017b:2530:305",
|
||||
"inspector":{
|
||||
"params":[
|
||||
"SignalNameFromLabel",
|
||||
"MustResolveToSignal",
|
||||
"ShowPropagatedSignal",
|
||||
"DataLogging",
|
||||
"TestPoint",
|
||||
"SignalObjectPackage",
|
||||
"StorageClass",
|
||||
"Description",
|
||||
"documentLink"
|
||||
],
|
||||
"values":[
|
||||
"",
|
||||
"off",
|
||||
"off",
|
||||
"off",
|
||||
"off",
|
||||
"Simulink",
|
||||
"Auto",
|
||||
"",
|
||||
""
|
||||
],
|
||||
"tabs":[
|
||||
"Parameter Attributes",
|
||||
"Logging and Accessibility",
|
||||
"Code Generation",
|
||||
"Documentation"
|
||||
],
|
||||
"tabs_idx":[
|
||||
0,
|
||||
3,
|
||||
5,
|
||||
7
|
||||
]
|
||||
},
|
||||
"viewer":{
|
||||
"jshandler":"webview/handlers/ElementHandler"
|
||||
},
|
||||
"obj_viewer":[
|
||||
],
|
||||
"finder":[
|
||||
]
|
||||
},
|
||||
{
|
||||
"sid":"BLDCmotorControl_R2017b:2530:306#out:1",
|
||||
"className":"Simulink.Line",
|
||||
"icon":"WebViewIcon4",
|
||||
"name":"",
|
||||
"label":"",
|
||||
"parent":"BLDCmotorControl_R2017b:2530:305",
|
||||
"inspector":{
|
||||
"params":[
|
||||
"SignalNameFromLabel",
|
||||
"MustResolveToSignal",
|
||||
"ShowPropagatedSignal",
|
||||
"DataLogging",
|
||||
"TestPoint",
|
||||
"SignalObjectPackage",
|
||||
"StorageClass",
|
||||
"Description",
|
||||
"documentLink"
|
||||
],
|
||||
"values":[
|
||||
"",
|
||||
"off",
|
||||
"off",
|
||||
"off",
|
||||
"off",
|
||||
"Simulink",
|
||||
"Auto",
|
||||
"",
|
||||
""
|
||||
],
|
||||
"tabs":[
|
||||
"Parameter Attributes",
|
||||
"Logging and Accessibility",
|
||||
"Code Generation",
|
||||
"Documentation"
|
||||
],
|
||||
"tabs_idx":[
|
||||
0,
|
||||
3,
|
||||
5,
|
||||
7
|
||||
]
|
||||
},
|
||||
"viewer":{
|
||||
"jshandler":"webview/handlers/ElementHandler"
|
||||
},
|
||||
"obj_viewer":[
|
||||
],
|
||||
"finder":[
|
||||
]
|
||||
}
|
||||
]
|
Before Width: | Height: | Size: 10 KiB |
Before Width: | Height: | Size: 120 KiB |
@ -1,147 +0,0 @@
|
||||
[
|
||||
{
|
||||
"sid":"BLDCmotorControl_R2017b:2530:351",
|
||||
"className":"Simulink.Terminator",
|
||||
"icon":"WebViewIcon2",
|
||||
"name":"Terminator_1",
|
||||
"label":"Terminator_1",
|
||||
"parent":"BLDCmotorControl_R2017b:2530:349",
|
||||
"inspector":{
|
||||
"params":[
|
||||
],
|
||||
"values":[
|
||||
],
|
||||
"tabs":[
|
||||
],
|
||||
"tabs_idx":[
|
||||
]
|
||||
},
|
||||
"viewer":{
|
||||
"jshandler":"webview/handlers/ElementHandler"
|
||||
},
|
||||
"obj_viewer":[
|
||||
],
|
||||
"finder":{
|
||||
"blocktype":"Terminator",
|
||||
"masktype":""
|
||||
}
|
||||
},
|
||||
{
|
||||
"sid":"BLDCmotorControl_R2017b:2530:350",
|
||||
"className":"Simulink.Inport",
|
||||
"icon":"WebViewIcon2",
|
||||
"name":"r_phaB",
|
||||
"label":"r_phaB",
|
||||
"parent":"BLDCmotorControl_R2017b:2530:349",
|
||||
"inspector":{
|
||||
"params":[
|
||||
"Port",
|
||||
"IconDisplay",
|
||||
"OutMin",
|
||||
"OutMax",
|
||||
"OutDataTypeStr",
|
||||
"LockScale",
|
||||
"Unit",
|
||||
"PortDimensions",
|
||||
"VarSizeSig",
|
||||
"SampleTime",
|
||||
"SignalType",
|
||||
"BusOutputAsStruct",
|
||||
"InputConnect",
|
||||
"Interpolate",
|
||||
"LatchByDelayingOutsideSignal",
|
||||
"LatchInputForFeedbackSignals",
|
||||
"OutputFunctionCall"
|
||||
],
|
||||
"values":[
|
||||
"1",
|
||||
"Port number",
|
||||
"[]",
|
||||
"[]",
|
||||
"Inherit: auto",
|
||||
"off",
|
||||
"inherit",
|
||||
"-1",
|
||||
"Inherit",
|
||||
"-1",
|
||||
"auto",
|
||||
"off",
|
||||
"",
|
||||
"on",
|
||||
"off",
|
||||
"off",
|
||||
"off"
|
||||
],
|
||||
"tabs":[
|
||||
"Main",
|
||||
"Signal Attributes",
|
||||
"-Other"
|
||||
],
|
||||
"tabs_idx":[
|
||||
0,
|
||||
2,
|
||||
11
|
||||
]
|
||||
},
|
||||
"viewer":{
|
||||
"jshandler":"webview/handlers/ElementHandler"
|
||||
},
|
||||
"obj_viewer":[
|
||||
],
|
||||
"finder":{
|
||||
"blocktype":"Inport",
|
||||
"masktype":""
|
||||
}
|
||||
},
|
||||
{
|
||||
"sid":"BLDCmotorControl_R2017b:2530:350#out:1",
|
||||
"className":"Simulink.Line",
|
||||
"icon":"WebViewIcon4",
|
||||
"name":"r_phaB",
|
||||
"label":"r_phaB",
|
||||
"parent":"BLDCmotorControl_R2017b:2530:349",
|
||||
"inspector":{
|
||||
"params":[
|
||||
"SignalNameFromLabel",
|
||||
"MustResolveToSignal",
|
||||
"ShowPropagatedSignal",
|
||||
"DataLogging",
|
||||
"TestPoint",
|
||||
"SignalObjectPackage",
|
||||
"StorageClass",
|
||||
"Description",
|
||||
"documentLink"
|
||||
],
|
||||
"values":[
|
||||
"r_phaB",
|
||||
"off",
|
||||
"off",
|
||||
"on",
|
||||
"off",
|
||||
"Simulink",
|
||||
"Auto",
|
||||
"",
|
||||
""
|
||||
],
|
||||
"tabs":[
|
||||
"Parameter Attributes",
|
||||
"Logging and Accessibility",
|
||||
"Code Generation",
|
||||
"Documentation"
|
||||
],
|
||||
"tabs_idx":[
|
||||
0,
|
||||
3,
|
||||
5,
|
||||
7
|
||||
]
|
||||
},
|
||||
"viewer":{
|
||||
"jshandler":"webview/handlers/ElementHandler"
|
||||
},
|
||||
"obj_viewer":[
|
||||
],
|
||||
"finder":[
|
||||
]
|
||||
}
|
||||
]
|
@ -1,178 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" display="inline" height="43.000000px" preserveAspectRatio="xMinYMin meet" viewBox="16.91 46.00 124.09 43.00" width="124.085938px" x="0" y="0" zoomAndPan="disable">
|
||||
<g fill="none" stroke="black" stroke-width="1" fill-rule="evenodd" stroke-linecap="square" stroke-linejoin="bevel">
|
||||
<!--RAWSTRING-->
|
||||
<g id="background" pointer-events="none">
|
||||
<g clip-path="none" fill="#ffffff" fill-opacity="1" opacity="1" stroke="none" stroke-opacity="0" transform="matrix(1,0,0,1,0,0)">
|
||||
<path d="M17.9141,47 L140,47 L140,88 L17.9141,88 L17.9141,47 z" fill-rule="evenodd" vector-effect="none"/>
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
<g id="BLDCmotorControl_R2017b:2530:349">
|
||||
<!--RAWSTRING-->
|
||||
<g data-tags="blk">
|
||||
<!--RAWSTRING-->
|
||||
<g id="BLDCmotorControl_R2017b:2530:351">
|
||||
<g clip-path="none" fill="#ffffff" fill-opacity="1" opacity="1" stroke="none" stroke-opacity="0" transform="matrix(1,0,0,1,130,60)">
|
||||
<path d="M0,0 L10,0 L10,10 L0,10 L0,0 z" fill-rule="evenodd" vector-effect="none"/>
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
<g data-tags="blk*">
|
||||
<defs>
|
||||
<clipPath id="clip2">
|
||||
<path d="M0,0 L10,0 L10,10 L0,10 L0,0 z"/>
|
||||
</clipPath>
|
||||
</defs>
|
||||
<g clip-path="url(#clip2)" fill="none" opacity="1" stroke="none" stroke-opacity="0" transform="matrix(1,0,0,1,130,60)">
|
||||
<path d="M0,0 L10,0 L10,10 L0,10 L0,0 z" fill-rule="evenodd" vector-effect="none"/>
|
||||
</g>
|
||||
<defs>
|
||||
<clipPath id="clip7">
|
||||
<path d="M1,1 L11,1 L11,11 L1,11 L1,1 z"/>
|
||||
</clipPath>
|
||||
</defs>
|
||||
<g clip-path="url(#clip7)" fill="none" opacity="1" stroke="#000000" stroke-linecap="round" stroke-linejoin="round" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,129,59)">
|
||||
<path d="M2.5,3.5 L7.5,3.5 L7.5,8.5 L2.5,8.5" fill-rule="nonzero" vector-effect="none"/>
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
<g data-tags="blk*">
|
||||
<g clip-path="none" fill="none" opacity="1" stroke="#000000" stroke-linecap="butt" stroke-linejoin="miter" stroke-miterlimit="2" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,130,60)">
|
||||
<path d="M-1,5 L6.45,5 L6.45,5" fill-rule="evenodd" vector-effect="none"/>
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
<g data-tags="blk">
|
||||
<!--RAWSTRING-->
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
<g data-tags="blk frame">
|
||||
<g clip-path="none" fill="none" opacity="1" stroke="none" stroke-opacity="0" transform="matrix(1,0,0,1,130,60)">
|
||||
<path d="M0,0 L10,0 L10,10 L0,10 L0,0 z" fill-rule="evenodd" vector-effect="none"/>
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
<g data-tags="blk">
|
||||
<!--RAWSTRING-->
|
||||
<g id="BLDCmotorControl_R2017b:2530:350">
|
||||
<g clip-path="none" fill="none" opacity="0.65098" stroke="#000000" stroke-linecap="square" stroke-linejoin="bevel" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,19,57)">
|
||||
<image height="22" preserveAspectRatio="none" width="38" x="0" xlink:href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACYAAAAWCAYAAACsR+4DAAAACXBIWXMAAA7EAAAOxAGVKw4bAAABo0lEQVRIie2WXU8CMRBFD+uCgqKJQsQXiYn//z/5hAZC+HLlYwUf5ja7WYbgCsQXJpkU2tI5vZ1OqQAvwD3QAtpq74A6UAMioEI52wBrYAl8AWNgAPTVDtU305wtiwXVAZ7kHeDWAfst3MYBmwBN4Eox0XgqX3tgLQE9A12BBcWqwEUJqDzcN7AiU+xG6yGYJTAHFvItsLbAusBrAexYigUwBDsHEuwoP3eBtYBHAXWAB6ChsbJKkdtEhKldJTu+GTCVj7BcqzprEGP5lPfGrsl/hKxqzVUhTpNMgC2LsOO6zLXuxAMt1vrFWDVMVRfsv23jdUZYgi5ybXqC4OEWFmMtcUpFAJsUPMHywd1JSdtorcSJM1W/K0SMVeKmPFzplOOXi3f5B/YCjMlEcMH6WEUON3HGaQrsO/AG9DAxRvvABmQ3cSWwYz9JY0ypXg5sorGdYEN9TrGKPOU0ioUHPDziE8Vzkz/Wj8LuEkzifKE9FCwk/lhr5xPfVQsFrGE5VhfMtdpj/u1JsDcx0fc5e25+CBhh6nh+qGKeu8d3trOdDfgBs5ixBRXsvc4AAAAASUVORK5CYII=" y="0"/>
|
||||
</g>
|
||||
<g clip-path="none" fill="#00d100" fill-opacity="1" opacity="1" stroke="none" stroke-opacity="0" transform="matrix(1,0,0,1,20,58)">
|
||||
<path d="M7,0 L23,0 C26.866,0 30,3.13401 30,7 C30,10.866 26.866,14 23,14 L7,14 C3.13401,14 0,10.866 0,7 C0,3.13401 3.13401,0 7,0 z" fill-rule="nonzero" vector-effect="none"/>
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
<g data-tags="blk">
|
||||
<defs>
|
||||
<clipPath id="clip19">
|
||||
<path d="M-15,-7 L15,-7 L15,7 L-15,7 L-15,-7 z"/>
|
||||
</clipPath>
|
||||
</defs>
|
||||
<g clip-path="url(#clip19)" fill="none" opacity="1" stroke="#000000" stroke-linecap="butt" stroke-linejoin="miter" stroke-miterlimit="2" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,35,65)">
|
||||
<text fill="#000000" fill-opacity="1" font-family="Arial" font-size="10" font-style="normal" font-weight="400" stroke="none" textLength="5.54688" x="-2.76562" xml:space="preserve" y="3.5">1</text>
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
<g data-tags="blk frame">
|
||||
<g clip-path="none" fill="none" opacity="1" stroke="#000000" stroke-linecap="butt" stroke-linejoin="miter" stroke-miterlimit="2" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,20,58)">
|
||||
<path d="M7,0 L23,0 C26.866,0 30,3.13401 30,7 C30,10.866 26.866,14 23,14 L7,14 C3.13401,14 0,10.866 0,7 C0,3.13401 3.13401,0 7,0 z" fill-rule="nonzero" vector-effect="none"/>
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
<g data-tags="blk BlockName">
|
||||
<g clip-path="none" fill="none" opacity="1" stroke="none" stroke-opacity="0" transform="matrix(1,0,0,1,35,74)">
|
||||
<path d="M-17.0859,0 L17.0859,0 L17.0859,14 L-17.0859,14 L-17.0859,0 z" fill-rule="evenodd" vector-effect="none"/>
|
||||
</g>
|
||||
<defs>
|
||||
<clipPath id="clip20">
|
||||
<path d="M0,-27 L124.086,-27 L124.086,14 L0,14 L0,-27 z"/>
|
||||
</clipPath>
|
||||
</defs>
|
||||
<g clip-path="url(#clip20)" fill="none" opacity="1" stroke="#000000" stroke-linecap="square" stroke-linejoin="bevel" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,17.9141,74)">
|
||||
<text fill="#000000" fill-opacity="1" font-family="Arial" font-size="10" font-style="normal" font-weight="400" stroke="none" textLength="32.1719" x="1" xml:space="preserve" y="10">r_phaB</text>
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
<g data-tags="portannotationpanel PortDataTypeString">
|
||||
<g clip-path="none" fill="none" opacity="1" stroke="none" stroke-opacity="0" transform="matrix(1,0,0,1,70,63)">
|
||||
<path d="M0,-12 L21.4844,-12 L21.4844,0 L0,0 L0,-12 z" fill-rule="evenodd" vector-effect="none"/>
|
||||
</g>
|
||||
<defs>
|
||||
<clipPath id="clip21">
|
||||
<path d="M-52.0859,-4 L72,-4 L72,37 L-52.0859,37 L-52.0859,-4 z"/>
|
||||
</clipPath>
|
||||
</defs>
|
||||
<g clip-path="url(#clip21)" fill="none" opacity="1" stroke="#000000" stroke-linecap="square" stroke-linejoin="bevel" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,70,51)">
|
||||
<text fill="#000000" fill-opacity="1" font-family="Arial" font-size="9" font-style="normal" font-weight="400" stroke="none" textLength="19.4844" x="1" xml:space="preserve" y="9">int16</text>
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
<g id="BLDCmotorControl_R2017b:2530:350#out:1">
|
||||
<!--RAWSTRING-->
|
||||
<g data-tags="PathIntersectionsEnabledTag">
|
||||
<g clip-path="none" fill="#000000" fill-opacity="1" opacity="1" stroke="none" stroke-opacity="0" transform="matrix(1,0,0,1,130,65)">
|
||||
<path d="M0,0 L-8,-4 L-8,4 L0,0 z" fill-rule="nonzero" vector-effect="none"/>
|
||||
</g>
|
||||
<g clip-path="none" fill="none" opacity="1" stroke="#000000" stroke-linecap="butt" stroke-linejoin="miter" stroke-miterlimit="2" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,0,0)">
|
||||
<path d="M50,65 L122,65" fill-rule="evenodd" vector-effect="none"/>
|
||||
</g>
|
||||
<g clip-path="none" fill="none" opacity="1" stroke="none" stroke-opacity="0" transform="matrix(1,0,0,1,85,66.5)">
|
||||
<path d="M-15.4922,0 L15.4922,0 L15.4922,12 L-15.4922,12 L-15.4922,0 z" fill-rule="evenodd" vector-effect="none"/>
|
||||
</g>
|
||||
<defs>
|
||||
<clipPath id="clip22">
|
||||
<path d="M-51.5938,-19.5 L72.4922,-19.5 L72.4922,21.5 L-51.5938,21.5 L-51.5938,-19.5 z"/>
|
||||
</clipPath>
|
||||
</defs>
|
||||
<g clip-path="url(#clip22)" fill="none" opacity="1" stroke="#000000" stroke-linecap="square" stroke-linejoin="bevel" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,69.5078,66.5)">
|
||||
<text fill="#000000" fill-opacity="1" font-family="Arial" font-size="9" font-style="normal" font-weight="400" stroke="none" textLength="28.9844" x="1" xml:space="preserve" y="9">r_phaB</text>
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
<g data-tags="layout">
|
||||
<defs>
|
||||
<clipPath id="clip24">
|
||||
<path d="M0,-18 L18,-18 L18,0 L0,0 L0,-18 z"/>
|
||||
</clipPath>
|
||||
</defs>
|
||||
<g clip-path="url(#clip24)" fill="none" opacity="1" stroke="none" stroke-opacity="0" transform="matrix(1,0,0,1,50,65)">
|
||||
<path d="M0,-16 C0,-17.1046 0.895431,-18 2,-18 L16,-18 C17.1046,-18 18,-17.1046 18,-16 L18,-2 C18,-0.895431 17.1046,0 16,0 L2,0 C0.895431,0 0,-0.895431 0,-2 L0,-16 z" fill-rule="evenodd" vector-effect="none"/>
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
<g data-tags="SignalObserve tooltip contextMenu">
|
||||
<defs>
|
||||
<clipPath id="clip25">
|
||||
<path d="M-2,-2 L16,-2 L16,16 L-2,16 L-2,-2 z"/>
|
||||
</clipPath>
|
||||
</defs>
|
||||
<g clip-path="url(#clip25)" fill="none" opacity="0.4" stroke="none" stroke-opacity="0" transform="matrix(1,0,0,1,52,49)">
|
||||
<image height="16" preserveAspectRatio="none" width="16" x="-1" xlink:href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAACXBIWXMAAA7EAAAOxAGVKw4bAAABXUlEQVQ4jcWQv0sCYRzGnzsz2iIaHIyKREj6B4rmnFyiJGhwktxqkXAJHKK1oQguhLAxIoiiX7SEIA22SJtw1VBhQ3V473v33nu+b1Mi6IkU0Wf7fp+H5/sD+G+U5iKblepNX2GGcDdOmQhbzBmDZSuS2bq0bF0y63xwoOfobjfFWwIWdm4nCa/nKXNrhIk96vB7SqTuk4YQ1B2uEysMxhYFsycUx0k+XmQuGwEJrTTs1HmBcLF8sjJ93GnlkdjmFLi9D+lGn67WHhrCklbyd314/MDX9gcAENdK/e8GTX1YfN6gPCxNEzDNiiC1Q/WTaPp1xmj2q81FIl8MCs7LACJSIs0chJxeEZJAWpVKRPhRHoqtBztuN7dVHPfSRqMbntqPafnBN7PbxVilSnL09Q14eU7qZ6un7XxquyYASIEcgACAgFCQ8/J5BnSLZ4CiIgmgCqCqSiR/O+jv+ALWHqC6dVXKGAAAAABJRU5ErkJggg==" y="-1"/>
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
</g>
|
||||
</g>
|
||||
<!--generated on windows @ 2019-05-28 19:55:50 W. Europe Daylight Time-->
|
||||
</svg>
|
Before Width: | Height: | Size: 11 KiB |
@ -1,147 +0,0 @@
|
||||
[
|
||||
{
|
||||
"sid":"BLDCmotorControl_R2017b:2530:36",
|
||||
"className":"Simulink.Terminator",
|
||||
"icon":"WebViewIcon2",
|
||||
"name":"Terminator_1",
|
||||
"label":"Terminator_1",
|
||||
"parent":"BLDCmotorControl_R2017b:2530:34",
|
||||
"inspector":{
|
||||
"params":[
|
||||
],
|
||||
"values":[
|
||||
],
|
||||
"tabs":[
|
||||
],
|
||||
"tabs_idx":[
|
||||
]
|
||||
},
|
||||
"viewer":{
|
||||
"jshandler":"webview/handlers/ElementHandler"
|
||||
},
|
||||
"obj_viewer":[
|
||||
],
|
||||
"finder":{
|
||||
"blocktype":"Terminator",
|
||||
"masktype":""
|
||||
}
|
||||
},
|
||||
{
|
||||
"sid":"BLDCmotorControl_R2017b:2530:35",
|
||||
"className":"Simulink.Inport",
|
||||
"icon":"WebViewIcon2",
|
||||
"name":"b_edge",
|
||||
"label":"b_edge",
|
||||
"parent":"BLDCmotorControl_R2017b:2530:34",
|
||||
"inspector":{
|
||||
"params":[
|
||||
"Port",
|
||||
"IconDisplay",
|
||||
"OutMin",
|
||||
"OutMax",
|
||||
"OutDataTypeStr",
|
||||
"LockScale",
|
||||
"Unit",
|
||||
"PortDimensions",
|
||||
"VarSizeSig",
|
||||
"SampleTime",
|
||||
"SignalType",
|
||||
"BusOutputAsStruct",
|
||||
"InputConnect",
|
||||
"Interpolate",
|
||||
"LatchByDelayingOutsideSignal",
|
||||
"LatchInputForFeedbackSignals",
|
||||
"OutputFunctionCall"
|
||||
],
|
||||
"values":[
|
||||
"1",
|
||||
"Port number",
|
||||
"[]",
|
||||
"[]",
|
||||
"Inherit: auto",
|
||||
"off",
|
||||
"inherit",
|
||||
"-1",
|
||||
"Inherit",
|
||||
"-1",
|
||||
"auto",
|
||||
"off",
|
||||
"",
|
||||
"on",
|
||||
"off",
|
||||
"off",
|
||||
"off"
|
||||
],
|
||||
"tabs":[
|
||||
"Main",
|
||||
"Signal Attributes",
|
||||
"-Other"
|
||||
],
|
||||
"tabs_idx":[
|
||||
0,
|
||||
2,
|
||||
11
|
||||
]
|
||||
},
|
||||
"viewer":{
|
||||
"jshandler":"webview/handlers/ElementHandler"
|
||||
},
|
||||
"obj_viewer":[
|
||||
],
|
||||
"finder":{
|
||||
"blocktype":"Inport",
|
||||
"masktype":""
|
||||
}
|
||||
},
|
||||
{
|
||||
"sid":"BLDCmotorControl_R2017b:2530:35#out:1",
|
||||
"className":"Simulink.Line",
|
||||
"icon":"WebViewIcon4",
|
||||
"name":"b_edge",
|
||||
"label":"b_edge",
|
||||
"parent":"BLDCmotorControl_R2017b:2530:34",
|
||||
"inspector":{
|
||||
"params":[
|
||||
"SignalNameFromLabel",
|
||||
"MustResolveToSignal",
|
||||
"ShowPropagatedSignal",
|
||||
"DataLogging",
|
||||
"TestPoint",
|
||||
"SignalObjectPackage",
|
||||
"StorageClass",
|
||||
"Description",
|
||||
"documentLink"
|
||||
],
|
||||
"values":[
|
||||
"b_edge",
|
||||
"off",
|
||||
"off",
|
||||
"on",
|
||||
"off",
|
||||
"Simulink",
|
||||
"Auto",
|
||||
"",
|
||||
""
|
||||
],
|
||||
"tabs":[
|
||||
"Parameter Attributes",
|
||||
"Logging and Accessibility",
|
||||
"Code Generation",
|
||||
"Documentation"
|
||||
],
|
||||
"tabs_idx":[
|
||||
0,
|
||||
3,
|
||||
5,
|
||||
7
|
||||
]
|
||||
},
|
||||
"viewer":{
|
||||
"jshandler":"webview/handlers/ElementHandler"
|
||||
},
|
||||
"obj_viewer":[
|
||||
],
|
||||
"finder":[
|
||||
]
|
||||
}
|
||||
]
|
Before Width: | Height: | Size: 6.5 KiB |
@ -1,178 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" display="inline" height="43.000000px" preserveAspectRatio="xMinYMin meet" viewBox="16.36 46.00 124.64 43.00" width="124.640625px" x="0" y="0" zoomAndPan="disable">
|
||||
<g fill="none" stroke="black" stroke-width="1" fill-rule="evenodd" stroke-linecap="square" stroke-linejoin="bevel">
|
||||
<!--RAWSTRING-->
|
||||
<g id="background" pointer-events="none">
|
||||
<g clip-path="none" fill="#ffffff" fill-opacity="1" opacity="1" stroke="none" stroke-opacity="0" transform="matrix(1,0,0,1,0,0)">
|
||||
<path d="M17.3594,47 L140,47 L140,88 L17.3594,88 L17.3594,47 z" fill-rule="evenodd" vector-effect="none"/>
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
<g id="BLDCmotorControl_R2017b:2530:34">
|
||||
<!--RAWSTRING-->
|
||||
<g data-tags="blk">
|
||||
<!--RAWSTRING-->
|
||||
<g id="BLDCmotorControl_R2017b:2530:36">
|
||||
<g clip-path="none" fill="#ffffff" fill-opacity="1" opacity="1" stroke="none" stroke-opacity="0" transform="matrix(1,0,0,1,130,60)">
|
||||
<path d="M0,0 L10,0 L10,10 L0,10 L0,0 z" fill-rule="evenodd" vector-effect="none"/>
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
<g data-tags="blk*">
|
||||
<defs>
|
||||
<clipPath id="clip2">
|
||||
<path d="M0,0 L10,0 L10,10 L0,10 L0,0 z"/>
|
||||
</clipPath>
|
||||
</defs>
|
||||
<g clip-path="url(#clip2)" fill="none" opacity="1" stroke="none" stroke-opacity="0" transform="matrix(1,0,0,1,130,60)">
|
||||
<path d="M0,0 L10,0 L10,10 L0,10 L0,0 z" fill-rule="evenodd" vector-effect="none"/>
|
||||
</g>
|
||||
<defs>
|
||||
<clipPath id="clip7">
|
||||
<path d="M1,1 L11,1 L11,11 L1,11 L1,1 z"/>
|
||||
</clipPath>
|
||||
</defs>
|
||||
<g clip-path="url(#clip7)" fill="none" opacity="1" stroke="#000000" stroke-linecap="round" stroke-linejoin="round" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,129,59)">
|
||||
<path d="M2.5,3.5 L7.5,3.5 L7.5,8.5 L2.5,8.5" fill-rule="nonzero" vector-effect="none"/>
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
<g data-tags="blk*">
|
||||
<g clip-path="none" fill="none" opacity="1" stroke="#000000" stroke-linecap="butt" stroke-linejoin="miter" stroke-miterlimit="2" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,130,60)">
|
||||
<path d="M-1,5 L6.45,5 L6.45,5" fill-rule="evenodd" vector-effect="none"/>
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
<g data-tags="blk">
|
||||
<!--RAWSTRING-->
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
<g data-tags="blk frame">
|
||||
<g clip-path="none" fill="none" opacity="1" stroke="none" stroke-opacity="0" transform="matrix(1,0,0,1,130,60)">
|
||||
<path d="M0,0 L10,0 L10,10 L0,10 L0,0 z" fill-rule="evenodd" vector-effect="none"/>
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
<g data-tags="blk">
|
||||
<!--RAWSTRING-->
|
||||
<g id="BLDCmotorControl_R2017b:2530:35">
|
||||
<g clip-path="none" fill="none" opacity="0.65098" stroke="#000000" stroke-linecap="square" stroke-linejoin="bevel" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,19,57)">
|
||||
<image height="22" preserveAspectRatio="none" width="38" x="0" xlink:href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACYAAAAWCAYAAACsR+4DAAAACXBIWXMAAA7EAAAOxAGVKw4bAAABo0lEQVRIie2WXU8CMRBFD+uCgqKJQsQXiYn//z/5hAZC+HLlYwUf5ja7WYbgCsQXJpkU2tI5vZ1OqQAvwD3QAtpq74A6UAMioEI52wBrYAl8AWNgAPTVDtU305wtiwXVAZ7kHeDWAfst3MYBmwBN4Eox0XgqX3tgLQE9A12BBcWqwEUJqDzcN7AiU+xG6yGYJTAHFvItsLbAusBrAexYigUwBDsHEuwoP3eBtYBHAXWAB6ChsbJKkdtEhKldJTu+GTCVj7BcqzprEGP5lPfGrsl/hKxqzVUhTpNMgC2LsOO6zLXuxAMt1vrFWDVMVRfsv23jdUZYgi5ybXqC4OEWFmMtcUpFAJsUPMHywd1JSdtorcSJM1W/K0SMVeKmPFzplOOXi3f5B/YCjMlEcMH6WEUON3HGaQrsO/AG9DAxRvvABmQ3cSWwYz9JY0ypXg5sorGdYEN9TrGKPOU0ioUHPDziE8Vzkz/Wj8LuEkzifKE9FCwk/lhr5xPfVQsFrGE5VhfMtdpj/u1JsDcx0fc5e25+CBhh6nh+qGKeu8d3trOdDfgBs5ixBRXsvc4AAAAASUVORK5CYII=" y="0"/>
|
||||
</g>
|
||||
<g clip-path="none" fill="#00d100" fill-opacity="1" opacity="1" stroke="none" stroke-opacity="0" transform="matrix(1,0,0,1,20,58)">
|
||||
<path d="M7,0 L23,0 C26.866,0 30,3.13401 30,7 C30,10.866 26.866,14 23,14 L7,14 C3.13401,14 0,10.866 0,7 C0,3.13401 3.13401,0 7,0 z" fill-rule="nonzero" vector-effect="none"/>
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
<g data-tags="blk">
|
||||
<defs>
|
||||
<clipPath id="clip19">
|
||||
<path d="M-15,-7 L15,-7 L15,7 L-15,7 L-15,-7 z"/>
|
||||
</clipPath>
|
||||
</defs>
|
||||
<g clip-path="url(#clip19)" fill="none" opacity="1" stroke="#000000" stroke-linecap="butt" stroke-linejoin="miter" stroke-miterlimit="2" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,35,65)">
|
||||
<text fill="#000000" fill-opacity="1" font-family="Arial" font-size="10" font-style="normal" font-weight="400" stroke="none" textLength="5.54688" x="-2.76562" xml:space="preserve" y="3.5">1</text>
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
<g data-tags="blk frame">
|
||||
<g clip-path="none" fill="none" opacity="1" stroke="#000000" stroke-linecap="butt" stroke-linejoin="miter" stroke-miterlimit="2" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,20,58)">
|
||||
<path d="M7,0 L23,0 C26.866,0 30,3.13401 30,7 C30,10.866 26.866,14 23,14 L7,14 C3.13401,14 0,10.866 0,7 C0,3.13401 3.13401,0 7,0 z" fill-rule="nonzero" vector-effect="none"/>
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
<g data-tags="blk BlockName">
|
||||
<g clip-path="none" fill="none" opacity="1" stroke="none" stroke-opacity="0" transform="matrix(1,0,0,1,35,74)">
|
||||
<path d="M-17.6406,0 L17.6406,0 L17.6406,14 L-17.6406,14 L-17.6406,0 z" fill-rule="evenodd" vector-effect="none"/>
|
||||
</g>
|
||||
<defs>
|
||||
<clipPath id="clip20">
|
||||
<path d="M0,-27 L124.641,-27 L124.641,14 L0,14 L0,-27 z"/>
|
||||
</clipPath>
|
||||
</defs>
|
||||
<g clip-path="url(#clip20)" fill="none" opacity="1" stroke="#000000" stroke-linecap="square" stroke-linejoin="bevel" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,17.3594,74)">
|
||||
<text fill="#000000" fill-opacity="1" font-family="Arial" font-size="10" font-style="normal" font-weight="400" stroke="none" textLength="33.2812" x="1" xml:space="preserve" y="10">b_edge</text>
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
<g data-tags="portannotationpanel PortDataTypeString">
|
||||
<g clip-path="none" fill="none" opacity="1" stroke="none" stroke-opacity="0" transform="matrix(1,0,0,1,70,63)">
|
||||
<path d="M0,-12 L33.9844,-12 L33.9844,0 L0,0 L0,-12 z" fill-rule="evenodd" vector-effect="none"/>
|
||||
</g>
|
||||
<defs>
|
||||
<clipPath id="clip21">
|
||||
<path d="M-52.6406,-4 L72,-4 L72,37 L-52.6406,37 L-52.6406,-4 z"/>
|
||||
</clipPath>
|
||||
</defs>
|
||||
<g clip-path="url(#clip21)" fill="none" opacity="1" stroke="#000000" stroke-linecap="square" stroke-linejoin="bevel" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,70,51)">
|
||||
<text fill="#000000" fill-opacity="1" font-family="Arial" font-size="9" font-style="normal" font-weight="400" stroke="none" textLength="31.9844" x="1" xml:space="preserve" y="9">boolean</text>
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
<g id="BLDCmotorControl_R2017b:2530:35#out:1">
|
||||
<!--RAWSTRING-->
|
||||
<g data-tags="PathIntersectionsEnabledTag">
|
||||
<g clip-path="none" fill="#000000" fill-opacity="1" opacity="1" stroke="none" stroke-opacity="0" transform="matrix(1,0,0,1,130,65)">
|
||||
<path d="M0,0 L-8,-4 L-8,4 L0,0 z" fill-rule="nonzero" vector-effect="none"/>
|
||||
</g>
|
||||
<g clip-path="none" fill="none" opacity="1" stroke="#000000" stroke-linecap="butt" stroke-linejoin="miter" stroke-miterlimit="2" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,0,0)">
|
||||
<path d="M50,65 L122,65" fill-rule="evenodd" vector-effect="none"/>
|
||||
</g>
|
||||
<g clip-path="none" fill="none" opacity="1" stroke="none" stroke-opacity="0" transform="matrix(1,0,0,1,85,66.5)">
|
||||
<path d="M-16,0 L16,0 L16,12 L-16,12 L-16,0 z" fill-rule="evenodd" vector-effect="none"/>
|
||||
</g>
|
||||
<defs>
|
||||
<clipPath id="clip22">
|
||||
<path d="M-51.6406,-19.5 L73,-19.5 L73,21.5 L-51.6406,21.5 L-51.6406,-19.5 z"/>
|
||||
</clipPath>
|
||||
</defs>
|
||||
<g clip-path="url(#clip22)" fill="none" opacity="1" stroke="#000000" stroke-linecap="square" stroke-linejoin="bevel" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,69,66.5)">
|
||||
<text fill="#000000" fill-opacity="1" font-family="Arial" font-size="9" font-style="normal" font-weight="400" stroke="none" textLength="30" x="1" xml:space="preserve" y="9">b_edge</text>
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
<g data-tags="layout">
|
||||
<defs>
|
||||
<clipPath id="clip24">
|
||||
<path d="M0,-18 L18,-18 L18,0 L0,0 L0,-18 z"/>
|
||||
</clipPath>
|
||||
</defs>
|
||||
<g clip-path="url(#clip24)" fill="none" opacity="1" stroke="none" stroke-opacity="0" transform="matrix(1,0,0,1,50,65)">
|
||||
<path d="M0,-16 C0,-17.1046 0.895431,-18 2,-18 L16,-18 C17.1046,-18 18,-17.1046 18,-16 L18,-2 C18,-0.895431 17.1046,0 16,0 L2,0 C0.895431,0 0,-0.895431 0,-2 L0,-16 z" fill-rule="evenodd" vector-effect="none"/>
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
<g data-tags="SignalObserve tooltip contextMenu">
|
||||
<defs>
|
||||
<clipPath id="clip25">
|
||||
<path d="M-2,-2 L16,-2 L16,16 L-2,16 L-2,-2 z"/>
|
||||
</clipPath>
|
||||
</defs>
|
||||
<g clip-path="url(#clip25)" fill="none" opacity="0.4" stroke="none" stroke-opacity="0" transform="matrix(1,0,0,1,52,49)">
|
||||
<image height="16" preserveAspectRatio="none" width="16" x="-1" xlink:href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAACXBIWXMAAA7EAAAOxAGVKw4bAAABXUlEQVQ4jcWQv0sCYRzGnzsz2iIaHIyKREj6B4rmnFyiJGhwktxqkXAJHKK1oQguhLAxIoiiX7SEIA22SJtw1VBhQ3V473v33nu+b1Mi6IkU0Wf7fp+H5/sD+G+U5iKblepNX2GGcDdOmQhbzBmDZSuS2bq0bF0y63xwoOfobjfFWwIWdm4nCa/nKXNrhIk96vB7SqTuk4YQ1B2uEysMxhYFsycUx0k+XmQuGwEJrTTs1HmBcLF8sjJ93GnlkdjmFLi9D+lGn67WHhrCklbyd314/MDX9gcAENdK/e8GTX1YfN6gPCxNEzDNiiC1Q/WTaPp1xmj2q81FIl8MCs7LACJSIs0chJxeEZJAWpVKRPhRHoqtBztuN7dVHPfSRqMbntqPafnBN7PbxVilSnL09Q14eU7qZ6un7XxquyYASIEcgACAgFCQ8/J5BnSLZ4CiIgmgCqCqSiR/O+jv+ALWHqC6dVXKGAAAAABJRU5ErkJggg==" y="-1"/>
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
</g>
|
||||
</g>
|
||||
<!--generated on windows @ 2019-05-28 19:55:43 W. Europe Daylight Time-->
|
||||
</svg>
|
Before Width: | Height: | Size: 11 KiB |
@ -1,178 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" display="inline" height="43.000000px" preserveAspectRatio="xMinYMin meet" viewBox="16.63 46.00 124.37 43.00" width="124.367188px" x="0" y="0" zoomAndPan="disable">
|
||||
<g fill="none" stroke="black" stroke-width="1" fill-rule="evenodd" stroke-linecap="square" stroke-linejoin="bevel">
|
||||
<!--RAWSTRING-->
|
||||
<g id="background" pointer-events="none">
|
||||
<g clip-path="none" fill="#ffffff" fill-opacity="1" opacity="1" stroke="none" stroke-opacity="0" transform="matrix(1,0,0,1,0,0)">
|
||||
<path d="M17.6328,47 L140,47 L140,88 L17.6328,88 L17.6328,47 z" fill-rule="evenodd" vector-effect="none"/>
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
<g id="BLDCmotorControl_R2017b:2530:352">
|
||||
<!--RAWSTRING-->
|
||||
<g data-tags="blk">
|
||||
<!--RAWSTRING-->
|
||||
<g id="BLDCmotorControl_R2017b:2530:354">
|
||||
<g clip-path="none" fill="#ffffff" fill-opacity="1" opacity="1" stroke="none" stroke-opacity="0" transform="matrix(1,0,0,1,130,60)">
|
||||
<path d="M0,0 L10,0 L10,10 L0,10 L0,0 z" fill-rule="evenodd" vector-effect="none"/>
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
<g data-tags="blk*">
|
||||
<defs>
|
||||
<clipPath id="clip2">
|
||||
<path d="M0,0 L10,0 L10,10 L0,10 L0,0 z"/>
|
||||
</clipPath>
|
||||
</defs>
|
||||
<g clip-path="url(#clip2)" fill="none" opacity="1" stroke="none" stroke-opacity="0" transform="matrix(1,0,0,1,130,60)">
|
||||
<path d="M0,0 L10,0 L10,10 L0,10 L0,0 z" fill-rule="evenodd" vector-effect="none"/>
|
||||
</g>
|
||||
<defs>
|
||||
<clipPath id="clip7">
|
||||
<path d="M1,1 L11,1 L11,11 L1,11 L1,1 z"/>
|
||||
</clipPath>
|
||||
</defs>
|
||||
<g clip-path="url(#clip7)" fill="none" opacity="1" stroke="#000000" stroke-linecap="round" stroke-linejoin="round" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,129,59)">
|
||||
<path d="M2.5,3.5 L7.5,3.5 L7.5,8.5 L2.5,8.5" fill-rule="nonzero" vector-effect="none"/>
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
<g data-tags="blk*">
|
||||
<g clip-path="none" fill="none" opacity="1" stroke="#000000" stroke-linecap="butt" stroke-linejoin="miter" stroke-miterlimit="2" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,130,60)">
|
||||
<path d="M-1,5 L6.45,5 L6.45,5" fill-rule="evenodd" vector-effect="none"/>
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
<g data-tags="blk">
|
||||
<!--RAWSTRING-->
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
<g data-tags="blk frame">
|
||||
<g clip-path="none" fill="none" opacity="1" stroke="none" stroke-opacity="0" transform="matrix(1,0,0,1,130,60)">
|
||||
<path d="M0,0 L10,0 L10,10 L0,10 L0,0 z" fill-rule="evenodd" vector-effect="none"/>
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
<g data-tags="blk">
|
||||
<!--RAWSTRING-->
|
||||
<g id="BLDCmotorControl_R2017b:2530:353">
|
||||
<g clip-path="none" fill="none" opacity="0.65098" stroke="#000000" stroke-linecap="square" stroke-linejoin="bevel" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,19,57)">
|
||||
<image height="22" preserveAspectRatio="none" width="38" x="0" xlink:href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACYAAAAWCAYAAACsR+4DAAAACXBIWXMAAA7EAAAOxAGVKw4bAAABo0lEQVRIie2WXU8CMRBFD+uCgqKJQsQXiYn//z/5hAZC+HLlYwUf5ja7WYbgCsQXJpkU2tI5vZ1OqQAvwD3QAtpq74A6UAMioEI52wBrYAl8AWNgAPTVDtU305wtiwXVAZ7kHeDWAfst3MYBmwBN4Eox0XgqX3tgLQE9A12BBcWqwEUJqDzcN7AiU+xG6yGYJTAHFvItsLbAusBrAexYigUwBDsHEuwoP3eBtYBHAXWAB6ChsbJKkdtEhKldJTu+GTCVj7BcqzprEGP5lPfGrsl/hKxqzVUhTpNMgC2LsOO6zLXuxAMt1vrFWDVMVRfsv23jdUZYgi5ybXqC4OEWFmMtcUpFAJsUPMHywd1JSdtorcSJM1W/K0SMVeKmPFzplOOXi3f5B/YCjMlEcMH6WEUON3HGaQrsO/AG9DAxRvvABmQ3cSWwYz9JY0ypXg5sorGdYEN9TrGKPOU0ioUHPDziE8Vzkz/Wj8LuEkzifKE9FCwk/lhr5xPfVQsFrGE5VhfMtdpj/u1JsDcx0fc5e25+CBhh6nh+qGKeu8d3trOdDfgBs5ixBRXsvc4AAAAASUVORK5CYII=" y="0"/>
|
||||
</g>
|
||||
<g clip-path="none" fill="#00d100" fill-opacity="1" opacity="1" stroke="none" stroke-opacity="0" transform="matrix(1,0,0,1,20,58)">
|
||||
<path d="M7,0 L23,0 C26.866,0 30,3.13401 30,7 C30,10.866 26.866,14 23,14 L7,14 C3.13401,14 0,10.866 0,7 C0,3.13401 3.13401,0 7,0 z" fill-rule="nonzero" vector-effect="none"/>
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
<g data-tags="blk">
|
||||
<defs>
|
||||
<clipPath id="clip19">
|
||||
<path d="M-15,-7 L15,-7 L15,7 L-15,7 L-15,-7 z"/>
|
||||
</clipPath>
|
||||
</defs>
|
||||
<g clip-path="url(#clip19)" fill="none" opacity="1" stroke="#000000" stroke-linecap="butt" stroke-linejoin="miter" stroke-miterlimit="2" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,35,65)">
|
||||
<text fill="#000000" fill-opacity="1" font-family="Arial" font-size="10" font-style="normal" font-weight="400" stroke="none" textLength="5.54688" x="-2.76562" xml:space="preserve" y="3.5">1</text>
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
<g data-tags="blk frame">
|
||||
<g clip-path="none" fill="none" opacity="1" stroke="#000000" stroke-linecap="butt" stroke-linejoin="miter" stroke-miterlimit="2" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,20,58)">
|
||||
<path d="M7,0 L23,0 C26.866,0 30,3.13401 30,7 C30,10.866 26.866,14 23,14 L7,14 C3.13401,14 0,10.866 0,7 C0,3.13401 3.13401,0 7,0 z" fill-rule="nonzero" vector-effect="none"/>
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
<g data-tags="blk BlockName">
|
||||
<g clip-path="none" fill="none" opacity="1" stroke="none" stroke-opacity="0" transform="matrix(1,0,0,1,35,74)">
|
||||
<path d="M-17.3672,0 L17.3672,0 L17.3672,14 L-17.3672,14 L-17.3672,0 z" fill-rule="evenodd" vector-effect="none"/>
|
||||
</g>
|
||||
<defs>
|
||||
<clipPath id="clip20">
|
||||
<path d="M0,-27 L124.367,-27 L124.367,14 L0,14 L0,-27 z"/>
|
||||
</clipPath>
|
||||
</defs>
|
||||
<g clip-path="url(#clip20)" fill="none" opacity="1" stroke="#000000" stroke-linecap="square" stroke-linejoin="bevel" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,17.6328,74)">
|
||||
<text fill="#000000" fill-opacity="1" font-family="Arial" font-size="10" font-style="normal" font-weight="400" stroke="none" textLength="32.7344" x="1" xml:space="preserve" y="10">r_phaC</text>
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
<g data-tags="portannotationpanel PortDataTypeString">
|
||||
<g clip-path="none" fill="none" opacity="1" stroke="none" stroke-opacity="0" transform="matrix(1,0,0,1,70,63)">
|
||||
<path d="M0,-12 L21.4844,-12 L21.4844,0 L0,0 L0,-12 z" fill-rule="evenodd" vector-effect="none"/>
|
||||
</g>
|
||||
<defs>
|
||||
<clipPath id="clip21">
|
||||
<path d="M-52.3672,-4 L72,-4 L72,37 L-52.3672,37 L-52.3672,-4 z"/>
|
||||
</clipPath>
|
||||
</defs>
|
||||
<g clip-path="url(#clip21)" fill="none" opacity="1" stroke="#000000" stroke-linecap="square" stroke-linejoin="bevel" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,70,51)">
|
||||
<text fill="#000000" fill-opacity="1" font-family="Arial" font-size="9" font-style="normal" font-weight="400" stroke="none" textLength="19.4844" x="1" xml:space="preserve" y="9">int16</text>
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
<g id="BLDCmotorControl_R2017b:2530:353#out:1">
|
||||
<!--RAWSTRING-->
|
||||
<g data-tags="PathIntersectionsEnabledTag">
|
||||
<g clip-path="none" fill="#000000" fill-opacity="1" opacity="1" stroke="none" stroke-opacity="0" transform="matrix(1,0,0,1,130,65)">
|
||||
<path d="M0,0 L-8,-4 L-8,4 L0,0 z" fill-rule="nonzero" vector-effect="none"/>
|
||||
</g>
|
||||
<g clip-path="none" fill="none" opacity="1" stroke="#000000" stroke-linecap="butt" stroke-linejoin="miter" stroke-miterlimit="2" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,0,0)">
|
||||
<path d="M50,65 L122,65" fill-rule="evenodd" vector-effect="none"/>
|
||||
</g>
|
||||
<g clip-path="none" fill="none" opacity="1" stroke="none" stroke-opacity="0" transform="matrix(1,0,0,1,85,66.5)">
|
||||
<path d="M-15.7344,0 L15.7344,0 L15.7344,12 L-15.7344,12 L-15.7344,0 z" fill-rule="evenodd" vector-effect="none"/>
|
||||
</g>
|
||||
<defs>
|
||||
<clipPath id="clip22">
|
||||
<path d="M-51.6328,-19.5 L72.7344,-19.5 L72.7344,21.5 L-51.6328,21.5 L-51.6328,-19.5 z"/>
|
||||
</clipPath>
|
||||
</defs>
|
||||
<g clip-path="url(#clip22)" fill="none" opacity="1" stroke="#000000" stroke-linecap="square" stroke-linejoin="bevel" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,69.2656,66.5)">
|
||||
<text fill="#000000" fill-opacity="1" font-family="Arial" font-size="9" font-style="normal" font-weight="400" stroke="none" textLength="29.4688" x="1" xml:space="preserve" y="9">r_phaC</text>
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
<g data-tags="layout">
|
||||
<defs>
|
||||
<clipPath id="clip24">
|
||||
<path d="M0,-18 L18,-18 L18,0 L0,0 L0,-18 z"/>
|
||||
</clipPath>
|
||||
</defs>
|
||||
<g clip-path="url(#clip24)" fill="none" opacity="1" stroke="none" stroke-opacity="0" transform="matrix(1,0,0,1,50,65)">
|
||||
<path d="M0,-16 C0,-17.1046 0.895431,-18 2,-18 L16,-18 C17.1046,-18 18,-17.1046 18,-16 L18,-2 C18,-0.895431 17.1046,0 16,0 L2,0 C0.895431,0 0,-0.895431 0,-2 L0,-16 z" fill-rule="evenodd" vector-effect="none"/>
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
<g data-tags="SignalObserve tooltip contextMenu">
|
||||
<defs>
|
||||
<clipPath id="clip25">
|
||||
<path d="M-2,-2 L16,-2 L16,16 L-2,16 L-2,-2 z"/>
|
||||
</clipPath>
|
||||
</defs>
|
||||
<g clip-path="url(#clip25)" fill="none" opacity="0.4" stroke="none" stroke-opacity="0" transform="matrix(1,0,0,1,52,49)">
|
||||
<image height="16" preserveAspectRatio="none" width="16" x="-1" xlink:href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAACXBIWXMAAA7EAAAOxAGVKw4bAAABXUlEQVQ4jcWQv0sCYRzGnzsz2iIaHIyKREj6B4rmnFyiJGhwktxqkXAJHKK1oQguhLAxIoiiX7SEIA22SJtw1VBhQ3V473v33nu+b1Mi6IkU0Wf7fp+H5/sD+G+U5iKblepNX2GGcDdOmQhbzBmDZSuS2bq0bF0y63xwoOfobjfFWwIWdm4nCa/nKXNrhIk96vB7SqTuk4YQ1B2uEysMxhYFsycUx0k+XmQuGwEJrTTs1HmBcLF8sjJ93GnlkdjmFLi9D+lGn67WHhrCklbyd314/MDX9gcAENdK/e8GTX1YfN6gPCxNEzDNiiC1Q/WTaPp1xmj2q81FIl8MCs7LACJSIs0chJxeEZJAWpVKRPhRHoqtBztuN7dVHPfSRqMbntqPafnBN7PbxVilSnL09Q14eU7qZ6un7XxquyYASIEcgACAgFCQ8/J5BnSLZ4CiIgmgCqCqSiR/O+jv+ALWHqC6dVXKGAAAAABJRU5ErkJggg==" y="-1"/>
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
</g>
|
||||
</g>
|
||||
<!--generated on windows @ 2019-05-28 19:55:50 W. Europe Daylight Time-->
|
||||
</svg>
|
Before Width: | Height: | Size: 11 KiB |
Before Width: | Height: | Size: 9.7 KiB |
Before Width: | Height: | Size: 247 KiB |
Before Width: | Height: | Size: 5.6 KiB |
@ -1,147 +0,0 @@
|
||||
[
|
||||
{
|
||||
"sid":"BLDCmotorControl_R2017b:2530:404",
|
||||
"className":"Simulink.Terminator",
|
||||
"icon":"WebViewIcon2",
|
||||
"name":"Terminator_1",
|
||||
"label":"Terminator_1",
|
||||
"parent":"BLDCmotorControl_R2017b:2530:402",
|
||||
"inspector":{
|
||||
"params":[
|
||||
],
|
||||
"values":[
|
||||
],
|
||||
"tabs":[
|
||||
],
|
||||
"tabs_idx":[
|
||||
]
|
||||
},
|
||||
"viewer":{
|
||||
"jshandler":"webview/handlers/ElementHandler"
|
||||
},
|
||||
"obj_viewer":[
|
||||
],
|
||||
"finder":{
|
||||
"blocktype":"Terminator",
|
||||
"masktype":""
|
||||
}
|
||||
},
|
||||
{
|
||||
"sid":"BLDCmotorControl_R2017b:2530:403",
|
||||
"className":"Simulink.Inport",
|
||||
"icon":"WebViewIcon2",
|
||||
"name":"DC_phaB",
|
||||
"label":"DC_phaB",
|
||||
"parent":"BLDCmotorControl_R2017b:2530:402",
|
||||
"inspector":{
|
||||
"params":[
|
||||
"Port",
|
||||
"IconDisplay",
|
||||
"OutMin",
|
||||
"OutMax",
|
||||
"OutDataTypeStr",
|
||||
"LockScale",
|
||||
"Unit",
|
||||
"PortDimensions",
|
||||
"VarSizeSig",
|
||||
"SampleTime",
|
||||
"SignalType",
|
||||
"BusOutputAsStruct",
|
||||
"InputConnect",
|
||||
"Interpolate",
|
||||
"LatchByDelayingOutsideSignal",
|
||||
"LatchInputForFeedbackSignals",
|
||||
"OutputFunctionCall"
|
||||
],
|
||||
"values":[
|
||||
"1",
|
||||
"Port number",
|
||||
"[]",
|
||||
"[]",
|
||||
"Inherit: auto",
|
||||
"off",
|
||||
"inherit",
|
||||
"-1",
|
||||
"Inherit",
|
||||
"-1",
|
||||
"auto",
|
||||
"off",
|
||||
"",
|
||||
"on",
|
||||
"off",
|
||||
"off",
|
||||
"off"
|
||||
],
|
||||
"tabs":[
|
||||
"Main",
|
||||
"Signal Attributes",
|
||||
"-Other"
|
||||
],
|
||||
"tabs_idx":[
|
||||
0,
|
||||
2,
|
||||
11
|
||||
]
|
||||
},
|
||||
"viewer":{
|
||||
"jshandler":"webview/handlers/ElementHandler"
|
||||
},
|
||||
"obj_viewer":[
|
||||
],
|
||||
"finder":{
|
||||
"blocktype":"Inport",
|
||||
"masktype":""
|
||||
}
|
||||
},
|
||||
{
|
||||
"sid":"BLDCmotorControl_R2017b:2530:403#out:1",
|
||||
"className":"Simulink.Line",
|
||||
"icon":"WebViewIcon4",
|
||||
"name":"DC_phaB",
|
||||
"label":"DC_phaB",
|
||||
"parent":"BLDCmotorControl_R2017b:2530:402",
|
||||
"inspector":{
|
||||
"params":[
|
||||
"SignalNameFromLabel",
|
||||
"MustResolveToSignal",
|
||||
"ShowPropagatedSignal",
|
||||
"DataLogging",
|
||||
"TestPoint",
|
||||
"SignalObjectPackage",
|
||||
"StorageClass",
|
||||
"Description",
|
||||
"documentLink"
|
||||
],
|
||||
"values":[
|
||||
"DC_phaB",
|
||||
"off",
|
||||
"off",
|
||||
"on",
|
||||
"off",
|
||||
"Simulink",
|
||||
"Auto",
|
||||
"",
|
||||
""
|
||||
],
|
||||
"tabs":[
|
||||
"Parameter Attributes",
|
||||
"Logging and Accessibility",
|
||||
"Code Generation",
|
||||
"Documentation"
|
||||
],
|
||||
"tabs_idx":[
|
||||
0,
|
||||
3,
|
||||
5,
|
||||
7
|
||||
]
|
||||
},
|
||||
"viewer":{
|
||||
"jshandler":"webview/handlers/ElementHandler"
|
||||
},
|
||||
"obj_viewer":[
|
||||
],
|
||||
"finder":[
|
||||
]
|
||||
}
|
||||
]
|
Before Width: | Height: | Size: 6.3 KiB |
@ -1,178 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" display="inline" height="43.000000px" preserveAspectRatio="xMinYMin meet" viewBox="11.36 46.00 129.64 43.00" width="129.640625px" x="0" y="0" zoomAndPan="disable">
|
||||
<g fill="none" stroke="black" stroke-width="1" fill-rule="evenodd" stroke-linecap="square" stroke-linejoin="bevel">
|
||||
<!--RAWSTRING-->
|
||||
<g id="background" pointer-events="none">
|
||||
<g clip-path="none" fill="#ffffff" fill-opacity="1" opacity="1" stroke="none" stroke-opacity="0" transform="matrix(1,0,0,1,0,0)">
|
||||
<path d="M12.3594,47 L140,47 L140,88 L12.3594,88 L12.3594,47 z" fill-rule="evenodd" vector-effect="none"/>
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
<g id="BLDCmotorControl_R2017b:2530:402">
|
||||
<!--RAWSTRING-->
|
||||
<g data-tags="blk">
|
||||
<!--RAWSTRING-->
|
||||
<g id="BLDCmotorControl_R2017b:2530:404">
|
||||
<g clip-path="none" fill="#ffffff" fill-opacity="1" opacity="1" stroke="none" stroke-opacity="0" transform="matrix(1,0,0,1,130,60)">
|
||||
<path d="M0,0 L10,0 L10,10 L0,10 L0,0 z" fill-rule="evenodd" vector-effect="none"/>
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
<g data-tags="blk*">
|
||||
<defs>
|
||||
<clipPath id="clip2">
|
||||
<path d="M0,0 L10,0 L10,10 L0,10 L0,0 z"/>
|
||||
</clipPath>
|
||||
</defs>
|
||||
<g clip-path="url(#clip2)" fill="none" opacity="1" stroke="none" stroke-opacity="0" transform="matrix(1,0,0,1,130,60)">
|
||||
<path d="M0,0 L10,0 L10,10 L0,10 L0,0 z" fill-rule="evenodd" vector-effect="none"/>
|
||||
</g>
|
||||
<defs>
|
||||
<clipPath id="clip7">
|
||||
<path d="M1,1 L11,1 L11,11 L1,11 L1,1 z"/>
|
||||
</clipPath>
|
||||
</defs>
|
||||
<g clip-path="url(#clip7)" fill="none" opacity="1" stroke="#000000" stroke-linecap="round" stroke-linejoin="round" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,129,59)">
|
||||
<path d="M2.5,3.5 L7.5,3.5 L7.5,8.5 L2.5,8.5" fill-rule="nonzero" vector-effect="none"/>
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
<g data-tags="blk*">
|
||||
<g clip-path="none" fill="none" opacity="1" stroke="#000000" stroke-linecap="butt" stroke-linejoin="miter" stroke-miterlimit="2" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,130,60)">
|
||||
<path d="M-1,5 L6.45,5 L6.45,5" fill-rule="evenodd" vector-effect="none"/>
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
<g data-tags="blk">
|
||||
<!--RAWSTRING-->
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
<g data-tags="blk frame">
|
||||
<g clip-path="none" fill="none" opacity="1" stroke="none" stroke-opacity="0" transform="matrix(1,0,0,1,130,60)">
|
||||
<path d="M0,0 L10,0 L10,10 L0,10 L0,0 z" fill-rule="evenodd" vector-effect="none"/>
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
<g data-tags="blk">
|
||||
<!--RAWSTRING-->
|
||||
<g id="BLDCmotorControl_R2017b:2530:403">
|
||||
<g clip-path="none" fill="none" opacity="0.65098" stroke="#000000" stroke-linecap="square" stroke-linejoin="bevel" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,19,57)">
|
||||
<image height="22" preserveAspectRatio="none" width="38" x="0" xlink:href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACYAAAAWCAYAAACsR+4DAAAACXBIWXMAAA7EAAAOxAGVKw4bAAABo0lEQVRIie2WXU8CMRBFD+uCgqKJQsQXiYn//z/5hAZC+HLlYwUf5ja7WYbgCsQXJpkU2tI5vZ1OqQAvwD3QAtpq74A6UAMioEI52wBrYAl8AWNgAPTVDtU305wtiwXVAZ7kHeDWAfst3MYBmwBN4Eox0XgqX3tgLQE9A12BBcWqwEUJqDzcN7AiU+xG6yGYJTAHFvItsLbAusBrAexYigUwBDsHEuwoP3eBtYBHAXWAB6ChsbJKkdtEhKldJTu+GTCVj7BcqzprEGP5lPfGrsl/hKxqzVUhTpNMgC2LsOO6zLXuxAMt1vrFWDVMVRfsv23jdUZYgi5ybXqC4OEWFmMtcUpFAJsUPMHywd1JSdtorcSJM1W/K0SMVeKmPFzplOOXi3f5B/YCjMlEcMH6WEUON3HGaQrsO/AG9DAxRvvABmQ3cSWwYz9JY0ypXg5sorGdYEN9TrGKPOU0ioUHPDziE8Vzkz/Wj8LuEkzifKE9FCwk/lhr5xPfVQsFrGE5VhfMtdpj/u1JsDcx0fc5e25+CBhh6nh+qGKeu8d3trOdDfgBs5ixBRXsvc4AAAAASUVORK5CYII=" y="0"/>
|
||||
</g>
|
||||
<g clip-path="none" fill="#00d100" fill-opacity="1" opacity="1" stroke="none" stroke-opacity="0" transform="matrix(1,0,0,1,20,58)">
|
||||
<path d="M7,0 L23,0 C26.866,0 30,3.13401 30,7 C30,10.866 26.866,14 23,14 L7,14 C3.13401,14 0,10.866 0,7 C0,3.13401 3.13401,0 7,0 z" fill-rule="nonzero" vector-effect="none"/>
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
<g data-tags="blk">
|
||||
<defs>
|
||||
<clipPath id="clip19">
|
||||
<path d="M-15,-7 L15,-7 L15,7 L-15,7 L-15,-7 z"/>
|
||||
</clipPath>
|
||||
</defs>
|
||||
<g clip-path="url(#clip19)" fill="none" opacity="1" stroke="#000000" stroke-linecap="butt" stroke-linejoin="miter" stroke-miterlimit="2" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,35,65)">
|
||||
<text fill="#000000" fill-opacity="1" font-family="Arial" font-size="10" font-style="normal" font-weight="400" stroke="none" textLength="5.54688" x="-2.76562" xml:space="preserve" y="3.5">1</text>
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
<g data-tags="blk frame">
|
||||
<g clip-path="none" fill="none" opacity="1" stroke="#000000" stroke-linecap="butt" stroke-linejoin="miter" stroke-miterlimit="2" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,20,58)">
|
||||
<path d="M7,0 L23,0 C26.866,0 30,3.13401 30,7 C30,10.866 26.866,14 23,14 L7,14 C3.13401,14 0,10.866 0,7 C0,3.13401 3.13401,0 7,0 z" fill-rule="nonzero" vector-effect="none"/>
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
<g data-tags="blk BlockName">
|
||||
<g clip-path="none" fill="none" opacity="1" stroke="none" stroke-opacity="0" transform="matrix(1,0,0,1,35,74)">
|
||||
<path d="M-22.6406,0 L22.6406,0 L22.6406,14 L-22.6406,14 L-22.6406,0 z" fill-rule="evenodd" vector-effect="none"/>
|
||||
</g>
|
||||
<defs>
|
||||
<clipPath id="clip20">
|
||||
<path d="M0,-27 L129.641,-27 L129.641,14 L0,14 L0,-27 z"/>
|
||||
</clipPath>
|
||||
</defs>
|
||||
<g clip-path="url(#clip20)" fill="none" opacity="1" stroke="#000000" stroke-linecap="square" stroke-linejoin="bevel" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,12.3594,74)">
|
||||
<text fill="#000000" fill-opacity="1" font-family="Arial" font-size="10" font-style="normal" font-weight="400" stroke="none" textLength="43.2812" x="1" xml:space="preserve" y="10">DC_phaB</text>
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
<g data-tags="portannotationpanel PortDataTypeString">
|
||||
<g clip-path="none" fill="none" opacity="1" stroke="none" stroke-opacity="0" transform="matrix(1,0,0,1,70,63)">
|
||||
<path d="M0,-12 L21.4844,-12 L21.4844,0 L0,0 L0,-12 z" fill-rule="evenodd" vector-effect="none"/>
|
||||
</g>
|
||||
<defs>
|
||||
<clipPath id="clip21">
|
||||
<path d="M-57.6406,-4 L72,-4 L72,37 L-57.6406,37 L-57.6406,-4 z"/>
|
||||
</clipPath>
|
||||
</defs>
|
||||
<g clip-path="url(#clip21)" fill="none" opacity="1" stroke="#000000" stroke-linecap="square" stroke-linejoin="bevel" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,70,51)">
|
||||
<text fill="#000000" fill-opacity="1" font-family="Arial" font-size="9" font-style="normal" font-weight="400" stroke="none" textLength="19.4844" x="1" xml:space="preserve" y="9">int32</text>
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
<g id="BLDCmotorControl_R2017b:2530:403#out:1">
|
||||
<!--RAWSTRING-->
|
||||
<g data-tags="PathIntersectionsEnabledTag">
|
||||
<g clip-path="none" fill="#000000" fill-opacity="1" opacity="1" stroke="none" stroke-opacity="0" transform="matrix(1,0,0,1,130,65)">
|
||||
<path d="M0,0 L-8,-4 L-8,4 L0,0 z" fill-rule="nonzero" vector-effect="none"/>
|
||||
</g>
|
||||
<g clip-path="none" fill="none" opacity="1" stroke="#000000" stroke-linecap="butt" stroke-linejoin="miter" stroke-miterlimit="2" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,0,0)">
|
||||
<path d="M50,65 L122,65" fill-rule="evenodd" vector-effect="none"/>
|
||||
</g>
|
||||
<g clip-path="none" fill="none" opacity="1" stroke="none" stroke-opacity="0" transform="matrix(1,0,0,1,85,66.5)">
|
||||
<path d="M-20.4844,0 L20.4844,0 L20.4844,12 L-20.4844,12 L-20.4844,0 z" fill-rule="evenodd" vector-effect="none"/>
|
||||
</g>
|
||||
<defs>
|
||||
<clipPath id="clip22">
|
||||
<path d="M-52.1562,-19.5 L77.4844,-19.5 L77.4844,21.5 L-52.1562,21.5 L-52.1562,-19.5 z"/>
|
||||
</clipPath>
|
||||
</defs>
|
||||
<g clip-path="url(#clip22)" fill="none" opacity="1" stroke="#000000" stroke-linecap="square" stroke-linejoin="bevel" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,64.5156,66.5)">
|
||||
<text fill="#000000" fill-opacity="1" font-family="Arial" font-size="9" font-style="normal" font-weight="400" stroke="none" textLength="38.9688" x="1" xml:space="preserve" y="9">DC_phaB</text>
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
<g data-tags="layout">
|
||||
<defs>
|
||||
<clipPath id="clip24">
|
||||
<path d="M0,-18 L18,-18 L18,0 L0,0 L0,-18 z"/>
|
||||
</clipPath>
|
||||
</defs>
|
||||
<g clip-path="url(#clip24)" fill="none" opacity="1" stroke="none" stroke-opacity="0" transform="matrix(1,0,0,1,50,65)">
|
||||
<path d="M0,-16 C0,-17.1046 0.895431,-18 2,-18 L16,-18 C17.1046,-18 18,-17.1046 18,-16 L18,-2 C18,-0.895431 17.1046,0 16,0 L2,0 C0.895431,0 0,-0.895431 0,-2 L0,-16 z" fill-rule="evenodd" vector-effect="none"/>
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
<g data-tags="SignalObserve tooltip contextMenu">
|
||||
<defs>
|
||||
<clipPath id="clip25">
|
||||
<path d="M-2,-2 L16,-2 L16,16 L-2,16 L-2,-2 z"/>
|
||||
</clipPath>
|
||||
</defs>
|
||||
<g clip-path="url(#clip25)" fill="none" opacity="0.4" stroke="none" stroke-opacity="0" transform="matrix(1,0,0,1,52,49)">
|
||||
<image height="16" preserveAspectRatio="none" width="16" x="-1" xlink:href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAACXBIWXMAAA7EAAAOxAGVKw4bAAABXUlEQVQ4jcWQv0sCYRzGnzsz2iIaHIyKREj6B4rmnFyiJGhwktxqkXAJHKK1oQguhLAxIoiiX7SEIA22SJtw1VBhQ3V473v33nu+b1Mi6IkU0Wf7fp+H5/sD+G+U5iKblepNX2GGcDdOmQhbzBmDZSuS2bq0bF0y63xwoOfobjfFWwIWdm4nCa/nKXNrhIk96vB7SqTuk4YQ1B2uEysMxhYFsycUx0k+XmQuGwEJrTTs1HmBcLF8sjJ93GnlkdjmFLi9D+lGn67WHhrCklbyd314/MDX9gcAENdK/e8GTX1YfN6gPCxNEzDNiiC1Q/WTaPp1xmj2q81FIl8MCs7LACJSIs0chJxeEZJAWpVKRPhRHoqtBztuN7dVHPfSRqMbntqPafnBN7PbxVilSnL09Q14eU7qZ6un7XxquyYASIEcgACAgFCQ8/J5BnSLZ4CiIgmgCqCqSiR/O+jv+ALWHqC6dVXKGAAAAABJRU5ErkJggg==" y="-1"/>
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
</g>
|
||||
</g>
|
||||
<!--generated on windows @ 2019-05-28 19:55:51 W. Europe Daylight Time-->
|
||||
</svg>
|
Before Width: | Height: | Size: 11 KiB |
@ -1,147 +0,0 @@
|
||||
[
|
||||
{
|
||||
"sid":"BLDCmotorControl_R2017b:2530:407",
|
||||
"className":"Simulink.Terminator",
|
||||
"icon":"WebViewIcon2",
|
||||
"name":"Terminator_1",
|
||||
"label":"Terminator_1",
|
||||
"parent":"BLDCmotorControl_R2017b:2530:405",
|
||||
"inspector":{
|
||||
"params":[
|
||||
],
|
||||
"values":[
|
||||
],
|
||||
"tabs":[
|
||||
],
|
||||
"tabs_idx":[
|
||||
]
|
||||
},
|
||||
"viewer":{
|
||||
"jshandler":"webview/handlers/ElementHandler"
|
||||
},
|
||||
"obj_viewer":[
|
||||
],
|
||||
"finder":{
|
||||
"blocktype":"Terminator",
|
||||
"masktype":""
|
||||
}
|
||||
},
|
||||
{
|
||||
"sid":"BLDCmotorControl_R2017b:2530:406",
|
||||
"className":"Simulink.Inport",
|
||||
"icon":"WebViewIcon2",
|
||||
"name":"DC_phaC",
|
||||
"label":"DC_phaC",
|
||||
"parent":"BLDCmotorControl_R2017b:2530:405",
|
||||
"inspector":{
|
||||
"params":[
|
||||
"Port",
|
||||
"IconDisplay",
|
||||
"OutMin",
|
||||
"OutMax",
|
||||
"OutDataTypeStr",
|
||||
"LockScale",
|
||||
"Unit",
|
||||
"PortDimensions",
|
||||
"VarSizeSig",
|
||||
"SampleTime",
|
||||
"SignalType",
|
||||
"BusOutputAsStruct",
|
||||
"InputConnect",
|
||||
"Interpolate",
|
||||
"LatchByDelayingOutsideSignal",
|
||||
"LatchInputForFeedbackSignals",
|
||||
"OutputFunctionCall"
|
||||
],
|
||||
"values":[
|
||||
"1",
|
||||
"Port number",
|
||||
"[]",
|
||||
"[]",
|
||||
"Inherit: auto",
|
||||
"off",
|
||||
"inherit",
|
||||
"-1",
|
||||
"Inherit",
|
||||
"-1",
|
||||
"auto",
|
||||
"off",
|
||||
"",
|
||||
"on",
|
||||
"off",
|
||||
"off",
|
||||
"off"
|
||||
],
|
||||
"tabs":[
|
||||
"Main",
|
||||
"Signal Attributes",
|
||||
"-Other"
|
||||
],
|
||||
"tabs_idx":[
|
||||
0,
|
||||
2,
|
||||
11
|
||||
]
|
||||
},
|
||||
"viewer":{
|
||||
"jshandler":"webview/handlers/ElementHandler"
|
||||
},
|
||||
"obj_viewer":[
|
||||
],
|
||||
"finder":{
|
||||
"blocktype":"Inport",
|
||||
"masktype":""
|
||||
}
|
||||
},
|
||||
{
|
||||
"sid":"BLDCmotorControl_R2017b:2530:406#out:1",
|
||||
"className":"Simulink.Line",
|
||||
"icon":"WebViewIcon4",
|
||||
"name":"DC_phaC",
|
||||
"label":"DC_phaC",
|
||||
"parent":"BLDCmotorControl_R2017b:2530:405",
|
||||
"inspector":{
|
||||
"params":[
|
||||
"SignalNameFromLabel",
|
||||
"MustResolveToSignal",
|
||||
"ShowPropagatedSignal",
|
||||
"DataLogging",
|
||||
"TestPoint",
|
||||
"SignalObjectPackage",
|
||||
"StorageClass",
|
||||
"Description",
|
||||
"documentLink"
|
||||
],
|
||||
"values":[
|
||||
"DC_phaC",
|
||||
"off",
|
||||
"off",
|
||||
"on",
|
||||
"off",
|
||||
"Simulink",
|
||||
"Auto",
|
||||
"",
|
||||
""
|
||||
],
|
||||
"tabs":[
|
||||
"Parameter Attributes",
|
||||
"Logging and Accessibility",
|
||||
"Code Generation",
|
||||
"Documentation"
|
||||
],
|
||||
"tabs_idx":[
|
||||
0,
|
||||
3,
|
||||
5,
|
||||
7
|
||||
]
|
||||
},
|
||||
"viewer":{
|
||||
"jshandler":"webview/handlers/ElementHandler"
|
||||
},
|
||||
"obj_viewer":[
|
||||
],
|
||||
"finder":[
|
||||
]
|
||||
}
|
||||
]
|
Before Width: | Height: | Size: 6.2 KiB |
@ -1,178 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" display="inline" height="43.000000px" preserveAspectRatio="xMinYMin meet" viewBox="11.08 46.00 129.92 43.00" width="129.921875px" x="0" y="0" zoomAndPan="disable">
|
||||
<g fill="none" stroke="black" stroke-width="1" fill-rule="evenodd" stroke-linecap="square" stroke-linejoin="bevel">
|
||||
<!--RAWSTRING-->
|
||||
<g id="background" pointer-events="none">
|
||||
<g clip-path="none" fill="#ffffff" fill-opacity="1" opacity="1" stroke="none" stroke-opacity="0" transform="matrix(1,0,0,1,0,0)">
|
||||
<path d="M12.0781,47 L140,47 L140,88 L12.0781,88 L12.0781,47 z" fill-rule="evenodd" vector-effect="none"/>
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
<g id="BLDCmotorControl_R2017b:2530:405">
|
||||
<!--RAWSTRING-->
|
||||
<g data-tags="blk">
|
||||
<!--RAWSTRING-->
|
||||
<g id="BLDCmotorControl_R2017b:2530:407">
|
||||
<g clip-path="none" fill="#ffffff" fill-opacity="1" opacity="1" stroke="none" stroke-opacity="0" transform="matrix(1,0,0,1,130,60)">
|
||||
<path d="M0,0 L10,0 L10,10 L0,10 L0,0 z" fill-rule="evenodd" vector-effect="none"/>
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
<g data-tags="blk*">
|
||||
<defs>
|
||||
<clipPath id="clip2">
|
||||
<path d="M0,0 L10,0 L10,10 L0,10 L0,0 z"/>
|
||||
</clipPath>
|
||||
</defs>
|
||||
<g clip-path="url(#clip2)" fill="none" opacity="1" stroke="none" stroke-opacity="0" transform="matrix(1,0,0,1,130,60)">
|
||||
<path d="M0,0 L10,0 L10,10 L0,10 L0,0 z" fill-rule="evenodd" vector-effect="none"/>
|
||||
</g>
|
||||
<defs>
|
||||
<clipPath id="clip7">
|
||||
<path d="M1,1 L11,1 L11,11 L1,11 L1,1 z"/>
|
||||
</clipPath>
|
||||
</defs>
|
||||
<g clip-path="url(#clip7)" fill="none" opacity="1" stroke="#000000" stroke-linecap="round" stroke-linejoin="round" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,129,59)">
|
||||
<path d="M2.5,3.5 L7.5,3.5 L7.5,8.5 L2.5,8.5" fill-rule="nonzero" vector-effect="none"/>
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
<g data-tags="blk*">
|
||||
<g clip-path="none" fill="none" opacity="1" stroke="#000000" stroke-linecap="butt" stroke-linejoin="miter" stroke-miterlimit="2" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,130,60)">
|
||||
<path d="M-1,5 L6.45,5 L6.45,5" fill-rule="evenodd" vector-effect="none"/>
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
<g data-tags="blk">
|
||||
<!--RAWSTRING-->
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
<g data-tags="blk frame">
|
||||
<g clip-path="none" fill="none" opacity="1" stroke="none" stroke-opacity="0" transform="matrix(1,0,0,1,130,60)">
|
||||
<path d="M0,0 L10,0 L10,10 L0,10 L0,0 z" fill-rule="evenodd" vector-effect="none"/>
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
<g data-tags="blk">
|
||||
<!--RAWSTRING-->
|
||||
<g id="BLDCmotorControl_R2017b:2530:406">
|
||||
<g clip-path="none" fill="none" opacity="0.65098" stroke="#000000" stroke-linecap="square" stroke-linejoin="bevel" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,19,57)">
|
||||
<image height="22" preserveAspectRatio="none" width="38" x="0" xlink:href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACYAAAAWCAYAAACsR+4DAAAACXBIWXMAAA7EAAAOxAGVKw4bAAABo0lEQVRIie2WXU8CMRBFD+uCgqKJQsQXiYn//z/5hAZC+HLlYwUf5ja7WYbgCsQXJpkU2tI5vZ1OqQAvwD3QAtpq74A6UAMioEI52wBrYAl8AWNgAPTVDtU305wtiwXVAZ7kHeDWAfst3MYBmwBN4Eox0XgqX3tgLQE9A12BBcWqwEUJqDzcN7AiU+xG6yGYJTAHFvItsLbAusBrAexYigUwBDsHEuwoP3eBtYBHAXWAB6ChsbJKkdtEhKldJTu+GTCVj7BcqzprEGP5lPfGrsl/hKxqzVUhTpNMgC2LsOO6zLXuxAMt1vrFWDVMVRfsv23jdUZYgi5ybXqC4OEWFmMtcUpFAJsUPMHywd1JSdtorcSJM1W/K0SMVeKmPFzplOOXi3f5B/YCjMlEcMH6WEUON3HGaQrsO/AG9DAxRvvABmQ3cSWwYz9JY0ypXg5sorGdYEN9TrGKPOU0ioUHPDziE8Vzkz/Wj8LuEkzifKE9FCwk/lhr5xPfVQsFrGE5VhfMtdpj/u1JsDcx0fc5e25+CBhh6nh+qGKeu8d3trOdDfgBs5ixBRXsvc4AAAAASUVORK5CYII=" y="0"/>
|
||||
</g>
|
||||
<g clip-path="none" fill="#00d100" fill-opacity="1" opacity="1" stroke="none" stroke-opacity="0" transform="matrix(1,0,0,1,20,58)">
|
||||
<path d="M7,0 L23,0 C26.866,0 30,3.13401 30,7 C30,10.866 26.866,14 23,14 L7,14 C3.13401,14 0,10.866 0,7 C0,3.13401 3.13401,0 7,0 z" fill-rule="nonzero" vector-effect="none"/>
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
<g data-tags="blk">
|
||||
<defs>
|
||||
<clipPath id="clip19">
|
||||
<path d="M-15,-7 L15,-7 L15,7 L-15,7 L-15,-7 z"/>
|
||||
</clipPath>
|
||||
</defs>
|
||||
<g clip-path="url(#clip19)" fill="none" opacity="1" stroke="#000000" stroke-linecap="butt" stroke-linejoin="miter" stroke-miterlimit="2" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,35,65)">
|
||||
<text fill="#000000" fill-opacity="1" font-family="Arial" font-size="10" font-style="normal" font-weight="400" stroke="none" textLength="5.54688" x="-2.76562" xml:space="preserve" y="3.5">1</text>
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
<g data-tags="blk frame">
|
||||
<g clip-path="none" fill="none" opacity="1" stroke="#000000" stroke-linecap="butt" stroke-linejoin="miter" stroke-miterlimit="2" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,20,58)">
|
||||
<path d="M7,0 L23,0 C26.866,0 30,3.13401 30,7 C30,10.866 26.866,14 23,14 L7,14 C3.13401,14 0,10.866 0,7 C0,3.13401 3.13401,0 7,0 z" fill-rule="nonzero" vector-effect="none"/>
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
<g data-tags="blk BlockName">
|
||||
<g clip-path="none" fill="none" opacity="1" stroke="none" stroke-opacity="0" transform="matrix(1,0,0,1,35,74)">
|
||||
<path d="M-22.9219,0 L22.9219,0 L22.9219,14 L-22.9219,14 L-22.9219,0 z" fill-rule="evenodd" vector-effect="none"/>
|
||||
</g>
|
||||
<defs>
|
||||
<clipPath id="clip20">
|
||||
<path d="M0,-27 L129.922,-27 L129.922,14 L0,14 L0,-27 z"/>
|
||||
</clipPath>
|
||||
</defs>
|
||||
<g clip-path="url(#clip20)" fill="none" opacity="1" stroke="#000000" stroke-linecap="square" stroke-linejoin="bevel" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,12.0781,74)">
|
||||
<text fill="#000000" fill-opacity="1" font-family="Arial" font-size="10" font-style="normal" font-weight="400" stroke="none" textLength="43.8438" x="1" xml:space="preserve" y="10">DC_phaC</text>
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
<g data-tags="portannotationpanel PortDataTypeString">
|
||||
<g clip-path="none" fill="none" opacity="1" stroke="none" stroke-opacity="0" transform="matrix(1,0,0,1,70,63)">
|
||||
<path d="M0,-12 L21.4844,-12 L21.4844,0 L0,0 L0,-12 z" fill-rule="evenodd" vector-effect="none"/>
|
||||
</g>
|
||||
<defs>
|
||||
<clipPath id="clip21">
|
||||
<path d="M-57.9219,-4 L72,-4 L72,37 L-57.9219,37 L-57.9219,-4 z"/>
|
||||
</clipPath>
|
||||
</defs>
|
||||
<g clip-path="url(#clip21)" fill="none" opacity="1" stroke="#000000" stroke-linecap="square" stroke-linejoin="bevel" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,70,51)">
|
||||
<text fill="#000000" fill-opacity="1" font-family="Arial" font-size="9" font-style="normal" font-weight="400" stroke="none" textLength="19.4844" x="1" xml:space="preserve" y="9">int32</text>
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
<g id="BLDCmotorControl_R2017b:2530:406#out:1">
|
||||
<!--RAWSTRING-->
|
||||
<g data-tags="PathIntersectionsEnabledTag">
|
||||
<g clip-path="none" fill="#000000" fill-opacity="1" opacity="1" stroke="none" stroke-opacity="0" transform="matrix(1,0,0,1,130,65)">
|
||||
<path d="M0,0 L-8,-4 L-8,4 L0,0 z" fill-rule="nonzero" vector-effect="none"/>
|
||||
</g>
|
||||
<g clip-path="none" fill="none" opacity="1" stroke="#000000" stroke-linecap="butt" stroke-linejoin="miter" stroke-miterlimit="2" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,0,0)">
|
||||
<path d="M50,65 L122,65" fill-rule="evenodd" vector-effect="none"/>
|
||||
</g>
|
||||
<g clip-path="none" fill="none" opacity="1" stroke="none" stroke-opacity="0" transform="matrix(1,0,0,1,85,66.5)">
|
||||
<path d="M-20.7266,0 L20.7266,0 L20.7266,12 L-20.7266,12 L-20.7266,0 z" fill-rule="evenodd" vector-effect="none"/>
|
||||
</g>
|
||||
<defs>
|
||||
<clipPath id="clip22">
|
||||
<path d="M-52.1953,-19.5 L77.7266,-19.5 L77.7266,21.5 L-52.1953,21.5 L-52.1953,-19.5 z"/>
|
||||
</clipPath>
|
||||
</defs>
|
||||
<g clip-path="url(#clip22)" fill="none" opacity="1" stroke="#000000" stroke-linecap="square" stroke-linejoin="bevel" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,64.2734,66.5)">
|
||||
<text fill="#000000" fill-opacity="1" font-family="Arial" font-size="9" font-style="normal" font-weight="400" stroke="none" textLength="39.4531" x="1" xml:space="preserve" y="9">DC_phaC</text>
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
<g data-tags="layout">
|
||||
<defs>
|
||||
<clipPath id="clip24">
|
||||
<path d="M0,-18 L18,-18 L18,0 L0,0 L0,-18 z"/>
|
||||
</clipPath>
|
||||
</defs>
|
||||
<g clip-path="url(#clip24)" fill="none" opacity="1" stroke="none" stroke-opacity="0" transform="matrix(1,0,0,1,50,65)">
|
||||
<path d="M0,-16 C0,-17.1046 0.895431,-18 2,-18 L16,-18 C17.1046,-18 18,-17.1046 18,-16 L18,-2 C18,-0.895431 17.1046,0 16,0 L2,0 C0.895431,0 0,-0.895431 0,-2 L0,-16 z" fill-rule="evenodd" vector-effect="none"/>
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
<g data-tags="SignalObserve tooltip contextMenu">
|
||||
<defs>
|
||||
<clipPath id="clip25">
|
||||
<path d="M-2,-2 L16,-2 L16,16 L-2,16 L-2,-2 z"/>
|
||||
</clipPath>
|
||||
</defs>
|
||||
<g clip-path="url(#clip25)" fill="none" opacity="0.4" stroke="none" stroke-opacity="0" transform="matrix(1,0,0,1,52,49)">
|
||||
<image height="16" preserveAspectRatio="none" width="16" x="-1" xlink:href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAACXBIWXMAAA7EAAAOxAGVKw4bAAABXUlEQVQ4jcWQv0sCYRzGnzsz2iIaHIyKREj6B4rmnFyiJGhwktxqkXAJHKK1oQguhLAxIoiiX7SEIA22SJtw1VBhQ3V473v33nu+b1Mi6IkU0Wf7fp+H5/sD+G+U5iKblepNX2GGcDdOmQhbzBmDZSuS2bq0bF0y63xwoOfobjfFWwIWdm4nCa/nKXNrhIk96vB7SqTuk4YQ1B2uEysMxhYFsycUx0k+XmQuGwEJrTTs1HmBcLF8sjJ93GnlkdjmFLi9D+lGn67WHhrCklbyd314/MDX9gcAENdK/e8GTX1YfN6gPCxNEzDNiiC1Q/WTaPp1xmj2q81FIl8MCs7LACJSIs0chJxeEZJAWpVKRPhRHoqtBztuN7dVHPfSRqMbntqPafnBN7PbxVilSnL09Q14eU7qZ6un7XxquyYASIEcgACAgFCQ8/J5BnSLZ4CiIgmgCqCqSiR/O+jv+ALWHqC6dVXKGAAAAABJRU5ErkJggg==" y="-1"/>
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
</g>
|
||||
</g>
|
||||
<!--generated on windows @ 2019-05-28 19:55:51 W. Europe Daylight Time-->
|
||||
</svg>
|
Before Width: | Height: | Size: 11 KiB |
@ -1,147 +0,0 @@
|
||||
[
|
||||
{
|
||||
"sid":"BLDCmotorControl_R2017b:2530:410",
|
||||
"className":"Simulink.Terminator",
|
||||
"icon":"WebViewIcon2",
|
||||
"name":"Terminator_1",
|
||||
"label":"Terminator_1",
|
||||
"parent":"BLDCmotorControl_R2017b:2530:408",
|
||||
"inspector":{
|
||||
"params":[
|
||||
],
|
||||
"values":[
|
||||
],
|
||||
"tabs":[
|
||||
],
|
||||
"tabs_idx":[
|
||||
]
|
||||
},
|
||||
"viewer":{
|
||||
"jshandler":"webview/handlers/ElementHandler"
|
||||
},
|
||||
"obj_viewer":[
|
||||
],
|
||||
"finder":{
|
||||
"blocktype":"Terminator",
|
||||
"masktype":""
|
||||
}
|
||||
},
|
||||
{
|
||||
"sid":"BLDCmotorControl_R2017b:2530:409",
|
||||
"className":"Simulink.Inport",
|
||||
"icon":"WebViewIcon2",
|
||||
"name":"DC_phaA",
|
||||
"label":"DC_phaA",
|
||||
"parent":"BLDCmotorControl_R2017b:2530:408",
|
||||
"inspector":{
|
||||
"params":[
|
||||
"Port",
|
||||
"IconDisplay",
|
||||
"OutMin",
|
||||
"OutMax",
|
||||
"OutDataTypeStr",
|
||||
"LockScale",
|
||||
"Unit",
|
||||
"PortDimensions",
|
||||
"VarSizeSig",
|
||||
"SampleTime",
|
||||
"SignalType",
|
||||
"BusOutputAsStruct",
|
||||
"InputConnect",
|
||||
"Interpolate",
|
||||
"LatchByDelayingOutsideSignal",
|
||||
"LatchInputForFeedbackSignals",
|
||||
"OutputFunctionCall"
|
||||
],
|
||||
"values":[
|
||||
"1",
|
||||
"Port number",
|
||||
"[]",
|
||||
"[]",
|
||||
"Inherit: auto",
|
||||
"off",
|
||||
"inherit",
|
||||
"-1",
|
||||
"Inherit",
|
||||
"-1",
|
||||
"auto",
|
||||
"off",
|
||||
"",
|
||||
"on",
|
||||
"off",
|
||||
"off",
|
||||
"off"
|
||||
],
|
||||
"tabs":[
|
||||
"Main",
|
||||
"Signal Attributes",
|
||||
"-Other"
|
||||
],
|
||||
"tabs_idx":[
|
||||
0,
|
||||
2,
|
||||
11
|
||||
]
|
||||
},
|
||||
"viewer":{
|
||||
"jshandler":"webview/handlers/ElementHandler"
|
||||
},
|
||||
"obj_viewer":[
|
||||
],
|
||||
"finder":{
|
||||
"blocktype":"Inport",
|
||||
"masktype":""
|
||||
}
|
||||
},
|
||||
{
|
||||
"sid":"BLDCmotorControl_R2017b:2530:409#out:1",
|
||||
"className":"Simulink.Line",
|
||||
"icon":"WebViewIcon4",
|
||||
"name":"DC_phaA",
|
||||
"label":"DC_phaA",
|
||||
"parent":"BLDCmotorControl_R2017b:2530:408",
|
||||
"inspector":{
|
||||
"params":[
|
||||
"SignalNameFromLabel",
|
||||
"MustResolveToSignal",
|
||||
"ShowPropagatedSignal",
|
||||
"DataLogging",
|
||||
"TestPoint",
|
||||
"SignalObjectPackage",
|
||||
"StorageClass",
|
||||
"Description",
|
||||
"documentLink"
|
||||
],
|
||||
"values":[
|
||||
"DC_phaA",
|
||||
"off",
|
||||
"off",
|
||||
"on",
|
||||
"off",
|
||||
"Simulink",
|
||||
"Auto",
|
||||
"",
|
||||
""
|
||||
],
|
||||
"tabs":[
|
||||
"Parameter Attributes",
|
||||
"Logging and Accessibility",
|
||||
"Code Generation",
|
||||
"Documentation"
|
||||
],
|
||||
"tabs_idx":[
|
||||
0,
|
||||
3,
|
||||
5,
|
||||
7
|
||||
]
|
||||
},
|
||||
"viewer":{
|
||||
"jshandler":"webview/handlers/ElementHandler"
|
||||
},
|
||||
"obj_viewer":[
|
||||
],
|
||||
"finder":[
|
||||
]
|
||||
}
|
||||
]
|
Before Width: | Height: | Size: 6.4 KiB |
@ -1,178 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" display="inline" height="43.000000px" preserveAspectRatio="xMinYMin meet" viewBox="11.36 46.00 129.64 43.00" width="129.640625px" x="0" y="0" zoomAndPan="disable">
|
||||
<g fill="none" stroke="black" stroke-width="1" fill-rule="evenodd" stroke-linecap="square" stroke-linejoin="bevel">
|
||||
<!--RAWSTRING-->
|
||||
<g id="background" pointer-events="none">
|
||||
<g clip-path="none" fill="#ffffff" fill-opacity="1" opacity="1" stroke="none" stroke-opacity="0" transform="matrix(1,0,0,1,0,0)">
|
||||
<path d="M12.3594,47 L140,47 L140,88 L12.3594,88 L12.3594,47 z" fill-rule="evenodd" vector-effect="none"/>
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
<g id="BLDCmotorControl_R2017b:2530:408">
|
||||
<!--RAWSTRING-->
|
||||
<g data-tags="blk">
|
||||
<!--RAWSTRING-->
|
||||
<g id="BLDCmotorControl_R2017b:2530:410">
|
||||
<g clip-path="none" fill="#ffffff" fill-opacity="1" opacity="1" stroke="none" stroke-opacity="0" transform="matrix(1,0,0,1,130,60)">
|
||||
<path d="M0,0 L10,0 L10,10 L0,10 L0,0 z" fill-rule="evenodd" vector-effect="none"/>
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
<g data-tags="blk*">
|
||||
<defs>
|
||||
<clipPath id="clip2">
|
||||
<path d="M0,0 L10,0 L10,10 L0,10 L0,0 z"/>
|
||||
</clipPath>
|
||||
</defs>
|
||||
<g clip-path="url(#clip2)" fill="none" opacity="1" stroke="none" stroke-opacity="0" transform="matrix(1,0,0,1,130,60)">
|
||||
<path d="M0,0 L10,0 L10,10 L0,10 L0,0 z" fill-rule="evenodd" vector-effect="none"/>
|
||||
</g>
|
||||
<defs>
|
||||
<clipPath id="clip7">
|
||||
<path d="M1,1 L11,1 L11,11 L1,11 L1,1 z"/>
|
||||
</clipPath>
|
||||
</defs>
|
||||
<g clip-path="url(#clip7)" fill="none" opacity="1" stroke="#000000" stroke-linecap="round" stroke-linejoin="round" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,129,59)">
|
||||
<path d="M2.5,3.5 L7.5,3.5 L7.5,8.5 L2.5,8.5" fill-rule="nonzero" vector-effect="none"/>
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
<g data-tags="blk*">
|
||||
<g clip-path="none" fill="none" opacity="1" stroke="#000000" stroke-linecap="butt" stroke-linejoin="miter" stroke-miterlimit="2" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,130,60)">
|
||||
<path d="M-1,5 L6.45,5 L6.45,5" fill-rule="evenodd" vector-effect="none"/>
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
<g data-tags="blk">
|
||||
<!--RAWSTRING-->
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
<g data-tags="blk frame">
|
||||
<g clip-path="none" fill="none" opacity="1" stroke="none" stroke-opacity="0" transform="matrix(1,0,0,1,130,60)">
|
||||
<path d="M0,0 L10,0 L10,10 L0,10 L0,0 z" fill-rule="evenodd" vector-effect="none"/>
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
<g data-tags="blk">
|
||||
<!--RAWSTRING-->
|
||||
<g id="BLDCmotorControl_R2017b:2530:409">
|
||||
<g clip-path="none" fill="none" opacity="0.65098" stroke="#000000" stroke-linecap="square" stroke-linejoin="bevel" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,19,57)">
|
||||
<image height="22" preserveAspectRatio="none" width="38" x="0" xlink:href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACYAAAAWCAYAAACsR+4DAAAACXBIWXMAAA7EAAAOxAGVKw4bAAABo0lEQVRIie2WXU8CMRBFD+uCgqKJQsQXiYn//z/5hAZC+HLlYwUf5ja7WYbgCsQXJpkU2tI5vZ1OqQAvwD3QAtpq74A6UAMioEI52wBrYAl8AWNgAPTVDtU305wtiwXVAZ7kHeDWAfst3MYBmwBN4Eox0XgqX3tgLQE9A12BBcWqwEUJqDzcN7AiU+xG6yGYJTAHFvItsLbAusBrAexYigUwBDsHEuwoP3eBtYBHAXWAB6ChsbJKkdtEhKldJTu+GTCVj7BcqzprEGP5lPfGrsl/hKxqzVUhTpNMgC2LsOO6zLXuxAMt1vrFWDVMVRfsv23jdUZYgi5ybXqC4OEWFmMtcUpFAJsUPMHywd1JSdtorcSJM1W/K0SMVeKmPFzplOOXi3f5B/YCjMlEcMH6WEUON3HGaQrsO/AG9DAxRvvABmQ3cSWwYz9JY0ypXg5sorGdYEN9TrGKPOU0ioUHPDziE8Vzkz/Wj8LuEkzifKE9FCwk/lhr5xPfVQsFrGE5VhfMtdpj/u1JsDcx0fc5e25+CBhh6nh+qGKeu8d3trOdDfgBs5ixBRXsvc4AAAAASUVORK5CYII=" y="0"/>
|
||||
</g>
|
||||
<g clip-path="none" fill="#00d100" fill-opacity="1" opacity="1" stroke="none" stroke-opacity="0" transform="matrix(1,0,0,1,20,58)">
|
||||
<path d="M7,0 L23,0 C26.866,0 30,3.13401 30,7 C30,10.866 26.866,14 23,14 L7,14 C3.13401,14 0,10.866 0,7 C0,3.13401 3.13401,0 7,0 z" fill-rule="nonzero" vector-effect="none"/>
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
<g data-tags="blk">
|
||||
<defs>
|
||||
<clipPath id="clip19">
|
||||
<path d="M-15,-7 L15,-7 L15,7 L-15,7 L-15,-7 z"/>
|
||||
</clipPath>
|
||||
</defs>
|
||||
<g clip-path="url(#clip19)" fill="none" opacity="1" stroke="#000000" stroke-linecap="butt" stroke-linejoin="miter" stroke-miterlimit="2" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,35,65)">
|
||||
<text fill="#000000" fill-opacity="1" font-family="Arial" font-size="10" font-style="normal" font-weight="400" stroke="none" textLength="5.54688" x="-2.76562" xml:space="preserve" y="3.5">1</text>
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
<g data-tags="blk frame">
|
||||
<g clip-path="none" fill="none" opacity="1" stroke="#000000" stroke-linecap="butt" stroke-linejoin="miter" stroke-miterlimit="2" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,20,58)">
|
||||
<path d="M7,0 L23,0 C26.866,0 30,3.13401 30,7 C30,10.866 26.866,14 23,14 L7,14 C3.13401,14 0,10.866 0,7 C0,3.13401 3.13401,0 7,0 z" fill-rule="nonzero" vector-effect="none"/>
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
<g data-tags="blk BlockName">
|
||||
<g clip-path="none" fill="none" opacity="1" stroke="none" stroke-opacity="0" transform="matrix(1,0,0,1,35,74)">
|
||||
<path d="M-22.6406,0 L22.6406,0 L22.6406,14 L-22.6406,14 L-22.6406,0 z" fill-rule="evenodd" vector-effect="none"/>
|
||||
</g>
|
||||
<defs>
|
||||
<clipPath id="clip20">
|
||||
<path d="M0,-27 L129.641,-27 L129.641,14 L0,14 L0,-27 z"/>
|
||||
</clipPath>
|
||||
</defs>
|
||||
<g clip-path="url(#clip20)" fill="none" opacity="1" stroke="#000000" stroke-linecap="square" stroke-linejoin="bevel" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,12.3594,74)">
|
||||
<text fill="#000000" fill-opacity="1" font-family="Arial" font-size="10" font-style="normal" font-weight="400" stroke="none" textLength="43.2812" x="1" xml:space="preserve" y="10">DC_phaA</text>
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
<g data-tags="portannotationpanel PortDataTypeString">
|
||||
<g clip-path="none" fill="none" opacity="1" stroke="none" stroke-opacity="0" transform="matrix(1,0,0,1,70,63)">
|
||||
<path d="M0,-12 L21.4844,-12 L21.4844,0 L0,0 L0,-12 z" fill-rule="evenodd" vector-effect="none"/>
|
||||
</g>
|
||||
<defs>
|
||||
<clipPath id="clip21">
|
||||
<path d="M-57.6406,-4 L72,-4 L72,37 L-57.6406,37 L-57.6406,-4 z"/>
|
||||
</clipPath>
|
||||
</defs>
|
||||
<g clip-path="url(#clip21)" fill="none" opacity="1" stroke="#000000" stroke-linecap="square" stroke-linejoin="bevel" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,70,51)">
|
||||
<text fill="#000000" fill-opacity="1" font-family="Arial" font-size="9" font-style="normal" font-weight="400" stroke="none" textLength="19.4844" x="1" xml:space="preserve" y="9">int32</text>
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
<g id="BLDCmotorControl_R2017b:2530:409#out:1">
|
||||
<!--RAWSTRING-->
|
||||
<g data-tags="PathIntersectionsEnabledTag">
|
||||
<g clip-path="none" fill="#000000" fill-opacity="1" opacity="1" stroke="none" stroke-opacity="0" transform="matrix(1,0,0,1,130,65)">
|
||||
<path d="M0,0 L-8,-4 L-8,4 L0,0 z" fill-rule="nonzero" vector-effect="none"/>
|
||||
</g>
|
||||
<g clip-path="none" fill="none" opacity="1" stroke="#000000" stroke-linecap="butt" stroke-linejoin="miter" stroke-miterlimit="2" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,0,0)">
|
||||
<path d="M50,65 L122,65" fill-rule="evenodd" vector-effect="none"/>
|
||||
</g>
|
||||
<g clip-path="none" fill="none" opacity="1" stroke="none" stroke-opacity="0" transform="matrix(1,0,0,1,85,66.5)">
|
||||
<path d="M-20.9844,0 L20.9844,0 L20.9844,12 L-20.9844,12 L-20.9844,0 z" fill-rule="evenodd" vector-effect="none"/>
|
||||
</g>
|
||||
<defs>
|
||||
<clipPath id="clip22">
|
||||
<path d="M-51.6562,-19.5 L77.9844,-19.5 L77.9844,21.5 L-51.6562,21.5 L-51.6562,-19.5 z"/>
|
||||
</clipPath>
|
||||
</defs>
|
||||
<g clip-path="url(#clip22)" fill="none" opacity="1" stroke="#000000" stroke-linecap="square" stroke-linejoin="bevel" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,64.0156,66.5)">
|
||||
<text fill="#000000" fill-opacity="1" font-family="Arial" font-size="9" font-style="normal" font-weight="400" stroke="none" textLength="38.9688" x="1.5" xml:space="preserve" y="9">DC_phaA</text>
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
<g data-tags="layout">
|
||||
<defs>
|
||||
<clipPath id="clip24">
|
||||
<path d="M0,-18 L18,-18 L18,0 L0,0 L0,-18 z"/>
|
||||
</clipPath>
|
||||
</defs>
|
||||
<g clip-path="url(#clip24)" fill="none" opacity="1" stroke="none" stroke-opacity="0" transform="matrix(1,0,0,1,50,65)">
|
||||
<path d="M0,-16 C0,-17.1046 0.895431,-18 2,-18 L16,-18 C17.1046,-18 18,-17.1046 18,-16 L18,-2 C18,-0.895431 17.1046,0 16,0 L2,0 C0.895431,0 0,-0.895431 0,-2 L0,-16 z" fill-rule="evenodd" vector-effect="none"/>
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
<g data-tags="SignalObserve tooltip contextMenu">
|
||||
<defs>
|
||||
<clipPath id="clip25">
|
||||
<path d="M-2,-2 L16,-2 L16,16 L-2,16 L-2,-2 z"/>
|
||||
</clipPath>
|
||||
</defs>
|
||||
<g clip-path="url(#clip25)" fill="none" opacity="0.4" stroke="none" stroke-opacity="0" transform="matrix(1,0,0,1,52,49)">
|
||||
<image height="16" preserveAspectRatio="none" width="16" x="-1" xlink:href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAACXBIWXMAAA7EAAAOxAGVKw4bAAABXUlEQVQ4jcWQv0sCYRzGnzsz2iIaHIyKREj6B4rmnFyiJGhwktxqkXAJHKK1oQguhLAxIoiiX7SEIA22SJtw1VBhQ3V473v33nu+b1Mi6IkU0Wf7fp+H5/sD+G+U5iKblepNX2GGcDdOmQhbzBmDZSuS2bq0bF0y63xwoOfobjfFWwIWdm4nCa/nKXNrhIk96vB7SqTuk4YQ1B2uEysMxhYFsycUx0k+XmQuGwEJrTTs1HmBcLF8sjJ93GnlkdjmFLi9D+lGn67WHhrCklbyd314/MDX9gcAENdK/e8GTX1YfN6gPCxNEzDNiiC1Q/WTaPp1xmj2q81FIl8MCs7LACJSIs0chJxeEZJAWpVKRPhRHoqtBztuN7dVHPfSRqMbntqPafnBN7PbxVilSnL09Q14eU7qZ6un7XxquyYASIEcgACAgFCQ8/J5BnSLZ4CiIgmgCqCqSiR/O+jv+ALWHqC6dVXKGAAAAABJRU5ErkJggg==" y="-1"/>
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
</g>
|
||||
</g>
|
||||
<!--generated on windows @ 2019-05-28 19:55:51 W. Europe Daylight Time-->
|
||||
</svg>
|
Before Width: | Height: | Size: 11 KiB |
@ -1,147 +0,0 @@
|
||||
[
|
||||
{
|
||||
"sid":"BLDCmotorControl_R2017b:2530:437",
|
||||
"className":"Simulink.Terminator",
|
||||
"icon":"WebViewIcon2",
|
||||
"name":"Terminator_1",
|
||||
"label":"Terminator_1",
|
||||
"parent":"BLDCmotorControl_R2017b:2530:435",
|
||||
"inspector":{
|
||||
"params":[
|
||||
],
|
||||
"values":[
|
||||
],
|
||||
"tabs":[
|
||||
],
|
||||
"tabs_idx":[
|
||||
]
|
||||
},
|
||||
"viewer":{
|
||||
"jshandler":"webview/handlers/ElementHandler"
|
||||
},
|
||||
"obj_viewer":[
|
||||
],
|
||||
"finder":{
|
||||
"blocktype":"Terminator",
|
||||
"masktype":""
|
||||
}
|
||||
},
|
||||
{
|
||||
"sid":"BLDCmotorControl_R2017b:2530:436",
|
||||
"className":"Simulink.Inport",
|
||||
"icon":"WebViewIcon2",
|
||||
"name":"b_hallB",
|
||||
"label":"b_hallB",
|
||||
"parent":"BLDCmotorControl_R2017b:2530:435",
|
||||
"inspector":{
|
||||
"params":[
|
||||
"Port",
|
||||
"IconDisplay",
|
||||
"OutMin",
|
||||
"OutMax",
|
||||
"OutDataTypeStr",
|
||||
"LockScale",
|
||||
"Unit",
|
||||
"PortDimensions",
|
||||
"VarSizeSig",
|
||||
"SampleTime",
|
||||
"SignalType",
|
||||
"BusOutputAsStruct",
|
||||
"InputConnect",
|
||||
"Interpolate",
|
||||
"LatchByDelayingOutsideSignal",
|
||||
"LatchInputForFeedbackSignals",
|
||||
"OutputFunctionCall"
|
||||
],
|
||||
"values":[
|
||||
"1",
|
||||
"Port number",
|
||||
"[]",
|
||||
"[]",
|
||||
"Inherit: auto",
|
||||
"off",
|
||||
"inherit",
|
||||
"-1",
|
||||
"Inherit",
|
||||
"-1",
|
||||
"auto",
|
||||
"off",
|
||||
"",
|
||||
"on",
|
||||
"off",
|
||||
"off",
|
||||
"off"
|
||||
],
|
||||
"tabs":[
|
||||
"Main",
|
||||
"Signal Attributes",
|
||||
"-Other"
|
||||
],
|
||||
"tabs_idx":[
|
||||
0,
|
||||
2,
|
||||
11
|
||||
]
|
||||
},
|
||||
"viewer":{
|
||||
"jshandler":"webview/handlers/ElementHandler"
|
||||
},
|
||||
"obj_viewer":[
|
||||
],
|
||||
"finder":{
|
||||
"blocktype":"Inport",
|
||||
"masktype":""
|
||||
}
|
||||
},
|
||||
{
|
||||
"sid":"BLDCmotorControl_R2017b:2530:436#out:1",
|
||||
"className":"Simulink.Line",
|
||||
"icon":"WebViewIcon4",
|
||||
"name":"b_hallB",
|
||||
"label":"b_hallB",
|
||||
"parent":"BLDCmotorControl_R2017b:2530:435",
|
||||
"inspector":{
|
||||
"params":[
|
||||
"SignalNameFromLabel",
|
||||
"MustResolveToSignal",
|
||||
"ShowPropagatedSignal",
|
||||
"DataLogging",
|
||||
"TestPoint",
|
||||
"SignalObjectPackage",
|
||||
"StorageClass",
|
||||
"Description",
|
||||
"documentLink"
|
||||
],
|
||||
"values":[
|
||||
"b_hallB",
|
||||
"off",
|
||||
"off",
|
||||
"on",
|
||||
"off",
|
||||
"Simulink",
|
||||
"Auto",
|
||||
"",
|
||||
""
|
||||
],
|
||||
"tabs":[
|
||||
"Parameter Attributes",
|
||||
"Logging and Accessibility",
|
||||
"Code Generation",
|
||||
"Documentation"
|
||||
],
|
||||
"tabs_idx":[
|
||||
0,
|
||||
3,
|
||||
5,
|
||||
7
|
||||
]
|
||||
},
|
||||
"viewer":{
|
||||
"jshandler":"webview/handlers/ElementHandler"
|
||||
},
|
||||
"obj_viewer":[
|
||||
],
|
||||
"finder":[
|
||||
]
|
||||
}
|
||||
]
|