5.1 KiB
aliases, Tags, day_grade, Dehnen, Sport, Ernährung
| aliases | Tags | day_grade | Dehnen | Sport | Ernährung | |
|---|---|---|---|---|---|---|
|
2026-01-07
2026-01-06 <--> 2026-01-08
Error generating daily quote
Planning
- Write Email to F&D to quit.
- finalize battery bms driver
Reflection
Notes
Email Draft
Hey I've been thinking about my situation at OneSec and I want to fix an end date this week. I think the best solution is to leave as soon as possible. The reason for this being: I don't feel the same drive as before after what happened in December and you can hire 2 extra Valentins for my salary. I'm open to discuss the exact date, but I'd suggest end of January, this leaves a bit more than 3 weeks to do the following:
- finalize the battery driver code and have it reviewed by Hasan
- Review both PDBs --> this concludes a full iteration of pcbs.
- With the new wiring and propulsion harnesses arriving next week: test thoroughly then bring up propulsion system
- Handover
- document everything I can think of with loom videos and articles
Are there any other subjects you want me to tackle?
Hey, regarding my notice I suggest fixing the 31st of January as an end date. This leaves just enough time to finalize ongoing activities and organize a clean handover. Additionally it leaves space to hire two more interns with the same financial investment if needed. Please let me know if that is fine for you.
Hey Regarding my situation at OneSec:
- has there been any progress on the contracts that we wanted to sign? Can I assist in any way?
- I want to fix an end date and my suggestion is the 31st of January. This leaves just enough time to finalize ongoing activities and organize a clean handover and frees up resources for OneSec to hire 2 interns just like Valentin. I'm aware that this is very short notice, so I'm open to discuss this if you are against it, but I think this is the best solution.
Rough list of things to finish:
- finalize the battery driver code and have it reviewed by Hasan
- Review both PDBs --> this concludes a full iteration of pcbs.
- With the new wiring and propulsion harnesses arriving next week: test thoroughly then bring up propulsion system with healthy pcbs. Include Valentin in the process
- Handover
- document everything I can think of with loom videos and articles
Please let me know your thoughts and if anything is missing on the list.
Upper PDB Driver Requirements
Structure:
- each driver standalone and not dependent on osd-autopilot-2
- the upper pdb manager module is responsible of using the three drivers (bq76942, bq34z100, hdc2010) to get the right registers at the right frequencies and publish them to where its needed (chirp, zmq, mqtt)
- the upper pdb message structures are the following:
- HDC2010 Data
- temperature in deg C
- humidity in RH%
- is heater on in bool
- HDC2010 Config (includes calibration values)
- manufacturer ID
- device ID
- Measurement config
- temperature offset
- temperature resolution
- humidity offset
- humidity resolution
- dataready and interrupt configuration
- soft reset and interrupt cofniguration
- etc (look at datasheet)
- BMS Data Fast
- pack voltage in V
- pack current in A (use CC2)
- min cell voltage in V
- max cell voltage in V
- max temperature in BMS in °C
- min temperature in BMS in °C
- state of charge in % (from 34z100)
- charge fet enabled
- discharge fet enabled
- has fault? --> protection/alarm active? --> if yes trigger a search for what is wrong and escalate
- BMS Data Detailed
- soc_percent
- remaining_capacity_mah
- pack_voltage_mv
- instantaneous_current_ma
- average_current_2s_ma
- discharged_mah
- fault_bitmask
- cell_voltages_mv
- cell_min_index
- cell_max_index
- balancing_cells_bitmask --> indicates which cells are being balanced right now
- num_cells_balancing
- balancing_enabled
- balance_threshold_mv
- fault_flags
- full_charge_capacity_mah
- design_capacity_mah
- time_to_empty_min --> based on what consumption?
- time_to_full_min --> based on what charging?
- state_of_health_percent
- max_error_percent
- cycle_count
- total_cycle_count
- average_power_mw
- remaining_energy_kwh
- design_energy_kwh
- status_flags
- BMS Data Temperatures
- bq76942_internal
- bq76942_cell
- bq76942_mosfet
- bq34z100_internal
- bq34z100_cell
- BMS Config
- bq76942_fw_version
- bq34z100_fw_version
- all AFE safety settings (alerts and thresholds)
MQTT topic structure
- /fleet/
- configurations/{ID}/
- hdc2010_updb/
- bq34z100_updb/
- hdc2010_updb/
- temperatures/{ID}/
- hdc2010_updb/
- bms_updb/
- bms/{ID}/
- data_fast
- data_detailed
- configurations/{ID}/
HDC2010 barebones Driver Requirements
- Needs to be configurable
- change resolution of measurements
- change measurement mode
- needs to support a self test to ensure proper health status
- needs to answer in polling mode
- needs to support a calibration routine
BQ76942 barebones Driver Requirements
BQ34Z100 barebones Driver Requirements
UPDB Manager Module
- needs to configure the 3 drivers according to the .conf file