Ich habe vor, eine Steuerung mit einem Controllino (Maxi auf Mega Basis) aufzubauen. Der hat mehrer Ausgänge direkt mit High-side PNP Switches, 12V 2A. Lt. Beschreibung kann man die auch parallel schalten, wenn die Ansteuerung "zeitgleich" erfolgt.
Jetzt ist aber nunmal zwichen den Signalen bei 2x digitalWrite eine Verzögerung von mit Oszi gemessenen 5 uS. Angestuert werden sollen Magnetventile mit 12V, ca. 2,4A Haltestrom, danach ggf. PWM. Ist da 5 uS zeitgleich genug oder besser per direkter Portmanipulation machen?
Kann mann dann überhaupt PWM benutzen, bei 2 parallel geschalteten Ausgängen?
Angestuert werden sollen Magnetventile mit 12V, ca. 2,4A Haltestrom, danach ggf. PWM. Ist da 5 uS zeitgleich genug
Interessant wäre der Anzugsstrom und wie lange diese Leistung auf einem Transistor ausgehalten werden kann. -> DaBla. Wenn der die Belastung für 20µs aushält,.. kann man machen
Der kurze Zeitfaktor beim Haltestrom ist eher unkritisch, wenn das Teil schon gezogen ist.
The digital "High-Side Switch" outputs and "Half-Bridge" outputs (only MEGA) are labelled with "D0" to "D.." on the upper side of the CONTROLLINO housing. The supply voltage of each of this digital screw terminals can be loaded with 2A @12V or @24V. Each of this outputs are short-circuit proof and limits the maximum output current automatically. The internal resistance when switched is about 70mΩ when using the "High-Side Switch" outputs and about 240mΩ when using the "Half-Bridge" outputs.
Da könnte ich mir ja sogar die Freilaufdioden sparen
https://www.controllino.com/wp-content/uploads/2019/02/CONTROLLINO-Instruction-Manual-V1.5-2018-12-14.pdf:
Digital Outputs
The digital "High-Side Switch"outputs and "Half-Bridge"outputs (only MEGA) are labelledwith "D0"to"D.."on the upper side oftheCONTROLLINOhousing. The supply voltage of eachof this digital screw terminalscan be loaded with 2A @12V or @24V. Eachof this outputs are short-circuit proof and limits the maximum output current automatically. The internal resistance when switched is about 70mΩ when using the "High-Side Switch"outputs and about 240mΩ when using the "Half-Bridge"outputs
Du sagtest Du hättest einen MAXI.
Außerdem ist die A-Angabe nicht für den Ausgang sondern für die Spannungsversorgung. Das heißt alle Ausgänge zusammen können 2A bringen.
Auf Seite 18 des https://www.controllino.com/wp-content/uploads/2019/02/CONTROLLINO-Instruction-Manual-V1.5-2018-12-14.pdf steht explizit: Digital Outputs
The digital "High-Side Switch" outputs and "Half-Bridge" outputs (only MEGA) are labelled with "D0" to "D.." on the upper side of the CONTROLLINO housing. The supply voltage of each of this digital screw terminals can be loaded with 2A @12V or @24V. Each of this outputs are short-circuit proof and limits the maximum output current automatically. The internal resistance when switched is about 70mΩ when using the "High-Side Switch" outputs and about 240mΩ when using the "Half-Bridge" outputs.
weiter auf Seite 19:
Output Parallelization
There is the possibility to parallelize some digital outputs to drive loads with the need of more current under the following conditions:
• Outputs are controlled from the same processor port (possibility to set it via one instruc-tion)
• There is no delay between control signals for parallelized outputs (shall be managed by the SW).
Possible outputs for parallelization are:
MINI:
1st group: D0, D1, D2, D3
2nd group: D4, D5
3rd group: D6, D7
MAXI:
1st group: D0, D1, D3
2nd group: D2
3rd group: D4, D5, D6, D7
4th group: D8, D9, D10, D11
ElEspanol:
weiter auf Seite 19:
Output Parallelization
There is the possibility to parallelize some digital outputs to drive loads with the need of more current under the following conditions:
• Outputs are controlled from the same processor port (possibility to set it via one instruc-tion)
• There is no delay between control signals for parallelized outputs (shall be managed by the SW).
Possible outputs for parallelization are:
...
MAXI:
1st group: D0, D1, D3
2nd group: D2
3rd group: D4, D5, D6, D7
4th group: D8, D9, D10, D11
Ist das nicht das, wonach es aussieht?
Doch, sieht danach aus. Aber auch sonst hätte ich wenig bedenken. Oben steht:
ElEspanol:
The supply voltage of each of this digital screw terminals can be loaded with 2A @12V or @24V. Each of this outputs are short-circuit proof and limits the maximum output current automatically.
Wenn die wirklich einen Schutz gegen Kurzschluss haben und der Strom auf 2A begrenzt wird, sollte sowieso nicht passieren.
ich hab mal vor ner Zeit aus dem digitalWrite nur das essentielle für ein "digitalWriteFast" herausgenommen:
das sollte daher auch schon schneller sein als die originale Funktion.
Habe es gerade mal eingespielt und durchgemessen. Der zweite Pin hat eine Verzögerung von 5 ns wenn es verschiedene Ports sind.
Beim selben Port kurioserweise 10ns. Gemessen an einem Nano, Pin 2 und 3 bzw. Pin 2 und 4
Schon komisch. Wahrscheinlich liegt es an meinen unproffessionellen Tastköpfen, da ist der grüne schneller als der blaue :
Aber ich muss schon sagen Jungs, ihr seid echt gut.
Habe es gerade mal eingespielt und durchgemessen. Der zweite Pin hat eine Verzögerung von 5 ns wenn es verschiedene Ports sind. Beim selben Port kurioserweise 10ns. Gemessen an einem Nano
Da stimmt was nicht. Ein Arduino Nano mit 16 MHz Takt kennt keine kürzere Zeit als (1000/16=62,5) ns und darüber nur ganzzahlige Vielfache.
Alles schnellere ist gleichzeitig, und höchstens elektrisch/messtechnisch erklärbar.