Recommended Posts

InternetGuy    45
Just now, QRDL_rus said:

economical heat recuperator

I'm not sure what use you have this for but I guess it's sufficient to have the thermosensors set in a fixed temperature.

Share this post


Link to post
Share on other sites
Saturnus    1,822

2 sensors (I assume one in each separate environment) will only give a binary output so no comparison possible. However, if you use more than one sensor in each environment you can start making (rather crude) comparisons. 

  • Like 1
  • Thanks 1

Share this post


Link to post
Share on other sites
The Plum Gate    290
On 9/26/2018 at 8:41 AM, QRDL_rus said:

How to compare temperature from two different sensors?

Are you talking greater than or less than comparisons?

Share this post


Link to post
Share on other sites
thejams    78
On 9/26/2018 at 2:57 PM, Saturnus said:

2 sensors (I assume one in each separate environment) will only give a binary output so no comparison possible. However, if you use more than one sensor in each environment you can start making (rather crude) comparisons. 

With enough sensors in each environment you could make pretty sophisticated comparisons ;)

Share this post


Link to post
Share on other sites
thejams    78

I present to you the 3 bit ONI thermometer - it can measure a temperature range in 7 increments.    Add a logic comparator and voila... you can compare temperatures.  For every additional bit of precision, double the number of sensors + 2 - so for 4 bit precision (15 increments) you would need 30 sensors.

In the screenshot it is set up to measure 10-79.9°C in 10°C increments.  The water temperature is 59,8°C so we get an output of 5.  If the temperature is outside of the range, it outputs 0.

Probably not very practical...

5baf58f2a7267_ScreenShot2018-09-29at12_44_26.thumb.png.6783f3a847eb00c940fbda87f5292a48.png

5baf590fe5594_ScreenShot2018-09-29at12_44_41.thumb.png.23bcd800765740b6a4e5efdcfa0bb4c8.png

Edited by thejams
  • Like 3

Share this post


Link to post
Share on other sites
Saturnus    1,822

You don't need to use that many temp sensors though. To measure an absolute range you only need the number of intervals +1 sensors. Or if you're fine with an open range (the two outer intervals being just more than and less than) you only need the number of intervals -1 sensors.

The practical limit for temp sensors would be what would fit inside a temp shift plate range while still allowing for wires to be actually routed to them.

Edited by Saturnus
  • Thanks 1

Share this post


Link to post
Share on other sites
tranoze    46
On 9/26/2018 at 7:41 PM, QRDL_rus said:

How to compare temperature from two different sensors?

Uh, by eyes, of course, click at first sensor, see the temperature, then click at the second sensor, see the temperature, then compare them.

If you want 100% time efficient, pause the game while comparing.

Share this post


Link to post
Share on other sites
QRDL_rus    3
31 minutes ago, tranoze said:

Uh, by eyes, of course, click at first sensor, see the temperature, then click at the second sensor, see the temperature, then compare them.

ёптыть, нахрена вообще датчики, можно ткнуть мышкой в газ и узнать температуру, вот ведь долбодятлы

( google translate: **** sensors at all, you can poke a mouse into the gas and find out the temperature )

Share this post


Link to post
Share on other sites
thejams    78
1 hour ago, Saturnus said:

You don't need to use that many temp sensors though. To measure an absolute range you only need the number of intervals +1 sensors. Or if you're fine with an open range (the two outer intervals being just more than and less than) you only need the number of intervals -1 sensors.

The practical limit for temp sensors would be what would fit inside a temp shift plate range while still allowing for wires to be actually routed to them.

Thank you, here is an improved version using an 8-3 priority encoder.

5baf7a4697d04_ScreenShot2018-09-29at15_08_45.thumb.png.048c95df5648ad5e5ef12b5a1dc7f6a7.png5baf7a56a9f87_ScreenShot2018-09-29at15_08_59.thumb.png.0f38e4800c7f5c39d9c0db83208cbe9b.png

 

Edited by thejams

Share this post


Link to post
Share on other sites
Saturnus    1,822

@thejamsIf you invert the state of the sensors you can exploit the fact that wires themselves are multi-input OR gates.

Edited by Saturnus

Share this post


Link to post
Share on other sites
thejams    78

@Saturnus The OR gates are needed to ensure the signal doesn't feed back to the other input lines.  I cant think of a better way to do it.

Edited by thejams

Share this post


Link to post
Share on other sites
Saturnus    1,822
29 minutes ago, thejams said:

@Saturnus The OR gates are needed to ensure the signal doesn't feed back to the other input lines.  I cant think of a better way to do it.

Well, for one you don't need the 3 OR gates to the right as the output of the first set of OR gates already isolates the output from the input. 

Share this post


Link to post
Share on other sites
thejams    78

Well, I think this version is pretty optimal...

5bafd39043660_ScreenShot2018-09-29at19_34_10.thumb.png.4358d0e72837a1e2439dbfecc5ffc447.png

5bafd3988e383_ScreenShot2018-09-29at19_34_25.thumb.png.684b67e9d56d4c5080cc022ab255da4f.png

Edited by thejams
fixed the images
  • Like 1
  • Thanks 1

Share this post


Link to post
Share on other sites
Slvrsrfr    48

thank you for the enlightened discussion folks! I am lost. This seems significant and/or important. I completely don't get what I'm looking at. Could someone lay out a use by example, please? Thank-you. What is all this supposed to do? How could I utilize this knowledge to improve my game? ty, again.

omg you have ceiling light indicators, now i am truly intrigued.

but what do they indicate? I see now it's a 7-point thermostat of sorts..why only 3 lights?

Edited by Slvrsrfr

Share this post


Link to post
Share on other sites
Saturnus    1,822
3 hours ago, Slvrsrfr said:

but what do they indicate? I see now it's a 7-point thermostat of sorts..why only 3 lights?

It's condensed to 3 bits.

What can you use it for? Well, a 3 bit sensor output is probably overkill for what most people needs in the game but let's say you have two water tanks that you use for a metal refinery cooling. Both tanks are being cooled but each time the metal refinery runs you want to dump the water in the tank with the lowest temperature. That's what you could use a comparator for (although not a terribly good example). You take the absolute value the sensor above would give and compare it to another absolute value.

In any case it's mostly just goofing around just like making 7-segment displays when automation update first came out. Not much of an in-game value but just fun to play around with.

  • Thanks 1

Share this post


Link to post
Share on other sites
Slvrsrfr    48

i thought comparator was a misspelling, ty! :)

and that thing is kinda' enormous at 14x14. excellent example, ty.

Edited by Slvrsrfr

Share this post


Link to post
Share on other sites
thejams    78
4 hours ago, Slvrsrfr said:

and that thing is kinda' enormous at 14x14. excellent example, ty.

Lol, and I thought it was a pretty elegant implementation :)

But yeah, the whole world is kinda small compared to how unwieldy the wiring and logic gates are.  For example, the next step in this exercise - the comparator itself would probably be a beast in comparison.

Edited by thejams

Share this post


Link to post
Share on other sites
The Plum Gate    290
On 9/29/2018 at 9:29 AM, thejams said:

The OR gates are needed to ensure the signal doesn't feed back to the other input lines.  I cant think of a better way to do it.

You can use a double NOT gate - it will act like a diode. Signals only propagate in one direction across the logic gates, so you'll preserve signal state and isolation.

Share this post


Link to post
Share on other sites
thejams    78
6 hours ago, The Plum Gate said:

You can use a double NOT gate - it will act like a diode. Signals only propagate in one direction across the logic gates, so you'll preserve signal state and isolation.

I did say I couldn't think of a better way. :D

  • Like 1

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this