Actions

Difference between revisions of "PowerTransmitter"

From Unofficial Stationeers Wiki

m
(made math formuals less confusing, added an IC10 script based on the math)
Line 43: Line 43:
 
==General behaviour==
 
==General behaviour==
 
*5kW is the maximum PowerPotential that can be transmitted, this amount is reduced by distance.
 
*5kW is the maximum PowerPotential that can be transmitted, this amount is reduced by distance.
*Device rotation matters. The default placement is to point the data port north (towards 0° on the compass), other directions will require adding or subtracting angles after doing the math below.
 
*The coordinates of these devices will change when the head moves.
 
*Both structures and terrain will block the beam, but once a beam is formed it will no longer be blocked by building inbetween (will a power outage break the link?).
 
 
*Unaffected by storms.
 
*Unaffected by storms.
 
*Using two emitters on the same reciever doesn't appear to work
 
*Using two emitters on the same reciever doesn't appear to work
 
*A Logic Transmitter can mirror recievers, but not emitters.
 
*A Logic Transmitter can mirror recievers, but not emitters.
 +
*The coordinates of these devices will change slightly when the head moves.
 +
*Both structures and terrain will block the beam. Once a beam is formed it will no longer be blocked by building things between them.
 +
*When these devices are built their placement rotation is important. Always point the data-ports facing in the same direction (for example north, 0° on the space suit compass) to avoid problems with the alignment formulas.
 +
*When the head rotates horizontally in what is usually considered the positive direction, these devices rotate in the negative direction instead, this flipped behaviour is accounted for in the math formulas below.
  
  
Line 69: Line 70:
 
All dataports points north, the delta values are calculated from: "reciever coordinate" - "emitter coordinate"
 
All dataports points north, the delta values are calculated from: "reciever coordinate" - "emitter coordinate"
  
Horizontal angle at "emitter" (in radians) = atan2( delta-x / delta-z )
+
Horizontal for "emitter" = atan2( delta-x / delta-z ) * 180 / pi
<br>Horizontal angle at "emitter" (in degrees) = Horizontal angle at "emitter" (in radians) * 180 / pi
+
<br>Vertical for "emitter" = 90 + atan( delta-y / sqrt( (delta-z)^2 + (delta-x)^2 ) ) * 180 / pi
<br>Horizontal angle at "reciever" (in degrees) = 180 + Horizontal angle at "emitter" (in degrees)
 
  
Horizontal Hypotenuse (option 1) = delta-z / cos(Horizontal angle at "emitter" (in radians))
+
Horizontal for "reciever" = 180 + Horizontal for "emitter"
<br>Horizontal Hypotenuse (option 2) = delta-x / sin(Horizontal angle at "emitter" (in radians))
+
<br>Vertical for "reciever" = 180 - Vertical for "emitter"  
<br>Horizontal Hypotenuse (option 3) = use pythagoras theorem
 
<br>Vertical angle at "emitter" (in degrees) = 90 + atan( delta-y / Horizontal Hypotenuse ) * 180 / pi
 
<br>Vertical angle at "reciever" (in degrees) = 180 - Vertical angle at "emitter" (in degrees)
 
  
  
===Notes===
+
==IC script==
*The vertical calculation uses atan, the horizontal uses atan2.
+
<pre>
*The delta values are not constants, but they only change a little bit.
+
##POWER TRANSMITTER ALIGNMENT##
*When delta-z = 0, atan2( delta-x / delta-z) still works
+
#When the alignment is complete, this IC housing..
*When calculating the Horizontal Hypotenuse, both trigonometric options gives the same value, but causes divisions by 0 at different angles. The pythagoras option will remove any negative signs but atan still works fine.
+
#..and the Logic Transmitter can be unpowered
*If you think that atan2( delta-x / delta-z ) looks flipped, it's because it is. What causes the flip are the devices themselves. When the head rotates horizontally in the positive direction they are actually rotating in what is normally considered the negative direction, and when the head points towards the data port it already has a 90° rotation.
 
  
 +
#Transmitter/Reciever data-ports must point NORTH
 +
 +
#transmitter = Microwave Power Transmitter
 +
alias transmitter d0
 +
#reciever = Logic Transmitter linked to the..
 +
#..Microwave Power Reciever
 +
alias reciever d1
 +
 +
alias deltaX r13
 +
alias deltaZ r14
 +
alias deltaY r15
 +
define pi 3.1415
 +
 +
main:
 +
yield
 +
#calculate delta values
 +
l r0 reciever PositionX
 +
l r1 transmitter PositionX
 +
sub deltaX r0 r1
 +
l r0 reciever PositionZ
 +
l r1 transmitter PositionZ
 +
sub deltaZ r0 r1
 +
l r0 reciever PositionY
 +
l r1 transmitter PositionY
 +
sub deltaY r0 r1
 +
 +
#Horizontal for "transmitter"
 +
#atan2(deltaX/deltaZ)*180/pi
 +
atan2 r0 deltaX deltaZ
 +
mul r0 r0 180
 +
div r0 r0 pi
 +
s transmitter Horizontal r0
 +
 +
#Horizontal for "reciever"
 +
#180 + Horizontal for "emitter"
 +
add r0 180 r0
 +
s reciever Horizontal r0
 +
 +
#Vertical for "transmitter"
 +
#atan(deltaY/sqrt(deltaX^2+deltaZ^2))*180/pi+90
 +
mul r0 deltaX deltaX
 +
mul r1 deltaZ deltaZ
 +
add r0 r0 r1
 +
sqrt r0 r0
 +
div r0 deltaY r0
 +
atan r0 r0
 +
mul r0 r0 180
 +
div r0 r0 pi
 +
add r0 r0 90
 +
s transmitter Vertical r0
 +
 +
#Vertical for "reciever"
 +
#180 - Vertical for "transmitter"
 +
sub r0 180 r0
 +
s reciever Vertical r0
 +
j main
 +
</pre>
 
</translate>
 
</translate>

Revision as of 02:59, 5 August 2022


Kit (PowerTransmitter)
Creates whats below
Properties
Stacks Yes (10)
Recipe
Created With Electronics Printer
Cost 5 Gold, 7 Copper, 3 Steel
Power Transmitter
Microwave Power Transmitter.jpg
Operation
Power Usage 10W
Construction
Placed with Kit (PowerTransmitter)
Placed on Large Grid
Stage 1
Deconstruction
Deconstructed with Hand Drill
Item received 3x Electronic Parts
Stage 2
Deconstruction
Deconstructed with Hand Drill
Item received 2x Iron Sheets
Stage 3
Deconstruction
Deconstructed with Hand Drill
Item received Kit (PowerTransmitter)
Power Receiver
Microwave Power Receiver.jpg
Operation
Power Usage 10W
Construction
Placed with Kit (PowerTransmitter)
Placed on Large Grid
Stage 1
Deconstruction
Deconstructed with Hand Drill
Item received 1x Electronic Parts
Stage 2
Deconstruction
Deconstructed with Hand Drill
Item received 2x Iron Sheets
Stage 3
Deconstruction
Deconstructed with Hand Drill
Item received Kit (PowerTransmitter)


Description

The Norsec Wireless Power Transmitter is an uni-directional, A-to B, far field microwave electical transmission system. The rotatable base transmitter delivers a narrow, non-lethal Microwave beam to a dedicated base receiver.

The transmitter must be aligned to the base station in order to transmit any power. The brightness of the transmitter's collimator arc provides an indication of transmission intensity. Note that there is an attrition over longer ranges, so the unit requrires more power over greater distances to deliver the same output.


General behaviour

  • 5kW is the maximum PowerPotential that can be transmitted, this amount is reduced by distance.
  • Unaffected by storms.
  • Using two emitters on the same reciever doesn't appear to work
  • A Logic Transmitter can mirror recievers, but not emitters.
  • The coordinates of these devices will change slightly when the head moves.
  • Both structures and terrain will block the beam. Once a beam is formed it will no longer be blocked by building things between them.
  • When these devices are built their placement rotation is important. Always point the data-ports facing in the same direction (for example north, 0° on the space suit compass) to avoid problems with the alignment formulas.
  • When the head rotates horizontally in what is usually considered the positive direction, these devices rotate in the negative direction instead, this flipped behaviour is accounted for in the math formulas below.


Range

Power transfer with 4000 W PowerPotential

98m = 3630 W (-0.37kW)
198m = 2863 W (-1.14kW)
300m = 1409 W (-2.59kW)
400m = 0 W


Power transfer with 5000 W PowerPotential

98m = 4630 W (-0.37kW)
198m = 3863 W (-1.14kW)
300m = 2409 W (-2.59kW)
400m = 651 W (-4.35kW)


Alignment formulas

All dataports points north, the delta values are calculated from: "reciever coordinate" - "emitter coordinate"

Horizontal for "emitter" = atan2( delta-x / delta-z ) * 180 / pi
Vertical for "emitter" = 90 + atan( delta-y / sqrt( (delta-z)^2 + (delta-x)^2 ) ) * 180 / pi

Horizontal for "reciever" = 180 + Horizontal for "emitter"
Vertical for "reciever" = 180 - Vertical for "emitter"


IC script

##POWER TRANSMITTER ALIGNMENT##
#When the alignment is complete, this IC housing..
#..and the Logic Transmitter can be unpowered

#Transmitter/Reciever data-ports must point NORTH

#transmitter = Microwave Power Transmitter
alias transmitter d0
#reciever = Logic Transmitter linked to the..
#..Microwave Power Reciever
alias reciever d1

alias deltaX r13
alias deltaZ r14
alias deltaY r15
define pi 3.1415

main:
yield
#calculate delta values
l r0 reciever PositionX
l r1 transmitter PositionX
sub deltaX r0 r1
l r0 reciever PositionZ
l r1 transmitter PositionZ
sub deltaZ r0 r1
l r0 reciever PositionY
l r1 transmitter PositionY
sub deltaY r0 r1

#Horizontal for "transmitter"
#atan2(deltaX/deltaZ)*180/pi
atan2 r0 deltaX deltaZ
mul r0 r0 180
div r0 r0 pi
s transmitter Horizontal r0

#Horizontal for "reciever"
#180 + Horizontal for "emitter"
add r0 180 r0
s reciever Horizontal r0

#Vertical for "transmitter"
#atan(deltaY/sqrt(deltaX^2+deltaZ^2))*180/pi+90
mul r0 deltaX deltaX
mul r1 deltaZ deltaZ
add r0 r0 r1
sqrt r0 r0
div r0 deltaY r0
atan r0 r0
mul r0 r0 180
div r0 r0 pi
add r0 r0 90
s transmitter Vertical r0

#Vertical for "reciever"
#180 - Vertical for "transmitter"
sub r0 180 r0
s reciever Vertical r0
j main