EcoRenovator  

Go Back   EcoRenovator > Improvements > Geothermal & Heat Pumps
Advanced Search
 


Blog 60+ Home Energy Saving Tips Recent Posts Search Today's Posts Mark Forums Read


Reply
 
Thread Tools Display Modes
Old 01-24-13, 12:31 AM   #21
AC_Hacker
Supreme EcoRenovator
 
AC_Hacker's Avatar
 
Join Date: Mar 2009
Location: Portland, OR
Posts: 4,004
Thanks: 303
Thanked 723 Times in 534 Posts
Default Some Details...

Some more photos of the circuit board, and what I am able to identify as important components.



This first photo is the header that is meant for
attaching wires to & from the indoor unit.


Wires coming from the top of the terminal strip go into the circuitry of the PCB on the inside of the unit. Wires from the bottom are for external connections.

The wires connecting to terminals 5 & 6 are 120V 60Hz power for the outdoor unit. Power ground wire attaches to a terminal on the chassis (not shown). I checked for continuity between all terminals and ground and found no continuity on any terminal. I have not yet powered the system to test for voltages.



The wires from terminals 1, 2, 3 & 4 go up, into a bundle
and all attach via a single connector at a header on the
PC board as shown above.

I did my best to figure out some of the circuitry.


Here is a hasty diagram that I drew of some
of the wiring I could identify.



Here is a photo of a relay on the PC board. The blue wire
is coming from the terminal #6 on the header (120V AC in).
The red wire goes directly to the compressor. This is all in
the diagram above.

The next two photos are connections that are NOT on the drawing. Note that these components are NOT on a circuit board and attach directly to the sheet metal frame of the heat pump.



This photo shows what appears to be a SSR that sends power
to the white sump heater wires seen in a previous post.



This photo again shows what appears to be a SSR, but this one sends
power to the reversing valve, which was also shown in a previous post.

Your comments are invited...

Best,

-AC

Attached Thumbnails
Click image for larger version

Name:	header-wires.jpg
Views:	2390
Size:	31.7 KB
ID:	2911   Click image for larger version

Name:	header-wires-to-board.jpg
Views:	2226
Size:	28.0 KB
ID:	2912   Click image for larger version

Name:	Diagram-1.jpg
Views:	3671
Size:	84.4 KB
ID:	2913   Click image for larger version

Name:	fan&compressor-power-relay.jpg
Views:	3088
Size:	32.9 KB
ID:	2914   Click image for larger version

Name:	sump-heater-wires.jpg
Views:	2165
Size:	28.1 KB
ID:	2915  

Click image for larger version

Name:	reversing-valve-wires.jpg
Views:	2715
Size:	25.8 KB
ID:	2916  
__________________
I'm not an HVAC technician. In fact, I'm barely even a hacker...

Last edited by AC_Hacker; 01-24-13 at 12:35 AM..
AC_Hacker is offline   Reply With Quote
Old 01-24-13, 04:47 AM   #22
jeff5may
Supreme EcoRenovator
 
Join Date: Jan 2010
Location: elizabethtown, ky, USA
Posts: 2,428
Thanks: 431
Thanked 619 Times in 517 Posts
Send a message via Yahoo to jeff5may
Default

AC,
If the schematic i found is close to your unit, here's what the pins should be:
main cnr:
1: serial communication
2: ground
3: 17V power source
4: indoor fan motor pwm signal (varying DC?)
but all this don't matter cuz the unit works.
you can interface thru the 1-wire comms (hard) or tie into IC8 (easy) to control the unit.
jeff5may is offline   Reply With Quote
Old 01-24-13, 11:57 AM   #23
AC_Hacker
Supreme EcoRenovator
 
AC_Hacker's Avatar
 
Join Date: Mar 2009
Location: Portland, OR
Posts: 4,004
Thanks: 303
Thanked 723 Times in 534 Posts
Default

Quote:
Originally Posted by jeff5may View Post
...If the schematic i found is close to your unit...
Here's the schematic for the main PCB IC chip. It is a 54 pin microprocessor with the designation TMS370C08, which I looked up. I could find the PDFs for that chip, in 40 pin packages, but not in the 54 pin configuration:



An here is a photo of the main IC on the PCB. It is also a 54 pin IC. I was not able to locate any info from these numbers:


My guess is that it very well could be the same IC, with different LG branding.

So, if I'm understanding, since this PCB seems to be working OK (so far) and if it is the same chip, I should be able to control my unit by cutting the relevant chip traces, and patching an Arduino or something into the traces and sending control signals from the Arduino, right?

And if the IC on the PCB is functionally equivalent to the IC in the schematic, then the task becomes much easier.

Is there something I could measure or test that would give us a higher level of confidence of this equivalence?

* * *

By the way, I did check your assessment of pins 1, 2, 3, 4 (I assume by pins you are referring to the terminal connections)

I tested pin 2 as ground and pin 3 as 17VDC, and I get "-20.28V" so it looks like pin 3 is ground on my unit and pin 2 is DV voltage = 20.28. I checked my multimeter cables & pin numbers and readings several times and it looks reliable.

With my multimeter, I couldn't see any AC action on pin 3-to-pin-1 or from 3-to-pin-4.

I also noticed that there is a red LED on the PCB that is flashing some pattern, and that the green LED is also flashing some pattern. Maybe the unit is searching for the indoor unit? Lost baby, maybe?

* * *

Oh, I finally see what you meant by, "or tie into IC8 (easy) to control the unit.."

You mean this thing, don't you:


... and that would be this IC that happens to be sitting right next to the main controller IC...



Now I see that jeff5may is very, very clever!

Best,

-AC
Attached Thumbnails
Click image for larger version

Name:	Main IC photo.jpg
Views:	2069
Size:	49.0 KB
ID:	2919   Click image for larger version

Name:	Main IC.jpg
Views:	1756
Size:	44.0 KB
ID:	2920   Click image for larger version

Name:	IC8a.gif
Views:	2603
Size:	26.5 KB
ID:	2924   Click image for larger version

Name:	IC8a.jpg
Views:	2612
Size:	86.9 KB
ID:	2925  
__________________
I'm not an HVAC technician. In fact, I'm barely even a hacker...

Last edited by AC_Hacker; 01-24-13 at 04:05 PM..
AC_Hacker is offline   Reply With Quote
Old 01-24-13, 01:09 PM   #24
AC_Hacker
Supreme EcoRenovator
 
AC_Hacker's Avatar
 
Join Date: Mar 2009
Location: Portland, OR
Posts: 4,004
Thanks: 303
Thanked 723 Times in 534 Posts
Default

So, it looks like the functions I want to control are:
  • Compressor
  • Heater
  • Fan
  • 4-Way (AKA: reversing valve)

... and that by cutting the traces that lead from IC1 pins number 27, 26, 25, and 22 and by tyeing the appropriate leads from my Arduino or whatever, to those pins, I could thereby control the heat pump, yes?

And would the functioning of IC1, to monitor for failure conditions and take appropriate shutdown actions, still function?

Best,

-AC
__________________
I'm not an HVAC technician. In fact, I'm barely even a hacker...

Last edited by AC_Hacker; 01-24-13 at 04:17 PM..
AC_Hacker is offline   Reply With Quote
Old 01-24-13, 03:17 PM   #25
randen
Uber EcoRenovator
 
Join Date: Apr 2011
Location: Strathroy Ontario Canada
Posts: 657
Thanks: 9
Thanked 191 Times in 129 Posts
Default

AC-Hacker

You may be able to wire a thermostat to the IC8. It is illustrating the relays for the 4 basic controls. You might not require the embelishment of the Arduino. For the in-floor heating a cheap programmable thermostat with its thermistor removed and mounted next to the tube in the floor would be all thats required.

Randen
randen is offline   Reply With Quote
Old 01-24-13, 04:15 PM   #26
AC_Hacker
Supreme EcoRenovator
 
AC_Hacker's Avatar
 
Join Date: Mar 2009
Location: Portland, OR
Posts: 4,004
Thanks: 303
Thanked 723 Times in 534 Posts
Default

Quote:
Originally Posted by randen View Post
You may be able to wire a thermostat to the IC8. It is illustrating the relays for the 4 basic controls. You might not require the embelishment of the Arduino. For the in-floor heating a cheap programmable thermostat with its thermistor removed and mounted next to the tube in the floor would be all thats required.
I like that...

If I use it as a heating only unit, I'll want to have the heater ON during my heating season. And depending on the non-activated state of the 4-way (probably A/C mode by default), I could either permanently activate it, or leave it permanently de-activated. That would leave just the compressor & fan to control. However, I would still need to include a time-delay because since I'm bypassing the brain chip, it probably has no delay circuit.

-AC
__________________
I'm not an HVAC technician. In fact, I'm barely even a hacker...
AC_Hacker is offline   Reply With Quote
Old 01-24-13, 08:01 PM   #27
jeff5may
Supreme EcoRenovator
 
Join Date: Jan 2010
Location: elizabethtown, ky, USA
Posts: 2,428
Thanks: 431
Thanked 619 Times in 517 Posts
Send a message via Yahoo to jeff5may
Default

Ok, so the mfr JUST HAD TO reverse the wires between the pc board and the terminal block. In this case, wire colors don't lie.

BLUE: indoor fan motor speed
BLACK: GND
BROWN: PWR
RED: Serial comms

If if and only if (science-babble)you and/or your people can reverse engineer serial comms with this beast, you will use the red wire. Of course, a compatible indoor unit to borrow would be of immense help. Without one, a good computer scientist could figure out what language this chip speaks and assemble a virtual indoor unit. Then the outdoor unit could remain in control of its own parts, but still integrate into your system thru the virtual interface (that you could possibly integrate into an arduino control program for serial comms?) which would control both the gshp and the ashp. And it sounds easier than it is.

Forget about the blue wire unless the above sounds doable AND you want to rig up a variable-speed pump to control your indoor water temperature.

So you're on the right track with using IC 8 to assume command of the outdoor unit. Applying voltage (from IC1 pin 20) to pins 1 to 6 will activate the brawny components on the output side of IC 8 reliably. You can do this directly or indirectly, which begs another question: Where will the arduino controller live? Will it be a replacement for the microcontroller in the ashp only, or will you want it to do more?

Like Xringer said, you may be able to get away with faking the test mode button to indirectly assume control of IC1 and all of its built-in ability. IMHO, this would be the way to go if it works. If the unit faults out after 5 minutes, just feed it another keypress train after 4:45 if you want it to keep operating. If not, let it shut down on its own. Then again, it might just run and run until you tell it to stop. It just might be the ticket: less is more. Can't hurt to try.

If you decide to directly switch IC8 to control components, you will lose all of the marvellousness built into IC1. All the "what if's" will have to be accounted for and built into your control sketch. You could do this remotely with a 1-wire addressable switch chip or directly with an arduino board. The sky's the limit.

Last edited by jeff5may; 01-24-13 at 08:06 PM..
jeff5may is offline   Reply With Quote
Old 01-25-13, 01:30 PM   #28
AC_Hacker
Supreme EcoRenovator
 
AC_Hacker's Avatar
 
Join Date: Mar 2009
Location: Portland, OR
Posts: 4,004
Thanks: 303
Thanked 723 Times in 534 Posts
Default

Quote:
Originally Posted by jeff5may View Post
...you're on the right track with using IC 8 to assume command of the outdoor unit. Applying voltage (from IC1 pin 20) to pins 1 to 6 will activate the brawny components on the output side of IC 8 reliably.
Sounds great. Is it OK to connect directly, or should I use some kind of resistor? I can see that this would be the perfect way to deal with the 4-way, since I have no plan at this time to use the unit for cooling.

Quote:
Originally Posted by jeff5may View Post
You can do this directly or indirectly, which begs another question: Where will the arduino controller live? Will it be a replacement for the microcontroller in the ashp only, or will you want it to do more?
I really like randen's suggestion to put a programmable thermostat on the output (actually I plan to use an output tank, so that will be where I would attach the thermo).

I have so many projects in the air already, that I need to limit complexity as much as possible.

Quote:
Originally Posted by jeff5may View Post
Like Xringer said, you may be able to get away with faking the test mode button to indirectly assume control of IC1 and all of its built-in ability. IMHO, this would be the way to go if it works. If the unit faults out after 5 minutes, just feed it another keypress train after 4:45 if you want it to keep operating. If not, let it shut down on its own. Then again, it might just run and run until you tell it to stop. It just might be the ticket: less is more. Can't hurt to try.
Yeah, this sounds great. One problem with that approach that I'm wrestling with is, assuming that the TEST KEY is a toggle (ON & OFF), then how will the system know what state the heat pump is in? I mean, if the process skips a beat, then the unit will go OFF when heat is required, and go ON when too much heat has been reached.

Quote:
Originally Posted by jeff5may View Post
If you decide to directly switch IC8 to control components, you will lose all of the marvellousness built into IC1. All the "what if's" will have to be accounted for and built into your control sketch. You could do this remotely with a 1-wire addressable switch chip or directly with an arduino board.
If I did a hardware solution, and used a temperature sensitive snap-disk switch as a run-away heat limiter, and a refrigerant pressure limiting switch, I think I'd be covered.

I don't know which one would be the least hassle in the long run.

Quote:
Originally Posted by jeff5may View Post
...The sky's the limit...
Not for me, the sky is already filled with too many flying projects!

I think I am becoming the Samouri EcoRenovator, chop, chop...

Best,

-AC
__________________
I'm not an HVAC technician. In fact, I'm barely even a hacker...
AC_Hacker is offline   Reply With Quote
Old 01-25-13, 04:27 PM   #29
randen
Uber EcoRenovator
 
Join Date: Apr 2011
Location: Strathroy Ontario Canada
Posts: 657
Thanks: 9
Thanked 191 Times in 129 Posts
Default

AC Hacker

Is the reversing valve spring loaded or would it have a pilot solenoid on each end. Once the pilot valve has shuttled the spool should stay there either heating or cooling. What is your thought on the output tank? I find that the floor responds so slowly short cycle won't be your problem and the temp is so low. I would think you could plumb your floor directly from your HX.

We have a lot of good ideas for you Samouri, you should work faster, chop chop.

Randen
randen is offline   Reply With Quote
Old 01-25-13, 05:09 PM   #30
jeff5may
Supreme EcoRenovator
 
Join Date: Jan 2010
Location: elizabethtown, ky, USA
Posts: 2,428
Thanks: 431
Thanked 619 Times in 517 Posts
Send a message via Yahoo to jeff5may
Default

AC,
You can easily hotwire the unit either way.

On the one hand, if the unit will work by using the test button functionality, you shouldn't have to worry about defrost or fail-safes. Rigging up a button-press faker would be simple and cheap. When your tstat called for heat, the board would fake a few button presses, when the tstat stopped calling for heat, the board would fake a different number of button presses. The end. You'll need to verify that the unit will behave in test mode, though.

On the other hand, you would need to rig up something that would handle the what-if situations. Controlling the individual components is the easy part. Dealing with defrost, locked fan motor, locked compressor, condensor overheat, short-cycle, etc is the hard part. The tstat would only act as the "on-off" switch for your control rig. You could probably cobble up a low-tech control from parts out of a dehumidifier, but it won't act the same as something more refined.

jeff5may is offline   Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -5. The time now is 02:21 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Ad Management by RedTyger
Inactive Reminders By Icora Web Design