Größe: 5952
Kommentar:
|
Größe: 8448
Kommentar:
|
Gelöschter Text ist auf diese Art markiert. | Hinzugefügter Text ist auf diese Art markiert. |
Zeile 1: | Zeile 1: |
{{{#!wiki MK_Nav ||<class="MK_Nav_Header">'''BL-Ctrl V2.0'''|| }}} {{{#!wiki MK_select1 * {{http://mikrokopter.de/images/deu.gif}} [[BL-Ctrl_2.0|deutsch]] * {{http://mikrokopter.de/images/fra.gif}} [[fr/BL-Ctrl_2.0|français]] }}} <<BR>><<BR>> <<TableOfContents>> |
|
Zeile 2: | Zeile 18: |
Zeile 6: | Zeile 21: |
'''currently under translation''' |
|
Zeile 10: | Zeile 23: |
* ATMEGA168 with 16kB Flash | * ATMEGA168 with 16kB Flash |
Zeile 12: | Zeile 25: |
* Voltage: up to 5s-[[LiPo|Lipo]] (18,5V) | * Voltage: up to 5s-[[LiPo|Lipo]] (18,5V) |
Zeile 31: | Zeile 44: |
[[http://gallery.mikrokopter.de/main.php/v/tech/BL_20_Scope.jpg.html|{{http://gallery.mikrokopter.de/main.php?g2_view=core.DownloadItem&g2_itemId=63304}}]] | [[http://gallery.mikrokopter.de/main.php/v/tech/BL_20_Scope.jpg.html|{{http://gallery.mikrokopter.de/main.php?g2_view=core.DownloadItem&g2_itemId=63304|http://gallery.mikrokopter.de/main.php/v/tech/BL_20_Scope.jpg.html}}]] |
Zeile 35: | Zeile 48: |
=== value of the rotation speed === The motor speed in RPM (Rotation per minute) is: * UPM = raw * 780 / no. of magnets * Example: at rpm(raw) = 30 is the speed 2340rpm if the motor has 10 magnets Electrical commutation frequency vs. rotation speed * RPM = f * 60 * 2 / magnets The maximum electrical commutation frequency of the BL2.0 is 1666Hz, so the max rotation speed is 20.000rpm if the motor has 10 magnets |
|
Zeile 36: | Zeile 59: |
[[http://gallery.mikrokopter.de/main.php/v/tech/Jeti_Temperatures.gif.html|{{http://gallery.mikrokopter.de/main.php?g2_view=core.DownloadItem&g2_itemId=63235}}]] | [[http://gallery.mikrokopter.de/main.php/v/tech/Jeti_Temperatures.gif.html|{{http://gallery.mikrokopter.de/main.php?g2_view=core.DownloadItem&g2_itemId=63235|http://gallery.mikrokopter.de/main.php/v/tech/Jeti_Temperatures.gif.html}}]] |
Zeile 45: | Zeile 68: |
== Einstellbar == Die Einstellungen werden beim Start vom MK in die BL-Regler eingespielt. |
[[http://gallery.mikrokopter.de/main.php/v/tech/BL2_0_40A_TemperatureLimitation2.gif.html|{{http://gallery.mikrokopter.de/main.php?g2_view=core.DownloadItem&g2_itemId=88664}}]] |
Zeile 48: | Zeile 70: |
Die Settings können auch manuell in den einzelnen Reglern abgespeichert werden. | == Adjustable == The settings are recordered at the start of the MK into the BL-Controller. |
Zeile 50: | Zeile 73: |
Damit das BL-Ctrl Menü auftaucht, muss man '''Strg + Settings''' drücken. | The settings can be stored manually in the single controllers. In order to show the BL-Ctrl menu '''press Ctrl + Settings'''. |
Zeile 54: | Zeile 79: |
=== Bedeutung der Parameter: === | === Meaning of the parameters: === * Max. current: Sets the upper limit for the motor current in amperes. At higer currents it is not switched off but cut back * Temperature Limiter: Limits the maximum temperature of the board in °C. At higher temperatures are not turned off, but cut back (one percent per 0.1 ° C) * PWM Scaling: defines the maximum power at maximum setpoint. This allows you to limit the maximum thrust, without losing resolution on the gas control. * Start PWM: set PWM when you start the engines. When the motors start badly, you can modify this value. * Current Scaling: this value is used for individual fine tuning of the current measurement of a controller. * Reverse Direction: Here you can reverse the direction of a controller by software. |
Zeile 56: | Zeile 87: |
* ''max. current'': Legt die Obergrenze für den Motorstrom in Ampere fest. Bei höheren Strömen wird nicht abgeschaltet, sondern gedrosselt * ''Temperature Limiter'': Legt die maximale Board-Temperatur in °C fest. Bei höheren Temperaturen wird nicht abgeschaltet, sondern gedrosselt (ein Prozent pro 0,1°C) * ''PWM Scaling'': legt die maximale Leistung bei maximalem Setpoint fest. Dadurch kann man den maximalen Schub limitieren, ohne Auflösung bei der Ansteuerung (Sollwerte) einzubüßen. * ''Start PWM'': Eingestellte PWM beim Starten der Motoren. Wenn Motoren schlecht anlaufen, kann man diesen Wert modifizieren. * ''Current Scaling'': Dieser Wert dient dem individuellen Finetuning der Strommessung eines Reglers. * ''Reverse Direction'': Hier kann man die Drehrichtung eines Reglers über die Software umkehren. === Hinweise === * Man kann die Parameter eines einzelnen Reglers anhand seiner Adresse setzen oder auch alle gleichzeitig ("Any" wählen). * Es werden nur diejenigen Parameter gesetzt, welche auch aktiviert sind (vorderes Auswahlfeld). * Damit die Setting dauerhaft (also auch noch nach dem Einschalten) in den Reglern gespeichert werden, muss man die Option "Store in EEPROM" vor dem Schreiben aktivieren. * Es können die Voreinstellungen wieder geladen werden, wenn man den Button "Restore Default" drückt. Diese werden jedoch nur dauerhaft gespeichert, wenn man gleichzeitg die Option "Store in EEPROM" ausgewählt hat. * Es können nur Settings von Reglern gelesen und geschrieben werden, deren Gasmischanteil in der Mixertabelle größer als 0 ist, die also in der Lageregelung auch verwendet werden. |
=== Notes === * You can set the parameters of a single controller using its address, or even all at the same time (select "Any"). * Only activated (front chackbox) parameters are set. * To store the settings permanently (ie, even after restart) in the controllers you must activate the option "Store to EEPROM" before writing. * The default settings can be loaded again when the button "Restore Default" is pressed. However, these are stored permanently only if you have also selected the option "Store to EEPROM". * Only settings of controllers whose gas mixing in the mixer table is greater than 0, which means are then used in the attitude control, can be written and read. |
Zeile 72: | Zeile 95: |
Zeile 74: | Zeile 98: |
Siehe auch: [[Firmware-0.80|Firmware 0.80]] | See also: [[en/Firmware-0.80|Firmware 0.80]] |
Zeile 76: | Zeile 100: |
== Adressauswahl == Jeder Motor benötigt eine eindeutige Adresse. Deshalb werden den BL-Reglern Adressen von 1-8 vergeben. |
== Address selection == Each engine requires a unique address. Therefore the BL controls addresses are assigned by 1-8. |
Zeile 79: | Zeile 103: |
Bei der BL-Ctrl V2.0 wird die Motoradresse per Lötjumper (aus Lötzinn) auf der Platine eingestellt. | On BL-Ctrl V2.0 the motor address is set on the board using jumpers (use solder). |
Zeile 81: | Zeile 105: |
[[http://gallery.mikrokopter.de/main.php/v/tech/BL20_ADR.jpg.html|{{http://gallery.mikrokopter.de/main.php?g2_view=core.DownloadItem&g2_itemId=63356}}]] | [[http://gallery.mikrokopter.de/main.php/v/tech/BL20_ADR.jpg.html|{{http://gallery.mikrokopter.de/main.php?g2_view=core.DownloadItem&g2_itemId=63356|http://gallery.mikrokopter.de/main.php/v/tech/BL20_ADR.jpg.html}}]] <<BR>><<BR>> |
Zeile 83: | Zeile 108: |
Dabei gilt: ||'''Adresse (Motor)''' ||'''1-2''' ||'''2-3''' ||'''4-5''' || ||1 ||offen ||offen ||offen || ||2 ||offen ||geschlossen ||offen || ||3 ||geschlossen ||offen ||offen || ||4 ||geschlossen ||geschlossen ||offen || ||5 ||offen ||offen ||geschlossen || ||6 ||offen ||geschlossen ||geschlossen || ||7 ||geschlossen ||offen ||geschlossen || ||8 ||geschlossen ||geschlossen ||geschlossen || |
|
Zeile 94: | Zeile 109: |
[[BrushlessCtrl|Generelle Infos zur BL-Ctrl]] | Where: ||'''Adress (Motor)''' ||'''1-2''' ||'''2-3''' ||'''4-5''' || ||1 ||open ||open ||open || ||2 ||open ||closed ||open || ||3 ||closed ||open ||open || ||4 ||closed ||closed ||open || ||5 ||open ||open ||closed || ||6 ||open ||closed ||closed || ||7 ||closed ||open ||closed || ||8 ||closed ||closed ||closed || |
Zeile 96: | Zeile 120: |
== Elkos == Dem BL-Regler liegen zwei Elkos bei. Den zweiten Elko benötigt man ab 20A. Es schadet auch nicht, wenn man immer beide Elkos bestückt. |
<<BR>><<BR>> [[http://gallery.mikrokopter.de/main.php/v/tech/BL-Ctrl2_0-Adr.jpg.html|{{http://gallery.mikrokopter.de/main.php?g2_view=core.DownloadItem&g2_itemId=76977}}]] <<BR>><<BR>> |
Zeile 99: | Zeile 124: |
[[http://gallery.mikrokopter.de/main.php/v/tech/BL_20_Elko.jpg.html|{{http://gallery.mikrokopter.de/main.php?g2_view=core.DownloadItem&g2_itemId=63348}}]] | == Capacitors == The BL-controller comes with two capacitors. The second capacitor is needed from 20A. It does not hurt if you fit both capacitors. |
Zeile 101: | Zeile 127: |
Wichtig: Polung beachten - die weisse, dicke Minus-Markierung der Elkos muss zu den Platinenrändern | [[http://gallery.mikrokopter.de/main.php/v/tech/BL_20_Elko.jpg.html|{{http://gallery.mikrokopter.de/main.php?g2_view=core.DownloadItem&g2_itemId=63348|http://gallery.mikrokopter.de/main.php/v/tech/BL_20_Elko.jpg.html}}]] |
Zeile 103: | Zeile 129: |
== Schaltplan == | Important note: polarity - the white, thick-minus mark of capacitors must be on the board margins |
Zeile 105: | Zeile 131: |
== Wiring diagram == | |
Zeile 107: | Zeile 134: |
[[http://gallery.mikrokopter.de/main.php/v/tech/BL_20_BOT.jpg.html|{{http://gallery.mikrokopter.de/main.php?g2_view=core.DownloadItem&g2_itemId=63339}}]] | [[http://gallery.mikrokopter.de/main.php/v/tech/BL_20_BOT.jpg.html|{{http://gallery.mikrokopter.de/main.php?g2_view=core.DownloadItem&g2_itemId=63339|http://gallery.mikrokopter.de/main.php/v/tech/BL_20_BOT.jpg.html}}]] |
Zeile 109: | Zeile 136: |
[[http://gallery.mikrokopter.de/main.php/v/tech/BL_20_TOP_001.jpg.html|{{http://gallery.mikrokopter.de/main.php?g2_view=core.DownloadItem&g2_itemId=63345}}]] | [[http://gallery.mikrokopter.de/main.php/v/tech/BL_20_TOP_001.jpg.html|{{http://gallery.mikrokopter.de/main.php?g2_view=core.DownloadItem&g2_itemId=63345|http://gallery.mikrokopter.de/main.php/v/tech/BL_20_TOP_001.jpg.html}}]] |
Zeile 111: | Zeile 138: |
== BL-Ctrl im Okto-Verteiler == [[http://gallery.mikrokopter.de/main.php/v/tech/Okto_BLs.jpg.html|{{http://gallery.mikrokopter.de/main.php?g2_view=core.DownloadItem&g2_itemId=63352}}]] |
|
Zeile 114: | Zeile 139: |
== Sonstiges == * die Softwarequellen diese BL-Reglers sind nicht offen * falls es ein Software-Update gibt: die Software darf nur seriell per KopterTool eingespielt werden. Per SPI würde man sich den Bootloader löschen - der ist nicht öffentlich |
== Connection == [[http://gallery.mikrokopter.de/main.php/v/tech/BL-Ctrl2_0_Connect1.jpg.html|{{http://gallery.mikrokopter.de/main.php?g2_view=core.DownloadItem&g2_itemId=93656}}]] [[http://gallery.mikrokopter.de/main.php/v/tech/BL-Ctrl2_0_Connect2.jpg.html|{{http://gallery.mikrokopter.de/main.php?g2_view=core.DownloadItem&g2_itemId=93659}}]] <<BR>><<BR>> '''INFO:''' Normally you connect the BL-Ctrl on the "I2C-Bus" of the FlightCtrl and set the needed address with a solder-bridge on the BL. But if you want to connect the BL-Ctrl with an PPM-cable (see second picture: PPM connection), an addressing with a solder-bridge is not necessary. == BL-Ctrl in Okto distribution == [[http://gallery.mikrokopter.de/main.php/v/tech/Okto_BLs.jpg.html|{{http://gallery.mikrokopter.de/main.php?g2_view=core.DownloadItem&g2_itemId=63352|http://gallery.mikrokopter.de/main.php/v/tech/Okto_BLs.jpg.html}}]] == Software Update == Here the [[http://svn.mikrokopter.de/listing.php?repname=BL-Ctrl&path=/BL-Ctrl_2.0/&#A77a6d89d8f15ebae7c35261da413b3a1|HEX-files]] [[en/SoftwareUpdate#include.2BAC8-KopterTool.2BAC8-TerminalWindow-SoftwareUpdate.BL-Ctrl|description]] of the BL-Update === Addresses 9-12 === For larger MikroKopters with more than 8 motors, you need to update the firmware [[http://svn.mikrokopter.de/listing.php?repname=BL-Ctrl&path=/BL-Ctrl_2.0/&#A77a6d89d8f15ebae7c35261da413b3a1|"BL-Ctrl_MEGA168_V0_..._ADR9-12.hex"]] == Miscellaneous == * The software source of these BL-Ctrl is not open * [[https://www.mikrocontroller.com/index.php?main_page=product_info&cPath=74&products_id=519|Here]] the ATMEGA168 incl. Bootloader as spare part * If there is a software update: the software may be updates only by serial MKTool. Using the SPI one would delete the boot loader - which is not public [[en/BrushlessCtrl|General info on BL-Ctrl]] ---- KategorieMK-Baugruppe/en |
BL-Ctrl V2.0 |
Inhaltsverzeichnis
Brushless-Controller Version 2.0
main Features
- ATMEGA168 with 16kB Flash
Current: 35A continuos & 40A Peak (provided there is good cooling)
Voltage: up to 5s-Lipo (18,5V)
- Sizes: 21 x 44mm (like the V1.0)
Capacitors: a second capacitor is required for currents > 20A
Features
- Current measurement
Temperature measurement
Voltage measurement
11Bit Resolution (2047 steps)
I2C-Bus for MikroKopter
- serial port for MKTool
- PPM-input (Important: if the PPM-input is used make sure the 4-5 jumper is not closed)
Jumper to address the Addresses 1-8
Configurable by the I2C-bus using Koptertool -> the Koptertool can remain connected to the Navi or the FC
Show temperatures in the virtual display
Display of the measured values in MKTool
(in this case the BLC must directly connected to the MKUSB)
value of the rotation speed
The motor speed in RPM (Rotation per minute) is:
- UPM = raw * 780 / no. of magnets
- Example: at rpm(raw) = 30 is the speed 2340rpm if the motor has 10 magnets
Electrical commutation frequency vs. rotation speed
- RPM = f * 60 * 2 / magnets
The maximum electrical commutation frequency of the BL2.0 is 1666Hz, so the max rotation speed is 20.000rpm if the motor has 10 magnets
Display of the temperatures in the display Jeti
See also: JetiBox
Safety
- adjustable current limit, gently slows down and doesn't shut off
- gentle reduction of temperature
doesn't start at> 85 ° C (if the engine is blocked for some time)
Adjustable
The settings are recordered at the start of the MK into the BL-Controller.
The settings can be stored manually in the single controllers.
In order to show the BL-Ctrl menu press Ctrl + Settings.
Meaning of the parameters:
- Max. current: Sets the upper limit for the motor current in amperes. At higer currents it is not switched off but cut back
- Temperature Limiter: Limits the maximum temperature of the board in °C. At higher temperatures are not turned off, but cut back (one percent per 0.1 ° C)
- PWM Scaling: defines the maximum power at maximum setpoint. This allows you to limit the maximum thrust, without losing resolution on the gas control.
- Start PWM: set PWM when you start the engines. When the motors start badly, you can modify this value.
- Current Scaling: this value is used for individual fine tuning of the current measurement of a controller.
- Reverse Direction: Here you can reverse the direction of a controller by software.
Notes
- You can set the parameters of a single controller using its address, or even all at the same time (select "Any").
- Only activated (front chackbox) parameters are set.
- To store the settings permanently (ie, even after restart) in the controllers you must activate the option "Store to EEPROM" before writing.
- The default settings can be loaded again when the button "Restore Default" is pressed. However, these are stored permanently only if you have also selected the option "Store to EEPROM".
- Only settings of controllers whose gas mixing in the mixer table is greater than 0, which means are then used in the attitude control, can be written and read.
See also: Firmware 0.80
Address selection
Each engine requires a unique address. Therefore the BL controls addresses are assigned by 1-8.
On BL-Ctrl V2.0 the motor address is set on the board using jumpers (use solder).
Where:
Adress (Motor) |
1-2 |
2-3 |
4-5 |
1 |
open |
open |
open |
2 |
open |
closed |
open |
3 |
closed |
open |
open |
4 |
closed |
closed |
open |
5 |
open |
open |
closed |
6 |
open |
closed |
closed |
7 |
closed |
open |
closed |
8 |
closed |
closed |
closed |
Capacitors
The BL-controller comes with two capacitors. The second capacitor is needed from 20A. It does not hurt if you fit both capacitors.
Important note: polarity - the white, thick-minus mark of capacitors must be on the board margins
Wiring diagram
http://mikrocontroller.com/files/BL_Ctrl_V2_0_Doku.pdf
Connection
INFO: Normally you connect the BL-Ctrl on the "I2C-Bus" of the FlightCtrl and set the needed address with a solder-bridge on the BL. But if you want to connect the BL-Ctrl with an PPM-cable (see second picture: PPM connection), an addressing with a solder-bridge is not necessary.
BL-Ctrl in Okto distribution
Software Update
Here the HEX-files
description of the BL-Update
Addresses 9-12
For larger MikroKopters with more than 8 motors, you need to update the firmware "BL-Ctrl_MEGA168_V0_..._ADR9-12.hex"
Miscellaneous
- The software source of these BL-Ctrl is not open
Here the ATMEGA168 incl. Bootloader as spare part
- If there is a software update: the software may be updates only by serial MKTool. Using the SPI one would delete the boot loader - which is not public
- KategorieMK-Baugruppe/en