Categories
DIY How To Solar Energy

VFD and LV Solar Panels, a try-out

We have been experimenting with VFDs to run conventional AC Pumps using DC power of solar panels as in previous post (HP Size Solar Pumps) This is because there are a couple of good quality Solar MPPT VFDs easily available at fair prices.

However the VFD requires relatively high DC input voltage, 290 to 360VDC to run a single phase AC pump, and 440+VDC to run a three phase pump.

At sub-HP power levels the solar panels in commercially available sizes (250 to 330 Watt and 36 to 44 VDC each) are most often not going to add up to the input voltage requirements even for a VFD that will run a single phase AC pump.

To deal with this issue, there is a thought process that some kind of DC to DC boost converter can be used from low voltage DC source to raise the DC voltage in the acceptable range for to the VFD.

As a quick check a small experiment was carried out involving following components.

  1. DC source from 8 x 60 W 36VDC array of panels but on a fully cloudy day. The open circuit voltage at the panel output was around 24 to 34 VDC.
  2. A low cost inverter board that runs on SG3524 chip and MOSFETs, it produces approximately 50 Hz square wave AC output.

3. Salvaged transformer from a household inverter, 12-0-12V to 230V centre tapped, this is rated for around 700VA.

4. Frecon make solar VFD for single phase AC output.

The overall assembled setup is shown in the next picture.

To measure the output voltage and to view the wave pattern, a hobbyst’s oscilloscope (DSO138) was used. At the high voltage side output of the transformer a voltage divider comprising of 22kohm, 1.6kohm and 22kohm was connected. The measuring probes of the oscilloscope were connected across the central 1.6kohm resistor, thus the voltage measured on the oscilloscope is scaled down by a ratio of 1.6 : 44 (i.e. 1 : 27.5). Or in other words, the measured voltage on oscilloscope need to be multipled by 27.5 to get the actual voltage level at the transformer output.

Observations

When the DC power was applied to the inverter and VFD was connected to the transformer output, but not yet switched on, the output from transformer showed as in below picture. Oscilloscope showing 8V means the AC output was +220/-220 V peak to peak and 6.84 x 27.5 = 188 VAC RMS. The DC voltage at inverter input was seen to be in range of 12V.

In this case, the LED display of VFD showed a DC input voltage as 172 VDC. This is not really adequate for a single phase solar VFD, while it requires 290 to 360VDC input for normal operation.

When VFD was switched on, the output voltage from transformer was seen to be reduced. Oscilloscope showing 7.04V means the AC output was +193/-193 V peak to peak, and 2.21 x 27.5 = 61 VAC rms. The DC voltage at inverter input was at 6V. More importantly the waveform is highly distorted and is most likely due to not enough driving power for the transfomer of the inverter, suggestive of shortfall in power available from solar panels.

It would be fair to conclude that this conept as such is ok but the voltage levels and power efficiency need to be experimented further and evaluated.

Adequate power and volage from Solar panels need to be made available on a bright sunny day.

May be, high frequency switching with suitable ferrite or equivalent transformer need to be used.

More to Follow…..

Categories
DIY How To IoT

Data Logging for IoT

Internet of Things (IoT) is about connecting various devices (sensors, controllers, display units, alarms and any such instrument/equipment) with each other using public internet and may partly run through private network of the end user.

With this primary capabaility, IoT opens out many opportunities for systems control, remote data monitoring and to execute commands that carry out various operations based on desired conditions.

With improved data connectivity and availability + the reducing prices of electronic devices, IoT is picking up fast and more importantly it is also getting easier for hobbyists and individuals to deploy IoT projects all by themselves.

Besides the hardware and software to implement any IoT project, what is equally important is a consistent and fairly reliable mechanism to receive and store the data points in a (near) real time manner.

Setting up such a data store can turn out costly, but there are many such online services available. For industry grade volumes and quality of service/reliability, such data logging services providers offer various plans with different charge structures.

For hobbyist and DIY users, most if not all these online services offer a free option but obviously with limited resources granted to the user.

A few of the popular service providers are listed below, this is just a very small list.

thingspeak

ubidots

losant

jasper

Let us see how to open an account and create a data logging channel with one of the service providers, namely thingspeak.com

Create an account with ThingSpeak

From your computer or mobile phone connected to internet, open the web browser and go to the URL link ThingSpeak SignUp

Enter your email address and Country and First Name, Last Name on the sign-in page, then click Proceed / Next / Continue button. We recommend using the same personal Google email id as you use on your mobile phone google account.

It will warn you about your email address being personal email id. Refer the image below. Please Tick / Select the check box near Use this email… and click Continue button. After this it will display a message mentioning about having sent a link to your email address.

Open your e-mail box and find the mail received from ThingSpeak, check if the email has gone into spam folder. Please ask for resending the mail again, if required, by clicking the Send Me the Mail Again link.

Locate the URL link available in the email that you received and click the link or button or copy paste that URL link in a new browser tab/window. Please keep the previous tab/window of ThingSpeak still open for further use.

This new tab/window (not shown here) which you opened from your email by clicking the verification link / button – will show some message like your account/email after successful verification. This is actually a mathworks account which is another website like ThingSpeak, both of which share common authentication and some other such few features.

After this verification is successful, resume in the previous ThingSpeak tab/window, by clicking the Continue button.

It will take you to sing-up page where you will be asked to specify your user id and password for ThingSpeak login. Please set a valid user id and password for your ThingSpeak account, this is entirely different and not connected with your email address. Remember and/or note down the user id and password for future use.

Then proceed to login to ThingSpeak web site or you will be automatically logged into ThingSpeak.

At the first login it may ask for some additional information like – what purpose you plan to use ThingSpeak for, (refer next image). Please specify non-commercial/ personal use and click ok.

Create Channel

A channel is one identifiable register/data store to capture data.

For example let us say – a user has 2 different locations where he /she wants to monitor the ambient temperature and humidity at every 5 minutes continuously.

To be able to do this the user will setup the needed sensors at the respective locations and data acquired by the sensors will have to be posted to some internet based URL. This URL will receive the data values and store them for later use and analysis.

For this example, the user needs to have two different registers or data stores one per location and each register needs to support at least three fields (namely timestamp, Temperature in deg C., Humidity in %).

So it is like two readings one each for the two locations, comprising of 3 field values each will be received and saved every 5 minutes. That is 576 readings per day and over 2 years it will be around 0.42 million or 420000 readings. Each reading is about 40 bytes say, so just 16 MB of data over 2 years. The data volume for these two datastores is not really that high, but it is important that the datastore has to provide a reliable and continously available mechanism of data logging.

When translated in the terminology of ThingSpeak, this means two channels one each with 3 fields of data are necessary to be created.

Thingspeak allows upto 4 channels to be created by every user having a free account.

So let us see how to create a channel.

After the ThingSpeak login account has been created and successfully logged in, it is required that a new channel be created in the page shown below.

Click the New Channel button, the website will take you to next page.

On this page specify a channel name and select / tick against all the 8 fields shown in the page. Then click Save Channel button. There are other two buttons provided as below

  1. Clear Channel – This clears the old data that may have been captured so far in this channel. It is recommended to not clear the channel unless you are sure that you want to lose the data forever.
  2. Delete Channel – This deletes the channel altogether. It is strongly recommend to not click this ever, especially after any of the field device is using the channel.

Important Parameters of the Channel

Please note down the Channel Id, Name and Read and Write API Keys, as it shows in the web page in the API Keys tab. Once the channel is created the Keys and Channel Id can be used by any device/software so that the data to be collected by any field sensor or device can be posted to the channel. These values can be altered any-time by the the user login who created the channel, but if the channel keys are setup in any IoT device as a part of one time configuration then the altered values (especially the Read and Write API keys) need to be updated in all the devices and programs where the old keys were used.

Verifying the channel

Once the channel is created it can be tested by executing below commands in browser address bar.

Write to Channel
https://api.thingspeak.com/update?api_key=WRITE_KEY&field1=123456&field2=0.56

The above comamnd submits and saves one data point with values of two fields to the respective thingspeak channel with matching WRITE_KEY.

Read Channel
https://api.thingspeak.com/channels/CHANNEL_ID/feeds.json?results=20

This comamnd retrieves 20 data point from the thingspeak channel specified by the CHANNEL_ID

View the data graphically

Thingspeak provides a nice and simple way to view the datapoints. It would be a good activity to explore this part in details to understand what options it gives to view the data, i.e. various types of graph, number of datapoints to be viewed etc.
https://thingspeak.com/channels/CHANNEL_ID/private_show