Close
0%
0%

Data Acquisition System for MotoStudent electric

Data Acquisition and Data Visualization System for a MotoStudent electric racing bike

Similar projects worth following
218 views
0 followers
A data acquisition system is a collection of hardware and software working together in order to collect data from external sensors, store and process it afterwards so that it can be visualized graphically and analyzed, allowing the engineers to make the necessary adjustments to obtain the best performance of the vehicle or device.

The Data Acquisition System works together with a Data Visualization System which allows the pilot to see the relevant real-time data for the driving. It consists on a HMI screen which communicates with the Data Acquisition System in order to retrieve and show data from it.

This System communicates with the bike’s ECU (Engine Control Unit) and receives internal information and engine variables from it via CAN bus. It uses a USB for the storage of the received data as well as the data retrieved from the sensors connected to the Data Acquisition System.

A simple scheme with the main components is shown on the picture below:

  • 1 × Microcontroller Texas Instruments F28069M C2000 Launchpad
  • 1 × Nextion Enhanced 5.0’’ screen
  • 1 × Voltage regulator LM25085AMY/NOPB
  • 2 × Voltage regulator MAX16903SAUE50
  • 1 × Temperature Sensor pt100

View all 54 components

  • 1
    Get to know the components

    Microcontroller Texas Instruments F28069M C2000 launchpad

    This microcontroller is embedded in a development board whose features makes it suitable for developing applications such as the Data Acquisition System and the ECU:

    • USB debugging and programming interface
    • CAN bus interface with integrated transceiver
    • 14 ADC pins (Analog to Digital Converters)
    • 34 GPIO pins (General Purpose Input/Output)
    • 2 serial protocol (SCI) communication channels
    • 2 I2C protocol communication channels
    • Programming with the free software Code Composer Studio

    It manages the external sensors, the GPS, the storage of the data inside the USB, the communication with the ECU and the communication with the dashboard’s screen.

    PC with Matlab software

    Matlab software is used to process and analyze the data stored in the USB. The position and trajectory of the bike can be visualized together with the value of the sensors, simultaneously, as can be seen on the picture.

    Nextion Enhanced 5.0’’ screen

    It’s used to show the most relevant information to the pilot, as well as the status of the bike’s systems. It receives the data from the F28069M C2000 microcontroller via serial communication.

    GPS GY-GPS6MV2

    The GPS gets the instant position of the bike, so that its trajectory can be afterwards plotted in Matlab software along with the values of the other sensors. It sends the GPS data to the F28069M C2000 microcontroller via serial communication.

    AIM suspension Sensor

    Installed on the front and rear suspension, the suspension displacement of the bike can be measured.

    Accelerometer VMA204

    It is used to measure the acceleration and forces the bike withstands in the axes x, y, and z. It sends the acceleration data to the F28069M C2000 microcontroller via I2C bus communication.

    Keypad

    The keypad is used to select the driving mode (ECO, Sport), configure the pilot’s screen and control the data acquisition times.

    USB

    It stores the data from the sensors, the GPS and the ECU.

    Inductive sensor IME18-08BPSZC0S

    It is used to count the pulses of a magnetic part of the wheel. The higher the speed, the more turns will the wheels do and the more pulses will the inductive sensor count. That’s how the measurement of the speed works.

    The connection diagram is the following:

    Temperature Sensor pt100

    The pt100 sensors are an specific type of temperature detectors. It varies its resistance depending on the temperature. The most important feature is that its composed of platinum and have an electrical resistance of 100 Ohm at 0ºC.

    Voltage regulators

    The system needs 4 different voltage regulators in order to obtain the voltage levels needed for the microcontroller and the sensors:

    LMR23615DRRR

    It is able to convert from a wide voltage range supply to a fixed output voltage. For this application, we need it to supply 3.3 V to the Texas Instruments F28069M C2000 microcontroller.

    LM25085AMY/NOPB

    It is able to convert from a wide voltage range supply to a fixed output voltage. For this application, we need it to supply 5 V to the Texas Instruments F28069M C2000 microcontroller.

    MAX16903SAUE50

    It is able to convert from a wide voltage range supply to a fixed output voltage. For this application, we need 2 of them:

    One to supply 5 V to the external sensors that require such voltage.

    The other one to supply 3.3 V to the external sensors that require such voltage.

    FDD5614P mosfet

    A mosfet is a semiconductor device similar to a transistor used to commute signals.

    TPS2051BDBVR Power switch

    This component is used to prevent short circuits. When the output load exceeds the current-limit threshold or a short is present, the device limits the output current to a safe level by switching into a constant-current mode. If the overload does not stop, it cuts off the supply voltage.

    LEDs

    LEDs are used to visualize whether the system has power or not. They also keep the current flowing in only one direction, preventing the wrong polarization of the circuit.

    Diodes

    They work as a LED but without the light; they keep the current flowing in only one direction, preventing the wrong polarization of the circuit.

    Connectors, pin headers and adaptors

    The PDB board requires a certain amount of connectors, pin headers and adaptors of different characteristics in order to work and integrate with the different peripheral devices:

    5-103639-3

    5-103669-9

    5-103669-1

    Pin Headers

    The size of the pin header can vary easily by dividing the pin header into separate parts.

    MicroUSB_AB

    Allows the mechanic adaptation of the board to the USB device.

    Resistors, capacitors, inductors

    The basics for any electronic circuit

  • 2
    Make the schematich design of the board

    The circuit schematic and components’ connection are showed in the images below:

    External connectors for power supply and CAN communication

    Microcontroller Texas Instruments F28069M C2000 launchpad

    Featuring:

    • Sensor’s connection, via pin headers of different sizes for analog and digital inputs
    • Signal conditioning for the sensors:
      • Low pass filters for preventing electromagnetic interference to disturb the signals. The cut off frequency is 15Hz.
      • Wheatstone bridge and an instrumental amplifier for the pt100 temperature sensor to work correctly
    • Communication pins for external devices:
      • SCI for the screen and the GPS
      • I2C for the accelerometer

    Power supply to the microcontroller

    Via Voltage regulators, which convert 24V (low voltage coming from the battery) to 3.3V (LMR23615DRRR) and 5V (LM25085AMY/NOPB):

    USB connection

    Power supply to the sensors and external devices

    Via Voltage regulators (MAX16903SAUE50), which convert 24V (low voltage coming from the battery) to 3.3V and 5V. The system is redundant and can also provide power to the microcontroller in case its voltage regulator fails:

  • 3
    Design the PCB Board Layout

    1) Power supply for the microcontroller

    2) Microcontroller Texas Instruments F28069M C2000 launchpad

    3) Digital and analog inputs and signal filtering (3.1)

    4) USB connection

    5) External devices pin headers

    6) pt100 temperature sensor signal conditioning

    7) Power supply for the sensors and external devices

View all 4 instructions

Enjoy this project?

Share

Discussions

Similar Projects

Does this project spark your interest?

Become a member to follow this project and never miss any updates