Search found 23 matches

by NigmaTech
Sat Jun 13, 2009 7:46 pm
Forum: Advanced Simulink & RTW Questions
Topic: Another method of gyro integrating.
Replies: 26
Views: 11843

Re: Another method of gyro integrating.

Hi Lubin! There's nothing new. I've defended my Master's thesis. IMU project is closed (I hope just temporarily). I'm planning to start new IMU project in a few months and fix one's attention on it only. This time I'm thinking about using 3-Axis Magnetometer from Sparkfun too: http://www.sparkfun.co...
by NigmaTech
Thu Sep 25, 2008 3:56 pm
Forum: Advanced Simulink & RTW Questions
Topic: Another method of gyro integrating.
Replies: 26
Views: 11843

Re: Another method of gyro integrating.

How do You think, what's the reason of this behavior?
by NigmaTech
Thu Sep 25, 2008 3:48 pm
Forum: Advanced Simulink & RTW Questions
Topic: Another method of gyro integrating.
Replies: 26
Views: 11843

Re: Another method of gyro integrating.

It looks that:
strange.png
Lines:

Blue - integrated data complementary filtered
Green - accelerometer X-axis
Red - accelerometer Z-axis
and this color between blue and green - gyroscope Y :wink:
by NigmaTech
Thu Sep 25, 2008 3:31 pm
Forum: Advanced Simulink & RTW Questions
Topic: Another method of gyro integrating.
Replies: 26
Views: 11843

Re: Another method of gyro integrating.

The same error appears during using Complementary filter.
by NigmaTech
Thu Sep 25, 2008 3:07 pm
Forum: Advanced Simulink & RTW Questions
Topic: Another method of gyro integrating.
Replies: 26
Views: 11843

Re: Another method of gyro integrating.

OK, Kalman is working, but something's going wrong.
1. IMU can't be longer than 1-2 seconds in near-horizontal position. If it happened figure displays value "-1" and do not move any more. I must to reset dsPIC.

2. There is still drift.
by NigmaTech
Thu Sep 25, 2008 12:07 pm
Forum: Advanced Simulink & RTW Questions
Topic: Another method of gyro integrating.
Replies: 26
Views: 11843

Re: Another method of gyro integrating.

This error appers, just when I'm starting sending data from dsPIC to Matlab (not durring connecting): ??? Attempted to access s_control_pos(1); index out of bounds because numel(s_control_pos)=0. Error in ==> D:\Program Files\MATLAB\R2007b\pic\blocks\RS232_analyzBloc.p>RS232_analyzBloc at 75 Error i...
by NigmaTech
Thu Sep 25, 2008 10:55 am
Forum: Advanced Simulink & RTW Questions
Topic: Another method of gyro integrating.
Replies: 26
Views: 11843

Re: Another method of gyro integrating.

I've removed integrator block before Kalman, Low Pass filters too and nothing changes. dsPIC still displays value "-1" on figure. I'm using 9600 baud rate because when I'm trying to set faster rate, Matlab displays error durring connection: ??? Attempted to access s_control_pos(1); index out of boun...
by NigmaTech
Wed Sep 24, 2008 11:39 pm
Forum: Advanced Simulink & RTW Questions
Topic: Another method of gyro integrating.
Replies: 26
Views: 11843

Re: Another method of gyro integrating.

Hi Lubin!

Could you to correct my model? I've compiled it, but dsPIC still displays value -1 on figure (via RS-port), durring random move of IMU. Whats wrong?
by NigmaTech
Wed Sep 24, 2008 10:37 pm
Forum: Advanced Simulink & RTW Questions
Topic: Another method of gyro integrating.
Replies: 26
Views: 11843

Re: Another method of gyro integrating.

Hi Lubin!

How to compile the file? I have the following error:
error.png
by NigmaTech
Wed Sep 24, 2008 9:24 pm
Forum: Advanced Simulink & RTW Questions
Topic: Another method of gyro integrating.
Replies: 26
Views: 11843

Re: Another method of gyro integrating.

Hi Lubin!

How to use subsystem block "Simplified Kalman for publi" from IMU_Simulation.mdl ??
Bez nazwy.jpg
Bez nazwy.jpg (4.32 KiB) Viewed 11856 times
Where is definied matrix Az, Ts, Kz... ?? How to use it?
by NigmaTech
Mon Sep 22, 2008 12:12 am
Forum: Advanced Simulink & RTW Questions
Topic: Fuzzy Logic..
Replies: 1
Views: 1660

Fuzzy Logic..

Hi Lubin!

Is that possible to use Fuzzy Logic Toolbox and your blockset together in dsPIC?
by NigmaTech
Thu Aug 21, 2008 9:22 am
Forum: Advanced Simulink & RTW Questions
Topic: Another method of gyro integrating.
Replies: 26
Views: 11843

Re: Another method of gyro integrating.

Dear Lubin,

I've got folowing error when trying to open IMU_Simulation.mdl:
error.jpg
error.jpg (30.62 KiB) Viewed 11898 times
by NigmaTech
Thu Aug 14, 2008 12:12 pm
Forum: Advanced Simulink & RTW Questions
Topic: Another method of gyro integrating.
Replies: 26
Views: 11843

Re: Another method of gyro integrating.

I've updated this post. New pictures. :)
by NigmaTech
Wed Aug 13, 2008 4:38 pm
Forum: Advanced Simulink & RTW Questions
Topic: Another method of gyro integrating.
Replies: 26
Views: 11843

Another method of gyro integrating.

Hi Lubin! I've created my own method of using gyro and accelerometer to measure tilt. On the begining I was using ADXRS150EB from Analog Devices gyros, but they were failure (manufacturer delivered two times broken units). Now I'm using 2-axial IDG-300 from InvenSense, and MMA7260Q accelerometer fro...
by NigmaTech
Sun Aug 03, 2008 11:02 pm
Forum: Requirement, Installation & Configuration
Topic: Compiling problem
Replies: 29
Views: 15485

Re: Compiling problem

Windows path? I don't know what are you talking about. C30 i installed typically on C:\program files\...
by NigmaTech
Fri Aug 01, 2008 12:54 pm
Forum: Requirement, Installation & Configuration
Topic: Compiling problem
Replies: 29
Views: 15485

Re: Compiling problem

I've got the same problem. When I want to compile Servo_sinus.mdl Matlab displays: . ### Processing Template Makefile: D:\Program Files\MATLAB\R2007b\PIC\dspic\dspic_pic30_gcc.tmf ### Wrapping unrecognized make command (angle brackets added) ### <D:\PROGRA~1\MATLAB\R2007b\bin\win32\gmake> ### in def...
by NigmaTech
Sat Jul 19, 2008 10:40 am
Forum: dsPIC Peripherals
Topic: Rx Input Multiplexed?
Replies: 5
Views: 2822

Re: Rx Input Multiplexed?

Could You make an example of Interface in LabView available? Something to sending data, receiving and presenting on grapf diagram. I've got evaluate version of LabView 8.5. I have never used it before :(
by NigmaTech
Thu Jun 19, 2008 1:06 pm
Forum: dsPIC Peripherals
Topic: Rx Input Multiplexed?
Replies: 5
Views: 2822

Re: Rx Input Multiplexed?

Could I request You for an example of Simulink model for transmitting data from PC to dsPIC? I need something simple to transmit data via at least one channel, i.e. thrust from joystick via Simulink to dsPIC using RS-232. Probably I should to use xPC blockset but I don't know how :cry:
by NigmaTech
Mon Jun 02, 2008 2:18 pm
Forum: General Remark and Questions
Topic: Importing data from Interface TX-Matlab to excel
Replies: 1
Views: 1438

Importing data from Interface TX-Matlab to excel

Hi Lubin!

Is that possible to import data, received using Interface TX-Matlab,
to EXCEL using some simple method?

I must to filtrate signal from IMU gyro (ADXRS150) and accelerometer. Propably I shoul implement Kalman filter, but I don't know how. Filtering is something new for me. Could you help?
by NigmaTech
Sat May 31, 2008 9:42 pm
Forum: bug reports
Topic: Possible bug in ADC of dsPIC30F6010A
Replies: 3
Views: 2195

Re: Possible bug in ADC of dsPIC30F6010A

I used AVdd - AVss.
by NigmaTech
Sat May 31, 2008 7:01 pm
Forum: bug reports
Topic: Possible bug in ADC of dsPIC30F6010A
Replies: 3
Views: 2195

Possible bug in ADC of dsPIC30F6010A

Hi Lubin! Could You check connections of pin AN7 and AN3 in your blockset? It's very strange, but when I want to convert AN7 analog input, dsPIC is converting different value than it's real. I checked all connections in my PCB and that value is on pin AN3. Is this possible, AN3 and AN7 are changed p...
by NigmaTech
Wed May 28, 2008 11:35 pm
Forum: dsPIC Peripherals
Topic: Rx Input Multiplexed?
Replies: 5
Views: 2822

Rx Input Multiplexed?

Hi! I;m thinking about controling duty cycle of PWM's in my dsPIC using a joystick connected to computer. I'm trying to use yaw, pitch, roll axis and throttle from "joystick" block in "Virtual Reality Toolbox", data should be transfered via RS-232. Is that possible to make it using your blockset Lub...