Community Profile

photo

Zhao Wang

MathWorks

Last seen: 3 days ago Active since 2016

Statistics

  • Knowledgeable Level 3
  • 3 Month Streak
  • First Review
  • Revival Level 1
  • Knowledgeable Level 2
  • First Answer

View badges

Content Feed

View by

Answered
PID controller tuning, cannot linearize the plant and error.
The model would be linearized while lauhcing the PID Tuner from the PID Controller block's parameters dialog. The attached model...

2 years ago | 0

| accepted

Answered
How can I remove the few peaks before the overshoot, so I only have the overshoot peak and then it directly transition into steady state?
Since you have built a Simulink model for the buck converter, you may want to consider tune the PID controller based on the actu...

2 years ago | 0

Answered
Can matlab perform perturbation & linearization on a state average model? (power electronics are of specific interest, but field is probably irrelevant)
Depending on how you are going to model your averaged value model. For instance, you can model the average value model using 'ss...

2 years ago | 0

Answered
Smart Grid Project - Energy Management System
Hi Blake, I am glad that you insist on investigating this microgrid topic as a researcher. With some similar research experienc...

3 years ago | 4

| accepted

Answered
Bi directional buck boost converter with simulink and simscape only
Sample time is an intrinsic part of the power electronics circuit model. As a result, it would be difficult to speed up simulati...

3 years ago | 1

| accepted

Answered
How to chose pwm and buck converter parameters?
Simulating the behavior of a solar charging system with this detailed model would be very slow. This is because of the sample ti...

4 years ago | 1

Answered
How to convert a simscape model like inverter or buck converter to HDL code?
There is a shipped tool called Simscape HDL Workflow Advisor. Using this tool, you should be able to convert your Simscape model...

4 years ago | 0

| accepted

Answered
can we generate C/C++ code for closed loop Autotuner?
Let me answer the "how" part of this question. There is a documentation page about the complete workflow of using the Closed-Loo...

4 years ago | 0

| accepted

Answered
close loop PID autotuner
Based on the information you provided, replacing the 'FOC Autotuner' block with a 'Closed-Loop PID Autotuner' block is feasible....

4 years ago | 2

| accepted

Answered
**Importing MATLAB's own SIMULINK routine, the simulation result is wrong.
Based on the information you provided, I have tried this example. However, I was not able to reproduce the same result shown in ...

5 years ago | 0

Answered
Real-Time Audio Processing: Varying Delay Depending on Initial Under/Overruns
As a first step, you can run the Measure Audio Latency example to verify that your audio I/O system is configured correctly: <h...

6 years ago | 1

Answered
Generic battery model - State of Charge
I understand that you observed the initial SOC that is different from the settings in the Battery block in the Simscape Power Sy...

6 years ago | 0

| accepted

Answered
Set disarmed PWM of PX4 simulink app
I understand that you want to change the disarm signal for PWM outputs in the motor block. It appears that the disarm PWM signal...

6 years ago | 0

Answered
How can I change package for selected data object?
I understand that you may want to create custom storage classes using packages other than 'Simulink' or 'mpt'. Based on the work...

6 years ago | 0

Answered
using RF tool box,How to create a matrix ABCD with 4 complex vectors A, B, C and D
I understand that you want to create a matrix ABCD with 4 complex vectors A, B, C and D. Based on the code snippet you posted, i...

6 years ago | 0

Answered
Assigning a Triangular Distribution to Each Entity of a Process Flow Model of SimEvents
I understand that you want to have an "Entity Server Block" that has an input port providing the service time duration. I assume...

7 years ago | 0

| accepted

Answered
How to quantify spectrogram comparison
I understand that you want to quantify the difference between two spectrograms and use this quantitative information in fault di...

7 years ago | 0

Answered
Fitting a probability density function with a kernel density estimator. How Matlab handles the support?
I understand that you want to know how MATLAB handles the Kernel density options for 'support' in the "fitdist" function. The do...

7 years ago | 2

| accepted

Answered
Creating a sinusoidal pwm using the hdl coder blocks
I understand that you want to generate code from your Simulink model using the HDL Coder. As long as the simulation result is sa...

7 years ago | 0

Answered
What is difference between unwrap(angle(X)) and phase(X)?
I understand that you want to extract phase angles from channel matrix (which is 'csi' in the data file). However, using the scr...

7 years ago | 1

| accepted

Answered
filtfilt returns unexpected large value when using with LPC
I understand that you want to use the "filtfilt" function in source-filter separation. After using the "filtfilt" function, the ...

7 years ago | 0

Answered
Can't figure out why the integral() command is returning error "Matrix dimensions must agree", but they do agree.
I understand that you want to integrate a function over time using the "integral" function. The error message is that "Matrix di...

7 years ago | 0

Answered
How can you set the initital condition 'displacement' of the mass in a simple spring-damper-mass system in Simscape?
I understand that you want to set the initial displacement of the "Mass" block in a Mass-Spring-Damper model in Simscape. I assu...

7 years ago | 0

Answered
What is the best way to do some calculation within a state in stateflow?
I understand that you want to find a better way to write MATLAB code in Stateflow states. I am not sure in what sense you mean b...

7 years ago | 0

| accepted

Answered
How is the equation for u_g given in MatLab's discrete Dryden Wind Turbulence Model a difference equation?
I understand that you have a question about the difference equation expression in the "Dryden Wind Turbulence Model (Discrete)" ...

7 years ago | 0

| accepted

Answered
I'm trying to create a time varying system in simulink using matlab function block but even if the logic is correct it says the value which i'm calling form workspace is not Simulink.Signal
This happens maybe because you have an object defined in the base workspace and you are using a data store with the 'Data store ...

7 years ago | 0

Answered
DC-DC buck converter step response gives oscillations at the start of the simulation ?
I understand that you are simulating a DC-DC buck converter using the Simscape Power Systems. There is some oscillation at the b...

7 years ago | 0

| accepted

Answered
How to demodulate a sound through MATLAB
I understand that you want to build a DSBSC demodulator to demodulate a recorded sound file. You might refer to the following li...

7 years ago | 0

Answered
Does anyone know how I could model a variable resistor as a linear potentiometer in Simulink? The library I have does not currently contain this block
I understand that you want to recreate the function of a potentiometer using a variable resistor in your current Simulink librar...

7 years ago | 1

Answered
fourier synthesis program when given ak
I understand that you want to compute Fourier synthesis using 'for' loops. The equation that you use to compute matrix 'F' creat...

7 years ago | 0

Load more