Skip to content

Commit 196b6d1

Browse files
committed
Pull request #19: Develop
Merge in MCU16CE/matlab-lvmc-dspic33ck256mp508-foc-smo from develop to master * commit '16d833f95b3c06a4151a4862296c2175ba2188ee': Readme and and the model has got some chnages PDF file updated in the docs folder Made changes in the readme file and changelog file Template model of LVMC with SMO some minor changes Some minor chnages SMO Block changed added some dataypes for current and BEMF updated jenkinsfile
2 parents 5e9b0bf + 16d833f commit 196b6d1

File tree

16 files changed

+31
-15
lines changed

16 files changed

+31
-15
lines changed

.citd/Jenkinsfilek8s

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,9 @@ pipeline {
5454
MPLABX_PROJECT_SOURCE = "../"
5555
}
5656

57+
triggers {
58+
cron(env.BRANCH_NAME == 'develop' ? 'H H 1 * *': '')
59+
}
5760
options {
5861
timestamps()
5962
timeout(time: 30, unit: 'MINUTES')

.main-meta/main.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"content":{
55
"metaDataVersion":"1.0.0",
66
"name":"com.microchip.matlab.project.matlab-lvmc-dspic33ck256mp508-foc-smo",
7-
"version":"1.0.0",
7+
"version":"1.0.1",
88
"displayName":"MATLAB-Simulink model for Sensorless FOC control using Sliding mode observer (SMO)",
99
"projectName":"matlab-lvmc-dspic33ck256mp508-foc-smo",
1010
"shortDescription":"MATLAB-Simulink model for Sensorless FOC control using Sliding mode observer (SMO)",

README.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -14,17 +14,17 @@ The SMO implementation is referenced from AN1078 “Sensorless Field Oriented Co
1414
- MATLAB model can be cloned or downloaded as zip file from the Github repository ([link](https://github.com/microchip-pic-avr-solutions/matlab-lvmc-dspic33ck256mp508-foc-smo)).
1515

1616
### 2.2 Software Tools Used for Testing the MATLAB/Simulink Model
17-
1. MPLAB X IDE and IPE (v6.0)
17+
1. MPLAB X IDE and IPE (v6.00)
1818
2. XC16 compiler (v2.00)
19-
3. MATLAB R2022a
19+
3. MATLAB R2022b
2020
4. Required MATLAB add-on packages
21-
- Simulink
22-
- Simulink Coder
23-
- Stateflow
24-
- MATLAB Coder
25-
- Embedded Coder (v7.8)
26-
- MPLAB Device blocks for Simulink (v3.50.24)
27-
- Motor Control Blockset (v1.4)
21+
- Simulink (v10.6)
22+
- Simulink Coder (v9.8)
23+
- Stateflow (v10.7)
24+
- MATLAB Coder (v5.5)
25+
- Embedded Coder (v7.9)
26+
- MPLAB Device blocks for Simulink (v3.50.35)
27+
- Motor Control Blockset (v1.5)
2828

2929
> **_NOTE:_**
3030
>The software used for testing the model during release is listed above. It is recommended to use the version listed above or later versions for building the model.
@@ -142,7 +142,7 @@ The SMO implementation is referenced from AN1078 “Sensorless Field Oriented Co
142142

143143
2. Ensure the sensorless FOC model is programmed and running as described under section ["4. Basic Demonstration"](#4-basic-demonstration) by following steps 1 through 13.
144144

145-
3. <p style='text-align: justify;'>Open the MCB Host model and double click on the <b>“Serial Setup”</b> block. Then select the appropriate COM port connected to the hardware from the drop-down menu and set the baud rate as 921659. Please note that the same baud rate is required to be chosen in the Sensorless FOC model (the baud rate can be viewed on the <b>“UART Configuration”</b> block in the <b>“Hardware Init”</b> subsystem).
145+
3. <p style='text-align: justify;'>Open the MCB Host model and double click on the <b>“Serial Setup”</b> block. Then select the appropriate COM port connected to the hardware from the drop-down menu and set the baud rate as 460829. Please note that the same baud rate is required to be chosen in the Sensorless FOC model (the baud rate can be viewed on the <b>“UART Configuration”</b> block inside <b>“LVMC Template”</b>).
146146

147147
<p align="left">
148148
<img src="images/host3.png"></p>

changelog.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,13 @@
1+
# matlab-lvmc-dspic33ck256mp508-foc-smo v1.0.1
2+
### Release Highlights
3+
This is the version of MATLAB Simulink model for sensorless field oriented control of PMSM using sliding mode observer on dsPIC33CK LVMC board.
4+
The model is set up for running Hurst300 (AC300022) motor.
5+
6+
### Features Added\Updated
7+
The LVMC board template is added in this version.
8+
The implementation of the saturation function is modified.
9+
10+
111
# matlab-lvmc-dspic33ck256mp508-foc-smo v1.0.0
212
### Release Highlights
313
This is the first version of MATLAB Simulink model for sensorless field oriented control of PMSM using sliding mode observer on dsPIC33CK LVMC board.

images/dem4.png

208 KB
Loading

images/dem5.png

21.7 KB
Loading

images/host3.png

-5.52 KB
Loading

images/host4.png

26.3 KB
Loading

images/host5.png

158 KB
Loading

images/pic12.png

-16.8 KB
Loading

0 commit comments

Comments
 (0)