Stormworks: Build and Rescue

Stormworks: Build and Rescue

APS1 Hard-kill active protection system
42 Comments
猫好き  [author] 25 Jul @ 9:12am 
レーダーを使用しているので、魚雷には対処できないです。

Because it uses radar, it cannot deal with torpedoes.

(I used Google Translate)
Alternative_0 24 Jul @ 9:07pm 
Can you use this to fight torpedoes?
Mysteriousbeaver 23 Nov, 2024 @ 9:50am 
Thank you so much, this will help me learn some new concepts to integrate in to my own designs.
You are a literal genius to think of this stuff and actually make it
猫好き  [author] 23 Nov, 2024 @ 4:06am 
Overall data flow
The composite signals from the four radars are each connected to a "Radar controller" LUA. These four LUAs use the least squares method and data from each radar and physics sensor to calculate the target's position and speed. They then pass on information about the target with the shortest time to hit to the "Launch controller" LUA.
The "Launch controller" LUA, which receives information from the four "Radar controller" LUAs, assigns targets to each launcher and controls the launchers.

(I used Google Translate)
猫好き  [author] 23 Nov, 2024 @ 3:51am 
全体的なデータの流れについて
 4つのレーダーのコンポジット信号は、それぞれ"Radar controller"LUAに接続されています。この4つのLUAは、それぞれのレーダーからのデータとフィジックスセンサーからのデータと最小二乗法を使って、目標の位置と速度を計算します。そして、最も命中までの時間が短い目標を"Launch controller"LUAに伝えています。
 4つの"Radar controller"LUAから情報を受け取った"Launch controller"LUAは、ランチャーごとに対処する目標を割り当てて、ランチャーを制御します。
猫好き  [author] 23 Nov, 2024 @ 3:47am 
For the X-axis, if time t, target position at time t, x, x-axis speed a, and x-axis intercept b, then a and b in the equation x = a*t + b can be calculated using the following formula:
a = (covariance of x and t)÷(variance of t)
b = (average of x)-a*(average of t)
The derivative of position is velocity, so we differentiate with respect to t, x=a*t+b. The result is x'=a, and we can see that a is the velocity on the X-axis.
猫好き  [author] 23 Nov, 2024 @ 3:44am 
Regarding noise reduction:
The APS removes noise under the assumption that the target moves at a constant speed in a straight line. Also, to reduce radar noise, a method called the least squares method is used.
First, the radar data is used to calculate the target coordinates. This noisy data is stored for several tens of ticks.
Next, this data is used with a method called the least squares method to determine the target's speed and position while reducing noise.
猫好き  [author] 23 Nov, 2024 @ 3:43am 
X軸について言えば、時刻t, 目標の時刻tにおける位置x, x軸速度a, x軸切片bとすると、x = a*t + bという式のaとbを以下の式で求めることができます。
a = (xとtの共分散)÷(tの分散)
b = (xの平均値)-a*(tの平均値)
そして、位置の微分は速度となるので、x=a*t+bというtについて微分します。結果はx'=aとなり、aがそのままX軸の速度ということがわかります。
猫好き  [author] 23 Nov, 2024 @ 3:43am 
ノイズ対策について
 前提としてAPSは、目標は等速直線運動をするという仮定でノイズ除去をしています。また、レーダーのノイズ対策については、最小二乗法という手法を使っています。
 まず、レーダーのデータを使って、目標の座標を計算します。このノイズ混じりなデータは数十[tick]分記憶しておきます。
 次に、そのデータと最小二乗法という手法を使って、ノイズ除去をしながら目標の速度と位置を求めます。
Mysteriousbeaver 20 Nov, 2024 @ 7:27pm 
Hello, I have been researching systems like this and I seriously want to know how you set this up to deal with radar error rates, use four radars to gather target data, then use that data to detect incoming targets with high precision. How do you set up the maths behind it and how do you deal with the insane noise
猫好き  [author] 10 Nov, 2024 @ 9:24am 
弾数は、コピペで増やしてください。リロードするときは、ハードポイントの色を合わせて次の弾を接続すればOKです。
ただ、かなり大変なので、実質1発限りのシステムです。
macaroni 9 Nov, 2024 @ 12:24am 
apsの弾数を増やすにはどうすれば良いですか?
猫好き  [author] 26 Jul, 2024 @ 12:25pm 
原因はわかりませんが、カットアンドペーストでやるとうまくいきやすいです。

I don't know why, but cutting and pasting tends to work.

(I used Google Translate)
Adh4sive Motors 25 Jul, 2024 @ 11:12pm 
i put it on my tank its not working everything is hooked up
猫好き  [author] 22 Jul, 2024 @ 2:02am 
ブロックで作られたミサイルに対して機能します。ただ、あまり迎撃率は高くないので、自爆ドローン対策として使うのが有効かもしれません。

It works against missiles made of blocks. However, since the interception rate is not very high, it may be effective as a countermeasure against suicide drones.

(I used Google Translate)
tom 21 Jul, 2024 @ 9:23pm 
@Adh4sive Motors it does work with against any projected missile
Adh4sive Motors 21 Jul, 2024 @ 9:17pm 
does this work against laser guided missle
猫好き  [author] 20 Mar, 2024 @ 10:42pm 
レーダーを小さくするのは難しいと思います。
軽い物体の検知可能距離が短くなってしまうので、迎撃がより困難になってしまいます。

I think it would be difficult to use a smaller radar.
The detection distance of light objects becomes shorter, making it more difficult to intercept missiles.

(I used Google Translate)
50°02'05.1"N 19°10'33.0"E 20 Mar, 2024 @ 11:01am 
is it possible to switchout the radars for smaller ones like the missile one?
猫好き  [author] 5 Mar, 2024 @ 1:20am 
等速直線運動に近い低速なミサイルならある程度迎撃できますが、高速なミサイルや蛇行するミサイルへの迎撃率はかなり低いです。

迎撃できる範囲が狭まりますが、1つのレーダーでも動作します。


It is possible to intercept slow missiles that are close to uniform linear motion to some extent, but the interception rate for high-speed missiles or meandering missiles is quite low.

It will also work with one radar, although the interception range will be narrower.

(I used Google Translate)
tom 4 Mar, 2024 @ 5:43pm 
@Adh4sive Motors yes u can
Adh4sive Motors 4 Mar, 2024 @ 5:03pm 
my tank doesnt have space for 3 other radars it only has space for 1 can i use 1 to have the system work
Adh4sive Motors 4 Mar, 2024 @ 4:59pm 
i placed this on my tank doesnt seem to be dentonating on the missile
NekLol 12 Feb, 2024 @ 10:26pm 
Understood. Thank you.
猫好き  [author] 12 Feb, 2024 @ 10:16pm 
レーダーの誤差やプログラムの複雑さ的に、迎撃する距離を変更するのはできなさそうです。

Due to radar errors and program complexity, it seems impossible to change the interception distance.

(I used Google Translate)
NekLol 12 Feb, 2024 @ 9:20am 
Is it possible to somehow increase the operating range? My tank is too long, which is why damage still passes through it.
(I used Google Translate)
猫好き  [author] 28 Nov, 2023 @ 12:29am 
自動リロードシステムを持ったAPSを作れたらなとは思ってますが、良いアイデアは浮かんでないです。

I wish I could make an APS with an automatic reload system, but I don't have any good ideas.

(I used Google Translate)
Geck 26 Nov, 2023 @ 7:35pm 
Or a self re load system
Geck 26 Nov, 2023 @ 7:31pm 
Will you be making a version with more rockets?, Currently having only 2 is a bit low, Maybe a system like your ADS1 where each rocket has its own target?
猫好き  [author] 7 Nov, 2023 @ 2:15am 
これ以上小さくできなさそうです。

With my technology, I don't think I can make it any smaller.

(I used Google Translate)
tom 6 Nov, 2023 @ 10:40pm 
do you have any plans of making a smaller version to put on tanks etc?
猫好き  [author] 4 Nov, 2023 @ 8:40am 
誰かと作業するのはする予定ないです。でも、気持ちは非常にありがたいです!

I don't plan on working with anyone. However, I am very grateful for your feelings!

(I used Google Translate)
Nis 3 Nov, 2023 @ 11:47pm 
hello, i wanted to make a system like this one but with a friend or foe detection system, i would really appreciate if we could work together.

こんにちは、私はこのようなシステムを作りたかったのですが、敵味方探知システムがあれば、一緒に作業できたら本当にありがたいです。

i used google translate :D
Ozworks 3 Nov, 2023 @ 12:28am 
Love the vidio
猫好き  [author] 1 Nov, 2023 @ 5:08am 
はい、発射体は爆発します。

Yes, projectiles explode.

(I used Google Translate)
tom 1 Nov, 2023 @ 3:14am 
so....the question is a yes?
猫好き  [author] 1 Nov, 2023 @ 3:02am 
発射体から約3[m]の範囲にあるミサイルを消滅させる事ができます。

It can annihilate missiles within a range of approximately 3[m] from the projectile.

(I used Google Translate)
tom 31 Oct, 2023 @ 10:18pm 
does the warhead/body has the explode radius?
UIU_Trooper 31 Oct, 2023 @ 7:23am 
very effective, love it
猫好き  [author] 30 Oct, 2023 @ 5:13am 
APSの発射機は追加できません。

APS launchers cannot be added.

(I used Google Translate)
Pyo 29 Oct, 2023 @ 9:57pm 
Good really Useful APS!
tom 29 Oct, 2023 @ 4:45pm 
is there a tutorial how to add more APS instead of having 2?