hello!
this post is going to be fairly long, so if you want to skip straight to my question/ problem, they will be underlined at the bottom. schematic below aswell
so i am designing a 4+1 JBC soldering station. 4 tools, but 1 of which is going to be the tweezers. to start out, i plan on only buying the components for 1 channel.
ill now describe how a single channel works. so on a jbc tip (see picture), there are 3 terminals. this becomes a problem when we want to read the thermocouple, so we need a zero crossing detector. in order to prevent overcurrent, i have also added a ACS712ELCTR-20A-T ic. the heater is driven by a triac. jbc went out and made it difficult to read the thermocouple by using a nonstandard design, so to read it i have implemented an op-amp circuit, similar to one found online from someone doing something similar.
here is a snipit of my schematic showing this stage, and of the jbc tip.


i also want to add sleep functionality, as i want to use the jbc stands. for this i'm using two TLP291-4, 4 channel opto isolators. two sleep lines per stand, thus i need 8 isolated channels. im a bit confused about how jbc does this with a single line, but i think i got it and came up with this: (the ground connection got cut off, as there is another unrelated component using this)

i'm using two (three?) ADS1115IDGSR for current/ tempeture measurments from the op amp (the ?? lines go to the op amp)

everything mentioned thus far is entirely optically isolated from the microcontroller. might be unnescessary, but i like to keep thing seperate. the control logic is an ATMEGA2560-16AU, and the display is a 3.94" lcd touch display.
now onto why i'm posting this: my questions/ misunderstanding
a major confusion i have is how the grounds (not earth ground) are connected. looking online at designs, i'm having a hard time understanding this. in the above op- amp circuit, are the grounds connected ok?
here is the transformer layout. two 24vac 7.5a torroidals, and one wall wart. can i connect the "grounds" like this? (of the two torroidals, the wall wart is an entirely separate isolated ground) am i having a fatal misunderstanding of this design?

if anyone wants it, i could post my full schematic. the reason i'm not is that its a bit of a mess right now.
any help, recomendations, personal experience, or problems you see with my design are greatly appreciated.
thanks!
this post is going to be fairly long, so if you want to skip straight to my question/ problem, they will be underlined at the bottom. schematic below aswell
so i am designing a 4+1 JBC soldering station. 4 tools, but 1 of which is going to be the tweezers. to start out, i plan on only buying the components for 1 channel.
ill now describe how a single channel works. so on a jbc tip (see picture), there are 3 terminals. this becomes a problem when we want to read the thermocouple, so we need a zero crossing detector. in order to prevent overcurrent, i have also added a ACS712ELCTR-20A-T ic. the heater is driven by a triac. jbc went out and made it difficult to read the thermocouple by using a nonstandard design, so to read it i have implemented an op-amp circuit, similar to one found online from someone doing something similar.
here is a snipit of my schematic showing this stage, and of the jbc tip.


i also want to add sleep functionality, as i want to use the jbc stands. for this i'm using two TLP291-4, 4 channel opto isolators. two sleep lines per stand, thus i need 8 isolated channels. im a bit confused about how jbc does this with a single line, but i think i got it and came up with this: (the ground connection got cut off, as there is another unrelated component using this)

i'm using two (three?) ADS1115IDGSR for current/ tempeture measurments from the op amp (the ?? lines go to the op amp)

everything mentioned thus far is entirely optically isolated from the microcontroller. might be unnescessary, but i like to keep thing seperate. the control logic is an ATMEGA2560-16AU, and the display is a 3.94" lcd touch display.
now onto why i'm posting this: my questions/ misunderstanding
a major confusion i have is how the grounds (not earth ground) are connected. looking online at designs, i'm having a hard time understanding this. in the above op- amp circuit, are the grounds connected ok?
here is the transformer layout. two 24vac 7.5a torroidals, and one wall wart. can i connect the "grounds" like this? (of the two torroidals, the wall wart is an entirely separate isolated ground) am i having a fatal misunderstanding of this design?

if anyone wants it, i could post my full schematic. the reason i'm not is that its a bit of a mess right now.
any help, recomendations, personal experience, or problems you see with my design are greatly appreciated.
thanks!