Description:
A cross-platform system and structure to measure and calculate the speed at which each wheel on the electric motorcycle is moving, to optimize traction control issues and conserve energy while accelerating the bike.
A team tasked with creating a speed sensor to collect and report information to traction control in order to accurately accelarate the bike
Test Plan for Proper Performance
Project Lead
Electrical Engineering Technology
(CET)
Electrical Engineering
(KGCOE)
Electrical Engineering Technology
(CET)
Computer Engineering Technology
(CET)
Computer Engineering Technology
(CET)
Computer Engineering Technology
(CET)
Electrical Engineering
(KGCOE)
Computer Engineering
(KGCOE)
Electrical Engineering Technology
(CET)
Changes Made:
Changed STM Package Size to be the 64 pin option
Mounting holes in corners.
Remove Ground traces, only vias.
Remove T-connections on C12-C15.
Change differential pairing so they are closer together.
Bypass caps need to be spread apart throughout the board.
12V should be a polygon trace rather than trace to polygons.
Polygons take priority over test points.
Move LDO’s closer to board power input.
Spread out the test points so that you can fit at least a pencil eraser between them.
Pin headers for Can_TX, Can_RX, and GND (copy from other project files)
Pin header for F-spin, B-spin, and GND
Silk screen each function
Reserve Rx, Tx from EIEIO connector
Do not need the SN block.
Test points should not be junctions.
Reference HUDL 1.2, Gub and similar board for layout
Vias should be 24 12.
First few meetings
IR / UltraSonic Sensor:
Description - Infrared sensor produces light, reflects off object mounted to wheel, and photoresistor/diode senses the reflection and produces a voltages
Pros:
Can place the IR sensor much further (and safer) then a HES
More accurate measurement?
Cons:
Needs a beam break type
Doesn’t really exist as of now for land vehicles (UltraS)
Account for more noise
Hall Effect Sensor:
Description - Disk magnet spins with wheel, mounted magnet picks up change in polarity, produces sine wave.
Pros:
Magnet resistant to dirt/debris
Work is already done for us (don’t need to re-engineer)
Measure low current and various frequencies
Can usually last long
Fast Response time, can instantaneously track in waveforms.
Miniaturized and works really well in terms of SMT
Low costs
No optical switches or contact bounce (when the vehicle is moving, could affect IR sensor)
Cons:
If magnet is broken or not put on shaft properly, needs to be replaced essentially
Not exactly good in water/wet environments
Small gap between the magnet and wheel
Higher chance to mechanically fail
Needs to be reset to relative position in order to work
Can be interrupted by other magnetic or electromagnetic fields/waves
Can’t go past a certain current (20mA or even less)
Back Wheel
Communication using CAN
Front Wheel
After speaking with Mechanical team we determined places where we could stick the hall effect sensor
These are the main options we look at for sensor options
$49.14
Digital Output
4.57mm max sensing range
$35.85
Digital Outpu
1.5mm max sensing range
$9.69
Digital Output
19mm Max Sensing Range
For testing we went with the 55100-3H hall effect sensor because the range was best for the distance between the magnets on the wheel and the sensor
Using the magnetic sensor of a circuits kit.
Above is the circuit built to test the sensor
With this sensor we determined:
Off = 500mV
On = 600mV
This helped us develop a test plan for when we get the 55100-3H hall effect sensor.
We ordered a more official sensor, this way we can get something closer to whats going on the bike. We designed a circuit to use an arduino uno board and read the 5100 Hall Effect Sensor. We originally had issues because we did not follow the specifications on the data sheet. We had a very noisy response from the analog read. We added a 10uF capacitor between the 5V input and ground to filter out the noisy response. Additionally we added a 1.2kΩ pull up resistor so when the magnet is detected the signal goes to 0V, and V High is 5V.
Feedback from test:
Firmware Lead (Matt McGee) asked to have the output voltage pull up to 12V instead of 5V. Possibly to be a more clear High than 5V, as the signal needs to travel from the wheel to the main board in the penthouse.
Feedback/Critiques:
Re-do sampling calculations
Connect Power Good to LED instead of directly to the board
Depending on the sensor step down the voltage
No pop the termination resistors on the can transceiver
Add capacitors to the STM as a good design practice
Connect JTAG ports to GND
ADD more test points
Remove nRST from JTAG
All the boards will be housed in the pent house - we were given constraints for sizing option for our board. We were given a maximum of 3" x 3.5" in area.
Additionall we were asked to put a connector at the bottom of the board containing all I/O for our board. This includes all the hall effect lines, Can_H and Can_L
We also had to choose our connector
Thru holes needed to be added to each corner of the board
Layout Review Critiques:
Mounting holes in corners.
Remove Ground traces, only vias.
Remove T-connections on C12-C15.
Change differential pairing so they are closer together.
Bypass caps need to be spread apart throughout the board.
12V should be a polygon trace rather than trace to polygons.
Polygons take priority over test points.
Move LDO’s closer to board power input.
Spread out the test points so that you can fit at least a pencil eraser between them.
Pin headers for Can_TX, Can_RX, and GND (copy from other project files)
Pin header for F-spin, B-spin, and GND
Silk screen each function
Reserve Rx, Tx from EIEIO connector
Do not need the SN block.
Test points should not be junctions.
Reference HUDL 1.2, Gub and similar board for layout
Vias should be 24 12