📜 ⬆️ ⬇️

Compact controller for Ersa i-Tool soldering iron. Part 1

Those who have to solder from time to time, well understand how the convenience and quality of the tool affects the work result. Personally, I like the equipment of the German company Kurtz Ersa, in particular the soldering stations equipped with the i-Tool soldering iron. However, the station unit (for example, the i-CON series) is a very cumbersome and heavy device designed for stationary use. But sometimes you want to take a familiar tool with you. on vacation at sea on a business trip or on-site work.


And then I attended to the issue of creating a more compact version of the controller for the soldering iron from Ersa. What came out of it, under the cut. The first (current) part is devoted to the analysis of the original station. In the second (future) part will be considered the development of the hardware of the compact controller, as well as its programming.


I-Tool soldering iron in brief


The i-Tool is a powerful (up to 150 W) and light (about 30 grams) tool for mounting and dismounting various elements. It is an intelligent device with a microcontroller on board that can warm up to operating temperature in the shortest possible time and optimally release heat during the soldering process.


On the Internet, there are enough examples of controllers for ordinary analog soldering irons. However, the i-Tool, despite its high cost, is distinguished by its convenience, power and efficiency. And since there is practically no information available on it, below is information obtained as a result of thoughtful and painstaking analysis.


Hardware


The object of the analysis was the original i-CON2 soldering station.



Photo of the main board of the i-CON2 controller (clickable)


Most of the station controller is occupied by a step-down transformer, which forms from the input voltage ~ 220V two output ratings ~ 24V and ~ 10V AC. It is the transformer that makes up most of the size and weight of the station. ~ 24V are used for heating the tip of the soldering iron; for adjustment, a triac (also known as a triac) is used, controlled by a microprocessor. ~ 10V using rectifier and voltage regulator form ⎓ + 5V, which in turn is used to power the logical part of the circuit (microprocessor, analog circuit, display, etc.).


The main focus of the analysis was on the controller's interaction with the i-Tool. I note that i-CON2 can work with both the i-Tool digital soldering iron and analog soldering irons (Power-Tool, Tech-tool, Micro-Tool, Chip-Tool, X-Tool). However, this publication discusses the work only with the i-Tool.


The i-Tool is connected to the controller using a standard DIN round eight-pin connector, of which only five are used.


Pinout DIN connector i-Tool
Pinout DIN-connector i-Tool ("dad")



The most interesting place is the P/IO , which, among other things, is responsible for the information exchange between the controller and the i-Tool.


P / IO Line Diagram
P / IO Line Diagram


The transistor is used to switch the power supply of ⎓ + 5V during the period of lack of information exchange. The exchange itself is conducted via the UART interface.


Exchange protocol


Everything related to the content of the protocol is the result of reverse engineering, therefore the field names and the content of messages are hypothetical and can be further clarified.


UART interface parameters:



The controller sends a request message to which a soldering iron sends a response after about 120 µs.


Request format:


Biastype ofExampleDescription
0u160x2F02Preamble (constant)
2u80x05Message ID
3u160x0010Operation code
fiveu80x05Required data length
6u160x498ECheck sum

Answer format:


BiasType ofExampleDescription
0u160x2F02Preamble (constant)
2u80x0AMessage ID
3u160x0010Request operation code (from request message)
fiveu80x05Requested data length (from request message)
6array0x5E 0x0A 0x1C 0x03 0x00Data
n-2u160x8F42Check sum

Messages


Tool type definition


This exchange takes place once a second (1 Hz) after the soldering station starts until a successful response is received from the tool.


Request:



Answer:



Example:



Determine tool version


This exchange takes place once during the start of the soldering station immediately after determining the type of tool.


Request:



Answer:



Example:



Tool status


This exchange takes place every 20 ms (50 Hz).


Request:



Answer:



Flags:


15 ... 2one0
RESERVEDIDLEOk


Example:



Check sum


A 16-bit CRC is used using the CRC-CCITT algorithm, an XModem variation. The amount is taken from the entire message, including the preamble, except for the CRC itself.


Example:


 CRC-CCITT-XModem(0x02 0x2F 0x05 0x10 0x00 0x05) = 0x498E 

Work logic


After turning on the soldering station, the controller sends a request to determine the type and version of the connected tool.


If the soldering iron responds that the controller starts periodically requesting tool status. The status message contains the temperature of the tip of the soldering iron, as well as the use inactive flag ( IDLE ). The temperature value is used to regulate the power supplied to the heating element. The inactive flag allows you to go into sleep mode if the tool is not used for some time.


Outlines of the future device


Since it is supposed to make a compact device, the heating element will be powered with a voltage of ⎓ + 24V (for example, from a newa power supply unit), the duty cycle of which will be regulated using PWM. This will get rid of the transformer. It is believed that a sinusoid is a more benign option for a heating element, but it is simpler to implement PWM based on constant voltage.


Manage the heating process through the PID controller, exchange information with a soldering iron, display the information on the display will be a simple microcontroller, something like STM32F103 or ATmega32U4.


To be continued


Currently, estimates are made on the use of the element base, the design of the scheme. All this will be discussed in the next part, which I hope will appear in the foreseeable future.


I hope that this topic is interesting not only for me. Comments, suggestions and clarifications are welcome.


')

Source: https://habr.com/ru/post/369947/


All Articles