Your cart is empty
Add prompt packs to continue
This exclusive collection of prompts represents the definitive tool for the modern electronics engineer looking to maximize their productivity and technical precision. Designed by industry experts, each instruction has been refined to transform artificial intelligence into a high-level assistant capable of solving everything from complex analog circuit analysis to the strategic management of large-scale technology projects. By integrating this library into their workflow, professionals will be able to automate repetitive calculation tasks, optimize the design of embedded systems, and ensure compliance with international regulations at an unprecedented level of detail. It is the essential investment to lead the forefront of electronic innovation, reducing development times and raising quality standards in each implementation.
100 resources included
He acts as a Senior Digital Signal Processing Engineer specialized in the design of high-precision embedded systems. Your task is to perform a deep technical audit on the quantification of digital rounding errors for a specific implementation of a [SYSTEM/ALGORITHM]. You must approach this problem from both a theoretical and practical perspective, analyzing how the transition from a (theoretical) infinite precision representation to a finite bit representation affects data integrity and real-time system performance. Consider the impact on audio processing or control systems where the accumulation of errors can significantly degrade the linearity and overall stability of the system. Specifies in detail the numerical format to be evaluated, using [TOTAL_BITS] for the entire word and [FRACTIONARY_BITS] for the decimal part in an architecture of [ARITHMETIC_TYPE: FIXED POINT/FLOATING POINT]. Analytically calculate the power of quantization noise based on the additive noise (AWQN) model. Determines the value of the quantization step (Quantum or LSB) and how it propagates through the multiplication and addition operations within the [FILTER/PROCESS] structure. It is vital that you analyze the phenomenon of 'limit cycles' if the system has feedback, and how the rounding mode [ROUNDING_MODE: TRUNCATION/CONVERGING] influences the mean error (bias) and the total variance of the noise at the output. Develop an advanced simulation in [PROGRAMMING_LANGUAGE: MATLAB/PYTHON] that allows you to visualize these effects quantitatively. The simulation must necessarily include: 1) The generation of a test signal [INPUT_SIGNAL_TYPE], 2) Parallel processing in double precision (as an ideal reference) and in the bit precision defined for the target hardware, 3) The calculation of the Mean Square Error (MSE) and the Signal to Quantization Noise Ratio (SQNR). Generate visualizations that include the Power Spectral Density (PSD) of the error to identify whether the noise is white or has unwanted tonal components due to correlation with the input signal, which is critical in high-fidelity applications or medical instrumentation. To conclude, propose an optimization strategy based on the numerical results obtained. Evaluates whether the use of techniques such as 'Error Feedback' or selectively increasing the length of the accumulators is necessary to meet a maximum error margin of [MAXIMUM_ERROR_MARGIN]. Provides recommendations on system topology (for example, using second-order SOS sections instead of a direct type II shape) to minimize noise gain and maximize the available dynamic range, ensuring that the final design is robust to coefficient variations caused by parameter quantization.
He acts as a Senior Embedded Systems Engineer with extensive experience in firmware development for high-performance and real-time architectures. Your mission is to design, configure and optimize an external interrupt management system (EXTI) for the microcontroller [MICROCONTROLLER_FAMILY, e.g. STM32H7, ESP32-S3, NXP i.MX RT]. The goal is to ensure that multiple critical signals coming from [INPUT_DEVICES, e.g. Hall effect sensors, optical encoders, or emergency stop buttons] are processed with minimal deterministic latency and a strictly defined priority hierarchy to avoid race conditions or processor lockups. Start by defining the configuration of specific hardware registers for input/output (GPIO) control. You must establish the operation mode, the necessary pull-up/pull-down resistors and the type of event detection [DETECTION_TYPE, e.g. rising edge, falling edge or both]. It is imperative that the design contemplates a noise filtering or 'debouncing' mechanism adapted to the response speed required by the peripheral, either through hardware hysteresis or internal timers that do not block the main flow of the program. Delve into the configuration of the interrupt handler [INTERRUPTION_HANDLER, e.g. NVIC on ARM Cortex-M, CLIC on RISC-V]. Explains the implementation of 'Priority Grouping' in detail, assigning specific levels for 'Preemption Priority' and 'Sub-priority'. The code must be written in [PROGRAMMING_LANGUAGE, e.g. C99, C++, Rust] using the abstraction layer [ABSTRACTION_LAYER, e.g. Direct Registrations, CMSIS, Manufacturer HAL]. Be sure to include the necessary logic to enable interrupting at both the peripheral and core levels, ensuring that interrupt masks are handled atomically. Provides the optimized Interrupt Service Routine (ISR) structure. The ISR should follow low-level programming best practices: ultra-fast execution, using variables with the 'volatile' qualifier for communication with the main loop, and manually clearing pending interrupt flags to avoid infinite reentries. It ends by analyzing the theoretical interruption latency and offering a strategy to validate the system behavior using [VALIDATION_TOOL, e.g. oscilloscope, logic analyzer or ITM/SWO].
Acts as a Control and Automation Engineer expert in high-precision mechatronic systems. Your objective is to develop a comprehensive theoretical and practical framework for the mathematical modeling and simulation of a [SERVOMOTOR TYPE: DC, BLDC or PMSM] operating in a closed-loop control configuration. The analysis must begin from fundamental physical principles, deriving the differential equations that govern both the electrical dynamics (armature mesh, inductance, resistance) and the mechanical dynamics (moment of inertia, viscous friction coefficient, and coupled load). It is imperative that the model considers the back electromotive force constant (Ke) and the torque constant (Kt) to establish the electromechanical coupling of the system in a rigorous way. Subsequently, it proceeds to transform these equations to the frequency domain using the Laplace Transform to obtain the plant transfer function G(s). Once the plant is defined, it integrates the essential elements of the closed loop: the controller block [CONTROLLER TYPE: PID, PI, PD or LQR], the power converter or driver model (considering saturation if necessary), and the dynamics of the feedback sensor [SENSOR TYPE: Incremental encoder, Resolver or Hall effect sensor]. You must explain how the error signal is calculated and how the controller processes this difference to minimize deviations from the setpoint of [VARIABLE TO CONTROL: Position, Speed or Torque]. The prompt should include an in-depth discussion of tuning the controller parameters. It uses recognized methods such as Ziegler-Nichols, Locus of Roots (LGR), or Pole Mapping to ensure that the system meets the requested performance criteria: a maximum overshoot of [OVERROUND PERCENTAGE]%, a settling time of less than [TIME IN SECONDS] seconds, and zero steady-state error for step or ramp type inputs. In addition, it discusses the stability of the system by applying the Routh-Hurwitz criterion or the analysis of phase and gain margins in Bode plots to ensure robustness to external load disturbances. Finally, generate a detailed script in [SOFTWARE: MATLAB/Simulink, Python/Control Library or LabVIEW] that allows you to visualize the temporal response of the system. The code must include the definition of state space matrices (A, B, C, D) for a multivariate analysis and the implementation of a filter to reduce noise in the feedback signal. Be sure to include technical comments in each section of the code that explain the relevance of the adjusted physical parameters and how they affect the overall stability of the servomotor in high-demand industrial environments.