Info

Cette question est clôturée. Rouvrir pour modifier ou répondre.

Trying to implement a feature in Simulink (Help)

2 vues (au cours des 30 derniers jours)
Reuben
Reuben le 27 Avr 2016
Clôturé : MATLAB Answer Bot le 20 Août 2021
I have a Simulink diagram that controls a motor using state feedback control
One of the measurement devices is a gyro that has a tendency to change bias often.
Currently I have a predefined "bias" that eliminates the bias. The issue is that this number changes every time I start the test.
I want to implement a feature in my Simulink diagram that (for only the first 1 second) reads the gyro value and sets that as the bias to use for the rest of the time.
This way the bias automatically redefines at the start of every test.
Thanks.

Réponses (0)

Cette question est clôturée.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by