We have chartered a new goal to create development boards of the designs created by circuit tree to showcase Circuit Tree Design capability. To keep the task fairly simple the development board requirements are listed below:
1. Create a drone board which can fly while being controlled from mobile bluetooth. The frame of the board would be a PCB where the Motors would mount.
2. The drone board should be powered by a battery and should have battery charging capability.
3. The Main elements of the drone board would be a small micro-controller, bluetooth radio, accelerometer, gyroscope, compass, jtag port for debug, 4 pwm’s, led and reset switch.
4. The battery of this board when in air should last for minimum 15 minutes.
5. As a first bringup goal the drone board should be able to fly till small altitude.
We start by estimating the weight of the drone board with battery to find if it can meet the goal no 4. We analysed and decided to select the motors for the project listed below:
Next we start the electronic design. We chose circuit tree design to first look at the list of controllers which can be used for the drone design. Based on the component avaibility results we narrowed down to stm32l052k6t6 from st micro electronics. Quickly the components were selected as shown below and a block diagram generated.
We did wait for schematics to generate within 2.5 minutes and within that time did scan the Bill of material file generated from the tool. There are certain discrete components which circuit Tree could not select which is left to the designers to update.
Also in the schematic we have a dummy connector added for Timer pins. The connector is important as it helps in allocating the micro-controller pins for the Timer/PWM. The intent of using Timer is to allow mosfets to be added to these pins to eventually allow motors to be driven.
Next we click on the layout viewer to select a dxf file and check if the placement dxf outline is correct. Next we fire the background process to generate placement.
Within next 3 minutes the placement of the board is generated and it looks as shown below:
The algorithm shows that the components can be fit in the given board dxf file. It is time to define the board boundary restriction so that the algorithm can rerun and produce more symmetrical placement around 4 weeks.
We would keep updating the blog as we get the results.
Here is the Git hub link for design files for the drone design.
Update1: Sept 16th 2017
Muneeb started working on the eagle downloaded design to add motors pads and mosfets to the design. He is one of smart engineers we have on circuit tree who took the design and first started to review the design and compare the output of circuit tree with the stm-cube tool output. Once we was happy with the output it was time to change the connector page to add the motors pads and mosfets as shown below. The only change he had to do in the downloaded eagle schematic file was to change the grid to default.
Here is the copy of the page he edited:
The next check for him was to check if the eagle ERC was displaying any errors. No errors were found but number of warnings were observed stating two similar named nets are connected to one another. After a check it was time to see if the the circuit tree board file can get newly added components(mosfets and motor pads) in the placement. He further customised the placement file to meet his requirement.
Update2: Oct 10th 2017
We have released the board file for fabrication and assembly. Eagerly waiting for the first circuit tree design to come to life.
Stay tuned to know how we progress ahead with this design. We cannot control our excitement.
Update no 3: Oct 20th 2017:
We just got the pcb fabricated from china. There is a minor issue with respect to the via tenting which the pcb vendor did not make despite being in the requirement. Components have been ordered and now the pcb assembly starts.
Looking for a healthy board bringup without any wires.
Update no 4: Oct 30th 2017:
Here are the set of assembled boards designed through circuit tree. Board bringup’s are always interesting milestone for a hardware design engineer as we spark new life into a element.
Quick checks done so far:
- Component placement checked
- Power short check shows no issue so far.
- Weight of the board.
- Note there are no overlapping components.
So far so good. It is late in the evening will do the bringup tomorrow with a detailed test plan.
Update no 5: Nov 2nd 2017
Picture of the board assembled with motors and power test. Board was first tested for open short test. The board was powered with usb cable and then the main board voltage was found to be 3.29v. Great work so far.
Update no 6: Nov 4th 2017
The moment we have been all waiting for is here. Here is a quick update on the board bringup:
- Powered the board through the usb cable connected to a laptop. All voltages are good.
- Connected the st micro to ST-LINK/V2 through a custom adapter cable as the connector on the board was incompatible with the pitch of the programmer.
- Detected the stm32l052 device on the programmer console.
- Programmed a code to drive the motors through the mosfet.
- Next connected the battery on the board after switching on the board.
- Result is as shown in the video. The right side of the drone had more lift compared to left side.
Really happy and satisfied with the result.
The next steps would be to connect the board through bluetooth to power on and off the board using laptop bluetooth control. Also we would interface with all the board sensors to get the real time data.
The good news is that the most of the hardware functionality is working as expected. Circuit tree application has designed a board which is reliable in short span of design time. In hardware design lots of items have to tick right and circuit tree has just shown the capability.
The next update would be in few weeks when we have created the software. Thank you for reading through the long post.