tuning-techniques
Tuning 13b-rew with Aem Infinity: Achieving 400+ Hp Safely
Table of Contents
Tuning the Mazda RX-7’s 13B-REW rotary engine with an AEM Infinity Series standalone ECU is a proven path to unlocking 400+ wheel horsepower while preserving daily-drive reliability. This combination allows precise control over fuel, ignition, and boost that the factory computer cannot match. However, reaching this power level safely requires methodical preparation and a deep understanding of the rotary’s unique needs. This article provides a comprehensive guide to building and tuning a 400+ HP 13B-REW using the AEM Infinity, covering everything from component selection to final validation.
Understanding the 13B-REW Engine
The 13B-REW is the third-generation twin-turbo rotary engine produced by Mazda for the FD3S RX-7. It displaces 1.3 liters across two rotors, producing roughly 255 horsepower at the flywheel from the factory. Key characteristics include:
- Sequential twin-turbo system: A small primary turbo spools quickly for low-end response, while a larger secondary turbo takes over at higher rpm. This setup delivers broad torque but introduces complexity in boost control.
- Lightweight rotating assembly: The rotors and eccentric shaft are much lighter than reciprocating pistons and cranks, allowing rapid revving and a high power-to-weight ratio.
- Apex seals: The triangular rotor tips use movable seals that contact the housing wall. Heat and detonation quickly damage these seals, making knock-free tuning essential.
- Aspirated cooling system limitations: The stock oil coolers and water-to-oil cooler can be marginal above 350 wheel horsepower. Upgraded cooling is critical for 400+ HP.
For a detailed technical overview of the 13B-REW, you can refer to the RX-7Club 3rd Gen forum, which has decades of accumulated knowledge.
Benefits of the AEM Infinity ECU
The AEM Infinity 506 or 508 series is a full standalone engine management system that replaces the stock ECU entirely. It offers several advantages over piggyback controllers or older standalone units:
- Individual cylinder fuel and ignition control: The Infinity can trim fuel and timing for each rotor, which is invaluable for balancing the two rotors on a rotary engine.
- Integrated wideband O2 control: Directly connect a Bosch or NTK wideband sensor for closed-loop lambda targeting and data logging.
- Built-in boost control: Drive an external wastegate or the stock sequential system’s solenoids directly from the ECU, with PID control for precise boost management.
- High-speed data logging: Log up to 200 channels at 100 Hz, including knock sensor inputs, wideband readings, and throttle position.
- Flex fuel compatibility: The Infinity can run ethanol blends with a simple ethanol content sensor, allowing safe power increases on E85.
- Comprehensive safety strategies: Set boost cut, fuel cut, rev limiters, and knock response tables to protect the engine.
For detailed specifications, visit the official AEM Infinity product page.
Preparing for the Tune
Before any tuning begins, the engine and supporting systems must be able to handle 400+ horsepower reliably. The following components should be addressed:
Fuel System
- Fuel injectors: Upgrade to at least 1000 cc/min primary (low-impedance or high-impedance, depending on ECU driver) and 2000 cc/min secondary injectors if running the stock dual-injector-per-rotor configuration. Many tuners prefer a single set of larger injectors relocated to a direct-port setup.
- Fuel pump: A single Walbro 450 or two Walbro 255 pumps in a surge tank setup will support 500 HP on pump gas. Use an aftermarket fuel pressure regulator to maintain 43.5 psi base pressure.
- Fuel lines: Replace the restrictive stock rubber lines with -6AN or -8AN stainless steel braided lines and appropriate fittings.
Air and Exhaust
- Intercooler: The stock top-mount intercooler becomes heat-soaked quickly above 350 HP. Upgrade to a front-mount intercooler (FMIC) with a core sized for 450–800 CFM airflow.
- Intake: Use a large cone filter with a heat shield. The stock airbox is restrictive and should be replaced.
- Exhaust: A 3-inch downpipe and cat-back exhaust is the minimum. A larger single 4-inch system reduces backpressure and helps the turbo spool faster.
- Turbochargers: The stock sequential turbos can be ported and rebuilt, but many owners switch to a single larger turbo (e.g., Garrett GT35R or BorgWarner S366) for simpler boost control and higher flow potential.
Engine Internals and Cooling
- Apex seals: At 400+ HP, upgrade to 2mm ceramic or carbon apex seals from reputable suppliers like Racing Beat for improved durability.
- Oil coolers: Install a dual-pass oil cooler with a thermostatic oil sandwich plate. Aim for 20–25 degrees of oil temperature reduction under load.
- Radiator: Replace with a full aluminum radiator, preferably a dual-core unit. An electric fan with a proper shroud is also recommended.
- Water temperature management: Consider a coolant reroute kit to improve rear rotor cooling, a known weak point on the 13B-REW.
Ensure all vacuum hoses are replaced with silicone, and that the engine has no vacuum leaks. A boost leak test before tuning is mandatory.
Initial Setup of AEM Infinity
Installing the AEM Infinity requires careful wiring and configuration. Follow these steps to prepare the ECU for tuning:
- Wiring and sensor connections: Use the AEM Infinity 508 harness termination board or a quality flying-lead harness. Connect all sensors: crank and cam position, throttle position (use a new TPS for accuracy), intake air temperature, coolant temperature, manifold absolute pressure (MAP), and wideband O2.
- Base map selection: Start with an AEM-provided base map for a similar displacement rotary. Do not attempt to start the engine without a base map that has reasonable ignition timing and fuel tables. Contact your tuner for a baseline that matches your injector and intercooler setup.
- Sensor calibration: In the AEMtuner software, calibrate the TPS for 0% at idle and 100% at wide open throttle. Set the MAP sensor scaling for your atmospheric pressure (typically 100 kPa at sea level). Calibrate the wideband using the sensor manufacturer’s voltage-to-lambda table (available in the AEM library).
- Crank trigger setup: The 13B-REW uses a 36-1 trigger wheel on the eccentric shaft with a VR sensor. Set the infinity to “36-1” with a missing tooth at 90 degrees before top dead center (typical, but verify with a timing light).
- Initial idle and cold start: Set the base idle fuel table to a lambda of 0.85–0.90 for cold start, and idle timing to 10–15 degrees BTDC. Use the “Idle Speed Control” (ISC) function to stabilize idle once the engine is warm.
Double-check all wiring with a multimeter before connecting the battery. A misplaced sensor wire can cause damage during startup.
Tuning Process
The tuning process for a 400+ HP 13B-REW should be performed on a chassis dynamometer (dyno) by an experienced rotary tuner. However, understanding the methodology helps you communicate with your tuner and make safer decisions. Here are the key stages:
Fuel Mapping
Fuel is the single most critical parameter for rotary engine safety. Rotary engines are more sensitive to lean mixtures than piston engines because the apex seals require a thin oil film that can be burned away if combustion temperatures rise too high.
- Target lambda values: At idle and light cruise, aim for lambda 0.90–0.95 (slightly richer than stoichiometric). Under moderate boost (5–8 psi), lambda 0.78–0.82. At full boost (14–18 psi for 400 HP), lambda 0.72–0.78 for pump gas, 0.80–0.85 for E85.
- Fuel table tuning: Begin with a conservative table based on your injector size and base pressure. Use the wideband reading to correct fuel cells one by one, starting from low load and moving to high load. Pay special attention to the transition between primary and secondary injectors (if using staged injection).
- Transient fuel compensation: Rotary engines need aggressive acceleration enrichment to maintain a safe mixture during rapid throttle opening. The AEM Infinity has “Acceleration Enrichment” tables based on TPS rate-of-change. Set these to add 5–10% fuel on large throttle openings.
- Cold start and warmup enrichment: Use coolant temperature compensation to add fuel during warmup. A rotary engine can require up to 50% more fuel when cold.
Monitor fuel pressure during dyno pulls. A pressure drop indicates a clogged filter or inadequate pump, which will lean the mixture dangerously.
Ignition Timing
Rotary engines have a faster burn rate than piston engines due to the long, narrow combustion chamber. Advanced timing quickly leads to detonation. Follow these guidelines:
- Baseline timing: Use the factory timing curve as a starting point (about 15 degrees at idle, 20–25 degrees at light cruise, and 10–14 degrees under full boost). The AEM Infinity can accept a 2D timing table based on RPM and load (MAP).
- Advance timing carefully: On the dyno, increase timing by 0.5–1 degree at a time, listening for knock or watching the knock sensor integrated into the AEM Infinity. Stop advancing when power stops increasing or when knock count rises. The optimal timing for 400 HP on pump gas is typically 12–15 degrees at peak torque, tapering to 18 degrees at redline.
- Individual rotor trimming: The two rotors often require slightly different timing due to cooling differences. Use the AEM’s “Cylinder Trim” feature to retard the leading rotor (rotor #1) 0.5–1 degree if knock appears on that side.
- Knock detection: Install a Bosch or J&S knock sensor and wire it to the AEM Infinity’s analog input. Set a knock threshold of 20–30 mV and a response strategy that pulls 3–5 degrees of timing and adds 5% fuel on detection. This is your safety net.
Always verify ignition timing with a timing light at idle and at 3000–4000 rpm under no load. The AEM Infinity’s ignition output may have a slight offset that must be corrected in the software.
Boost Control
For a 400+ HP goal, you will need to run boost levels in the range of 14–18 psi on pump gas (lower if using a large single turbo with high efficiency). If you retain the sequential twin-turbo setup, you must manage the complex switching mechanism. Many tuners prefer a single turbo conversion for simplicity.
- Setting target boost: In the AEM Infinity, go to the “Boost Control” menu and set a target boost pressure in the table (e.g., 15 psi across 4000–7500 rpm). Use a PID controller (proportional, integral, derivative) with a base duty cycle of 30–40% on an external wastegate. Adjust the PID gains to minimize overshoot.
- Boost cut and fallback: Set a “soft cut” at 1 psi above target (reduce duty cycle) and a “hard cut” at 2 psi above target (close wastegate fully and cut fuel). This prevents overboost that can cause detonation and engine failure.
- Sequential system control (if used): The AEM Infinity can control the stock sequential solenoid via a PWM output. However, the factory sequential system has many failure points. Consider a non-sequential conversion (block off the secondary turbo) or a full single turbo swap.
- Wastegate spring selection: Choose a wastegate spring that matches your minimum desired boost (e.g., 7–10 psi spring). The ECU can then add boost above spring pressure.
Test boost control on the dyno by doing a part-throttle pull and checking that boost ramps smoothly without spikes.
Testing and Validation
Once the initial tune is dialed in, validation is essential to ensure safety and performance. Follow this procedure:
- Dyno pull procedure: Perform a series of pulls from 2500 rpm to redline (8000 rpm) in a suitable gear (usually 4th gear on a 6-speed). Record horsepower, torque, lambda, boost, and knock levels. Pull back-to-back to check for heat soak.
- Air-fuel ratio validation: The lambda should stay within 0.72–0.78 on boost across the entire RPM range. Check for any lean spots, especially around the transition points (e.g., turbo spool-up, secondary injector staging).
- Knock check: With the knock sensor enabled, watch the knock trace on the AEMtuner software. No sustained knock should be present. If occasional knock occurs during high-load, low-RPM conditions, reduce timing or increase fuel.
- Temperature monitoring: Log coolant temperature, intake air temperature (IAT), and oil temperature. IAT should stay below 120°F (49°C) on the dyno; if higher, the intercooler is undersized. Water temperature must stay under 210°F (99°C). Oil temperature should not exceed 250°F (121°C).
- On-road testing: After dyno validation, do a gentle street drive to confirm idle, part-throttle drivability, and cold start. Then perform a few third-gear pulls from 3000 rpm to verify boost control and transient response in a real-world load scenario.
If any parameter is out of specification, return to the tuning stage. Do not proceed to full-power operation until everything is stable.
Maintaining Performance
A 400+ HP rotary engine requires more frequent maintenance than a stock engine. Use this schedule to keep the engine reliable:
- Oil and filter changes: Every 2,000–3,000 miles (or 50 hours of track time). Use a high-quality 10W-40 or 20W-50 full synthetic oil that contains high levels of zinc and phosphorus (ZDDP) for rotary seal protection.
- Spark plugs: Check gap and condition every 5,000 miles. Use NGK RE7BR-L11 (or racing equivalent). A plug that appears white or has electrode erosion indicates detonation or lean running.
- Fuel filters: Replace every 10,000 miles. A clogged filter causes fuel pressure drop and lean conditions under boost.
- Compression check: Perform a rotary compression test every 10,000 miles. Compare peak pressure and pressure difference between rotors. If one rotor drops significantly, it indicates apex seal wear or housing damage.
- Cooling system: Flush coolant annually and replace with a 70/30 mix of distilled water and ethylene glycol (or pure water with a corrosion inhibitor for track use). Check for combustion gas in the coolant (a sign of blown coolant seals).
- Vacuum lines: Inspect all silicone hoses for cracks every year. A boost leak can cause erratic idle and lean spots.
Consider adding an oil pressure gauge and a wideband AFR gauge to your dash for real-time monitoring. The AEM Infinity can output a digital AFR to a display, or you can use a standalone gauge.
Common Pitfalls to Avoid
Many builders attempting 400+ HP on a 13B-REW make the same mistakes. Being aware of them saves time and money:
- Inadequate fuel delivery: Using a stock fuel pump or undersized injectors leads to lean mixtures and engine destruction. Always oversize the fuel system by 20–30%.
- Ignoring heat management: The rear rotor runs hotter than the front. Without upgraded oil coolers and a coolant reroute, the rear rotor may detonate or suffer apex seal failure even if the tune looks safe.
- Over-reliance on stock sequential turbos: The factory wastegates and solenoids are prone to failure. Running high boost through a worn sequential system can cause boost spikes of 20+ psi.
- Skipping dyno tuning: Remote or street-only tuning may get the car running, but it cannot replicate the load and airflow of a proper dyno. Always insist on professional dyno tuning for a 400+ HP rotary.
- Neglecting data logging review: Even after a successful tune, occasional data logging sessions (once a month) can catch early signs of trouble like creeping boost or rising knock counts.
Finally, remember that a rotary engine produces power differently than a piston engine. The torque curve is relatively flat, and the peak horsepower comes near redline. Focus on ensuring the engine survives that high-rpm strain rather than chasing peak numbers.
Conclusion
Tuning a 13B-REW to 400+ wheel horsepower with the AEM Infinity ECU is an attainable goal when approached with the right preparation and discipline. The Infinity’s advanced features—such as individual cylinder control, integrated knock sensing, and precise boost management—give the tuner the tools needed to safely extract power while protecting the engine. However, the hardware foundation matters just as much as the software: upgraded fuel systems, robust cooling, and a healthy engine are non-negotiable. By following the steps outlined in this article—component selection, initial ECU setup, methodical fuel and ignition tuning, thorough validation, and diligent maintenance—you can build a rotary-powered RX-7 that delivers exhilarating performance without sacrificing reliability. The key is to respect the rotary’s unique requirements and never cut corners on safety. With patience and attention to detail, your 13B-REW will reward you with a driving experience unlike any other.