![]() |
pic: Small CIM in wheel swerve
|
Re: pic: Small CIM in wheel swerve
4.6lbs per module? I think you've finally made a swerve that can be lighter than a WCD.
Much applause. Is the two-plate design lighter than just flipping the motor over and using a planetary gearbox? EDIT: Is that a custom gear on the bottom? DOUBLEEDIT: Oh wait, MiniCIM. Dang, that was almost the dream. |
Re: pic: Small CIM in wheel swerve
Are you certain your materials are set correctly? A mini CIM weighs 2.16lbs according to VEX. If they are set correctly and that is in fact how light the module is, than I must say, very impressive.
|
Re: pic: Small CIM in wheel swerve
Quote:
Quote:
Quote:
Quote:
Maybe one day. Quote:
|
Re: pic: Small CIM in wheel swerve
What motors turning the left right motion? Pg or 750 maybe?
|
Re: pic: Small CIM in wheel swerve
Quote:
|
Re: pic: Small CIM in wheel swerve
Quote:
Also, what is the light colored gear to the lower right of the main rendering? I don't see what else it engages, and I also don't see it in the reflection. |
Re: pic: Small CIM in wheel swerve
Great work, would you be willing to share STEP files so we could take a look?
|
Re: pic: Small CIM in wheel swerve
Quote:
That makes for a 3-stage reduction in total, so I am inclined to agree that a worm gear would be a viable option here. |
Re: pic: Small CIM in wheel swerve
Quote:
|
Re: pic: Small CIM in wheel swerve
Bryce,
Really nice concept once again. Are you using a Silver Thin Bearing to support the the pivot assembly? The planetary drive inside the wheel is a great idea, are there two stages there for ~9x reduction? |
Re: pic: Small CIM in wheel swerve
Quote:
|
Re: pic: Small CIM in wheel swerve
With a large steering gear like that you can't use an absoule encoder.
Team 141 at championships had a similar large steering gear setup. They used an incremental encoder to count steering input revs, but also had a pivot extension that triggered a proximity switch to calibrate the nominal forward position. Really elegant and beautifully machined swerve drive. They used a Kaydon brand bearing, very similar to the Silverthin ones. I had the pleasure of talking with the 141 students and mentor for quite a while, really an exceptional team. |
Re: pic: Small CIM in wheel swerve
Quote:
|
Re: pic: Small CIM in wheel swerve
On 696, we had a large 84T 20DP steering gear, and a 1:3.5 ratio between that and our MA3 absolute encoder. That is, the steering encoder would pass through 3.5 rotations for every one rotation of the swerve module. We had to physically set the wheels pointing straight at the start of each match (which is probably good practice anyhow), and there was a good bit of math and code involved, but we were able to very reliably track the position of our wheels at all times, resulting in fine control and operation.
Was it easy or friendly to do it this way? No. Is it possible? Yes. Would we run anything other than a 1:1 ratio to an absolute encoder again? Maybe not. It's kind of a pain. We likely will look into using a zeroing sensor and incremental encoder next time if we cannot maintain a 1:1 ratio with an absolute encoder. |
Re: pic: Small CIM in wheel swerve
Quote:
|
Re: pic: Small CIM in wheel swerve
Quote:
Since there's really never a need for analogTriggers save for this one strange case, that was broken too. Thank god for the fantastic people at WPI that got it fixed so quickly. I know sanddrag said that it worked well enough at competition, I have to say the headache caused by this is greater than he may have noted, and took a lot of time out of the season. It's generally just not a good idea to do incremental sensing of anything if it is at all possible to have absolute sensing. Zeroing sensors are a must. |
Re: pic: Small CIM in wheel swerve
Quote:
We never have to manually zero sensors, there are no magic numbers in code, and we know we can replace a sensor/system at any time with no new work required. Every position system 973 has ran all the way back to 2012 has been on an incremental sensor that assumes a zero at start (plus sometimes a manual or automated routine to hardstop zero). We always mean to add the zeroing sensors, but never do as the functionality isn't needed. |
Re: pic: Small CIM in wheel swerve
Quote:
Let A be the encoder angle reading in degrees (0 to 360 clockwise) at the previous sample, and B be the encoder angle reading in degrees at the current sample. Then: D = B-A; |
Re: pic: Small CIM in wheel swerve
Quote:
Quote:
I kept it to one stage in this design, but it's likely geared too tall for most situations. It's a 5.33 to one reduction on a 3.5'' wheel. Quote:
Quote:
Quote:
|
Re: pic: Small CIM in wheel swerve
Quote:
Quote:
|
Re: pic: Small CIM in wheel swerve
Quote:
I was suggesting that you could have the software take the point where the encoder would read zero as the reference for the match. That way, you wouldn't have to worry about getting the swerves perfictly lined up before each match. I'm thinking that my explanation may still not be good enough, but let me know. |
Re: pic: Small CIM in wheel swerve
Quote:
|
Re: pic: Small CIM in wheel swerve
Quote:
For those of you discussing "drift" with incremental encoders, are you referring to an accumulation of lost counts? Does this happen when the direction of steering reverses, and is this accumulation of lost counts biased toward one direction? Would the solution to have something like a hall effect sensor for zeroing, and reset the count every time you cross it? |
Re: pic: Small CIM in wheel swerve
Quote:
With absolute encoders for steering, there are at least two common ways to deal with steering alignment: hardware mounting calibration Mount, adjust, and lock down each steering encoder so that each encoder reads zero when its associated wheel is properly aligned. With this approach, there is no need to align the wheels perfectly at the start of a match. startup zero offset During setup for each match, carefully align the wheels to their zero steering position. At startup, read and store a zero offset reading for each steering encoder, and apply that offset to the encoder reading. |
Re: pic: Small CIM in wheel swerve
Quote:
However, if you are there are two likely causes. 1) Mechanical slip. Somehow the encoder is slipping, easy to fix w/ better design. 2) Voltage brownout causing the supply voltage to the encoders to drop out. We use a regulated supply for all of our encoders for this reason. |
Re: pic: Small CIM in wheel swerve
Quote:
Adam listed two likely causes. A third, fourth, fifth, and sixth might be 3) using an encoder outside its operating range (edges per second), 4) a damaged encoder (dirty / scratched optical disk), 5) improperly assembled / mounted (optical disk alignment / concentricity), and 6) incorrect programming (resetting the counts rather than letting the FPGA accumulator run freely). |
Re: pic: Small CIM in wheel swerve
Quote:
|
Re: pic: Small CIM in wheel swerve
If you could work out the incremental encoder setup, it would free you up to put a slip ring module at the top. That trade off would solve the motor wiring issue, and not restrict you to partial rotations.
|
Re: pic: Small CIM in wheel swerve
Quote:
You begin by choosing an integer gear ratio for the encoder, because that will make things much easier. Then you mount the encoder or slip the gears so that when the full circle of the swerve is cut into slices of pie, one of the edges of a pie slice ends up facing true zero. Then you write software that takes that edge to be the zero for the match. So now, before each match you don't have to get the wheels perfectly aligned, you just have to aim it in the sector that is to one side of the zero position. It's just an idea, and maybe that was already blatantly obvious, or maybe its not useful, but I figured I would try to explain my idea so that I could at least find out if people though it was useful or not. Let me know If I need to try to explain it one more time. Quote:
(P.S. Thanks. Your post is much more constructive and helpful with the edit.) |
Re: pic: Small CIM in wheel swerve
Quote:
Quote:
Code:
/** |
Re: pic: Small CIM in wheel swerve
Deleted
|
Re: pic: Small CIM in wheel swerve
Quote:
|
Never trust inventors weight simulation. We tried it for our robot with correct materials and it was off by about 20 lbs
|
Re: pic: Small CIM in wheel swerve
Quote:
|
Re: pic: Small CIM in wheel swerve
Quote:
We were about 10 lbs under the real weight in the CAD. Next year I'm planning for 100lb bot, to leave a wide margin. |
Re: pic: Small CIM in wheel swerve
Quote:
|
Re: pic: Small CIM in wheel swerve
Quote:
|
Re: pic: Small CIM in wheel swerve
Quote:
http://www.amazon.com/Sunwin-Wires-2...ords=Slip+ring Company Specs http://www.moflon.com/mw.php?a=1 Just one option, lots of other low cost (no-mercury) models. Moog would be nice, but really expensive. |
Re: pic: Small CIM in wheel swerve
Quote:
My preferred method (if we're cutting it close), since I think we're unlikely to get complete enough assemblies to just use the CAD model, is to create a spreadsheet and list out every part and its weight. For custom parts I get the weights off the CAD parts, and for COTs ones I just look at the supplier's website. This way I can ensure I'm not missing a part that ends up to weigh a ton. In all, even if we have the proper weights for all COTs parts that we add into CAD, and the correct materials for all custom parts, I wouldn't be surprised if the CAD was several pounds under because of the bolts / nuts / wires / pneumatic tubing / chain / belts / all other parts we don't add in. |
Re: pic: Small CIM in wheel swerve
Quote:
|
Re: pic: Small CIM in wheel swerve
Quote:
Out of curiosity, why would you ignore the fact that 30A breakers are totally a thing and also require your drive to be on a 40A breaker? |
Re: pic: Small CIM in wheel swerve
Quote:
|
Re: pic: Small CIM in wheel swerve
You may be able to find 40 amp slip rings, but all the ones I've seen are large and very expensive.
Both the M1330 and the MW1440 (4 wires, 30 amp per contact) both use 12 gage wire. Thus the wire size meets the R38 requirement for 40 amps. R 37 states that you may use up to a 40 amp breaker for motor controllers, thus a 30 amp breaker to match the contacts is thus also permitted and fully compliant. For a 40 amp rating; It seems like it could be permissible (R39) to splice two contacts in parallel (w/ MW1440) to achieve the 40+ amp load rating. Would be a good area for a rule interpretation, as it would make slip rings a more available and useable device. [U]R39 Branch circuits may include intermediate elements such as COTS connectors, splices, COTS flexible/rolling/sliding contacts, and COTS slip rings, as long as the entire electrical pathway is via appropriately gauged/rated elements.[/u] Probably enough hijacking of this Swerve Drive thread on encoders and slip rings. |
Re: pic: Small CIM in wheel swerve
Quote:
As promised: http://www.ebay.com/itm/200661012580 As with most things: Light, Cheap, Legal. Pick 2. |
Re: pic: Small CIM in wheel swerve
Quote:
|
Re: pic: Small CIM in wheel swerve
Quote:
|
Re: pic: Small CIM in wheel swerve
Quote:
|
Re: pic: Small CIM in wheel swerve
Quote:
|
Re: pic: Small CIM in wheel swerve
On the subject of weight being off--the other thing whole robot models ignore, besides nuts and bolts, is wiring, and sometimes pneumatics as well. (I have never been able to find a CAD model for a compressor.) 6 gauge wire is heavy, and smaller gauge adds up. Also, nuts and bolts are steel, which is more than 3x as dense as aluminum. (.30 lbs/in^3 vs. .098 lbs/in^3 Rachel knows these numbers by now :p ) We took off a handful (literally, I held them, maybe 10?) of bolts and t-nuts, that we had added as spares in our 80-20, and I would estimate it lost us a pound.
The most accurate way I found was to just weigh the base in real life, and assume that weight for that assembly. All other assemblies were a lot closer to reality. |
Re: pic: Small CIM in wheel swerve
Quote:
http://vi.raptor.ebaydesc.com/ws/eBayISAPI.dll?ViewItemDescV4&item=200661012580&cat egory=121837&pm=1&ds=0&t=1431397986744 Moog has high current contacts, but the price of four of those would be in the four figures. Not much out there that meets all the FRC needs in a small inexpensive package. |
Re: pic: Small CIM in wheel swerve
Quote:
|
Re: pic: Small CIM in wheel swerve
Quote:
I'm going to assume that the amperage never exceeds either 40A or 30A on the snap breakers, and that power scales linearly to acceleration. Further, there's no mechanical loss of power due to friction ect. In it's simplest form, a DC motor is really just a square loop of current (multiple loops) inside of a Magnetic Field (referred to as B-field from this point on). Now the equation for Force when there is a line of current and a magnetic field is (Equation 1)What's important is that the Force is proportional to current flowing through the wire, assuming that the length of the loop and B field stay the same. Since the current flows in opposite directions on each side of the loop, the force produced by each side sums. Torque is equal to r x F (radius cross force) (I'm skipping directions for the vectors because I don't have the time to draw everything out) or r*F. Now, Power in rotational motion is Prot = T*omega (Torque*Rotational Velocity) I'm going to pull from this webpage. You can go there to see how this next equations/graph were derived. Power for a DC motor with respect to speed and torque end up being quadratics. ![]() and they produce this graph ![]() This curve is for a Green Maxon Motor, but the CIM shares a very similar power curve (as do many DC motors). We know that Power is dependent upon both Torque and Omega. We also know that Torque is equal to rI*integral dlxB. So, assuming that B, dl (or essentially L), r, and omega remain the same, power is affected by changes in the magnitude of current. If we limit the CIM to 40Amps, it will produce a peak power. However, if the CIM is limited to 30Amps, it will produce a lower peak power because it has less current flowing through the loop that creates the torque. However, our power systems aren't limited to only 40 amps, you can exceed the amperage on our breakers by quite a bit. I have no idea exactly how much a 30A vs 40A breaker will affect overall power output, but it's enough that we have noticed acceleration differences. So barring any of the current limitations discussed above, what else puts a swerve down on power compared to other FRC drive-trains (primarily 4/6/8wd to keep it simple)? Here's the main one that comes to mind. In a 6wd all the wheels are chained together, and one gearbox of (usually) multiple motors powers all the wheels on that side. So that when your robot is being lifted/losing normal force (under defense ect.) you don't lose the power. Since (most) swerves now days have an individual module per wheel (and a single motor), this benefit is lost. When the front is off the ground, the power being produced by those wheels is simply lost. Whereas in a 6wd, that power is still being put to the ground by the rear 1-2 wheels on each side. Obviously, this ignores things like slippage of the wheels, drivetrain ineffiencies, and other trade-offs that make it a bit more complicated. Power also doesn't scale linearly to more acceleration iirc, so keep that in mind as well. Edit: Let's say each swerve module has 1 CIM, this cim produces a power P. When all 4 wheels are on the ground, the drivetrain is producing 4P. When 1-2 wheels are off the ground, the drivetrain is producing 2-3P. With a 6wd, assuming each side has 2 motors, the drivebase has a power of 4P. When 2 wheels are off the ground, the base is still producing power 4P because the wheels are connected and at least one is still touching the ground. (again, this is simplified a bit) |
Re: pic: Small CIM in wheel swerve
Quote:
The thing about 4 wheels on the ground makes perfect sense, but unless you're planning on having a pushing match halfway on a table it's largely irrelevant. Just use sailcloth for bumber material and slide away perpendicular to the opponent's robot; presumably that doesn't take all 4 motors to do, and once you're on the ground you have plenty of power to flee. |
Re: pic: Small CIM in wheel swerve
You can skip the whole lesson on Maxwells equations and simply use the quite linear DC motor equations:
Current = ((Stall Current – Free Current) / Stall Torque) x Torque Load + Free Current Torque Load = (Current – Free Current) x Stall Torque / (Stall Current – Free Current) Speed = - (Free Speed / Stall Torque ) x Torque Load + Free Speed Power = 3.14 x Speed x Torque Load / 30 The efficiency is simply power out over power in, Eff = Power / (Current x Voltage) For a CIM motor: Free Speed: 5,310 rpm (+/- 10%) Free Current: 2.7A Maximum Power: 337 W (at 2,655 rpm, 172 oz-in, and 68A) Stall Torque: 2.42 N-m (343.4 oz-in) Stall Current: 133A You run peak current at the highest torque load. As an aside, it's no mystery why six CIM drives pop their main breakers with regularity. |
Re: pic: Small CIM in wheel swerve
If you are discussing power input and swerve don't forget the steering motors. In a pin and hard action, they will draw considerable current in addition to the drive motors. Do not worry about tripping breakers. The Roborio will invoke brown out protection long before a breaker trips. For this year no team should have had problems with brown out and drive. If we go back to a 2014 game teams better look at where on the power curve they design and look at total robot power budgeting. We developed a CVT swerve module last summer. There was no need for it this year. We will be revisiting it again this summer. With a CVT the total gearing reduction increases as the load increases keeping the drive power input in a safer zone. Read the Roborio brown out doc and enforce power management in future robot design process. Of course if we have a 2014 like game next year why would you use a minicim swerve.
|
Re: pic: Small CIM in wheel swerve
Quote:
I thought there might be more to it. I'm ok trading some pushing power for simpler modules. (As a programmer I find designing with bevel gears to be far more difficult than slip rings) If you're pushing with a swerve you're probably doing something wrong. |
Re: pic: Small CIM in wheel swerve
Quote:
Out of curiousity, what else are you thinking when you said there's "more to it"? Quote:
|
Re: pic: Small CIM in wheel swerve
Quote:
Acceleration is also a function of code/driving/operator interface. All too often I see swerves driven like tanks. Go to point, pivot wheels, go sideways, pivot wheels again, go back to going forward. If you watch how teams who have mastered swerve (ok, I'm a 16 fan boy, I'll admit it) they tend to be much more fluid and rely less on raw power to accelerate from 0 in that direction. 254 does similar things when it comes to tank drives, it's why they seem to get away with gearing so much higher than other people. Basically, while being able to pour more power for longer may seem like a good solution to the acceleration problem there's a fair bit more to it and utilizing it will mean your motors run cooler, your batteries last longer, and you can STILL out swerve most people. That all being said, if I could easily find a 40A rated slip ring for comparable weight/cost of the 30A I'd choose it every time. But if I given the choice between a more complicated module (bevel), more complicated code (limit rotations), and limited continuous current (30A breaker) I'd choose limited current every time. But I'm a software engineer, I have a certain set of criteria I apply to decisions. Other folks with different backgrounds might make different decisions. |
Re: pic: Small CIM in wheel swerve
Quote:
When 3946 did mecanum (Aerial Assist, not our best tactical call), we had all of the translation in a single joystick, and rotation on the left and right "triggers" of the xBox controller. This did encourage a bit of combination maneuver - you could move towards the ball or goal while simultaneously rotating. Even I was able to do both at the same time within a couple of minutes when I did a demo at my office department's spring picnic. I'd personally like to have done a joystick with a long (+/- 60 to 90 degrees) proportional twist axis, but I wasn't mentoring programming that year, and I understand that we didn't have any joysticks up to the task, in any event. Does anyone have any insight on what 254 (or any other more "fluidly" driving team) uses to control their swerves or holonomic drives? |
Re: pic: Small CIM in wheel swerve
Quote:
|
Re: pic: Small CIM in wheel swerve
Quote:
|
Re: pic: Small CIM in wheel swerve
Quote:
I know 16's controls encourage their drivers to drive in the long arcs you often see them do. I don't have nearly enough stick time with a bomb squad robot to explain it, hopefully I can get Jefferson to explain it a bit. |
Re: pic: Small CIM in wheel swerve
Quote:
Code:
|
Re: pic: Small CIM in wheel swerve
Quote:
|
Re: pic: Small CIM in wheel swerve
Quote:
|
| All times are GMT -5. The time now is 07:46. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi