DC Motor Direction Controller

DC Motor Direction Controller is the simulatin that shows the direction of a small DC Motor.
5.4K Downloads
Updated 10 Aug 2006

No License

DC Motor Controller allows user to control the direction of a small DC Motor, which is used in Tape Recorders, CD ROMs, Toys. etc.
The two voltage Inputs A and B are required in this circuit whose limits from 5V to 15V. The Dead Zone is used for setting the Limit. If the Inputs values lies within the limit, then the two input valueswill sum up in the summer with positive and negative sign.
The resulted summition or difference values will goes to 'Sgn' function, whose funtion is that if the input value is positve, it will gives +1, -1 for negative input and 0 for zero Input.
The three 'Hit Crossing' functions are attached after the 'Sign' function, with values of +1, -1 and 0 simultaneously, each of them O/P connected with 'Scope'.
If the Hit Crossing Match +1, the scope1 gives 1 value which tells that the motoer rotates on a Forward Direction. Similarly when Hit Crossing Match -1, the scope2 gives 1value showing that the Motor Rotates on the Reverse Direction. If the Hit Crossing Match 0 value, the scope3 gives 1 telling that Motor Stop.

Cite As

Asif Khokhar M. (2024). DC Motor Direction Controller (https://www.mathworks.com/matlabcentral/fileexchange/11937-dc-motor-direction-controller), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R11
Compatible with any release
Platform Compatibility
Windows macOS Linux
Communities

Community Treasure Hunt

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

Start Hunting!
Version Published Release Notes
1.0.0.0