Actions

Difference between revisions of "PowerTransmitter"

From Unofficial Stationeers Wiki

m
(IC script)
 
(5 intermediate revisions by 2 users not shown)
Line 38: Line 38:
 
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 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.
+
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 requires more power over greater distances to deliver the same output.
 
 
  
 
==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.
 
*Unaffected by storms.
 
*Unaffected by storms.
*Using two emitters on the same reciever doesn't appear to work
+
*Using two emitters on the same receiver doesn't appear to work
*A Logic Transmitter can mirror recievers, but not emitters.
+
*A Logic Transmitter can mirror receivers, but not emitters.
 
*The coordinates of these devices will change slightly when the head moves.
 
*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.
 
*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. By pointing the data-port to the north (0°), the devices initial horizontal rotation is also 0°, which makes the math a little easier.
+
*When these devices are built their placement rotation is important. The easiest way is to point the data-port to the north (0° on the space suit compass), otherwise a horizontal correction angle must be added or subtracted when doing the math.
*When the device head is rotated horizontally they are moving in the opposite of the expected direction, this flipped behaviour must be compensated for.
+
*When the device head is being rotated horizontally it is rotating in the opposite of the expected direction, this must be compensated for when doing the math.
 
 
  
 
==Range==
 
==Range==
Line 68: Line 66:
  
 
==Alignment formulas==
 
==Alignment formulas==
All dataports points north, the delta values are calculated from: "reciever coordinate" - "emitter coordinate"
+
All dataports points north, the delta values are calculated from: "receiver coordinate" - "emitter coordinate"
  
 
Horizontal for "emitter" = atan2( delta-x / delta-z ) * 180 / pi
 
Horizontal for "emitter" = atan2( delta-x / delta-z ) * 180 / pi
 
<br>Vertical for "emitter" = 90 + atan( delta-y / sqrt( (delta-z)^2 + (delta-x)^2 ) ) * 180 / pi
 
<br>Vertical for "emitter" = 90 + atan( delta-y / sqrt( (delta-z)^2 + (delta-x)^2 ) ) * 180 / pi
  
Horizontal for "reciever" = 180 + Horizontal for "emitter"
+
Horizontal for "receiver" = 180 + Horizontal for "emitter"
<br>Vertical for "reciever" = 180 - Vertical for "emitter"  
+
<br>Vertical for "receiver" = 180 - Vertical for "emitter"  
  
 
Comments:
 
Comments:
 
<br>When the data-port points north, +0° is added to the Horizontal rotation.
 
<br>When the data-port points north, +0° is added to the Horizontal rotation.
<br>When the Vertical rotation is 90° the device head points towards the horizon, this matters because when delta-y is 0 then atan() is 0
+
<br>When the Vertical rotation is 90° the device head points towards the horizon, 90° must be added because when delta-y is 0 (no height difference) then atan() will be 0
<br>Both atan2() and atan() uses radians for the angle, radians are converted to degrees by multiplying with 180/pi
+
<br>Both atan2() and atan() uses radians for the angle, radians are converted to degrees by multiplying with 180 / pi
<br>atan2(x/z) is usually written as z/x, this inversion is made to compensate for the devices inverted rotation direction
+
<br>atan2(x/z) should be z/x in a normal situation, but it has been inverted to compensate for the devices inverted rotation direction
<br>atan(y/x) uses Pythagoras theorem to calculate x as the horizontal-plane hypothenuse of delta-x and delta-z
+
<br>atan(y/x) uses Pythagoras theorem to set x as the horizontal-plane distance between emitter and receiver
  
 
==IC script==
 
==IC script==
Line 89: Line 87:
 
#..and the Logic Transmitter can be unpowered
 
#..and the Logic Transmitter can be unpowered
  
#Transmitter/Reciever data-ports must point NORTH
+
#Power Transmitter data-port must point NORTH
 +
#Power Receiver data-port must point NORTH
  
 
#transmitter = Microwave Power Transmitter
 
#transmitter = Microwave Power Transmitter
 
alias transmitter d0
 
alias transmitter d0
#reciever = Logic Transmitter linked to the..
+
#receiver = Logic Transmitter linked to the..
#..Microwave Power Reciever
+
#..Microwave Power Receiver
alias reciever d1
+
alias receiver d1
  
 
alias deltaX r13
 
alias deltaX r13
Line 105: Line 104:
 
yield
 
yield
 
#calculate delta values
 
#calculate delta values
l r0 reciever PositionX
+
l r0 receiver PositionX
 
l r1 transmitter PositionX
 
l r1 transmitter PositionX
 
sub deltaX r0 r1
 
sub deltaX r0 r1
l r0 reciever PositionZ
+
l r0 receiver PositionZ
 
l r1 transmitter PositionZ
 
l r1 transmitter PositionZ
 
sub deltaZ r0 r1
 
sub deltaZ r0 r1
l r0 reciever PositionY
+
l r0 receiver PositionY
 
l r1 transmitter PositionY
 
l r1 transmitter PositionY
 
sub deltaY r0 r1
 
sub deltaY r0 r1
Line 122: Line 121:
 
s transmitter Horizontal r0
 
s transmitter Horizontal r0
  
#Horizontal for "reciever"
+
#Horizontal for "receiver"
 
#180 + Horizontal for "emitter"
 
#180 + Horizontal for "emitter"
 
add r0 180 r0
 
add r0 180 r0
s reciever Horizontal r0
+
s receiver Horizontal r0
  
 
#Vertical for "transmitter"
 
#Vertical for "transmitter"
Line 140: Line 139:
 
s transmitter Vertical r0
 
s transmitter Vertical r0
  
#Vertical for "reciever"
+
#Vertical for "receiver"
 
#180 - Vertical for "transmitter"
 
#180 - Vertical for "transmitter"
 
sub r0 180 r0
 
sub r0 180 r0
s reciever Vertical r0
+
s receiver Vertical r0
 
j main
 
j main
 
</pre>
 
</pre>
 
</translate>
 
</translate>

Latest revision as of 18:49, 27 December 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[edit]

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 requires more power over greater distances to deliver the same output.

General behaviour[edit]

  • 5kW is the maximum PowerPotential that can be transmitted, this amount is reduced by distance.
  • Unaffected by storms.
  • Using two emitters on the same receiver doesn't appear to work
  • A Logic Transmitter can mirror receivers, 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. The easiest way is to point the data-port to the north (0° on the space suit compass), otherwise a horizontal correction angle must be added or subtracted when doing the math.
  • When the device head is being rotated horizontally it is rotating in the opposite of the expected direction, this must be compensated for when doing the math.

Range[edit]

Power transfer with 4000 W PowerPotential[edit]

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


Power transfer with 5000 W PowerPotential[edit]

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


Alignment formulas[edit]

All dataports points north, the delta values are calculated from: "receiver 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 "receiver" = 180 + Horizontal for "emitter"
Vertical for "receiver" = 180 - Vertical for "emitter"

Comments:
When the data-port points north, +0° is added to the Horizontal rotation.
When the Vertical rotation is 90° the device head points towards the horizon, 90° must be added because when delta-y is 0 (no height difference) then atan() will be 0
Both atan2() and atan() uses radians for the angle, radians are converted to degrees by multiplying with 180 / pi
atan2(x/z) should be z/x in a normal situation, but it has been inverted to compensate for the devices inverted rotation direction
atan(y/x) uses Pythagoras theorem to set x as the horizontal-plane distance between emitter and receiver

IC script[edit]

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

#Power Transmitter data-port must point NORTH
#Power Receiver data-port must point NORTH

#transmitter = Microwave Power Transmitter
alias transmitter d0
#receiver = Logic Transmitter linked to the..
#..Microwave Power Receiver
alias receiver d1

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

main:
yield
#calculate delta values
l r0 receiver PositionX
l r1 transmitter PositionX
sub deltaX r0 r1
l r0 receiver PositionZ
l r1 transmitter PositionZ
sub deltaZ r0 r1
l r0 receiver 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 "receiver"
#180 + Horizontal for "emitter"
add r0 180 r0
s receiver 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 "receiver"
#180 - Vertical for "transmitter"
sub r0 180 r0
s receiver Vertical r0
j main