Eval » Historie » Version 51
Maximilian Seesslen, 28.10.2025 17:30
| 1 | 1 | Maximilian Seesslen | h1. Eval |
|---|---|---|---|
| 2 | |||
| 3 | 11 | Maximilian Seesslen | "https://www.seesslen.net/redmine/projects/slonce/wiki/Office":See |
| 4 | |||
| 5 | 26 | Maximilian Seesslen | Warum alles zusammen? |
| 6 | RTC aktiviert MCU via Batterien. Muss LED-Traffo aktivieren. Können unterschiedliche Traffos fur unterschiedliche Lampen-Typen (kalt/warm) sein. |
||
| 7 | |||
| 8 | 8 | Maximilian Seesslen | h2. New Features compared to Mainswitch/CANSwitch |
| 9 | 1 | Maximilian Seesslen | |
| 10 | * More current |
||
| 11 | * Fix Wakeup |
||
| 12 | 6 | Maximilian Seesslen | ** Beim Mainswitch gab der Power-button einen Stromimpuls auf den ACQxxx und auf einen GPIO. Wenn das system von extern gespest wurde und die MCU schlafen war, konnte sie nicht wieder aufgewekt werden. |
| 13 | 1 | Maximilian Seesslen | * Periodic wakeups to make measurements: RTC |
| 14 | 31 | Maximilian Seesslen | ** RTC_OUT gibt spannung auf den ENABLE des MAX5200 |
| 15 | 33 | Maximilian Seesslen | * Programmed wakeup for plant lights and light-buzzer |
| 16 | 1 | Maximilian Seesslen | * Diode ? Voltage-Drop issue |
| 17 | ** Ideal diode with Mosfet |
||
| 18 | 35 | Maximilian Seesslen | * High voltage (24V)? Transceiver halten 14-16V an CAN-HI/CAN_Low aus. |
| 19 | 36 | Maximilian Seesslen | ** Akku: ACCU-BPE1.3-12/BP |
| 20 | 34 | Maximilian Seesslen | ** TS78L05CX-RFG (Fuer 12V) |
| 21 | ** "Fuer 24V":https://www.reichelt.de/de/de/shop/produkt/spannungsregler_fest_3_3_v_sot-23-115940 |
||
| 22 | 1 | Maximilian Seesslen | ** Different connectors |
| 23 | * Global Timeserver; It already has batteries |
||
| 24 | * Real touch keys |
||
| 25 | 18 | Maximilian Seesslen | ** Why? In addition to increase illumination. But thats what candis was for. |
| 26 | 1 | Maximilian Seesslen | * Over-Temperature power off (PCB/Box) |
| 27 | * Buzzer? |
||
| 28 | ** indicate peridoc on/off during day time |
||
| 29 | 8 | Maximilian Seesslen | * External Solid State Relais for high power switching like Horo |
| 30 | 1 | Maximilian Seesslen | |
| 31 | * 4 Sectionen: SZ, WZ, MEMS, ? |
||
| 32 | 33 | Maximilian Seesslen | ** Switching sounds valid. But not sure. |
| 33 | ** Stoeren ungepowerte Platinen CAN? Sollten sie nicht. |
||
| 34 | ** Erzwingt Sternkonstelation |
||
| 35 | 1 | Maximilian Seesslen | |
| 36 | h2. Components |
||
| 37 | |||
| 38 | Ideal Diode: |
||
| 39 | |||
| 40 | * VN7140ASTR; up to 0,280 ohm, 0,120 Ohm typical |
||
| 41 | * LTC4412; 2,9V; TME 2.60EUro; External P-MOSFET needed; Waere perfekt gewesen; load sharing |
||
| 42 | * TPS2410 N.A. |
||
| 43 | * LM5050 |
||
| 44 | * MAX40200; 1A only, no external MOSFET |
||
| 45 | 8 | Maximilian Seesslen | * LM74700; 1.27€; perfekt; load sharing |
| 46 | 1 | Maximilian Seesslen | |
| 47 | 4 | Maximilian Seesslen | --LTC4412 is the only available-- |
| 48 | 1 | Maximilian Seesslen | |
| 49 | 27 | Maximilian Seesslen | Temperature: |
| 50 | |||
| 51 | 1 | Maximilian Seesslen | TMP1075; TMP1075NDRLR; 0,31€ |
| 52 | Muesste noch viel rumliegen haben |
||
| 53 | 27 | Maximilian Seesslen | |
| 54 | Power measurement: |
||
| 55 | |||
| 56 | INA228AIDGSR |
||
| 57 | 4 | Maximilian Seesslen | |
| 58 | 1 | Maximilian Seesslen | h2. Calculations |
| 59 | |||
| 60 | * 240V/600mA eigentlich ausreichend; 144W |
||
| 61 | * AQH3213A |
||
| 62 | * STM32F030K6T6 should draw 20µA in stop |
||
| 63 | * 700mAh=700000µAh |
||
| 64 | * 700000µAh/20µA=3500h=1458d=ca 4 years |
||
| 65 | |||
| 66 | h2. MCU |
||
| 67 | |||
| 68 | * "Find":https://www.tme.eu/de/katalog/st-mikrocontroller_112866/?params=375:1453589,1453450,1853043,1634756,1634761,1938598,1473784,1613924;3461:1979124,1979125 |
||
| 69 | * STM32F072C8T6 |
||
| 70 | ** 2V, ok, Entladeaschlussspannung |
||
| 71 | ** Nur LQFP48; 4.53Euro |
||
| 72 | ** 1,85 € Reichelt STM32F072CBT6 128KB Flash |
||
| 73 | 7 | Maximilian Seesslen | ** RTC_OUT out PC13 |
| 74 | 1 | Maximilian Seesslen | * STM32H503CBT6, "STM32H503KBU6":https://www.tme.eu/Document/e92fcde7cdebb20ebbd5639f57dc7863/stm32h503cb.pdf |
| 75 | ** 3.20Euro |
||
| 76 | * Fuer VBAT wird beim STM32H503KBU6 auch FQFP48 benoetigt. |
||
| 77 | 8 | Maximilian Seesslen | |
| 78 | 28 | Maximilian Seesslen | h2. Regulator boards |
| 79 | 1 | Maximilian Seesslen | |
| 80 | 28 | Maximilian Seesslen | h3. Number of LED drivers |
| 81 | |||
| 82 | 1 | Maximilian Seesslen | Living room has 4 lamps, maybe 6 later. |
| 83 | 28 | Maximilian Seesslen | |
| 84 | h3. Electrical design |
||
| 85 | 1 | Maximilian Seesslen | |
| 86 | 29 | Maximilian Seesslen | Optokopler needs 10mA, 1.38V_F. |
| 87 | 28 | Maximilian Seesslen | Powermeter needs common ground anyways to measure voltage. |
| 88 | "All TME":https://www.tme.eu/de/katalog/smd-operationsverstarker_112843/?params=2613:1508643_integrierten-schaltkreises-art:spannungs-und-stromuberwachung&onlyInStock=1 |
||
| 89 | 10 | Maximilian Seesslen | |
| 90 | 32 | Maximilian Seesslen | h3. Regulators |
| 91 | |||
| 92 | LDB350 hat 9 ~ 36VDC EIngang und 2-40V Ausgang. |
||
| 93 | |||
| 94 | 1 | Maximilian Seesslen | h2. Issues |
| 95 | |||
| 96 | h3. Wie Straenge schalten |
||
| 97 | |||
| 98 | * 4 x LTC4412 umstaendlich, E.g. status ruecklesen |
||
| 99 | * Jeweils 2 Mosfets notwendig um zu isolieren, klein + gross |
||
| 100 | 16 | Maximilian Seesslen | * Wozu Stränge? 2 direkt verbundene Buchsen reichen nicht? Auch nur um sich allenfalls Verteiler zu sparen. |
| 101 | |||
| 102 | h3. USB interface? |
||
| 103 | |||
| 104 | * Usable with Raspberry or so. |
||
| 105 | 43 | Maximilian Seesslen | * Should at least work along with CAN |
| 106 | |||
| 107 | 16 | Maximilian Seesslen | |
| 108 | 13 | Maximilian Seesslen | h3. Light optional |
| 109 | |||
| 110 | * Media does not need light. The name is "helios". Use CANSwitch then. |
||
| 111 | 15 | Maximilian Seesslen | * But having the regulators in batteries is nice. They work even without MCU board. |
| 112 | |||
| 113 | * 4xPWM |
||
| 114 | * 2xTerminals; IN+OUT |
||
| 115 | 1 | Maximilian Seesslen | * Switch can be done on helios, only for first block |
| 116 | 17 | Maximilian Seesslen | ** If the switch is also on the blocks, Single power supply can be used |
| 117 | 20 | Maximilian Seesslen | ** Do i really have multiple power supplys for different LEDs? Could be, an active one for High power and an small one for nice ambience. |
| 118 | 24 | Maximilian Seesslen | ** Smaller power supply for bus only? |
| 119 | 1 | Maximilian Seesslen | * Must not connect Grounds of different power supplys |
| 120 | 17 | Maximilian Seesslen | |
| 121 | Das mit IDC oder aehnlichem zu machen klingt nice. Dann gehen theoretisch 4x4 (4xNetzteile schalten), man braucht 'nur' 4xPWM, Kaskadierung. |
||
| 122 | 25 | Maximilian Seesslen | Alternativ 'addresse' einstellbar. Dann ist man noch flexibler, e.g. |
| 123 | 17 | Maximilian Seesslen | 8 x kalt, 8 x warm. |
| 124 | 8 x Zimmer, 4 x Tisch. |
||
| 125 | 1 | Maximilian Seesslen | |
| 126 | 23 | Maximilian Seesslen | "B2B-Steckverbinder":https://www.tme.eu/de/katalog/platine-zu-platine-steckverbinder_100569 |
| 127 | 18 | Maximilian Seesslen | Kabel: 4xPWM, 4xSwitch VDD, GND -> 10P |
| 128 | 19 | Maximilian Seesslen | |
| 129 | DIP-Switches: DS04254204BKSMT |
||
| 130 | 25 | Maximilian Seesslen | Steck-Verbinder: FTSH10501FDV007KP; ZL231-10PG (THT) (SMD expensive) |
| 131 | 24 | Maximilian Seesslen | Kabel: DS1052-102B2NA2015 |
| 132 | 37 | Maximilian Seesslen | |
| 133 | h2. Netzteile |
||
| 134 | |||
| 135 | Beleuchtung: |
||
| 136 | GLP GPV-60-36 (Reichelt 16,95Euro) |
||
| 137 | 60 W, 36 V DC, 1,67 A; der koennte eh "nur" 4,771428571 COBs betreiben. |
||
| 138 | |||
| 139 | For Bus: |
||
| 140 | GLP GPV-20-12 |
||
| 141 | 38 | Maximilian Seesslen | LPC2412CV |
| 142 | 39 | Maximilian Seesslen | |
| 143 | h2. Go 12V |
||
| 144 | |||
| 145 | Device should be prepared to provide 12V-Bus. |
||
| 146 | Voltage regulator needs v_in > 15V for this. |
||
| 147 | 40 | Maximilian Seesslen | |
| 148 | https://cdn-reichelt.de/documents/datenblatt/A200/LM2576T_ADJG.pdf |
||
| 149 | |||
| 150 | 41 | Maximilian Seesslen | LM2576 can do this. 3A. Jumper for voltage possible. 1,15Euro; LM2576R-ADJ-TT |
| 151 | 42 | Maximilian Seesslen | |
| 152 | Fuer die 3V3: LDI8119-3.3EN-DIO; Eingang 1,8...18V |
||
| 153 | 44 | Maximilian Seesslen | |
| 154 | h2. 5V |
||
| 155 | |||
| 156 | At least high power SSRs need 5V as gate voltage. A level shifter is needed. |
||
| 157 | 47 | Maximilian Seesslen | 74LVC4245A; 50mA should be enough; High power SSR needs cam 16mA. LDB-350 needs 1mA, 2V-10V |
| 158 | 48 | Maximilian Seesslen | |
| 159 | 50 | Maximilian Seesslen | "List at TME":https://www.tme.eu/de/katalog/spannungsregler-dc-dc-schaltungen_100220/?params=365:1443462,1455068,2077593,1450000,1443628,1502191,1443463,1455073,2077617,1443635,1498627,1443636,1444026,1443531,2077498,1455077,1444027,1481928,1443532,1450037,1444029,1443641,1493298,1492896,1492968,1450041,1450265,1455114,1498182,1455113,1499757,1521916,1502257&onlyInStock=1&productListOrderDir=ASC&productListOrderBy=1000014 |
| 160 | |||
| 161 | 51 | Maximilian Seesslen | VOUT = VREF ( 1 + R2/R1 ) |
| 162 | R2 = R1 (VOUT/VREF -1) |
||
| 163 | where VREF = 1.23V, R1 between 1.0k and 5.0k |
||
| 164 | |||
| 165 | qalc "1000(5/1,23-1)" |
||
| 166 | 3065,040650 |
||
| 167 | |||
| 168 | qalc "1,23(1+(3000/1000))" |
||
| 169 | |||
| 170 | R2=12k |
||
| 171 | R1=3,9K |
||
| 172 | qalc "1,23(1+(12000/3900))" |
||
| 173 | 1,23 × (1 + (12000 / 3900)) ≈ 5,014615385V |
||
| 174 | |||
| 175 | |||
| 176 | |||
| 177 | 48 | Maximilian Seesslen | h2. 5V I2C |
| 178 | |||
| 179 | System is a little bit inconsistent. |
||
| 180 | 49 | Maximilian Seesslen | 5V PWM signals but 3V I2C. Add level shifter. |
| 181 | |||
| 182 | PCA9306DCTR |