This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| en:iot-open:hardware2:powering:converters [2023/11/23 13:41] – pczekalski | en:iot-open:hardware2:powering:converters [2023/11/23 13:45] (current) – pczekalski | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| + | ====== Converters for IoT Powering ====== | ||
| + | {{: | ||
| + | |||
| + | ===== Power Conversion ===== | ||
| + | Power sources tend to provide energy in a form that is not straightforwardly acceptable to IoT devices.\\ | ||
| + | Wall sockets provide relatively high voltage alternating current (AC) that needs to be lowered and converted into DC, also stabilised as required by MCU, which is fragile for voltage variations. Common conversion flow for AC sources is present in figure {{ref> | ||
| + | |||
| + | <figure powerconversions1> | ||
| + | {{ : | ||
| + | < | ||
| + | </ | ||
| + | |||
| + | <figure powerconversions2> | ||
| + | {{ : | ||
| + | < | ||
| + | </ | ||
| + | Common voltage conversions are: | ||
| + | * AC-to-AC conversion, | ||
| + | * AC-to-DC conversion, | ||
| + | * filtering, | ||
| + | * DC-DC conversion and voltage stabilisation. | ||
| + | |||
| + | Stabilisation usually is included as a part of DC-DC or AC-DC conversion. | ||
| + | |||
| + | **AC-to-AC**\\ | ||
| + | AC-to-AC conversion is used whenever a high-voltage source is available and is required to lower it, typically somewhere between 12V and 5V.\\ | ||
| + | Historically, | ||
| + | This technique has serious drawbacks: | ||
| + | * transformer-based converters are heavy as they use copper coils and steel cores (sample transformer in figure {{ref> | ||
| + | * the conversion rate is fixed, thus requiring different transformers in the countries with different socket voltages, | ||
| + | * require separate AC-to-DC conversion module (Graetz bridge at least). | ||
| + | |||
| + | <figure transformer1> | ||
| + | {{ : | ||
| + | < | ||
| + | </ | ||
| + | |||
| + | <figure transformer2> | ||
| + | {{ : | ||
| + | < | ||
| + | </ | ||
| + | |||
| + | Modern converters use a switching-mode power supply (SMPS) without a transformer, | ||
| + | * much lighter and compact (do not involve the use of a transformer), | ||
| + | * usually integrate AC to DC conversion in a single circuit, | ||
| + | * accepting a wide range of input AC and DC voltages, thus can be used virtually worldwide and in various environments. | ||
| + | |||
| + | **AC-to-DC**\\ | ||
| + | In general, IoT devices use DC to power MCUs and peripherals. A classical AC-to-DC conversion involves a Graetz' | ||
| + | |||
| + | <figure graetz1> | ||
| + | {{ : | ||
| + | < | ||
| + | </ | ||
| + | |||
| + | <figure graetz2> | ||
| + | {{ : | ||
| + | < | ||
| + | </ | ||
| + | |||
| + | SMPS is used to integrate all necessary functions (including voltage stabiliser) in a single device, e.g. in figure {{ref> | ||
| + | <figure acdc1> | ||
| + | {{ : | ||
| + | < | ||
| + | </ | ||
| + | |||
| + | **Filtering**\\ | ||
| + | Proper filtering of the current interferences is essential to ensure stable MCU operation. Even when using good quality power sources, nearby communication wires, power wires, and electromagnetic fields generated by actuators can cause severe interference voltage rise and drop. For this reason, the use of capacitors is essential. A rule of thumb is to add a large capacity (e.g. 1000uF) capacitor on the power bus and 100nF capacitors close to the IoT device' | ||
| + | |||
| + | **DC-to-DC and voltage stabilisation**\\ | ||
| + | The DC-to-DC conversion is needed whenever the source voltage is unsuitable for an IoT device. It is also needed in the case of batteries as a second stage after AC-DC conversion. DC-DC converters involve voltage stabilisation.\\ | ||
| + | Modern DC-to-DC converters are implemented with fixed output voltage or regulated to decrease (step-down) or increase (step-up) the voltage. Some circuits can implement both: step-up-down, | ||
| + | |||
| + | Former solutions include linear voltage stabilisers (only step-down), e.g. popular and still used 78xx chips. Sample 5V stabiliser 7805 is presented in figure {{ref> | ||
| + | They have several drawbacks, however: | ||
| + | * low efficiency, | ||
| + | * limited current, | ||
| + | * overheating - they require a radiator even for relatively low currents, e.g. over 1A, | ||
| + | * fixed voltage output (without the use of the external components). | ||
| + | Their advantage is that they are much easier to embed into the circuit as use requires only a few passive components. The sample application circuit is quite simple and present in figure {{ref> | ||
| + | |||
| + | <figure 7805> | ||
| + | {{ : | ||
| + | < | ||
| + | </ | ||
| + | |||
| + | <figure 7805_2> | ||
| + | {{ : | ||
| + | < | ||
| + | </ | ||
| + | |||
| + | Modern DC-DC converters are of high efficiency, easily going over 90%. They are implemented as switching regulators rather than linear. The construction of the switching converters is quite complex. Sample device with fixed voltage regulation is present in figure {{ref> | ||
| + | |||
| + | <figure dcdcswitching1> | ||
| + | {{ : | ||
| + | < | ||
| + | </ | ||
| + | |||
| + | <figure dcdcswitching2> | ||
| + | {{ : | ||
| + | < | ||
| + | </ | ||
| + | |||
| + | <figure dcdcswitching3> | ||
| + | {{ : | ||
| + | < | ||
| + | </ | ||