Skip to content

Commit 137bf66

Browse files
committed
Pull request #14: Develop
Merge in MCU16CE/matlab-dspic33ck-curiosityboard-pwmexample-sixstep-commutation from develop to master * commit '722c786bbf8451852a0e29c776c84a3f3502b483': Updated main.json PWM configuration summary figures of each schemes are added to Readme file.
2 parents 097580f + 722c786 commit 137bf66

7 files changed

Lines changed: 23 additions & 8 deletions

File tree

.main-meta/main.json

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@
44
"content":{
55
"metaDataVersion":"1.0.0",
66
"name":"com.microchip.matlab.project.matlab-dspic33ck-curiosityboard-pwmexample-sixstep-commutation",
7-
"version":"1.0.0",
8-
"displayName":"MATLAB Simulink dsPIC33CK PWM Perpheral Example for Six Step Commutation for BLDC Motor",
7+
"version":"1.0.1",
8+
"displayName":"MATLAB Simulink dsPIC33CK PWM Peripheral Example for Six Step Commutation for BLDC Motor",
99
"projectName":"matlab-dspic33ck-curiosityboard-pwmexample-sixstep-commutation",
10-
"shortDescription":"PWM Perpheral Example for Six Step Commutation for BLDC Motor Using dsPIC33CK Curiosity Board on MATLAB and Simulink",
10+
"shortDescription":"PWM Peripheral Example for Six Step Commutation for BLDC Motor Using dsPIC33CK Curiosity Board on MATLAB and Simulink",
1111
"simulationTool":{
1212
"name":"MATLAB/Simulink",
1313
"semverRange":">=2023"
@@ -39,7 +39,8 @@
3939
}
4040
},
4141
"keywords":[
42-
"PWM"
42+
"PWM",
43+
"Motor Control"
4344
]
4445
}
4546
}

README.md

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,9 @@ Configuration Summary:
2121
- Master Period and Duty Cycle Used
2222
- Override State is drive low
2323

24+
<p align="left" >
25+
<img src="images/scheme1.PNG"></p>
26+
2427
### 1.2 PWM Switching Scheme 2
2528
In this PWM scheme, three switches are used to control the two active phases. In a given sector, one active phase is driven with a complementary PWM waveform and the other active phase has only its low side driven high at 100% duty cycle, as shown in figure below. Like Scheme 1, overrides are used to control the outputs in each sector.
2629

@@ -36,6 +39,9 @@ Configuration Summary:
3639
- Override State is Dependent on Sector State
3740
- Dead time is applied to the Complementary PWM Signal
3841

42+
<p align="left" >
43+
<img src="images/scheme2.PNG"></p>
44+
3945
### 1.3 PWM Switching Scheme 3
4046
In this PWM scheme, four switches are driven in a given sector. Two pairs of complementary PWM outputs are applied to the two active phases. The inactive phase is overriden to low as needed, as shown below.
4147

@@ -50,6 +56,8 @@ Configuration Summary:
5056
- Master Period and Duty Cycle Used
5157
- Override State is Dependent on Sector State
5258
- Dead time is applied to the Complementary PWM Signal
59+
<p align="left" >
60+
<img src="images/scheme3.PNG"></p>
5361

5462
## 2. SUGGESTED DEMONSTRATION REQUIREMENTS
5563
### 2.1 MATLAB Model Required for the Demonstration
@@ -177,6 +185,6 @@ For more information, refer to the following documents or links.
177185
1. [dsPIC33CK256MP508 Family Datasheet](https://ww1.microchip.com/downloads/en/DeviceDoc/dsPIC33CK256MP508-Family-Data-Sheet-DS70005349H.pdf)
178186
2. [dsPIC33/PIC24 High-Resolution PWM with Fine Edge Placement Family Reference Manual](http://ww1.microchip.com/downloads/en/DeviceDoc/dsPIC33-PIC24-FRM-High-Resolution-PWM-with-Fine-Edge-Placement-70005320b.pdf)
179187
3. [dsPIC33CK Curiosity Development Board User’s Guide](https://ww1.microchip.com/downloads/aemDocuments/documents/MCU16/ProductDocuments/UserGuides/dsPIC33CK-Curiosity-Development-Board-User%27s-Guide-DS50002859A.pdf)
180-
3. [MPLAB® X IDE installation](https://microchipdeveloper.com/mplabx:installation)
181-
4. [MPLAB® XC16 Compiler installation](https://microchipdeveloper.com/mplabx:installation)
182-
5. [MPLAB Device Blocks for Simulink :dsPIC, PIC32 and SAM mcu](https://in.mathworks.com/matlabcentral/fileexchange/71892-mplab-device-blocks-for-simulink-dspic-pic32-and-sam-mcu)
188+
4. [MPLAB® X IDE installation](https://microchipdeveloper.com/mplabx:installation)
189+
5. [MPLAB® XC16 Compiler installation](https://microchipdeveloper.com/xc16:installation)
190+
6. [MPLAB Device Blocks for Simulink :dsPIC, PIC32 and SAM mcu](https://in.mathworks.com/matlabcentral/fileexchange/71892-mplab-device-blocks-for-simulink-dspic-pic32-and-sam-mcu)

changelog.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,12 @@
1+
# matlab-dspic33ck-curiosityboard-pwmexample-sixstep-commutation v1.0.1
2+
### Release Highlights
3+
PWM configuration summary figures of each schemes are added to Readme file.
4+
5+
### Features Added\Updated
6+
17
# matlab-dspic33ck-curiosityboard-pwmexample-sixstep-commutation v1.0.0
28
### Release Highlights
3-
This is first version of PWM Perpheral Example for Six Step Commutation for BLDC Motor Using dsPIC33CK Curiosity Board on MATLAB and Simulink.
9+
This is first version of PWM Peripheral Example for Six Step Commutation for BLDC Motor Using dsPIC33CK Curiosity Board on MATLAB and Simulink.
410
Three different PWM switching schemes are implememted in this example that are used for the Six Step Commutation for BLDC Motor.
511

612
### Features Added\Updated

images/scheme1.PNG

42.7 KB
Loading

images/scheme2.PNG

42.6 KB
Loading

images/scheme3.PNG

42.7 KB
Loading

0 commit comments

Comments
 (0)