Professional Context
With a defect rate of 5% and a latency of 10ms, Electrical and Electronic Engineering Technologists and Technicians face intense pressure to optimize system performance while maintaining high uptime, making every sprint velocity count to meet stringent KPIs.
💡 Expert Advice & Considerations
Don't rely on Claude to replace your own analytical skills, use it to augment your code reviews and root cause analyses to identify patterns you might have otherwise missed.
Advanced Prompt Library
4 Expert PromptsDesign and Implement a PID Controller
Design a PID controller for a DC motor using a Microcontroller, with a desired setpoint of 1000 RPM, a sampling period of 10ms, and a maximum output of 12V. The motor has a resistance of 2 ohms and an inductance of 0.1H. Provide a step-by-step guide on how to implement the controller, including the algorithm, circuit diagram, and code snippets. Consider the effects of noise and interference on the system and propose methods to mitigate them. The controller should be able to adjust the motor speed to track the setpoint with a maximum error of 5%.
Fault Analysis of a Power Distribution System
A power distribution system consisting of a 3-phase 400V supply, a step-down transformer, and a distribution board has been experiencing intermittent faults. The system has a total load of 10kW and a maximum current rating of 25A. Analyze the system's architecture and provide a list of potential fault causes, including overloading, short circuits, and component failures. Develop a root cause analysis template to investigate the faults, including a fault tree diagram and a set of diagnostic tests. Propose a set of recommendations to mitigate the faults and improve the system's reliability, considering factors such as cable sizing, protection devices, and maintenance schedules.
Code Review and Optimization of an Embedded System
Perform a thorough code review of an embedded system written in C, which controls a robotic arm using a set of sensors and actuators. The system has a limited memory of 256kB and a processing power of 100MHz. Identify areas of improvement, including code efficiency, memory usage, and potential bugs. Provide a set of recommendations to optimize the code, including reducing memory allocation, improving interrupt handling, and enhancing error handling. Propose a set of unit tests to validate the optimized code, considering factors such as code coverage, test duration, and test data.
Deployment Script Development for an IoT Device
Develop a deployment script for an IoT device using AWS IoT Core, which collects sensor data and sends it to the cloud for processing. The script should configure the device's Wi-Fi settings, install the necessary dependencies, and deploy the application code. The device has a limited storage capacity of 1GB and a limited processing power of 50MHz. Provide a step-by-step guide on how to develop the script, including the use of AWS CLI, Python, and Git. Consider the security aspects of the deployment, including encryption, authentication, and access control. Propose a set of recommendations to improve the script's reliability and efficiency, including error handling, logging, and monitoring.