Top 100 Mechatronics Engineer Practice MCQs
Every question on one page: open one, choose an answer, and see why at once. Signed in, your latest answer to each question counts, and you can answer again after 24 hours.
Curated: · Written: · Reviewed: —
This collection is currently unranked practice while editorial review is pending.
MCQ-1A servo position loop is retuned by raising one PID gain. The step response now rises twice as fast, rings at a shorter period with constant amplitude around the setpoint, and never settles, with no steady-state offset. Which change and feature explain this?
Answer to see the discussion.
MCQ-2A 1024 PPR encoder on a servo shows count jitter only at high speed. A scope at its connector shows a clean 5 V square wave with steady amplitude, the counter is rated for 1 MHz, and the jitter repeats once per shaft revolution. Which cause does checking pulse timing versus amplitude point to?
Answer to see the discussion.
MCQ-3A 3.3 V SPI sensor shares SCLK, MOSI and MISO with a second slave that reads correctly. It returns 0xFF on every read, draws normal supply current, and its CS line stays at 3.3 V during transfers while SCLK and MOSI reach its pins, and manually pulling CS low produces valid reads with MISO continuity verified. Which wiring or chip-select fault best explains the readings?
Answer to see the discussion.
MCQ-4A sensor resets mid-transaction on a 400 kHz I2C bus, leaving SDA held low while SCL stays high and the controller cannot issue START. Which recovery sequence releases the bus for a new transaction?
Answer to see the discussion.
MCQ-5A servo control task with a 1 ms deadline misses it only while a low-priority logging task holds a shared sensor-bus mutex. Medium-priority tasks run freely during those misses, and no task waits on a second lock. Which scheduling phenomenon explains the missed deadlines?
Answer to see the discussion.
MCQ-6A servo position loop overshoots a step response but settles. Which PID change adds damping to reduce that overshoot?
Answer to see the discussion.
MCQ-7A 12-bit ADC digitises a 0-10 V sensor through a divider into a 3.3 V-tolerant input, but readings clip above about 8 V at the sensor. The fix must cover the full range, stay strictly below the reference at full scale, and resolve 5 mV at the sensor. Which divider and reference pairing meets all three?
Answer to see the discussion.
MCQ-8A controller talks to a PC over 115200 baud 8N1 UART. The PC uses a crystal, the controller uses its internal RC oscillator, and framing errors appear only above 60 C while room-temperature links are clean. Which clock change removes the temperature-dependent mismatch?
Answer to see the discussion.
MCQ-9A 1 kHz motor control loop runs every 1000 microseconds, but its timer ISR spends 800 microseconds computing PID terms and copying a telemetry buffer over SPI via DMA. The loop misses its deadline and jitter grows. Which deferral keeps the ISR short while preserving the control timing?
Answer to see the discussion.
MCQ-10A two-link arm's forward kinematics uses the elbow encoder's angle, which is measured between the two links, as if it were measured from the base. Which convention error causes the wrong tip position?
Answer to see the discussion.
MCQ-11A servo drive measures 12 A continuous and 30 A during acceleration with a centred current-sense amplifier usable to plus or minus 1.35 V. The shunt is limited to 0.5 W continuous, the amplifier has 100 uV input-referred offset drift, and the current loop must resolve 50 mA. Which shunt and gain pairing meets all of these constraints without clipping at peak current?
Answer to see the discussion.
MCQ-12An ISR fills a 32-byte measurement buffer then sets `ready=1`; the main loop spins on `while(!ready);` then copies the buffer, but the loop never exits and sometimes copies stale bytes. Which fix addresses both the optimized-away poll and the stale data?
Answer to see the discussion.
MCQ-13A 12 V DC motor is driven by PWM at 50% duty and a meter reads about 6 V average at its terminals, yet the shaft stays still. The motor needs roughly 8 V to break static friction and start turning. What best explains the lack of motion?
Answer to see the discussion.
MCQ-14A CAN node on vibrating equipment uses an unlatched connector and intermittently fails frame CRC checks. Which connector feature prevents this vibration-induced fault?
Answer to see the discussion.
MCQ-15A 16-bit MCU runs a 1 kHz fixed-point PID with an `int16_t` integral accumulator and Q8 error. During a large step the output saturates and the accumulator wraps from positive to negative, causing a reverse drive. Which scaling and saturation approach prevents overflow and windup?
Answer to see the discussion.
MCQ-16A 24 V PWM motor driver and an analog position sensor share a common ground return on a control board. Sensor noise spikes appear only while the driver switches, and the sensor supply rail stays clean on a scope. Which grounding change isolates the switching return current from the sensor?
Answer to see the discussion.
MCQ-17A Cortex-M7 controller receives encoder frames via DMA into a buffer in cacheable SRAM, then the CPU reads that buffer after the DMA-complete interrupt. The interrupt fires and DMA reports success, but the CPU consistently sees the previous frame's values until other code touches the buffer. What explains the stale reads?
Answer to see the discussion.
MCQ-18A stepper loses steps only when running at high speed, with slow acceleration and rated current. Which torque limit is exceeded at that speed?
Answer to see the discussion.
MCQ-19A 400 kHz, 3.3 V bus has three 2.2 kΩ pull-ups in parallel, 180 pF capacitance, and 10 mA sink rating. The controller ACKs `0x90` with alternating data from two sensors, either of which ACKs alone. The second sensor's A0 pin is 0 V instead of 3.3 V, its base address is `100100`, and the first sensor is fixed at `0x48`; which fault explains the ACKs?
Answer to see the discussion.
MCQ-20A servo position loop runs at 500 Hz with a 2 ms period, and its phase margin collapses as crossover approaches 80 Hz. The feedback is filtered with a 100 Hz first-order low-pass, the measurement is sampled at the start of the cycle, and the PWM update is applied one cycle later. Which delay and filtering choice best explains the growing lag?
Answer to see the discussion.
MCQ-21A 350 Ω strain-gauge load cell with `10 V` bridge excitation shows a no-load output shift and a falling full-scale sensitivity as temperature rises from `20 °C` to `50 °C`. The excitation supply is stable, and the cell must hold accuracy across that range without replacing the sensor. Which approach corrects the drift?
Answer to see the discussion.
MCQ-22A Hall sensor gives correct output at rest but saturates and lags when the shaft spins fast, while its supply rail remains at rated voltage. What issue does this indicate?
Answer to see the discussion.
MCQ-23A servo axis shows 0.60 mm following error at 120 mm/s and 1.20 mm at 240 mm/s, zero at rest. Enabling velocity feedforward changed nothing, and its input is wired to encoder velocity. Velocity-loop gain is already at the resonance limit and acceleration is zero during cruise. Which change removes the cruise lag?
Answer to see the discussion.
MCQ-24A low-priority telemetry task holds a shared sensor-bus mutex when a high-priority safety interlock task blocks on it, and medium-priority control tasks then preempt the holder. The mutexes are locked in varying combinations by dynamically created tasks, so no static ceiling priority can be assigned at creation. Which mutex protocol should the firmware enable to bound this inversion?
Answer to see the discussion.
MCQ-25A driver writes TIM2->CCR1 for PWM on PA0, and reading CCR1 back returns the written value, the TIM2 ID register reads correctly, TIM2EN is set and its reset bit is cleared. PA0 shows no PWM on a scope, and GPIOAEN in RCC is still zero with PA0 set to alternate-function TIM2_CH1. Which missing enable prevents the timer output reaching the pin?
Answer to see the discussion.
MCQ-26A quadrature encoder counts backward for forward shaft rotation. Which A/B wiring change reverses the counted direction?
Answer to see the discussion.
MCQ-27A 1 kHz position loop uses a 200 PPR encoder and differentiates position to get velocity. At 5 rpm the count changes only every few milliseconds, so the derivative output arrives as torque spikes, while at 500 rpm it is smooth. Which velocity measurement method gives damping at low speed without adding filter lag near crossover?
Answer to see the discussion.
MCQ-28A 24 V supply rated at 8 A feeds four solenoids drawing 5 A combined in steady state. When all four energize together, the rail dips for about 20 ms then recovers, with no shutdown, and all four must clamp together. Which addition prevents the dip while preserving simultaneous clamping?
Answer to see the discussion.
MCQ-29A controller in SPI mode 0 reads a peripheral whose datasheet states SCLK idles high, MOSI is sampled on the rising edge, and MISO changes on the falling edge. Received words are shifted by one bit with the first bit lost. Which CPOL and CPHA setting matches this peripheral?
Answer to see the discussion.
MCQ-30A controller resets every 500 ms while a single uninterruptible 2 s flash erase blocks its CPU, and its watchdog is fed only from the main loop. Which watchdog change prevents the reset during erase?
Answer to see the discussion.
MCQ-31A Type K thermocouple in a reflow oven reads 18 °C high at both 150 °C and 450 °C, with the error unchanged between runs. Its cold-junction sensor sits on the controller PCB at 40 °C, while the terminal block where the thermocouple wires land is held at 22 °C. Which correction removes the fixed offset?
Answer to see the discussion.
MCQ-32A sensorless BLDC drive has no Hall inputs and performs no open-loop alignment pulse. It detects rotor position only from back-EMF zero crossings, yet from rest it shudders without starting. Spinning the shaft by hand makes it run smoothly. Which commutation issue explains this?
Answer to see the discussion.
MCQ-33A servo PID drives a motor through a ±10 V amplifier. After a large position step the output saturates at 10 V for 400 ms while error stays positive, then the axis overshoots badly. Which anti-windup action should the controller take during saturation?
Answer to see the discussion.
MCQ-34A slow sensor on an I2C bus needs extra time to prepare each byte and holds the clock line low after acknowledging. What should the master do about its timeout?
Answer to see the discussion.
MCQ-35A Cortex-M controller runs a recursive trajectory planner on a 4 KB downward-growing stack with heap below and no guard region. A large local array in the leaf function pushes the stack past its bottom within one planner invocation, overwriting saved return addresses before the next periodic task runs. Which check detects the overflow at the stack boundary?
Answer to see the discussion.
MCQ-36A two-link arm in a vertical plane is held static with verified encoder angles and a known downward tip force. The shoulder torque from `J^T F` matches the sensor when the forearm is vertical, but the error grows as the elbow bends away from vertical. Which model term is missing?
Answer to see the discussion.
MCQ-37A vibration sensor feeds an ADC sampling at 1000 Hz, and a 900 Hz bearing tone appears as a steady 100 Hz reading. The sensor also picks up broadband noise up to 1500 Hz, the 900 Hz tone must be measured directly, and the ADC rate can be raised. Which sampling and filtering change removes the false reading?
Answer to see the discussion.
MCQ-38A UART receiver overruns its FIFO at high throughput, and the sender supports RTS/CTS. Which change prevents data loss by pausing the sender?
Answer to see the discussion.
MCQ-39A 24 V relay coil of 240 ohms and 120 mH is driven by a fixed 60 V MOSFET, and its contacts switch a resistive load with no arc. The armature chatters because coil current falls too slowly, and current must fall to 20% within 0.30 ms of switch-off. Which suppression choice meets both the release time and the MOSFET rating?
Answer to see the discussion.
MCQ-40A tilt module on a stationary test rig uses a complementary filter blending gyro rate with accelerometer tilt. At rest the accelerometer reads a stable 1 g, yet the pitch estimate drifts about 2 degrees over five minutes. The filter applies a fixed correction gain and never estimates gyro bias. What missing correction stops this drift?
Answer to see the discussion.
MCQ-41A MOSFET motor driver runs at a fixed PWM frequency and overheats only when load current rises sharply, while its switching frequency and supply voltage stay unchanged. Which loss mechanism best explains the overheating?
Answer to see the discussion.
MCQ-42A 1 kHz servo PID saturates its ±10 V amplifier at 10 V for 400 ms with positive error, and the integral keeps rising while saturated. Its back-calculation uses tracking time constant Tt = 0.05 s, giving Kt = 1/Tt. Which coefficient should multiply the saturation difference in the integral update?
Answer to see the discussion.
MCQ-43A logic analyzer shows START, address byte 0xA0, then NACK and STOP when a controller polls a sensor whose datasheet lists a seven-bit address of 0x48. The sensor supply measures 3.3 V, its reset pin is high, and a bench master ACKs the same sensor at address byte 0x90. Which correction addresses the NACK after the address byte?
Answer to see the discussion.
MCQ-44A battery-powered controller enters STOP2 with a 5 uA sleep budget but draws 480 uA. Unplugging the external pressure sensor drops sleep current to 4 uA, while disabling its I2C clock in firmware changes nothing. The sensor rail is fed by an LDO whose enable pin has a board pull-up and is driven by a high-impedance MCU GPIO in STOP2. Which element remains powered during sleep?
Answer to see the discussion.
MCQ-45A two-link arm's workspace requires the elbow to stay above the shoulder-to-wrist line to clear a fixture. Which inverse-kinematics branch does the controller select?
Answer to see the discussion.
MCQ-46A 24 V servo drive at 50% duty uses 330 µH and 10 kHz PWM, giving 1.8 A ripple from ΔI ≈ 24×0.25/(L×f). Ripple must fall below 0.60 A, switching must be inaudible above 20 kHz, heatsink limits PWM to 25 kHz, and current-loop slew requires L at or below 500 µH. Which combination meets all four limits?
Answer to see the discussion.
MCQ-47A controller shares SCLK, MOSI and MISO between two SPI slaves with separate chip-select lines. Transfers to the second slave corrupt only when issued immediately after the first, and the analyzer shows both chip-selects low together for 200 ns. What timing change prevents the corruption?
Answer to see the discussion.
MCQ-48A Cortex-M board connects to a JTAG probe with TCK, TMS, TDI and TDO wired, and the probe reads the correct IDCODE while VTref measures 3.3 V and grounds are common. The target nRESET pin sits at 0 V, core registers stay unreadable, and a halt request has no effect. Which missing connection explains this?
Answer to see the discussion.
MCQ-49A vertical linear axis lifts a payload at constant speed using gravity feedforward, and the required force is constant with height. It needs a steady extra force beyond feedforward at every height, unchanged when the direction of travel reverses. Which parameter is miscalibrated?
Answer to see the discussion.
MCQ-50A 4096 PPR encoder outputs a Z index pulse one A-period wide, about 5 µs at 3000 rpm, and firmware confirms it by reading the pin level inside a low-priority EXTI handler. Interrupts are disabled for 30 µs during a buffer copy, the scope shows a clean Z pulse at the connector, and Z is missed only at high speed. Which change captures Z reliably?
Answer to see the discussion.
MCQ-51A velocity loop crosses over at 20 Hz with a 30 degree phase margin, allowing at most 12 degrees of filter lag at crossover. A first-order low-pass must also cut 300 Hz encoder noise to below one third. Which cutoff placement meets both limits?
Answer to see the discussion.
MCQ-52A 24 V DC motor runs open-loop at a fixed terminal voltage, with terminal voltage holding at 24 V as load torque rises. Shaft speed falls from 3000 rpm unloaded to 2400 rpm loaded while armature current climbs. Which mechanism explains the speed droop in this setup?
Answer to see the discussion.
MCQ-53A motion controller receives encoder frames over DMA double buffering, each with a CRC and a sequence counter. CRC passes on every frame, yet the controller sometimes acts on the previous frame's position after a dropped frame. Which missing check explains this?
Answer to see the discussion.
MCQ-54A shared RTOS queue of depth 16 carries 100 Hz telemetry and safety interlock state snapshots, where each newer snapshot supersedes earlier ones. During logging stalls telemetry fills the queue and safety snapshots are dropped, delaying the stop response. Which queue arrangement preserves the latest safety state?
Answer to see the discussion.
MCQ-55A buck regulator oscillates after its 100 mΩ electrolytic output capacitor is swapped for a 5 mΩ ceramic part, while its Type II compensation stays tuned for the electrolytic. The ceramic must remain, and a small series resistor can be fitted in its branch. Which change restores stability?
Answer to see the discussion.
MCQ-56A shock logger's ±40 g accelerometer clips at 70 g peaks from a 3 ms drop pulse. The pulse contains energy up to 350 Hz, so the replacement must pass that content without clipping. Which range and bandwidth selection captures the pulse peak?
Answer to see the discussion.
MCQ-57A servo PID is tuned on the bench with no payload, then run on the machine with a heavy tool head fitted and the same gains. Which plant property changed to invalidate the bench tuning?
Answer to see the discussion.
MCQ-58A motion controller on an STM32F4 runs TIM2 with `ARR=999` and `PSC=83` for a 1 kHz update, but the scope shows 500 Hz. UART on APB1 runs at the correct baud, SysTick timing is correct, and the APB1 prescaler is `/2` as designed. Which divider is misconfigured?
Answer to see the discussion.
MCQ-59A sensor latches a config-register write only when the transaction ends with STOP, but retains its data-register pointer only if a pointer write is followed by a repeated START. The controller currently uses a repeated START after the config write and a STOP before the data read, and the analyzer shows the config never latches while the data read returns the default register. Which condition pairing should the controller use?
Answer to see the discussion.
MCQ-60A 48 V servo drive uses 120 µH phase inductance with 10 kHz PWM, and its current loop stalls near 900 Hz because current slew is voltage-limited. Ripple must not exceed its present value, and the heatsink caps PWM at 25 kHz. Which switching and inductance change doubles the achievable bandwidth?
Answer to see the discussion.
MCQ-61A pressure sensor matches a straight line at zero and full scale but bows above it mid-range, with a sharp kink near mid-scale at constant temperature. Firmware on a fixed-point MCU can store only input-output pairs in its 2 KB correction table, with no floating-point or coefficient storage. Which correction should it apply?
Answer to see the discussion.
MCQ-62A 1 kHz servo loop on a 168 MHz Cortex-M4 must enter its encoder ISR within 20 µs, but scope shows entry delay varying from 3 µs to 52 µs. The longest interrupt-disabled buffer copy takes 49 µs, flash logging disables interrupts for 12 µs, and the shared telemetry buffer ceiling is set to the control task priority. Which combination explains the jitter and the missed bound?
Answer to see the discussion.
MCQ-63A 1.8° two-phase stepper drives a stage at low speed in full-step mode and shows audible vibration and position ripple near 120 rpm, while torque margin and supply voltage are already adequate. The driver supports finer microstepping and current shaping. Which change best reduces the low-speed resonance?
Answer to see the discussion.
MCQ-64A controller clocks a pressure sensor over SPI at 16 MHz and the first bit is corrupted on every transfer. The sensor datasheet caps SCLK at half that rate, and its timing diagram shows a longer chip-select setup interval than hold interval. Which clock and chip-select timing should the firmware use?
Answer to see the discussion.
MCQ-65A field device with two internal flash banks updates firmware in place over the running bank, and power loss during the write leaves it unbootable. The board has no external flash chip and no service access for a programmer. Which bootloader scheme prevents bricking on power loss during an update?
Answer to see the discussion.
MCQ-66A cascade servo's position loop is smooth, but its velocity loop chatters at 1.8 kHz. Velocity is differentiated encoder counts sampled at 4 kHz through a 3.5 kHz filter; velocity crossover is 80 Hz with 55 degrees phase margin and loop gain at 1.8 kHz is -20 dB, and halving velocity proportional gain left the chatter unchanged. Which setting is too high?
Answer to see the discussion.
MCQ-67A 24 V MOSFET motor driver switches on a controller board whose MCU digital limit inputs glitch at every switching edge. The MCU ground bounces against the driver ground, its decoupling capacitor sits 70 mm away on a shared return trace, and a star point already joins power and signal grounds at the supply inlet. Which placement change stops the false triggers?
Answer to see the discussion.
MCQ-68A Cortex-M controller in tickless idle enters STOP2 and wakes every 10 ms on RTC. A sensor pulses DRDY on PB5 for 2 ms between wakes, scope confirms the pulse, EXTI5 is NVIC-enabled at highest priority, yet no wake occurs. Which wake configuration is wrong?
Answer to see the discussion.
MCQ-69A BLDC datasheet lists Kt in Nm per RMS ampere, while the drive's current loop commands peak phase current. The engineer divides target torque by Kt and sends the result directly as the peak current command, producing too little torque, so which conversion error explains the shortfall?
Answer to see the discussion.
MCQ-70A sensor configured for 9600 baud 8E1 measures 98.6 microseconds per bit on a scope, while the controller receiver is set to 9600 baud 8E1. A logic analyzer confirms the parity bit is correct on the wire, yet the receiver reports parity errors only when that parity bit is 0, with no framing errors. Which sampling issue explains this pattern?
Answer to see the discussion.
MCQ-71A precision stage has 30 µm of gear backlash and a motor-side encoder only in its position loop. At a fixed setpoint it limit-cycles ±25 µm, while an unused load-side encoder on the stage reads steady within ±3 µm. The stage must hold ±5 µm after reversals. Which change stops the hunting?
Answer to see the discussion.
MCQ-72A bridge pressure sensor is excited from the 5 V rail and its differential output scales directly with that excitation. The ADC has a stable absolute reference, but the 5 V rail drifts ±3% with load, so reported pressure drifts. No extra regulator can be fitted and excitation must stay on that rail. Which reference arrangement cancels the drift?
Answer to see the discussion.
MCQ-73DMA continuously writes 64-byte encoder frames while the CPU reads them, causing half-old half-new reads. A safety ISR must stay enabled, DMA must never stall, and the CPU must use each frame without copying it. Which mechanism prevents torn reads under those constraints?
Answer to see the discussion.
MCQ-74A 100:1 geared axis uses a motor encoder divided by 100 to predict load position, checked against a load encoder. After 100 motor revolutions the load encoder is exactly one load revolution behind, with the same proportional shortfall in both directions and no sudden jumps. Which cause explains the disagreement?
Answer to see the discussion.
MCQ-75A servo position loop with fixed proportional and derivative gains shows zero steady-state error after a step, but overshoot rises from 6% to 34% as integral gain is increased, with no amplifier saturation during the step. Which integral setting is excessive for this response?
Answer to see the discussion.
MCQ-76A 400 kHz I2C bus runs at 3.3 V with 200 pF of total bus capacitance and 10 kohm pull-ups, and its rising edges exceed the 300 ns limit. Each device can sink 3 mA at 0.4 V, so which pull-up value satisfies both limits?
Answer to see the discussion.
MCQ-77A Cortex-M controller reads a 32-bit encoder count from a byte buffer at an odd address by casting the buffer to a 32-bit pointer, and the read raises a HardFault. Which access caused the fault?
Answer to see the discussion.
MCQ-78A linear class-B output transistor in a 45 C enclosure has Tj max 150 C, Rth(j-c) 1.5 C/W and a 0.5 C/W mounting interface, with worst-case dissipation 21 W. The heatsink must keep the junction at or below its limit at that dissipation. What is the largest heatsink thermal resistance that meets the limit?
Answer to see the discussion.
MCQ-79A rotary axis has reflected inertia 0.02 kg·m², peak motor torque 4 Nm against 1 Nm friction and gravity torque, a drive torque slew of 200 Nm/s, and a 48 V limit with back-EMF constant 0.16 V·s/rad. Its planner requests 200 rad/s² acceleration, unlimited jerk, and 400 rad/s velocity. Which limits must the planner enforce?
Answer to see the discussion.
MCQ-80A controller fuses IMU and encoder data in a Kalman filter requiring sample alignment within 10 microseconds. Firmware timestamps samples when the main loop finishes I2C reads, varying by 300 microseconds during logging, and neither sensor accepts a sync input. Both sensors provide data-ready outputs connected to timer capture inputs, so which timestamping method meets the alignment requirement?
Answer to see the discussion.
MCQ-81A 500 kbit/s CAN bus has 120 ohm termination at one end only, with the far end open, and error frames increase with ringing on CANH and CANL. Which issue is present?
Answer to see the discussion.
MCQ-82A battery controller enters STOP2 with an SRAM calibration table rewritten every wake and a 5 uA sleep budget. Its coin cell falls to 2.3 V at end of life, the backup SRAM retention minimum is 2.0 V, and a Schottky OR diode in the backup feed drops 0.4 V. Which backup supply choice guarantees retention at end of life?
Answer to see the discussion.
MCQ-83A 1 kHz servo position loop takes a 10 degree step and the drive output spikes briefly before settling, even though the measured position has not moved. The PID currently forms proportional and derivative terms from the full setpoint error. Which two-degree-of-freedom structure removes the kick without changing steady-state tracking?
Answer to see the discussion.
MCQ-84A proportional solenoid valve shows 8% spool hysteresis, so small command changes produce unpredictable flow increments and repeat poorly. No spool position sensor is fitted, the downstream flow meter is too slow for an inner loop, and the process needs smooth small flow steps without adding a sensor. Which fix linearises the small-signal response?
Answer to see the discussion.
MCQ-85A controller switches an SPI flash to quad I/O fast read, with the status register quad-enable bit already set. Reads return garbage because the command is sent with no dummy cycles between address and data. Which dummy-cycle configuration is missing?
Answer to see the discussion.
MCQ-86A motion controller runs servo, planner and logger tasks all at priority 5 on a fixed-priority preemptive RTOS with no time slicing. The servo task never blocks or suspends and is always ready polling at 98% CPU for a 1 ms deadline, while the 10 ms planner and 100 ms logger get no runs for over 2 s. Which scheduling change stops the starvation?
Answer to see the discussion.
MCQ-87A rotary stage must position within 0.01 degrees at the load. Its motor encoder is 512 PPR with quadrature decoding, driving the load through a 5:1 gear reduction. Which resolution calculation shows whether the encoder meets the requirement?
Answer to see the discussion.
MCQ-88A gantry axis runs power-on self-test before motion is enabled. Its harness connector, encoder, and motor driver have all failed in the field, and the encoder reads a valid value at rest. Which test sequence isolates each fault class before enabling motion?
Answer to see the discussion.
MCQ-89A 24 V motor drive fails radiated emissions with a peak exactly at its 20 kHz PWM fundamental, while harmonics above it pass. The motor cable is 2 m long and unshielded, routed away from the enclosure. Which change reduces the fundamental peak?
Answer to see the discussion.
MCQ-90A velocity loop crosses over at 50 Hz, with 12° of phase margin left for delay. Delay is 1.5 samples plus 80 µs of interrupt latency, and the processor caps this loop at 4 kHz. Which sample rate should the team choose?
Answer to see the discussion.
MCQ-91A 400 kHz I2C sensor browns out mid-byte and holds SDA low while SCL stays high, so the master cannot issue START. Its datasheet states it releases SDA only after the remaining bits of the current byte plus its ACK clock, it has no hardware reset pin, and the sensor rail cannot be power-cycled. Which recovery sequence clears the bus for a new transaction?
Answer to see the discussion.
MCQ-92A Cortex-M4 servo controller measures encoder ISR entry at 38 \u00b5s when a telemetry ISR is already running, but 4 \u00b5s when idle. Both ISRs share preemption priority 5 and differ only in subpriority, tail-chaining is already enabled, and interrupts are never disabled. Which NVIC setting change removes the waiting?
Answer to see the discussion.
MCQ-93A robot joint passes its mechanical limit during trajectory execution because the planner generates commanded points beyond the configured range. Which software design prevents the joint from being commanded past its limit?
Answer to see the discussion.
MCQ-94A 4-20 mA transmitter loop uses a 12-bit ADC with a 3.3 V reference (±1%), a 0.10 W burden resistor (±1%), and a 3.6 V absolute-maximum input. The transmitter can drive 22 mA on overrange, and firmware must separate 4.0 mA from a 3.8 mA open-loop fault in worst case. The span must stay at least 2.20 V and 20 mA must not clip in worst case. Which burden resistor and ADC scaling give the correct range?
Answer to see the discussion.
MCQ-95A 48 V MOSFET motor driver asserts its fault pin for about a microsecond at each PWM turn-on above 80% duty. The current-sense trace shows a brief reverse-recovery spike well above load current, while steady current and MOSFET on-state voltage stay normal. Which setting is mis-set?
Answer to see the discussion.
MCQ-96A precision linear stage has only 2 mm of travel beyond its operating point before a hard stop, and a small step test within travel has already given a first-order model of the axis. Ziegler-Nichols relay tuning drives a limit cycle into that stop and overshoots badly on release. Which tuning approach should the team use instead?
Answer to see the discussion.
MCQ-97A 10 kHz encoder ISR captures samples while a logging task sends them over a 115200 baud UART. The task blocks on transmit and samples are dropped whenever logging lags the ISR. Which logging path preserves every sample without delaying the ISR?
Answer to see the discussion.
MCQ-98A polishing arm chatters on contact with a stiff workpiece. Its force loop crosses over at 120 Hz, the arm's first structural resonance is 85 Hz, sampling is 1 kHz, and it must track surface waviness at 25 Hz. Which bandwidth choice stabilizes contact?
Answer to see the discussion.
MCQ-99A servo controller passes unit tests with mocked encoder feedback and an ideal simulated plant. In integration, vibration intermittently opens the encoder connector, the controller keeps using the last position, and the axis drives into its hard stop. Which hardware-in-the-loop fault-injection test would have caught this?
Answer to see the discussion.