Recent Posts

Pages: 1 ... 4 5 [6] 7 8 ... 10
51
General controls / Re: How to Achieve an Exponential Curve from Linear Input
« Last post by deaks57 on August 11, 2023, 01:00:26 AM »
Profile_8pt
52
General controls / How to Achieve an Exponential Curve from Linear Input
« Last post by GreaseMonkey on August 11, 2023, 12:16:46 AM »
I'm using a J1939 joystick and a pair PWM Driver function blocks to control a bi-directional pump EDC using two output pins set to output mode 8 (Current control bidirectional).  I would like to filter the signal from the joystick to allow for extremely fine low-speed control for the first 3/4 of the joystick travel, then ramp up quickly in the last 1/4 to achieve full output speed at 100% input value.  This would allow the operator to have extremely fine control of the machine during operation(which only requires low speed), but then achieve full travel speed when moving the machine from one location to another.

My first thought was to map a curve into Microsoft Excel, then let Excel create a line of best fit to provide the corresponding equation.  I ended up with a 4th order polynomial equation that provides a nice smooth curve that fits my application, but the arithmetic blocks do not seem to have an exponential function that I could use to build that equation in GUIDE.

I feel like what I'm trying to achieve would be easy for an experienced programmer, but I'm just not sure how to go about it.  I could create categories using less than and greater than compare blocks and then adjust the multiplier in each condition to approximate the curve, but I'm guessing there's a better way to do it. 

Can anyone share a method that they've used for this type of control?  I've attached a picture of the curve I'm looking to achieve. I don't need to match this exact curve, but something close would be great. 

Thank you in advance,

Robbie

53
Communication / Re: CG150-2 Connectivity Problems
« Last post by GreaseMonkey on August 09, 2023, 04:22:18 PM »
I have had problems with an original CG150 in the past due to the lead. If I remember correctly it behaving in a similar way to what you are describing. I solved it by replacing the USB connector.

I have also had one die. In this case it wasn't detected by windows.

Glad to hear I'm not the only one.  I was tempted to cut off the connector and solder on a new one, but since we've only had the adapter for a few months and it was over $400, my boss didn't go for that idea.  Thankfully, our sales rep at our Danfoss distributor was extremely helpful and traded me for his personal CG150-2 so I could continue my project.  Strangely, after spending all morning fighting to get mine to connect, it started working 5 minutes before he arrived.
54
Communication / Re: CG150-2 Connectivity Problems
« Last post by acmall on August 09, 2023, 08:53:56 AM »
I have had problems with an original CG150 in the past due to the lead. If I remember correctly it behaving in a similar way to what you are describing. I solved it by replacing the USB connector.

I have also had one die. In this case it wasn't detected by windows.
55
Communication / Re: CG150-2 Connectivity Problems
« Last post by GreaseMonkey on August 08, 2023, 07:01:09 PM »
After a little more testing, I'm convinced my CG150-2 is faulty.  I've tried using it on three different computers, and none of them recognize the device properly or turn on any of the LED's on the CG150.  I'm guessing there's a faulty connection in the device somewhere. 

Has anybody else had trouble with a CG150?
56
Which type of control do you have on the S90 pump and how so you have it wired up?

We've got a dual coil EDC, but I'm only driving one side as we only need operation in one direction. 

I ended up getting this to work using the standard PWM driver with a little bit of logic similar to what's used in the post I linked above.  All of the problems were occurring within the Danfoss hardware blocks.
57
Communication / CG150-2 Connectivity Problems
« Last post by GreaseMonkey on August 08, 2023, 04:09:26 PM »
Hello Everyone,

I'm having trouble getting the PLUS+1 Service Tool to recognize our CG150-2 interface device.  Windows recognizes the device when I plug it in and gives me a little chime sound, but when I try to use the PLUS+1 Service Tool, it only shows the "CG150 Virtual" devices.  This happens intermittently with both my desktop and laptop.  When it occurs, none of the lights on the CG150 come on.  If I unplug and plug in the device enough times, eventually the LED's light up and the device starts working normally.  At that point, it will work fine for hours or days without any trouble.

I left my office yesterday with the CG150 connected to my laptop and verified that it worked by running a service tool application.  This morning, I went out to one of our machines to test it, and I can't get the PLUS+1 Service Tool to register the device.  It could be something as simple as a bad USB connector, but I'm skeptical of that possibility since windows detects the device every time it's plugged in.  From searching, I see that there have been problems in the past relating to USB 3.0.  Maybe I've just got a defective CG150-2.  We've only had it for a few months, but this issue seems to be getting worse over time.

Here's what I've tried:
-Completely uninstalling and reinstalling Danfoss update center and service tool
-Installing the CG150 drivers from the update center


Has anybody else experienced this type of issue? 
Thanks in advance.

***Edit*****

I just found that windows is recognizing the device as "ROM Recovery" and says no driver has been installed.  Since I've installed all of the CG150-2 drivers from the download center, I'm pretty confused as to why this is happening. 
58
Function Library / Re: Identifying Faults with Danfoss Hardware Pump Function Blocks
« Last post by acmall on August 07, 2023, 09:05:03 AM »
Which type of control do you have on the S90 pump and how so you have it wired up?

59
Thank you again for the suggestion. 

After speaking with one of the programmers at our Danfoss distributor, I decided to throw out the pre-made hardware function blocks and build my own.  They have half a dozen programmers, and he said none of them use the Danfoss hardware blocks because they include too many unnecessary features and are prone to errors. 

After a few minutes of tinkering, I was able to build my own logic to run the PWM outputs.  However, I'm getting full signal in one direction and only 25-30% of the end current value in the reverse direction.  I'm not sure why that's happening, but I'm guessing that the A output pin is not properly sinking the current when it's flowing in the B to A direction.  If you feel like sharing a screenshot of your basic bidirectional PWM pump control, I would love to see it.  I totally understand if not. 

Thank you again for the help!

****Edit:  A little bit of searching led me to this thread, which shows a good example of a bi-directional PWM driven circuit that is nearly identical to the one I built.  I'm guessing I've got something set up wrong with the outputs as I was trying to use them all in PinConfig 4 instead of using the H-Bridge pin configuration 8.
https://www.plus1forum.danfoss.com/index.php?topic=803.msg2339#msg2339


60
Wish I could help you further but I do not have any experience with the function blocks you are using. At least you have narrowed it down to the function block itself!

Taking a look at the documentation for the series 90 EDC block I see there is a status port which will give you a detailed explanation of any faults that occur within the block. I'd probably check the value of the status port after the output is cutting off. If that is the FB you are using, that is.

I have always used my own logic to create the output signal then PWM output drivers for to the output pin to control our pumps.
Pages: 1 ... 4 5 [6] 7 8 ... 10