help with IR2110 chips

Maglatron

Jul 12, 2023
2,025
Joined
Jul 12, 2023
Messages
2,025
In a way because I'm relating to both using the bridge rectifier and I'm using the IR2110's
 

bertus

Moderator
Nov 8, 2019
3,836
Joined
Nov 8, 2019
Messages
3,836
Hello,

Are the coils ready made or are they made by yourself?
When ready made I would expect about the same voltage from each coil.
What kind of magnets do you use?

Bertus
 

Maglatron

Jul 12, 2023
2,025
Joined
Jul 12, 2023
Messages
2,025
N52 Neo's 25mm x 4mm coils made by me till I got bored of turning took pictures but not as many as I wanted getting those pics off of the camera later on about 1 hour when I rebuild out of more robust parts will be gettting pre-wound coils
got some dodgy arduino's too here they are
they don't come up with a com port in the arduino IDE don't know how to make them work
any how the lack of photo's will be sorted in the next few days due to time constraints couln't get all done that I wanted, tut!
 

Maglatron

Jul 12, 2023
2,025
Joined
Jul 12, 2023
Messages
2,025
here is a few pictures on the screen in yellow reads RPM 525 machine vibrates a bit! pic1 and pic2 shows something unrelated theTL074 the mic, preamp and amp with a reference ground pic3 show me tinning a wire pic4 5 6 7working on the bar graph displays again unrelated pic8 is the display for the rpm meter pic9 shows an overview of the project pic10 shows the usb slots that I made along with the IR2110 H-bridge stuck to a piece of cardboard pic11 shows the backside of the maching pic12 the frontside pic13 shows the arduino that controls the electronic speed controller with a pot to control the speed pic14 another overview and finally the pic15 shows my paint drawing of the wheel and the magnets 1/3rd out of phase was going to do the AC readings from the coils today but run out of time on my session!:)
 

Attachments

  • DSCF0207.JPG
    DSCF0207.JPG
    372.4 KB · Views: 3
  • DSCF0208.JPG
    DSCF0208.JPG
    388.6 KB · Views: 3
  • DSCF0210.JPG
    DSCF0210.JPG
    297.7 KB · Views: 3
  • DSCF0212.JPG
    DSCF0212.JPG
    388.5 KB · Views: 3
  • DSCF0213.JPG
    DSCF0213.JPG
    325.6 KB · Views: 3
  • DSCF0214.JPG
    DSCF0214.JPG
    316.8 KB · Views: 2
  • DSCF0215.JPG
    DSCF0215.JPG
    477.1 KB · Views: 3
  • DSCF0216.JPG
    DSCF0216.JPG
    218.8 KB · Views: 6
  • DSCF0217.JPG
    DSCF0217.JPG
    331.2 KB · Views: 5
  • DSCF0218.JPG
    DSCF0218.JPG
    317.1 KB · Views: 5
  • DSCF0219.JPG
    DSCF0219.JPG
    373.4 KB · Views: 5
  • DSCF0220.JPG
    DSCF0220.JPG
    379 KB · Views: 6
  • DSCF0221.JPG
    DSCF0221.JPG
    303.3 KB · Views: 6
  • DSCF0222.JPG
    DSCF0222.JPG
    342.7 KB · Views: 4
  • wheel.png
    wheel.png
    116.4 KB · Views: 3
Last edited:

Maglatron

Jul 12, 2023
2,025
Joined
Jul 12, 2023
Messages
2,025
hopefully take more pics tomorrow and show some digits on the readings!
 

Maglatron

Jul 12, 2023
2,025
Joined
Jul 12, 2023
Messages
2,025
N52 Neo's 25mm x 4mm coils made by me till I got bored of turning took pictures but not as many as I wanted getting those pics off of the camera later on about 1 hour when I rebuild out of more robust parts will be gettting pre-wound coils
got some dodgy arduino's too here they are
they don't come up with a com port in the arduino IDE don't know how to make them work
any how the lack of photo's will be sorted in the next few days due to time constraints couln't get all done that I wanted, tut!
there is one coil that is just an untouched coil factory wound, It's at the bottom on the back I used ferite welding rods for the core the rest of the three coils are wound around bolts and the Neo's are doubled up so 8mm of magnet! on both sides of the wheel
 
Last edited:

Maglatron

Jul 12, 2023
2,025
Joined
Jul 12, 2023
Messages
2,025
so those R3 UNO's that I mentioned do not come up with a port number normally port 3 or port4 and when trying to upload the squarewave code to the nano it comes back as
avrdude: ser_open(): can't set com-state for "\\.\COM3"
An error occurred while uploading the sketch
does anyone know whats up?
this is the code I'm trying to use:
C:
#include <TimerOne.h>

const int pwmPin1 = 9;   // PWM output for signal 1
const int pwmPin2 = 10;  // PWM output for signal 2

const long frequency = 50; // Frequency in Hz
const long period = 1000000 / frequency; // Period in microseconds
const long deadTime = 50;   // Dead time in microseconds

void setup() {
  pinMode(pwmPin1, OUTPUT);
  pinMode(pwmPin2, OUTPUT);

  // Initialize Timer1
  Timer1.initialize(period);

  // Set up PWM outputs with complementary signals and dead time
  Timer1.pwm(pwmPin1, 0);  // Initialize with 0% duty cycle
  Timer1.setPwmDuty(pwmPin2, 0);

  // Set up the ISR to control the PWM signals and add dead time
  Timer1.attachInterrupt(updatePWM);
}

void updatePWM() {
  static bool toggleState = false;

  // First half of the period (signal 1 is HIGH, signal 2 is LOW)
  if (!toggleState) {
    Timer1.setPwmDuty(pwmPin1, 511);  // 50% duty cycle for signal 1
    delayMicroseconds(deadTime);      // Dead time
    Timer1.setPwmDuty(pwmPin2, 511);  // 50% duty cycle for signal 2
  }
  // Second half of the period (signal 2 is HIGH, signal 1 is LOW)
  else {
    Timer1.setPwmDuty(pwmPin2, 511);  // 50% duty cycle for signal 2
    delayMicroseconds(deadTime);      // Dead time
    Timer1.setPwmDuty(pwmPin1, 511);  // 50% duty cycle for signal 1
  }

  toggleState = !toggleState; // Toggle between signal 1 and signal 2
}

void loop() {
  // No logic in the loop. PWM signals are handled in the ISR.
}
 

Maglatron

Jul 12, 2023
2,025
Joined
Jul 12, 2023
Messages
2,025
Hello,

You keep talking about a capacitor. What is the capacity and what is powering the capacitor?
A schematic would also help.

Bertus
you can see the capacitor bank in lots of the photo's!
 

Maglatron

Jul 12, 2023
2,025
Joined
Jul 12, 2023
Messages
2,025
How to I model the 1/3rd out of phase in ltspice please! I'm going to take measurments of the ac off of the coils today and try to simulate it's behaviour in the LTSpice program
 

Maglatron

Jul 12, 2023
2,025
Joined
Jul 12, 2023
Messages
2,025
Use the Phi(deg) parameter:
View attachment 62557
awsome guy!! can you provide an example between to voltage sources please? I'm going for a session in less than an hour so if you can shed some light on how to get the arduino's working that would be great too! thank you
so I think this is right so far
1706090637532.png
 
Last edited:

Maglatron

Jul 12, 2023
2,025
Joined
Jul 12, 2023
Messages
2,025
so did not make readings because one part failed and have to wait for the super glue to go off before I run it again not risking running it till completly dry I measured the resistances though front top 13ohm front side 10ohm back bottom 59ohm and back side 54ohm and one voltage reading before it broke down was on the back bottom and it read 40.5vac this is at 550 rpm, so need to measure the ac from the other 3 when I get it back up and running! probs not today! also the arduinos are not playing ball so pretty pissed today nevermind!
 
Last edited:

Maglatron

Jul 12, 2023
2,025
Joined
Jul 12, 2023
Messages
2,025
so I have some results them arduinos are dodgy a NANO and 4 of my knock off UNO R3 don't work uploaded to my old MEGA 2560 fine will create a Spice model now was running at 600 rpm so that's 40Hz back in 10!
 

Maglatron

Jul 12, 2023
2,025
Joined
Jul 12, 2023
Messages
2,025
so this is what I have the capacitor does not charge like in real life, in real life it charges to 55-60v
 

Attachments

  • modelling machine.asc
    3.2 KB · Views: 1
  • modelling machine.asc
    3.8 KB · Views: 0
Last edited:

Maglatron

Jul 12, 2023
2,025
Joined
Jul 12, 2023
Messages
2,025
look at this see what you recon. As you see it does not work can anybody render it to full working order?
 

Attachments

  • modelling machine with coils as voltage source.asc
    11.2 KB · Views: 1
Last edited:

Martaine2005

May 12, 2015
5,276
Joined
May 12, 2015
Messages
5,276
It’s only a simulator.
Real world characteristics kick in.
Temperature, tolerances, resistance, inductance, capacitance,reactance. It all makes a difference.
Is a driving simulator the same as driving on the road?.
 

Maglatron

Jul 12, 2023
2,025
Joined
Jul 12, 2023
Messages
2,025
It’s only a simulator.
Real world characteristics kick in.
Temperature, tolerances, resistance, inductance, capacitance,reactance. It all makes a difference.
Is a driving simulator the same as driving on the road?.

did you see this post I posted it like seconds before your comment?
look at this see what you recon. As you see it does not work can anybody render it to full working order? so the ac coils power the circuit I've provided both the schematics working one is "done_ski" and the one I want working is the "modelling machine with..."
 

Attachments

  • modelling machine with coils as voltage source.asc
    11.2 KB · Views: 0
  • done_ski.asc
    7.4 KB · Views: 0
  • modelling machine.asc
    3.8 KB · Views: 1
Last edited:
Top