Author Topic: The AI as a calculator  (Read 1181 times)

0 Members and 1 Guest are viewing this topic.

Offline npelovTopic starter

  • Frequent Contributor
  • **
  • Posts: 331
  • Country: bg
    • Microlab.info
The AI as a calculator
« on: March 10, 2023, 10:38:42 pm »
I bought simple "MPPT" controller (not really tracking anything). You set the voltage with a resistor divider. So I disordered one resistor of the divider (R4 of the CN3767 dataseet schematic, R2 on the pcb) which is 45.1k.
R3 in datasheet (R1 on the PCB) is 177k. So I calculate it's about 6V. The CN3367 is meant for lead acid battery. I don't know why they set it to 6V - 6V panel can't charge any lead acid battery.
I wanted to set it up for 18V panel. So I tried to cheat by using chat gpt for it - whole conversation attached. I gave him the task to find the best parallel resistor combination that's close to 12.7k from resistors I had: 15k 18k 20k 30k 39k 47k 75k 100k 120k 150k 200k 470k 680k. he couldn't. So I did few calculations myself and I found that 18k||47k = 13k. 18|43 would be perfect match but I don't have 43k. Even better - if I leave the 45k resistor and solder 18k above it, it'll become 12.86k

Most people want (or are afraid that) the bot to create a whole project. I think it'll be better for small tasks. like you need an odd resistor value or an opamp gain, or comparator hysteresis - something like that. Also you couldn't trust that there will be no errors in a whole project. Debugging is harder than design sometimes. But for small task you can easily double check if the bot is lying.

I think chat gpt accumulates errors when you have 1 over something. 1/R = 1/R1 + 1/R2 - he couldn't make this right even one time. I told him to verify the solution by plugging it to the original solution and he said "yep, doesn't match. probably the formula is wrong. it couldn't be me" :)

So what's your experience with the bot. Could you make it do something useful?

To print the bot's conversation to pdf you need to right click->inspect and remove h-full from the second div in <body> - like this:
(well click the thumbnail. I can't inline the image for some reason)
« Last Edit: March 10, 2023, 10:41:37 pm by npelov »
 

Online vk6zgo

  • Super Contributor
  • ***
  • Posts: 7858
  • Country: au
Re: The AI as a calculator
« Reply #1 on: March 11, 2023, 12:18:24 am »
I bought simple "MPPT" controller (not really tracking anything). You set the voltage with a resistor divider. So I disordered one resistor of the divider (R4 of the CN3767 dataseet schematic, R2 on the pcb) which is 45.1k.
R3 in datasheet (R1 on the PCB) is 177k. So I calculate it's about 6V. The CN3367 is meant for lead acid battery. I don't know why they set it to 6V - 6V panel can't charge any lead acid battery.
I wanted to set it up for 18V panel. So I tried to cheat by using chat gpt for it - whole conversation attached. I gave him the task to find the best parallel resistor combination that's close to 12.7k from resistors I had: 15k 18k 20k 30k 39k 47k 75k 100k 120k 150k 200k 470k 680k. he couldn't. So I did few calculations myself and I found that 18k||47k = 13k. 18|43 would be perfect match but I don't have 43k. Even better - if I leave the 45k resistor and solder 18k above it, it'll become 12.86k

Most people want (or are afraid that) the bot to create a whole project. I think it'll be better for small tasks. like you need an odd resistor value or an opamp gain, or comparator hysteresis - something like that. Also you couldn't trust that there will be no errors in a whole project. Debugging is harder than design sometimes. But for small task you can easily double check if the bot is lying.

I think chat gpt accumulates errors when you have 1 over something. 1/R = 1/R1 + 1/R2 - he couldn't make this right even one time. I told him to verify the solution by plugging it to the original solution and he said "yep, doesn't match. probably the formula is wrong. it couldn't be me" :)

So what's your experience with the bot. Could you make it do something useful?

To print the bot's conversation to pdf you need to right click->inspect and remove h-full from the second div in <body> - like this:
(well click the thumbnail. I can't inline the image for some reason)
(Attachment Link)

Not maths, but I asked ChatGTP how a superregenerative radio receiver worked & got a "vanilla" response which left out most the "nitty gritty" of the operation of this very interesting device.
That said, I've seen worse descriptions written by humans.

For a second test, I asked it to discuss a "Carpenter Relay".
It didn't have the slightest idea & waffled on about thermal relays.
I told it what they really were, then it Googled, & found a little more information, but it basically just regurgitated my words back to me.

At this point, I wonder if it does learn stuff, or if asked the same question by someone else, won't remember what I told it.
If I try again, it might specifically remember for me.
 

Online vk6zgo

  • Super Contributor
  • ***
  • Posts: 7858
  • Country: au
Re: The AI as a calculator
« Reply #2 on: March 11, 2023, 07:53:53 am »
I asked it about Carpenter Relays again---this time it didn't even hazard a guess, so it doesn't learn from interactions.
 

Offline sleemanj

  • Super Contributor
  • ***
  • Posts: 3051
  • Country: nz
  • Professional tightwad.
    • The electronics hobby components I sell.
Re: The AI as a calculator
« Reply #3 on: March 11, 2023, 08:37:51 am »
ChatGPT is a language AI.  It is not a mathematics AI. 

You should not expect it to be able to perform mathematical tasks with necessary accuracy, or even sanity.

As for your question, my resistor paralleler with your available set gives a solution of [ 100 kΩ || 470 kΩ || 15 kΩ ] for a total of 12.691k (0.07% low), or [ 120 kΩ || 680 kΩ || 75 kΩ || 18 kΩ ] for 12.708k (0.06% high).

~~~
EEVBlog Members - get yourself 10% discount off all my electronic components for sale just use the Buy Direct links and use Coupon Code "eevblog" during checkout.  Shipping from New Zealand, international orders welcome :-)
 

Offline xrunner

  • Super Contributor
  • ***
  • Posts: 7836
  • Country: us
  • hp>Agilent>Keysight>???
Re: The AI as a calculator
« Reply #4 on: March 11, 2023, 01:13:54 pm »
I asked it about Carpenter Relays again---this time it didn't even hazard a guess, so it doesn't learn from interactions.

I think it's you ...

Me: I need information on carpenter relays

ChatGPT: Certainly! Carpenter relays are a type of electrical relay that was first introduced in the 1950s. They are also known as "reed relays" or "reed switches" because they use reed switches as their switching element.

Reed switches are small, magnetically activated switches that consist of two thin, ferromagnetic blades (or "reeds") that are sealed in a glass tube filled with an inert gas. When a magnetic field is applied to the reeds, they move together and make contact, completing the electrical circuit.

Carpenter relays use reed switches to control the flow of electrical current. They are known for their high reliability, low contact resistance, and low power consumption. They are also small in size, making them ideal for use in applications where space is limited.

Carpenter relays are used in a variety of applications, including telecommunications, automotive electronics, industrial controls, and medical equipment. They are particularly useful in applications that require high switching speeds, high insulation resistance, or low thermal and electrical noise.

If you have any further questions about Carpenter relays, feel free to ask!

Me: Thanks I'll pass this to a friend that was stating you didn't know what it was.

ChatGPT: You're welcome! I'm glad I could provide you with some useful information on Carpenter relays. If you or your friend have any further questions or concerns, don't hesitate to ask. I'm here to assist you in any way I can.
I told my friends I could teach them to be funny, but they all just laughed at me.
 

Online vk6zgo

  • Super Contributor
  • ***
  • Posts: 7858
  • Country: au
Re: The AI as a calculator
« Reply #5 on: March 11, 2023, 03:51:48 pm »
I asked it about Carpenter Relays again---this time it didn't even hazard a guess, so it doesn't learn from interactions.

I think it's you ...

Me: I need information on carpenter relays

ChatGPT: Certainly! Carpenter relays are a type of electrical relay that was first introduced in the 1950s. They are also known as "reed relays" or "reed switches" because they use reed switches as their switching element.

Reed switches are small, magnetically activated switches that consist of two thin, ferromagnetic blades (or "reeds") that are sealed in a glass tube filled with an inert gas. When a magnetic field is applied to the reeds, they move together and make contact, completing the electrical circuit.

Carpenter relays use reed switches to control the flow of electrical current. They are known for their high reliability, low contact resistance, and low power consumption. They are also small in size, making them ideal for use in applications where space is limited.

Carpenter relays are used in a variety of applications, including telecommunications, automotive electronics, industrial controls, and medical equipment. They are particularly useful in applications that require high switching speeds, high insulation resistance, or low thermal and electrical noise.

If you have any further questions about Carpenter relays, feel free to ask!

Me: Thanks I'll pass this to a friend that was stating you didn't know what it was.

ChatGPT: You're welcome! I'm glad I could provide you with some useful information on Carpenter relays. If you or your friend have any further questions or concerns, don't hesitate to ask. I'm here to assist you in any way I can.

Well, it certainly did "attempt" in your case, & as in its attempt when I first asked this question, got it completely wrong.
Carpenter relays are not reed relays, they are bi-state relays, using normal contacts, which were widely used in communications equipment in the 1950s & '60s.
I told it that, & it found a reference that agreed with me, but has now quite forgotten that. |O

P.S. https://rochesteravionicarchives.co.uk/collection/general-purpose/relay-electrical
« Last Edit: March 11, 2023, 04:34:13 pm by vk6zgo »
 

Offline npelovTopic starter

  • Frequent Contributor
  • **
  • Posts: 331
  • Country: bg
    • Microlab.info
Re: The AI as a calculator
« Reply #6 on: March 11, 2023, 05:21:00 pm »
You should not expect it to be able to perform mathematical tasks with necessary accuracy, or even sanity.
Yes, and it understands what I want perfectly. If they teach it to use non-ai based (ai can never be exact science) math tool it would be very valuable. It can write code, so maybe it  can use code to calculate.

You should not expect it to be able to perform mathematical tasks with necessary accuracy, or even sanity.
It's an AI - you cannot expect accuracy or sanity in any area.

As for your question, my resistor paralleler with your available set gives a solution of [ 100 kΩ || 470 kΩ || 15 kΩ ] for a total of 12.691k (0.07% low), or [ 120 kΩ || 680 kΩ || 75 kΩ || 18 kΩ ] for 12.708k (0.06% high).

It's a nice tool and much more reliable than the bot :). However if the bot was able to produce accurate results I'll prefer to use it any time. The tool takes thinking to use. if you use it everyday, then it becomes effortless, but I use many tools every day. If the bot could pick a tool and  fill the values in it that would be ideal.
Btw why doesn't the tool give me 18k||47k = 13.015 even when I select 4%. I feel like it doesn't want to overshoot. I actually need >=12.7k and I don't really need high accuracy.
 

Offline sleemanj

  • Super Contributor
  • ***
  • Posts: 3051
  • Country: nz
  • Professional tightwad.
    • The electronics hobby components I sell.
Re: The AI as a calculator
« Reply #7 on: March 11, 2023, 10:12:34 pm »
why doesn't the tool give me 18k||47k = 13.015 even when I select 4%. I feel like it doesn't want to overshoot. I actually need >=12.7k and I don't really need high accuracy.

IIRC because it finds 15 kΩ || 75 kΩ first and it is a closer 2 pair.
~~~
EEVBlog Members - get yourself 10% discount off all my electronic components for sale just use the Buy Direct links and use Coupon Code "eevblog" during checkout.  Shipping from New Zealand, international orders welcome :-)
 

Offline artag

  • Super Contributor
  • ***
  • Posts: 1284
  • Country: gb
Re: The AI as a calculator
« Reply #8 on: March 12, 2023, 02:44:27 pm »
I think it's intentional that it doesn't learn, except for within that specific interaction.
I imagine this is in order to avoid people intentionally teaching it wrong facts or attitudes as in the case of that early microsoft bot.
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf