How to measure Torque and RPM of a DC Engine at the same time in Simulink/Simscape
조회 수: 37 (최근 30일)
이전 댓글 표시
Hey,
I'm operating a DC Engine, which drives a car. I works fine, but I need to know both Torque and RPM of the engine. Using an "Ideal Rotational Motion Sensor" OR an "Ideal Torque Sensor" the results are fine. But when I'm using both sensors at the same time, only one of them is working (Torque).
Does someone have a hint how so solve my Problem?
댓글 수: 5
Javier External
2017년 10월 23일
I show you a simplify model. If i just want to control a DC motor and I want to see speed(rpm) and torque (N*m)using the two sensors blocks for torque and rotational sensor, i allways have the same problem. One of the signals is 0. (Matlab 2013a)
彬 魏
2021년 9월 20일
The torque on both sides of the gear is measured simultaneously in simscape, and the result of the torque sensor is faulty
답변 (7개)
Franck Donnadieu
2017년 12월 27일
Good evening, I reproduced your model by adding a resistance. Try to separate scopes also. The overview of the results depends on the scale which is adapted to the biggest value (it is possible that on this scale the other value is not visible without making a zoom). ;)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/180410/image.jpeg)
댓글 수: 1
彬 魏
2021년 9월 20일
The torque on both sides of the gear is measured simultaneously in simscape, and the result of the torque sensor is faulty
Cyril CRIER
2020년 8월 25일
Hello all, I have the same issue!
I tried the solution of Franck Donnadieu (put a Rotational Friction Block in "Serie" to the R port of the DC motor block), which give me that:
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/351194/image.png)
instead of that (basic DC Motor block coming from the command "ssc_dcmotor"):
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/351197/image.png)
But I'm still getting this Error message:
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/351200/image.png)
I've inserted a simplified model to the post.
Anybody know the trick?
Thanks
댓글 수: 6
Franck Donnadieu
2020년 8월 25일
You make a mistake with the units in the converter (see the error message). Leave the default "1" in the converter, it adapts the unit to the sensor upstream.
Cyril CRIER
2020년 8월 25일
Really?! what a d**b mistake from my side... I guess I just did a copy/paste.
Thank you very much. This error message disappeared I just have to analyse the outcomes now ;-).
Vincent Riboulet
2020년 12월 1일
Hello,
The torque sensor should be put in line, exactly like an intensity sensor in the electrical world.
댓글 수: 2
彬 魏
2021년 9월 20일
The torque on both sides of the gear is measured simultaneously in simscape, and the result of the torque sensor is faulty
Dimitrios Tzerakis
2021년 2월 13일
편집: Dimitrios Tzerakis
2021년 2월 13일
In my model I used a BLDC, but the ports are essentially the same.
You connect the R port of the BLDC to both the R ports of the rotary and torque sensors.
The C port of the Rotational Motion sensor is to be connected to ground (so that its "parallel" to the motor)
However, as @Vincent Riboulet said, the torque sensor needs to be in series with something. To its C port, you can add an inertia, but I even tried a blank torque source (commented out things) and it worked fine.
I tried @Franck Donnadieu's answer, but the rotational friction kept influencing the output of the torque sensor, so I dont reccommend it. (Idk if its because im using R2020a, but think its worth noting).
I hope you can see the picture of my diagram:
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/518132/image.png)
댓글 수: 2
Dimitrios Tzerakis
2021년 2월 13일
Here's a lower resolution version:
(hopefully its easier to scroll through :)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/518137/image.png)
彬 魏
2021년 9월 20일
The torque on both sides of the gear is measured simultaneously in simscape, and the result of the torque sensor is faulty
彬 魏
2021년 9월 20일
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/744274/image.png)
댓글 수: 0
彬 魏
2021년 9월 20일
The torque on both sides of the gear is measured simultaneously in simscape, and the result of the torque sensor is faulty
댓글 수: 0
커뮤니티
더 많은 답변 보기: Power Electronics Community
참고 항목
카테고리
Help Center 및 File Exchange에서 Automotive Applications에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!