A Purely Analog, Three-Segment Biomimetic Bat Flapping-Wing System
MCU-less · three independently tunable analog channels · six mirrored actuators
Figure 1 — System overview. (a) Mechanical architecture: two wings, three segments per wing, six mirrored actuators; the current prototype is a skeletal linkage without a membrane. (b) Analog control and power chain: a single 3.7 V → 5.0 V boost rail feeds three free-running NE555 channels, a 74HC04 inverter, and three L293D dual H-bridges; each driver powers a mirrored motor pair. (c) Timing and bench validation: ~4.8 Hz, 208 ms period, ~67% duty, with complementary outputs. The bench checks confirm the 5 V rail and channel oscillation; full flapping and lift remain unmeasured.
| Parameter | Value |
|---|---|
| Power input | 3.7 V single-cell LiPo (1S) |
| Motor rail | 5.0 V from an MT3608 boost (Vout ≈ 4.96 V) |
| Control | 3× NE555 astable → 74HC04 → 3× L293D |
| Actuators | 6× geared hollow-cup motors (3 per wing) |
| Independent channels | 3; each drives a mirrored motor pair |
| Design point | f ≈ 4.8 Hz, T ≈ 208 ms, duty ≈ 67% |
| PCB | 19 × 80 mm, 2-layer, custom contour |
| MCU / firmware | None |
| Prototype status | Bench-tested mechanism; no membrane, no flight or lift test |
Hsi Wu (西木 / Xī Mù), the Sky Demon of Jackie Chan Adventures.
The project name Hsiwu is derived from Hsi Wu (西木), the bat-like Sky Demon from Jackie Chan Adventures (《成龙历险记》). A fitting namesake: just as Hsi Wu ruled the sky with his segmented, morphing wings, this prototype reproduces the segmented articulation of a bat wing — here as a mechanical skeleton, with membrane integration still to come.
The Hsi Wu character image is used as a naming reference only; rights remain with the respective rights holders.
Hsiwu is a biologically inspired bat flapping-wing prototype. Unlike a conventional single-segment rigid wing, it divides each wing into three independently driven segments — leading edge, middle section, and trailing edge — with one geared hollow-cup motor per segment. The two wings are mirror images, so six motors are driven by three independent analog channels.
The kinematic reference is the Rhinolophus luctus (woolly horseshoe bat) and the prototype work of Qi & Zhang, “Design and Manufacture of Bionic Bat Aircraft” (2020). That paper's crank-rocker four-bar linkage is retained here as a kinematic benchmark. The as-built prototype, however, couples each motor to a lead screw; the nut drives the segment linkage and the H-bridge reverses the motor every half-cycle. This difference is shown explicitly in Figure 5 and should be confirmed against final_assembly.SLDASM before publication.
The control architecture is deliberately MCU-less: three NE555 astable multivibrators set the flapping rhythm, a 74HC04 provides complementary phases, and three L293D dual H-bridges drive the six motors. Power comes from a single 3.7 V LiPo cell boosted to a 5.0 V rail. No microcontroller, firmware, or programmable logic is used.
Current status. The electronics and the mechanism have been built and bench-tested. The prototype does not yet carry a wing membrane; mass, wingspan, flapping angle, lift, and flight have not been measured. The 205 mm wingspan, 17.81 g mass, 70° stroke, 10 Hz flapping, and 0.16 N lift reported in the reference paper are reference values, not claims about this prototype.
- Three independently tunable analog channels — three NE555 astables set the rhythm; each channel has its own 100 kΩ trimmer for frequency and phase adjustment.
- Six mirrored actuators — three segments per wing, each with its own geared hollow-cup motor; one L293D dual H-bridge drives a mirrored pair (M1/M2, M3/M4, M5/M6).
- Pure analog control — NE555 timing, 74HC04 inversion, and L293D H-bridges only; no MCU and no firmware.
- Single 5 V rail — a 3.7 V LiPo is boosted to 5.0 V by an MT3608; the same rail supplies the logic ICs and the motor drivers. There is no LDO and no reverse-polarity protection in revision 1.0.
- Custom contour PCB — a 19 × 80 mm, 2-layer board shaped to fit the central support; Gerber, BOM, and pick-and-place files are included.
- Modular mechanical design — SolidWorks source, 14 printable structural parts, six linkage-rod types, and standard M2/M3 fasteners.
- Reference benchmark made explicit — the reference paper's crank-rocker and the prototype's lead-screw chain are drawn side by side (Figure 5), rather than conflated.
Figure 2 — Electronics architecture (revision 1.0). Left: the power path. A 3.7 V 1S LiPo enters through the XH-2A connector (U9) and switch SW2; the MT3608 (U4) boosts to 5.0 V using L1 = 10 µH, D1 = SS34, C1/C2 = 22 µF, and a 16 kΩ/2.2 kΩ feedback divider. D1 is the boost rectifier, not a reverse-polarity diode. Right: three free-running channels. Each NE555 (U6–U8, SOIC-8) drives one 74HC04 gate (U5, SOIC-14) and one L293D (U1–U3, L293DD, SOP-20). Each L293D uses both H-bridges to drive a mirrored motor pair. The design point is f ≈ 4.8 Hz with duty ≈ 67%.
| Block | Parts (revision 1.0) | Function |
|---|---|---|
| Battery input | U9 XH-2A, SW2 | 3.7 V 1S LiPo input and master switch |
| Boost | U4 MT3608, L1 10 µH, D1 SS34, C1/C2 22 µF, R1 16 kΩ / R2 2.2 kΩ | 3.7 V → 5.0 V; Vout ≈ 4.96 V |
| Timing | U6–U8 NE555DR (SOIC-8); R3/R5/R7 = 10 kΩ; R4/R10/R11 = 100 kΩ trim; C3/C5/C7 = 10 µF | Three astable channels at ~4.8 Hz |
| Phase inversion | U5 74HC04D (SOIC-14), three gates used | Complementary outputs /SA, /SB, /SC |
| Motor drive | U1–U3 L293DD013TR (SOP-20), two H-bridges per chip | Six motors in mirrored pairs |
| Indicator | LED1 + R6 1 kΩ on the 5 V rail | Power-on indication |
Key equations (NE555 astable):
f = 1.44 / ((R_A + 2R_B) · C)
duty = (R_A + R_B) / (R_A + 2R_B)
At the design point RA ≈ 10 kΩ (a 100 kΩ trimmer set near 10 kΩ), RB = 10 kΩ, and C = 10 µF, so f ≈ 4.8 Hz and duty ≈ 67%; the period is ≈ 208 ms, with tH ≈ 139 ms and tL ≈ 69 ms. The trimmer range gives roughly 1.2–7.2 Hz.
Channel map.
| Channel | NE555 | Trimmer | L293D | Motor nets |
|---|---|---|---|---|
| A | U6 | R10 | U1 | M1 / M2 |
| B | U7 | R4 | U2 | M3 / M4 |
| C | U8 | R11 | U3 | M5 / M6 |
The three channels share the 5 V rail but have no hard synchronization. They power up near each other and then drift with component tolerance; trim R4/R10/R11 for frequency and phase. The motor-to-segment assignment is set by the harness; confirm the M1–M6 pairing against the PCB silkscreen before wiring.
Revision notes. D1 is the boost rectifier; the input path has no reverse-polarity protection in revision 1.0. The 74HC04's three unused inputs (4A/5A/6A, pins 9/11/13) are left floating on the current board; add pulldowns or tie them to GND in a future revision.
Source schematic for Figure 2. The original EasyEDA schematic used to derive the drawing above. The complete PDF is electronics/PCB_Base.pdf.
Figure 3 — Channel timing and phase. Three NE555 outputs (SA, SB, SC) and their 74HC04 complements (MA, MB, MC) at the design point. The high time is ≈ 139 ms and the low time ≈ 69 ms, giving a 208 ms period and ≈ 67% duty. The phase offsets are illustrative: the channels are free-running and are not hard-synchronized. Each channel drives a mirrored motor pair.
The H-bridge is driven by a complementary pair: when SA is high and /SA is low, the motor turns forward; when SA is low and /SA is high, it turns reverse. The motor therefore reciprocates at the same ~4.8 Hz rhythm as the timer. The 67% duty means the forward and reverse strokes are intentionally asymmetric; the wing can be tuned by changing RA and, within limits, by adjusting the RC network.
Figure 4a–4c — PCB design views. Left: 3D render of the custom 19 × 80 mm board. Middle and right: top and bottom copper with silkscreen. The board contour follows the internal frame; five 2 mm mounting holes are provided.
Raw routing views and fabrication files
Figure 4d–4e — Raw top and bottom copper routing without fill.
- Gerber:
electronics/output/gerber/ - BOM:
electronics/output/bom/PCB_Base_BOM.xlsx - Pick-and-place:
electronics/output/pick_and_place/PCB_BASE.csv - Schematic PDF:
electronics/PCB_Base.pdf - EasyEDA source:
electronics/source/JLC/PCB_Base.eprj2 - Altium source:
electronics/source/Altium Designer/
Figure 5 — Wing drive and segment articulation. (a) One wing carries three independently driven segments (L, M, T) and three geared hollow-cup motors; the opposite wing is a mirror image, giving six actuators in total. (b) The reference paper's crank-rocker: a continuously rotating crank drives a coupler and rocker. (c) The as-built prototype: each motor is coupled to a lead screw (P = 0.4 mm); the nut translates and drives the segment linkage, and the H-bridge reverses the motor each half-cycle. The 70° stroke is a reference target and has not yet been measured on the prototype.
The mechanical design uses three segment types per wing — leading, middle, and trailing — each hinged at the body and driven independently. The assembly has 14 printable structural parts, six linkage-rod types, and M2/M3 fasteners. The current build is a skeletal linkage: no wing membrane is installed, so the mechanism demonstrates articulation rather than aerodynamic function.
The reference paper's crank-rocker is retained as a benchmark, not as a claim about the as-built mechanism. The CAD assembly final_assembly.SLDASM is the authority for the actual linkage; the drawing in Figure 5c is the as-built interpretation from the CAD renders and bench photographs.
Figure 6a — Full assembly render. The bilateral frame, six motors, lead screws, linkage rods, and custom PCB in the final assembly state.
Figure 6b–6c — Mechanical views. Left: top view showing motor placement and linkage routing. Right: isometric wireframe of the kinematic skeleton.
Animation 1 — Lead-screw motion. The motor rotates the lead screw; the traveling nut advances and drives the segment linkage. The H-bridge reverses the motor every half-cycle. MP4: screw_movement.mp4.
The four panels below are reproduced from Qi & Zhang (2020) and are included as the kinematic and force-analysis reference for this project. They show the paper's crank-rocker, linkage dimensions, scissor mechanism, and leg/transmission analysis. They are not the as-built prototype; see Figure 5 for the prototype's lead-screw chain.
Figure 7a–7d — Reference kinematics (Qi & Zhang, 2020). The paper's crank-rocker, dimensioned linkage, lead-screw/scissor expansion, and leg/transmission analysis. These figures are reproduced for scholarly reference; rights remain with the original authors and publisher. The paper PDF is available at media/photos/reference/仿生蝙蝠飞行器的设计制造_齐津浩.pdf.
HSIWU/
├── electronics/ # PCB design files
│ ├── source/ # EasyEDA project (.eprj2) + Altium source
│ └── output/ # Gerber, BOM, pick-and-place, schematic PDF
├── mechanical/ # 3D CAD models (SolidWorks)
│ ├── source/ # Native SLDPRT/SLDASM files
│ └── output/ # STEP (3D printing), STL (rod/laser source)
├── docs/ # Technical documentation
│ ├── en/ # Theory, mechanical design, assembly guide
│ └── zh-CN/ # 中文文档
├── BOM/ # PCB bill of materials (.xlsx)
├── media/
│ ├── figures/ # Redrawn README figures (SVG + PNG)
│ ├── photos/ # Renders, PCB views, reference figures, test photos
│ └── videos/ # Demonstration video
├── .github/ # Community files and issue templates
├── CHANGELOG.md
├── CONTRIBUTING.md
├── CONTRIBUTING.zh-CN.md
├── LICENSE.md
├── README.md
├── README.zh-CN.md
└── README.fr.md
The complete PCB BOM is in BOM/PCB_Base_BOM.xlsx; the same file is exported to electronics/output/bom/. Key PCB components:
| Ref | Part | Package | Qty | Notes |
|---|---|---|---|---|
| U1–U3 | L293DD013TR | SOP-20 | 3 | Dual H-bridge; drives two motors each |
| U4 | MT3608 | SOT-23-6 | 1 | 3.7 V → 5.0 V boost |
| U5 | 74HC04D | SOIC-14 | 1 | Hex inverter; three gates used |
| U6–U8 | NE555DR | SOIC-8 | 3 | Astable timers |
| U9 | XH-2A (P2.50) | TH 2-pin | 1 | Battery input |
| C1, C2 | 22 µF | 0805 | 2 | Boost input/output |
| C3, C5, C7 | 10 µF | SMD electrolytic | 3 | 555 timing capacitors |
| C4, C6, C8 | 100 nF | 0805 | 3 | VCC decoupling |
| R1 / R2 | 16 kΩ / 2.2 kΩ | 0805 | 1 / 1 | Feedback divider |
| R3, R5, R7 | 10 kΩ | 0805 | 3 | 555 RB |
| R4, R10, R11 | 100 kΩ trim | SMD trimmer | 3 | 555 RA |
| R6 | 1 kΩ | 0805 | 1 | LED series resistor |
| D1 | SS34 | SMC | 1 | Boost rectifier |
| L1 | 10 µH | SMD 7.3 × 6.8 mm | 1 | Boost inductor |
| LED1 | Green | 0805 | 1 | Power indicator |
| SW2 | SS12D07VG4 | TH slide switch | 1 | Power switch |
Not in the PCB BOM (mechanical/system items): six geared hollow-cup motors, six lead screws (P = 0.4 mm), miniature bearings, M2/M3 screws and lock nuts, a 3.7 V LiPo, motor wiring, and a wing membrane (not installed in the current prototype). A complete mechanical BOM is still to be added.
Figure 8 — Replication workflow. Fabricate the PCB, assemble the SMT board, print or cut the structure, assemble the mechanism, then power up and tune. Each step has a measurable checkpoint; do not proceed until the previous checkpoint passes.
- Fabricate the board from
electronics/output/gerber/or re-export from the EasyEDA project inelectronics/source/JLC/. - Place the ICs using the package map: U1–U3 = L293DD (SOP-20), U6–U8 = NE555DR (SOIC-8), U5 = 74HC04 (SOIC-14), U4 = MT3608 (SOT-23-6), U9 = XH-2A. This mapping is the authoritative one for revision 1.0; older assembly notes that list U1–U3 as NE555 and U6–U8 as L293D are incorrect.
- Before power-up, check the 5 V rail for shorts and verify D1 orientation.
- Power the board from a current-limited supply first. Set the input to 3.7–3.8 V and the limit to a low value (e.g., 100 mA). The green LED should light; the 5 V rail should read ≈ 4.9–5.0 V.
Polarity: revision 1.0 has no reverse-polarity protection. Double-check the LiPo polarity before connecting it.
- Print the 14 structural parts from
mechanical/output/3dp/(STEP). Recommended: 0.2 mm layers, 0.4 mm nozzle, 3 perimeters, 20–30% infill, no supports. - Print the six rod types from
mechanical/source/rods/(six copies of each, 36 rods total) or cut them from 2–3 mm acrylic/plywood. The STL files inmechanical/output/laser/are geometry sources; laser cutters generally require DXF/SVG, so convert the outlines before cutting. - Press the miniature bearings into their seats, then dry-fit the frame and linkages before installing motors.
- Mount the six motors, attach the 2-to-3 couplings and lead screws, and verify that every linkage moves freely through its full stroke by hand.
- Mount the PCB on the central-support standoffs.
- The single XH-2A (U9) is the battery input. The motors connect to the board's M1–M6 motor pads; confirm the pad pairing against the PCB silkscreen before soldering. Do not follow older notes that describe multiple XH-2A motor connectors.
- Route motor wires away from the lead screws and hinge lines; secure them with small clips or ties.
- Mount the LiPo on the underside with foam tape and a strap.
- Place the mechanism on a soft surface and power up with the current-limited supply.
- Confirm the LED, the 5 V rail, and a ~4.8 Hz square wave on each NE555 output.
- Confirm that each channel has a complementary 74HC04 output.
- Adjust R4/R10/R11 to set the three channel frequencies. The channels are free-running; there is no hard sync.
- With the mechanism unloaded, verify that all six motors respond and that every segment reaches its full stroke without binding.
Figure 9a–9c — Bench assembly and test. Left: partially assembled frame on a third-hand tool. Middle: Tektronix TDS1001B-SC probing the analog board; the supply shows 3.8 V and 0.05 A. Right: hand-soldered SMT board. The scope confirms channel oscillation; the current reading is not a full-load measurement, and no thrust or flight data are reported.
Verified on the bench: the 3.7 V input and 5 V rail, the power LED, a square wave on the NE555 outputs consistent with the ~4.8 Hz design point, complementary 74HC04 outputs, and motor response on all channels.
Not yet verified: wing-membrane integration, flapping angle, wingspan, total mass, static thrust, and flight. The reference paper's 205 mm / 17.81 g / 70° / 0.16 N figures are not measurements of this prototype.
| Parameter | This prototype (revision 1.0) | Reference (Qi & Zhang, 2020) |
|---|---|---|
| Power input | 3.7 V 1S LiPo | 3.7 V |
| Motor rail | 5.0 V from MT3608 (≈ 4.96 V) | — |
| Control | 3× NE555 + 74HC04 + 3× L293D | — |
| Motors | 6× geared hollow-cup (model TBD) | ZWPD006006-26 |
| Independent channels | 3; mirrored pairs | — |
| Flapping frequency | ~4.8 Hz design point; bench oscillation observed | ~10 Hz |
| Period / duty | 208 ms / ≈ 67% | — |
| Flapping angle | 70° target; not yet measured | 70° |
| Wingspan | not measured | 205 mm |
| Total mass | not measured | 17.81 g |
| Lift | not measured | ≈ 0.16 N |
| PCB | 19 × 80 mm, 2-layer | — |
| MCU / firmware | none | — |
- No membrane, no flight test. The current prototype is a skeletal flapping mechanism. Membrane material, attachment, tensioning, and a flight/lift test are the next major step.
- No reverse-polarity protection. Add a P-MOSFET or series Schottky diode in the battery path before field use.
- Floating 74HC04 inputs. The three unused gates (4A/5A/6A) are unconnected in revision 1.0; tie them to GND or add pulldowns.
- NE555-to-74HC04 logic margin. A bipolar NE555 at 5 V has a high-level output of roughly 3.3 V, while a 74HC04 at 5 V specifies VIH ≈ 3.5 V. The bench build works, but the margin is thin; consider a 74HCT04, a CMOS 555, or a higher timer rail in a future revision.
- Mechanical BOM and part numbers. The PCB BOM is complete; the motors, lead screws, bearings, fasteners, and membrane still need supplier part numbers and quantities.
- Mechanism documentation. The reference crank-rocker and the as-built lead-screw chain must be reconciled against
final_assembly.SLDASM; the current drawing is an as-built interpretation. - Performance data. Mass, wingspan, flapping angle, thrust, and flight are unmeasured. Add a full-robot video and a static-thrust rig before claiming aerodynamic performance.
- Documentation drift. The
docs/theory and assembly pages still contain legacy 7.35 V/LDO and package/pin references; for revision 1.0, use this README, Figure 2, and the wiring notes above as the authoritative description.
- Theory of operation — power, NE555 timing, 74HC04 inversion, L293D drive.
- Mechanical design — linkage kinematics, lead screw, frame, manufacturing.
- Assembly guide — soldering, power-up checks, mechanical assembly, tuning.
- 中文文档 — 工作原理、机械设计、装配指南。
- CHANGELOG — version history.
- CONTRIBUTING — contribution guidelines.
- Version française — présentation du projet en français.
- Redrawn figure sources (SVG): Figure 1 · Figure 2 · Figure 3 · Figure 5 · Figure 8.
The redrawn figures in
media/figures/are editable SVG with 2400 px PNG previews. The SVG text is live (Helvetica/Arial) and the vector source can be edited in Illustrator, Inkscape, or draw.io.
Distributed under the MIT License. The MIT grant covers the original project files in this repository. It does not cover the third-party reference paper, its figures, or the Hsi Wu character image; those remain with their respective rights holders and are included for scholarly/naming reference only. If you reuse the design, an acknowledgment is appreciated but not required.
- Reference work — Qi Jinhao & Zhang Weiping, “Design and Manufacture of Bionic Bat Aircraft,” Machine Design and Research, Vol. 36, No. 5 (2020), pp. 38–43. The paper provides the bat-flight kinematics, four-bar linkage, scissor mechanism, and prototype validation that frame this project.
- Name inspiration — Hsi Wu (西木), the Sky Demon from Jackie Chan Adventures.
- Tools — SolidWorks, EasyEDA/LCEDA, Altium Designer, Tektronix TDS1001B-SC.
- Inspiration — FESTO BionicOpter, Bat Bot B2 (Caltech/UIUC), and the bat-flight biomechanics literature (Swartz et al., Tian et al., Wolf et al.).
