-->
Decisions of electrical structure were made to efficiently, safely, and cost effectively allow the control and of the ASV. The electrical system is required to power and apply control to dual thrusters propelling the ASV and respective stepper motors used for steering - read Mechanical’s post after this! The telemetry system was designed so that the ASV’s propulsion system could be controlled, the ASV could be controlled from the ground station, and the remote emergency stop, and safety protocols could be actuated. The telemetry system has redundant access points so that connection can be ensured at any point. The on-board safety system contains a physical emergency-stop of the boat and has redundant remote emergency stop including remote shutoff of the propulsion system.
Below in Table 1 is the expected maximum power draw and current of each of the attached circuits. While these circuits will intertwine, this is only to determine the amount of current and power that will be drawn through the fuse block and thus the batteries. The biggest power sink is the thruster, however bench testing has shown that the current draw of steppers is more likely to be around 10-12 Amps which will increase the expected Battery life to 30-40 minutes. The ASV will also never be running at a maximum power draw for 20 minutes, meaning that the battery life is not a risk.
Component | # of Components | Current Draw (A) | Voltage (V) | % Time Active | Power Consumption (W) |
---|---|---|---|---|---|
Circuit | 100% | ||||
Telem: PixHawk + Jetson | 1 | 7 | 5 | 100% | 36.76 |
Wifi Bullet | 1 | 0.29 | 24 | 100% | 8.75 |
LiDAR | 1 | 0.5 | 12 | 100% | 7.05 |
Signal Tower | 1 | 0.167 | 12 | 100% | 2.35 |
HC-12 Nano E-stop | 1 | 0.33 | 9 | 100% | 3.00 |
T200 Thruster (Theoretical) | 2 | 22 | 15.26 | 50% | 335.72 |
STP-MTR-23055 Stepping Motor | 2 | 2.8 | 15.26 | 50% | 42.73 |
Totals: | - | 57.89 | - | - | 814.81 |
Battery Life (hrs) @ Full pwr | 0.68 | 40.7 Minutes | |||
Battery Life (hrs) @ 80% pwr O/P | 0.85 | 50.9 Minutes |
The telemetry circuit uses the HolyBro PM02D power module with voltage regulated to 5V using a step-down system. The main line of the module goes directly to the Jetson, with the PixHawk power branching off the control board. Since the PixHawk and the Jetson Nano run in parallel to each other they are on the same circuit from the perspective of the PDM. It’s expected they will pull a combined 4-8A, this includes their own function and all the different sensors, relays, and actuators the Jetson and PixHawk apply power to. The Wi-Fi bullet is on its own power circuit due to its Power Over Ethernet (POE) requirement but is connected to the Jetson for telemetry communication. This connection is explained further in Section 3 - Telemetry. The propulsion system is the highest requirement of power of any part of the set up. The wire to the thruster is 10 American Wire Guage (AWG) to handle the higher current. The actuator power is better explained in Section 5 - Actuators.
The ASV is powered by dual Blue Robotics Lithium Polymer Battery batteries with 10Ah at 14.8V, power capacity at running at Direct Current (DC). Each battery battery is charged to 15.26 V is expected to provide 24 A for an expected power of 366W. The Blue Robotics batteries work for the expected technical requirements but are specifically designed to be flight safe. This makes the transport and application of batteries to compete much more feasible for the team. At the usage voltage of 15.26V there is not a need for grounding if proper precautions are taken. Grounding is meant to stop accidental shorts or shocks from happening, the system is not at a dangerous voltage and will not be touched by any people while the batteries are running. All wiring is expected to be covered by a non-conductive heat shrink and secured. All terminal blocks and the fuse block will be covered by one to two layers of non-conductive plastic to ensure no contact. Batteries will be removed from their fixed attachments with non-conductive plastic outer casing before changes are made to the system.
These system batteries are in a dedicated container attached into the electrical box with wire sized at 12 AWG into a XT-90 to XT-60 adapter with male XT-60 adapter going into ten AWG wire. Inside the electrical box the positive and negative lines of ten awg wire for both batteries are attached to respective terminal block. The main line is expected to carry a maximum current of 60 Amperes (A), as a result the main line uses seven stranded, 3 awg rated up to 90A copper wire attached with 2 awg lugs these are rated for currents up to 130A. The next nearest wire type is rated below our nominal amperage, therefore the extra surface area for charge to safely pass through as needed. The positive line connects through the main line Solid State Relay (SSR) rated for 100A, into the screw terminal blade fuse block, the ASV’s Power Distribution Module (PDM). The negative bus line of the fuse block connects to the negative terminal block allowing a complete circuit back to the batteries. The is rated for up to 125A and 32V DC and will be running the 9 individual sub-circuits in the ASV of it’s available 12 circuits.
Our non-technical diagram of this system is shown below in Figure 2. A Technical diagram is available at the bottom of this page.
The physical E-stop system safely shuts off all the power to the system at the push of the button on the side of the boat. All of the circuits run through the main relay, therefore cutting power stops all power distribution circuits. The 9V circuit is also broken, stopping its power draw, therefore the entire system stops. The design of the physical E-Stop is shown below in Figure 3, the lit LED shows that the relay is able to conduct power through it.
The button is mounted to the side of the electrical box with drilled holes for wires to pass through. A 9-volt Alkaline battery circuit going through the switch is used as the control voltage for the main relay.
The switch is only up to 10 ADC, the expected main line current is much above the rated current and would destroy the switch. As a result, the switch is implemented to control a relay that can handle the current demands of the main line. The SSR uses semi-conductor materials that are excited by photons when a control voltage between 3-32V is passed over the control terminals, allowing current to flow. When the button is down, the switch opens causing the control to be de-activated, stopping the flow of current. Compared to photoelectric or electromechanical relays which require a telemetry signal, the simple activation power across the terminals made the SSR an optimal choice for the E-stop. The SSR was also the best price deals for the required voltage and current it needed to handle.
The team found a need to protect the propulsion systems allowing instant shut off power to any or all propulsion components. While normally the component sending commands to the relays will normally cease operations, if there is some sort of issue, the Jetson can act as an emergency power stop to propulsion. Below in Figure 4 is the system of Solid State and Photo-Electric relays combined so that the Jetson can cease power to the motors or steppers.
The system of relays is set up so that the power can be cut to the steppers, thruster and controllers whenever needed. The Sainsmart 4 module relay photoelectric relay is attached to four Jetson out pins, corresponding to the four ports on the relay. A 5 volt and ground pin of the Jetson are connected to the VCC and GND pins of the relay ensuring that the Jetson may apply control over the out pins. Due to the variance in current draw of the thrusters, maximum 22A, versus the Steppers, maximum 2.8A, different relays setups are needed. Both stepper powers can travel straight through the relay through the common and normally closed pins, this would disconnect when the relay opens. The steppers require a secondary set of SSR for each rated at 30A and a control between 3-32V. The Jetson 5V out pins travel through the comm and normally closed pins to act as the control voltage of the thruster SSRs. This allows Jetson to control the power of the steppers and thrusters at any point.
The Elgoo Nano E-stop system acts as a redundant method of communicating to the telemetry systems that the current actions need to be stopped. This is built as a combination of Arduino nano and an attached HC-12 SI4463 Wireless Serial Port Module running at 433MHz. One is present both at the ground station and the other on board attached to the Jetson. This can received signal from up to 1000m away at 5000 pbs, which is three times the expected ground station distance in competition. When the proper signal is received stop the actuators using the relay system that dictates the power to them. The small size, low power draw, good price and ease of the Elgoo nano make it ease of implementation with the HC-12 control made it an optimal choice as a redundant communication method.
To ensure reliable ground station communication with the ASV, aQuatonomous employs four options of communication with overlap to ensure redundancy. The ASV allows communication through it’s Ubiquiti airMAX Wi-Fi bullets, with Heliumtech 3 dBi LoRaWAN FibreGlass Antennae, Radio control receivers, Sik telemetry radios, and as a last resort Arduino nano’s using HC-12 Wireless controllers which operate via bluetooth at medium range. Some of these communications are used as emergency control, resulting in a priority stucture in which the most used method is not the one with the highest control priority. This is shown in Figure 5.
Usage | Control |
---|---|
High Use | High Priority |
Wi-fi | Sik Telemetry Radio |
RC Radio | HC-12 Bluetooth |
Sik Telemetry Radio | RC Radio |
HC-12 Bluetooth | Wi-fi |
Low Use | Low Priority |
The PixHawk 4 is the ASV’s Proportional Integral Derivative (PID) controller. PID controllers can take input data from multiple sensors, using this data it finds the difference between the current point and the desired setpoint. https://www.ni.com/en/shop/labview/pid-theory-explained.html?srsltid=AfmBOorEBwiKdN2CAVxUP_5scUvAewBvMFdn2m8UjoiEN-VMO6OfTB8p. Some of these sensors are the PixHawk’s internal IMU and are connected to the system’s GPS for referencing position. These sensors are explained in more detail in Section 4.2 Position and Movement. The PixHawk is directly connected with the Jetson nano to receive navigation instructions and for mutual redundant external communication access, allowing the Jetson nano to be accessed through the PixHawk or vice versa. The PixHawk applies Pulse Width Modulation (PWM) signals to control the steppers and thrusters (PWM is the practice of sending power in pulses and using the average time on or off as a signal). The PWM pin of the PixHawk 4 is attached to a PWM adapter for the stepper drivers and ESCs - their side of the communication is explained further in the Stepper and Thruster sections. Since the PixHawk controls the propulsion, the redundant methods of communication are needed to ensure control can occur at any time. The PixHawk model will be calibrated using a model of a smaller size ASV package for the resistive forces and speeds of the motors and thrusters. This will involve testing in how the ASV reacts under conditions or the speed at which it travels when the force of the thrusters/stepper are at a measured curve, creating a calibration curve. This is shown in the snippet in Figure 6.
The RC radio is attached into the PixHawk, it communicates with the MK-12 remote on the ground station. This allows the ASV to be remotely steered by the remote, ensuring that the ASV can be maneuvered to the home if other issues are occurring with autonomous direction. The remote will also be used from the ground station as a redundant method of task selection for the ASV to perform.
Sik Radios were specifically designed for autonomous vehicle movement with the PixHawk - intended to be “plug and play”. They allow for remote connection from the ground station, and work directly with the Ardupilot remote control software. This allows us to take manual control of the actuation system at any point, overriding the PixHawk’s internal navigation settings and steering the boat back to safety in case of a software fault onboard, similar to the RC radio but bypassing the Jetson Nano’s control entirely.
The Jetson Nano is the brains of the operation - having the teams’ autonomous algorithms running on it and will appling them when given the command. The Jetson receives information from the Cameras and LiDAR sensors, explained further in Section 4 - Sensor Suite. It is directly connected to the PixHawk and can receive ground station communication directly through the Wi-Fi bullets, or indirectly through the PixHawkawk. The Jetson applies control over the propulsion protection relay system explained in further detail above in Section 2.2 - Relays.
The Ubiquiti airMAX Bullet M2 bullets are the only method of communication that directly connects to the Jetson Nano. It was deemed necessary to have direct communication for direct access, and redundancy if there are any issues communicating with the PixHawk. Wi-Fi bullets have the advantage of allowing for more diverse communication over IP, with multiple senders and receivers. When tracking multiple actuators, data gathering devices, and a full computer vision system, avoiding the overhead of sending these all over one wire by using UDP/TCP is ideal.
They require a voltage of 24 V, implemented with Power Over Ethernet (POE). At the ground station, a 24V UBIQUITI POE Injector - 802.3AF AC-DC adapter is used to employ POE between the ground station computer and Wi-Fi bullet. On board, an identical Wi-Fi bullet is connected to the Jetson. A POE power splitter is used to power the Wi-Fi bullet receiver the power boost from a 24V step up controller connected to the PDM. Both the ground station and on-board setup are attached to Heliumtech 3 dBi LoRaWAN Helium 900 MHz Fiberglass Antenna allowing remote log-in from our ground station.
The Unitree 4D LiDAR L1 and Camera sensors are connected to the Jetson Nano, providing the ASV information on its surroundings. The LiDAR is connected to Jetson via USB.
The camera is an ArduCam 12.3MP Module, that will directly connect via USB to the Jetson. It receives power and provides information upon a bundled line.
The camera supplements the data the LiDAR provides about the location and size of obstacles with further information. The camera provides information that allows object detection software to classify obstacles and confirms obstacle location with the lidar LiDAR. The supplemental information, such as identifying a buoy, and the color of an object, is critical to the team’s success in tasks.
If you are interested in learning how this works in Software, a much more in-depth guide can be found in Perception’s Article (here)[/blog/perception_autonomy_overview].
You can also view the connections in our technical diagram at the bottom of this page, or in Figure 6 above.
The IMU and GPS both work with the PixHawk and are used to determine the ASV’s position, linear and angular velocity, acceleration, and orientation.
The GPS used is the Holybro M10 GPS. This is externally attached to the PixHawk, it gives the current position of the PixHawk within 2 metres. Of course - this is meant for non water vehicles. A lot of testing will be focused on determining how waterproofing affects this accuracy, via comparing an exposed GPS on land to our waterproofed HolyBro.
AQuatonomous’ ASV uses the PixHawk’s internal IMU to determine its current orientation, velocities and acceleration, both angular and linear using its internal gyroscope. With the IMU and GPS data, the PixHawk evaluates its current position, and movement to determine the adjustments and actions the propulsion system would need to take to get to the next point of interest - all on its own, taking a great deal of stress off of the Jetson, whose resources are required for our computer vision model. You can learn more about this in Autonomy’s Article.
To provide motion of the ASV, a stepper and thruster combination is present on both pontoons. The thruster propels the ASV while the stepper controls the rotation of the thruster to change the direction of the ASV as needed. Power to the steppers and thrusters can be stopped at any point by a system of relays controlled by the Jetson described above in Section 2.2 Relays.
Dual T1200 thrusters are used on either side of the ASV’s pontoons to propel the boat in the direction of choice. These are controlled by ESCs (Electronic Speed Controllers). These small chips receive signals from the PixHawk and enact PWM control via specialized high-frequency internal relays. This. The ESC and thruster are rated for maximum of 24A, it is expected that it will pull an average of 14A depending on speed, from bench testing however, this could be closer to 10-15A on average. The nominal voltage for the thrusters is around 16V - the batteries operate at 15.26 which is within 5%. The ESC is connected to the PWM attachment as shown above in Figure 2. They take one control pin routed to the PixHawk, and receive power directly from the block to avoid running high amperage through the PixHawk.
The Bi-Polar, 1.8degree Stepper Motors are in control of the rotations of the thrusters causing a change in direction of the propulsion system. These are rated up to 32V but are able to proficiently rotate the thrusters at 15.26V. These are controlled by A4988 Ponlulu Stepper Driver Controllers. The stepper driver can handle voltages up to 32V at 2.8A. If voltage spikes over 35V occur (which is possible at 12V or higher) the board will be compromised - hence, we use 47uF capacitors to regulate their voltages, protecting the drivers. Using their on-board tuning potentiometer, the current is limited to a maximum of 2.8 A.
The stepper motor and driver can have both the direction and degrees of rotation controlled. Polarity is important, as an inverse polarity does mean an inversed direction. Luckily this can be fixed via simple calibration or a wire switch after testing. The A4988 stepper driver and motor are wired as shown above in Figure 2. The telemetry of the driver is controlled by the PWM attachment of the PixHawk. The “step” is controlled via PWM, converted to desired degree of rotation by the driver, which uses the Stepper’s feedback to correctly drive it to position. Direction is manually sent to the driver via a separate pin, allowing for more control. The stepper driver also requires a control 5V and GND - used both for powe rand as a reference to determine the PWM status.
A snippet of both Motor’s wiring is available below in Figure 7:
An effective bench test should be safe, provide clear results in a reasonable timeframe and support meaningful conclusions. Safety is held paramount throughout all design, preparation, and execution. Component performance is evaluated to confirm that the expected method of implementation will work. Testing is compartmentalized to get information about the pieces of each subsystem leading to the overall results.
Before setups are fully built, steppers and thrusters are tested to ensure they function under their expected conditions. This can determine if there are flaws in the setup and give the team information on how they should run it in the future. In thruster motion tests any prolonged motion must be kept under a certain amount unless underwater or it will cause unnecessary strain. Once assembled, the stepper is tested to ensure that under the current power consumption it can rotate the thrusters at over 900 RPM out-of-water. If the stepper cannot, the mechanical mechanism will be altered, or the voltage of the stepper will be boosted. The thruster was tested to determine current draw when powered at 15.26V for different levels of intensity, this is used to calculate power.
The same will be done with the steppers to determine its expected power drawn from the batteries under different levels of steps. The power draw of all other circuits will be tested to determine the total power draw. This will be used to calculate the empirical power drawn from the batteries and used to evaluate if any of the propulsion will need to be ran at lower speeds to conserve battery health. Once power curves are established and the ASV is functional, the propulsion system will be tested to determine optimal thruster and stepper speed for ASV function.
As we test, we will occasionally provide updates on this website! Keep your eyes peeled for a blog post soon!
The PWM system with the PixHawk will be tested to ensure that it can control the steppers’ direction, speed, and thrusters. The direction that a high or low pulse makes the stepper travel in will be recorded. speeds achieved by the different pulse width will be tested and recorded to build the PixHawk airframe of the actuators. All communication methods from the ground station will be tested for the expected range that the ASV will be from the ground station and the furthest distance. The Plastic casing should not effect the GPS signal (probably needs a source), but the signal strength will be tested inside the electrical box, versus the outside to ensure that it does not need to be placed outside the box.
The main line physical E-stop has been tested to determine functionality under standard conditions and showed that the circuit opens when the light is pressed. You can view some tests by clicking here!. The relay system will be tested by originally running power and PWM signals to each of the actuators, then individually turning each off to ensure no shorts, then turning all off at once. If the actuators do not run despite PWM signals being received, the relay system will be deemed successful. The Elgoo HC-12 E-stop system will be tested from the expected distance and maximum distance to ensure it is successful.
Now viewable below!