Größe: 5921
Kommentar:
|
Größe: 9072
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''' | <<BR>><<BR>> '''Note:''' <<BR>> The BL-Ctrl 2.0 controller is specifically designed and optimized for our MK3638 motor. <<BR>> For maximum stability of the MikroKopter setpoints are set almost instantaneously on the motor. <<BR>> If other motors (especially larger power classes) are used with this controller, this fast change <<BR>> of setpoints can easily lead to very high peak currents, which bring the BL-Ctrl control to the <<BR>> limit or an overload. This is no fault of BL-Ctrl2.0 controller, but a systemic property.<<BR>> Please consider carefully whether a different motor is suitable. <<BR>><<BR>> |
Zeile 10: | Zeile 33: |
* ATMEGA168 with 16kB Flash | * ATMEGA168 with 16kB Flash |
Zeile 12: | Zeile 35: |
* Voltage: up to 5s-[[LiPo|Lipo]] (18,5V) | * Voltage: up to 5s-[[LiPo|Lipo]] (18,5V) |
Zeile 31: | Zeile 54: |
[[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 58: |
=== 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 69: |
[[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 78: |
[[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 46: | Zeile 81: |
The settings are recordered at the start of the MK into the BL-Controller. | The settings are recordered at the start of the MK into the BL-Controller. |
Zeile 54: | Zeile 89: |
=== 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 97: |
* ''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 105: |
Zeile 74: | Zeile 108: |
Siehe auch: [[Firmware-0.80|Firmware 0.80]] | See also: [[en/Firmware-0.80|Firmware 0.80]] |
Zeile 76: | Zeile 110: |
== 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 113: |
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 115: |
[[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 118: |
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 119: |
[[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 130: |
== 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 134: |
[[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 137: |
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 139: |
== Schaltplan == | Important note: polarity - the white, thick-minus mark of capacitors must be on the board margins |
Zeile 105: | Zeile 141: |
== Wiring diagram == | |
Zeile 107: | Zeile 144: |
[[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 146: |
[[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 148: |
== 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 149: |
== 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
Note:
The BL-Ctrl 2.0 controller is specifically designed and optimized for our MK3638 motor.
For maximum stability of the MikroKopter setpoints are set almost instantaneously on the motor.
If other motors (especially larger power classes) are used with this controller, this fast change
of setpoints can easily lead to very high peak currents, which bring the BL-Ctrl control to the
limit or an overload. This is no fault of BL-Ctrl2.0 controller, but a systemic property.
Please consider carefully whether a different motor is suitable.
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