Eight provinces of Canada allow electric power assisted bicycles. In all eight provinces, e-bikes are limited to 500 W output, and cannot travel faster than 32 km/h (20 mph) on motor power alone on level ground.[12] In Alberta prior to July 1, 2009, the limits were 750 W and 35 km/h (22 mph), but presently match federal legislation.[13] Age restrictions vary in Canada. All require an approved helmet. Regulations may or may not require an interlock to prevent use of power when the rider is not pedaling. Some versions (e.g., if capable of operating without pedaling) of e-bikes require drivers' licenses in some provinces and have age restrictions. Vehicle licenses and liability insurance are not required. Generally, they are considered vehicles (like motorcycles and pedal cycles), so are subject to the same rules of the road as regular bicycles. In some cases, regulatory requirements have been complicated by lobbying in respect of the Segway PT.
The Class 3 Aventon Pace 500 urban e-bike has five levels of pedal assist and tops out at 28 mph. But the Pace has something not found on a lot of modern e-bikes. In addition to pedal power, it also has a throttle—in the case of the Pace, a small thumb paddle on the left side of the handlebar next to the control unit that holds at a steady 20 mph, no pedaling required. The bike itself has an aluminum frame, a swept-back handlebar, ergo grips, a sturdy kickstand, hydraulic disc brakes, 8-speed Shimano Altus shifting and gearing, 27.5x2.2-inch Kenda e-bike-rated tires, a saddle the size of Texas, and good ol’ classic city/commuter-bike geometry. It doesn’t come equipped with fenders or a rear rack, but you can add them. Power comes in the form of a 500-watt rear-hub motor, a semi-integrated battery on the down tube (with a range of up to 50 miles), and a backlit display unit mounted on the stem.
Controllers for brushed motors: Brushed motors are also used in e-bikes but are becoming less common due to their intrinsic lower efficiency. Controllers for brushed motors however are much simpler and cheaper due to the fact they don't require hall sensor feedback and are typically designed to be open-loop controllers. Some controllers can handle multiple voltages.
Maintenance of adequate tire inflation is the most frequent and troublesome concern for cyclists and many means and methods are employed to preserve pneumatic integrity. Thicker tires, thicker tubes, tire liners (of a number of rather impenetrable devices installed between the tire and tube), liquid sealing compounds squeezed into the tube, and automotive-style patch kits are all used to reliably contain the typical tire pressures of 40 to 60 pounds per square inch that are required for bicycle operation. Thin, light bicycle tires are particularly vulnerable to penetration and subsequent deflation caused by goat's heads and other burs, colloquially known as stickers. Inflation of bicycle tires to pressures higher than typical for automotive use requires special pumps. The complexity of bicycle tire maintenance and repair may cause many to not consider the bicycle for transport or leisure.
Bicycle shall mean (1) every device propelled solely by human power, upon which any person may ride, and having two tandem wheels either of which is more than fourteen inches in diameter or (2) a device with two or three wheels, fully operative pedals for propulsion by human power, and an electric motor with a capacity not exceeding seven hundred fifty watts which produces no more than one brake horsepower and is capable of propelling the bicycle at a maximum design speed of no more than twenty miles per hour on level ground.
On October 22, 2014 PA house bill 573 passed into law, which is Act 154, which changes the definition of "pedalcycle" (bicycle) in the PA state vehicle code. "Pedalcycle" is now defined as a vehicle propelled solely by human-powered pedals or a "pedalcycle" (bicycle) with electric assist( a vehicle weighing not more than 100 pounds with two or three wheels more than 11 inches in diameter, manufactured or assembled with an electric motor rated no more than 750 watts and equipped with operational pedals and travels at speeds less than 20 mph). This bill allows the usage of pedal assisted bicycles in PA that follow the adopted state guidelines.
I do not recommend hacking a bike into s-pedelec, i.e. make a 25km/h bike go at 45 or faster. If you have an accident you will be in trouble. Just get a legal version. In addition you will have good insurance. Of course, in countries like France or the UK that so far do not know S-Pedelecs, you will have to make a difficult moral choice.... At least, make sure that your rig is safe...
Photo: Could solar power be the future of electric bicycles? The large solar panel mounted over the back wheel of this experimental bike powers an electric motor connected by a chain drive to the back wheel, helping the rider when he doesn't feel like pedaling. Using clean, green solar power would remove the problem of having to charge electric bikes with electricity generated from fossil fuels—and help to extend their range significantly. Photo by Warren Gretz courtesy of US DOE/NREL.
Torque sensors and power controls were developed in the late 1990s. For example, Takada Yutky of Japan filed a patent in 1997 for such a device. In 1992 Vector Services Limited offered and sold an electric bicycle dubbed Zike.[7] The bicycle included Nickel-cadmium batteries that were built into a frame member and included an 850 g permanent-magnet motor. Despite the Zike, in 1992 hardly any commercial electric bicycles were available. It wasn’t until 1998 when there were at least 49 different bikes. Production grew from 1993 to 2004 by an estimated 35%. By Contrast, according to Gardner, in 1995 regular bicycle production decreased from its peak 107 million units. Some of the less expensive electric bicycles used bulky lead acid batteries, whereas newer models generally used NiMH, NiCd and/or Li-ion batteries which offered lighter, denser capacity batteries. The end benefits usually varied from manufacturer; however, in general there was an increase in range and speed. By 2004 electric bicycles where manufactured by Currie Technologies, EV Global, Optibike, Giante Lite, Merida, ZAP.
For many ebike owners, doing their ebike thing usually becomes more than a hobby and good exercise on the weekend with the riding club. It becomes a lifestyle, a utility machine, a darn fun piece of technology on two wheels. As the industry grows and becomes more popular, these unique bikes will be a daily part of many lives and mold into the framework of legal society.
Because the power is applied through the chain and sprocket, power is typically limited to around 250–500 watts to protect against fast wear on the drivetrain. An electric mid-drive combined with an internal gear hub at the back hub may require care due to the lack of a clutch mechanism to soften the shock to the gears at the moment of re-engagement. A continuously variable transmission or a fully automatic internal gear hub may reduce the shocks due to the viscosity of oils used for liquid coupling instead of the mechanical couplings of the conventional internal gear hubs. 

Electric bikes are becoming a convenient and fun way to commute around a city, but they can be pricey. The average e-bike can cost $3,000, with some models getting up to $5,000 or more. But these prices are dropping, as new models come onto the market — and if you don’t mind giving up some of the glossier, high-tech features like embedded digital displays, retractable cable locks, and and theft tracking and recovery, you can find a really good quality e-bike for under $1,500.