engine-modifications
Performance Review: How a 13b Built Engine from Megasquirt Boosts Your Mazda’s Street Performance
Table of Contents
The Mazda 13B rotary engine has long held a special place in the hearts of car enthusiasts. Its unique design, high-revving nature, and distinctive sound set it apart from conventional piston engines. When paired with a Megasquirt engine management system, the 13B's street performance can be elevated to new levels, offering precise control over fueling, ignition, and boost—all critical for a reliable and exhilarating daily driver. In this comprehensive review, we'll explore how this combination unlocks the full potential of your Mazda's rotary powerplant, from the basics of the 13B and Megasquirt to real-world tuning strategies and installation tips.
The Mazda 13B Rotary Engine: A Brief Overview
The 13B is a twin-rotor Wankel engine produced by Mazda from 1974 through 2012. Its compact size and light weight make it an ideal candidate for performance builds, especially in vehicles like the RX-7, RX-8, and various kit cars. The rotary design eliminates reciprocating mass, allowing it to rev quickly and smoothly to over 8,000 RPM in street trim. Key variants include the naturally aspirated 13B-6PI (with six-port induction), the turbocharged 13B-REW (found in the FD RX-7), and the 13B-MSP Renesis from the RX-8.
- High power-to-weight ratio: A stock 13B-REW produced 255 hp from just 1.2 liters of displacement.
- Smooth power delivery: Rotary engines produce power in a continuous cycle, resulting in a linear torque curve ideal for street driving.
- Unique challenges: Apex seal wear, high fuel consumption, and sensitivity to tuning errors require careful management—exactly where Megasquirt excels.
For a deeper dive into the history and variants of the 13B, check out this Wikipedia article on Mazda Wankel engines.
Megasquirt Engine Management: The Tuner's Choice
Megasquirt is a DIY-oriented, open-source engine management system that has become a staple in the aftermarket performance world. Originally developed by Bowling and Grippo in the early 2000s, the system has evolved into several tiers—MS1, MS2, MS3, and the professional MS3Pro series—each offering increasing capability. For a 13B rotary build, the MS3 and MS3Pro are the most popular choices due to their advanced features like sequential injection, individual cylinder trim, closed-loop boost control, and comprehensive data logging.
- Customizable fuel and ignition maps: Tune every load cell for optimal air-fuel ratios and timing.
- Support for various sensors: Works with standard GM, Bosch, and rotary-specific sensors (e.g., crank angle sensors from an RX-7).
- Real-time tuning: Use TunerStudio software to adjust parameters while the engine is running—critical for dialing in complex rotary behavior.
- Data logging: Log channel like RPM, MAP, EGT, Lambda, and knock counts to make informed tuning decisions.
For more information on Megasquirt products, visit the official Megasquirt website or DIYAutoTune.com, a trusted distributor with many rotary-specific wiring guides.
Synergy: Why Megasquirt and the 13B Are a Perfect Match
The rotary engine presents tuning challenges that are different from piston engines. The combustion chamber is long and narrow, leading to flame propagation issues; the three apex seals per rotor require precise ignition timing to avoid detonation; and the engine's oil injection system (used to lubricate the seals) can foul spark plugs if not properly managed. Megasquirt addresses these directly:
Fuel Mapping for Rotary Engines
Rotaries need richer mixtures near idle and under load to cool the combustion chamber and prevent hot spots. Megasquirt allows you to create a three-dimensional fuel map with high resolution around the areas where apex seals are most vulnerable. Many tuners use target lambda values of 0.85-0.90 under boost and 0.75-0.80 at idle for naturally aspirated setups.
Ignition Timing and Split
The 13B has two spark plugs per rotor (leading and trailing) with a fixed relationship. Megasquirt can independently control each set, allowing you to adjust the dwell and timing split to manage combustion noise and reduce the risk of detonation. On a street car, a timing split of 0-10 degrees retard on the trailing plug is common to smooth out torque delivery.
Boost Control and Anti-Lag
For turbocharged 13B builds, Megasquirt's closed-loop boost control can precisely regulate wastegate duty to hold boost at the desired level. Advanced systems can implement soft launch control or open-loop boost by gear, which is invaluable for street driving where traction varies. Some users even use the anti-lag feature for brief bursts, though caution is advised on stock apex seals.
Adaptive Tuning in Real Time
Megasquirt's ability to learn from wideband oxygen sensors means the fuel maps self-correct as engine conditions change with temperature, altitude, or fuel quality. This adaptive capability turns a temperamental rotary into a reliable street machine that starts and runs consistently in all weather.
Real-World Performance Gains and Tuning Strategies
Numerous Mazda enthusiasts have documented impressive results after installing Megasquirt on their 13B engines. A typical naturally aspirated 13B with mild porting can gain 15-25 hp at the wheels from tuning alone—often as much as from bolt-on intake and exhaust modifications. On a turbocharged 13B-REW, gains are more dramatic: a properly tuned Megasquirt system can add 30-50 hp while improving throttle response and reducing lag.
Example Dyno Results from Street Builds
- 1993 Mazda RX-7 (FD) with 13B-REW, stock twins: After Megasquirt MS3 upgrade, 320 whp at 12 psi (up from 270 whp with stock ECU).
- 1985 RX-7 (FC) with naturally aspirated 13B, street port: 190 whp with Megasquirt MS2, improved drivability over carbureted setup.
- 2004 Mazda RX-8 (Renesis) with Megasquirt MS3: 200 whp at the wheels, fixing stock ECU stalling issues and delivering a flat torque curve.
For a collection of dyno sheets and forum discussions, visit RX7Club.com, specifically the "Engine Management & Tuning" subforum where many Megasquirt rotary builds are documented.
Tuning Strategy for the Street
Street reliability requires a conservative approach compared to track-only builds. Avoid over-advancing ignition timing in the mid-range to prevent detonation under sudden load (e.g., pulling away from a stoplight). Set the fuel map to be slightly rich at high load and lean near idle for emissions and fuel economy. Use knock sensors if available—Megasquirt supports Bosch knock modules that can pull timing on individual cylinders if pre-ignition is detected.
Installation and Integration Guide
Installing a Megasquirt on a 13B is a straightforward but meticulous process. Here are the key steps and considerations:
Sensor Selection and Wiring
The 13B uses a crank angle sensor (CAS) that can be a reluctor type (FD RX-7) or optical (FC and early). Megasquirt can work with either, but you may need to use a custom trigger wheel for older engines. Many builders use a "RPM trigger" from a 36-1 wheel mounted on the eccentric shaft or a bolted-on CAS from a later model. The main engine sensors (MAP, IAT, CLT, TPS) are standard. For the wideband O2 sensor, a Bosch LSU 4.9 sensor connected to an external controller (e.g., 14point7 or Innovate) is recommended.
Wiring Harness Design
You can purchase a pre-built harness from DIYAutoTune or build your own using the Megasquirt pinout diagrams. Many rotary enthusiasts use a "relay board" to simplify power and ground connections. Pay special attention to the injector and ignition outputs: the 13B typically uses two injectors per rotor (primary and secondary) and two ignition coils (leading and trailing). With Megasquirt MS3, you can run sequential injection for even better idle and fuel control.
Fuel System Upgrades
Depending on your power goals, you may need larger injectors. Most street builds run 550-750 cc/min low-impedance injectors (e.g., from a Supra or RX-7 FD). The Megasquirt MS3 can drive low-impedance injectors properly with peak-and-hold current control. You may also need an upgraded fuel pump (e.g., Walbro 255) and a pressure regulator set to 43.5 psi (3 bar) for proper fuel map scaling.
Idle and Cold Start Setup
Rotaries can be difficult to start when cold due to high fuel requirements. Megasquirt's cold start enrichments (crank pulse width, prime pulse, after-start enrichment) allow you to dial in a reliable startup. Many users also add an idle air control valve (IAC) from a Ford or GM to maintain stable idle as the engine warms. For a detailed wiring diagram specific to the 13B, check out the DIYAutoTune rotary tuning guide.
Supporting Modifications to Maximize Your Build
A Megasquirt system can only do so much if the rest of the engine is restricted. To fully realize the potential of your 13B, consider these supporting modifications:
- Exhaust system: A free-flowing exhaust (at least 3-inch diameter for turbo builds) reduces backpressure and helps the engine breathe. Consider a resonated midpipe to keep noise legal.
- Intake system: A high-flow air filter and smooth intake tract reduce restriction. For turbocharged 13Bs, a properly sized intercooler is essential to keep intake temperatures in check.
- Oil cooling: Rotary engines generate a lot of heat. An oil cooler with a thermostat (e.g., Setrab or Mocal) helps prevent overheating during spirited driving.
- Cooling system upgrades: A larger aluminum radiator (Koyo or Fluidyne) and high-flow water pump can keep engine temps below 200°F even on hot days.
- Porting: Street porting (opening the intake and exhaust ports) can add 20-30 hp without sacrificing daily drivability—works especially well with Megasquirt's tunability.
Common Pitfalls and How to Avoid Them
Even with an excellent engine management system, mistakes can lead to engine damage or poor performance. Here are the most common pitfalls when tuning a 13B with Megasquirt:
Overlooking Apex Seal Cooling
Rotaries rely on a rich mixture and adequate oil injection to cool the apex seals. Lean mixtures at high load can cause rapid seal failure. Always tune with a wideband O2 sensor and keep lambda below 0.90 under boost. Consider adding an EGT gauge for each rotor to monitor cylinder temperatures.
Incorrect Ignition Timing at Startup
Setting the base timing incorrectly (especially on twin spark systems) can cause hard starting or backfiring. Follow the Megasquirt manual for setting the trigger angle offset—typically 60° BTDC for many rotary CAS configurations. Verify with a timing light.
Flooding the Engine
Rotaries are prone to flooding if the fuel map is too rich when trying to start. Use a "flood clear" mode in TunerStudio (hold throttle to wide open and disable injectors) to clear excess fuel. Many users also install a starter disable relay to prevent cranking without oil pressure.
Neglecting Data Logging
Don't rely solely on gauges. Log a 20-minute street drive and review RPM, TPS, MAP, Lambda, and knock counts. Look for areas where the tune transitions poorly (e.g., throttle tip-in lean spikes) and correct them. The data logging feature of Megasquirt is one of its most powerful tools for reliability.
Conclusion
Pairing a Megasquirt engine management system with a Mazda 13B rotary engine is one of the most effective ways to transform your street performance car. The precision and flexibility of Megasquirt address the unique tuning needs of the rotary, from fuel mapping and ignition split to boost control and adaptive learning. With careful installation, proper supporting modifications, and a conservative tuning approach, you can unlock impressive horsepower gains while improving drivability, fuel economy, and longevity. Whether you're driving a classic FC RX-7, a twin-turbo FD, or a modern RX-8, the combination of a 13B and Megasquirt offers a rewarding path to a thrilling and reliable street machine.