Part 1 - Fundamentals of Power Line Data Transmission
In the first part of the article, we briefly familiarized ourselves with the basic concepts of data transmission over power lines. We learned what a βuseful signalβ is, how it can be used to encode the transmitted information. But there was not a word about how this device should be made physically, how it would generate a signal, and how it would generally be connected to a 220 V.
In this and the next parts of the article, we will describe what basic blocks should be in the simplest PLC data transmission device . Gradually, as a constructor, we will add block by block to the overall picture and figure out what each block is for and how it works.
-
- β
-
-
-
: . , , , , . - , , .
1, . . , . (FSK ).
β β , / . ( ) .
: β0β, β β 74 . β1β, , , 80 . , . , .
βSβ, . . βSβ, . β0β β1β.
β βzero cross β.
, β , PLC (). / ZC .
, ZC β β . 74 80 .
, , PLC . . β β.
β , ZC , β β PLC , .
, ββ . β β β β.
, , .
220 , ZC , .
β
β , : , , , ..
β -, (), ( ), - . , : . ββ, .
. , , (, , ). , . USB .
. . , , , Linux, βATtinyβ. , , .
. , .
, : β0β β1β. . .
, 10 , . .
, (). .
, , .
74 80 . 74 , β0β.
80 , β1β.
, - : β0β β1β, . β β .
β , , β0β β1β , . .
. . .
, , , . , -.
, :
( USB CAN, , , , - ..)
10 . 100%, - . .
β . , . β β .
: , , . , ( ).
, . , . . .
[ ].
, . - β 4-5. .
, , 80 . 80 . 5 2.5 .
. .
? , ? .
, , .
.
, , , β β.
. , ( , ).
80 , 12.5 . 4 . 3.125 .
, .
. 1.56 .
, . , 80 , 1.5 . , .
β β.
, 8- AVR Atmel ATmega8, . . .
, ββ . 2.5, β1β, 2.5, β0β. .
β β . , .
ATmega8 . , .
, R-2R. .
0 1 , βOUTβ. , . R-2R .
ATmega8 , . , STM32. β STM32F103 β 32- ARM Cortex-M3 ( 72 MHz).
, , , . , .
, .
?
72 MHz, 8- 20 MHz . .
?
40-50 . 100 . .
?
, 72 MHz. , 80 , .
STM32 , : ( 1.5 ) 12.5 . 14 .
14 MHz. , 14 14 MHz β 1 .
! 100 , 10 . , .
80 .
?
80 . , , , 1.5 , .
, , STM32F103 1 MSPS. 1 .
80 .
STM32F103 β USB. COM . , USB-UART.
- .
PLC , ASCII , . - 220 .
, , . , , .
, , . , .
. ββ β β β, .
β β, EEPROM - UART .
β . ( ).
: , β β . , , .
10 1 .
. , β . , . . - , , , .
, .
1 -
β .
βGNDβ β . - .
ββ (, EEPROM ..) , βDGNDβ.
β β , , βAGNDβ. .
2 -
. , Datasheet .
, , .
, :).
ββ βResetβ , Datasheet. . , .
3 -
, , .
.
.
. .
. . . .
: , zc 220 . . : , ..
/ - PLC :)
https://nag.ru/articles/article/24485/strasti-po-plc.html - PLC
https://www.electronshik.ru/catalog/interfeys-modemy-plc - PLC datasheet ( )
https://ru.wikipedia.org/wiki/_ - FSK
http://www.atmega8.ru/ - ATmega8
STM32
https://www.st.com/en/microcontrollers-microprocessors/stm32f103.html - STM32F103
https://themagicsmoke.ru/courses/stm32/led.html - β β stm32
https://blog.avislab.com/stm32-clock_ru - stm32
https://habr.com/ru/post/312810/ - stm32
https://blog.avislab.com/stm32-adc_ru/ - stm32
https://blog.avislab.com/stm32-usb_ru/ - USB stm32
http://easyelectronics.ru/parallelnyj-cifro-analogovyj-preobrazovatel-po-sxeme-r-2r.html - R-2R
http://caxapa.ru/lib/emc_immunity.html - " ",
https://www.ruselectronic.com/passive-filters -