Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 5 Next »

Principle Engineer

Jack Greenwood

Forced to Review

Christopher Chung Anthony Luo

Dragged Along

Uplifted

Daniel Puratich Sahil Kale (Deactivated) Ethan Abraham Aidan Bowers (Deactivated)

Objective

Due date

Key outcomes

Status

NOT STARTED / IN PROGRESS / COMPLETE

\uD83E\uDD14 Problem Statement

Determine the necessary requirements & future expansion for a HIL Controller for verifying ZP. The HIL should allow for mocking of sensors, peripherals, and “environment” while verifying that outputs from ZP are as expected.

will this ever interface with the simulator?

🎯 Scope

Current Must Haves:

  • PPM Output to emulate controller signal

  • Hardware ARM/Disarm signal → ZP (button emulation)

  • Send/Receive Telemetry Data

  • Passthrough Telemetry to Ground Station

  • Interfaces over USB

  • Analog ↔︎ Digital conversion up to 6s VBatt.

    • monitor battery [status]

  • Mock IMU, GPS

    • by extension, mocked interfaces (spi/i2c/uart).

  • Remote access incl. remote flashing.

  • Test suites (small regressions for now).

  • Ability to reset ZP (toggle reset line on ZP) (or remote flashing).

Future Expansion:

  • Add-on with analog components for user-input to HIL

  • Mock more sensors (Airspeed, Barometer, OFS, etc).

  • Future expansion for more complete test suites.

  • Actuator output checking? (in a safe way)

  • hardware monitoring (temperature / current / power / etc)

Not in scope:

✈️  Implementation Details

ZP input outputs

  • 1 RFD900x

    • PPM & Telemetry

  • 1 Mateksys 3901 L0x Optical Flow sensor

  • 1 VN-300 Inertial Sensor

  • 1 Neo M.8 GPS Sensor

  • 1 BMX160 Inertial Measurement Unit

  • 1 digital airspeed sensor

  • 4 lift motors + ESC’s + Props

  • 1 push motor + ESC’s

  • 7-8 Servos

  • Jetson TX2

  • PX5

Central controller raspberry pi. Attach nucleos to this which run proper firmware.

\uD83D\uDDD3 Timeline

Oct2021NovDecJan2022FebMarAprMayJun
Lane 1
Lane 2

Feature 1

Feature 2

Feature 3

Feature 4

iOS app

Android app

Open Questions

  • Do we want this to be a nucleo shield? I know this was mentioned throughout the meeting, but I don't remember if we came to a conclusion.

    • As it currently stands, when we refer to the “HIL controller,” we’re talking about the nucleo + the computer it interacts with. For the first revisions, we’ll design on a f401. In the future, this might turn into a nucleo shield, but we’re more likely to have a central controller (refer to below).

  • "Analog ↔︎ Digital conversion up to 6s VBatt" How do we want to do the analog to digital conversion? Where is the analog input coming from ?

    • We want to measure the analog voltage from our power distribution board. When the HIL reads this value, it then sends a signal to ZP indicating that our board is receiving a certain voltage. This voltage is “forwarded” to ZP which then determines which flight mode we’re in.

  • By "remote flashing" do we mean having the ability to flash when the programmer is not in physical contact with the device? Would the HIL then be under the view of a camera?

    • Due to the fact that the HIL controller is the nucleo AND the computer, we should be able to SSH into the system.

  • Will this ever interface with the simulator? I feel like this is more of a future expansion thing, especially because the simulator hasn't been started.

    • Yes, this should easily interface with the simulator because we are using a nucleo.

  • "Central controller raspberry pi" I'm not familiar with the pi, so how would this change the flow? Would the nucleo interact with the pi, which then interacts with ZP?

    • Long term scope for this project is to have one central controller, such as the raspberry pi, and several peripherals (decided to be nucleos as of now) that route through said central controller. For example, one nucleo might be dedicated to mocking an IMU, and another might be dedicated to mocking GPS. The use of a central controller would allow us to break the project up into smaller parts, and have dedicated modules for certain things.

  • Do I need to write a UART driver? Or can I use the HAL UART driver?

    • HAL UART driver is fine for now. If we have issues with the HAL UART, this will likely be a bigger issue.

✅  Actions Items

  • Jack Greenwood create architecture diagram, documentation, & open questions!

\uD83D\uDEA9 Milestones and deadlines

Milestone

Owner

Deadline

Status

\uD83D\uDD17 Reference materials


  • No labels

0 Comments

You are not logged in. Any changes you make will be marked as anonymous. You may want to Log In if you already have an account.