How to measure Torque and RPM of a DC Engine at the same time in Simulink/Simscape
59 views (last 30 days)
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?
Franck Donnadieu on 27 Dec 2017
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). ;)
Cyril CRIER on 25 Aug 2020
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:
instead of that (basic DC Motor block coming from the command "ssc_dcmotor"):
But I'm still getting this Error message:
I've inserted a simplified model to the post.
Anybody know the trick?
Vincent Riboulet on 1 Dec 2020
The torque sensor should be put in line, exactly like an intensity sensor in the electrical world.
Dimitrios Tzerakis on 13 Feb 2021
Edited: Dimitrios Tzerakis on 13 Feb 2021
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: