Showing posts with label video surveillance. Show all posts
Showing posts with label video surveillance. Show all posts

Tuesday, November 30, 2010

Chapter 19 – Catch a Wave-Guide and You are Sitting on Top of the World


The Beach Boys are going to hate me for this but I’ve been waiting for years to use that line. I also wanted to title it, “Look Ma, no mesh” but I should have used that one several articles ago. It’s not that I have anything against mesh as there is an application for almost every technology. At this point in the industry and the economy, however, it’s time to get past a word very few non-technical people understand and the excessive associated cost of it. Anyway, this article is about wave-guide antennas so let’s get back to that.
Vivato was a wave-guide based antenna. I have had Securawave wave-guide antennas installed for about 7 years. I became a believer when I connected a car at 2 miles and my laptop inside a Jack-in-the-Box at 1 mile. The horizontal polarity was a huge advantage since most wireless APs were vertical polarity. Securawave is no longer in business so I’m hoarding the last few units I have to support units I have in the field. Not that solid aluminum blocks have a tendency to fail as I suspect they will last longer than the buildings they are mounted to (they just don’t make them like this anymore), but in case of physical damage. I don’t need dual-polarity and 2x2 MIMO yet in these areas because Qwest hasn’t figured out how to get more then 3Mbps over the so-called HD Internet services and I’m not ready to mortgage my house for their other service offerings. Of course it’s hard to dial the phone when your eyes are tearing up from laughter when they advertise their new 40Mbps service. 18 months ago they couldn’t even keep a 640Kbps DSL line running properly in the middle of Phoenix less than 1 mile from Sky Harbor Airport.
Historically, wave guide antennas were expensive to make which is probably why it didn’t have more popularity. Ubiquiti seems to be bringing it back with its new omni-directional dual-polarity antennas. We know that dual-polarity has better penetrating and range capability than single polarity. So the idea of extending that into an omni-directional antenna seems like a great idea. Since there isn’t any other 2x2 MIMO omni-directional dual-polarity antennas that I know about, this is really cool from a technical, design, and financial standpoint. It’s also how we are going to keep Guerilla WiFi cost-effective and make it better.
The new Ubiquiti omni-directional antenna isn’t a true wave-guide antenna. Since it needs both polarities, half the antenna is basically two 180 degree vertical polarity sector antennas back to back with dual 180 degree wave guide antennas. Since it’s not out yet, I haven’t tested the unit but the pre-spec guess is it’s around 12-13dbi. That means the effective LOS range with dual polarity is going to be about 30% farther than an omni with 15dBi of gain for a couple of reasons. However, real world performance is going to be significantly better since dual-polarity will definitely penetrate vegetation better, reduce noise off-polarity, and reduce fading. If the client is using a dual-polarity indoor radio, then not only will range be better, noise will be significantly reduced even further. I smell a huge performance improvement in the air for Guerilla WiFi.
Let’s go back to Chapter 1 of Tales where we designed a $10K per square mile system. In that design, we used a 15dBi omni-directional antenna with a single polarity omni-directional. This design was using a single stream 802.11 b/g/n design. With the new dual-polarity omni-directional antenna, we still use a single radio for our AP but we have doubled the throughput with a 2x2 MIMO stream. In addition, we have doubled the throughput of every hop and added an additional hop. Even at the 4rd hop we are still delivering up to 10Mbps. Keep in mind that at a 10-1 oversell rate, that means that you can sell twenty clients 5Mbps at the end of the chain. Although pricing hasn’t been released, I’m pretty sure this antenna with a Rocket M2 radio will still cost less than $300. Double the performance of the original Guerilla WiFi at no additional cost and it’s better than triple coupon day at my local grocery.
Think about that for a moment. If we only had one egress point for our network, our base network was limited to 3 hops with the same capacity at the end. This single antenna, which allows us to change from a single stream 802.11b/g/n radio to a 2x2 AP, doubles that throughput, thus extending our single AP model out even further and doubling bandwidth down the chain. Our egress point can also use multiple radios which can triple the throughput to 3 times that for $300-$600 more without even getting into out next topic, GPS Synchronization. So for less than $11K per square mile, the system now supports 180-300Mbps, depending on the clients. So if your town is 20 square mile and this whole system cost $250K to put in, then it’s a no-brainer simply for cameras, security, mobile access, and department efficiency. Of course, if it goes through federal funding, has government engineers add in the fact that it has to support mesh (pointless in this and most designs but adds significant costs), throws in ridiculous temperature requirements like -30C for Phoenix or 80 degrees centigrade when -75 degrees centigrade would work fine, and requires copious amounts of paperwork to tell 14 different government agencies that you are paying wages equal to union scale even though you pay your guys more than that, then it’s going to cost $1,000,000 (my English teachers just had heart attacks over that sentence). If you can sense my frustration with federal rules that require union contractor shops to do work that is clearly better suited to IT companies, then you are very astute. This is why projects involving the government cost so much and take so long.
If this is a for profit network, $250,000 to cover 20 square miles with this level of bandwidth is pretty impressive. It’s fairly easy and cheap to add 100Mbps backhaul to each square mile for a total of 2GBps for the entire system. Realistically, I would guess that you would get about 500Mbps before the price starts going up for full-duplex links. Keep in mind that we are back to the core idea of an inexpensive municipal deployment.
Using numbers from previous articles, let’s assume 800 potential clients per square mile. If we get 10% of that base at $30 per month, that’s $48,000 per month. With this type of system, only a very small percentage of clients are going to need truck rolls. Total revenue on this network is almost $600K per year. If users have to get client radios, then they start at $30 for 802.11n 1x1 Vertical Polarity CPE’s. For about $80, you can include a window mount and get 2x2 MIMO. In most environments, I would be surprised if truck rolls needed to be done on more than 10% of the clients. Even if you add in the cost of the client radios, this system should be cash flow positive at 800 clients and should pay for itself at 2400 clients within 12 months. This just covers residential and doesn’t even get into business revenue. The numbers are now speaking to me so it’s time to kick the venture capital market back into high gear.
Also consider this, the 16 AP per square mile strategy now covers a higher percentage of deployments, especially profit oriented ones. If you live in the middle of high-density city, then you would want more APs per square mile for density or you fall back on the super AP concept described in previous articles. Since WiFi is far more unpredictable that PTP RF modeling, there is nothing wrong with installing 16 AP’s and then site surveying to see if there are coverage gaps than hinder more revenue.
Cell phone companies don’t cover every square inch of every house on the planet. It’s not cost effective. They deploy with the best models they have and then decide if it’s profitable after field testing to fix poor signal areas. WiFi should be deployed the same way. Put up 16 AP’s, field test, check the areas with poor coverage, and then decide if it’s worth another $300 in equipment to cover that area. If an area has higher usage, add in a triple radio AP upgrade for a few hundred dollars more. If an area really just needs more signal gain, look at adding a beam-forming AP just for a specific direction. There are many options but all of them would be based on sound profitability principals. There is nothing wrong with walking away from 2 customers that might cost $3000 to add additional infrastructure to cover.
I have 2 “Peeves of week” I have to get off my chest. The second is 99.999% uptime. I was asked to design a system where I have to guarantee the CPE’s have 99.999% uptime. Since the wireless industry has new equipment out every few months, very little of what I would deploy today has enough history for me to put my reputation behind that request. I’m not talking about PTP full-duplex $10K and put links but $50-$400 CPE’s. First off, anything less than 802.11N is too old and too slow for this type of video application. Second, anything that’s 802.11N hasn’t been around long enough to know how it’s going to run 3 years from now. It’s kind of a catch-22 situation. That means using cameras with built-in recorders that are going to cost three times as much or more than using lower priced cameras with CPE’s. Unfortunately there is no product history out there than guarantees that. The reality is that all the radios I work with rarely, if ever, just simply go offline if installed correctly. That doesn’t mean that they aren’t going to down for planned firmware upgrades or other system changes. However, the 99.999% uptime request didn’t stipulate whether planned maintenance was included.
I’ve already mentioned my first pet peeve, municipal bids that ask for mesh when every AP connected has a directional antenna. To everyone who keeps adding this expensive request into these bids, it’s a waste of money taxpayers’ money and costs the city a lot more to support in the long run. When you add a directional antenna to an AP or CPE, it’s a PTP or PTMP design, regardless of what firmware is on there. There is no mesh because the radio can’t connect to anything it’s not pointed at. By adding the mesh requirement, you are either getting the most expensive product out there or White Box APs with custom open-source mesh firmware that is cheaper. I’m not saying there isn’t a place for mesh, but don’t eliminate other options like WDS. It’s not your money you are spending; it’s ours, the taxpayers. Let the industry and a wireless engineer decide what the best product for the design is. It shouldn’t be the salesperson that took you out to lunch last week and has shiny brochures. If mesh is appropriate and the best fit, let the companies bidding on the project put that down. If WDS will work just as well or a PTMP design is better, they will bid that. So can anyone guessed what crossed my desk again this week? I know I’m beating my head against the wall on this since arguing with government is like trying to tell a 3 year old that candy isn’t good for them.
So we have come full circle on Guerilla WiFi from $10K per square mile to $50K per square mile and now back to $10K per square mile with double the performance. If this doesn’t kick the industry back into high gear, I’m not sure what will. Next we will cover GPS sync and how that affects deployments strategies.

Monday, October 18, 2010

Chapter 16 - Video Surveillance; More Video Than You Ever Wanted To Know

This isn’t a how-to article on video surveillance since even my neighbor, the non-technical guy, installed his own system. Most of us have an understanding of how an IP based video surveillance network works. What we want to cover is why all this phenomenal bandwidth we are creating takes video surveillance to another level and why that may or may not be a good thing.
Video surveillance cameras used to use terms like CIF (352x288 pixel resolution) and 4CIF (702x576). Computers used resolutions like VGA (640x480) and SVGA (1024x768). The common denominator in all these is the 4x3 screen ratio. Movie makers marched to their own drums with 16:9 ratios until the standard today is the 1080 level (1920x1080).
With the integration of computers and movies, it was obvious that compression methodology needed to be applied due to the limits of CD-ROMs and bandwidth. Various JPEG and MPEG compressions were developed until MPEG-2 became the most universally used compression method for DVD. However, bandwidth and storage limitations along with increased processor power drove compression through MPEG-4 (still one of the most popular) and others to the current standard of H.264.
So how does this relate to wireless? In the past and all around the country, cameras over wireless were either a very low resolution (CIF), high-compression (blocky or blurry), or had a low frame-rate (5-10 frames per second or fps). A lot of systems with remote locations, like SCADA locations, didn’t even try to move video over the wireless system. Instead they stuck an analog recorder locally with digital output, and then only monitored 1 or 2 of the cameras at a time remotely, regardless of how many were on site, due to bandwidth limitations. Keeping in mind all the bandwidth we have proven we can deliver over wireless systems from the past few articles, the question becomes, what can we now do in the real world? 3 years ago, we deployed a video analytic system with 48 cameras across 100 square miles in North Las Vegas and Boulder City, Nevada using a Puretech PureActiv system and SkyPilot 4.9GHz mesh system, so it’s not a new concept. These cameras deliver CIF resolution at about 12fps due to storage limitations. Since multi-megapixel cameras are the next hottest thing and since I’m involved in one of these projects right, I can tell you where we are going next.
Start with the idea that multi-megapixel IP cameras are now on the market and are cost-effective. For example, a 1080i outdoor camera from Axis like the 3334 or 1755 cost around $1500 or less. There are many other products out there that are even less expensive but I would test them to make sure they can deliver the frame rates you expect under similar conditions. We found that in a couple of the less expensive cameras, they could deliver no more than 12fps even though they were rated at 30fps in that particular resolution mode.
The biggest issue is, how do you use all that video quality? For live displays, we are probably going to have to limit live viewing to CIF resolutions to get 16 cameras on a single display. With 50 cameras, you might need 5 displays, for reduced size images and one for a full size image might be one way to set it up. This kind of negates having HD video. You can use whatever variation you want from this, even if you want a whole wall of monitors. No matter what you do with a few cameras, there will be point where there are too many screens for anyone to look at simultaneously or the real-time images are too small to have value. In reality, there is no realistic way to cost effectively display and watch 50 high-resolution cameras. So where is the value?
In addition to broadcasting a 1920x1080 video stream or higher, the newer cameras can also capture video at up to 5Megapixels. That makes for some fairly impressive images and opens up all sorts of possibilities if you can get it back to a central location for processing. That’s where our big wireless pipes start having value. Imagine the camera shooting snapshot every 20 seconds to augment the high-quality video stream for forensic evidence at trial and dumping these images on a central server.
Currently most people use this much resolution for forensic use. Usually an accident is going to look the same in HD as well as CIF on video. In fact, the higher frame rate has more value than the resolution. However, the higher image quality might tell us who was driving in case there was question of that or reveal a detail such as a braking point based on a car nosing down that the lower resolution may not. In reality, most of the mega-pixel cameras can deliver both high-frame rates and HD quality.
I’m finishing our first deployment right now where all the cameras are HD quality on the fixed and 4CIF or better on the PTZ cameras (HD PTZ cameras weren’t available from Axis when we started the project). With the cameras set to 1920x1080, 20fps, 30% compression, using H.264, we are seeing about 7-8Mbps.
There are two areas where the higher resolution system has much more of an advantage. The first is in the use of forensic evidence at trial. If the subject actually has features that are discernible, then there is a higher chance of prosecution. With CIF cameras, that means either very short ranges or very small viewing areas.
The second and more important use is in the field of Video Analytics. Video Analytics uses a computer to analyze a video stream and look for specific types of activity. It basically turns video surveillance from a forensic device into a pro-active tool. Video analytics have been used in airports and depots to look for loiterers or abandoned luggage. More expensive analytic systems obviously have more features such as license plate recognition and facial recognition. Some video analytic systems can tell the emotional level of the subject or look for abhorrent behavior.
The limitation on analytics has always been resolution, processing power, and algorithms. Lower resolution can’t make out enough details for facial recognition or license plates at any distance and higher bandwidth over wireless (remember, this is a wireless series, not a wired series)has always been a challenge. At the same time, as the resolution increases, the processing power needs increase. For example, it take 4 times as much processing power to handle a 4CIF resolution video stream as it does a CIF vide stream. Expand that up to 1080HD resolution and now an older Dual-Xenon server that could handle 8 CIF streams 3 years ago can’t even handle one HD stream.
Fortunately, between Intel and the gaming industry, the answer is just right before us. Newer Intel processors using the I7 core have some pretty massive power. Jump into the Xenon version of that processor series and its running 6 cores with 6 virtual cores. Double up the Xenon processor and you have more than sufficient horsepower to do any type high-level video analytics.
Since video analytic processing isn’t any different than game processing in terms of the type of hardware needed, the gaming industry has pretty much handed us the answer. High power video cards or GPU’s (Graphic Processing Units as they are generally referred to), can be stacked to multiply the processing power. In fact, it’s possible to use 4 GPU’s in the same computer that’s capable of cracking weak AES encryption in minutes or hours. Maximum PC built a 3 card version of this exact computer. Obviously you want a different hard drive storage combination, but if the software supports the GPUs, here’s the answer.
Improved analytic engines also have the ability to do object recognition. Imagine an Amber Alert that can have every camera in the city scanning for a specific, make, model, and color of a vehicle in real-time in addition to license plates to try to find a child. All of this advanced capability requires 3 things, lots CIF cameras at very short distances for clarity, fewer cameras with very high-definition, and lots of bandwidth to get this data back to a central location. If it’s wireless, that historically has been even more difficult.
The traffic surveillance system design we used in the Town of Sahuarita was based on three things:
1)Budget
2)Capability, currently and in the future
3)System Expansion
7-8 Mbps per camera meant that there needed to be a lot of capacity. Originally the design involved 4 APs with sector antennas covering 360 degrees and up to 400Mbps or more (I told you we would get back the wireless part of the equation eventually). Although the capacity was sufficient when it was originally installed, the RF environment changed while we were finishing the system. I covered the interference issues with the local WISP in an earlier article and after my experience with Atlanta, I decided to change this design over also. With an equipment change of less than $2000, we expanded the capacity out to 800Mbps and simultaneously reduced noise figures from -75 to -92dB or better. Most lights are now PTP links to either City Hall or between each other. Since the use of highly directional antennas on the main building means my beam patterns are now 6 degrees or less, frequency reuse isn’t an issue. I haven’t used the building as my antenna isolation shield yet but that’s coming next as we add more traffic lights.
Uneven terrain also meant AP hopping wasn’t an option. Since budget was an issue and we already had some of the infrastructure in place already, we stayed with the Ubiquiti equipment. Technically this is now a combination PTP/PTMP design. I didn’t use WDS since I needed security features that won’t work with WDS on the Ubiquiti products. And because the Rockets and Nanostations cost less than $100, the highest cost would be a pole with a Rocket M5 with an MTI dual-polarity 5.8GHz flat panel antenna for about $350. However, as the deployment went in, we made some changes and are now using Powerbridges in place of the Rocket/MTI antenna combinations as they have become available. The end result of this design is that every light has an MCS(15) 2x2 MIMO link either directly back to City Hall or in a hop path between lights using the Rockets, Nanostations, and Nanostation Locos. The total cost of all the radio and antenna equipment for 13 traffic lights and 800Mbps of total capacity at City Hall will be less than $10,000 including the 2.4GHz WiFi system that went in simultaneously.
The capability of the system, although it’s still being installed, will provide some excellent prosecutorial evidence when needed. In the case of accidents, the combination of the resolution of the cameras along with the PTZ cameras that are paired with them will allow traffic and public safety the information they need to respond appropriately. In the case of a hit-and-run, the runner is going to have a much harder time getting away with high-resolution images of the vehicle and the plate, when available. If the driver leaves the vehicle, the planned video analytic software with virtual tracking with the PTZ’s are going to keep the driver, now the runner, in camera view much longer for police and give a better picture for recognition.
One other side note is that many of these cameras have audio capability. We already apply analytics to gun-shot detection and window breakage applications. Throw in some audio clues for a crash to support a video analytic rule of two objects trying to occupy the same area at the same time (crash), and false alerts drop.
There is no real growth limit to the system. On the bandwidth side, each traffic light has the capacity to hop several lights if necessary or add additional cameras. On the image side, as computer processing power continues to increase, the resolution and bandwidth is already in place to take advantage of it. This means more sophisticated surveillance tools for traffic, law enforcement, and wireless bandwidth for mobile vehicles. Video analytics are the best way to use the increased resolution an image quality that increased bandwidth capacity can provide.