{"id":29032441,"url":"https://github.com/dhanushgit03/dc-motor-speed-control-simulation","last_synced_at":"2025-10-12T02:43:05.277Z","repository":{"id":299807009,"uuid":"1004080167","full_name":"DhanushGit03/dc-motor-speed-control-simulation","owner":"DhanushGit03","description":"Simulink-based closed-loop DC motor speed control system using a PID controller, with motor parameter initialization via MATLAB scripts and performance analysis through scopes.","archived":false,"fork":false,"pushed_at":"2025-06-24T03:57:38.000Z","size":71,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-06-26T11:02:09.764Z","etag":null,"topics":["control-systems","dc-motor","matlab","matlab-project","motor-simulation","pid","pid-controller","simulink"],"latest_commit_sha":null,"homepage":"","language":"MATLAB","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/DhanushGit03.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-06-18T05:03:58.000Z","updated_at":"2025-06-24T03:57:41.000Z","dependencies_parsed_at":"2025-06-20T02:32:17.737Z","dependency_job_id":null,"html_url":"https://github.com/DhanushGit03/dc-motor-speed-control-simulation","commit_stats":null,"previous_names":["dhanushgit03/dc-motor-speed-control-simulation"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/DhanushGit03/dc-motor-speed-control-simulation","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DhanushGit03%2Fdc-motor-speed-control-simulation","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DhanushGit03%2Fdc-motor-speed-control-simulation/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DhanushGit03%2Fdc-motor-speed-control-simulation/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DhanushGit03%2Fdc-motor-speed-control-simulation/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/DhanushGit03","download_url":"https://codeload.github.com/DhanushGit03/dc-motor-speed-control-simulation/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DhanushGit03%2Fdc-motor-speed-control-simulation/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279009963,"owners_count":26084671,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-12T02:00:06.719Z","response_time":53,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["control-systems","dc-motor","matlab","matlab-project","motor-simulation","pid","pid-controller","simulink"],"created_at":"2025-06-26T11:00:38.344Z","updated_at":"2025-10-12T02:43:05.235Z","avatar_url":"https://github.com/DhanushGit03.png","language":"MATLAB","readme":"# DC Motor Speed Control Simulation 🚀\n\nThis repository contains a Simulink-based simulation project to model and control the speed of a DC motor using classical control techniques such as the **PID controller**. This project is useful for students and enthusiasts interested in control systems, modeling, and real-time simulation with MATLAB \u0026 Simulink.\n\n---\n\n## 🧠 Project Objectives\n\n- Model a DC motor using its physical parameters.\n- Design and tune a PID controller to maintain desired motor speed.\n- Analyze performance (overshoot, settling time, rise time).\n- Visualize system response with scopes and plots.\n- Demonstrate closed-loop speed regulation under step inputs.\n\n---\n\n## 🛠️ Files Included\n\n| File/Folder                 | Description                                                  |\n|----------------------------|--------------------------------------------------------------|\n| `MyModel.slx`              | Main Simulink model file                                     |\n| `MyModel.slxc`             | Simulink cache file (auto-generated, ignored going forward)  |\n| `Machine_Parameters.m`     | MATLAB script defining motor parameters                      |\n| `DCMotorSpeedControlSimulation.prj` | Simulink Project file                            |\n| `resources/project/`       | Additional model assets or references                        |\n\n**Note:** You can ignore `.slxc` — it's an auto-generated Simulink cache file not needed for version control or manual editing.\n\n---\n\n## 🧪 Technologies Used\n\n- **MATLAB** (for scripting and parameter definition)\n- **Simulink** (for block diagram-based modeling)\n- **Control System Toolbox**\n- **PID Controller Tuning**\n\n---\n\n## ⚙️ How to Run\n\n1. Clone the repository:\n   ```bash\n   git clone https://github.com/DhanushGit03/DCMotorSpeedControlSimulation.git\n2. Open the `.prj` file in MATLAB by navigating to the cloned folder using the `Open Folder` option.\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"images/image1.png\" alt=\"Model Properties\" width=\"600\"/\u003e\n\u003c/p\u003e\n\n3. Now right-click on the `Simulink model` and select `Model Properties`.\n4. Navigate to the `Call Backs` tab, then paste the saved file contents from `Machine_Parameters.m` into the appropriate callback section (such as `InitFcn`).\n5. Click `Apply` and then `OK`.\n6. Click the `Run` button in Simulink to start the simulation.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdhanushgit03%2Fdc-motor-speed-control-simulation","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdhanushgit03%2Fdc-motor-speed-control-simulation","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdhanushgit03%2Fdc-motor-speed-control-simulation/lists"}